query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
1d5729ae8335cbfadd8d4e38c145a843
Metodo para filtrar todos los elementos repetidos en la tabla.
[ { "docid": "a6400254000aecd7ca3c8d620e83b91c", "score": "0.6417214", "text": "private void filtrarElementosRepetidos() {\n List<Compania_Pelicula_Serie> newList = this.listaCPS;\n List<Compania_Pelicula_Serie> oldList = this.listaCPS;\n List<Compania_Pelicula_Serie> temp = new ArrayList<>();\n if (newList.size() > 0) {\n for (int i = 0; i < oldList.size(); i++) {\n int count = 0;\n for (int j = 0; j < oldList.size(); j++) {\n if (oldList.get(i).getCompania().getId() == newList.get(j).getCompania().getId()) {\n count++;\n }\n }\n if (count == 1) {\n temp.add(\n new Compania_Pelicula_Serie(\n oldList.get(i).getId(),\n oldList.get(i).getCompania(),\n oldList.get(i).getPelicual_serie()\n )\n );\n }\n }\n }\n if (temp.size() > 0) {\n this.listaCPS.clear();\n this.listaCPS = temp;\n }\n }", "title": "" } ]
[ { "docid": "a6b830dfbdeacf1ff86e1820e61bc937", "score": "0.6441418", "text": "public void filtrar() {\n\n\t\tif (!this.enfermedadSeleccionado.equals(\"Todos\")) {\n\n\t\t\tList<RowFilter<Object,Object>> filters = new ArrayList<>(2);\n\t\t\tfilters.add(RowFilter.regexFilter(this.enfermedadSeleccionado, 1));\n\t\t\tfilters.add(RowFilter.regexFilter(this.gradoSeleccionado, 2));\n\n\t\t\tTableRowSorter<TableModel> filtro = new TableRowSorter<>(this.table.getModel());\n\t\t\tfiltro.setRowFilter(RowFilter.andFilter(filters));\n\t\t\tthis.table.setRowSorter(filtro);\n\n\t\t}\n\t\telse{\n\t\t\t\n\t\t\tTableRowSorter<TableModel> filtro = new TableRowSorter<>(this.table.getModel());\n\t\t\tfiltro.setRowFilter(RowFilter.regexFilter(this.gradoSeleccionado, 0));\n\t\t\t\n\t\t\tthis.table.setRowSorter(filtro);\n\t\t}\n\t}", "title": "" }, { "docid": "83a4019b13c2f5b85e4571331de920da", "score": "0.5964276", "text": "@Override\n\tpublic List<Curso> filtrar() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "5a0e9a922336fad3bd1bb22f818668f9", "score": "0.5658819", "text": "public void filtrer() {\r\n\t\tArrayList<Produit> prodNom = filtrerNom();\r\n\t\tArrayList<Produit> prodTarif = filtrerTarif();\r\n\t\tArrayList<Produit> prodCateg = filtrerCateg();\r\n\t\tObservableList<Produit> listeProdSelect = FXCollections.observableArrayList();\r\n\t\t\r\n\t\tObservableList<Produit> listeProduitSurplus = FXCollections.observableArrayList();\r\n\t\tObservableList<Produit> listeProduitMino = FXCollections.observableArrayList();\r\n\t\t\r\n\t\tfor (Produit produit : max(prodNom, prodTarif, prodCateg)) {\r\n\t\t\tif (prodNom.contains(produit) \r\n\t\t\t\t\t&& prodTarif.contains(produit) \r\n\t\t\t\t\t&& prodCateg.contains(produit) )\r\n\t\t\t\tlisteProdSelect.add(produit);\r\n\t\t}\r\n\t\t//On enleve de la tableView tout produit non present dans listeProdSelect mais present dans la tableView\r\n\t\tObservableList<Produit> trans1 = tabProduit.getItems();\r\n\t\t\r\n\t\tfor (Produit produit : trans1) {\r\n\t\t\tif (!listeProdSelect.contains(produit))\r\n\t\t\t\tlisteProduitSurplus.add(produit);\r\n\t\t}\r\n\t\t\r\n\t\t//On rajoute dans la tableView tout produit present dans listeProdSelect mais non present dans la tableView\r\n\t\tObservableList<Produit> trans2 = tabProduit.getItems();\r\n\t\tfor (Produit produit : listeProdSelect ) {\r\n\t\t\tif (!trans2.contains(produit))\r\n\t\t\t\tlisteProduitMino.add(produit);\r\n\t\t}\r\n\t\t\r\n\t\ttabProduit.getItems().removeAll(listeProduitSurplus);\r\n\t\ttabProduit.getItems().addAll(listeProduitMino);\r\n\t}", "title": "" }, { "docid": "a8a149a0a869d119d73a775eb79c947b", "score": "0.56585807", "text": "public List<AlumnoTatalesModelo> buscaAlumnosSobrePasados() {\n TypedQuery<AlumnoTotalesVista> typedQuery = entityManager.createNamedQuery(\"AlumnoTotalesVista.busca\", AlumnoTotalesVista.class);\n return typedQuery.getResultList().stream().map(AlumnoTatalesModelo::new).collect(Collectors.toList());\n }", "title": "" }, { "docid": "63911588c8f395ef19ad8f6f3698ff0d", "score": "0.55808014", "text": "public List<Conta> selectAll(Object obj) {\n\t\n\t\t\n\t\tList<Conta> lista=Tables.tabela_conta.stream()\n\t\t\t\t.filter(filtro->filtro.getNumerodaconta()\n\t\t\t\t.equals(((Conta)obj).getNumerodaconta())).collect(Collectors.toList());\n\t\treturn lista;\n\t}", "title": "" }, { "docid": "1a7c34ec7346c22aefdd966b239abd25", "score": "0.5529176", "text": "public void limpiarTabla(){\n for(int i = 0; i < vista.jUsuarios.getRowCount(); i++){\n modelo.removeRow(i);\n i = i - 1;\n }\n }", "title": "" }, { "docid": "c41181b8037cab31b1a2ab96350e42a0", "score": "0.55253845", "text": "private void filtrar() {\n\t\t lista.stream().filter(x->x.startsWith(\"m\"));\n\t\t lista.forEach(System.out::println);\n\t\t System.out.println(\".........\");\n\t\t // si lo hago como antes no me muestra lo filtrado, tendria que guardarlo en otra lista..para esto podemos hacer.\n\t\t lista.stream().filter(x->x.startsWith(\"m\")).forEach(System.out::println);\n\t}", "title": "" }, { "docid": "59bd22bb960dfbedc428e226b84a82fe", "score": "0.55147403", "text": "private ConsultaPacksModel.ServicioTasable[] filtrar(ServicioTasable[] servicioTasables) {\n\t\tList<ServicioTasable> listaServiciosTasables = new ArrayList<ServicioTasable>();\n\t\tfor(ServicioTasable st : servicioTasables) {\n\t\t\tif(excluir(st.getAgrupador()))\n\t\t\t\tcontinue;\n\t\t\tlistaServiciosTasables.add(st);\n\t\t}\n\t\treturn listaServiciosTasables.toArray(new ServicioTasable[listaServiciosTasables.size()]);\n\t}", "title": "" }, { "docid": "8feb622618422ecfbb9852a57bdc4a0b", "score": "0.5509989", "text": "private List<Alumno> getByFiltro(String filtro){\n List<Alumno> lista = new ArrayList();\n \n String sql = \"select * from alumnos where \" + filtro;\n \n try (ResultSet rs = conn.createStatement().executeQuery(sql)) {\n while(rs.next()){\n lista.add(new Alumno(\n rs.getInt(\"id\"),\n rs.getString(\"nombre\"),\n rs.getString(\"apellido\"),\n rs.getInt(\"edad\"),\n rs.getInt(\"idCurso\")\n ));\n }\n } catch (Exception e) { System.out.println(e); } \n return lista;\n }", "title": "" }, { "docid": "f5a64ab5088ee0bfcbdbe5e16ea418b2", "score": "0.54586893", "text": "public void cargarFallos(Alumno elegido) {\r\n for (int i = 0; i < 15; i++) {\r\n modelo_tabla_resultados.setValueAt(elegido.getFallos(i), i, 2);\r\n }\r\n }", "title": "" }, { "docid": "1c9044f72b52226ddcfabab9a27e121f", "score": "0.5444349", "text": "public Collection getFiltradasID(Integer id,ObservableList<IncidenciaBean> filtro);", "title": "" }, { "docid": "ce9aa8b58d5a3092eebaad68fd50c79b", "score": "0.54199713", "text": "public void mostrarDatosExclusivosEntradasFiltradas(String entradaAFiltrar, String usuarioAFiltrar)\n {\n //Recorro la coleccion\n for (Entrada entrada : entradas) { \n String nombreClase = entrada.getClass().getSimpleName();\n String usuarioFiltro = entrada.getUsuario();\n //Decidimos si la entrada se imprime o no\n if (nombreClase.equals(entradaAFiltrar) || entradaAFiltrar == null){ \n\n if(usuarioFiltro.equals(usuarioAFiltrar) || usuarioAFiltrar == null)\n {\n //Imprimo los datos exclusivos\n if(entrada instanceof EntradaTexto)\n {\n ((EntradaTexto)entrada).mostrarDatosExclusivos();\n }\n if(entrada instanceof EntradaFoto)\n {\n ((EntradaFoto) entrada).mostrarDatosExclusivos();\n }\n if(entrada instanceof EntradaUnionAGrupo)\n {\n ((EntradaUnionAGrupo) entrada).mostrarDatosExclusivos();\n }\n }\n }\n }\n }", "title": "" }, { "docid": "ef0fbd5ea144e9181d87246ce4a8ad54", "score": "0.5403071", "text": "public Collection getFiltradasEstados(String estado,ObservableList<IncidenciaBean> filtro);", "title": "" }, { "docid": "81ce3e00c90ad777b00db1644d519fe6", "score": "0.53755105", "text": "public Collection getFiltradasMaquinas(String maquina,ObservableList<IncidenciaBean> filtro);", "title": "" }, { "docid": "70e414467f15aeb14dc16326790089e6", "score": "0.5369271", "text": "private void cargarTablaCotizaciones(){\n int numero = 0;\n for(int i=0; i<tCotizaciones.getRowCount(); i++){\n dtmCotizaciones.removeRow(i);\n i-=1;\n }\n \n SelectQuery<Record> query = create.selectQuery();\n query.addFrom(V_COTIZACION);\n Condition filtro;\n /*CONDICIONES DEL FILTRO DE LA COTIZACION*/\n switch(cbxFiltro.getSelectedIndex()){\n case 1:\n filtro = V_COTIZACION.NUMERO.likeIgnoreCase(\"%\"+txtFiltro.getText()+\"%\");\n break;\n case 2:\n filtro = V_COTIZACION.NOMBRECLIENTE.likeIgnoreCase(\"%\"+txtFiltro.getText()+\"%\");\n break;\n case 3:\n filtro = V_COTIZACION.FECHA.equal(new java.sql.Date(txtFiltroFecha.getDate().getTime()));\n break;\n default:\n filtro = V_COTIZACION.NOMBRECLIENTE.likeIgnoreCase(\"%\"+txtFiltro.getText()+\"%\")\n .or(V_COTIZACION.NUMERO.likeIgnoreCase(\"%\"+txtFiltro.getText()+\"%\"))\n .and(V_COTIZACION.FECHA.equal(new java.sql.Date(txtFiltroFecha.getDate().getTime())));\n break;\n }\n query.addConditions(filtro);\n query.addOrderBy(V_COTIZACION.FECHA.asc());\n Result<Record> result = query.fetch();\n for (Record r : result) {\n numero ++;\n Object[] row = {\n r.getValue(V_COTIZACION.IDCOTIZACION),\n r.getValue(V_COTIZACION.NUMERO),\n Fechero.baseToReal(r.getValue(V_COTIZACION.FECHA)),\n r.getValue(V_COTIZACION.NOMBRECLIENTE),\n r.getValue(V_COTIZACION.TOTAL),\n r.getValue(V_COTIZACION.VALIDAPOR),\n Fechero.baseToReal(r.getValue(V_COTIZACION.VENCIMIENTO))\n };\n dtmCotizaciones.addRow(row);\n }\n \n if(tCotizaciones.getRowCount()>0){\n tCotizaciones.changeSelection(0, 1, false, false);\n }\n }", "title": "" }, { "docid": "8aa7104c319439f84fa1c5163dded0ae", "score": "0.5368962", "text": "protected List retirarElemTabla(List<? extends TablaBaseFrm> lst) {\r\n List lstRerirar = new ArrayList();\r\n lst.stream().filter(p -> p.isSeleccionado()).forEach(p -> lstRerirar.add(p));\r\n lst.removeAll(lstRerirar);\r\n\r\n return lstRerirar;\r\n }", "title": "" }, { "docid": "486351dcb44fd3f5707961403964a564", "score": "0.53621495", "text": "public List<AtributoConsulta> getAtributosFiltragem() {\n\t\tList<AtributoConsulta> atributosFiltragem = new ArrayList<AtributoConsulta>();\n\n\t\tfor (AtributoConsulta atributo : getAtributosOrdenados()) {\n\t\t\tif (atributo.ehFiltragem()) {\n\t\t\t\tatributosFiltragem.add(atributo);\n\t\t\t}\n\t\t}\n\n\t\treturn atributosFiltragem;\n\t}", "title": "" }, { "docid": "67b67b8805e51c01ea08ec8a10c84920", "score": "0.5361431", "text": "private java.util.ArrayList<E> setToList() {\r\n java.util.ArrayList<E> list = new java.util.ArrayList<>();\r\n \r\n for (int i = 0; i < capacity; i++) {\r\n if (table[i] != null) {\r\n for (E e: table[i]) {\r\n list.add(e);\r\n }\r\n }\r\n } \r\n \r\n return list;\r\n }", "title": "" }, { "docid": "1705c5c244383d86f61568cd6e915e0c", "score": "0.5345286", "text": "@Override\n\tpublic List<Proyecto> getAll() throws IOException {\n\t\tfileReader.setPathFile(\"C:\\\\TestProyectosDB\\\\proyecto.csv\");\n\t\tList<String> renglonesList = null;\n\t\tList<Proyecto> proyectosList = null;\n\t\tString[] items;\n\t\tint numberLine = 0;\n\t\t\n\t\trenglonesList = fileReader.readFile();\n\t\tif(renglonesList.size() > 1){\n\t\t\tproyectosList = new ArrayList<Proyecto>();\n\t\t\t\n\t\t\tfor(String renglon: renglonesList){\n\t\t\t\tif(!renglon.isEmpty()){\n\t\t\t\t\titems = renglon.split(\"\\\\|\");\n//\t\t\t\t\tSystem.out.println(\"ITEMS lengt:\"+items.length);\n\t\t\t\t\t\n\t\t\t\t\tif(items.length == 7) {\n\t\t\t\t\t\t\n\t\t\t\t\t\tif(numberLine > 0) {\n//\t\t\t\t\t\t\tSystem.out.println(\"entra a tratar\");\n\t\t\t\t\t\t\tProyecto proyecto = getProyectoDeArray(items);\n\n\t\t\t\t\t\t\tif(proyecto != null)\n\t\t\t\t\t\t\t\tproyectosList.add(proyecto);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tnumberLine++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\trenglonesList = fileReader.readFile();\n\t\treturn proyectosList;\n\t}", "title": "" }, { "docid": "14f86b2d0a56e908ffefac72fe2ff658", "score": "0.53416675", "text": "public static void CargarTabla() {\n clientesBean = new ClienteBean();\n\n filas = new ArrayList<>();\n clientes = clientesBean.FindAll(true); // El true es para que cargue todos los productos excepto los anulados\n\n DefaultTableModel modelo = (DefaultTableModel) jTable1.getModel();\n UtilTable.LimpiarTabla(modelo);\n\n for (Cliente c : clientes) {\n CargarFila(modelo, c, true);\n }\n lblCantidadRegistros.setText(\"Cantidad de Registros: \" + modelo.getRowCount());\n }", "title": "" }, { "docid": "33b705b67e47ad1906bab7bc8687ddde", "score": "0.53279346", "text": "public Collection getFiltradasFecha(String fecha,ObservableList<IncidenciaBean> filtro);", "title": "" }, { "docid": "704e7306088a5be841bd624bd93e88a7", "score": "0.5327371", "text": "public static void cargarPersonas() {\n try {\n ArrayList<Persona> personas = procesos.mostrarTodasPersona();\n DefaultTableModel modelo = (DefaultTableModel) menu.tablaPersona.getModel();\n modelo.setRowCount(0);\n\n for (Persona temp : personas) {\n Object[] fila = {temp.getCedula(), temp.getNombre(), temp.getEmpresas(), temp.getPuesto(), temp.getSalario()};\n modelo.addRow(fila);\n }\n\n } catch (Exception e) {\n menu.txtCon.setText(\"No hay personas registradas\");\n }\n\n }", "title": "" }, { "docid": "cf0abce5ab3f4d39a57e98b9768be5c3", "score": "0.5292898", "text": "protected ArrayList Filtrar (int genero){\r\n ArrayList filtro = new ArrayList();\r\n Produto aux;\r\n switch(genero){ \r\n case 1: // AÇÃO\r\n for(int i=0; i< ctlg.size(); i++){\r\n aux = ctlg.get(i);\r\n if(\"Acao\".equals(aux.getGenero()[0]) || \"Acao\".equals(aux.getGenero()[1])){\r\n filtro.add(ctlg.get(i));\r\n }\r\n }\r\n break;\r\n case 2: // AVETURA\r\n for(int i=0; i< ctlg.size(); i++){\r\n aux = ctlg.get(i);\r\n if(\"Aventura\".equals(aux.getGenero()[0]) || \"Aventura\".equals(aux.getGenero()[1])){\r\n filtro.add(ctlg.get(i));\r\n }\r\n }\r\n break;\r\n case 3: // TERROR\r\n for(int i=0; i< ctlg.size(); i++){\r\n aux = ctlg.get(i);\r\n if(\"Terror\".equals(aux.getGenero()[0]) || \"Terror\".equals(aux.getGenero()[1])){\r\n filtro.add(ctlg.get(i));\r\n }\r\n }\r\n break;\r\n case 4: // SUSPENSE\r\n for(int i=0; i< ctlg.size(); i++){\r\n aux = ctlg.get(i);\r\n if(\"Suspense\".equals(aux.getGenero()[0]) || \"Suspense\".equals(aux.getGenero()[1])){\r\n filtro.add(ctlg.get(i));\r\n }\r\n }\r\n break;\r\n case 5: // INFANTIL\r\n for(int i=0; i< ctlg.size(); i++){\r\n aux = ctlg.get(i);\r\n if(\"Infantil\".equals(aux.getGenero()[0]) || \"Infantil\".equals(aux.getGenero()[1])){\r\n filtro.add(ctlg.get(i));\r\n }\r\n }\r\n break;\r\n case 6: // ROMANCE\r\n for(int i=0; i< ctlg.size(); i++){\r\n aux = ctlg.get(i);\r\n if(\"Romance\".equals(aux.getGenero()[0]) || \"Romance\".equals(aux.getGenero()[1])){\r\n filtro.add(ctlg.get(i));\r\n }\r\n }\r\n break;\r\n case 7: // FANTASIA\r\n for(int i=0; i< ctlg.size(); i++){\r\n aux = ctlg.get(i);\r\n if(\"Fantasia\".equals(aux.getGenero()[0]) || \"Fantasia\".equals(aux.getGenero()[1])){\r\n filtro.add(ctlg.get(i));\r\n }\r\n }\r\n break;\r\n }\r\n return filtro;\r\n }", "title": "" }, { "docid": "d9de344e252936302a259adb269712f7", "score": "0.5278481", "text": "List<TemaTermRegNominal> seleccionaTodos();", "title": "" }, { "docid": "258767c47414a6d895eda96631842edf", "score": "0.5269644", "text": "List<Trabajador> buscarTrabajadoresOrderByApellidos(boolean mostrarSoloActivos);", "title": "" }, { "docid": "5be16739f7393a5f5e68b1245bfa903d", "score": "0.5265605", "text": "default void svuota(){\n\t\tIterator<Nominativo> it=iterator();\n\t\twhile( it.hasNext() ){\n\t\t\tit.next(); it.remove();\n\t\t}\n\t}", "title": "" }, { "docid": "1944e128fe5602112095644ce0641d2a", "score": "0.52556205", "text": "private void limpiarTabla(){\n DefaultTableModel modeloTable = (DefaultTableModel) datosTable.getModel();\n int rowCount = modeloTable.getRowCount();\n for (int i = rowCount - 1; i >= 0; i--) {\n modeloTable.removeRow(i);\n }\n }", "title": "" }, { "docid": "e860d1f443c2a428799887fbba337af7", "score": "0.5238569", "text": "public List<MatrizCriterioItemBean> findCriterios();", "title": "" }, { "docid": "5cc46727b03f644bc5ecfe00254a04c8", "score": "0.5231645", "text": "public void refrescarLista(ArrayList<Medallista> ave) {\n\n\t\ttableContents1 = new Object[ave.size()][10];\n\t\tfor (int i = 0; i < ave.size(); i++) {\n\t\t\ttableContents1[i][9] = ave.get(i).getPuesto();\n\t\t\tif (tableContents1[i][9].equals(\"Puesto 1\")) {\n\t\t\t\tfor (int j = 0; j < ave.size(); j++) {\n\t\t\t\t\ttableContents1[j][0] = ave.get(j).getNombre();\n\t\t\t\t\ttableContents1[j][1] = ave.get(j).getApellido();\n\t\t\t\t\ttableContents1[j][2] = ave.get(j).getTipo();\n\t\t\t\t\ttableContents1[j][3] = ave.get(j).getNumero();\n\t\t\t\t\ttableContents1[j][4] = ave.get(j).getEdad();\n\t\t\t\t\ttableContents1[j][5] = ave.get(j).getPeso();\n\t\t\t\t\ttableContents1[j][6] = ave.get(j).getAltura();\n\t\t\t\t\ttableContents1[j][7] = ave.get(j).getCelular();\n\t\t\t\t\ttableContents1[j][8] = ave.get(j).getDireccion();\n\t\t\t\t\ttableContents1[j][9] = ave.get(j).getPuesto();\n\t\t\t\t}\n\t\t\t\treferencia_tabla_model1.setDataVector(tableContents1, columnas1);\n\t\t\t} else if (tableContents1[i][9].equals(\"Puesto 2\")) {\n\t\t\t\tfor (int j = 0; j < ave.size(); j++) {\n\t\t\t\t\ttableContents2[j][0] = ave.get(j).getNombre();\n\t\t\t\t\ttableContents2[j][1] = ave.get(j).getApellido();\n\t\t\t\t\ttableContents2[j][2] = ave.get(j).getTipo();\n\t\t\t\t\ttableContents2[j][3] = ave.get(j).getNumero();\n\t\t\t\t\ttableContents2[j][4] = ave.get(j).getEdad();\n\t\t\t\t\ttableContents2[j][5] = ave.get(j).getPeso();\n\t\t\t\t\ttableContents2[j][6] = ave.get(j).getAltura();\n\t\t\t\t\ttableContents2[j][7] = ave.get(j).getCelular();\n\t\t\t\t\ttableContents2[j][8] = ave.get(j).getDireccion();\n\t\t\t\t\ttableContents2[j][9] = ave.get(j).getPuesto();\n\t\t\t\t}\n\t\t\t\treferencia_tabla_model2.setDataVector(tableContents2, columnas2);\n\t\t\t} else if (tableContents1[i][9].equals(\"Puesto 3\")) {\n\t\t\t\tfor (int j = 0; j < ave.size(); j++) {\n\t\t\t\t\ttableContents3[j][0] = ave.get(j).getNombre();\n\t\t\t\t\ttableContents3[j][1] = ave.get(j).getApellido();\n\t\t\t\t\ttableContents3[j][2] = ave.get(j).getTipo();\n\t\t\t\t\ttableContents3[j][3] = ave.get(j).getNumero();\n\t\t\t\t\ttableContents3[j][4] = ave.get(j).getEdad();\n\t\t\t\t\ttableContents3[j][5] = ave.get(j).getPeso();\n\t\t\t\t\ttableContents3[j][6] = ave.get(j).getAltura();\n\t\t\t\t\ttableContents3[j][7] = ave.get(j).getCelular();\n\t\t\t\t\ttableContents3[j][8] = ave.get(j).getDireccion();\n\t\t\t\t\ttableContents3[j][9] = ave.get(j).getPuesto();\n\t\t\t\t}\n\t\t\t\treferencia_tabla_model3.setDataVector(tableContents3, columnas3);\n\t\t\t}\n\t\t}\n\n\t}", "title": "" }, { "docid": "1f83189f4c11c4511a10194cad2fec0c", "score": "0.5223364", "text": "public Collection<Reuniao> list() {\n\t\tCollection<Reuniao> reunioes = new ArrayList<>();\n\n\t\ttry (Connection con = new ConnectionFactory().getConnection();\n\t\t\t\tPreparedStatement stmt = con.prepareStatement(\"SELECT * FROM Reuniao WHERE excluido IS NULL\");\n\t\t\t\tResultSet rs = stmt.executeQuery();) {\n\t\t\tint cont = 0;\n\t\t\twhile (rs.next() && (cont <= 10)) {\n\t\t\t\tReuniao reuniao = new Reuniao();\n\t\t\t\treuniao.setId(rs.getInt(\"id_reuniao\"));\n\t\t\t\treuniao.setInicio(rs.getString(\"horaInicio\").substring(0, 5));\n\t\t\t\treuniao.setFim(rs.getString(\"horaFim\").substring(0, 5));\n\t\t\t\treuniao.setTitulo(rs.getString(\"titulo\"));\n\t\t\t\treuniao.setSala(rs.getInt(\"id_sala\"));\n\t\t\t\treuniao.setSolicitante(rs.getString(\"solicitante\"));\n\t\t\t\treuniao.setObservacoes(rs.getString(\"observacoes\"));\n\n\t\t\t\tLocalDate data = LocalDate.parse(rs.getString(\"dataReuniao\"));\n\t\t\t\treuniao.setData(data);\n\n\t\t\t\treunioes.add(reuniao);\n\t\t\t\tcont++;\n//\t\t\t\tif (!data.isBefore(LocalDate.now())) {\n//\t\t\t\t}\n\t\t\t}\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn reunioes;\n\t}", "title": "" }, { "docid": "1ac124fb32f02a8df265429ed34b5020", "score": "0.51978886", "text": "@Override\n public void filtrarPesquisa() {\n\n try {\n BaseDAO objBaseDAO = new BaseDAO(getConnection());\n this.listaBase = objBaseDAO.filtrarPesquisa(getObjBase());\n } catch (Exception ex) {\n ex.printStackTrace();\n addMessage(Constante.TIPO_MENSAGEM_FATAL, Constante.MSG_FILTRO_PESQUISA_ERRO);\n } finally {\n closeConnection();\n }\n\n }", "title": "" }, { "docid": "f40b32e91c3e43a9ee47ff504087978f", "score": "0.5196611", "text": "private void ReadJtable() {\n\n modelo.setNumRows(0);\n for (Produto p : produtoController.findAll()) {\n modelo.addRow(new Object[]{\n p.getId(),\n p.getNome(),\n p.getPreco(),\n p.getVencimento(),\n p.getLote(),\n p.toBooleanPrescricao(),\n p.getQtd(),\n p.getCategoria().getNome()\n });\n\n }\n\n }", "title": "" }, { "docid": "22e9aa82253239b890d846f9e6acab3b", "score": "0.5187463", "text": "@Override\n public List<ProductoPresentacion> listarPorFiltro(String comodin, String estado, String fk) {\n return null;\n }", "title": "" }, { "docid": "c2a6e8d301a441d4367920bcf6e54bde", "score": "0.51515806", "text": "public static void buscarCamposEnTabla() throws FileNotFoundException, IOException{\n for (int i = 0; i < Campos.size(); i++) {\n for (int j = 0; j < tamaño; j++) {\n for (int k = 0; k < tamaño; k++) {\n if(Campos.get(i).Nombre.equalsIgnoreCase(Matriz[j][k])){\n Campos.get(i).Encontrado = true;\n Columna columna = new Columna(Campos.get(i).Nombre,j,k);\n Columnas.add(columna);\n }\n }\n }\n }\n }", "title": "" }, { "docid": "057ffc49fc0c72ac194d21098bff9a1c", "score": "0.51481277", "text": "public void listar(){\n \n List<Herbicida> lista = Herbicida.listarHerbicida();\n DefaultTableModel dados = (DefaultTableModel) herbicidas_cadastradosTable.getModel();\n dados.setNumRows(0);\n String registro = \"\";\n \n for(Herbicida c: lista){\n if(c.getPrecisa_registro() == true){\n registro = \"Sim\";\n }else\n registro = \"Nao\";\n \n dados.addRow(new Object[]{\n c.getId(),\n c.getNome(), c.getCodig_barras(), c.getEmpresa(),\n c.getValor_unitario(), c.getQuantidade_estoque(), c.getFormulacao(),\n registro\n }); \n }\n }", "title": "" }, { "docid": "3ae3464bf89f138d20377ab338ecba15", "score": "0.51451236", "text": "public void afficherOeuvres(){\n\t\t\n\t\t\n\t\toeuvresTraiteesCursor = MongoAccess.request(\"oeuvreTraitee\", commandeSelectionne).as(OeuvreTraitee.class);\n\t\t\n\t\twhile (oeuvresTraiteesCursor.hasNext()){\n\t\t\toeuvresTraitees.add(oeuvresTraiteesCursor.next());\n\t\t}\n\t\t\n\t\toeuvres_nom_colonne.setCellValueFactory(new PropertyValueFactory<OeuvreTraitee, String>(\"nom\"));\n\t\t\n\t\tObservableList<OeuvreTraitee> obs_oeuvres = FXCollections.observableArrayList(oeuvresTraitees);\n\n\t\ttableOeuvre.setItems(obs_oeuvres);\n\t\t\n\t}", "title": "" }, { "docid": "d5482fd92b7b2430bd30c277ef3a32c3", "score": "0.5139965", "text": "@Listen(\"onChange = #txtCedulaTutor,#txtNombreTutor,#txtApellidoTutor,#txtCorreoTutor\")\r\n\tpublic void filtrarDatosCatalogo() {\r\n\r\n\t\tList<Profesor> profesor1 = llenarLista();\r\n\t\tList<Profesor> profesor2 = new ArrayList<Profesor>();\r\n\r\n\t\tfor (Profesor profesor : profesor1) {\r\n\t\t\tif (profesor.getCedula().toLowerCase()\r\n\t\t\t\t\t.contains(txtCedulaTutor.getValue().toLowerCase())\r\n\t\t\t\t\t&& profesor.getNombre().toLowerCase()\r\n\t\t\t\t\t\t\t.contains(txtNombreTutor.getValue().toLowerCase())\r\n\t\t\t\t\t&& profesor\r\n\t\t\t\t\t\t\t.getApellido()\r\n\t\t\t\t\t\t\t.toLowerCase()\r\n\t\t\t\t\t\t\t.contains(txtApellidoTutor.getValue().toLowerCase())\r\n\t\t\t\t\t&& profesor.getCorreoElectronico().toLowerCase()\r\n\t\t\t\t\t\t\t.contains(txtCorreoTutor.getValue().toLowerCase())) {\r\n\t\t\t\tprofesor2.add(profesor);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tltbTutores.setModel(new ListModelList<Profesor>(profesor2));\r\n\r\n\t}", "title": "" }, { "docid": "6be3ffee7c5e05df95f6791889919d9d", "score": "0.51378024", "text": "private void borrarRepetidos() \n { \n lista.borrarRepetidos();\n }", "title": "" }, { "docid": "bf737b5d0b3f08fb56edcf4c152d66af", "score": "0.51361424", "text": "public void listar() {\r\n DefaultTableModel model = (DefaultTableModel) Matriz.tblExamenes.getModel();\r\n model.setRowCount(filas);\r\n model.setColumnCount(columnas);\r\n int contador = 1;\r\n\r\n for (int i = 0; i < filas; i++) {\r\n\r\n for (int j = 0; j < columnas; j++) {\r\n\r\n Matriz.tblExamenes.setValueAt(\"Examen \" + contador, i, j);\r\n contador++;\r\n\r\n }\r\n\r\n System.out.println(\"\");\r\n }\r\n\r\n }", "title": "" }, { "docid": "468af9dbd58581414cbf030aba076362", "score": "0.51239383", "text": "public List<AuxDatoPedido> buscarAllAuxDatoPedido() {\n\n Connection conexion = null;\n Conexion con = new Conexion();\n AuxDatoPedido auxDatoPedido = null;\n List<AuxDatoPedido> listaAuxDatoPedido = new ArrayList<AuxDatoPedido>();\n PreparedStatement ps = null; //Este objeto permite guardar las consultas que hacemos a la BD.\n ResultSet rs = null; // este objeto lo usamos cuando obtenemos algo de la base de datos.\n\n try {\n\n conexion = con.getConnection(); //metodo getConnection, logueamos el usuario.\n\n ps = conexion.prepareStatement(\"select a.tiempoEstimado as tiempoEstimado, a.denominacion as producto, \\n\" +\n \"a.precioVenta as precioUnitario, d.cantidad as cantidad, d.subtotal as subTotal, d.idPedido as idPedido,\\n\" +\n \"d.idArtManufacturado as idArtManuf, p.total as total from pedido as p INNER JOIN detalle_pedido as d ON p.idPedido = d.idPedido\\n\" +\n \"INNER JOIN articulo_manufacturado as a ON d.idArtManufacturado = a.idArticulo WHERE p.estadoPedido = 1\");\n\n rs = ps.executeQuery();\n\n while (rs.next()) {\n\n int tiempoEstimado = rs.getInt(1); //cada numero del parametro hace referencia al dato del campo que se desea obtener = idPersona\n String nombre = rs.getString(2);\n double precioUnitario = rs.getDouble(3);\n int cantidad = rs.getInt(4);\n double subTotal = rs.getDouble(5);\n int idPedido = rs.getInt(6);\n int idArticulo = rs.getInt(7);\n double total = rs.getDouble(8);\n \n auxDatoPedido = new AuxDatoPedido(tiempoEstimado, nombre, precioUnitario, cantidad, subTotal, total, idPedido, idArticulo);\n\n listaAuxDatoPedido.add(auxDatoPedido);\n\n }\n\n conexion.close();\n\n } catch (Exception ex) {\n\n System.err.println(\"Error. \" + ex);\n\n } finally {\n\n try {\n\n ps.close();\n rs.close();\n\n } catch (SQLException ex) {\n System.err.println(\"Error. \" + ex);\n }\n\n }\n\n return listaAuxDatoPedido; //devolvemos la lista de alumnos encontrado\n\n }", "title": "" }, { "docid": "3d6f213b2fdd23f78da61eab059bcee9", "score": "0.51172507", "text": "public Set<String> getAllData(){\n BaseDatos dbobject=new BaseDatos(this,\"supermercado2\",null,1);\n SQLiteDatabase db = dbobject.getReadableDatabase();\n Set<String> set = new HashSet<String>();\n\n //poniendo el nombre del grupo como codigo\n String selectQuery=\"Select * from productoPadre where nombre ='\"+grupo+\"'\";\n Cursor cursor=db.rawQuery(selectQuery, null);\n if(cursor.moveToFirst()){\n micodigo = cursor.getString(0);\n }//fin transformacion\n\n String subQuery =\"select nombre, precio from productoHijo where codpadre='\"+micodigo+\"'\";\n Cursor subcursor=db.rawQuery(subQuery,null);\n if(subcursor.moveToFirst()){\n do{\n set.add(subcursor.getString(0)+\" $\"+subcursor.getString(1));\n }while(subcursor.moveToNext());\n }\n cursor.close();\n subcursor.close();\n db.close();\n return set;\n }", "title": "" }, { "docid": "ea8bdabab51f9527312ba3a39146622e", "score": "0.5116404", "text": "public void PreencherTable(String Sql) {\n ArrayList dados = new ArrayList();\n String[] colunas = new String[]{\"Nº\", \"Utilizador\",\n \"Factura\",\n \"Recibo \",\n \"Factura recibo \",\n \"Saida de caixa \",\n \"Entrada em caixa \",\n \"Nota de credito \",\n \"Nota de pagamento \",\n \"Numerário \",\n \"Banco \",\n \"Saldo inicial \",\n \"Saldo \",\n \"Informado\",\n \"Estado\", \"D. Abertura \", \"D. Fecho \", \"cod\"};\n liga.conexao();\n liga.executeSql(Sql);\n\n try {\n if(liga.rs.first())\n do {\n boolean estado = liga.rs.getBoolean(\"estado\");\n String Sestado = \"Fechado\";\n if (estado) {\n Sestado = \"Aberto\";\n }\n\n dados.add(new Object[]{\n liga.rs.getString(\"numero\"),\n liga.rs.getString(\"nome\"),\n liga.rs.getString(\"fatura\"),\n liga.rs.getString(\"recibo\"),\n liga.rs.getString(\"fatura_recibo\"),\n liga.rs.getString(\"saida_de_caixa\"),\n liga.rs.getString(\"entrada_em_caixa\"),\n liga.rs.getString(\"nota_de_credito\"),\n liga.rs.getString(\"nota_de_pagamento\"),\n liga.rs.getString(\"numerario\"),\n liga.rs.getString(\"bancos\"),\n liga.rs.getString(\"saldo_inicial\"),\n liga.rs.getString(\"saldo_atual\"),\n liga.rs.getString(\"saldo_final\"),\n Sestado,\n liga.rs.getString(\"data_entrada\") + \" \" + liga.rs.getString(\"hora_entrada\"),\n liga.rs.getString(\"data_saida\") + \" \" + liga.rs.getString(\"horasaida\"),\n liga.rs.getString(\"idturno\")\n });\n } while (liga.rs.next());\n } catch (SQLException ex) {\n System.out.println(ex);\n JOptionPane.showMessageDialog(rootPane, \"Dados não encntrados\\n\"+ex, \"Aviso\", JOptionPane.ERROR_MESSAGE);\n }\n\n ModeloTabela modelo = new ModeloTabela(dados, colunas) {\n };\n\n jTable_todos_turnos.setModel(modelo);\n\n jTable_todos_turnos.getColumnModel()\n .getColumn(0).setPreferredWidth(70);\n jTable_todos_turnos.getColumnModel()\n .getColumn(0).setResizable(true);\n// jTableSevico.getColumnModel().getColumn(1).setPreferredWidth(235);\n// jTableSevico.getColumnModel().getColumn(1).setResizable(true);\n// jTableSevico.getColumnModel().getColumn(2).setPreferredWidth(70);\n// jTableSevico.getColumnModel().getColumn(2).setResizable(true);\n// jTableSevico.getColumnModel().getColumn(3).setPreferredWidth(255);\n// jTableSevico.getColumnModel().getColumn(3).setResizable(true);\n// jTableSevico.getColumnModel().getColumn(4).setPreferredWidth(70);\n// jTableSevico.getColumnModel().getColumn(4).setResizable(true);\n// jTableSevico.getColumnModel().getColumn(5).setPreferredWidth(70);\n// jTableSevico.getColumnModel().getColumn(5).setResizable(true);\n\n jTable_todos_turnos.getTableHeader()\n .setReorderingAllowed(false);\n jTable_todos_turnos.setAutoResizeMode(jTable_todos_turnos.AUTO_RESIZE_ALL_COLUMNS);\n// jTableSevico.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);\n\n liga.deconecta();\n }", "title": "" }, { "docid": "fe15a7d3509af5ec72e960a2d3b34cf5", "score": "0.5109876", "text": "@FXML\n public void handleFiltrDescr(){\n \n \tmodel.setAll(ctr.filterTaskbyDescr(descr.getText()));\n \tctr.filterTaskbyDescr(descr.getText()).forEach(x->System.out.println(x));\n\n }", "title": "" }, { "docid": "76c03c078358a2b991c01683c37ec67b", "score": "0.50963706", "text": "private Object aplicarFiltros(List<CompraComprobante> elementos) throws IOException {\n ObjectMapper mapper = new ObjectMapper();\n SimpleBeanPropertyFilter theFilter = SimpleBeanPropertyFilter\n .serializeAllExcept(\"padre\");\n FilterProvider filters = new SimpleFilterProvider()\n .addFilter(\"filtroPlanCuenta\", theFilter);\n String string = mapper.writer(filters).writeValueAsString(elementos);\n return new ObjectMapper().readValue(string, Object.class);\n }", "title": "" }, { "docid": "3a566db57b8b47482ba604d91f6b0360", "score": "0.50916815", "text": "public static ArrayList<Document> getAll() {\n Funcionario tmp = null;\n String str;\n ArrayList<Document> r = null;\n Connection con = null;\n try {\n con = Connect.connect();\n PreparedStatement ps = con.prepareStatement(\"SELECT * FROM Funcionarios AS F\\n\" +\n \"LEFT JOIN Contactos AS C\\n\" +\n \"ON F.NIF = C.Funcionarios_NIF\\n\" +\n \"LEFT JOIN Cargos AS Ca\\n\" +\n \"ON Ca.ID = F.Cargo_id\\n\" +\n \"WHERE F.Quintas_ID IS NULL;\");\n ResultSet rs = ps.executeQuery();\n\n r = Funcionario.loadFuncionarios(rs);\n\n } catch (SQLException e) {\n e.printStackTrace();\n } catch (ClassNotFoundException e) {\n e.printStackTrace();\n } finally {\n try {\n con.close();\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }\n\n return r;\n }", "title": "" }, { "docid": "c952543f06ecee7d061c07af364dc4c3", "score": "0.5087981", "text": "public void buscarVuelos(){\n ModeloTablaEstadisticasVuelos m;\n Timestamp tSalida = null;\n if (this.dateSalidaVuelos.getDate() != null) {\n tSalida = new java.sql.Timestamp(this.dateSalidaVuelos.getDate().getTime());\n }\n m = (ModeloTablaEstadisticasVuelos) this.tablaEstadisticasVuelos.getModel();\n m.setFilas(this.va.obtenerVuelos(this.txtOrigenVuelos.getText(),this.txtDestinoVuelos.getText(),tSalida));\n if (m.getRowCount() > 0) {\n this.tablaEstadisticasVuelos.setRowSelectionInterval(0, 0);\n }\n }", "title": "" }, { "docid": "b1762faa650c33b902102f3f3c1ed83a", "score": "0.50742537", "text": "public void buscarUsuarios(){\n ModeloTablaUsuarios m;\n\n m=(ModeloTablaUsuarios)tablaUsuarios.getModel();\n m.setFilas(fa.obtenerUsuarios(buscaId.getText(), buscaNombre.getText()));\n if (m.getRowCount() > 0) {\n tablaUsuarios.setRowSelectionInterval(0, 0);\n }\n }", "title": "" }, { "docid": "d608939b526687ed4c67060122e66855", "score": "0.5071561", "text": "public void limpar() {\n // Remove todos os elementos da lista de sócios.\n linhas.clear();\n\n // Notifica a mudança.\n fireTableDataChanged();\n }", "title": "" }, { "docid": "f768f78a506631241b46ff0ff23bd442", "score": "0.5070255", "text": "public void mostrarLista(){\n Nodo recorrer=inicio;\n while(recorrer!=null){\n System.out.print(\"[\"+recorrer.Nombre+\", \"+recorrer.Telefono+\"]-->\");\n recorrer=recorrer.siguiente;\n }\n }", "title": "" }, { "docid": "7b049ac82e7d30269ec351576f63e1ab", "score": "0.5062312", "text": "private void btnBuscarUsuarioActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnBuscarUsuarioActionPerformed\n modeloTabla.getDataVector().removeAllElements();\n rolBusqueda = (String) rolElegido.getSelectedItem();\n if (campoBusqueda.getText().equals(\"\")) {\n System.out.println(\"Buscando Usuarios: ROL:\" + rolBusqueda + \", PALABRA_CLAVE: \" + palabraBusqueda + \", BUSQUEDA: \" + campoBusqueda.getText());\n List<Usuario> usuarios = CTRUsuario.buscarUsuariosRol(rolBusqueda);\n for (Usuario u : usuarios) {\n Object[] fila = new Object[5];\n fila[0] = u.getDni();\n fila[1] = u.getNombre();\n fila[2] = u.getApellidos();\n fila[3] = u.getSexo();\n fila[4] = u.getEmail();\n modeloTabla.addRow(fila);\n }\n numResultados.setText(\"Se han encontrado \" + usuarios.size() + \" resultados con ROL: \" + rolBusqueda);\n System.out.println(\"----> EXITO: Se han encontrado \" + usuarios.size() + \" resultados\");\n } else {\n System.out.println(\"Buscando Usuarios: ROL:\" + rolBusqueda + \", PALABRA_CLAVE: \" + palabraBusqueda + \", BUSQUEDA: \" + campoBusqueda.getText());\n List<Usuario> usuarios = CTRUsuario.buscarUsuarios(rolBusqueda, palabraBusqueda, campoBusqueda.getText());\n for (Usuario u : usuarios) {\n Object[] fila = new Object[5];\n fila[0] = u.getDni();\n fila[1] = u.getNombre();\n fila[2] = u.getApellidos();\n fila[3] = u.getSexo();\n fila[4] = u.getEmail();\n modeloTabla.addRow(fila);\n }\n numResultados.setText(\"Se han encontrado \" + usuarios.size() + \" resultados con ROL: \" + rolBusqueda + \", PALABRA CLAVE: \" + palabraBusqueda + \", BÚSQUEDA: \" + campoBusqueda.getText());\n System.out.println(\"----> EXITO: Se han encontrado \" + usuarios.size() + \" resultados con ROL: \" + rolBusqueda + \", PALABRA CLAVE: \" + palabraBusqueda + \", BÚSQUEDA: \" + campoBusqueda.getText());\n }\n }", "title": "" }, { "docid": "b0dfe36e52659465955ef8b6d444c21c", "score": "0.5055596", "text": "@Override\n\tpublic ArrayList<TelefonoProveedor> filtro(String campo, String filter) {\n\t\treturn FACTORY_DAO.getDAOTelefonosProveedores().filtro(campo, filter);\n\t}", "title": "" }, { "docid": "9eb72cae074ac7677cb85be558a706d7", "score": "0.5040265", "text": "private ArrayList<Fattura> filtraFatture(TipoQueryFattura tipoQueryFattura) {\n // Creo la stream di fatture (per comodità)\n Stream<Fattura> fattureFiltrate;\n Stream<Fattura> streamFatture = fatture.stream();\n\n stringaRicercaPerFiltro = stringaRicercaPerFiltro.toLowerCase();\n\n switch (tipoQueryFattura) {\n case DATA_CREAZIONE -> fattureFiltrate = streamFatture.filter(fattura -> {\n SimpleDateFormat dateFormat = new SimpleDateFormat(\"d MMMMMMMMMMMM yyyy\", Locale.ITALIAN);\n return dateFormat.format(new Date(fattura.getData())).toLowerCase().contains(stringaRicercaPerFiltro);\n });\n case INTERVENTO -> fattureFiltrate = streamFatture.filter(fattura -> {\n GestoreInterventi.getInstance().filtriIntervento = GestoreImpostazioni.getInstance().getImpostazioni().getFiltriIntervento();\n GestoreInterventi.getInstance().stringaRicercaPerFiltro = stringaRicercaPerFiltro;\n\n ArrayList<Intervento> interventiFiltrati = GestoreInterventi.getInstance().getInterventi();\n return interventiFiltrati.stream().anyMatch(intervento -> Arrays.asList(fattura.getInterventi()).contains(intervento.getIDIntervento()));\n });\n case PAZIENTE -> fattureFiltrate = streamFatture.filter(fattura -> {\n GestorePazienti.getInstance().filtriPaziente = GestoreImpostazioni.getInstance().getImpostazioni().getFiltriPaziente();\n GestorePazienti.getInstance().stringaRicercaPerFiltro = stringaRicercaPerFiltro;\n\n ArrayList<Paziente> pazientiFiltrati = GestorePazienti.getInstance().getPazienti();\n return pazientiFiltrati.stream().anyMatch(paziente -> paziente.getIDPaziente().equals(fattura.getIDPaziente()));\n });\n default -> fattureFiltrate = streamFatture.filter(fattura -> {\n SimpleDateFormat dateFormat = new SimpleDateFormat(\"d MMMMMMMMMMMM yyyy\", Locale.ITALIAN);\n\n GestoreInterventi.getInstance().filtriIntervento = GestoreImpostazioni.getInstance().getImpostazioni().getFiltriIntervento();\n GestoreInterventi.getInstance().stringaRicercaPerFiltro = stringaRicercaPerFiltro;\n\n ArrayList<Intervento> interventiFiltrati = GestoreInterventi.getInstance().getInterventi();\n\n GestorePazienti.getInstance().filtriPaziente = GestoreImpostazioni.getInstance().getImpostazioni().getFiltriPaziente();\n GestorePazienti.getInstance().stringaRicercaPerFiltro = stringaRicercaPerFiltro;\n\n ArrayList<Paziente> pazientiFiltrati = GestorePazienti.getInstance().getPazienti();\n\n return dateFormat.format(new Date(fattura.getData())).toLowerCase().contains(stringaRicercaPerFiltro) ||\n interventiFiltrati.stream().anyMatch(intervento -> Arrays.asList(fattura.getInterventi()).contains(intervento.getIDIntervento())) ||\n pazientiFiltrati.stream().anyMatch(paziente -> paziente.getIDPaziente().equals(fattura.getIDPaziente()));\n\n });\n }\n\n // Ritorno un ArrayList creato dalla stream filtrata\n return fattureFiltrate.collect(Collectors.toCollection(ArrayList::new));\n }", "title": "" }, { "docid": "2f173fdd3f3cdc646a14810eaa164075", "score": "0.50402063", "text": "public void filterTable()\n\t{\n\t\tList<RowFilter<PlayerTable,Object>> filters = new ArrayList<RowFilter<PlayerTable,Object>>();\n\t\t\n\t\tfilters.add(RowFilter.regexFilter(\"\\\\d\",4));\n\t\t\n\t\tfor(int i = 0; i < showPos.length; i++)\n\t\t{\n\t\t\tif(!showPos[i].isSelected())\n\t\t\t\tfilters.add(RowFilter.notFilter(RowFilter.regexFilter(Character.toString(showPos[i].getText().charAt(0)),0)));\n\t\t}\n\t\t\n\t\tRowFilter<PlayerTable, Object> rf = RowFilter.andFilter(filters);\n\t\tsorter.setRowFilter(rf);\n\t\t\n\t}", "title": "" }, { "docid": "5f0b15d51c5d9f4584754ccc3b84c77f", "score": "0.50387305", "text": "public void popularTabela(JTable tabela, Projeto projeto) {\n // dados da tabela\n Object[][] dadosTabela = null;\n List<Ambiente> lista = ConsultarListaPorProjeto(projeto.getId());\n\n // cabecalho da tabela\n Object[] cabecalho = new Object[3];\n cabecalho[0] = \"Id\";\n cabecalho[1] = \"Descrição\";\n cabecalho[2] = \"Transmitancia Termica\";\n \n // cria matriz de acordo com nº de registros da tabela\n try {\n \n dadosTabela = new Object[lista.size()][3];\n\n } catch (Exception e) {\n System.out.println(\"Erro ao consultar os Materiais: \" + e);\n }\n\n int lin = 0;\n\n // efetua consulta na tabela\n try {\n \n for (Ambiente ambiente : lista) {\n \n dadosTabela[lin][0] = ambiente.getId();\n dadosTabela[lin][1] = ambiente.getDescricao(); \n dadosTabela[lin][2] = ambiente.getTransmitanciaTermica();\n \n lin++;\n }\n } catch (Exception e) {\n System.out.println(\"problemas para popular tabela...\");\n System.out.println(e);\n }\n\n // configuracoes adicionais no componente tabela\n tabela.setModel(new DefaultTableModel(dadosTabela, cabecalho) {\n @Override\n // quando retorno for FALSE, a tabela nao é editavel\n public boolean isCellEditable(int row, int column) {\n return false;\n }\n });\n\n // permite seleção de apenas uma linha da tabela\n tabela.setSelectionMode(0);\n\n // redimensiona as colunas de uma tabela\n TableColumn column = null;\n for (int i = 0; i < tabela.getColumnCount(); i++) {\n column = tabela.getColumnModel().getColumn(i);\n switch (i) {\n case 0:\n column.setPreferredWidth(17);\n break;\n case 1:\n column.setPreferredWidth(140);\n break;\n }\n }\n\n }", "title": "" }, { "docid": "d709e2c2610433198ebe513587dd84ad", "score": "0.5038565", "text": "private HashMap FiltrarListado(HashMap datos) {\n HashMap filtros = (HashMap) datos.get(\"filtros\");\n //crear la consulta\n String consulta = \"from Producto where estatus=1\";//+Integer.toString(sucSel.getId());\n String parametros = \"\";\n /*String fil1 = filtros.get(\"filtro1\").toString();\n String fil2 = filtros.get(\"filtro2\").toString();\n String fil3 = filtros.get(\"filtro3\").toString();\n String fil4 = filtros.get(\"filtro4\").toString();\n if (fil1.equals(\"on\")){*/\n String param1 = filtros.get(\"descripcion\").toString();\n if (!param1.equals(\"\"))\n parametros += \" and descripcion like '%\"+param1+\"%'\";\n /*}\n if (fil2.equals(\"on\")){*/\n Proveedor prov = (Proveedor)filtros.get(\"proveedor\");\n if (prov.getId()!=0)\n parametros += \" and proveedor=\"+prov.getId();\n /*}\n if (fil3.equals(\"on\")){*/\n Categoria cat = (Categoria)filtros.get(\"categoria\");\n if (cat.getId()!=0)\n parametros += \" and categoria=\"+cat.getId();\n /*}\n if (fil4.equals(\"on\")){*/\n Marca mar = (Marca)filtros.get(\"marca\");\n if (mar.getId()!=0)\n parametros += \" and marca=\"+mar.getId();\n //}\n \n consulta += parametros + \" order by descripcion\";\n \n ProductoDao proDao = new ProductoDao();\n datos.put(\"listadoFil\", proDao.obtenerProductosFiltrado(consulta));\n datos.put(\"condiciones\", parametros);\n return datos;\n }", "title": "" }, { "docid": "2c57f4ff85234babae171c0bd996df04", "score": "0.50339025", "text": "List<TbOrder> selectAll();", "title": "" }, { "docid": "36e9e514cb7b60e444b39e650d2734eb", "score": "0.5033834", "text": "void listarContatos(){\r\n for(Contato contato: contatos){\r\n contato.imprimirContato();\r\n }\r\n }", "title": "" }, { "docid": "86217cd4955dad2ac4b89be3532aa997", "score": "0.5030462", "text": "private void cargarTablaPeliculas() {\n try {\n List<Pelicula> lista = peli.read();\n TMPelicula model = new TMPelicula(lista);\n tblDetallePelicula.setModel(model);\n } catch (SQLException ex) {\n System.out.println(\"Hola\");\n }\n }", "title": "" }, { "docid": "03d06b6cfa60973bb1f693ea4155e870", "score": "0.50269115", "text": "private static void showAllVillaNotDuplicate(){\n System.out.println();\n System.out.println(\" ---------Show All Villa NotDuplicate--------- \");\n ArrayList<Villa> listVilla = FuncWriteAndReadFileCSV.getVillaFromCSV();\n TreeSet<String> treeSetVilla = new TreeSet<>(new HashSet<>());\n for (int t=0;t<listVilla.size();t++){\n treeSetVilla.add(listVilla.get(t).getNameService());\n }\n\n int i=1;\n for (String str : treeSetVilla) {\n System.out.println(i +\". \"+ str);\n i++;\n }\n System.out.println();\n System.out.print(\"Enter back to menu show services !!! Enter to continue ...\");\n Scanner scanner=new Scanner(System.in);\n scanner.nextLine();\n showServices();\n\n }", "title": "" }, { "docid": "5cffe327065cb3b50578756dda2e21ee", "score": "0.50248885", "text": "private void recuperaEquipamentos() {\n listaPrimeira = new ArrayList<>();\n listaEncontrado = new ArrayList<>();\n listaNaoEncontrado = new ArrayList<>();\n listaNaoAtribuida = new ArrayList<>();\n /* Para a localizacao das tags */\n latitudeEncontrada = new ArrayList<>();\n longitudeEncontrada = new ArrayList<>();\n latitudeNaoAtribuida = new ArrayList<>();\n longitudeNaoAtribuida = new ArrayList<>();\n\n listaPrimeira = (ArrayList<Equipamento>) equipamentoDao.getByLocal(local.getId());\n\n if (subLocal != null) {/* SubLocal Anteriormente Selecionado*/\n for (Equipamento e : listaPrimeira) {\n Log.i(\"Copulando\", String.valueOf(e.getLocalId()) + \" 1 \" + e.getSubLocalId());\n if (e.getSubLocalId() == subLocal.getId()) {\n listaNaoEncontrado.add(e);\n Log.i(\"Copulando-Filtro\", String.valueOf(e.getLocalId()) + \" \" + e.getSubLocalId());\n }\n }\n } else\n listaNaoEncontrado.addAll(listaPrimeira);\n\n txtNaoEncontrado.setText(String.valueOf(listaNaoEncontrado.size()));\n txtNaoAtribuido.setText(String.valueOf(0));\n txtEncontrado.setText(String.valueOf(0));\n }", "title": "" }, { "docid": "009c6d200165dc61d612fe720332b161", "score": "0.50244665", "text": "List<CodigoDescripcionType> consultarTiposTributo();", "title": "" }, { "docid": "05557f4df0be3e1262b2ed9b7e84e083", "score": "0.50214976", "text": "public void trasladarElementos() {\n\t\tProducto producto = this.getExtremoInicial().obtenerProducto();\n\t\tthis.getExtremoFinal().agregarProducto(producto);\n\t}", "title": "" }, { "docid": "e7b3b20912dde2acc626e5bc9e77784a", "score": "0.50153595", "text": "public List<CepCecTipAlumno> doBuscarTodosTipoAlumnos() {\n lstTipoAlumno = new ArrayList<>();\n return lstTipoAlumno = gestorTipoAlumnoService.buscarTiposInversion();\n }", "title": "" }, { "docid": "f4142b767dca01ac43b9461581cffdbd", "score": "0.50135696", "text": "@GetMapping\n public List<OffreDto> findAll() {\n return offreService.findAll().stream()\n .filter\n (el -> el.getAnnonceur() != null\n && el.getAnnonceur().getTelephone() != null\n && !el.getAnnonceur().getTelephone().equals(\"\")\n && !el.is_affected_to_caller()\n && !el.is_affected_to_supervisor())\n .limit(50)\n .collect(Collectors.toList());\n }", "title": "" }, { "docid": "232c0b3a7ff9837b861351ca5efddcc8", "score": "0.5012217", "text": "public void buscarTodos() throws SQLException{\n \n String sql = \"Select * from cadastro order by cod\";\n ResultSet rs = Banco.executaConsulta(sql);\n \n while (rs.next()) {\n cadastra c = new cadastra();\n c.equipamento = rs.getString(\"equipamento\");\n c.proprietario = rs.getString(\"proprietario\");\n c.data= rs.getString(\"data_manutencao\");\n c.materiais = rs.getString(\"materiais\");\n c.servico = rs.getString(\"servico\");\n c.total= rs.getInt(\"total_man\");\n c.status = rs.getString(\"status\");\n c.codigo = rs.getString(\"cod\");\n \n // l.add(c);\n }\n \n // return l;\n }", "title": "" }, { "docid": "1cba37af0252d2ac60adf35447922012", "score": "0.5005139", "text": "public List<HcRegistro> buscarFiltradoPorNumeroAutorizacion(int idPaciente, List<Integer> idCitas) {\n try {\n// List<HcRegistro> listaResultado;\n// List<HcRegistro> listaResultadoAux;\n Query query = getEntityManager().createQuery(\"SELECT u FROM HcRegistro u WHERE u.idPaciente.idPaciente = ?1 AND u.idCita IN ?2 ORDER BY u.fechaReg DESC\");\n query.setParameter(1, idPaciente);\n query.setParameter(2, idCitas);\n// listaResultadoAux = query.getResultList();\n// listaResultado = new ArrayList<>();\n// boolean agregar;\n// for (HcRegistro resultado : listaResultadoAux) {\n// List<HcDetalle> hcDetalleList = resultado.getHcDetalleList();\n// agregar = false;\n// for (HcDetalle detalle : hcDetalleList) {\n// if (detalle.getHcCamposReg().getNombre().contains(\"autorizacion\")) {\n// if (detalle.getValor().compareTo(numAutorizacion) == 0) {\n// agregar = true;\n// break;\n// }\n// }\n// }\n// if (agregar) {\n// listaResultado.add(resultado);\n// }\n// }\n// return listaResultado;\n return query.getResultList();\n } catch (Exception e) {\n return null;\n }\n }", "title": "" }, { "docid": "f7aafedbfbe51b2f05446f56b84476cc", "score": "0.50049067", "text": "public List<String> fase1d() {\r\n\t\treturn llista1c.stream().filter(palabra_cinco->palabra_cinco.length()>5)\r\n\t\t\t\t.collect(Collectors.toList());\r\n\t}", "title": "" }, { "docid": "d13ca0e63fbe48517f8826b938c8d505", "score": "0.50025386", "text": "List<StuCou> selectAll();", "title": "" }, { "docid": "dab74d32d6811b1be23b70ea08185202", "score": "0.50001806", "text": "public List<Itinerario> getAllItinerario() {\n String sql = \"SELECT p_itinerario, nombre, localizacion, tipo, dificultad, imagen FROM Itinerario\";\n List<Itinerario> itinerarios = new ArrayList<>();\n try (Statement st = utiles.getConnection().createStatement()) {\n ResultSet rs = st.executeQuery(sql);\n cargaItinerarios(rs, itinerarios);\n } catch (SQLException ex) {\n Logger.getLogger(UtilesBD.class.getName()).log(Level.SEVERE, null, ex);\n }\n return itinerarios;\n\n }", "title": "" }, { "docid": "370c428e6b4553189d7a02eb17e9e9aa", "score": "0.49886844", "text": "private void cargarTabla() {\n cargarColumna();\n for (Usuarios u : controller.findUsuariosEntities()) {\n String apellido = u.getPaterno() + \" \" + u.getMaterno();\n String estado = \"\";\n Date fecha = u.getFechaNacimiento();\n SimpleDateFormat form = new SimpleDateFormat(\"dd/MM/yyyy\");\n String fechaTexto = form.format(fecha);\n if (u.getEstado() == 1) {\n estado = \"Activo\";\n } else {\n estado = \"Dado de Baja\";\n }\n modelo.addRow(new Object[]{u.getIdUsuario(), u.getRut(), u.getNombres(), apellido, fechaTexto, u.getEmail(), u.getCelular(), u.getTelefono(), u.getDireccion(), estado});\n }\n }", "title": "" }, { "docid": "4cdea239e6d2e42bbc7571f381e258f3", "score": "0.4981999", "text": "public ArrayList<Fattura> getFattureFiltrate() {\n ArrayList<Fattura> fattureFiltrate = new ArrayList<>();\n\n ArrayList<TipoQueryFattura> tipiQuery = creaArrayQueries();\n\n for (TipoQueryFattura queryFattura : tipiQuery)\n fattureFiltrate.addAll(filtraFatture(queryFattura));\n\n // Creo un Set per ottenere una lista di fatture univoche\n Set<Fattura> fattureFiltratiUnivoche = new HashSet<>(fattureFiltrate);\n fattureFiltrate = new ArrayList<>(fattureFiltratiUnivoche);\n\n // Resetto il filtro e la stringa di ricerca\n filtriFattura = null;\n stringaRicercaPerFiltro = null;\n\n return fattureFiltrate;\n }", "title": "" }, { "docid": "c4f2222bd4ae2306d83723b00f5caffb", "score": "0.4978571", "text": "private static void showAllHouseNotDuplicate(){\n System.out.println();\n System.out.println(\" ---------Show All House NotDuplicate--------- \");\n ArrayList<House> listHouse = FuncWriteAndReadFileCSV.getHouseFromCSV();\n TreeSet<String> treeSetHouse = new TreeSet<>(new HashSet<>());\n for (int t=0;t<listHouse.size();t++){\n treeSetHouse.add(listHouse.get(t).getNameService());\n }\n\n int i=1;\n for (String str : treeSetHouse) {\n System.out.println(i +\". \"+ str);\n i++;\n }\n System.out.println();\n System.out.print(\"Enter back to menu show services !!! Enter to continue ...\");\n Scanner scanner=new Scanner(System.in);\n scanner.nextLine();\n showServices();\n }", "title": "" }, { "docid": "a0b50500f2b04e46f1a6baa9617ca19f", "score": "0.49779606", "text": "public static List<Tva> recupTauxTva() {\r\n\r\n\t\tList<Tva> tauxTva = new ArrayList<Tva>();\r\n\t\ttry {\r\n\t\t\tresult = (ResultSet) Connect\r\n\t\t\t\t\t.getInstance()\r\n\t\t\t\t\t.createStatement(java.sql.ResultSet.TYPE_SCROLL_INSENSITIVE,\r\n\t\t\t\t\t\t\tjava.sql.ResultSet.CONCUR_READ_ONLY)\r\n\t\t\t\t\t\t\t.executeQuery(\"SELECT * FROM arn_tva\");\r\n\t\t\twhile (result.next()) {\r\n\t\t\t\ttauxTva.add(new Tva(result.getInt(\"id_tva\"), result\r\n\t\t\t\t\t\t.getDouble(\"taux_tva\")));\r\n\t\t\t}\r\n\t\t} catch (SQLException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn tauxTva;\r\n\t}", "title": "" }, { "docid": "460efe45f362d7ae424d70cfeebd9285", "score": "0.49688292", "text": "public void listarLivros() {\n try {\n String tipo;\n DefaultTableModel modelo = new DefaultTableModel();\n jtLivros.setModel(modelo);\n modelo.setRowCount(0);\n modelo.addColumn(\"ID\");\n modelo.addColumn(\"Titulo\");\n modelo.addColumn(\"Autor\");\n modelo.addColumn(\"Tema\");\n modelo.addColumn(\"Edição\");\n modelo.addColumn(\"Local\");\n modelo.addColumn(\"Editora\");\n modelo.addColumn(\"Ano\");\n modelo.addColumn(\"Páginas\");\n\n Connection conexao = org.model.Conexao.getConexao();\n switch (String.valueOf(jcbFiltro.getSelectedItem())) { // Inserindo baseado no tipo\n case \"Disponível\":\n\n ArrayList<Livro> livros = Livro.listar(conexao, \"1\");\n\n for (Livro livro : livros) {\n\n modelo.addRow(new Object[]{livro.getId(), livro.getTitulo(), livro.getAutor(), livro.getTema(), livro.getEdicao(), livro.getLocal(), livro.getEditora(), livro.getAno(), livro.getPagtotais()});\n }\n org.model.Conexao.closeAll(conexao);\n break;\n case \"Indisponível\":\n\n ArrayList<Livro> l = Livro.listar(conexao, \"0\");\n\n for (Livro livro : l) {\n if (\"1\".equals(livro.getLivre())) {\n tipo = \"Disponível\";\n }\n if (\"0\".equals(livro.getLivre())) {\n tipo = \"Indisponível\";\n }\n modelo.addRow(new Object[]{livro.getId(), livro.getTitulo(), livro.getAutor(), livro.getTema(), livro.getEdicao(), livro.getLocal(), livro.getEditora(), livro.getAno(), livro.getPagtotais()});\n }\n org.model.Conexao.closeAll(conexao);\n break;\n case \"Todos\":\n\n ArrayList<Livro> l1 = Livro.listarTudo(conexao, \"\");\n\n for (Livro livro : l1) {\n if (\"1\".equals(livro.getLivre())) {\n tipo = \"Disponível\";\n }\n if (\"0\".equals(livro.getLivre())) {\n tipo = \"Indisponível\";\n }\n modelo.addRow(new Object[]{livro.getId(), livro.getTitulo(), livro.getAutor(), livro.getTema(), livro.getEdicao(), livro.getLocal(), livro.getEditora(), livro.getAno(), livro.getPagtotais()});\n }\n org.model.Conexao.closeAll(conexao);\n break;\n }\n\n } catch (SQLException ex) {\n Logger.getLogger(Consulta.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "title": "" }, { "docid": "6f509d2a941525e853747e241e05d143", "score": "0.49677646", "text": "private void limpiarTabla(JTable tab) {\n while(tab.getRowCount()>0){//se recorren todas las filas\n ((javax.swing.table.DefaultTableModel) TABLA.getModel()).removeRow(0);\n }\n }", "title": "" }, { "docid": "4aa32de8aab34240d9cdce0899f182a3", "score": "0.49636042", "text": "public void doTamanoPaginacionCursoDetFiltro() {\n // Calcula tras metodos numericos cauntas pagSize cuantos botones de paginacion va tener\n int x = gestorCursoDetService.tamanoPaginacionCursoDetFiltro(nomcur_found , tipoEnsenanza);\n System.out.println(\"x es \" + x);\n paginacionCursoDet = new ArrayList<>();\n //si la paginacion es 0 entonces solo se agregara un unico boton\n if (x == 0) {\n paginacionCursoDet.add(1); // es 1 para que no de error en el calculo al llamar la lista de la tabla\n } else {\n //llena los numeros a las lista integer \n for (int i = 1; i <= x; i++) {\n paginacionCursoDet.add(i);\n }\n }\n //retorna esta lista para que en la vista con un repetidor listar los botones de paginacion\n //return paginacionCursoDet;\n }", "title": "" }, { "docid": "353ec769101cf08ae5126e0108cc7ca0", "score": "0.49554273", "text": "public void ListarPaciente(){\n paciente=db.getListadosPaciente();\n DefaultTableModel tb=(DefaultTableModel)jTablePACIENTES.getModel();\n //limpio la tabla\n for (int i = 0; i < jTablePACIENTES.getRowCount(); i++) {\n tb.removeRow(i);\n i-=1;\n }\n for(Paciente pa:paciente ){\n tb.addRow(new Object[]{pa.getDni(),pa.getNombres(),pa.getApellidos(),pa.getDireccion(),pa.getTelefono(),pa.getSeguro_social()});\n }\n }", "title": "" }, { "docid": "a0b5280a91b3a669318911173b6409f3", "score": "0.49534127", "text": "@Override\n public List buscarPer(String texto) {\n String sql = \"Select * from persona where idpersona like '%\" + texto + \"%' \"\n + \"or cedula like '%\" + texto + \"%' or nombre like'%\" + texto + \"%' \"\n + \"or apellido like'%\" + texto + \"%' or fechaNacimiento like'%\" + texto + \"%' \"\n + \"or tipo like'%\" + texto + \"%' or grado like'%\" + texto + \"%' or categoria like'%\" + texto + \"%' \"\n + \"or sexo like'%\" + texto + \"%' or peso like'%\" + texto + \"%'\";\n List<Persona> lista = new ArrayList<>();\n try {\n con = cn.getConnection();\n ps = con.prepareStatement(sql);\n rs = ps.executeQuery();\n while (rs.next()) {\n Persona per = new Persona();\n per.setId(rs.getInt(\"idpersona\"));\n per.setUsuario(rs.getString(\"usuario\"));\n per.setClave(rs.getString(\"clave\"));\n per.setFoto(rs.getBinaryStream(\"foto\"));\n per.setCedula(rs.getString(\"cedula\"));\n per.setNombre(rs.getString(\"nombre\"));\n per.setApellido(rs.getString(\"apellido\"));\n per.setFechaNacimiento(rs.getString(\"fechaNacimiento\"));\n per.setTipo(rs.getString(\"tipo\"));\n per.setGrado(rs.getString(\"grado\"));\n per.setCategoria(rs.getString(\"categoria\"));\n per.setSexo(rs.getString(\"sexo\"));\n per.setPeso(rs.getString(\"peso\"));\n lista.add(per);\n }\n } catch (SQLException e) {\n System.out.println(e.getMessage());\n } catch (Exception e) {\n System.out.println(e.getMessage());\n }\n return lista;\n }", "title": "" }, { "docid": "121e71b77c37c7a13a3f786cbe403299", "score": "0.49530652", "text": "public void listar() {\n if (!(this.cabeza == null && this.cola == null)) {\n\n // creamos el nodo que nos va a recorres la lista nodo \n // por nodo imprimedo el valor que hay en cada nodo \n NodoSimple aux = cabeza;\n // ciclo por el cual el nodo recorre la lista hasta que la cola tenga el valor de null\n int i = 0;\n while (aux != null) {\n System.out.println(\"el dato :\" + \"[\" + aux.getdato() + \"]\" + \" \" + \"esta en la posicion\"\n + \"(\" + i + \")\" + \"de la lista\");\n\n aux = aux.getsiguiente();\n i++;\n }\n }\n\n }", "title": "" }, { "docid": "47be2296d069ad3a84535a3d9b6f19ed", "score": "0.49502203", "text": "private static List<csvObject> ngisiListShinobi(int jumlahRecord) {\n\t\tList<csvObject> lsd = new ArrayList<csvObject>();\n\t\tfor (int i = 0; i < jumlahRecord; i++) {\n\t\t\tlsd.add(new csvObject(\"a\" + i, \"b\" + i, \"c\" + i,\n\t\t\t\t\t\"d\" + i, \"e\" + i, i));\n\t\t}\n\t\treturn lsd;\n\t}", "title": "" }, { "docid": "5f9b7a3ff96ac22ba534c901c2ac0409", "score": "0.49485195", "text": "public void listarVeiculos() {\n try {\n LocadoraDAO locadora = new LocadoraDAO();\n \n DefaultTableModel model = (DefaultTableModel) tabelaVeiculos.getModel();\n model.setNumRows(0);\n \n ArrayList<VeiculoDTO> lista = locadora.PesquisarVeiculoLocadora(id_locadora);\n \n for(int num = 0; num < lista.size(); num++) {\n model.addRow(new Object[] {\n lista.get(num).getId(),\n lista.get(num).getMarca(),\n lista.get(num).getModelo(),\n lista.get(num).getAcessorios(),\n lista.get(num).getCategoria(),\n lista.get(num).getAno(),\n lista.get(num).getPreco()\n });\n }\n \n } catch (Exception e) {\n JOptionPane.showMessageDialog(null,\"listar veiculos\" + e);\n }\n }", "title": "" }, { "docid": "fd7ff0bde53c114d278e3ea129ea83d3", "score": "0.4948042", "text": "ObservableList<Entry> getFilteredTodayFoodEntryList();", "title": "" }, { "docid": "18061398b50dcd61c280989848ac5a70", "score": "0.49398655", "text": "private void RecuperarInfoFilter(File arquivoFilter) {\n\n\t\tlinesfilter= new HashMap<Integer, Filtro>();\n\n\t\tlinesfilter= manipulador.getLinesfiter();\n\n\t\t//\t\tint count = linesfilter.size();\n\n\t\t//int countt = 0;\n\n\t\tSet<Integer> keyset = null;\n\n\t\tif(!filtros.isEmpty()) {\n\n\n\t\t\tfor (int i = 0; i < filtros.size(); i++) {\n\n\t\t\t\tFiltro fil = filtros.get(i);\n\t\t\t\t//\tfiltros.add(fil);\n\t\t\t\tmanipulador.EscreverFilter(arquivoFiltro.getPath(),fil);\n\n\n\t\t\t}\n\n\n\t\t}\n\n\t\tif(!linesfilter.isEmpty() && filtros.isEmpty()){\n\t\t\t//\tfiltros.clear();\n\n\t\t\tkeyset = linesfilter.keySet();\n\n\t\t\tfor(Integer s : keyset){\n\n\n\t\t\t\tString[] lin = linesfilter.get(s).getValor().split(\",\");\n\t\t\t\tFiltro fil = new Filtro();\n\t\t\t\tfil.setChave(lin[0]);\n\t\t\t\tfil.setValor(lin[1]);\n\t\t\t\tfil.setObjeto(lin[2]);\n\n\t\t\t\tfiltros.add(fil);\n\n\n\t\t\t}\n\n\t\t\t//\t\tmanipulador.EscreverFilter(arquivoFiltro.getPath(),filtros.toString());\n\t\t\t//\t\tmanipulador.EscreverFilter(arquivoFiltro.getPath(),nomeModelo);\n\t\t\t//\t\tmanipulador.EscreverFilter(arquivoFiltro.getPath(),usuarioconf);\n\t\t\t//\t\tmanipulador.EscreverFilter(arquivoFiltro.getPath(),senhaconf);\n\t\t\t//\t\tmanipulador.EscreverFilter(arquivoFiltro.getPath(),hostconf);\n\t\t\t//\t\tmanipulador.EscreverFilter(arquivoFiltro.getPath(),protocoloconf);\n\t\t\t//\t\tmanipulador.EscreverFilter(arquivoFiltro.getPath(),portaconf);\n\n\t\t\t//\t\tlinesfilter = manipulador.getLinesfiter();\n\t\t\t//\t\ttrace.textProperty().unbind();\n\t\t\t//\t\ttrace.setText(manipulador.Ler(arquivoFiltro));\n\n\t\t}else {\n\n\n\n\t\t\t//\t\t\t\tfor (int i = 0; i < filtros.size(); i++) {\n\t\t\t//\t\t\t\t\t\n\t\t\t//\t\t\t\t\tFiltro fil = filtros.get(i);\n\t\t\t//\t\t\t\t//\tfiltros.add(fil);\n\t\t\t//\t\t\t\t\tmanipulador.EscreverFilter(arquivoFiltro.getPath(),fil);\n\t\t\t//\t\t\t\t\t\n\t\t\t//\t\t\t\t}\n\n\n\t\t}\n\n\n\t\t//\tlinesfilter = manipulador.getLinesfiter();\n\t\t//\t\t\ttrace.textProperty().unbind();\n\t\t//\t\t\ttrace.setText(manipulador.LerFilter(arquivoFiltro));\n\n\t\tPreencherAjuda();\n\t\tCarregarInfo();\n\t}", "title": "" }, { "docid": "269f6b33f3ea8b8986283cf0a0d16f21", "score": "0.49332416", "text": "public void imprimir() {\n\t\tNodo aux = cabeza;\n while (aux != null) {\n System.out.println(aux.getPelicula());\n aux = aux.getSiguiente();\n\n }\n }", "title": "" }, { "docid": "bd3b5f3320419ae5970d743ca515fbfc", "score": "0.49321216", "text": "public TableModelProduto() {\n linhas = new ArrayList<>(100);\n this.colunas = new String[]{\"Nome\", \"Valor\", \"Qtd\", \"Status\"};\n }", "title": "" }, { "docid": "006271696b5b61e3433c3f2788492624", "score": "0.49311897", "text": "public void listar(JTable tabla){\n modelo = (DefaultTableModel)tabla.getModel();\n List<Usuario>lista = this.dataAcess.obtener();\n \n Object[]object = new Object[5];\n \n for(int i = 0; i < lista.size(); i++){\n object[0] = lista.get(i).getCodigo();\n object[1] = lista.get(i).getNombre();\n object[2] = lista.get(i).getTelefono();\n object[3] = lista.get(i).getUsuario();\n object[4] = lista.get(i).getContrasena();\n modelo.addRow(object); \n }\n tabla.setModel(modelo);\n }", "title": "" }, { "docid": "df4588be2fcb9a957c9bcf31cb4fe1ca", "score": "0.49302894", "text": "private void DaftarItem(){\n int count = 0;\n for (String nama : Nama){\n arrayList.add(new DataFilter(nama, Gambar[count]));\n count++;\n }\n }", "title": "" }, { "docid": "d682e92e761b98fa21a9734f771b8c05", "score": "0.4929902", "text": "private void PreencherValoresArquivados(File c,File f){\n\n\t\tmanipulador = new ManipuladorArquivo(c,f);\n\n\t\tlines= manipulador.getLines();\n\n\t\tSystem.out.println(\"line: \" + lines.size());\n\n\t\tif(lines.isEmpty()){\n\n\t\t\tmanipulador.Escrever(c.getPath(),nomeArquivo);\n\t\t\tmanipulador.Escrever(c.getPath(),nomeModelo);\n\t\t\tmanipulador.Escrever(c.getPath(),usuarioconf);\n\t\t\tmanipulador.Escrever(c.getPath(),senhaconf);\n\t\t\tmanipulador.Escrever(c.getPath(),hostconf);\n\t\t\tmanipulador.Escrever(c.getPath(),protocoloconf);\n\t\t\tmanipulador.Escrever(c.getPath(),portaconf);\n\n\t\t\t//\tlines = manipulador.getLines();\n\n\t\t\t//\t\ttrace.setText(manipulador.Ler(c));\n\n\t\t}else {\n\n\n\n\t\t\tnomeArquivo = lines.get(0);\n\t\t\tnomeModelo = lines.get(1);\n\t\t\tusuarioconf= lines.get(2);\n\t\t\tsenhaconf= lines.get(3);\n\t\t\thostconf= lines.get(4); \n\t\t\tprotocoloconf= lines.get(5);\n\t\t\tportaconf= lines.get(6);\n\n\t\t}\n\n\n\t\tlinesfilter= manipulador.getLinesfiter();\n\n\t\t//\t\tint count = linesfilter.size();\n\n\t\tint countt = 0;\n\n\t\tSystem.out.println(\"lines filter: \" + linesfilter.size());\n\n\t\tSet<Integer> keyset =null;\n\n\t\tif(linesfilter.isEmpty() || !(filtros.isEmpty())){\n\n\n\n\t\t\tfor (int i = 0; i < filtros.size(); i++) {\n\n\t\t\t\tFiltro fil = filtros.get(i);\n\n\t\t\t\tmanipulador.EscreverFilter(f.getPath(),fil);\n\n\t\t\t}\n\n\n\t\t}else {\n\n\n\t\t\t//filtros.clear();\n\n\t\t\tkeyset = linesfilter.keySet();\n\n\t\t\tfor(Integer s : keyset) {\n\n\n\t\t\t\tString[] lin = linesfilter.get(s).getValor().split(\",\");\n\n\t\t\t\tFiltro fil = new Filtro();\n\t\t\t\tfil.setChave(lin[0]);\n\t\t\t\tfil.setValor(lin[1]);\n\t\t\t\tfil.setObjeto(lin[2]);\n\n\t\t\t\tfiltros.add(fil);\n\n\n\n\t\t\t}\n\n\n\n\n\t\t}\n\n\n\n\t\t//\t\t}else {\n\t\t//\t\t\t\n\t\t//\t\t\t \tkeyset = linesfilter.keySet();\n\t\t//\t\t\t\tfor(Integer s : keyset){\n\t\t//\t\t\t\t\n\t\t//\t\t\t\t\n\t\t//\t\t\t\tString[] lin = linesfilter.get(s).getValor().split(\",\");\n\t\t//\t\t\t\tFiltro fil = new Filtro();\n\t\t//\t\t\t\tfil.setChave(lin[0]);\n\t\t//\t\t\t\tfil.setValor(lin[1]);\n\t\t//\t\t\t\tfil.setObjeto(lin[2]);\n\t\t//\t\t\t\t\n\t\t//\t\t\t\tfiltros.add(fil);\n\t\t//\t\t\t\n\t\t//\t\t\t\n\t\t//\t\t\t\t}\n\n\t\t//\t\t\tfor(Integer s : keyset){\n\t\t//\t\t\t\t\n\t\t//\t\t\t\tFiltro fil = linesfilter.get(s);\n\t\t//\t\t\t\tfiltros.add(fil);\n\t\t//\t\t\t\tmanipulador.EscreverFilter(f.getPath(),filtros.get(countt));\n\t\t//\t\t\t\tcountt++;\n\t\t//\t\t\t\t\n\t\t//\t\t\t}\n\t\t//\t\t\t\n\t\t//\t\t\t\n\t\t//\t\t\tlinesfilter = manipulador.getLinesfiter();\n\t\t//\t\t\ttrace.textProperty().unbind();\n\t\t//\t\t\ttrace.setText(manipulador.LerFilter(f));\n\n\t\tprocurarArquivos();\n\t\tarquivoLocalizado = RetornarArquivoValido(arquivos);\n\n\t\tif(arquivoLocalizado.exists()){\n\t\t\tCriarDiretorio(arquivoLocalizado);\n\t\t}else {\n\n\t\t\ttry {\n\t\t\t\tarquivoLocalizado.createNewFile();\n\t\t\t\tCriarDiretorio(arquivoLocalizado);\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\n\t\t}\n\n\n\n\t\tPreencherAjuda();\n\n\t}", "title": "" }, { "docid": "5b0c0a8c122ddd2787a9089d95c24bfd", "score": "0.4925453", "text": "private static void showAllRoomNotDuplicate(){\n System.out.println();\n System.out.println(\" ---------Show All Room NotDuplicate--------- \");\n ArrayList<Room> listRoom = FuncWriteAndReadFileCSV.getRoomFromCSV();\n TreeSet<String> treeSetRoom = new TreeSet<>(new HashSet<>());\n for (int t=0;t<listRoom.size();t++){\n treeSetRoom.add(listRoom.get(t).getNameService());\n }\n\n int i=1;\n for (String str : treeSetRoom) {\n System.out.println(i +\". \"+ str);\n i++;\n }\n System.out.println();\n System.out.print(\"Enter back to menu show services !!! Enter to continue ...\");\n Scanner scanner=new Scanner(System.in);\n scanner.nextLine();\n showServices();\n }", "title": "" }, { "docid": "2778d7d2260a6179c31b2141128b0d56", "score": "0.49235746", "text": "List<PuestoTrabajo> findAll();", "title": "" }, { "docid": "c49155b064cc8a1ba4451d610cbfe8bf", "score": "0.49208087", "text": "@Override\n \tpublic ResultSet getAll()\n \t{\n \t\t\n \t\tSQL=\"SELECT e.NUM,e.NOM||' ' ||e.PRENOM NOM,n.nom niveau FROM ELEVE e,niveau n \"\n \t\t\t\t+ \"where e.niveau=n.id order by e.num\";\n \t\t \n \t\ttry {\n \t\t\t\n \t\t\t DAO.ps=DAO.conn.prepareStatement(SQL);\n \t rs=DAO.ps.executeQuery();\n \t \n \t return rs; \n \t \n \t } catch (SQLException ex) { System.out.print(\" erreur get all eleve \"); return null; }\t\n \t}", "title": "" }, { "docid": "252d42299f9fe4591a63602a322183f2", "score": "0.49170575", "text": "public ArrayList<Studente> findAll() //per avere la lista di tutti gli studenti; restituisce oggetti di modello\n //esegue le query e traduce in un array di stringhe da passare al model -> la classe Studente va nel model\n {\n\n\n\n ArrayList<String[]> risultato = DbConnection.getInstance().eseguiQuery(\"SELECT * FROM studente\");\n //SECONDO COMPITO: traduzione\n\n ArrayList<Studente> listaStudenti = new ArrayList<Studente>();\n //dobbiamo tradurre gli oggetti restituiti dalla DBconnection in oggetti del nostro dominio\n\n Iterator<String[]> i = risultato.iterator(); //creiamo un iteratore a oggetti\n //iterator definisce un oggetto dello stesso tipo del contenuto dell'array list\n //iteriamo su ogni risultato e lo inseriamo in coda nella lista studenti\n\n while(i.hasNext()) //finchè c'è un nuovo elemento in questa lista ...\n {\n String[] riga = i.next(); //... dammelo\n Studente s = new Studente();\n //s.setIdPersona(riga[1]); //IdPersona è un intero e riga[1] un carattere: si deve convertire\n s.setIdPersona(Integer.parseInt(riga[1]));\n //il dbms mi assicura che idPersona è int e not null quindi posso usare questa funzione. altrimenti dobbiamo mettere\n //qualcosa tipo trackage(?)\n s.setMatricola(riga[0]);\n listaStudenti.add(s);\n }\n\n return listaStudenti;\n }", "title": "" }, { "docid": "ab5b2b4d4ea7ca2506f686b84ce68f60", "score": "0.49138388", "text": "public static List<Persona> obtenerTodasPersonas(){\n Persona persona=null;\n con=Conexion.conectar();\n listaPersonas= new ArrayList<>();\n try{\n Statement st = con.createStatement();\n ResultSet rs = st.executeQuery(\"select * from persona\");\n\n while (rs.next()) {\n persona = new Persona(rs.getInt(1), rs.getString(2), \n rs.getString(3), rs.getString(4), rs.getDate(5), \n rs.getString(6), rs.getString(7), rs.getString(8), \n rs.getInt(9));\n listaPersonas.add(persona);\n }\n }catch(SQLException ex){\n System.out.println(ex.getMessage());\n } finally {\n Conexion.desconexion(con);\n }\n \n return listaPersonas;\n\n }", "title": "" }, { "docid": "ce96c808a04656ef1ad766e5705fa075", "score": "0.49132797", "text": "public void AnimalFiltr() throws SQLException {\r\n animaldisplayfiltr1.getItems().add(\"-\");\r\n animaldisplayfiltr1.setValue(\"-\");\r\n animaldisplayfiltr1.getItems().add(\"nazwa\");\r\n animaldisplayfiltr1.getItems().add(\"plec\");\r\n animaldisplayfiltr1.getItems().add(\"gromada\");\r\n animaldisplayfiltr1.getItems().add(\"wybieg\");;\r\n animaldisplayfiltr1.getItems().add(\"urodzony po\");\r\n animaldisplayfiltr1.getItems().add(\"urodzony przed\");\r\n\r\n animaldisplayfiltr2.getItems().add(\"-\");\r\n animaldisplayfiltr2.setValue(\"-\");\r\n animaldisplayfiltr2.getItems().add(\"lub\");\r\n animaldisplayfiltr2.getItems().add(\"i\");\r\n\r\n animaldisplayfiltr3.getItems().add(\"-\");\r\n animaldisplayfiltr3.setValue(\"-\");\r\n animaldisplayfiltr3.getItems().add(\"nazwa\");\r\n animaldisplayfiltr3.getItems().add(\"plec\");\r\n animaldisplayfiltr3.getItems().add(\"gromada\");\r\n animaldisplayfiltr3.getItems().add(\"wybieg\");;\r\n animaldisplayfiltr3.getItems().add(\"urodzony po\");\r\n animaldisplayfiltr3.getItems().add(\"urodzony przed\");\r\n displayanimalsex1.getItems().add(\"Samiec\");\r\n displayanimalsex1.getItems().add(\"Samica\");\r\n displayanimalsex1.setValue(\"Samiec\");\r\n displayanimalsex2.getItems().add(\"Samiec\");\r\n displayanimalsex2.getItems().add(\"Samica\");\r\n displayanimalsex2.setValue(\"Samiec\");\r\n Connection con = null;\r\n con = Connect.getConnection();\r\n PreparedStatement prsm = con.prepareStatement(\"SELECT * FROM Wybiegi\");\r\n ResultSet rsanimal = (prsm.executeQuery());\r\n while (rsanimal.next()) {\r\n animalchoicecatwalks1.getItems().add(rsanimal.getString(2) + \"(id: \" + rsanimal.getInt(1) + \")\");\r\n }\r\n rsanimal = (prsm.executeQuery());\r\n while (rsanimal.next()) {\r\n animalchoicecatwalks2.getItems().add(rsanimal.getString(2) + \"(id: \" + rsanimal.getInt(1) + \")\");\r\n }\r\n animaldisplayfiltr1.getSelectionModel().selectedItemProperty()\r\n .addListener((obs, oldV, newV) -> {\r\n int t = animaldisplayfiltr1.getSelectionModel().getSelectedIndex();\r\n\r\n if(t == 2){\r\n displayanimalsex1.setVisible(true);\r\n animalchoicecatwalks1.setVisible(false);\r\n animaldisplaytext1.setVisible(false);\r\n animaldisplaydate1.setVisible(false);\r\n }\r\n else if(t == 4){\r\n displayanimalsex1.setVisible(false);\r\n animalchoicecatwalks1.setVisible(true);\r\n animaldisplaytext1.setVisible(false);\r\n animaldisplaydate1.setVisible(false);\r\n }\r\n else if(t == 5 || t == 6) {\r\n displayanimalsex1.setVisible(false);\r\n animalchoicecatwalks1.setVisible(false);\r\n animaldisplaytext1.setVisible(false);\r\n animaldisplaydate1.setVisible(true);\r\n }\r\n else{\r\n displayanimalsex1.setVisible(false);\r\n animalchoicecatwalks1.setVisible(false);\r\n animaldisplaytext1.setVisible(true);\r\n animaldisplaydate1.setVisible(false);\r\n }\r\n });\r\n animaldisplayfiltr3.getSelectionModel().selectedItemProperty()\r\n .addListener((obs, oldV, newV) -> {\r\n int t = animaldisplayfiltr3.getSelectionModel().getSelectedIndex();\r\n if(t == 2){\r\n displayanimalsex2.setVisible(true);\r\n animalchoicecatwalks2.setVisible(false);\r\n animaldisplaytext2.setVisible(false);\r\n animaldisplaydate2.setVisible(false);\r\n }\r\n else if(t == 4){\r\n displayanimalsex2.setVisible(false);\r\n animalchoicecatwalks2.setVisible(true);\r\n animaldisplaytext2.setVisible(false);\r\n animaldisplaydate2.setVisible(false);\r\n }\r\n else if(t == 5 || t == 6) {\r\n displayanimalsex2.setVisible(false);\r\n animalchoicecatwalks2.setVisible(false);\r\n animaldisplaytext2.setVisible(false);\r\n animaldisplaydate2.setVisible(true);\r\n }\r\n else{\r\n displayanimalsex2.setVisible(false);\r\n animalchoicecatwalks2.setVisible(false);\r\n animaldisplaytext2.setVisible(true);\r\n animaldisplaydate2.setVisible(false);\r\n }\r\n });\r\n }", "title": "" }, { "docid": "028ae52e15060d39b765cc1aa5a74321", "score": "0.4908975", "text": "public static List<ProcTP> tableToList(DataTable table) throws Exception {\n List<ProcTP> retVal = new List<ProcTP>();\n ProcTP procTP = new ProcTP();\n for (int i = 0;i < table.Rows.Count;i++)\n {\n procTP = new ProcTP();\n procTP.ProcTPNum = PIn.Long(table.Rows[i][\"ProcTPNum\"].ToString());\n procTP.TreatPlanNum = PIn.Long(table.Rows[i][\"TreatPlanNum\"].ToString());\n procTP.PatNum = PIn.Long(table.Rows[i][\"PatNum\"].ToString());\n procTP.ProcNumOrig = PIn.Long(table.Rows[i][\"ProcNumOrig\"].ToString());\n procTP.ItemOrder = PIn.Int(table.Rows[i][\"ItemOrder\"].ToString());\n procTP.Priority = PIn.Long(table.Rows[i][\"Priority\"].ToString());\n procTP.ToothNumTP = PIn.String(table.Rows[i][\"ToothNumTP\"].ToString());\n procTP.Surf = PIn.String(table.Rows[i][\"Surf\"].ToString());\n procTP.ProcCode = PIn.String(table.Rows[i][\"ProcCode\"].ToString());\n procTP.Descript = PIn.String(table.Rows[i][\"Descript\"].ToString());\n procTP.FeeAmt = PIn.Double(table.Rows[i][\"FeeAmt\"].ToString());\n procTP.PriInsAmt = PIn.Double(table.Rows[i][\"PriInsAmt\"].ToString());\n procTP.SecInsAmt = PIn.Double(table.Rows[i][\"SecInsAmt\"].ToString());\n procTP.PatAmt = PIn.Double(table.Rows[i][\"PatAmt\"].ToString());\n procTP.Discount = PIn.Double(table.Rows[i][\"Discount\"].ToString());\n procTP.Prognosis = PIn.String(table.Rows[i][\"Prognosis\"].ToString());\n procTP.Dx = PIn.String(table.Rows[i][\"Dx\"].ToString());\n retVal.Add(procTP);\n }\n return retVal;\n }", "title": "" }, { "docid": "f0dfcaca63bef212dfaf82d5d6b90a25", "score": "0.49056306", "text": "List<Item> selectAll();", "title": "" }, { "docid": "37e26da846c85be768bc42fe574fb1bb", "score": "0.4901754", "text": "List<MaterielPlan> selectAll();", "title": "" }, { "docid": "413a2101b6473a5c451684c9132f2000", "score": "0.49007982", "text": "private void mostraInTabella(){\r\n dbmsControl.connetti();\r\n String query = \"SELECT * FROM elenco ORDER BY ID_Utente ASC\";\r\n try {\r\n ResultSet resultSet = dbmsControl.doQuery(query);\r\n while(resultSet.next()) {\r\n this.nominativo = new Nominativo(resultSet);\r\n elenco.add(nominativo);\r\n }\r\n \r\n tableview.setItems(elenco);\r\n \r\n /*\r\n Si mette in ascolto dei possibili eventi sulla TableView\r\n */\r\n ascoltaTabella();\r\n } \r\n catch (SQLException ex) {\r\n System.out.println(\"Errore nell'esecuzione della query!\");\r\n }\r\n dbmsControl.disconnetti();\r\n }", "title": "" }, { "docid": "2fabcd5a5aa2180b3f084bfbc4100352", "score": "0.4898279", "text": "private void rellenarDatosAlumnos(Alumno alumno) {\n Historial hist = null;\n\n for (int i = 0; i < alumno.getHistoriales().size(); i++) {\n if (alumno.getHistoriales().get(i).getAlumno().equals(alumno)) {\n hist = alumno.getHistoriales().get(i);\n break;\n }\n }\n if (hist != null) {\n boolean estadoInicial = setEstado(\"inicial\", hist.getEstado_inicial());\n boolean estadoFinal = setEstado(\"final\", hist.getEstado_final());\n\n if ((!estadoInicial) || (!estadoFinal)) {\n new FramePopup(this, \"No se ha podido asignar el estado del ejemplar\",\n Imagenes.getImagen(\"alert-black.png\"),\n \"Aceptar\").setVisible(true);\n }\n\n }\n }", "title": "" }, { "docid": "0dd2270519ff2a5d1c8d752de99b3646", "score": "0.48948136", "text": "public void filterQuotations(){\r\n\r\n\t\ttry {\r\n\r\n\t\t\t// Return a list of quotes that match the selection criteria chosen\r\n\t\t\tList<QuoteHeader> quoteList = getQuoteDao().filterQuotes(rdbtnConvertRetailQuotations.isSelected(), txtConvertQuotationNo.getText(), txtConvertName.getText(), txtConvertAddress.getText(), \r\n\t\t\t\t\ttxtConvertFromDate.getDateEditor().getDate(), txtConvertToDate.getDateEditor().getDate(), txtConvertPhone.getText(), txtConvertValue.getText());\r\n\t\t\t\r\n\t\t\tString columns[] = {\"QUOTE_NO\", \"NAME\", \"ADDRESS\", \"DATE\", \"PHONE\", \"VALUE\"};\r\n\t\t\tDefaultTableModel tableModel = new DefaultTableModel(columns, 0);\r\n\t\t\tSimpleDateFormat df = new SimpleDateFormat(\"dd-MM-yyyy\");\r\n\t\t\t\r\n\t\t\tfor(QuoteHeader quote : quoteList){\r\n\t\t\t\tString tableQuoteNo = String.valueOf(quote.getQuotationNo());\r\n\t\t\t\tString tableName = quote.getName();\r\n\t\t\t\tString tableAddress = quote.getAddress1();\r\n\t\t\t\tString tableDate = df.format(quote.getOrderDate());\r\n\t\t\t\tString tablePhone = quote.getPhone();\r\n\t\t\t\tString tableValue = quote.getTotalPostRounding();\r\n\t\t\t\tObject[] line = {tableQuoteNo, tableName, tableAddress, tableDate, tablePhone, tableValue};\r\n\t\t\t\ttableModel.addRow(line);\r\n\t\t\t}\r\n\t\t\r\n\t\t\ttblQuotationsFiltered.setModel(tableModel);\r\n\t\t\t\r\n\t\t\ttblQuotationsFiltered.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);\r\n\t\t\r\n\t\t\tTableColumnModel columnModel = tblQuotationsFiltered.getColumnModel();\r\n\t\t\tcolumnModel.getColumn(0).setPreferredWidth(80);\r\n\t\t\tcolumnModel.getColumn(1).setPreferredWidth(200);\r\n\t\t\tcolumnModel.getColumn(2).setPreferredWidth(510);\r\n\t\t\tcolumnModel.getColumn(3).setPreferredWidth(80);\r\n\t\t\tcolumnModel.getColumn(4).setPreferredWidth(165);\r\n\t\t\tcolumnModel.getColumn(5).setPreferredWidth(80);\r\n\t\t\t\r\n\t\t}catch(Exception ex){\r\n\t\t\tJOptionPane.showMessageDialog(null, ex);\r\n\t\t}\r\n\r\n\t}", "title": "" } ]
36cb26202cc8ce36ad283fd3dfcb95ea
Write was successful! ...
[ { "docid": "f9974fa3892783a389dc0197c277ccdb", "score": "0.0", "text": "@Override\n public void onSuccess(Void aVoid) {\n Toast.makeText(mContext, \"Registration Successfully completed\", Toast.LENGTH_LONG).show();\n startNavigationActivity();\n\n\n }", "title": "" } ]
[ { "docid": "ab1104123c75d2afe91978a89f91d3f3", "score": "0.76365006", "text": "boolean write() throws Exception;", "title": "" }, { "docid": "beda473da333fba59bf6c1a46686daf4", "score": "0.67526764", "text": "public void write(){\n }", "title": "" }, { "docid": "f17b2dd93db75ca29c3e4b63188260f5", "score": "0.6670905", "text": "void write();", "title": "" }, { "docid": "ae909659d708e54cdf2197aac844869c", "score": "0.6653497", "text": "@Override\n\tpublic Boolean write() {\n\t\t// TODO Auto-generated method stub\n\t\treturn null;\n\t}", "title": "" }, { "docid": "a0864071176cc2ab7de0abbce854cd59", "score": "0.66314274", "text": "@Override\n public boolean\n writesWorking()\n {\n return true;\n }", "title": "" }, { "docid": "5ec715bdda458e967e5ed086114d0cca", "score": "0.6612764", "text": "@Override\n\tpublic boolean writeRecord(Recordpo recordpo) throws Exception {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "91c8e7a84d63c0b0de25992b9b967de5", "score": "0.65501773", "text": "public Boolean writeFile() throws IOException {\n Date now = null;\n String fileHour = \"\", filename = \"\";\n\n int id = -1, status = 0;\n Boolean success = false;\n\n File resultsFile = null;\n File resultsFolder = new File(Environment.getExternalStorageDirectory(), \"WalkingHealth\");\n\n if(createFolder(resultsFolder)) {\n now = new Date();\n fileHour = utils.getStringCurrentHour(now);\n\n utils.log(\"WriteFileManager\",\"getting name\");\n\n //Implementació del punt 2 del document: 'FunctionalDesign_WriteFileManager'\n filename = createFileName(now);\n resultsFile = new File(resultsFolder, filename);\n utils.log(\"WriteFileManager\",\"name = \"+filename);\n\n utils.log(\"WriteFileManager\",\"exist \"+filename+\"?\");\n id = WFMmodel.existFile(filename);\n utils.log(\"WriteFileManager\",\"id = \"+id);\n\n if (id == -1) {\n //if not exists, add to db and create it in the folder\n utils.log(\"WriteFileManager\", \"inserting newfile = \" + filename);\n createFile(resultsFile);\n utils.log(\"WriteFileManager\", \"inserting newfile = \" + filename);\n WFMmodel.insert_newFile(now, fileHour, filename);\n utils.log(\"WriteFileManager\", \"success inserting\");\n\n status = writeTask(resultsFile);\n }\n else{\n //if the file exists, check if is full\n if (!isFull(resultsFile)) {\n status = writeTask(resultsFile);\n }\n else{\n //if is full, mark the file as done and rewrite the filename calling himself recursively .\n utils.log(\"WriteFileManager\",\"Set as done\");\n WFMmodel.done(id);\n success = writeFile();\n }\n }\n\n switch (status){\n case 0:\n success = false;\n break;\n\n case 1:\n success = true;\n break;\n\n case 2:\n WFMmodel.done(id);\n success = writeFile();\n break;\n }\n }\n\n return success;\n }", "title": "" }, { "docid": "1c6cb757ec45043176b2059b4ce00c85", "score": "0.63558906", "text": "public abstract boolean write(Object data);", "title": "" }, { "docid": "3005c6ff0738ef58b368c0dc0e84aac1", "score": "0.6355842", "text": "void write()\n {\n }", "title": "" }, { "docid": "69dd6be92804875d595e513b03bc0573", "score": "0.6305936", "text": "private static void recordSuccess() {\n System.out.println(\"SUCCESS\");\n status = 0;\n return;\n }", "title": "" }, { "docid": "48835360c7c1f2e25d8f5d37b1f9e060", "score": "0.62635523", "text": "void writeData() throws Exception;", "title": "" }, { "docid": "3ca124d7afb65508a1df9c693a9d7e98", "score": "0.6144715", "text": "public void StartWrite() {\n\t\t\t\n\t}", "title": "" }, { "docid": "265b08ab4734ba06fb6a954322557d88", "score": "0.6128898", "text": "public int write(Buffer buffer, int len) throws NotImplementedException,\n AuthenticationFailedException, AuthorizationFailedException,\n PermissionDeniedException, BadParameterException,\n IncorrectStateException, TimeoutException, NoSuccessException,\n SagaIOException;", "title": "" }, { "docid": "bf51f1d1c1e19e21ad0cd52467dd47bb", "score": "0.6075591", "text": "@Override\r\n\tpublic void writeToFile() {\n\r\n\t}", "title": "" }, { "docid": "2a285b5277beb5a8c575cb6e137802fd", "score": "0.60720444", "text": "public boolean\n writesWorking()\n {\n return false;\n }", "title": "" }, { "docid": "400f36c2c76eae27ef357f96867c3260", "score": "0.6023568", "text": "private boolean write() {\r\n \t\ttry {\r\n \t\t\tFileOutputStream fos = new FileOutputStream(filename);\r\n \t\t\tFileLock fl = fos.getChannel().lock();//block until lock is acquired.\r\n \t\t if(fl != null) {\r\n \t\t \tObjectOutput out = new ObjectOutputStream(fos);\r\n \t\t \tout.writeObject(properties);\r\n \t\t\t\tfl.release();\r\n \t\t \tout.close();\r\n \t\t } else {\r\n \t\t \tSystem.err.println(\"Warning, couldn't get file lock for writing!\");\r\n \t\t }\r\n \t\t fos.close();\r\n \t\t\treturn (fl != null);\r\n \r\n \t\t} catch (IOException e) {\r\n \t\t\te.printStackTrace();\r\n \t\t}\r\n \t\treturn false;\r\n \t}", "title": "" }, { "docid": "dbff293d586d3d02b07097a5464a3d2b", "score": "0.6017671", "text": "public void testWriteToFile() throws Exception {\n //We could do some tests with Easy Mocks library but that seems unnecessary effort with such trivial method.\n }", "title": "" }, { "docid": "b4138a9a78459a1f0bb71ed119480a1d", "score": "0.597201", "text": "@Override\n\tpublic boolean writePacket(byte[] packet) throws IOException {\n\t\treturn true;\n\t}", "title": "" }, { "docid": "e5040711cd2a69d2bd7ae9ef38e4eb3c", "score": "0.594667", "text": "boolean canWrite();", "title": "" }, { "docid": "f7307e37bd9c4ed00fb95dd21592d0d9", "score": "0.5933583", "text": "private void writeBack(boolean bool) {\r\n if (bool) {\r\n print(\"Cadastro realizado com sucesso!\");\r\n } else {\r\n print(\"Ops houve um problema, seu cadastro não foi finalizado!\");\r\n }\r\n }", "title": "" }, { "docid": "89514221f7bf96586bc855a322eb56ed", "score": "0.59331816", "text": "private void validateFileWritten() throws IOException, FileSystemException {\n \n // check that the command records the correct info.\n assertFalse(\"file command reports as failed\",fileCommand.failed());\n final FileName destination = fileCommand.getDestination();\n assertNotNull(\"no destination\",destination);\n assertEquals(\"reported destination different to what's on disk\",saveDir.list()[0],destination.getBaseName());\n assertEquals(\"destination filename differs to source filename\"\n ,fileFO.getName().getBaseName()\n ,destination.getBaseName()\n );\n // check the content\n assertTrue(\"content differs\",IOUtils.contentEquals(\n fileFO.getContent().getInputStream()\n ,vfs.resolveFile(destination.getURI()).getContent().getInputStream()\n ));\n }", "title": "" }, { "docid": "7e5fbfa887d1f50fd23a29c5eae457e8", "score": "0.5927184", "text": "public boolean write(byte[] buffer) {\r\n try {\r\n mmOutStream.write(buffer);\r\n Log.d(MainActivity.TAG, \"sending to device: \"+ Converter.bytesToString(buffer));\r\n return true;\r\n } catch (IOException e) {\r\n Log.d(MainActivity.TAG, \"Exception during write\", e);\r\n return false;\r\n }\r\n }", "title": "" }, { "docid": "cc6228676d93315d993b77068bbe10e9", "score": "0.59072906", "text": "@Override\n public boolean\n writesCheckedIn()\n {\n return true;\n }", "title": "" }, { "docid": "cae6f538ead62ae1101f1503381d116f", "score": "0.5906664", "text": "public abstract boolean getWrite();", "title": "" }, { "docid": "25ddea836e91a349644e879d86b3b3e1", "score": "0.5879284", "text": "@Test\n public void writeNonEmptyFile() throws Exception {\n long len = 0;\n for (int i = 0; i < 128; i++) {\n mChannel.writeInbound(buildWriteRequest(len, PACKET_SIZE));\n len += PACKET_SIZE;\n }\n // EOF.\n mChannel.writeInbound(buildWriteRequest(len, 0));\n\n Object writeResponse = waitForResponse(mChannel);\n checkWriteResponse(writeResponse, PStatus.OK);\n checkFileContent(len);\n }", "title": "" }, { "docid": "197c2f8deadc78efe40a49bf3746900e", "score": "0.5835305", "text": "@Override\r\n\tpublic boolean write(IoBuffer buffer) {\n\t\twriteLong(buffer, this.beastId);\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "061153603aa7282eaa56d9af4bdb72ee", "score": "0.5819789", "text": "public boolean write(String str)\n \t{\n if (this.useAsciiFile())\n {\n try\n {\n\t \t m_outFile.write(str);\n }\n \t catch(Exception exc)\n\t \t {\n \t\t\t com.ing.connector.Registrar.logError(getClass().getName() + \" errored writing to \" + m_fileName + \" : \" + exc);\n return false;\n }\n }\n else\n {\n // db write may go here\n return false;\n }\n\n return true;\n }", "title": "" }, { "docid": "9b1c4fd5f19a4b15592bb97679b15a31", "score": "0.5808954", "text": "public boolean writeTransaction(Transaction transaction) throws FileNotFoundException;", "title": "" }, { "docid": "4fcac8837d1285dd54669fe77a331b1d", "score": "0.5797986", "text": "@Override\r\n\tpublic void writeFile(String filename) {\n\r\n\t}", "title": "" }, { "docid": "c1fb83b97e821f57911368b395cba800", "score": "0.57971334", "text": "@Override\r\n public int write(String path, byte[] data, int bytes, StandardOpenOption openOption) throws RemoteException {\r\n try {\r\n if (data.length > bytes)\r\n data = Arrays.copyOf(data, bytes);\r\n\r\n try {\r\n Files.write(Paths.get(\"store/\" + path), data, openOption);\r\n } catch (IOException e) {\r\n createFile(\"store\", path);\r\n Files.write(Paths.get(\"store/\" + path), data, StandardOpenOption.APPEND);\r\n }\r\n\r\n return data.length;\r\n } catch (Exception e) {\r\n System.err.println(e.toString());\r\n return -1;\r\n }\r\n }", "title": "" }, { "docid": "39fb2043f022a4a73c92fc6993b27d46", "score": "0.5782595", "text": "public boolean write(TSRecord record) throws IOException, WriteProcessException {\n if (checkIsDeltaExist(record)) {\n groupWriters.get(record.deltaObjectId).write(record.time, record.dataPointList);\n ++recordCount;\n return checkMemorySize();\n }\n\treturn false;\n }", "title": "" }, { "docid": "641d56eb8ab32c15875d2a75ff6ff3a5", "score": "0.57796955", "text": "public void writeFile()\n {\n try\n {\n FileWriter writeFile = new FileWriter(\"src/main/java/oop/exercises/ex45/\"+response);\n writeFile.write(outputFile);\n writeFile.close();\n }\n catch(Exception w)\n {\n System.out.println(\"There was an error.\");\n }\n\n }", "title": "" }, { "docid": "f10c74f994f4e59098f26e09de6c3af0", "score": "0.57717913", "text": "void handleWritingIOException( IOException cause );", "title": "" }, { "docid": "c32a9b86061823457aacc5514a05a5af", "score": "0.57695264", "text": "public abstract void commit() throws IOException;", "title": "" }, { "docid": "45fbcc39afc64dae632ac886b05f5da9", "score": "0.5766273", "text": "private void writeData() {\r\n \t\tinsertDataQuery += \";\";\r\n \t\ttry {\r\n \t\t\tConnection connection = getConnection();\r\n \t\t\tStatement statement = connection.createStatement();\r\n \t\t\tString query = \"use \" + databaseName;\r\n \t\t\tstatement.execute(query);\r\n \t\t\t\r\n \t\t\tstatement.execute(insertDataQuery);\r\n \t\t\tSystem.out.println(\"Write data successful!\");\r\n \t\t\t\r\n \t\t\tcloseConnection(connection);\t\r\n \t\t} catch (Exception e) {\r\n \t\t\te.printStackTrace();\r\n \t\t}\r\n \t}", "title": "" }, { "docid": "f8516e57232e14b638edc03821288c42", "score": "0.5759313", "text": "public void testWrites() throws IOException,InterruptedException {\n try {\n\n // write a hello file\n File file = new File(mpoint, \"hello.txt\");\n FileOutputStream f = new FileOutputStream(file);\n String s = \"hello \";\n f.write(s.getBytes());\n s = \"world\";\n f.write(s.getBytes());\n f.flush();\n f.close();\n\n\n try {\n Thread.sleep(1000);\n } catch(Exception e) {\n }\n\n // check the file exists.\n Path myPath = new Path(\"/hello.txt\");\n assertTrue(fileSys.exists(myPath));\n\n // check the data is ok\n FileInputStream fi = new FileInputStream(new File(mpoint, \"hello.txt\"));\n byte b[] = new byte[12];\n int length = fi.read(b,0,12);\n assertTrue(length > 0);\n String s2 = new String( b, 0, length);\n assertEquals(\"hello world\", s2);\n } catch(Exception e) {\n e.printStackTrace();\n } finally {\n }\n }", "title": "" }, { "docid": "79207f8733ea233aae4b62d4ed7ef15b", "score": "0.5754276", "text": "@Override\n public void success() {\n }", "title": "" }, { "docid": "d18b0bdd0ff5fa6bc9285e4ced3f9b36", "score": "0.573616", "text": "public int write(Sequence sequence) throws IOException;", "title": "" }, { "docid": "ee14fb5bb64a1c5f870f30373ebf0a1f", "score": "0.5735029", "text": "public void showWriteError() {\n System.out.println(\"Error in writing file, cancelling write process...\");\n }", "title": "" }, { "docid": "589f1320997f416ffd23f09b265b4edc", "score": "0.5722796", "text": "public static boolean close() throws IOException, WriteException\n\t{\n\t\tboolean returnStatus=false;\n\t\tworkLog.write();\n\t\tworkLog.close();\n\t\tnum = 1;\n\t\tstep=1;\n\t\t\n\t\tif(failCounter==0) returnStatus= true;\n\t\treturn returnStatus;\n\t\t\n\t}", "title": "" }, { "docid": "bfde516f9af55ad09519cdacfb2edf35", "score": "0.5720136", "text": "private String writeToFile(SingleRecord result) throws NullPointerException, IOException {\n var path = result.outputPath;\n var pathWithoutFilename = path.substring(0, path.lastIndexOf(File.separator));\n\n File directory = new File(this.writeDirectory + pathWithoutFilename);\n if (!directory.exists() && !directory.mkdirs()) {\n throw new RuntimeException(\"Failed to create parent directories at \" + this.writeDirectory + pathWithoutFilename);\n }\n\n File file = new File(this.writeDirectory + path);\n FileWriter fw = new FileWriter(file.getAbsoluteFile());\n fw.write(result.payload);\n fw.flush();\n fw.close();\n\n JSONObject link = new JSONObject();\n link.put(\"dir\", file.getAbsolutePath());\n\n if (this.writeLink != null && !this.writeLink.equals(\"\")) {\n link.put(\"link\", this.writeLink + path);\n }\n return link.toString();\n }", "title": "" }, { "docid": "c1427e36b89eea0ae7fa9981a466b983", "score": "0.5713388", "text": "public boolean isWritePending() {\n return false;\n }", "title": "" }, { "docid": "61b4d4ee418b9d0db20a5b3bbf6f7336", "score": "0.57107776", "text": "public void commit() throws IOException;", "title": "" }, { "docid": "8523deeaffbf3d3888beb84078f4cba2", "score": "0.5709788", "text": "@Override\r\n\tpublic int write(BoardVO vo) {\n\t\treturn sqlSession.insert(\"Notice.write\", vo);\r\n\t}", "title": "" }, { "docid": "87a79a181b1dc738c99c817b673c1e37", "score": "0.5699685", "text": "@Test\n\tpublic void testWrite() throws Exception{\n\t}", "title": "" }, { "docid": "6de5fa31278ebd52baebb0f2c42fe912", "score": "0.5694554", "text": "private void write(byte[] buffer) {\n\n\t\t\tLog.e(TAG, \"Writing...\");\n\n\t\t\ttry {\n\t\t\t\tmyOutStream.write(buffer);\n\n\t\t\t} catch (IOException e) {\n\t\t\t\tLog.e(TAG, \"Exception during write\", e);\n\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "9de66e9d2e9d57de67be9d1940845201", "score": "0.568786", "text": "@Test\n public void writeEmptyFile() throws Exception {\n mChannel.writeInbound(buildWriteRequest(0, 0));\n\n Object writeResponse = waitForResponse(mChannel);\n checkWriteResponse(writeResponse, PStatus.OK);\n }", "title": "" }, { "docid": "16a6d64fd543922ddd5fd2669936f225", "score": "0.5686977", "text": "@Override\n\tpublic boolean commit() throws Exception {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "ea92162c437314e33f05b71ea55a5218", "score": "0.56848085", "text": "public abstract ByteArrayOutputStream write() throws Exception;", "title": "" }, { "docid": "3e2e2a86d4893a4648fc923d21d017cc", "score": "0.5684639", "text": "protected abstract boolean isNeedWriteBack();", "title": "" }, { "docid": "6ea41181832355adea5a38ae9c8e38ee", "score": "0.5677828", "text": "private boolean writeToFile() {\n\t\ttry (Writer writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(this.tofile), \"utf-8\"))) {\n\t\t writer.write(this.xmlContent.toString());\n\t\t return true;\n\t\t} catch (IOException ex) {\n\t\t\tSystem.out.println(ex.getMessage());\n\t\t\treturn false;\n\t\t} \n\t}", "title": "" }, { "docid": "e751ed2c20d90837aeaec5a79004c8e1", "score": "0.56622785", "text": "private boolean allowedToWrite() {return true;\n // return ((devModeR == DcMotorController.DeviceMode.WRITE_ONLY) && (devModeL == DcMotorController.DeviceMode.WRITE_ONLY) && (devModeF == DcMotorController.DeviceMode.WRITE_ONLY));\n }", "title": "" }, { "docid": "4d6d9c79fb42b341ed30e4fdde2bf214", "score": "0.56579065", "text": "public abstract void write(Writer writer) throws IOException;", "title": "" }, { "docid": "709d6d8fcae7502171dcd1373cf6ceaf", "score": "0.56422585", "text": "@Test\n public void testWrite() {\n // Skipping this test as there is code coverage elsewhere.\n }", "title": "" }, { "docid": "a453630ca763a4b9c89dccd335c8c839", "score": "0.56235576", "text": "public boolean write(SubscriptionRecord record) {\n // query\n Query query = this\n .getSession()\n .createQuery(\n \"from SubscriptionRecord where type = :type and trigger = :trigger and runner = :runner and script = :script and filepath = :filepath and arguments = :arguments\");\n query.setParameter(\"type\", record.getType());\n query.setParameter(\"trigger\", record.getTrigger());\n query.setParameter(\"runner\", record.getRunner());\n query.setParameter(\"script\", record.getScript());\n query.setParameter(\"filepath\", record.getFilepath());\n query.setParameter(\"arguments\", record.getArguments());\n List<?> results = query.list();\n\n if (results.size() > 0) {\n return false;\n } else {\n create(record);\n sendSubscriptionNotifyMessage(String\n .valueOf(record.getIdentifier()));\n return true;\n }\n }", "title": "" }, { "docid": "93956a94791f9482542b1ef01cff134a", "score": "0.5621006", "text": "public abstract void writeSaveRecord(OutputStream out, String dataSourceId, String recordString, String recordId) throws Exception;", "title": "" }, { "docid": "6687b89b30d2a12fc6bc1d4479137845", "score": "0.56202", "text": "void handleWriteComplete(ChannelFuture future, boolean isSuccess, @Nullable Throwable cause)\n throws Exception {\n if (isSuccess) {\n logBuilder().responseFirstBytesTransferred();\n if (tryComplete(cause)) {\n if (cause == null) {\n final RequestLog requestLog = reqCtx.log()\n .getIfAvailable(RequestLogProperty.RESPONSE_CAUSE);\n if (requestLog != null) {\n cause = requestLog.responseCause();\n }\n }\n endLogRequestAndResponse(cause);\n maybeWriteAccessLog();\n }\n return;\n }\n\n fail(future.cause());\n // We do not send RST but close the channel because there's high chances that the channel\n // is not reusable if an exception was raised while writing to the channel.\n HttpServerHandler.CLOSE_ON_FAILURE.operationComplete(future);\n }", "title": "" }, { "docid": "c774b69b0163ad2b6ab6dd63ff2ffd2f", "score": "0.56191045", "text": "void write(Object value) throws Exception;", "title": "" }, { "docid": "432da35104fb337444e5711cc5a35170", "score": "0.5609074", "text": "protected void save(DataOutputStream os) { }", "title": "" }, { "docid": "1650323a18fe7768ae7879b375bac480", "score": "0.5607405", "text": "static boolean writeToFile(String fileName) {\n\t\t\n\t\treturn false;\n\t}", "title": "" }, { "docid": "c6948f75c95cd89e9160f0886ff2b142", "score": "0.55909455", "text": "@Override\n\tpublic void write(int b) {}", "title": "" }, { "docid": "79bdbe8734ff8a7078275af5254789be", "score": "0.5567498", "text": "public void write(byte[] buffer) {\n try {\n mmOutStream.write(buffer);\n\n } catch (IOException e) {\n //Log.e(TAG, \"Exception during write\", e);\n }\n \n String message = \"Data Successfully Sent !\";\n\t mmHandler.obtainMessage(MainActivity.MESSAGE_WRITE, -1, -1, message).sendToTarget();\n }", "title": "" }, { "docid": "6cecd03e69fa7df91c666b6fb567f1e5", "score": "0.5561039", "text": "public boolean writeFile(String text){\n boolean isSuccess = true;\n\n try {\n FileOutputStream fos = new FileOutputStream(mFileName);\n fos.write(text.getBytes());\n fos.close();\n } catch (IOException e) {\n isSuccess = false;\n e.printStackTrace();\n }\n\n return isSuccess;\n }", "title": "" }, { "docid": "4f870efced35ab529d608023b90a1647", "score": "0.5548661", "text": "@Override\n public long getBytesWritten() {\n return bytesWritten.get();\n }", "title": "" }, { "docid": "0a836d4455b368e174e7e016cd787096", "score": "0.55476665", "text": "protected abstract void prepareWrite(WritableByteChannel channel) throws Exception;", "title": "" }, { "docid": "b9a1746a24b2837a2c1b333b5030ed7b", "score": "0.5547316", "text": "public abstract void writeRecord(OutputStream out, Urn recordUrn) throws Exception;", "title": "" }, { "docid": "8ad56b68b887ff7b9e48e2e6f8246ca3", "score": "0.55414295", "text": "public abstract void writeToFile(String file_name) throws IOException;", "title": "" }, { "docid": "711df7f76f52bf71a58b71cfb040aa7e", "score": "0.55324405", "text": "private void continueWrite(Void a) {\n\t\t//System.out.println(\"LOG: Now writing back to client...\");\n\t\t\n\t\ttry {\n\t\t\tbuff.position(0); // reset from last use\n\t\t\tint size = response.read(writeByteArr);\n\t\t\t\n\t\t\t// if size < 0, we reached the end of the stream\n\t\t\t// NOTE: SequenceInputStream does NOT appear to do unbroken reads across streams\n\t\t\tif(size < 0) {\n\t\t\t\tresponse.close();\n\t\t\t\tsetMode(Mode.DONE);\n\t\t\t\tcompleted(0,a);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t\n\t\t\tbuff.limit(size);\n\t\t\t\n\t\t\tbuff.put(writeByteArr,0,size);\n\t\t\tbuff.position(0); // reset buffer position\n\t\t\t\n\t\t\t//System.out.println(new String(buff.array(),0,size));\n\t\t\tas.write(buff, null, this);\n\t\t}\n\t\tcatch(Exception e) {\n\t\t\tSystem.out.println(\"ERROR: Input stream read failed.\\n\" + e.getMessage() + \"\\n\");\n\t\t\te.printStackTrace();\n\t\t\t// TODO: error mode needs to be set up\n\t\t\t//setMode(Mode.ERROR);\n\t\t\tsetMode(Mode.DONE);\n\t\t\tcompleted(0,a);\n\t\t}\n\t}", "title": "" }, { "docid": "58a71503aea3faf32b1c0a99a63d299c", "score": "0.55283827", "text": "public void write(){\n throw new UnsupportedOperationException(\"write() is not supported on a read operation\");\n }", "title": "" }, { "docid": "20a18135aa85cb98dc02ef8248b535db", "score": "0.552337", "text": "protected int handleWrite(int a0,int a1, int a2)\r\n {\r\n if (fileDescriptorsUsed.contains(new Integer(a0)))\r\n {\r\n Lib.debug(dbgProcess, \"handleWrite trying to write to file descriptor \" + a0);\r\n\r\n // verify the file descriptor id is legal\r\n if ( a0 < 0 || a0 > 17 )\r\n {\r\n Lib.debug(dbgProcess, \"NetProcess::handleWrite: illegal file descriptor\");\r\n return -1;\r\n }\r\n\r\n OpenFile fd = fileDescriptorTable[a0];\r\n if( fd == null )\r\n {\r\n Lib.debug(dbgProcess, \"NetProcess::handleWrite: file descriptor \" + a0 + \" is null\");\r\n return -1;\r\n }\r\n\r\n byte buf [] = new byte[a2];\r\n int offset = 0;\r\n int bytesRead = readVirtualMemory(a1,buf);\r\n if(bytesRead != a2 )\r\n {\r\n Lib.debug(dbgProcess, \"NetProcess::handleWrite: virual memory read less bytes than excepted \" +bytesRead);\r\n return -1;\r\n }\r\n // write to the network\r\n Connection ch = (Connection)fd;\r\n int bytesWritten = ch.write(buf,offset,a2);\r\n if (bytesWritten > 0)\r\n {\r\n System.out.println(\"Sent \"+ bytesWritten + \" bytes, to node \" + ch.destId + \" port \" + ch.destPort);\r\n }\r\n\r\n return bytesWritten;\r\n }\r\n else return super.handleRead(a0, a1, a2);\r\n }", "title": "" }, { "docid": "facf0cd76d2a9c9992d11b29280c7e7a", "score": "0.5520017", "text": "public void questionHasAlreadyBeenPlayed(){\n writer.print(\"The question has already been played\\n\");\n writer.flush();\n }", "title": "" }, { "docid": "b984a7d1c50a3c9c9b5bfac00c45369b", "score": "0.5507104", "text": "public Long getWrite() {\n return write;\n }", "title": "" }, { "docid": "566bf73229ec87ade6d39429f43b45be", "score": "0.550623", "text": "public synchronized void writeAndWait(ByteBuffer buffer, FileChannel outputChannel, long writePosition) throws Exception {\n while (currentStatus != STATUS.FREE) {\r\n // System.out.println(writePosition + \"have to wait\");\r\n this.wait();\r\n\r\n }\r\n\r\n this.buffer = buffer;\r\n channel = outputChannel;\r\n position = writePosition;\r\n\r\n currentStatus = STATUS.WRITING_IN_PROGRESS;\r\n // System.out.println(writePosition + \" request write\");\r\n notifyAll();\r\n // System.out.println(writePosition + \" wait to return\");\r\n waitForWriting();\r\n // System.out.println(writePosition + \"return\");\r\n }", "title": "" }, { "docid": "42ef67ccd1e563297aef2a7ed8dd5589", "score": "0.5482408", "text": "public static boolean writeFile(String informationToSave) {\n createFile();\n try (FileWriter fileWriter = new FileWriter(file, true);\n PrintWriter printWriter = new PrintWriter(fileWriter)) {\n printWriter.println(informationToSave);\n printWriter.close();\n try {\n fileWriter.close();\n } catch (IOException ex) {\n Logger.getLogger(Object.class.getName()).log(Level.SEVERE, null, ex);\n answer = false;\n }\n } catch (IOException ex) {\n Logger.getLogger(Object.class.getName()).log(Level.SEVERE, null, ex);\n answer = false;\n }\n return answer;\n }", "title": "" }, { "docid": "a086badc77d23e293ae0e9d09caf1e37", "score": "0.54686946", "text": "synchronized long flush() throws PersistitIOException {\n _persistit.checkFatal();\n final long address = _writeBufferAddress;\n if (address != Long.MAX_VALUE && _writeBuffer != null) {\n try {\n if (_writeBuffer.position() > 0) {\n final FileChannel channel = getFileChannel(address);\n Debug.$assert0.t(channel.size() == addressToOffset(address));\n final int limit = _writeBuffer.limit();\n final int position = _writeBuffer.position();\n \n _writeBuffer.flip();\n final int size = _writeBuffer.remaining();\n boolean writeComplete = false;\n try {\n int written = 0;\n while (written < size) {\n written += channel.write(_writeBuffer, (_writeBufferAddress + _writeBuffer.position())\n % _blockSize);\n }\n writeComplete = true;\n assert written == size;\n _writeBufferAddress += size;\n if (_writeBuffer.capacity() != _writeBufferSize) {\n _writeBuffer = ByteBuffer.allocate(_writeBufferSize);\n } else {\n _writeBuffer.clear();\n }\n final long remaining = _blockSize - (_writeBufferAddress % _blockSize);\n if (remaining < _writeBuffer.limit()) {\n _writeBuffer.limit((int) remaining);\n }\n } finally {\n if (!writeComplete) {\n // If the buffer didn't get written, perhaps due to\n // an interrupt, then restore its position and limit\n // to enable a retry.\n _writeBuffer.limit(limit).position(position);\n }\n }\n _persistit.getIOMeter().chargeFlushJournal(size, address);\n return _writeBufferAddress;\n }\n } catch (IOException e) {\n throw new PersistitIOException(\"IOException while writing to file \" + addressToFile(address), e);\n }\n }\n return Long.MAX_VALUE;\n }", "title": "" }, { "docid": "b05f08a2fbfe077771c126147b6132e1", "score": "0.54529274", "text": "public boolean\n writesCheckedIn()\n {\n return false;\n }", "title": "" }, { "docid": "786ced4d2f2dedb17a28a3a31550452f", "score": "0.5450679", "text": "public static boolean smazatVse() {\n\t\ttry (FileWriter file = new FileWriter(FILE_PATH, false)) {\n\t\t\treturn true;\n\t\t} \n\t\tcatch (IOException e) {\n\t\t\tSystem.out.print(\"Chyba. Nepodarilo se smazat databazi.\\n\");\n\t\t\treturn false;\n\t\t} \n\t}", "title": "" }, { "docid": "1cc66be79e8f675d0c18da759e2bb3d1", "score": "0.544981", "text": "public synchronized boolean tryLockWrite() {\n\t\tif (!reader.isEmpty() || (!writer.isEmpty() && !hasWrite())) {\n\t\t\treturn false;\n\t\t}\n\t\tif (!writer.containsKey(Thread.currentThread().getId())) {\n\t\t\twriter.put(Thread.currentThread().getId(), 1);\n\t\t}\n\t\telse {\n\t\t\twriter.put(Thread.currentThread().getId(), writer.get(Thread.currentThread().getId())+1);\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "4e1db604277ef638c586a45d2122f728", "score": "0.5446838", "text": "@Override\n\tpublic boolean movieWrite(MovieModel movieModel) {\n\t\tsqlSessionTemplate.insert(\"movie.movieWrite\", movieModel);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "b6c65aabb805901096c38324dd548bdf", "score": "0.544466", "text": "private void tryWriteChunk(IAsyncChunkSaver chunkSaver) throws InterruptedException {\n if (!chunkSaver.c()) { // PAIL: WriteNextIO() -> Returns if the write was unsuccessful\n this.getServant().incrementSavedChunkCounter(); // Port\n\n if (PaperConfig.enableFileIOThreadSleep) Thread.sleep(this.getServant().isWaitingFinish() ? 0L : 2L); // Paper - Add toggle\n } else {\n chunkSaverQueue.add(chunkSaver);\n }\n }", "title": "" }, { "docid": "7b689f1b4052dc93bc35101aeaa76777", "score": "0.54417056", "text": "@Test\n public void testWriteStudentRecords() {\n \tSortedList<Student> students = new SortedList<Student>();\n students.add(new Student(\"Zahir\", \"King\", \"zking\", \"orci.Donec@ametmassaQuisque.com\", hashPW, 15));\n //Assumption that you are using a hash of \"pw\" stored in hashPW\n \n try {\n StudentRecordIO.writeStudentRecords(\"/home/sesmith5/actual_student_records.txt\", students);\n fail(\"Attempted to write to a directory location that doesn't exist or without the appropriate permissions and the write happened.\");\n } catch (IOException e) {\n assertEquals(\"/home/sesmith5/actual_student_records.txt (Permission denied)\", e.getMessage());\n //The actual error message on Jenkins!\n }\n }", "title": "" }, { "docid": "c3239e22cdd944a9644677722cf4dfb4", "score": "0.54406804", "text": "private void WriteTest() throws Exception {\n\n int j = 0;\n Transaction trans = null;\n int transID = 0;\n byte[] payload;\n int appID;\n appID = master.store.getNextApplicationID();\n master.appIDArr[appNum] = appID;\n try {\n for (j = 0; j < TestTransactionStore.maxRecPerApp; j++) {\n payload = new byte[appNum * j + 1];\n trans = new Transaction(master.transProc, master.transMod,\n j,\n \"Feature \" + j,\n \"Description \" + j,\n payload);\n transID = master.store.reserve(appID, trans);\n trans.setTransactionID(transID);\n master.store.addTransaction(trans);\n master.transVector[appNum][j] = trans;\n }\n } catch (IOException e) {\n if (appNum == 0 && j == 0) {\n throw e;\n } else {\n master.maxNumOfApp = appNum;\n }\n }\n // addTransaction without reserve should throw exception\n boolean exc = false;\n try {\n trans = new Transaction(master.transProc, master.transMod,\n j,\n \"Feature \" + j,\n \"Description \" + j,\n null);\n trans.setTransactionID(transID + 1000);\n master.store.addTransaction(trans);\n } catch (IllegalStateException e) {\n exc = true;\n }\n assertTrue(\"addTransaction without reserve\", exc);\n }", "title": "" }, { "docid": "6cff63324277a960eea6e9bb75e7c38d", "score": "0.54405326", "text": "@Override\n protected void onHisWrite(HDict rec, HHisItem[] items) {\n }", "title": "" }, { "docid": "93ec160becf81459e342869e8b7e540e", "score": "0.5436732", "text": "private void createAndWrite(String message, File targetFile) {\n try {\n targetFile.createNewFile();\n //write func ekle\n } catch (IOException e) {\n e.printStackTrace();\n System.out.println(\"error in createandwritefunc\");\n }\n\n }", "title": "" }, { "docid": "239b75a799a9ba329dd9155d84b2d2e3", "score": "0.5426289", "text": "public void write(byte[] buffer) {\n try {\n mmOutStream.write(buffer);\n } catch (IOException e) {\n Log.e(\"aa\", \"Exception during write\", e);\n }\n }", "title": "" }, { "docid": "4e6efabeb59907b1464941ffe8dbb29a", "score": "0.54259235", "text": "public void writing()\r\n\t{\r\n\t\tSystem.out.println(\"im writing in \"+name);\r\n\t\t\r\n\t}", "title": "" }, { "docid": "1c0e16c72e801571a5172cca447dbaaf", "score": "0.54220325", "text": "public void writeDBAfterGame() {\n\t\t\tDB_GameStat stats= new DB_GameStat(pm, rm, this);\n\t\ttry {\n\t\t\tdb.CreateTable();\n\t\t\tdb.insertInDB(stats);\n\n\t\t\tSystem.out.println(\"Successful to write to database.\");\n\n\t\t} catch(Exception e) {\n\t\t\tSystem.out.println(\"Unable to write to database.\");\n\t\t}\n\t}", "title": "" }, { "docid": "26e5f0523977b25dd1c7392587e84d21", "score": "0.54215187", "text": "@Override\n\tpublic void write(int b) throws IOException {\n\t}", "title": "" }, { "docid": "71652073622e514f3c9f6db4d5d1403b", "score": "0.54197615", "text": "public void storeFile(BufferedReader br, OutputStreamWriter osw, String pathname)throws Exception{\n \tFileWriter fw = null;\n \ttry {\n \t\tfw = new FileWriter(pathname);\n \t\tString s = br.readLine();\n \t\twhile(s != null) {\n \t\t\tfw.write(s+\"\\n\");\n \t\t\ts = br.readLine();\n\t\t\t\tif(s.equals(\"end\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n \t\t}\n \t\tfw.close();\n \t\tosw.write(\"HTTP/1.0 201 created\\n\\n\");\n \t\t\n \t\tlogEntry(\"logfile.txt\", \"write \"+pathname);\n \t\t\n \t\tosw.flush();\n \t}catch(Exception e) {\n \t\tosw.write(\"HTTP/1.0 500 Internal Server Error!\\n\\n\");\n \t\tosw.flush();\n \t}\n \tSystem.out.println(pathname + \" saved\");\n }", "title": "" }, { "docid": "418744d7e5ab1965753dc6a3e8e87fb0", "score": "0.5418023", "text": "protected void writeHeader() throws Exception {}", "title": "" }, { "docid": "ab6496be6461a0a878fcf748c2370a09", "score": "0.5402304", "text": "public boolean writeFile(String filename, byte[] content) {\n File newFile = new File(baseDir, filename);\n Log.i(TAG, \"About to write to \" + newFile.getAbsolutePath());\n try {\n FileOutputStream out = new FileOutputStream(newFile);\n out.write(content);\n out.close();\n } catch (IOException e) {\n Log.e(TAG, \"Cannot write file \" + filename, e);\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "92511a65673f668de1f63ee3a0efeec4", "score": "0.5401399", "text": "public abstract void writeTo(StreamOutput out) throws IOException;", "title": "" }, { "docid": "98ec8d69ad4b34b8783b4b796d7bf616", "score": "0.53993225", "text": "public void writeFile() {\r\n\t\t\r\n\t\t//if output folder isn't there, create it now\r\n\t\tFile outputFolder = new File(this.filepath);\r\n\t\tif (!outputFolder.exists() || !outputFolder.isDirectory()) {\r\n\t\t\toutputFolder.mkdir();\r\n\t\t}\t\t\r\n\t\t\r\n\t\tString writePath = null;\r\n\t\twritePath = this.filepath + this.filename;\r\n\t\t\r\n\t\tFile outputFile = new File(writePath);\r\n\t\ttry {\r\n\t\t\tif (outputFile.exists()) { // we will accept one duplicate\r\n\t\t\t\tlog.error(\"File already exists. Creating file with '_duplicate' appended. Please review to confirm whether to include this\");\r\n\t\t\t\twritePath = this.filepath + this.filename + \"_duplicate\";\r\n\t\t\t\toutputFile = new File(writePath);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif (outputFile.createNewFile()) {\r\n\t\t\t\tFileWriter fw = new FileWriter(outputFile.getAbsoluteFile());\r\n\t\t\t\tBufferedWriter bw = new BufferedWriter(fw);\r\n\t\t\t\tbw.write(rdf.toString());\r\n\t\t\t\tbw.close();\r\n\t\t\t\t//log.info(\"DiSCO RDF saved to file \" + this.filename);\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tthrow new Exception(\"Create new file failed\");\r\n\t\t\t}\r\n\t\t} catch (Exception e){\r\n\t\t\tlog.error(\"Stopping process: Could not create new DiSCO output file \" + this.filename \r\n\t\t\t\t\t+ \". Please verify the output folder is accessible and that this file does not already exist.\", e);\r\n\t\t\tSystem.exit(0);\t\t\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "38d3d877537991783c851d4af4310b6c", "score": "0.5398774", "text": "@Override\r\n\tpublic int write(SDto dto) {\n\t\tSystem.out.println(\"dto:\"+dto);\r\n\t\tsqlSession.insert(\"write\", dto);\r\n\t\tint i = dto.getStore_seq();\r\n\t\tSystem.out.println(\"writeDto\" + i);\r\n\t\treturn i;\r\n\t}", "title": "" }, { "docid": "b6b0d7ac0abcb7c6f6a6389485d1ac57", "score": "0.5396715", "text": "public long IsWriteable() {\n return OCCwrapJavaJNI.OSD_File_IsWriteable(swigCPtr, this);\n }", "title": "" }, { "docid": "c69204e879b06745af688138c3ce3d9e", "score": "0.5394292", "text": "public void save() throws Throwable {\r\n\t\tsaveOldFileWithBakType(filePath);\r\n\r\n\t\tsaveAsSQLiteFile(filePath);\r\n\t\t\r\n\t\tDocumentMetadata documentMetadata = new DocumentMetadata(filePath);\r\n\t\tGlobals.getVaultDocument().setDocumentMetadata(documentMetadata);\r\n\t}", "title": "" }, { "docid": "2ad81b8079d881a51d8ce7f5505c10ce", "score": "0.53937393", "text": "@Override\n public void write() {\n File f = new File(this.path);\n if (f.exists()) {\n f.delete();\n }\n try {\n //Write the output to a file\n FileOutputStream fileOut = new FileOutputStream(f);\n workbook.write(fileOut);\n fileOut.close();\n workbook.close();\n } catch (FileNotFoundException ex) {\n JOptionPane.showMessageDialog(null, \"Couldnt write file: \" + this.path);\n } catch (IOException ex) {\n JOptionPane.showMessageDialog(null, \"Couldnt write file: \" + this.path);\n }\n\n }", "title": "" }, { "docid": "eed28261af01e9622729c15e665dc5f4", "score": "0.5389833", "text": "public void flush (){\r\n theWriter.flush(); \r\n\t}", "title": "" }, { "docid": "bb9ba386d46453d559bad9a81486d14e", "score": "0.53882796", "text": "private static void writeAccount(){\n String Login = account.getLogin().toLowerCase().replace(\"com\", \"txt\"); // replacing com with txt to update account\n Path path = Paths.get(Login.toLowerCase());\n\n try(ObjectOutputStream objectOutputStream = new ObjectOutputStream(Files.newOutputStream(path))){\n objectOutputStream.writeObject(account);\n }\n catch (IOException | SecurityException e) {\n System.out.println(e+\" In Write File method\");\n }\n }", "title": "" }, { "docid": "8d6f839148800c012614b9d20dbf29c2", "score": "0.538538", "text": "@Override\n\tprotected void writeResult() {\n\t\tBufferedReader from = null;\n\t\tBufferedWriter to = null;\n\t\t\n\t\tString line = null; \n\t\ttry {\n\t\t\tfrom = new BufferedReader(new FileReader(JOB_FILE));\n\t\t\tto = new BufferedWriter(new FileWriter(DONE_FILE));\n\t\t\twhile((line = from.readLine()) != null) {\n\t\t\t\tto.write(line+\"\\n\");\n\t\t\t}\n\t\t\tto.write(\"RESULT=\\n\");\n\t\t\tto.write(result);\n\t\t} catch (IOException e) {\n\t\t\tSystem.err.println(\"Error while trying to copy \"+JOB_FILE+\" to \"+DONE_FILE+\".\");\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif (from != null) from.close();\n\t\t\t\tif (to != null) to.close();\n\t\t\t} catch (IOException e) {\n\t\t\t\tSystem.err.println(\"Error while trying close FileStreams\");\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\t// rm $JOBS_DIR/02_working/$JOB_ID.job\n\t\tnew File(JOB_FILE).delete();\n\t}", "title": "" }, { "docid": "776bddb0f0c73dbae7ca5761609e2f13", "score": "0.5381942", "text": "private boolean checkStorageWrite()\n {\n if (ContextCompat.checkSelfPermission(ProfileActivity.this, Manifest.permission.WRITE_EXTERNAL_STORAGE)\n != PackageManager.PERMISSION_GRANTED) {\n\n if (ActivityCompat.shouldShowRequestPermissionRationale(ProfileActivity.this,\n Manifest.permission.WRITE_EXTERNAL_STORAGE)) {\n Toast.makeText(ProfileActivity.this,\n R.string.no_permisssion_write,\n Toast.LENGTH_LONG).show();\n //Ask Permission agina\n ActivityCompat.requestPermissions(ProfileActivity.this,\n new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE},\n MY_PERMISSIONS_REQUEST_WRITE);\n return false;\n }\n else{\n //asks permission\n ActivityCompat.requestPermissions(ProfileActivity.this,\n new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE},\n MY_PERMISSIONS_REQUEST_WRITE);\n return false;\n }\n }\n return true;\n }", "title": "" } ]
7bc736f1b552aff2ee0e26c6b890bbf2
The name of a locality loadbalancing policy. Valid values include ROUND_ROBIN and, for Java clients, LEAST_REQUEST. For information about these values, see the description of localityLbPolicy. Do not specify the same policy more than once for a backend. If you do, the configuration is rejected. Check the Name enum for the list of possible values. optional string name = 3373707;
[ { "docid": "c09567641e7b3fea3e329539323e11dd", "score": "0.0", "text": "boolean hasName();", "title": "" } ]
[ { "docid": "9b5f0bb462404091a5340e9ff6691ba9", "score": "0.58636856", "text": "public static QueuePolicyKind getByName(String name) {\r\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\r\n\t\t\tQueuePolicyKind result = VALUES_ARRAY[i];\r\n\t\t\tif (result.getName().equals(name)) {\r\n\t\t\t\treturn result;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "af7324654f2d5ffc4de8cc78a2f647e9", "score": "0.5748594", "text": "public void setPolicyName(String policyName)\n {\n \tthis.policyName = policyName;\n }", "title": "" }, { "docid": "82f0d3841d697025efdb7ded8f3d5a87", "score": "0.5687489", "text": "public SetNetworkPolicy setName(java.lang.String name) {\n if (!getSuppressPatternChecks()) {\n com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),\n \"Parameter name must conform to the pattern \" +\n \"^projects/[^/]+/locations/[^/]+/clusters/[^/]+$\");\n }\n this.name = name;\n return this;\n }", "title": "" }, { "docid": "8d19fb3f5df7d4f1edd613bef53d0654", "score": "0.56499434", "text": "public Set<Policy> policy(String name) {\n Factory factory = factories.get(name.toLowerCase(US));\n checkNotNull(factory, \"%s not found\", name);\n return factory.creator().apply(settings.config());\n }", "title": "" }, { "docid": "ab3ca0d0edb31e3bd9af85a0ff3974e0", "score": "0.5608647", "text": "public void set_policyname(String policyname) throws Exception{\n\t\tthis.policyname = policyname;\n\t}", "title": "" }, { "docid": "60d835c338cd66dedaae05d81d9a6da4", "score": "0.5586222", "text": "@Override\n\tpublic void setName(java.lang.String name) {\n\t\t_passwordPolicy.setName(name);\n\t}", "title": "" }, { "docid": "fbe1d611f26a8dc5640ea71f8d7740f9", "score": "0.55583876", "text": "public String setLName(String name){\n lName = name;\n return lName;\n }", "title": "" }, { "docid": "d5b7d807fb99caa3ccb82dd39817f53f", "score": "0.54333603", "text": "public String get_policyname() throws Exception {\n\t\treturn this.policyname;\n\t}", "title": "" }, { "docid": "8e79d9d326e6f9f915755539c268f573", "score": "0.5416792", "text": "@Override\n\tpublic java.lang.String getName() {\n\t\treturn _passwordPolicy.getName();\n\t}", "title": "" }, { "docid": "0b150473c95e185de20ca44c389da1f5", "score": "0.52942485", "text": "public String getPolicyName() {\n return policyName;\n }", "title": "" }, { "docid": "8251d2c6526853ae2bddabbbf910cc69", "score": "0.52692735", "text": "public SetMaintenancePolicy setName(java.lang.String name) {\n if (!getSuppressPatternChecks()) {\n com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),\n \"Parameter name must conform to the pattern \" +\n \"^projects/[^/]+/locations/[^/]+/clusters/[^/]+$\");\n }\n this.name = name;\n return this;\n }", "title": "" }, { "docid": "6e1d155fe1c5472d25d247987d91eca2", "score": "0.52656424", "text": "public String getPolicyName() \n {\n return policyName;\n }", "title": "" }, { "docid": "d73b15ae761e542e880696c4b39942f3", "score": "0.5191229", "text": "public void setLPName(String inpName)\n\t{\n\t\tLPName=inpName;\n\t}", "title": "" }, { "docid": "6cb17f93fe98ad41fdaace642334721d", "score": "0.5101901", "text": "void setName(org.hl7.fhir.String name);", "title": "" }, { "docid": "644860665a5778a5e6b44a1b46304a4b", "score": "0.5101444", "text": "public Rollback setName(java.lang.String name) {\n if (!getSuppressPatternChecks()) {\n com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),\n \"Parameter name must conform to the pattern \" +\n \"^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$\");\n }\n this.name = name;\n return this;\n }", "title": "" }, { "docid": "874874ecc598c390a3447fefd36a3fe6", "score": "0.5094342", "text": "public String getLPName()\n\t{\n\t\treturn LPName;\n\t}", "title": "" }, { "docid": "3b9f404dda05cbafdd116df95a45cd0a", "score": "0.4950334", "text": "org.hl7.fhir.String getName();", "title": "" }, { "docid": "3b9f404dda05cbafdd116df95a45cd0a", "score": "0.4950334", "text": "org.hl7.fhir.String getName();", "title": "" }, { "docid": "3b9f404dda05cbafdd116df95a45cd0a", "score": "0.4950334", "text": "org.hl7.fhir.String getName();", "title": "" }, { "docid": "3b9f404dda05cbafdd116df95a45cd0a", "score": "0.4950334", "text": "org.hl7.fhir.String getName();", "title": "" }, { "docid": "3b9f404dda05cbafdd116df95a45cd0a", "score": "0.4950334", "text": "org.hl7.fhir.String getName();", "title": "" }, { "docid": "c2368cf5b57d0673f4e2a85b7eab78d8", "score": "0.49323624", "text": "@Schema(required = true, description = \"Name of the operator, could match Content-Language\")\n @NotNull\n\n public String getName() {\n return name;\n }", "title": "" }, { "docid": "3232bd02d0cba7393dcd5cfd4f41bcec", "score": "0.4902143", "text": "KubevirtLoadBalancer loadBalancer(String name);", "title": "" }, { "docid": "2fb4e3f75213af9624184386016ae13f", "score": "0.4897469", "text": "@Override\n\tpublic String getName() {\n\t\treturn \"LaplaceLM \" + vocab_size;\n\t}", "title": "" }, { "docid": "b3fa3e01dd251627e4884492ace862c1", "score": "0.48918492", "text": "@JsonCreator\n public static AccountImmutabilityPolicyState fromString(String name) {\n return fromString(name, AccountImmutabilityPolicyState.class);\n }", "title": "" }, { "docid": "a8ca8e1657df9546a9f6d42bc52d640d", "score": "0.4889591", "text": "public void set_name(String name) {\n this._name = name;\n }", "title": "" }, { "docid": "818a93a3edd60f48d75595b3cb6ca321", "score": "0.487836", "text": "Lamp(String name) {\n this.name = name;\n }", "title": "" }, { "docid": "2d47d6a7933b25be07165334b4e2452b", "score": "0.4845645", "text": "public LegalHoldsUpdatePolicyBuilder withName(String name) {\n this._builder.withName(name);\n return this;\n }", "title": "" }, { "docid": "6359b9d4a9e0b48624e591d00543d1c9", "score": "0.47997266", "text": "@ApiModelProperty(example = \"m1.medium\", required = true, value = \"Human-readable name for the hardware\")\n @NotNull\n\n\n public String getName() {\n return name;\n }", "title": "" }, { "docid": "52dc6a9ea47487a6258b54fcf02e7bde", "score": "0.47979304", "text": "public void set_name(String _name) {\n this._name = _name;\n }", "title": "" }, { "docid": "7da2a48cff11bb5717e044cc2973d7aa", "score": "0.47681424", "text": "public void setLname(String lname) {\n this.lname = lname;\n }", "title": "" }, { "docid": "c7d50c466d3824d0c00df84818326f22", "score": "0.47347304", "text": "public void setLovType(String name) throws Exception;", "title": "" }, { "docid": "dac38b44d6dd2e23356182c5dc0748fa", "score": "0.4729996", "text": "LocalizableString name();", "title": "" }, { "docid": "49130556bdc33566a62b3de4d6f1abf3", "score": "0.47215423", "text": "@Override\n public void deleteLoadBalancerPolicy(String loadBalancerName, String policyName) {\n// try {\n// applicationLoadBalancerDelegator.getAmazonApplicationLoadBalancing().\n// DeleteLoadBalancerPolicyRequest deleteLoadBalancerPolicyRequest = new DeleteLoadBalancerPolicyRequest(loadBalancerName, policyName);\n// return applicationLoadBalancerDelegator.getAmazonApplicationLoadBalancing().deleteLoadBalancerPolicy(deleteLoadBalancerPolicyRequest).toString();\n// } catch (Exception e){\n// throw new RuntimeException(e.getMessage());\n// }\n throw new UnSupportedFeatureException(\"Feature is not Implemented\");\n }", "title": "" }, { "docid": "3d8ca2289921630cc35d0c7889ada990", "score": "0.47136113", "text": "public String getLname() {\n return lname;\n }", "title": "" }, { "docid": "c811751c14d077dbd97437d8a4b3ca64", "score": "0.47130856", "text": "public static PermissionLevel getByName(String name) {\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\n\t\t\tPermissionLevel result = VALUES_ARRAY[i];\n\t\t\tif (result.getName().equals(name)) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "b9d9b07eb732177e5643e8e1bfe09b55", "score": "0.4706686", "text": "public void setName(String name) {\n l.setName(name);\n }", "title": "" }, { "docid": "62bbfc0efe7cac54d046e019b451d7fb", "score": "0.4701943", "text": "public WlsDomainConfig(String name) {\n this.name = name;\n }", "title": "" }, { "docid": "ea612f3941cf2118e66b1efbcc8754b4", "score": "0.46993202", "text": "public void setLgcsAreaName(String lgcsAreaName) {\n this.lgcsAreaName = lgcsAreaName;\n }", "title": "" }, { "docid": "4fcc99107b561a53c29cc2ff2d8e5fe4", "score": "0.46956435", "text": "@ApiModelProperty(value = \"Name of tax rate\")\n /**\n * Name of tax rate\n *\n * @return name String\n */\n public String getName() {\n return name;\n }", "title": "" }, { "docid": "7095046be32e6a4a7baf85e1a21f0608", "score": "0.46863824", "text": "public void setLgname(String lgname) {\n this.lgname = lgname;\n }", "title": "" }, { "docid": "05f52e09c99ed57a67adf7134818016a", "score": "0.46839765", "text": "public String getLname() {\r\n return lname.get();\r\n }", "title": "" }, { "docid": "a73fe1cf2fbe7844d85d52ea1dec6f43", "score": "0.46712494", "text": "public static EmailPriority name(String name) {\n for (int i=0; i<priorities.length; i++) {\n if (priorities[i].getName().equals(name)) {\n return priorities[i];\n }\n }\n throw new IllegalArgumentException(\"Priority named '\" + name + \"' does not exist\");\n }", "title": "" }, { "docid": "782fcbf9a6d8a697c3c3ad72544031b7", "score": "0.46709037", "text": "public String getlName(){\n return this.lName;\n }", "title": "" }, { "docid": "eb25d9bcf4d73995bf727290681f3bc4", "score": "0.46619362", "text": "public void setLname(String lname) {\r\n this.lname.set(lname);\r\n }", "title": "" }, { "docid": "7b8b58d3edbcd2747a10d21099b8c116", "score": "0.46568438", "text": "public String getName(String name){\n return this.name ;\n }", "title": "" }, { "docid": "73e176ed94c9dfc58eeefccbdab74e51", "score": "0.46510273", "text": "public SetResourceLabels setName(java.lang.String name) {\n if (!getSuppressPatternChecks()) {\n com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),\n \"Parameter name must conform to the pattern \" +\n \"^projects/[^/]+/locations/[^/]+/clusters/[^/]+$\");\n }\n this.name = name;\n return this;\n }", "title": "" }, { "docid": "56f948f118f0d663f646e1db511adf53", "score": "0.4631827", "text": "public static QueuePolicyKind get(String literal) {\r\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\r\n\t\t\tQueuePolicyKind result = VALUES_ARRAY[i];\r\n\t\t\tif (result.toString().equals(literal)) {\r\n\t\t\t\treturn result;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "bc8bb8043c934f2a86cb8423a434393d", "score": "0.4623581", "text": "@Override\n public Response getThrottlingPolicyByName(String policyName, String policyLevel, String ifNoneMatch,\n MessageContext messageContext) {\n try {\n String tenantDomain = RestApiCommonUtil.getLoggedInUserTenantDomain();\n ThrottlingPolicyDTO.PolicyLevelEnum policyLevelEnum;\n Tier foundTier = null;\n\n if (StringUtils.isBlank(policyLevel)) {\n RestApiUtil.handleBadRequest(\"policyLevel cannot be empty\", log);\n }\n\n //retrieves the tier based on the given tier-level\n if (ThrottlingPolicyDTO.PolicyLevelEnum.SUBSCRIPTION.toString().equals(policyLevel)) {\n foundTier = APIUtil.getPolicyByName(PolicyConstants.POLICY_LEVEL_SUB, policyName, tenantDomain);\n policyLevelEnum = ThrottlingPolicyDTO.PolicyLevelEnum.SUBSCRIPTION;\n } else if (ThrottlingPolicyDTO.PolicyLevelEnum.API.toString().equals(policyLevel)) {\n Map<String, Tier> resourceTiersMap =\n APIUtil.getTiers(APIConstants.TIER_RESOURCE_TYPE, tenantDomain);\n policyLevelEnum = ThrottlingPolicyDTO.PolicyLevelEnum.API;\n if (resourceTiersMap != null) {\n foundTier = RestApiUtil.findTier(resourceTiersMap.values(), policyName);\n }\n } else {\n RestApiUtil.handleResourceNotFoundError(\n \"policyLevel should be one of \" + Arrays.toString(ThrottlingPolicyDTO.PolicyLevelEnum.values()),\n log);\n return null;\n }\n\n //returns if the tier is found, otherwise send 404\n if (foundTier != null) {\n return Response.ok()\n .entity(ThrottlingPolicyMappingUtil.fromTierToDTO(foundTier, policyLevelEnum.toString()))\n .build();\n } else {\n RestApiUtil.handleResourceNotFoundError(RestApiConstants.RESOURCE_THROTTLING_POLICY, policyName, log);\n }\n } catch (APIManagementException e) {\n String errorMessage = \"Error while retrieving throttling policies\";\n RestApiUtil.handleInternalServerError(errorMessage, e, log);\n }\n return null;\n }", "title": "" }, { "docid": "2800d5f9d0326188dc867e48aa4cf622", "score": "0.4618283", "text": "@Override\n\tpublic String getName() {\n\t\treturn \"Lluitador boig\";\n\t}", "title": "" }, { "docid": "1e49cd025af73322fed6fb9c77d857f2", "score": "0.4615014", "text": "public void setPolicyNameAndLimit(String policyName, long usageLimit) {\n\n this.policyName = policyName;\n this.usageLimit = usageLimit;\n msg(\"Policy name/limit changed to \" + policyName + \"/\" + usageLimit);\n\n }", "title": "" }, { "docid": "f38354012475e7638bd381304ad51580", "score": "0.46048346", "text": "public String getName() {\n\t\treturn this.weightageName;\n\t}", "title": "" }, { "docid": "efcf278d4230c9cd6e3489b41febe7ba", "score": "0.46016073", "text": "@Override\n public void changeLoadBalancerName(String loadBalancerName, String newLoadBalancerName) {\n throw new UnSupportedFeatureException(\"Feature is Not Implemented\");\n }", "title": "" }, { "docid": "e9fc2517c48ead688293357500428f2c", "score": "0.4591988", "text": "public void setPreferredName(String preferredName);", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45912856", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45912856", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.45898375", "text": "java.lang.String getName();", "title": "" } ]
1f4ed598118058334ce8c77a406726cc
Combine POST and PUT operations
[ { "docid": "ceef0cfbf3099a958687fc2910b6b9da", "score": "0.0", "text": "private User storeUser(User user) {\n if (user == null) {\n return user;\n }\n final User response = userService.store(user);\n notificationService.send(response.getId(), NotificationType.ALL, NotificationEventType.USER_SETTINGS);\n return response;\n }", "title": "" } ]
[ { "docid": "f0ebb93c37161d249a491702c8a5cf7d", "score": "0.64566857", "text": "PutRequest getRequestPut();", "title": "" }, { "docid": "cf7d018a6cfe993e93c923fb0401380e", "score": "0.640172", "text": "SimpleHttpResponse put(SimpleHttpRequest request, String requestBody) throws ClientProtocolException, IOException;", "title": "" }, { "docid": "cefe22b012137985d276925d680d5db2", "score": "0.62170255", "text": "@Override\n\tprotected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\t// Implementation is the same in this case\n\t\tdoPost(req, resp);\n\t}", "title": "" }, { "docid": "8ac43515e44c7e15c824184f1148ff15", "score": "0.59944665", "text": "private static RequestPostProcessor putMultipart() {\n return (MockHttpServletRequest request) -> {\r\n request.setMethod(\"PUT\");\r\n return request;\r\n };\r\n }", "title": "" }, { "docid": "0df6319e8e63c600ba531f88285a893d", "score": "0.5919238", "text": "@PUT\n @Consumes(MediaType.APPLICATION_JSON)\n @Produces(MediaType.APPLICATION_JSON)\n Response update(D entity);", "title": "" }, { "docid": "30f3bc585b8cd1137f85c2187cd7d044", "score": "0.59103626", "text": "public abstract AbstractResponse<TD> put(String path, TD data) throws UnirestException;", "title": "" }, { "docid": "22a15294515d621df6321f277b0dafc8", "score": "0.5823822", "text": "@Override\n protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\n Enumeration<String> params = req.getParameterNames();\n StringBuilder res = new StringBuilder();\n while(params.hasMoreElements()){\n String paramName = params.nextElement();\n res.append(\"Parameter Name - \").append(paramName).append(\", Value - \").append(req.getParameter(paramName)).append(\", \");\n }\n Response r = new Response(res.toString());\n// Response r = new Response(req.getAttribute(\"name\") + \" - \" + retrieveId(req));\n PrintWriter out = resp.getWriter();\n String json = new Gson().toJson(r);\n resp.setContentType(\"application/json\");\n resp.setCharacterEncoding(\"UTF-8\");\n resp.setStatus(400);\n out.print(json);\n out.flush();\n\n }", "title": "" }, { "docid": "b2df2c3fb0e5afc4bec7860283f4f2de", "score": "0.57787675", "text": "public Response<JSONObject> put(Body body) {\n return traverseAndPerform(Method.PUT, body, JSONObject.class);\n }", "title": "" }, { "docid": "301854a6e84b277592a6e526152413c3", "score": "0.5691311", "text": "public <T> Response<T> put(Body body, Class<T> returnType) {\n return traverseAndPerform(Method.PUT, body, returnType);\n }", "title": "" }, { "docid": "437ebce04cad8ebbddeb1536828f76d1", "score": "0.56586695", "text": "public WebRequest put() {\n\t\tmRequestMethod = METHOD_PUT;\n\t\treturn this;\n\t}", "title": "" }, { "docid": "062e6d375f0dea7316308f421d8efaf2", "score": "0.5640488", "text": "@Test\n public void testUpdateApplication() {\n StatusType statusTypeFirst = target.path(path).queryParam(\"id\", \"14\")\n .request(MediaType.APPLICATION_JSON_TYPE)\n .put(Entity.json(getJsonUpdate()))\n .getStatusInfo();\n assertThat(statusTypeFirst.getStatusCode(), is(204));\n\n // Let's go ahead and set the record back to the original state\n StatusType statusTypeSecond = target.path(path).queryParam(\"id\", \"14\")\n .request(MediaType.APPLICATION_JSON_TYPE)\n .put(Entity.json(getJsonValidate()))\n .getStatusInfo();\n assertThat(statusTypeSecond.getStatusCode(), is(204));\n }", "title": "" }, { "docid": "4d0f4acce17248e57a9e5c22467e924c", "score": "0.561149", "text": "protected abstract boolean internalHandlePost(String operation, T e, JSONObject query) throws Exception;", "title": "" }, { "docid": "2e253d8d81a49c29e52bddc23d1d5c51", "score": "0.56008786", "text": "void onPost(RestOperation op) {\n if (op.key != null) {\n onPostResource(op);\n return;\n }\n var obj = op.getJsonBody();\n if (obj == null) {\n op.setErrorBody(\"invalid body\");\n return;\n }\n // Set or validate primary key.\n var key = null;\n if (this.isPrimaryKeyGenerated) {\n key = generatePrimaryKey();\n obj.setString(this.primaryKeyField, key);\n op.setJsonBody(obj);\n } else {\n var keyElement = obj.get(this.primaryKeyField);\n if (keyElement == null) {\n op.setErrorBody(\"missing field: \" + this.primaryKeyField);\n return;\n }\n key = keyElement.type == JsonElement.STRING_TYPE ?\n keyElement.getAsString() : keyElement.toString();\n }\n // Allow specific worker to view and modify posted object.\n var error = validatePost(op, null);\n if (error != null) {\n op.setErrorBody(error);\n return;\n }\n // Set the fields \"storageKey\" and \"generation\" for StorageWorker.\n obj = op.getJsonBody();\n obj.setString(StorageWorker.STORAGE_KEY, op.path + \"/\" + key);\n obj.setInt(\"generation\", 1);\n\n // Post object to StorageWorker.\n var storageOp = new RestOperation();\n storageOp.method = Http.POST;\n storageOp.path = StorageWorker.WORKER_PATH;\n storageOp.setJsonBody(obj);\n sendOperation(storageOp);\n op.setFrom(storageOp);\n }", "title": "" }, { "docid": "9916a6fcc29065215eb39afec5965200", "score": "0.55665106", "text": "@PUT\n@Path(\"/\")\n@Consumes(MediaType.APPLICATION_JSON)\n@Produces(MediaType.TEXT_PLAIN)\npublic String updateCustomer(String customerData)\n{\n JsonObject customerObject = new JsonParser().parse(customerData).getAsJsonObject();\n//Read the values from the JSON object\n String customerID = customerObject.get(\"customerID\").getAsString();\n String customerCode = customerObject.get(\"customerCode\").getAsString();\n String customerName = customerObject.get(\"customerName\").getAsString();\n String customerAge = customerObject.get(\"customerAge\").getAsString();\n String customerAddress = customerObject.get(\"customerAddress\").getAsString();\n String output = customerObj.updateCustomer(customerID, customerCode, customerName, customerAge, customerAddress);\nreturn output;\n}", "title": "" }, { "docid": "b49248868b4544f7dd72e816c8f63dd4", "score": "0.55566835", "text": "<REQUEST, RESPONSE> Observable<Response<RESPONSE>> put(\n @NonNull final Class<RESPONSE> clazz,\n @NonNull String path,\n @NonNull REQUEST body\n );", "title": "" }, { "docid": "a728291622cd23af497715fd845c2038", "score": "0.5541572", "text": "protected abstract boolean internalHandlePut(T e, JSONObject query) throws Exception;", "title": "" }, { "docid": "ad41a20e9cb46145691bb0ed02e7bc56", "score": "0.5534381", "text": "@SuppressWarnings(\"unchecked\")\n\tpublic void doPost(HttpServletRequest req, HttpServletResponse res) throws IOException {\n\t\tString response = \"\";\n\t\tString requestId = req.getParameter(\"_rid\");\n\t\tString subscriptionId = req.getParameter(\"_sid\");\n\t\tString publisherId = req.getParameter(\"_pid\");\n\t\tString action = req.getParameter(\"_action\");\n\t\tString id = req.getParameter(\"id\");\n\n\t\tif (log.isDebugEnabled()) {\n\t\t\tlog.debug(\"Processing new update - Publisher: \" + publisherId + \"; Subscription: \" + subscriptionId + \"; Request: \" + requestId + \"; IAM ID: \" + id);\n\t\t}\n\n\t\tJSONObject details = new JSONObject();\n\t\tdetails.put(\"requestId\", requestId);\n\t\tdetails.put(\"subscriptionId\", subscriptionId);\n\t\tdetails.put(\"publisherId\", publisherId);\n\t\tdetails.put(\"action\", action);\n\t\tdetails.put(\"id\", id);\n\n\t\tString remoteAddr = req.getRemoteAddr();\n\t\tif (StringUtils.isNotEmpty(req.getHeader(\"X-Forwarded-For\"))) {\n\t\t\tremoteAddr = req.getHeader(\"X-Forwarded-For\");\n\t\t}\n\t\tif (authorizedIp.contains(remoteAddr)) {\n\t\t\tif (StringUtils.isNotEmpty(action)) {\n\t\t\t\tif (action.equalsIgnoreCase(\"add\") || action.equalsIgnoreCase(\"change\") || action.equalsIgnoreCase(\"delete\") || action.equalsIgnoreCase(\"force\")) {\n\t\t\t\t\tif (StringUtils.isNotEmpty(id)) {\n\t\t\t\t\t\tdetails.put(\"sessionToken\", getSessionToken(details));\n\t\t\t\t\t\tJSONObject person = buildPersonFromRequest(req, details);\n\t\t\t\t\t\tdetails.put(\"person\", person);\n\t\t\t\t\t\tif (StringUtils.isEmpty((String) person.get(\"bypassReason\"))) {\n\t\t\t\t\t\t\tJSONObject oldPerson = fetchCardholder(id, details);\n\t\t\t\t\t\t\tif (oldPerson != null) {\n\t\t\t\t\t\t\t\tdetails.put(\"oldPerson\", oldPerson);\n\t\t\t\t\t\t\t\tif (!action.equalsIgnoreCase(\"force\") && personUnchanged(req, person, oldPerson)) {\n\t\t\t\t\t\t\t\t\tresponse = \"1;No action taken -- no changes detected\";\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tresponse = updateCardholder(person, oldPerson, details);\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\tif (action.equalsIgnoreCase(\"delete\")) {\n\t\t\t\t\t\t\t\t\tresponse = \"1;No action taken -- person not on file\";\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tif (\"INACTIVE\".equalsIgnoreCase((String) person.get(\"HR_NOTES\"))) {\n\t\t\t\t\t\t\t\t\t\tresponse = \"1;No action taken -- INACTIVE persons are not inserted\";\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tresponse = insertCardholder(person, details);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tresponse = \"1;No action taken -- \" + person.get(\"bypassReason\");\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tresponse = \"2;Error - Required parameter \\\"id\\\" has no value\";\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tresponse = \"2;Error - Invalid action: \" + action;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tresponse = \"2;Error - Required parameter \\\"_action\\\" has no value\";\n\t\t\t}\n\t\t\tif (log.isDebugEnabled()) {\n\t\t\t\tlog.debug(\"Response: \" + response);\n\t\t\t}\n\t\t\tres.setCharacterEncoding(\"UTF-8\");\n\t\t\tres.setContentType(\"text/plain;charset=UTF-8\");\n\t\t\tres.getWriter().write(response);\n\t\t} else {\n\t\t\tsendError(req, res, HttpServletResponse.SC_FORBIDDEN, remoteAddr + \" is not authorized to access this service\", details);\n\t\t}\n\t}", "title": "" }, { "docid": "f2896380a8abd9e8df9b0175b9967b59", "score": "0.5533226", "text": "@RequiredRoles({Role.TEACHER,Role.STUDENT})\n @RequestMapping(value = \"posts/{post_id}\", method = RequestMethod.PUT)\n public PostDTO editPost(@PathVariable(\"post_id\") Long postId,@RequestBody PostDTO postDTO, HttpServletRequest request){\n String token = request.getHeader(\"auth-token\");\n return postService.editPost(postId,postDTO,token);\n }", "title": "" }, { "docid": "148c4a24945f6dd8f3414b3fe1d33b78", "score": "0.55223954", "text": "private void forceFormDataToParametersFromPutRequest()\n {\n // Attempt to add in override values from the body of a PUT.\n if (this.method == HttpMethod.PUT &&\n this.request.getContentType() != null &&\n this.request.getContentType().toLowerCase()\n .contains(\"application/x-www-form-urlencoded\"))\n {\n // Note: after this reader is opened and consumed, it cannot be reopened\n try (BufferedReader reader = this.request.getReader())\n {\n // The entire paramter line (e.g. \"test=value&test2=value2\")\n final String parameterLine = reader.readLine();\n if (parameterLine != null)\n {\n final String[] parameters = parameterLine.split(\"&\");\n rewrittenParameters = new HashMap<>(parameters.length);\n // As key-value strings (e.g. \"test=value\")\n for (String parameter : parameters)\n {\n final String[] keyValue = parameter.split(\"=\");\n if (keyValue.length == 2)\n {\n // Note: The World Wide Web Consortium Recommendation states that \n // UTF-8 should be used. Not doing so may introduce \n // incompatibilites. \n final String key = URLDecoder.decode(keyValue[0], \n StringHelper.emptyDefault(\n this.request.getCharacterEncoding(),\n StandardCharsets.UTF_8.name()));\n final String value = URLDecoder.decode(keyValue[1], \n StringHelper.emptyDefault(\n this.request.getCharacterEncoding(),\n StandardCharsets.UTF_8.name()));\n final List<String> values;\n if (rewrittenParameters.get(key) != null)\n {\n values = rewrittenParameters.get(key);\n }\n else\n {\n values = new ArrayList<>(1);\n }\n values.add(value);\n \n rewrittenParameters.put(key, values);\n }\n }\n this.rewritten = true;\n }\n }\n catch (IOException ioe)\n {\n // This cannot really happen in practice.\n this.log.info(\"Exception thrown trying to request request stream\", ioe);\n }\n }\n }", "title": "" }, { "docid": "6c0c0ddef9016dd6054aa28c467ad8b3", "score": "0.5520893", "text": "public interface APIUserRest {\n\n\n @POST(\"/api/login\")\n Call<User> login(@Body User user);\n\n @POST(\"/api/login-oauth\")\n Call<User> loginOAuth(@Body User user);\n\n @POST(\"/api/users\")\n Call<User> register(@Body User user);\n\n @PUT(\"/api/users/firebase-token\")\n Call<ResponseBody> updateFireBaseId(@Query(\"firebaseToken\") String firebaseToken);\n\n}", "title": "" }, { "docid": "82e92c54dc183558d24459da06d97eb4", "score": "0.5519559", "text": "protected void processRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n int codeOverwrite = 500;\n response.setHeader(\"Content-Type\", \"application/json; charset=utf-8\");\n response.setCharacterEncoding(\"UTF-8\");\n URL postUrl = new URL(Constant.ANNOTATION_SERVER_ADDR + \"/update.action\");\n HttpURLConnection connection = (HttpURLConnection) postUrl.openConnection();\n connection.setDoOutput(true);\n connection.setDoInput(true);\n //https://stackoverflow.com/questions/25163131/httpurlconnection-invalid-http-method-patch\n connection.setRequestMethod(\"PUT\");\n \n connection.setUseCaches(false);\n connection.setInstanceFollowRedirects(true);\n connection.setRequestProperty(\"Content-Type\", \"application/json; charset=utf-8\");\n String line=\"\";\n StringBuilder sb = new StringBuilder();\n try {\n JSONObject updateObject = new JSONObject();\n updateObject = JSONObject.fromObject(request.getParameter(\"content\"));\n //We will only evener be altering the resources property here, no need to PUT update. Just PATCH. \n TokenManager man = new TokenManager();\n String pubTok = man.getAccessToken();\n boolean expired = man.checkTokenExpiry();\n if(expired){\n System.out.println(\"TPEN_NL detected an expired token, auto getting and setting a new one...\");\n pubTok = man.generateNewAccessToken();\n }\n connection.setRequestProperty(\"Authorization\", \"Bearer \"+pubTok);\n updateObject.element(\"TPEN_NL_TESTING\", man.getProperties().getProperty(\"TESTING\"));\n connection.connect();\n DataOutputStream out = new DataOutputStream(connection.getOutputStream());\n //value to save\n //The TPEN_NL javascript is stil handing to the proxy API wrapped in content:{}. We can unwrap as RERUM no longer imposes this. \n out.writeBytes(updateObject.toString());\n out.flush();\n out.close(); // flush and close\n codeOverwrite = connection.getResponseCode();\n BufferedReader reader = new BufferedReader(new InputStreamReader(connection.getInputStream(),\"utf-8\"));\n while ((line = reader.readLine()) != null){\n //line = new String(line.getBytes(), \"utf-8\"); \n// System.out.println(line);\n sb.append(line);\n }\n reader.close();\n // We could completely overwrite the response headers with the RERUM response headers if desired. Here are the important ones\n response.setStatus(codeOverwrite);\n response.setHeader(\"Location\", connection.getHeaderField(\"Location\"));\n connection.disconnect();\n response.getWriter().print(sb.toString());\n } catch (UnsupportedEncodingException ex) {\n Logger.getLogger(UpdateAnnoListServlet.class.getName()).log(Level.SEVERE, null, ex);\n connection.disconnect();\n response.setStatus(codeOverwrite);\n response.getWriter().print(ex);\n } catch (IOException ex) {\n //Most fail responses from RERUM will throw you here, send out what RERUM said. \n BufferedReader error = new BufferedReader(new InputStreamReader(connection.getErrorStream(),\"utf-8\"));\n String errorLine = \"\";\n while ((errorLine = error.readLine()) != null){ \n sb.append(errorLine);\n } \n error.close();\n Logger.getLogger(UpdateAnnoListServlet.class.getName()).log(Level.SEVERE, null, ex);\n connection.disconnect();\n response.setStatus(codeOverwrite);\n response.getWriter().print(sb.toString());\n } catch (JSONParseException ex){\n Logger.getLogger(UpdateAnnoListServlet.class.getName()).log(Level.SEVERE, null, ex);\n System.out.println(\"TPEN_NL object for update was not JSON, could not add testing flag.\");\n connection.disconnect();\n response.setStatus(codeOverwrite);\n response.getWriter().print(ex);\n } catch (Exception ex) {\n Logger.getLogger(UpdateAnnoListServlet.class.getName()).log(Level.SEVERE, null, ex);\n connection.disconnect();\n response.setStatus(codeOverwrite);\n response.getWriter().print(ex);\n }\n \n }", "title": "" }, { "docid": "d3e04fb9cd29cb6a2508d2b69fe42dd5", "score": "0.551656", "text": "@PUT(\"users/update\")\n Call<User> usersUpdate(@Body User user);", "title": "" }, { "docid": "9b675347f4b6271c4c680889750e1dd4", "score": "0.54951984", "text": "@PreAuthorize(\"hasRole('ADMIN')\")\n //Update - Put\n @PutMapping(\"/admin/user/edit\")\n// public String editUserByAdmin(@RequestBody User user, @PathVariable String email) {\n //user.setEmail(email)\n\n public ResponseEntity<User> editUserByAdmin(@RequestBody User user) {\n\n userRepository.save(user);\n// return \"user added by admin successfully...\";\n return new ResponseEntity<User>(user, HttpStatus.OK);\n }", "title": "" }, { "docid": "4158cdbb4e2cc0c89acc1362ee206624", "score": "0.54795843", "text": "@SuppressWarnings(\"unchecked\")\n\tpublic void doPost(HttpServletRequest req, HttpServletResponse res) throws IOException {\n\t\tString response = \"\";\n\t\tString requestId = req.getParameter(\"_rid\");\n\t\tString subscriptionId = req.getParameter(\"_sid\");\n\t\tString publisherId = req.getParameter(\"_pid\");\n\t\tString action = req.getParameter(\"_action\");\n\t\tString id = req.getParameter(\"id\");\n\n\t\tif (log.isDebugEnabled()) {\n\t\t\tlog.debug(\"Processing new update - Publisher: \" + publisherId + \"; Subscription: \" + subscriptionId + \"; Request: \" + requestId + \"; IAM ID: \" + id);\n\t\t}\n\n\t\tJSONObject details = new JSONObject();\n\t\tdetails.put(\"requestId\", requestId);\n\t\tdetails.put(\"subscriptionId\", subscriptionId);\n\t\tdetails.put(\"publisherId\", publisherId);\n\t\tdetails.put(\"action\", action);\n\t\tdetails.put(\"id\", id);\n\n\t\tString remoteAddr = req.getRemoteAddr();\n\t\tif (StringUtils.isNotEmpty(req.getHeader(\"X-Forwarded-For\"))) {\n\t\t\tremoteAddr = req.getHeader(\"X-Forwarded-For\");\n\t\t}\n\t\tif (authorizedIp.contains(remoteAddr)) {\n\t\t\tif (StringUtils.isNotEmpty(action)) {\n\t\t\t\tif (action.equalsIgnoreCase(\"add\") || action.equalsIgnoreCase(\"change\") || action.equalsIgnoreCase(\"delete\") || action.equalsIgnoreCase(\"force\")) {\n\t\t\t\t\tif (StringUtils.isNotEmpty(id)) {\n\t\t\t\t\t\tJSONObject newPerson = buildPersonFromRequest(req, details);\n\t\t\t\t\t\tdetails.put(\"newPerson\", newPerson);\n\t\t\t\t\t\tif (StringUtils.isEmpty((String) newPerson.get(\"bypassReason\"))) {\n\t\t\t\t\t\t\tMap<String,String> oldPerson = fetchCardholder(id, (String) newPerson.get(\"UNIQUE_KEY\"), details);\n\t\t\t\t\t\t\tif (oldPerson != null) {\n\t\t\t\t\t\t\t\tdetails.put(\"oldPerson\", oldPerson);\n\t\t\t\t\t\t\t\tif (!action.equalsIgnoreCase(\"force\") && personUnchanged(req, newPerson, oldPerson)) {\n\t\t\t\t\t\t\t\t\tresponse = \"1;No action taken -- no changes detected\";\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tresponse = updateCardholder(req, res, newPerson, oldPerson, details);\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\tif (action.equalsIgnoreCase(\"delete\")) {\n\t\t\t\t\t\t\t\t\tresponse = \"1;No action taken -- person not on file\";\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tif (\"INACTIVE\".equalsIgnoreCase((String) newPerson.get(\"HR_NOTES\"))) {\n\t\t\t\t\t\t\t\t\t\tresponse = \"1;No action taken -- INACTIVE persons are not inserted\";\n\t\t\t\t\t\t\t\t\t} else if (!((String) newPerson.get(\"HR_DEPTID\")).startsWith(\"92\") && !((String) newPerson.get(\"HR_DEPTID\")).startsWith(\"93\") && !((String) newPerson.get(\"HR_DEPTID\")).startsWith(\"049\")) {\n\t\t\t\t\t\t\t\t\t\tresponse = \"1;No action taken -- \" + newPerson.get(\"HR_DEPTID\") + \" is not a UCDH Department\";\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tresponse = updateCardholder(req, res, newPerson, null, details);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tresponse = \"1;No action taken -- \" + newPerson.get(\"bypassReason\");\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tresponse = \"2;Error - Required parameter \\\"id\\\" has no value\";\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tresponse = \"2;Error - Invalid action: \" + action;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tresponse = \"2;Error - Required parameter \\\"_action\\\" has no value\";\n\t\t\t}\n\t\t\tif (log.isDebugEnabled()) {\n\t\t\t\tlog.debug(\"Response: \" + response);\n\t\t\t}\n\t\t\tres.setCharacterEncoding(\"UTF-8\");\n\t\t\tres.setContentType(\"text/plain;charset=UTF-8\");\n\t\t\tres.getWriter().write(response);\n\t\t} else {\n\t\t\tsendError(req, res, HttpServletResponse.SC_FORBIDDEN, remoteAddr + \" is not authorized to access this service\", details);\n\t\t}\n\t}", "title": "" }, { "docid": "51e48ba07b8d09ca413c4bf7d9ee8bca", "score": "0.5476723", "text": "public PutRequest put() {\n return new PutRequest();\n }", "title": "" }, { "docid": "c1403f102f5e581384ef7400be9f6a8c", "score": "0.54612327", "text": "public void doPost(HttpServletRequest req, HttpServletResponse res) throws IOException {\n\t\tString response = \"\";\n\n\t\tString publisherId = req.getParameter(\"_pid\");\n\t\tString requestId = req.getParameter(\"_rid\");\n\t\tString subscriptionId = req.getParameter(\"_sid\");\n\t\tString jobId = req.getParameter(\"_jid\");\n\t\tString action = req.getParameter(\"_action\");\n\t\tString personId = req.getParameter(\"id\");\n\t\tif (log.isDebugEnabled()) {\n\t\t\tlog.debug(\"Processing new update - Publisher: \" + publisherId + \"; Subscription: \" + subscriptionId + \"; Request: \" + requestId + \"; Job: \" + jobId + \"; Person: \" + personId);\n\t\t}\n\t\tif (StringUtils.isNotEmpty(action)) {\n\t\t\tif (action.equalsIgnoreCase(\"add\") || action.equalsIgnoreCase(\"change\") || action.equalsIgnoreCase(\"delete\") || action.equalsIgnoreCase(\"force\")) {\n\t\t\t\tif (StringUtils.isNotEmpty(personId)) {\n\t\t\t\t\tMap<String,String> newPerson = buildPersonFromRequest(req);\n\t\t\t\t\tMap<String,String> oldPerson = fetchPerson(personId);\n\t\t\t\t\tif (oldPerson != null) {\n\t\t\t\t\t\tif (!action.equalsIgnoreCase(\"force\") && personUnchanged(req, newPerson, oldPerson)) {\n\t\t\t\t\t\t\tresponse = \"1;No action taken -- no changes detected\";\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tresponse = updatePerson(req, newPerson, oldPerson);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (action.equalsIgnoreCase(\"delete\")) {\n\t\t\t\t\t\t\tresponse = \"1;No action taken -- person not on file\";\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tresponse = insertPerson(req, newPerson);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tresponse = \"2;Error - Required parameter \\\"id\\\" has no value\";\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tresponse = \"2;Error - Invalid action: \" + action;\n\t\t\t}\n\t\t} else {\n\t\t\tresponse = \"2;Error - Required parameter \\\"_action\\\" has no value\";\n\t\t}\n\t\tif (log.isDebugEnabled()) {\n\t\t\tlog.debug(\"Response: \" + response);\n\t\t}\n\t\tres.setCharacterEncoding(\"UTF-8\");\n\t\tres.setContentType(\"text/plain;charset=UTF-8\");\n\t\tres.getWriter().write(response);\n }", "title": "" }, { "docid": "54709308f48ac0bbc4fc379e7c9d022c", "score": "0.5455282", "text": "public static Response createSuccessfulResponseForPUTOrPOST(CmsRepositoryEntity entity, String httpMethod, ResourceRepresentationType<?> resourceRepresentationType, boolean entityIsNew) {\n \t\t\n \t\tResponseBuilder responseBuilder = null;\n \t\t\n \t\tif (httpMethod == null || httpMethod.equals(HttpMethod.POST)){\n \t\t\t//Entity is a new one. Send CREATED (201) status with location header\n \t\t\tresponseBuilder = Response.status(Status.CREATED);\n \t\t\t\n \t\t\tUrlProperties urlProperties = new UrlProperties();\n \t\t\turlProperties.setResourceRepresentationType(resourceRepresentationType);\n \t\t\turlProperties.setFriendly(false);\n \t\t\turlProperties.setRelative(false);\n \t\t\turlProperties.setIdentifier(entity.getId());\n \t\t\t\n \t\t\tresponseBuilder.location(URI.create(ResourceApiURLUtils.generateUrlForEntity(entity, urlProperties)));\n \n \t\t}\n \t\telse if (httpMethod.equals(HttpMethod.PUT)) {\n \t\t\t\n \t\t\tif (entityIsNew){\n \t\t\t\t//Entity is a new one. Send CREATED (201) status\n \t\t\t\tresponseBuilder = Response.status(Status.CREATED);\n \n \t\t\t}\n \t\t\telse{\n \t\t\t\tresponseBuilder = Response.status(Status.OK);\n \t\t\t}\n \t\t}\n \t\telse{\n \t\t\tlogger.warn(\"Expected to have either HTTP PUT or HTTP POST but the provided HTTP method is \" + httpMethod+ \" Will send OK status nevertheless\");\n \t\t\tresponseBuilder = Response.status(Status.OK);\n \t\t}\n \t\t\n \t\tresponseBuilder.header(\"Content-Disposition\", \"inline\");\n \t\tresponseBuilder.type(MediaType.TEXT_PLAIN + \"; charset=utf-8\");\n \t\t\n \t\t//TODO: It should clarified whether entity identifier or entity's system name is provided \n \t\tresponseBuilder.entity(entity.getId());\n \n \t\t\n \t\treturn responseBuilder.build();\n \t}", "title": "" }, { "docid": "46515e46349b0581ccaeaf0b9401f861", "score": "0.5417322", "text": "@Override\n @PUT\n @Consumes(\"application/json\")\n @Produces(\"text/plain\")\n public Response updateUser(String data) {\n Map<String, String> dataMap = UserServiceImpl.getQueryMap(data);\n User user = new User();\n \n for (Map.Entry<String, String> entry : dataMap.entrySet()) {\n String key = entry.getKey();\n String val = entry.getValue();\n switch(key) {\n case \"name\":\n user.setName(val);\n break;\n case \"objectID\":\n user.setObjectID(val);\n break; \n case \"address\":\n user.setAddress(val);\n break;\n case \"city\":\n user.setCity(val);\n break;\n case \"email\":\n user.setEmail(val);\n break;\n case \"firstname\":\n user.setFirstname(val);\n break;\n case \"postalcode\":\n user.setPostalcode(val);\n break;\n default:\n break;\n }\n\t}\n try {\n SearchIndex<User> index = connectionDB();\n index.saveObject(user).waitTask();\n return Response.ok(\"Ok\").build();\n } catch(Error error) {\n return Response.status(Response.Status.INTERNAL_SERVER_ERROR).build(); \n }\n }", "title": "" }, { "docid": "7581ba74e8d014f8b0372f75daa7367b", "score": "0.5407886", "text": "public interface PeriodePaieRS\r\n extends GenericService<PeriodePaie, Long>\r\n{\r\n\t@PUT\r\n @Consumes({MediaType.APPLICATION_JSON})\r\n @Produces({MediaType.APPLICATION_JSON})\r\n @Path(\"reouvrir\")\r\n public PeriodePaie reouvrir(@Context HttpHeaders headers,PeriodePaie entity) ;\r\n\r\n}", "title": "" }, { "docid": "2ebb41a0cc54104e6fcbfe6ae7a5799c", "score": "0.540367", "text": "protected void doPost(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\tthrows ServletException, IOException {\r\n\t\t\r\n\t\t// Gets operation parameter\r\n\t\tString operation = req.getParameter(\"operation\");\r\n\t\t\r\n\t\t// Gets user from session\r\n\t\tHttpSession session = req.getSession();\r\n\t\tLoggedUser lu = (LoggedUser) session.getAttribute(\"loggedUser\");\r\n\t\t\r\n\t\t/**\r\n\t\t * Authorization check. Permissions required: FlowManager, Coordinator\r\n\t\t */\r\n\t\tif (! (lu.isCoord() || lu.isFlowResp()) || operation == null || operation.isEmpty() ) {\r\n\t\t\treq.setAttribute(\"message\", \r\n\t\t\t\t\tnew Message(\"Not authorized or operation not allowed\", \"E200\", \"\"));\r\n\t\t\terrorForward(req, resp);\r\n\t\t\treturn;\r\n\t\t} \r\n\t\t/** \r\n\t\t * OPERATION DISPATCHER \r\n\t\t */\r\n\t\telse if (operation.equals(INSERT))\r\n\t\t{\t\t\t\r\n\t\t\tinsert(req, resp);\r\n\t\t}\r\n\t\telse if (operation.equals(DELETE))\r\n\t\t{\t\t\t\r\n\t\t\tdelete(req, resp);\r\n\t\t\r\n\t\t}\r\n\t\telse if (operation.equals(EDIT)) \r\n\t\t{\r\n\t\t\tedit(req, resp);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "1b8f6c4351ec4d569a690b3b1f620bdc", "score": "0.5400042", "text": "public interface TypeGuestService {\n\n @POST(\"/typeguests/{id_module}\")\n void addTypeGuest(@Path(\"id_module\") int id_module,@Body TypedInput data, Callback<Response> cb);\n\n @PUT(\"/typeguests/{id_type}\")\n void changeTypeGuest(@Path(value=\"id_type\",encode=false) String id_type,@Body TypedInput datasend, Callback<Response> cb);\n\n @DELETE(\"/typeguests/{id_type}\")\n void deleteTypeGuest(@Path(\"id_type\") String id_type, Callback<Response> cb);\n\n\n\n}", "title": "" }, { "docid": "2d1379b121b70fdaf2393eb8403775f8", "score": "0.5391934", "text": "protected void doPut(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "14d8e9e71f77c4654c6eb471404996d1", "score": "0.5381646", "text": "@Override\n\t\t\tpublic void handle(Request req, Response res) throws Exception {\n\t\t\t\tfinal String op = req.params(\":op\");\n\t\t\t\tif (op.equals(\"update\") || op.equals(\"remove\") || op.equals(\"sort\"))\n\t\t\t\t{\n\t\t\t\t\tfinal String oldParagraphDEAsJson = req.queryParams(\"oldParagraphsDEAsJson\");\n\t\t\t\t\tif (Validation.isEmpty(oldParagraphDEAsJson)) halt(400);\n\t\t\t\t\tif (!Validation.isArrayOfString(oldParagraphDEAsJson)) halt(400);\n\t\t\t\t}\n\t\t\t\tif (op.equals(\"add\") || op.equals(\"update\") || op.equals(\"sort\"))\n\t\t\t\t{\n\t\t\t\t\tfinal String headerDE = req.queryParams(\"headerDE\");\n\t\t\t\t\tif (Validation.isEmpty(headerDE)) halt(400);\n\t\t\t\t}\n\t\t\t\tif (op.equals(\"add\") || op.equals(\"update\"))\n\t\t\t\t{\n\t\t\t\t\tfinal String headerDE = req.queryParams(\"headerDE\");\n\t\t\t\t\tfinal String type = req.queryParams(\"type\");\n\t\t\t\t\tfinal String newParagraphDE = req.queryParams(\"newParagraphDE\");\n\t\t\t\t\tfinal String newParagraphEN = req.queryParams(\"newParagraphEN\");\n\t\t\t \t\tfinal String oldParagraphDEAsJson = req.queryParams(\"oldParagraphsDEAsJson\");\n\t\t\t \t\t\n\t\t\t \t\tif (Validation.isEmpty(type)) halt(400);\n\t\t\t \t\tif (!type.equals(\"radio\") && !type.equals(\"text\")) halt(400);\n\t\t\t \t\tif (Validation.isEmpty(newParagraphDE)) halt(400);\n\t\t\t \t\tif (Validation.isEmpty(newParagraphEN)) halt(400);\n\t\t\t \t\t\n\t\t\t \t\tif (QuestionnaireManager.isDuplicateQuestion(op, headerDE, newParagraphDE, oldParagraphDEAsJson)) halt(400);\n\t\t\t\t}\n\t\t\t\tif (op.equals(\"sort\"))\n\t\t\t\t{\n\t\t\t\t\tfinal String newPosition = req.queryParams(\"newPosition\");\n\t\t\t\t\tif (Validation.isEmpty(newPosition)) halt(400);\n\t\t\t\t\tif (!Validation.isInteger(newPosition)) halt(400);\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "84216d8fd5568fec9b8baf567f0f397e", "score": "0.5371834", "text": "public interface UsuarioService {\n\n @PUT(\"/usuario\")\n public Call<Resposta<String>> salvarUsuario(@Body Usuario usuario);\n\n @POST\n public Call<Resposta<UsuarioResponse>> atualizarUsuario(@Body Usuario usuario, @Header(\"X-Token\") String token);\n\n}", "title": "" }, { "docid": "96e8f431f151de60fedbd2001abd8fd5", "score": "0.536788", "text": "private void updatePost(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows IOException, ServletException {\n\t\tif (isAuthorized(request)) {\n\t\t\tlong id = Long.parseLong(request.getParameter(\"id\"));\n\t\t\tString title = request.getParameter(\"title\");\n\t\t\tString topic = request.getParameter(\"topic\");\n\t\t\tString content = request.getParameter(\"content\");\n\t\t\tboolean isRelease = request.getParameter(\"isRelease\") != null;\n\n\t\t\tPost post = new Post(id, title, topic, content, isRelease);\n\t\t\tpostDAO.updatePost(post);\n\t\t\tlistReleasedPost(request, response);\n\t\t} else {\n\t\t\tlistReleasedPost(request, response);\n\t\t}\n\n\t}", "title": "" }, { "docid": "f0e1e114f03eae8dacee51eb40264991", "score": "0.5362074", "text": "<REQUEST, RESPONSE> Observable<Response<RESPONSE>> put(\n @NonNull final Class<RESPONSE> clazz,\n @NonNull String path,\n @NonNull Map<String, String> headerMap,\n @NonNull REQUEST body\n );", "title": "" }, { "docid": "1f5cba20ecd9cd0865922f0d440d3e7b", "score": "0.5361333", "text": "@Put(\"json\")\n\tpublic String handlePut(String q) {\n\t\ttry {\n\t\t\tsynchronized (ServiceFunctionChainingController.restLock) { // Synchronize for consistent storage\n\t\t\t\tJSONObject sysInitErr = checkSystemInit();\n\t\t\t\tif (sysInitErr != null && !(this instanceof ServiceNodeRes) && !(this instanceof ServiceInstanceRes))\n\t\t\t\t\treturn sysInitErr.toString();\n\t\t\t\t\n\t\t\t\tJSONObject ret = new JSONObject();\n\t\t\t\t\n\t\t\t\tJSONObject query;\n\t\t\t\ttry {\n\t\t\t\t\tquery = new JSONObject(q);\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\tret.put(Constants.REST_KEY_STATUS, Constants.REST_STATUS_FAIL);\n\t\t\t\t\tret.put(Constants.REST_KEY_ERROR, Constants.REST_ERROR_INVALID_QUERY);\n\t\t\t\t\tret.put(Constants.REST_KEY_INFO, buildExceptionJSON(e));\n\t\t\t\t\treturn ret.toString();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (getRequestAttributes().containsKey(\"id\")) {\n\t\t\t\t\t// UPDATE entity\n\t\t\t\t\tEntityId id = new EntityId((String) getRequestAttributes().get(\"id\"));\n\t\t\t\t\tT e = ServiceFunctionChainingController.getEntityStorage().getById(getEntityClass(), id);\n\t\t\t\t\tif (e == null) {\n\t\t\t\t\t\t// The entity has not been found\n\t\t\t\t\t\tret.put(Constants.REST_KEY_STATUS, Constants.REST_STATUS_FAIL);\n\t\t\t\t\t\tret.put(Constants.REST_KEY_ERROR, Constants.REST_ERROR_INVALID_ENTITY);\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// The entity can be updated\n\t\t\t\t\t\tif (internalHandlePut(e, query)) {\n\t\t\t\t\t\t\t// The update was successful\n\t\t\t\t\t\t\tif (query.has(Constants.REST_QUERY_TAG))\n\t\t\t\t\t\t\t\te.setTag(query.getString(Constants.REST_QUERY_TAG));\n\t\t\t\t\t\t\tret.put(Constants.REST_KEY_STATUS, Constants.REST_STATUS_OK);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// The update went wrong\n\t\t\t\t\t\t\tret.put(Constants.REST_KEY_STATUS, Constants.REST_STATUS_FAIL);\n\t\t\t\t\t\t\tret.put(Constants.REST_KEY_ERROR, Constants.REST_ERROR_INVALID_ENTITY);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t// INSERT entity\n\t\t\t\t\tEntity e = internalHandlePut(query);\n\t\t\t\t\tif (e == null) {\n\t\t\t\t\t\t// An error has happened, return it\n\t\t\t\t\t\tret.put(Constants.REST_KEY_STATUS, Constants.REST_STATUS_FAIL);\n\t\t\t\t\t\tret.put(Constants.REST_KEY_ERROR, getLastError());\n\t\t\t\t\t\tret.put(Constants.REST_KEY_INFO, getLastInfo());\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// All went fine, insert the entity\n\t\t\t\t\t\tif (query.has(Constants.REST_QUERY_TAG))\n\t\t\t\t\t\t\te.setTag(query.getString(Constants.REST_QUERY_TAG));\n\t\t\t\t\t\tif (ServiceFunctionChainingController.getEntityStorage().insert(e)) {\n\t\t\t\t\t\t\tret.put(Constants.REST_KEY_STATUS, Constants.REST_STATUS_OK);\n\t\t\t\t\t\t\tret.put(Constants.REST_KEY_ID, e.getId().toString());\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// Entity is already registered\n\t\t\t\t\t\t\tret.put(Constants.REST_KEY_STATUS, Constants.REST_STATUS_FAIL);\n\t\t\t\t\t\t\tret.put(Constants.REST_KEY_ERROR, Constants.REST_ERROR_ALREADY_REGISTERED);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn ret.toString();\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t// can happen if e.g. insufficient query parameters were supplied\n\t\t\te.printStackTrace();\n\t\t\treturn buildExceptionJSON(e);\n\t\t}\t\n\t}", "title": "" }, { "docid": "a601dafcdfc1ea9a2e39889c16b27500", "score": "0.535871", "text": "@CrossOrigin(origins = \"*\")\n @PutMapping(\"/updateuser\")\n public User updateUser(@RequestBody User u){\n return userRepo.save(u);\n }", "title": "" }, { "docid": "971630c548d83526b7f97aa4ee3f32fb", "score": "0.5329267", "text": "boolean updatePost(Post post);", "title": "" }, { "docid": "7d449d8b691f96b3ccca0921c8c7fb01", "score": "0.5329096", "text": "public void designUpsertPutDesigns (Design data, final Response.Listener<Design> responseListener, final Response.ErrorListener errorListener) {\n Object postBody = data;\n\n \n\n // create path and map variables\n String path = \"/Designs\".replaceAll(\"\\\\{format\\\\}\",\"json\");\n\n // query params\n List<Pair> queryParams = new ArrayList<Pair>();\n // header params\n Map<String, String> headerParams = new HashMap<String, String>();\n // form params\n Map<String, String> formParams = new HashMap<String, String>();\n\n\n\n String[] contentTypes = {\n \"application/json\",\"application/x-www-form-urlencoded\",\"application/xml\",\"text/xml\"\n };\n String contentType = contentTypes.length > 0 ? contentTypes[0] : \"application/json\";\n\n if (contentType.startsWith(\"multipart/form-data\")) {\n // file uploading\n MultipartEntityBuilder localVarBuilder = MultipartEntityBuilder.create();\n \n\n HttpEntity httpEntity = localVarBuilder.build();\n postBody = httpEntity;\n } else {\n // normal form params\n }\n\n String[] authNames = new String[] { \"access_token\" };\n\n try {\n apiInvoker.invokeAPI(basePath, path, \"PUT\", queryParams, postBody, headerParams, formParams, contentType, authNames,\n new Response.Listener<String>() {\n @Override\n public void onResponse(String localVarResponse) {\n try {\n responseListener.onResponse((Design) ApiInvoker.deserialize(localVarResponse, \"\", Design.class));\n } catch (ApiException exception) {\n errorListener.onErrorResponse(new VolleyError(exception));\n }\n }\n }, new Response.ErrorListener() {\n @Override\n public void onErrorResponse(VolleyError error) {\n errorListener.onErrorResponse(error);\n }\n });\n } catch (ApiException ex) {\n errorListener.onErrorResponse(new VolleyError(ex));\n }\n }", "title": "" }, { "docid": "2b058659bde420e205c076a83fb6ca07", "score": "0.5317485", "text": "@POST(\"/posts/update.json\")\n public Response<Post> update(@Query(\"post\") long post,\n @Query(\"message\") String message) throws ApiException;", "title": "" }, { "docid": "c2b68815a5ca4be03c94fd78bdfdd05d", "score": "0.5311296", "text": "private <T extends Identifiable> void updateObject(Class<T> classs, T obj) throws IOException, AuthenticationException, NotFoundException, RedmineException {\n \t\tURI uri = getUpdateURI(obj.getClass(), Integer.toString(obj.getId()));\n \t\tHttpPut http = new HttpPut(uri);\n \t\t\n \t\tString xml = RedmineXMLGenerator.toXML(obj);\n \t\tsetEntity((HttpEntityEnclosingRequest)http, xml);\n \n \t\tResponse response = sendRequest(http);\n \t\tif (response.getCode() ==\tHttpStatus.SC_NOT_FOUND) {\n \t\t\tthrow new NotFoundException(\"Server returned '404 not found'. response body:\" + response.getBody());\n \t\t}\n \t}", "title": "" }, { "docid": "f84e1ba71dcf4f2a5ddcdd4e9ce56194", "score": "0.5299569", "text": "private HttpUriRequest getRequest(String method, String url, Object body) throws IOException {\n if (\"POST\".equals(method)) {\n HttpPost httpPost =\n new HttpPost(url);\n setBody(httpPost, body);\n return httpPost;\n } else if (\"PUT\".equals(method)) {\n HttpPut httpPut =\n new HttpPut(url);\n setBody(httpPut, body);\n return httpPut;\n } else if (\"PATCH\".equals(method)) {\n HttpPatch httpPatch =\n new HttpPatch(url);\n setBody(httpPatch, body);\n return httpPatch;\n } else if (\"GET\".equals(method)) {\n HttpGet httpGet = new HttpGet(url);\n return httpGet;\n } else if (\"DELETE\".equals(method)) {\n HttpDelete httpDelete = new HttpDelete(url);\n return httpDelete;\n }\n return null;\n }", "title": "" }, { "docid": "04440af771a03c85c9c9ad1baee7d97a", "score": "0.52991897", "text": "@Test\n void testCreateUpdateDeleteBookOnlyCanBePerformedByLibrarian() throws JSONException {\n\n MultiValueMap<String, String> map = new LinkedMultiValueMap<>(2);\n map.add(\"bookName\", \"book3\");\n map.add(\"author\", \"author3\");\n\n ResponseEntity<ResponseResult> responseEntity = restTemplate\n .withBasicAuth(\"librarian1\", \"librarian1\")\n //.postForObject(\"/books\",`)\n .postForEntity(\"/books\", map, ResponseResult.class);\n printJson(responseEntity);\n\n assertEquals(200, responseEntity.getBody().getCode());\n\n // librarian check book3 is created\n responseEntity = restTemplate.withBasicAuth(\"librarian1\", \"librarian1\")\n .getForEntity(\"/books/\" + 3, ResponseResult.class);\n printJson(responseEntity);\n\n ResponseResult<?> responseResult = responseEntity.getBody();\n JSONObject jsonObject = new JSONObject(responseResult.getData().toString());\n// Book book = (Book) responseResult.getData();\n assertEquals(\"book3\", jsonObject.getString(\"bookName\")); // check book is book3\n\n // librarian update book id 3 , try update author3 -> author33\n map = new LinkedMultiValueMap<String, String>();\n map.add(\"author\", \"author33\");\n\n restTemplate.withBasicAuth(\"librarian1\", \"librarian1\")\n .put(\"/books/\" + 3, map, ResponseResult.class);\n\n // librarian get book id 3 , to check the changes result\n responseEntity = restTemplate.withBasicAuth(\"librarian1\", \"librarian1\")\n .getForEntity(\"/books/\" + 3, ResponseResult.class);\n printJson(responseEntity);\n\n responseResult = responseEntity.getBody();\n jsonObject = new JSONObject(responseResult.getData().toString());\n assertEquals(\"author33\", jsonObject.getString(\"author\")); // check book author is author33\n\n // librarian delete book id 3\n restTemplate\n .withBasicAuth(\"librarian1\", \"librarian1\")\n .delete(\"/books/\" + 3);\n\n // librarian check book id 3 is still exists\n responseEntity = restTemplate.withBasicAuth(\"librarian1\", \"librarian1\")\n .getForEntity(\"/books/\" + 3, ResponseResult.class);\n printJson(responseEntity);\n responseResult = responseEntity.getBody();\n assertEquals(404, responseResult.getCode());\n }", "title": "" }, { "docid": "d71be631c5dd2a1b8af2e49542559f07", "score": "0.52964073", "text": "@PatchMapping(\"/books/{pId}\")\n public ResponseEntity<Object> updateBook(\n @Valid @RequestBody Book pBook,\n @PathVariable(\"pId\") long pId){\n\n Optional<Book> optionalBook = bookRepository.findById(pId);\n if(!optionalBook.isPresent()){\n throw new NotFoundException(\"Book not found : id - \"+ pId);\n }\n\n Book vBook = bookRepository.save(pBook);\n\n URI location = ServletUriComponentsBuilder\n .fromCurrentRequest()\n .path(\"/{id}\")\n .buildAndExpand(vBook.getId())\n .toUri();\n\n return ResponseEntity.created(location).build();\n }", "title": "" }, { "docid": "695388c27797d48ba2e8bdc2828037fe", "score": "0.5287794", "text": "void onPostResource(RestOperation op) {\n var newObj = op.getJsonBody();\n if (newObj == null) {\n op.setErrorBody(\"invalid body\");\n return;\n }\n // Get the current state of the specified resource.\n var storageOp = new RestOperation();\n storageOp.method = Http.GET;\n storageOp.path = StorageWorker.WORKER_PATH;\n storageOp.query = new Query();\n storageOp.query.set(StorageWorker.STORAGE_KEY, op.path);\n sendOperation(storageOp);\n if (!storageOp.success()) {\n op.setFrom(storageOp);\n return;\n }\n var oldObj = storageOp.getJsonBody();\n\n // Primary key does not need to be specified in the body, since\n // it is specified in the URL and it cannot be changed.\n newObj.set(this.primaryKeyField, oldObj.get(this.primaryKeyField));\n op.setJsonBody(newObj);\n\n // Generation check.\n var newGeneration = newObj.getInt(\"generation\");\n var oldGeneration = oldObj.getInt(\"generation\");\n if (newGeneration == 0) {\n newGeneration = oldGeneration+1;\n } else if (newGeneration <= oldGeneration) {\n op.setErrorBody(\"generation is \" + oldGeneration);\n return;\n }\n\n // Allow specific worker to view and modify posted object.\n var error = validatePost(op, oldObj);\n if (error != null) {\n op.setErrorBody(error);\n return;\n }\n // Set the fields \"storageKey\" and \"generation\" for StorageWorker.\n newObj = op.getJsonBody();\n newObj.setString(StorageWorker.STORAGE_KEY, op.path);\n newObj.setInt(\"generation\", newGeneration);\n\n // Post object to StorageWorker.\n storageOp = new RestOperation();\n storageOp.method = Http.POST;\n storageOp.path = StorageWorker.WORKER_PATH;\n storageOp.setJsonBody(op.getJsonBody());\n sendOperation(storageOp);\n op.setFrom(storageOp);\n }", "title": "" }, { "docid": "fd5fdc78694eb10fdd872841827f359b", "score": "0.52716637", "text": "public interface LocalizationEndpoints {\n\n @PUT(\"api/localization/update\")\n Call<ResponseBody> UpdateLocalization(@Body LecturersLocalization lecturersLocalization);\n}", "title": "" }, { "docid": "574a6ef731961be63ad503ba9856a34b", "score": "0.52436787", "text": "@Post(\"json\")\n\tpublic String handlePost(String q) {\n\t\ttry {\n\t\t\tsynchronized (ServiceFunctionChainingController.restLock) { // Synchronize for consistent storage\n\t\t\t\tJSONObject sysInitErr = checkSystemInit();\n\t\t\t\tif (sysInitErr != null)\n\t\t\t\t\treturn sysInitErr.toString();\n\t\t\t\t\n\t\t\t\tJSONObject ret = new JSONObject();\n\t\t\t\t\n\t\t\t\tJSONObject query;\n\t\t\t\ttry {\n\t\t\t\t\tquery = new JSONObject(q);\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\tret.put(Constants.REST_KEY_STATUS, Constants.REST_STATUS_FAIL);\n\t\t\t\t\tret.put(Constants.REST_KEY_ERROR, Constants.REST_ERROR_INVALID_QUERY);\n\t\t\t\t\treturn ret.toString();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (getRequestAttributes().containsKey(\"id\")) {\n\t\t\t\t\tif (! getRequestAttributes().containsKey(\"operation\")) {\n\t\t\t\t\t\t// No operation given\n\t\t\t\t\t\tret.put(Constants.REST_KEY_STATUS, Constants.REST_STATUS_FAIL);\n\t\t\t\t\t\tret.put(Constants.REST_KEY_ERROR, Constants.REST_ERROR_INVALID_OPERATION);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tEntityId id = new EntityId((String) getRequestAttributes().get(\"id\"));\n\t\t\t\t\t\tString operation = (String) getRequestAttributes().get(\"operation\");\n\t\t\t\t\t\tT e = ServiceFunctionChainingController.getEntityStorage().getById(getEntityClass(), id);\n\t\t\t\t\t\tif (e == null) {\n\t\t\t\t\t\t\t// The entity has not been found\n\t\t\t\t\t\t\tret.put(Constants.REST_KEY_STATUS, Constants.REST_STATUS_FAIL);\n\t\t\t\t\t\t\tret.put(Constants.REST_KEY_ERROR, Constants.REST_ERROR_INVALID_ENTITY);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// The operation can be executed\n\t\t\t\t\t\t\tif (internalHandlePost(operation, e, query)) {\n\t\t\t\t\t\t\t\t// Operation successful\n\t\t\t\t\t\t\t\tret.put(Constants.REST_KEY_STATUS, Constants.REST_STATUS_OK);\n\t\t\t\t\t\t\t\tret.put(Constants.REST_KEY_INFO, getLastInfo());\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t// Operation not successful\n\t\t\t\t\t\t\t\tret.put(Constants.REST_KEY_STATUS, Constants.REST_STATUS_FAIL);\n\t\t\t\t\t\t\t\tret.put(Constants.REST_KEY_ERROR, getLastError());\n\t\t\t\t\t\t\t\tret.put(Constants.REST_KEY_INFO, getLastInfo());\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t// No id specified\n\t\t\t\t\tret.put(Constants.REST_KEY_STATUS, Constants.REST_STATUS_FAIL);\n\t\t\t\t\tret.put(Constants.REST_KEY_ERROR, Constants.REST_ERROR_INVALID_ENTITY);\n\t\t\t\t}\n\t\t\t\treturn ret.toString();\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t// should really never happen\n\t\t\te.printStackTrace();\n\t\t\treturn buildExceptionJSON(e);\n\t\t}\t\n\t}", "title": "" }, { "docid": "1044adeb33ecc7b2204e6ab658702923", "score": "0.5234558", "text": "@Override\n\tprotected final void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doPut(req, resp);\n\t}", "title": "" }, { "docid": "c1560615509d87c0ad89612373874a17", "score": "0.5221734", "text": "@Test(enabled = true, dependsOnMethods = {\"create\"}, description = \"salesforcerest {update} integration test.\")\n public void update() throws IOException, JSONException {\n\n String methodName = \"update\";\n RestResponse<JSONObject> esbRestResponse = sendJsonRestRequest(getProxyServiceURLHttp(methodName), \"POST\", esbRequestHeadersMap, \"update.json\");\n String apiEndPoint = connectorProperties.getProperty(\"apiUrl\") + \"/services/data/\" + connectorProperties.getProperty(\"apiVersion\") + \"/sobjects/\" + connectorProperties.getProperty(\"sObjectName\") + \"/\" + connectorProperties.getProperty(\"id\");\n RestResponse<JSONObject> apiRestResponse = sendJsonRestRequest(apiEndPoint, \"GET\", apiRequestHeadersMap, \"updateApi.json\");\n Assert.assertEquals(esbRestResponse.getHttpStatusCode(), 204);\n Assert.assertEquals(apiRestResponse.getHttpStatusCode(), 200);\n }", "title": "" }, { "docid": "66862a4b0b7f2fabaa557fdba2100e18", "score": "0.5220632", "text": "@Test\n public void test8SaveGasStation() throws IOException {\n HttpPost request = new HttpPost(url + apiPrefixGasStation + SAVE_GASSTATION);\n StringEntity params = new StringEntity(newGasStationJson);\n request.addHeader(\"content-type\", \"application/json\");\n request.setEntity(params);\n HttpResponse response = getResponseFromRequest(request);\n assert response.getStatusLine().getStatusCode() == 200;\n\n\n\n // update existing GasStation\n request = new HttpPost(url + apiPrefixGasStation + SAVE_GASSTATION);\n params = new StringEntity(existingModifiedGasStationJson);\n request.addHeader(\"content-type\", \"application/json\");\n request.setEntity(params);\n response = getResponseFromRequest(request);\n assert response.getStatusLine().getStatusCode() == 200;\n\n\n }", "title": "" }, { "docid": "f5dfe5b77c554b2e4767038dfcc3a161", "score": "0.5217846", "text": "@POST\n @Path(\"postExample\")\n @Consumes(MediaType.APPLICATION_FORM_URLENCODED)\n @Operation(summary = \"A method that is a simple post example.\",\n tags = {\"POST\"},\n description = \"Returns a message if logged in as user \",\n responses = {\n @ApiResponse(description = \"Response\",\n content = @Content(mediaType = \"application/json\",\n schema = @Schema(implementation = msg.class))),\n @ApiResponse(responseCode = \"403\", description = \"wrong parameter names\"),\n @ApiResponse(responseCode = \"200\", description = \"succes\")\n })\n public String vote(@FormParam(\"param1\") String v1,\n @FormParam(\"param2\") String v2) {\n return \"{\\\"msg\\\": \\\"Hello, you just posted\" + v1 + \"and\" + v2 + \"\\\"}\";\n }", "title": "" }, { "docid": "06fb96b093fea18f232a7a9aa3e620c8", "score": "0.52159077", "text": "@Override\n\tpublic int getHttpMethod() {\n\t\treturn Method.POST;\n\t}", "title": "" }, { "docid": "393c0508b78d0d7d0f3471d80016b18a", "score": "0.52079904", "text": "@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tString action = req.getParameter(\"action\");\n\t\t\n\t\tif(\"Post\".equals(action)) {\n\t\t\tsaveEditPost(req, resp);\n\t\t} else if(\"Cancel\".equals(action)) {\n\t\t\tcancelEditPost(req, resp);\n\t\t} else { //error\n\t\t\tresp.sendRedirect(\"/signedIn.jsp\");\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "cddfe704eeadab697f37f2d95c8ef998", "score": "0.52057207", "text": "@POST\n @Path(\"update/name\")\n @Consumes(MediaType.MULTIPART_FORM_DATA)\n @Produces(MediaType.APPLICATION_JSON)\n //creates handler for /players/update\n public String updatePlayer(@org.glassfish.jersey.media.multipart.FormDataParam(\"Name\") String PlayerName, @org.glassfish.jersey.media.multipart.FormDataParam(\"PlayerID\") Integer PlayerID){\n //specifies parameters to pass into API method\n try {\n //ensures the request will not fail due to empty parameters\n if(PlayerName == null || PlayerID == null) {\n throw new Exception(\"One or more parameters missing in HTTP request.\");\n }\n //logs that the operation is being run\n System.out.println(\"player/update name=\" + PlayerName);\n PreparedStatement ps = Main.db.prepareStatement(\"UPDATE Players SET Name = ? WHERE PlayerID = ?\");\n ps.setString(1, PlayerName);\n ps.setInt(2, PlayerID);\n ps.executeUpdate();\n //updates player details\n return \"{\\\"status\\\": \\\"OK\\\"}\";\n } catch (Exception exception) {\n System.out.println(\"Error: \" + exception.getMessage());\n return \"{\\\"error\\\":\\\"Unable to update, please see server console for more information}\";\n //reports error if unable to complete update\n }\n\n }", "title": "" }, { "docid": "23eae6e2e34ada1fe6692ec5bb6946a9", "score": "0.5203763", "text": "protected void doPut(HttpServletRequest request, HttpServletResponse response)\r\n\t throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "4ab71c2a2461f7a6e9efebfbedbc0f7a", "score": "0.5199355", "text": "public interface MirrorAPI {\n //returns a Json Web Token\n @POST(\"/auth\")\n Call<ResponseBody> getAuthToken(@Header(\"Content-Type\") String contentType,\n @Body UserCredentials credentials);\n\n //Create a new user. NOTE: No Auth token required\n @POST(\"/users\")\n Call<User> createUser(@Header(\"Content-Type\") String contentType,\n @Body UserCredentials credentials);\n\n @PATCH(\"/users/{id}\")\n Call<User> UpdateUser(@Header(\"Content-Type\") String contentType,\n @Header(\"Authorization\") String JWT_Token,\n @Path(\"id\") String userId,\n @Body User newUserData);\n}", "title": "" }, { "docid": "23035d046e6da76f46ecd4ea3de2cb87", "score": "0.519341", "text": "@Override\r\n\tpublic void update(Post post) {\n\t\t\r\n\t}", "title": "" }, { "docid": "df61e9a4d424f659facd72e99044d1b3", "score": "0.5190451", "text": "private String SendSingleObjectRequest(int method,String url,Object object){\n JSONObject obj = new JSONObject();\n //updating/deleting objects from database\n if(method == Request.Method.PUT){\n if(object.getClass() == Customer.class){\n obj = UpdateCustomer((Customer) object);\n }\n else if(object.getClass() == Farmer.class){\n obj = UpdateFarm((Farm) object);\n }\n else if(object.getClass() == Product.class){\n obj = UpdateProduct((Product) object);\n }\n else if(object.getClass() == Farm.class){\n obj = UpdateFarm((Farm) object);\n }\n else if(object.getClass() == FarmProduct.class){\n obj = UpdateFarmProduct((FarmProduct) object);\n }\n else{\n return null;\n }\n }\n else{\n if(object.getClass() == Customer.class){\n obj = AddCustomer((Customer) object);\n }\n else if(object.getClass() == Farmer.class){\n obj = AddFarmer((Farmer) object);\n }\n else if(object.getClass() == Product.class){\n obj = AddProduct((Product) object);\n }\n else if(object.getClass() == FarmProduct.class){\n obj = AddFarmProduct((FarmProduct) object);\n }\n else if(object.getClass() == Farm.class){\n obj = AddFarm((Farm) object);\n }\n else if(object.getClass() == Rating.class){\n obj = AddRating((Rating) object);\n }\n else if(object.getClass() == Following.class){\n obj = AddFollow((Following) object);\n }\n else{\n return null;\n }\n }\n\n try {\n RequestQueue rq = Volley.newRequestQueue(context);\n RequestFuture<JSONObject> requestFuture = RequestFuture.newFuture();\n JsonObjectRequest request = new JsonObjectRequest(method, url, obj, requestFuture, requestFuture);\n rq.add(request);\n\n String response = requestFuture.get().toString();\n return response;\n }catch (Exception ex){\n System.out.println(ex);\n return null;\n }\n }", "title": "" }, { "docid": "6463d3972bcda54483973d4b33022e65", "score": "0.51768965", "text": "@Test\n public void testUpdateRequest() {\n // TODO: test UpdateRequest\n }", "title": "" }, { "docid": "ca036fc29bc33e854ad72d601d449805", "score": "0.51725376", "text": "T update(T entity);", "title": "" }, { "docid": "63a71611730f5b321acee7109f96db1f", "score": "0.5166952", "text": "@Override\n public void doPut(HttpServletRequest req, HttpServletResponse resp)\n throws IOException {\n boolean newRevision = req.getParameter(\"newRevision\").equals(Boolean.TRUE);\n Drive service = getDriveService(getCredential(req, resp));\n ClientFile clientFile = new ClientFile(req.getReader());\n File file = clientFile.toFile();\n // If there is content we update the given file\n if (clientFile.content != null) {\n file = service.files().update(clientFile.resource_id, file,\n ByteArrayContent.fromString(clientFile.mimeType, clientFile.content))\n .setNewRevision(newRevision).execute();\n } else { // If there is no content we patch the metadata only\n file = service.files()\n .patch(clientFile.resource_id, file)\n .setNewRevision(newRevision)\n .execute();\n }\n sendJson(resp, file.getId());\n }", "title": "" }, { "docid": "095d5f3dead75dd0aa200df17a70145f", "score": "0.5162776", "text": "@Override\n\tpublic void update(HttpServletRequest request, HttpServletResponse response) {\n\n\t}", "title": "" }, { "docid": "5270e1be64cc0cc75dd5d296080f59e6", "score": "0.5160185", "text": "@ApiOperation(\n value = \"Update person\",\n notes = \"Pass updated person body\"\n )\n @PutMapping(\n path = \"people/{id}\",\n consumes = MediaType.APPLICATION_JSON_VALUE)\n public void updatePerson(\n @ApiParam(value = \"Updated person\", required = true)\n @RequestBody Person person){\n personService.updatePerson(person);\n }", "title": "" }, { "docid": "97448a912980caf6767c3f9dcdc89a31", "score": "0.5149221", "text": "public void doPostTransferPut(TransferNamesAndCommands tncp) throws Exception;", "title": "" }, { "docid": "457aa778cf0d9afee33ebee567069fa3", "score": "0.5147181", "text": "public void update(RestaurantDTO restaurant);", "title": "" }, { "docid": "211e7181ffea373a0f82f294cec93a6c", "score": "0.514413", "text": "E update(ID id, E resource);", "title": "" }, { "docid": "3fcc3e5f42697341f647b8e886dce166", "score": "0.51435906", "text": "@PutMapping({\"/{id}\"})\n public Monumento edit(@RequestBody Monumento monumento, @PathVariable Long id) {\n /*\n return ResponseEntity.of(\n repository.findById(id).map(m -> {\n m.setCodigoPais(monumento.getCodigoPais());\n m.setNombrePais(monumento.getNombrePais());\n m.setNombreCiudad(monumento.getNombreCiudad());\n\n ...\n\n });\n repository.save(monumento);\n return monumento;);\n */\n\n\n Monumento antiguo = (Monumento)this.repository.findById(id).orElse(monumento);\n antiguo.setNombrePais(monumento.getNombrePais());\n antiguo.setCodigoPais(monumento.getCodigoPais());\n antiguo.setNombreCiudad(monumento.getNombreCiudad());\n antiguo.setDescripcion(monumento.getDescripcion());\n antiguo.setLocalizacion(monumento.getLocalizacion());\n antiguo.setUrl(monumento.getUrl());\n antiguo.setNombreMonumento(monumento.getNombreMonumento());\n return (Monumento)this.repository.save(antiguo);\n }", "title": "" }, { "docid": "5804b75e0bce99e8ce92682d3ca44d64", "score": "0.5132469", "text": "@Override\n @PUT\n @Consumes(\"application/json\")\n public Response updateVO(String requestBody) throws Exception {\n if (log.isTraceEnabled()) {\n log.trace(String.format(\"updateVO(ID=%d) started. Data: %s\", vo.getVoId(), requestBody));\n }\n\n EntityManager em = PersistenceUtils.getInstance().getEntityManager();\n try {\n JSONObject json = new JSONObject(requestBody);\n vo.update(json);\n\n em.getTransaction().begin();\n em.merge(vo);\n em.getTransaction().commit();\n\n log.trace(\"updateVO() finished successfully.\");\n return Response.status(Response.Status.NO_CONTENT).build();\n }\n catch (Exception e) {\n log.error(\"Update failed: \", e);\n throw new WebApplicationException(\n Response.status(Response.Status.BAD_REQUEST).\n entity(String.format(\"Update failed: %s.\", e.getMessage())).\n build()\n );\n }\n finally {\n PersistenceUtils.getInstance().closeEntityManager(em);\n }\n }", "title": "" }, { "docid": "5de7dd3d04c9bd985cb2f68d5bf3b7d4", "score": "0.51286656", "text": "PutRequestOrBuilder getRequestPutOrBuilder();", "title": "" }, { "docid": "574647401b6d6d4bf19a396946f67d1e", "score": "0.51230556", "text": "Task post() throws HttpException;", "title": "" }, { "docid": "b73dce95ac620177f50f4ebe6b707da1", "score": "0.5120434", "text": "<T> T update(T entity) throws UnauthorizedAccessAttemptException, EntityNotFoundException;", "title": "" }, { "docid": "c830780581003143b43ef9984907caf9", "score": "0.5119793", "text": "public LiveOperation put(String path, String body) throws LiveOperationException {\n LiveConnectUtils.assertNotNullOrEmpty(body, ParamNames.BODY);\n\n JSONObject jsonBody;\n try {\n jsonBody = new JSONObject(body.toString());\n } catch (JSONException e) {\n throw new LiveOperationException(ErrorMessages.CLIENT_ERROR, e);\n }\n\n return this.put(path, jsonBody);\n }", "title": "" }, { "docid": "8e46d9038ac47b095ef53edac0ac80db", "score": "0.51138276", "text": "@PUT(\"/user/{username}\")\n Void updateUser(\n @retrofit.http.Path(\"username\") String username, @retrofit.http.Body User body\n );", "title": "" }, { "docid": "ce031fb591db4eec86b88c8299a5c4fa", "score": "0.51098067", "text": "public Response put(String url, String auth, JsonJavaObject putData) throws URISyntaxException, IOException, JsonException {\n\t\tURI normUri = new URI(url).normalize();\n\t\tRequest putRequest = Request.Put(normUri);\n\t\t\n\t\t//Add auth header\n\t\tif(StringUtil.isNotEmpty(auth)) {\n\t\t\tputRequest.addHeader(\"Authorization\", auth);\n\t\t}\n\t\t\n\t\t//Add put data\n\t\tString putDataString = JsonGenerator.toJson(JsonJavaFactory.instanceEx, putData);\n\t\tif(putData != null) {\n\t\t\tputRequest = putRequest.bodyString(putDataString, ContentType.APPLICATION_JSON);\n\t\t}\n\t\t\n\t\tResponse response = executor.execute(putRequest);\n\t\treturn response;\n\t}", "title": "" }, { "docid": "b993ba80077536171675e2eaa1dfa717", "score": "0.51010054", "text": "public LiveOperation post(String path, String body) throws LiveOperationException {\n LiveConnectUtils.assertNotNullOrEmpty(body, ParamNames.BODY);\n\n JSONObject jsonBody;\n try {\n jsonBody = new JSONObject(body.toString());\n } catch (JSONException e) {\n throw new LiveOperationException(ErrorMessages.CLIENT_ERROR, e);\n }\n\n return this.post(path, jsonBody);\n }", "title": "" }, { "docid": "928ffa2bc5c9b017eeccbab2e47783f6", "score": "0.5100693", "text": "public void updatePerson (PersonDTO personDTO);", "title": "" }, { "docid": "28286dcf42937a34d0362245be5ae914", "score": "0.509996", "text": "public abstract AbstractResponse<TD> post(String path, TD data) throws UnirestException;", "title": "" }, { "docid": "89ee6b04021029e5843687d01e5499ce", "score": "0.50998306", "text": "@POST\n @Consumes(MediaType.APPLICATION_JSON)\n @Produces(MediaType.APPLICATION_JSON)\n Response save(D entity);", "title": "" }, { "docid": "ee031fb2f4bcb5889b6914fcb372726f", "score": "0.5098564", "text": "@PUT\n @Path(\"\")\n @Consumes(MediaType.APPLICATION_JSON)\n public Response updateCar(Car carToUpdate) {\n Car car;\n\n try{\n car = carController.updateCar(carToUpdate);\n }catch (Exception e){\n return Response.status(Response.Status.NOT_MODIFIED.getStatusCode(), e.toString()).build();\n }\n return Response.ok()\n .entity(car)\n .build();\n }", "title": "" }, { "docid": "1e2148b799134e8cb609017978d70002", "score": "0.5098305", "text": "@PutMapping(\"/updateDetails\")\r\n\t public ResponseEntity<?> updateStudetntDetails(@RequestBody @Valid Student student){\r\n\t\t return ResponseEntity.ok(studentService.updateStudentDetails(student));\r\n\t }", "title": "" }, { "docid": "972a2149c106f73e5cd5e202387fb990", "score": "0.5097245", "text": "@PUT\n @Consumes({\"application/xml\", \"application/json\"})\n public void put(RecordSessionConverter data) {\n PersistenceService persistenceSvc = PersistenceService.getInstance();\n try {\n persistenceSvc.beginTx();\n EntityManager em = persistenceSvc.getEntityManager();\n updateEntity(getEntity(), data.resolveEntity(em));\n persistenceSvc.commitTx();\n } finally {\n persistenceSvc.close();\n }\n }", "title": "" }, { "docid": "eccc45a4b22974b58e32e8b7a84881d2", "score": "0.5092271", "text": "public String put(String url, String data) throws IOException {\n\t\tdata += \"&#038;_method=PUT\";\n\t\turl += \"?\" + data;\n\t\n\t\treturn post(url, null);\n\t}", "title": "" }, { "docid": "cf00d50a60a606310d0cb99408cfa66d", "score": "0.50832945", "text": "@PutMapping(value=\"/post/update\")\n public @ResponseBody boolean updateOnePost( @RequestBody Post post){\n /*update message*/\n String message = post.getMessage();\n post = postService.getOne(post.getId());\n post.setMessage(message);\n postService.updatePost(post);\n return true;\n }", "title": "" }, { "docid": "67029c7e067f8776afbbdce5c6269d95", "score": "0.50814325", "text": "public PutRequestDto(final String uri) {\n super(new HttpPut(uri), \"PUT\");\n }", "title": "" }, { "docid": "376702f5fb2bf23b84ae897516b35171", "score": "0.5075673", "text": "public interface RestService {\n\n @POST(\"/auth/register\")\n void register(@Body RegisterModel register);\n\n}", "title": "" }, { "docid": "490dace2a46e5506d22157efc7aab0eb", "score": "0.50751853", "text": "@POST\r\n\t@Path(\"{type}/{set}/{file}\")\r\n//\t@Consumes(MediaType.APPLICATION_JSON)\r\n\t@Override\r\n\tpublic Response update(@PathParam(\"type\") String type, @PathParam(\"set\") String set, @PathParam(\"file\") String propfile, String data) {\n\t\t\r\n\t\tlog.info(data);\r\n\t\t\r\n\t\tif (!type.equals(\"json\") || set.isEmpty() || propfile.isEmpty()) return Response.notModified().build();\r\n\t\t\r\n\t\ttry {\r\n\t\t\tFile file = new File(propertiesService.getRootPath() + \"/\" + set, propfile + \".properties\");\r\n\t\t\tif (!file.exists() || !file.isFile() || !file.canWrite()) return Response.notModified().build();\r\n\t\t\r\n\t\t\tJSONArray properties = new JSONArray(data);\r\n\t\t\t\r\n\t\t\tJSONObject entry;\r\n\t\t\tProperties props = new Properties();\r\n\t\t\tfor (int index = 0; index < properties.length(); index++) {\r\n\t\t\t\tentry = properties.getJSONObject(index);\r\n\t\t\t\tprops.put(entry.get(\"key\"), entry.get(\"value\"));\r\n\t\t\t\tif (index == 20) break; // force max props\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tprops.store(new FileOutputStream(file), null);\r\n\t\t\t\r\n\t\t} catch (Exception e) {\r\n\t\t\tlog.error(e.getMessage());\r\n\t\t\treturn Response.notModified().build();\r\n\t\t}\r\n\t\t\r\n\t\treturn Response.ok().build();\r\n\t}", "title": "" }, { "docid": "cb429293e22b955ee7d3f9ee7e7b2386", "score": "0.5073827", "text": "@Override\n\tprotected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException,\n\t\t\tIOException {\n\t\tsuper.doPut(req, resp);\n\t}", "title": "" }, { "docid": "5c245c120a295ad3bca58b1a914398ef", "score": "0.5072526", "text": "@Test\n public void update1() {\n Client client = ClientBuilder.newClient();\n WebTarget target = client.target(update_url);\n Date date = new Date();\n TscUserProfile user = new TscUserProfile(\"\", \"123456\", \"京A23432\",\"17677777777\", \"updateName\", \"address\", \"salt\", date, date);\n Response response = target.request().put(Entity.entity(user, MediaType.APPLICATION_JSON_TYPE));\n try {\n LOGGER.info(\"update1 response body: {}\", response.readEntity(String.class));\n assertEquals(Status.BAD_REQUEST.getStatusCode(), response.getStatus());\n } finally {\n response.close();\n client.close();\n }\n }", "title": "" }, { "docid": "f0fe41100d362b5f26bede1e364d0bd1", "score": "0.5067971", "text": "@Path(\"/users\")\npublic interface UserRestService {\n\n\t@POST\n\t@Consumes(MediaType.APPLICATION_XML)\n\t@Produces(MediaType.APPLICATION_XML)\n\tpublic Response createUser(@Context HttpServletRequest request, Person person);\n\n\t@GET\n\t@Produces(MediaType.APPLICATION_XML)\n\tpublic Response getUser(@Context HttpServletRequest request);\n\n\t@Path(\"{inum}\")\n\t@GET\n\t@Produces(MediaType.APPLICATION_XML)\n\tpublic Response getUserByInum(@Context HttpServletRequest request, @PathParam(\"inum\") String inum);\n\n\t@Path(\"uid/{id}\")\n\t@GET\n\t@Produces(MediaType.APPLICATION_XML)\n\tpublic Response getUserByUserId(@Context HttpServletRequest request, @PathParam(\"id\") String uid);\n\n\t@Path(\"{inum}\")\n\t@PUT\n\t@Consumes(MediaType.APPLICATION_XML)\n\tpublic Response updateUser(@Context HttpServletRequest request, @PathParam(\"inum\") String inum, Person person);\n\n\t@Path(\"{inum}/password\")\n\t@PUT\n\t@Consumes(MediaType.APPLICATION_XML)\n\tpublic Response changePassword(@Context HttpServletRequest request, @PathParam(\"inum\") String inum, String password);\n\n\t@Path(\"{inum}\")\n\t@DELETE\n\tpublic Response deleteUser(@Context HttpServletRequest request, @PathParam(\"inum\") String inum);\n\n\t// Additional Methods\n\n\t@Path(\"{inum}/passwordpost\")\n\t@POST\n\t@Consumes(MediaType.APPLICATION_FORM_URLENCODED)\n\tpublic Response changePasswordTestHelper(@Context HttpServletRequest request, @PathParam(\"inum\") String inum,\n\t\t\t@FormParam(\"password\") String password);\n\n\t@Path(\"{inum}/updatepost\")\n\t@POST\n\t@Consumes(MediaType.APPLICATION_FORM_URLENCODED)\n\tpublic Response updateUserTestHelper(@Context HttpServletRequest request, @PathParam(\"inum\") String inum,\n\t\t\t@FormParam(\"person_data\") String person_data);\n\n\t@Path(\"{inum}/createpost\")\n\t@POST\n\t@Consumes(MediaType.APPLICATION_FORM_URLENCODED)\n\tpublic Response createUserTestHelper(@Context HttpServletRequest request, @FormParam(\"person_data\") String person);\n}", "title": "" }, { "docid": "7d97665bb86423fe9eb3851a68cff9a5", "score": "0.50675607", "text": "@PUT\n\t@Path(\"{id}\")\n\tpublic Response uppdate(@PathParam(\"id\") Long id, String reqBody) {\n\t\tJsonObject jobj = new Gson().fromJson(reqBody, JsonObject.class);\n\n\t\tif (jobj.has(\"status\")) {\n\n\t\t\tString status = jobj.get(\"status\").getAsString();\n\t\t\ttry {\n\t\t\t\tStatus.valueOf(status);\n\t\t\t} catch (IllegalArgumentException e) {\n\t\t\t\treturn Response.status(400).type(MediaType.TEXT_PLAIN)\n\t\t\t\t\t\t.entity(\"Status has to be either of: ACTIVE or INACTIVE\").build();\n\t\t\t}\n\t\t\tteamService.updateStatusTeam(id, Status.valueOf(status));\n\t\t\treturn Response.ok(teamService.findOne(id)).build();\n\t\t}\n\n\t\tif (jobj.has(\"name\")) {\n\t\t\tString teamName = jobj.get(\"name\").getAsString();\n\t\t\tteamService.uppdateTeam(id, teamName);\n\t\t\treturn Response.ok().build();\n\n\t\t}\n\t\tif (jobj.has(\"userId\")) {\n\t\t\tLong userId = jobj.get(\"userId\").getAsLong();\n\t\t\tteamService.assigneUserToTeam(id, userId);\n\t\t\t;\n\t\t\treturn Response.ok().build();\n\n\t\t} else {\n\t\t\treturn Response.status(Response.Status.BAD_REQUEST).build();\n\t\t}\n\n\t}", "title": "" }, { "docid": "51394e190cfda24642cc485ce3afdb0f", "score": "0.5066737", "text": "@POST\n\t@Path(\"congelar\")\n\tpublic void congelar();", "title": "" }, { "docid": "97832a18fe407491412ec8fc69295a19", "score": "0.506424", "text": "@GetMapping(\"/update\")\n public Object update() {\n return null;\n }", "title": "" }, { "docid": "13062a83e718933520f4b56b8c3ded10", "score": "0.506114", "text": "@PutMapping(API_BASE+\"/modificar\")\n public ResponseEntity<Articulo> update(@RequestBody Articulo articulo){\n if(articuloService.existByid(articulo.getId())){\n return new ResponseEntity<>(articuloService.save(articulo), HttpStatus.CREATED);\n }else{\n return ResponseEntity.badRequest().build();\n }\n }", "title": "" }, { "docid": "98a006d1ef76dff65d36d64920b2cfa6", "score": "0.50593436", "text": "@Test\n public void update2() {\n Client client = ClientBuilder.newClient();\n WebTarget target = client.target(update_url);\n Date date = new Date();\n TscUserProfile user = new TscUserProfile(testUserId, \"123456\", \"京skkks\",\"17677777777\", \"updateName\", \"address\", \"salt\", date, date);\n Response response = target.request().put(Entity.entity(user, MediaType.APPLICATION_JSON_TYPE));\n try {\n LOGGER.info(\"update2 response body: {}\", response.readEntity(String.class));\n assertEquals(Status.BAD_REQUEST.getStatusCode(), response.getStatus());\n } finally {\n response.close();\n client.close();\n }\n }", "title": "" }, { "docid": "259c04677e7cd6076fef4f2d71cd22c8", "score": "0.5058426", "text": "void updatePost(Post post);", "title": "" }, { "docid": "ce3f7d2a6c52e9e0297816b62fb7ce7d", "score": "0.50570273", "text": "@RequestMapping(value = \"/editBottle\",method = RequestMethod.POST)\n @RequiresPermissions(\"business:bottle:edit\")\n @ResponseBody\n public R editBottle(Bottle bottle){\n bottleService.updateById(bottle);\n return R.ok();\n }", "title": "" }, { "docid": "b1a1e7f7bf5ac40cf217fd52ae88528e", "score": "0.50513655", "text": "public interface CrudController<T> {\n\n CrudService<T> getCrudService();\n\n @PostMapping\n default T create(@RequestBody @Valid T item) {\n CrudService<T> crudService = getCrudService();\n String result = crudService.verify(item);\n if (result != null) {\n throw new VerifyException(result);\n }\n return crudService.create(item);\n }\n\n @PutMapping(value = \"/{id}\")\n default T update(@PathVariable int id, @RequestBody @Valid T t) {\n CrudService<T> crudService = getCrudService();\n String result = crudService.verifyUpdate(t);\n if (result != null) {\n throw new VerifyException(result);\n }\n return getCrudService().update(id, t);\n }\n\n @DeleteMapping(value = \"/{id}\")\n default void delete(@PathVariable int id) {\n getCrudService().delete(id);\n }\n\n\n}", "title": "" }, { "docid": "3548d398a06acbd15712158e6039ae23", "score": "0.5046678", "text": "protected Object executePut(String path, String body, int expectedCode)\n throws CloudAppException {\n HttpPut req = new HttpPut(path);\n if (body != null) {\n req.setEntity(transformJSONtoEntity(body));\n }\n return executeRequest(req, expectedCode);\n }", "title": "" }, { "docid": "a2db1a2af1e506bff1badeb86e9b2c9e", "score": "0.50428075", "text": "@Test\n public void update3() {\n Client client = ClientBuilder.newClient();\n WebTarget target = client.target(update_url);\n Date date = new Date();\n TscUserProfile user = new TscUserProfile(\"DDDDDXX\", \"123456\", \"NH9499003\",\"17677777777\", \"updateName\", \"address\", \"salt\", date, date);\n Response response = target.request().put(Entity.entity(user, MediaType.APPLICATION_JSON_TYPE));\n try {\n LOGGER.info(\"update3 response body: {}\", response.readEntity(String.class));\n assertEquals(Status.NOT_FOUND.getStatusCode(), response.getStatus());\n } finally {\n response.close();\n client.close();\n }\n }", "title": "" }, { "docid": "ec55882b3b4735d1b434974156e67da6", "score": "0.50389546", "text": "@PostMapping(\"/addStudent\") // since spring 4.3 = @RequestMapping(value=\"\" , method=)\r\n public ResponseEntity<Student> savestudent(@RequestBody Student student)\r\n\t{\r\n\t studentService.createStudent(student);\r\n\t return new ResponseEntity<Student>(student, HttpStatus.CREATED); // 201\r\n }", "title": "" } ]
ce9a952f0be3e4067d31aa0e8375e76d
Test case number: 106 /Coverage entropy=0.5623351446188083
[ { "docid": "234c1cdb4d4c6521738b219b953315e1", "score": "0.0", "text": "@Test(timeout = 4000)\n public void test106() throws Throwable {\n boolean boolean0 = DBUtil.existsEnvironment(\"RKednuw?4['\");\n assertFalse(boolean0);\n }", "title": "" } ]
[ { "docid": "474568e3244a9a9f12834ec6bd55c9e9", "score": "0.73041314", "text": "@Test\n public void test35() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n CostMatrix costMatrix0 = new CostMatrix(0);\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\n double double0 = evaluation0.coverageOfTestCasesByPredictedRegions();\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\n assertEquals(Double.NaN, double0, 0.01D);\n }", "title": "" }, { "docid": "2aa1c13bc0dcb82dcfac901ea641ea99", "score": "0.6804795", "text": "@Test\n public void test52() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.correct();\n assertEquals(0.0, double0, 0.01D);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\n }", "title": "" }, { "docid": "3bf6260ff7ca41d881514ae7b2bcdcd5", "score": "0.67336595", "text": "@Test\n\tpublic void testEntropyCalculation()\n\t{\n\t\tassertEquals(1.0, tree.entropy(5, 10), 0.0);\n\t\tassertEquals(0.0, tree.entropy(1, 1), 0.0);\n\t\tassertEquals(0.8113, tree.entropy(3, 4), 0.0001);\n\t\tassertEquals(0.9183, tree.entropy(2, 6), 0.0001);\n\t\tassertEquals(0.0, tree.entropy(0, 2), 0.0);\n\t\tassertEquals(0.9544, tree.entropy(5, 8), 0.0001);\n\t\tassertEquals(0.9852, tree.entropy(4, 7), 0.0001);\n\t\tassertEquals(0.9183, tree.entropy(1, 3), 0.0001);\n\n\t}", "title": "" }, { "docid": "fb9c3eb9b2c4c11c5e573d733dd9e8b9", "score": "0.66588885", "text": "@Test\n public void test46() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0, (CostMatrix) null);\n String string0 = evaluation0.toSummaryString(false);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\n assertEquals(0.0, evaluation0.unclassified(), 0.01D);\n assertEquals(\"=== Summary ===\\n\\nTotal Number of Instances 0 \\n\", string0);\n }", "title": "" }, { "docid": "cf996f59f65fb5be3c8b1d845b74eace", "score": "0.6613548", "text": "@Test\n public void test23() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0, (CostMatrix) null);\n double double0 = evaluation0.SFPriorEntropy();\n assertEquals(0.0, double0, 0.01D);\n }", "title": "" }, { "docid": "cb6bea12e5cbe335dcb534a7080ea3b2", "score": "0.65979177", "text": "@Test\n public void test45() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0, (CostMatrix) null);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\n \n evaluation0.useNoPriors();\n double double0 = evaluation0.SFMeanPriorEntropy();\n assertEquals(Double.NaN, evaluation0.SFEntropyGain(), 0.01D);\n assertEquals(Double.NaN, double0, 0.01D);\n }", "title": "" }, { "docid": "5dc99221ebb74715ef1126f8b2007956", "score": "0.6572059", "text": "@Test\n public void test49() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0, (CostMatrix) null);\n double double0 = evaluation0.numInstances();\n assertEquals(0.0, double0, 0.01D);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\n }", "title": "" }, { "docid": "f1fdfa6905918c08277267d5ea135cde", "score": "0.6540927", "text": "@Test\n public void test47() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0, (CostMatrix) null);\n double double0 = evaluation0.pctIncorrect();\n assertEquals(Double.NaN, double0, 0.01D);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\n }", "title": "" }, { "docid": "34157984a81a7b27e0c7127a92bb09ff", "score": "0.6525928", "text": "@Test\n public void test40() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate();\n Evaluation evaluation0 = new Evaluation(instances0);\n Instances instances1 = evaluation0.getHeader();\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\n }", "title": "" }, { "docid": "1424c4b316a3fb97ff3dbe5caba2aeeb", "score": "0.6457378", "text": "@Test\n public void test24() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n CostMatrix costMatrix0 = new CostMatrix(0);\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\n double double0 = evaluation0.KBInformation();\n assertEquals(0.0, double0, 0.01D);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\n }", "title": "" }, { "docid": "978e25d4677dd4fa5aaa02a0e0459e41", "score": "0.644707", "text": "@Test\n public void test07() throws Throwable {\n DecisionTable decisionTable0 = new DecisionTable();\n Capabilities capabilities0 = decisionTable0.getCapabilities();\n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n boolean boolean0 = evaluation0.equals((Object) evaluation0);\n assertTrue(boolean0);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\n }", "title": "" }, { "docid": "d61896aad700f25afb094d92fda2f865", "score": "0.6394943", "text": "@Test\n public void test44() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0, (CostMatrix) null);\n String string0 = evaluation0.toClassDetailsString(\"main\");\n assertEquals(\"main\\n TP Rate FP Rate Precision Recall F-Measure MCC ROC Area PRC Area Class\\nWeighted Avg. NaN NaN NaN NaN NaN NaN NaN NaN \\n\", string0);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\n }", "title": "" }, { "docid": "ba0bc6566b64bb91ad6f59549457c296", "score": "0.6352885", "text": "@Test\r\n public void testCalcRiverCrossingProbability() {\r\n System.out.println(\"Test 1\");\r\n int riverDepth = 4;\r\n int wagonWeight = 7;\r\n int oxenStrength = 2;\r\n int expResult = 13;\r\n int result = EventControl.calcRiverCrossingProbability(riverDepth, wagonWeight, oxenStrength);\r\n assertEquals(expResult, result);\r\n \r\n System.out.println(\"Test 2\");\r\n riverDepth = -1;\r\n wagonWeight = 60;\r\n oxenStrength = 43;\r\n expResult = 0;\r\n result = EventControl.calcRiverCrossingProbability(riverDepth, wagonWeight, oxenStrength);\r\n assertEquals(expResult, result);\r\n \r\n System.out.println(\"Test 3\");\r\n riverDepth = 12;\r\n wagonWeight = 11;\r\n oxenStrength = -1;\r\n expResult = 0;\r\n result = EventControl.calcRiverCrossingProbability(riverDepth, wagonWeight, oxenStrength);\r\n assertEquals(expResult, result);\r\n \r\n System.out.println(\"Test 4\");\r\n riverDepth = 54;\r\n wagonWeight = 13;\r\n oxenStrength = -2;\r\n expResult = 0;\r\n result = EventControl.calcRiverCrossingProbability(riverDepth, wagonWeight, oxenStrength);\r\n assertEquals(expResult, result);\r\n \r\n System.out.println(\"Test 5\");\r\n riverDepth = 1;\r\n wagonWeight = 1;\r\n oxenStrength = 1;\r\n expResult = 3;\r\n result = EventControl.calcRiverCrossingProbability(riverDepth, wagonWeight, oxenStrength);\r\n assertEquals(expResult, result);\r\n \r\n System.out.println(\"Test 6\");\r\n riverDepth = 10;\r\n wagonWeight = 10;\r\n oxenStrength = 10;\r\n expResult = 30;\r\n result = EventControl.calcRiverCrossingProbability(riverDepth, wagonWeight, oxenStrength);\r\n assertEquals(expResult, result);\r\n }", "title": "" }, { "docid": "5cdf581555de2b2139a483dd1c10ac4e", "score": "0.63176894", "text": "@Ignore(\"Test path unreachable\")\n @Test\n public void testCalculateProbability5() throws Exception {\n\n }", "title": "" }, { "docid": "ebbbfc334b696b98f152c9d725a0946a", "score": "0.63050085", "text": "@Test\n public void test22() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.SFMeanPriorEntropy();\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\n assertEquals(Double.NaN, double0, 0.01D);\n }", "title": "" }, { "docid": "2791493a1b86cc948adad6314a39ef16", "score": "0.63031316", "text": "@Test\n public void test13() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.numFalsePositives(0);\n assertEquals(0.0, double0, 0.01D);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\n }", "title": "" }, { "docid": "ef1047b554a3eda736ba4c74d68beedf", "score": "0.62883", "text": "@Ignore\n @Test\n public void testDistanceBasedProbabilities() {\n double fireFrontProb = cltModel.getContentBasedProbability(0,280000, DataTypes.PANIC);\n double midDistfireFrontProb = cltModel.getContentBasedProbability(0,295000, DataTypes.PANIC);\n double farDistfireFrontProb = cltModel.getContentBasedProbability(0,310000, DataTypes.PANIC);\n\n Assert.assertEquals(0.75,fireFrontProb,0.0);\n Assert.assertEquals(0.5,midDistfireFrontProb,0.01);\n Assert.assertEquals(0.25,farDistfireFrontProb,0.01);\n\n //checking wait based probabilities\n double farEndWaitProb = cltModel.getContentBasedProbability(0,310000, DataTypes.WAIT);\n double midDistWaitProb = cltModel.getContentBasedProbability(0,295000, DataTypes.WAIT);\n double fireFrontWaitProb = cltModel.getContentBasedProbability(0,280000, DataTypes.WAIT);\n\n Assert.assertEquals(0.75,farEndWaitProb,0.01);\n Assert.assertEquals(0.5,midDistWaitProb,0.01);\n Assert.assertEquals(0.25,fireFrontWaitProb,0.01);\n\n //logger.trace(\"val {}\",fireFrontWaitProb);\n }", "title": "" }, { "docid": "3dccc94351d150205de665d1c7e17bf2", "score": "0.6274621", "text": "@Test\n public void test21() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0, (CostMatrix) null);\n double double0 = evaluation0.SFSchemeEntropy();\n assertEquals(0.0, double0, 0.01D);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\n }", "title": "" }, { "docid": "02cd166fc77e07e5cbbae2950ec6854c", "score": "0.6241462", "text": "@Test\n\t@Override\n\tpublic void testNormalDistribution() throws Exception {\n\t}", "title": "" }, { "docid": "e8c6ffaa902b16ea5b5d3689bd1e7fcb", "score": "0.6240228", "text": "@Test\n public void test16() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.weightedTruePositiveRate();\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\n assertEquals(Double.NaN, double0, 0.01D);\n }", "title": "" }, { "docid": "0ab9f6e08523f32b28ecd279f40c2053", "score": "0.62383527", "text": "@Test\n public void test00() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate();\n Evaluation evaluation0 = new Evaluation(instances0);\n evaluation0.setNumericPriorsFromBuffer();\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\n }", "title": "" }, { "docid": "836417fa90386f105b72a2a8dbb84974", "score": "0.6224315", "text": "@Test(timeout = 4000)\n public void test116() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixSignificance0);\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixCSV0);\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n \n String string0 = resultMatrixCSV0.toString();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(string0);\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"Dataset,[1]\\nrow0,''\\n'[v/ /*]',''\\n\", string0);\n \n boolean boolean0 = resultMatrixCSV0.getPrintColNames();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(boolean0);\n \n String string1 = resultMatrixCSV0.toStringSummary();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(string1);\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(string1.equals((Object)string0));\n assertEquals(\"-summary data not set-\", string1);\n \n boolean boolean1 = resultMatrixCSV0.getDefaultEnumerateRowNames();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(boolean1 == boolean0);\n assertFalse(boolean1);\n \n String string2 = resultMatrixCSV0.toStringKey();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(string2);\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(string2.equals((Object)string0));\n assertFalse(string2.equals((Object)string1));\n assertEquals(\"Key,\\n[1],col0\\n\", string2);\n \n ResultMatrixCSV resultMatrixCSV1 = new ResultMatrixCSV();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixCSV1);\n assertEquals(0, resultMatrixCSV1.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV1.globalInfo());\n assertTrue(resultMatrixCSV1.getPrintRowNames());\n assertEquals(\"CSV\", resultMatrixCSV1.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV1.showAverageTipText());\n assertEquals(1, resultMatrixCSV1.getVisibleColCount());\n assertFalse(resultMatrixCSV1.getRemoveFilterName());\n assertEquals(2, resultMatrixCSV1.getDefaultMeanPrec());\n assertEquals(1, resultMatrixCSV1.getColCount());\n assertEquals(0, resultMatrixCSV1.getDefaultStdDevWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV1.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV1.getColNameWidth());\n assertEquals(0, resultMatrixCSV1.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV1.getDefaultMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV1.countWidthTipText());\n assertFalse(resultMatrixCSV1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV1.getMeanWidth());\n assertEquals(1, resultMatrixCSV1.getVisibleRowCount());\n assertEquals(0, resultMatrixCSV1.getStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV1.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV1.getShowAverage());\n assertTrue(resultMatrixCSV1.getEnumerateColNames());\n assertEquals(2, resultMatrixCSV1.getStdDevPrec());\n assertFalse(resultMatrixCSV1.getDefaultShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV1.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV1.meanWidthTipText());\n assertFalse(resultMatrixCSV1.getDefaultShowStdDev());\n assertEquals(2, resultMatrixCSV1.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV1.colNameWidthTipText());\n assertEquals(25, resultMatrixCSV1.getDefaultRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV1.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV1.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV1.stdDevWidthTipText());\n assertEquals(1, resultMatrixCSV1.getRowCount());\n assertFalse(resultMatrixCSV1.getPrintColNames());\n assertFalse(resultMatrixCSV1.getEnumerateRowNames());\n assertEquals(25, resultMatrixCSV1.getRowNameWidth());\n assertEquals(0, resultMatrixCSV1.getSignificanceWidth());\n assertTrue(resultMatrixCSV1.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV1.showStdDevTipText());\n assertTrue(resultMatrixCSV1.getDefaultEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV1.removeFilterNameTipText());\n assertFalse(resultMatrixCSV1.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV1.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV1.stdDevPrecTipText());\n assertEquals(2, resultMatrixCSV1.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV1.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV1.enumerateColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV1.significanceWidthTipText());\n assertFalse(resultMatrixCSV1.equals((Object)resultMatrixCSV0));\n \n String string3 = resultMatrixCSV1.printRowNamesTipText();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(string3);\n assertNotSame(resultMatrixCSV1, resultMatrixCSV0);\n assertEquals(0, resultMatrixCSV1.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV1.globalInfo());\n assertTrue(resultMatrixCSV1.getPrintRowNames());\n assertEquals(\"CSV\", resultMatrixCSV1.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV1.showAverageTipText());\n assertEquals(1, resultMatrixCSV1.getVisibleColCount());\n assertFalse(resultMatrixCSV1.getRemoveFilterName());\n assertEquals(2, resultMatrixCSV1.getDefaultMeanPrec());\n assertEquals(1, resultMatrixCSV1.getColCount());\n assertEquals(0, resultMatrixCSV1.getDefaultStdDevWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV1.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV1.getColNameWidth());\n assertEquals(0, resultMatrixCSV1.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV1.getDefaultMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV1.countWidthTipText());\n assertFalse(resultMatrixCSV1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV1.getMeanWidth());\n assertEquals(1, resultMatrixCSV1.getVisibleRowCount());\n assertEquals(0, resultMatrixCSV1.getStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV1.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV1.getShowAverage());\n assertTrue(resultMatrixCSV1.getEnumerateColNames());\n assertEquals(2, resultMatrixCSV1.getStdDevPrec());\n assertFalse(resultMatrixCSV1.getDefaultShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV1.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV1.meanWidthTipText());\n assertFalse(resultMatrixCSV1.getDefaultShowStdDev());\n assertEquals(2, resultMatrixCSV1.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV1.colNameWidthTipText());\n assertEquals(25, resultMatrixCSV1.getDefaultRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV1.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV1.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV1.stdDevWidthTipText());\n assertEquals(1, resultMatrixCSV1.getRowCount());\n assertFalse(resultMatrixCSV1.getPrintColNames());\n assertFalse(resultMatrixCSV1.getEnumerateRowNames());\n assertEquals(25, resultMatrixCSV1.getRowNameWidth());\n assertEquals(0, resultMatrixCSV1.getSignificanceWidth());\n assertTrue(resultMatrixCSV1.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV1.showStdDevTipText());\n assertTrue(resultMatrixCSV1.getDefaultEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV1.removeFilterNameTipText());\n assertFalse(resultMatrixCSV1.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV1.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV1.stdDevPrecTipText());\n assertEquals(2, resultMatrixCSV1.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV1.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV1.enumerateColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV1.significanceWidthTipText());\n assertFalse(resultMatrixCSV1.equals((Object)resultMatrixCSV0));\n assertFalse(string3.equals((Object)string0));\n assertFalse(string3.equals((Object)string1));\n assertFalse(string3.equals((Object)string2));\n assertEquals(\"Whether to output row names or just numbers representing them.\", string3);\n \n int int0 = 0;\n int int1 = resultMatrixCSV1.getDisplayCol(25);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotSame(resultMatrixCSV1, resultMatrixCSV0);\n assertEquals(0, resultMatrixCSV1.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV1.globalInfo());\n assertTrue(resultMatrixCSV1.getPrintRowNames());\n assertEquals(\"CSV\", resultMatrixCSV1.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV1.showAverageTipText());\n assertEquals(1, resultMatrixCSV1.getVisibleColCount());\n assertFalse(resultMatrixCSV1.getRemoveFilterName());\n assertEquals(2, resultMatrixCSV1.getDefaultMeanPrec());\n assertEquals(1, resultMatrixCSV1.getColCount());\n assertEquals(0, resultMatrixCSV1.getDefaultStdDevWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV1.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV1.getColNameWidth());\n assertEquals(0, resultMatrixCSV1.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV1.getDefaultMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV1.countWidthTipText());\n assertFalse(resultMatrixCSV1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV1.getMeanWidth());\n assertEquals(1, resultMatrixCSV1.getVisibleRowCount());\n assertEquals(0, resultMatrixCSV1.getStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV1.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV1.getShowAverage());\n assertTrue(resultMatrixCSV1.getEnumerateColNames());\n assertEquals(2, resultMatrixCSV1.getStdDevPrec());\n assertFalse(resultMatrixCSV1.getDefaultShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV1.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV1.meanWidthTipText());\n assertFalse(resultMatrixCSV1.getDefaultShowStdDev());\n assertEquals(2, resultMatrixCSV1.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV1.colNameWidthTipText());\n assertEquals(25, resultMatrixCSV1.getDefaultRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV1.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV1.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV1.stdDevWidthTipText());\n assertEquals(1, resultMatrixCSV1.getRowCount());\n assertFalse(resultMatrixCSV1.getPrintColNames());\n assertFalse(resultMatrixCSV1.getEnumerateRowNames());\n assertEquals(25, resultMatrixCSV1.getRowNameWidth());\n assertEquals(0, resultMatrixCSV1.getSignificanceWidth());\n assertTrue(resultMatrixCSV1.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV1.showStdDevTipText());\n assertTrue(resultMatrixCSV1.getDefaultEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV1.removeFilterNameTipText());\n assertFalse(resultMatrixCSV1.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV1.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV1.stdDevPrecTipText());\n assertEquals(2, resultMatrixCSV1.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV1.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV1.enumerateColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV1.significanceWidthTipText());\n assertFalse(resultMatrixCSV1.equals((Object)resultMatrixCSV0));\n assertFalse(int1 == int0);\n assertEquals((-1), int1);\n \n double double0 = resultMatrixCSV0.getCount(1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotSame(resultMatrixCSV0, resultMatrixCSV1);\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.equals((Object)resultMatrixCSV1));\n assertEquals(0.0, double0, 0.01);\n \n UnaryOperator<Object> unaryOperator0 = UnaryOperator.identity();\n assertNotNull(unaryOperator0);\n \n Vector<Object> vector0 = new Vector<Object>();\n assertNotNull(vector0);\n assertEquals(\"[]\", vector0.toString());\n assertTrue(vector0.isEmpty());\n assertEquals(10, vector0.capacity());\n assertEquals(0, vector0.size());\n assertFalse(vector0.contains(25));\n \n vector0.replaceAll(unaryOperator0);\n assertEquals(\"[]\", vector0.toString());\n assertTrue(vector0.isEmpty());\n assertEquals(10, vector0.capacity());\n assertEquals(0, vector0.size());\n assertFalse(vector0.contains(25));\n \n ResultMatrixLatex resultMatrixLatex0 = null;\n try {\n resultMatrixLatex0 = new ResultMatrixLatex((-2927), 26);\n fail(\"Expecting exception: NegativeArraySizeException\");\n \n } catch(NegativeArraySizeException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "title": "" }, { "docid": "4c729f4977d6a88e7775d3c5176ffbe1", "score": "0.62144214", "text": "@Test\n public void test43() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate();\n Evaluation evaluation0 = new Evaluation(instances0);\n double[] doubleArray0 = evaluation0.getClassPriors();\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\n assertNotNull(doubleArray0);\n }", "title": "" }, { "docid": "19f2c041259e85144e80dbbeb81d10b5", "score": "0.62105", "text": "@Test\n public void generateCNVGenes() throws IOException {\n //int totalSamples = 151;\n Map<String, List<String>> deletedGeneToSamples = getDeletedGeneToSamples();\n Map<String, List<String>> amplifiedGeneToSamples = getAmplifiedGeneToSamples();\n // Check distribution\n Map<Integer, Set<String>> sampleToDeletedGeneSet = generateSampleToGeneSet(deletedGeneToSamples);\n Map<Integer, Set<String>> sampleToAmplifedGeneSet = generateSampleToGeneSet(amplifiedGeneToSamples);\n System.out.println(\"CNV Deleted Genes:\");\n outputSampleToCNVGenes(sampleToDeletedGeneSet);\n System.out.println(\"CNV Amplified Genes:\");\n outputSampleToCNVGenes(sampleToAmplifedGeneSet);\n// // Want to calculate average shortest path among deleted genes at certain level\n// Set<String> fis = fu.loadInteractions(R3Constants.GENE_FI_BIG_COMP_FILE_NAME);\n// Set<String> fiIds = InteractionUtilities.grepIDsFromInteractions(fis);\n// BreadthFirstSearch bfs = new BreadthFirstSearch();\n// Map<String, Set<String>> geneToPartners = bfs.generateIdToPartnersMap(fis);\n//// double shortestPath = calculateAverageDistance(allGenes, bfs, geneToPartners);\n//// System.out.println(\"All\\t0\\t\" + allGenes.size() + \"\\t\" + shortestPath);\n// for (Integer number : list) {\n// if (number < 90)\n// continue;\n// Set<String> allGenes = new HashSet<String>();\n// for (Integer tmp : list) {\n// if (tmp < number)\n// continue;\n// Set<String> set = sampleToAmplifedGeneSet.get(tmp);\n// if (set != null)\n// allGenes.addAll(set);\n// set = sampleToDeletedGeneSet.get(tmp);\n// if (set != null)\n// allGenes.addAll(set);\n// }\n// System.out.println(\"All genes: \" + allGenes.size());\n// double shortestPath = calculateAverageDistance(allGenes,\n// bfs,\n// geneToPartners);\n// System.out.println(number + \"\\t\" + \n// allGenes.size() + \"\\t\" +\n// shortestPath);\n// }\n }", "title": "" }, { "docid": "e8c3734ffc53a48857dd7a21e3c3a44a", "score": "0.6193349", "text": "@Test\n\tpublic void test_getEstimatedMemoryRatio() {\n\t}", "title": "" }, { "docid": "5ec3e028b5fb5ee5fb758f4cdc7ec20f", "score": "0.61547077", "text": "@Test\n public void test01() throws Throwable {\n DecisionTable decisionTable0 = new DecisionTable();\n Capabilities capabilities0 = decisionTable0.getCapabilities();\n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double[] doubleArray0 = new double[4];\n evaluation0.updateNumericScores(doubleArray0, doubleArray0, 0.0);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\n }", "title": "" }, { "docid": "2ea3ecaebe25f402de2397e12f698811", "score": "0.61531913", "text": "@Test\n public void testFitness() {\n assertEquals(Integer.valueOf(43), enviroment.calculateFitness(new Chromosome(\"phqgiumeaylnofdxjkrcvstzwb\")));\n }", "title": "" }, { "docid": "70ae4b83047ff4d59d2315df95a9ac0d", "score": "0.6139001", "text": "@Test(timeout = 4000)\n public void test16() throws Throwable {\n JRip jRip0 = new JRip();\n boolean boolean0 = jRip0.getCheckErrorRate();\n assertEquals(1L, jRip0.getSeed());\n assertTrue(jRip0.getUsePruning());\n assertTrue(boolean0);\n assertFalse(jRip0.getDebug());\n assertEquals(3, jRip0.getFolds());\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n }", "title": "" }, { "docid": "3196e74b8fe077fa151c4098dfccd3bf", "score": "0.61306816", "text": "@Test\n public void test20() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0, (CostMatrix) null);\n double double0 = evaluation0.SFMeanSchemeEntropy();\n assertEquals(Double.NaN, double0, 0.01D);\n }", "title": "" }, { "docid": "82cb4fdbc0e6a9a16ddb3c783470a527", "score": "0.6127339", "text": "@Test\n public void qualityScoreTest() {\n // TODO: test qualityScore\n }", "title": "" }, { "docid": "a4d3957fa6af52edaaf8ce0cb463af48", "score": "0.61066437", "text": "@Test(timeout = 4000)\n public void test46() throws Throwable {\n JRip jRip0 = new JRip();\n Attribute attribute0 = new Attribute(\"\", 573);\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute0);\n double double0 = jRip_NominalAntd0.getAccu();\n assertEquals(0.0, jRip_NominalAntd0.getMaxInfoGain(), 0.01);\n assertEquals(Double.NaN, double0, 0.01);\n assertEquals(3, jRip0.getFolds());\n assertFalse(jRip0.getDebug());\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(Double.NaN, jRip_NominalAntd0.getAttrValue(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getCover(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccuRate(), 0.01);\n assertEquals(1L, jRip0.getSeed());\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertTrue(jRip0.getUsePruning());\n }", "title": "" }, { "docid": "be86eb44a5cfd7c59ec82c756b9e4e43", "score": "0.6094011", "text": "@Test\n public void test18() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0);\n String string0 = evaluation0.toCumulativeMarginDistributionString();\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\n }", "title": "" }, { "docid": "67f6b171ca8f576811afb5276fdcc95c", "score": "0.60822463", "text": "@Test(timeout = 4000)\n public void test60() throws Throwable {\n JRip jRip0 = new JRip();\n Attribute attribute0 = new Attribute(\"NULL\\n\", (List<String>) null, 83);\n Attribute attribute1 = attribute0.copy(\"NULL\\n\");\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute1);\n ArrayList<Attribute> arrayList0 = new ArrayList<Attribute>();\n Instances instances0 = new Instances(\"date\", arrayList0, 2);\n FileSystemHandling.appendDataToFile((EvoSuiteFile) null, (byte[]) null);\n instances0.sort(attribute1);\n Instances[] instancesArray0 = jRip_NominalAntd0.splitData(instances0, 3, 1);\n assertEquals(1, instancesArray0.length);\n \n ClassOrder classOrder0 = new ClassOrder();\n InputMappedClassifier inputMappedClassifier0 = new InputMappedClassifier();\n SparseInstance sparseInstance0 = new SparseInstance(1824);\n SparseInstance sparseInstance1 = new SparseInstance(83);\n sparseInstance0.toString(545, 1);\n boolean boolean0 = jRip_NominalAntd0.covers(sparseInstance0);\n assertFalse(boolean0);\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccu(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccuRate(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getCover(), 0.01);\n assertEquals(0.0, jRip_NominalAntd0.getMaxInfoGain(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getAttrValue(), 0.01);\n \n PrincipalComponents principalComponents0 = new PrincipalComponents();\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance((Instance) sparseInstance0);\n String[] stringArray0 = jRip0.getOptions();\n assertEquals(11, stringArray0.length);\n assertFalse(jRip0.getDebug());\n assertTrue(jRip0.getCheckErrorRate());\n assertTrue(jRip0.getUsePruning());\n assertEquals(1L, jRip0.getSeed());\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(3, jRip0.getFolds());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n }", "title": "" }, { "docid": "2096f2e800c05710554d2652987775a7", "score": "0.6077034", "text": "@Test(timeout = 4000)\n public void test68() throws Throwable {\n FileSystemHandling fileSystemHandling0 = new FileSystemHandling();\n ArrayList<Attribute> arrayList0 = new ArrayList<Attribute>();\n byte[] byteArray0 = new byte[4];\n byteArray0[1] = (byte)51;\n byteArray0[2] = (byte)51;\n byteArray0[3] = (byte) (-51);\n FileSystemHandling.appendDataToFile((EvoSuiteFile) null, byteArray0);\n Instances instances0 = new Instances(\"58%FEblGq\", arrayList0, 661);\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance(661);\n instances0.add((Instance) binarySparseInstance0);\n arrayList0.removeAll(instances0);\n ArrayList<String> arrayList1 = new ArrayList<String>();\n Attribute attribute0 = new Attribute(\"@relation\", arrayList1, 961);\n FileSystemHandling.shouldThrowIOException((EvoSuiteFile) null);\n instances0.setClass(attribute0);\n arrayList1.trimToSize();\n binarySparseInstance0.setValue(attribute0, (double) 4);\n Attribute attribute1 = new Attribute(\"SKT_Ux07\", \"\", 661);\n binarySparseInstance0.setMissing(attribute1);\n JRip jRip0 = new JRip();\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd(attribute1);\n BinarySparseInstance binarySparseInstance1 = new BinarySparseInstance((SparseInstance) binarySparseInstance0);\n instances0.add((Instance) binarySparseInstance1);\n attribute0.addRelation(instances0);\n jRip_NumericAntd0.splitData(instances0, Double.NaN, (-1));\n jRip_NumericAntd0.covers(binarySparseInstance0);\n jRip0.toString();\n jRip_NumericAntd0.splitData(instances0, 3, 1);\n jRip_NumericAntd0.splitData(instances0, 2, (-0.2630344058337938));\n assertEquals(1.0, jRip_NumericAntd0.getSplitPoint(), 0.01);\n assertEquals(0.0, jRip_NumericAntd0.getAttrValue(), 0.01);\n }", "title": "" }, { "docid": "0624abcc8bdef5e6e499b662ff00e32e", "score": "0.60712045", "text": "@Test(timeout = 4000)\n public void test51() throws Throwable {\n JRip jRip0 = new JRip();\n LinkedList<String> linkedList0 = new LinkedList<String>();\n linkedList0.add(\"U;eCJK\");\n Attribute attribute0 = new Attribute(\"\", linkedList0);\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance(1);\n binarySparseInstance0.copy();\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute0);\n SparseInstance sparseInstance0 = new SparseInstance((SparseInstance) binarySparseInstance0);\n jRip_NominalAntd0.covers(sparseInstance0);\n PrincipalComponents principalComponents0 = new PrincipalComponents();\n BinarySparseInstance binarySparseInstance1 = new BinarySparseInstance((Instance) sparseInstance0);\n assertEquals(1, binarySparseInstance1.numValues());\n }", "title": "" }, { "docid": "2383e6061d5b2ea186759f53baca73db", "score": "0.60703194", "text": "@Test\n public void test34() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.areaUnderROC(0);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\n }", "title": "" }, { "docid": "3647cacfca390429ff3ec92ecc37d6c2", "score": "0.6068561", "text": "@Test(timeout = 4000)\n public void test31() throws Throwable {\n FileSystemHandling fileSystemHandling0 = new FileSystemHandling();\n ArrayList<Attribute> arrayList0 = new ArrayList<Attribute>();\n byte[] byteArray0 = new byte[4];\n byteArray0[1] = (byte)51;\n byteArray0[2] = (byte)77;\n byteArray0[3] = (byte) (-51);\n FileSystemHandling.appendDataToFile((EvoSuiteFile) null, byteArray0);\n Instances instances0 = new Instances(\"58%FEblGq\", arrayList0, 661);\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance(661);\n instances0.add((Instance) binarySparseInstance0);\n arrayList0.removeAll(instances0);\n ArrayList<String> arrayList1 = new ArrayList<String>();\n Attribute attribute0 = new Attribute(\"@relation\", arrayList1, 961);\n FileSystemHandling.shouldThrowIOException((EvoSuiteFile) null);\n instances0.setClass(attribute0);\n arrayList1.trimToSize();\n binarySparseInstance0.setValue(attribute0, (double) 4);\n Attribute attribute1 = new Attribute(\"SKT_Ux07\", \"\", 661);\n JRip jRip0 = new JRip();\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd(attribute1);\n BinarySparseInstance binarySparseInstance1 = new BinarySparseInstance((SparseInstance) binarySparseInstance0);\n instances0.add((Instance) binarySparseInstance1);\n attribute0.addRelation(instances0);\n jRip_NumericAntd0.splitData(instances0, Double.NaN, (-1));\n jRip_NumericAntd0.covers(binarySparseInstance0);\n jRip0.toString();\n jRip_NumericAntd0.splitData(instances0, 3, 1);\n jRip_NumericAntd0.toString();\n assertEquals(0.0, jRip_NumericAntd0.getAttrValue(), 0.01);\n }", "title": "" }, { "docid": "a5d329f5f717be7b3ed334c0e864f1a5", "score": "0.60588914", "text": "@Test\n public void testCalcPharaohShare5() {\n System.out.println(\"calcPharaohShare\");\n double cropYield = 0.0;\n double pharaohPercent = 0.10;\n double pharaohShare = 0.0;\n double expResult = 0.0;\n double result = PharaohShare.calcPharaohShare(cropYield, pharaohPercent, pharaohShare);\n assertEquals(expResult, result, 0.0);\n \n }", "title": "" }, { "docid": "424c050300db6f0fd5ec775e160634e1", "score": "0.6054117", "text": "public void test_96() {\n }", "title": "" }, { "docid": "fd66898c2848aec189cb234f7c58159f", "score": "0.6033648", "text": "@Test\n public void test19() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.SFEntropyGain();\n assertEquals(0.0, double0, 0.01D);\n }", "title": "" }, { "docid": "c519d97a32f2f9be55a8cd53ac9f3e50", "score": "0.6030066", "text": "@Test(timeout = 4000)\n public void test156() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixSignificance0);\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(resultMatrixSignificance0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixLatex0);\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixLatex0.getRowNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n \n String[] stringArray0 = new String[9];\n stringArray0[0] = \"v\";\n stringArray0[1] = \"(\";\n stringArray0[2] = \"\";\n stringArray0[3] = \"(\";\n stringArray0[4] = \"v\";\n stringArray0[5] = \"*\";\n stringArray0[6] = \")\";\n stringArray0[7] = \"v\";\n stringArray0[8] = \")\";\n resultMatrixLatex0.setOptions(stringArray0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertFalse(resultMatrixLatex0.getPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(9, stringArray0.length);\n \n ResultMatrixLatex resultMatrixLatex1 = new ResultMatrixLatex();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixLatex1);\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n \n resultMatrixLatex1.clearSummary();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n \n ResultMatrixLatex.main(stringArray0);\n assertEquals(9, stringArray0.length);\n \n ResultMatrixLatex resultMatrixLatex2 = new ResultMatrixLatex(resultMatrixLatex1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixLatex2);\n assertTrue(resultMatrixLatex2.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixLatex2.getSignificanceWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex2.showStdDevTipText());\n assertFalse(resultMatrixLatex2.getPrintColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex2.getDisplayName());\n assertEquals(1, resultMatrixLatex2.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex2.meanWidthTipText());\n assertEquals(0, resultMatrixLatex2.getRowNameWidth());\n assertFalse(resultMatrixLatex2.getShowAverage());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex2.globalInfo());\n assertTrue(resultMatrixLatex2.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex2.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex2.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex2.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex2.stdDevPrecTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex2.significanceWidthTipText());\n assertFalse(resultMatrixLatex2.getShowStdDev());\n assertEquals(2, resultMatrixLatex2.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex2.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex2.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex2.printColNamesTipText());\n assertTrue(resultMatrixLatex2.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex2.showAverageTipText());\n assertFalse(resultMatrixLatex2.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex2.getDefaultShowStdDev());\n assertEquals(1, resultMatrixLatex2.getVisibleColCount());\n assertEquals(1, resultMatrixLatex2.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex2.rowNameWidthTipText());\n assertEquals(2, resultMatrixLatex2.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex2.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex2.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex2.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex2.getColNameWidth());\n assertEquals(0, resultMatrixLatex2.getDefaultMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex2.countWidthTipText());\n assertFalse(resultMatrixLatex2.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex2.getDefaultRowNameWidth());\n assertTrue(resultMatrixLatex2.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex2.getStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex2.enumerateRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex2.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex2.colNameWidthTipText());\n assertEquals(2, resultMatrixLatex2.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex2.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex2.getStdDevPrec());\n assertEquals(0, resultMatrixLatex2.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex2.meanPrecTipText());\n assertEquals(1, resultMatrixLatex2.getVisibleRowCount());\n assertFalse(resultMatrixLatex2.getEnumerateRowNames());\n assertFalse(resultMatrixLatex2.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex2.printRowNamesTipText());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertFalse(resultMatrixLatex2.equals((Object)resultMatrixLatex1));\n assertFalse(resultMatrixLatex2.equals((Object)resultMatrixLatex0));\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n \n double double0 = resultMatrixLatex2.getCount(0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotSame(resultMatrixLatex2, resultMatrixLatex1);\n assertNotSame(resultMatrixLatex2, resultMatrixLatex0);\n assertNotSame(resultMatrixLatex1, resultMatrixLatex2);\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n assertTrue(resultMatrixLatex2.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixLatex2.getSignificanceWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex2.showStdDevTipText());\n assertFalse(resultMatrixLatex2.getPrintColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex2.getDisplayName());\n assertEquals(1, resultMatrixLatex2.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex2.meanWidthTipText());\n assertEquals(0, resultMatrixLatex2.getRowNameWidth());\n assertFalse(resultMatrixLatex2.getShowAverage());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex2.globalInfo());\n assertTrue(resultMatrixLatex2.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex2.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex2.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex2.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex2.stdDevPrecTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex2.significanceWidthTipText());\n assertFalse(resultMatrixLatex2.getShowStdDev());\n assertEquals(2, resultMatrixLatex2.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex2.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex2.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex2.printColNamesTipText());\n assertTrue(resultMatrixLatex2.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex2.showAverageTipText());\n assertFalse(resultMatrixLatex2.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex2.getDefaultShowStdDev());\n assertEquals(1, resultMatrixLatex2.getVisibleColCount());\n assertEquals(1, resultMatrixLatex2.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex2.rowNameWidthTipText());\n assertEquals(2, resultMatrixLatex2.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex2.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex2.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex2.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex2.getColNameWidth());\n assertEquals(0, resultMatrixLatex2.getDefaultMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex2.countWidthTipText());\n assertFalse(resultMatrixLatex2.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex2.getDefaultRowNameWidth());\n assertTrue(resultMatrixLatex2.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex2.getStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex2.enumerateRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex2.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex2.colNameWidthTipText());\n assertEquals(2, resultMatrixLatex2.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex2.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex2.getStdDevPrec());\n assertEquals(0, resultMatrixLatex2.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex2.meanPrecTipText());\n assertEquals(1, resultMatrixLatex2.getVisibleRowCount());\n assertFalse(resultMatrixLatex2.getEnumerateRowNames());\n assertFalse(resultMatrixLatex2.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex2.printRowNamesTipText());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertFalse(resultMatrixLatex2.equals((Object)resultMatrixLatex1));\n assertFalse(resultMatrixLatex2.equals((Object)resultMatrixLatex0));\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex2));\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertEquals(0.0, double0, 0.01);\n \n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText(111, 0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixPlainText0);\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(111, resultMatrixPlainText0.getColCount());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(111, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixPlainText0.getRowCount());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(0, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(1, 1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixGnuPlot0);\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n \n String string0 = resultMatrixGnuPlot0.toStringSummary();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(string0);\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"-summary data not set-\", string0);\n }", "title": "" }, { "docid": "f4f6cc0c16e6acfdeb2b72820512f706", "score": "0.60300374", "text": "@Test\n public void generateSampleToGeneSetExpScoreAndMutations() throws Exception {\n// String line = \"GRIN3A,GRIN2B,GRIN2D,GRIN2A,RASGRF2,RYR3,RYR1,RYR2,CACNA2D1,\" +\n// \t\t \"CACNA1S,CACNA1G,CACNA1E,CACNA1F,CACNA1C,CACNA1D,CACNA1A,GRIA4,AKAP6\";\n// String line = \"DYNC2H1,DYNC1H1,DYNC1I1,DNAH11,DNAH10,DNAH9,DNAH3,DNAH1,DNAH2,DNAH7,DNAH8,DNAH5\";\n// String line = \"MAP3K7,DYNC2H1,DYNC1H1,ACVR2B,KALRN,DNAH11,DNAH10,\" +\n// \t\t\"DNAH9,DNAH3,BMPR2,DNAH1,DNAH2,DNAH7,DNAH8,DNAH5,TGFBR2\";\n// String line = \"CEP250,CEP290,DYNC1H1,PPP2R1A,DCTN1,TUBA4A,AKAP9,CEP192,PCNT,ALMS1,CENPJ\";\n //String line = \"GRIN2D,GRIN2A,RYR3,RYR1,RYR2,CACNA1S,CACNA1G,CACNA1E,CACNA1F,CACNA1C,CACNA1D,CACNA1A\";\n //String line = \"GRIN3A,GRIN2B,GRIN2D,DYNC2H1,DYNC1H1,DYNC1I1,GRIN2A,DCTN1,\" +\n //\t\t\"KALRN,DNAH11,DNAH10,DNAH9,DNAH3,DNAH1,DNAH7,DNAH8,DNAH5,HAP1,HTT,CYFIP2,CYFIP1\";\n String line = \"DYNC2H1,DYNC1H1,DYNC1I1,DCTN1,TUBA4A,DNAH11,DNAH10,DNAH9,DNAH3,DNAH1,\" +\n \t\t\"DNAH2,DNAH7,DNAH8,DNAH5,TUBA3C,CENPJ,CEP250,CEP290,DYNC1H1,PPP2R1A,DCTN1,\" +\n \t\t\"TUBA4A,AKAP9,CEP192,PCNT,ALMS1,CENPJ\";\n String[] geneSet = line.split(\",\");\n Set<String> genes = new HashSet<String>();\n for (String gene : geneSet)\n genes.add(gene);\n System.out.println(\"Total genes: \" + genes.size());\n Map<String, Map<String, Double>> geneToSampleToValue = loadGeneExp();\n // Do some clean up of the above file\n for (String gene : geneToSampleToValue.keySet()) {\n Map<String, Double> sampleToValue = geneToSampleToValue.get(gene);\n Map<String, Double> copy = new HashMap<String, Double>();\n for (String sample : sampleToValue.keySet()) {\n if (sample.contains(\".11A.\"))\n continue; // Don't want to use normal samples\n Double value = sampleToValue.get(sample);\n sample = sample.substring(0, 12);\n sample = sample.replaceAll(\"\\\\.\", \"-\");\n copy.put(sample, value);\n }\n geneToSampleToValue.put(gene, copy);\n }\n // Reference gene expression patterns are based on average values for all cancer samples\n List<Double> meanValues = new ArrayList<Double>();\n Map<String, List<Double>> sampleToValues = new HashMap<String, List<Double>>();\n for (String gene : genes) {\n Map<String, Double> sampleToValue = geneToSampleToValue.get(gene);\n if (sampleToValue == null)\n continue;\n // Calculate average\n double total = 0.0d;\n for (String sample : sampleToValue.keySet()) {\n Double value = sampleToValue.get(sample);\n total += value;\n List<Double> values = sampleToValues.get(sample);\n if (values == null) {\n values = new ArrayList<Double>();\n sampleToValues.put(sample, values);\n }\n values.add(value);\n }\n meanValues.add(total / sampleToValue.size());\n }\n System.out.println(\"Total samples in sampleToValues: \" + sampleToValues.size());\n String outFileName = OVARIAN_DIR_NAME + \"SampleToExpMeanForModule4_Microtube_G2M_Module_100410.txt\";\n fu.setOutput(outFileName);\n fu.printLine(\"Sample\\tType\\tAverage\\tCorrelation\");\n double cutoff = 0.0d;\n for (String sample : sampleToValues.keySet()) {\n List<Double> values = sampleToValues.get(sample);\n Double corr = MathUtilities.calculatePearsonCorrelation(meanValues, values);\n Double average = MathUtilities.calculateMean(values);\n if (average > cutoff)\n fu.printLine(sample + \"\\t1\\t\" + average + \"\\t\" + corr);\n else if (average < -cutoff)\n fu.printLine(sample + \"\\t-1\\t\" + average + \"\\t\" + corr);\n }\n }", "title": "" }, { "docid": "bfe9ddc87440f9d9223496cee8545436", "score": "0.60123056", "text": "public void testGetEntropy()\n {\n System.out.println( \"getEntropy\" );\n ProbabilityMassFunction<Number> pmf =\n new BinomialDistribution.PMF( 10, random.nextDouble() );\n \n double sum = 0.0;\n for( Number x : pmf.getDomain() )\n {\n double p = pmf.evaluate( x );\n sum -= p*MathUtil.log2( p );\n }\n assertEquals( sum, ProbabilityMassFunctionUtil.getEntropy( pmf ) );\n }", "title": "" }, { "docid": "5d5133d10f6823f62fbf2253e66afcc6", "score": "0.6006554", "text": "@Test\n public void test15() throws Throwable {\n Stacking stacking0 = new Stacking();\n Capabilities capabilities0 = stacking0.getCapabilities();\n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n Instances instances0 = testInstances0.generate();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.numTrueNegatives((-1070));\n assertEquals(0.0, double0, 0.01D);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\n }", "title": "" }, { "docid": "3304f20f490f7bc8ddf4b1f544419442", "score": "0.60051745", "text": "public static void main (String[] args) {\n\t double tolerance = 0.00001;\n\t double sampleTolerance = 0.001;\n\t double[] probabilities;\n\t int numSamples = 100000000;\n\t int[] samples = new int[numSamples];\n\t \n\t double[][] testCases = new double[][]{{0.1, 0.2, 0.3, 0.4},\n\t\t\t \t\t\t\t\t\t\t\t{0.5, 0.5},\n\t\t\t \t\t\t\t\t\t\t\t{0.3, 0.7},\n\t\t\t \t\t\t\t\t\t\t\t{0.7, 0.3},\n\t\t\t \t\t\t\t\t\t\t\t{0.9, 0.05, 0.05},\n\t\t\t \t\t\t\t\t\t\t\t{},\n\t\t\t \t\t\t\t\t\t\t\t{},\n\t\t\t \t\t\t\t\t\t\t\t{},\n\t\t\t \t\t\t\t\t\t\t\t{},\n\t\t\t \t\t\t\t\t\t\t\t{}\n\t\t\t \t\t\t\t\t\t\t};\n\t for (int j = 0; j < 5; j++) {\n\t\t double[] alpha = new double[(j + 1) * 1000];\n\t\t for (int k = 0; k < alpha.length; k++) \n\t\t\t alpha[k] = 0.1;\n\t\t testCases[j + 5] = sampleFromDirichlet(alpha);\n\t }\n\t \n\t \n\t for (int j = 0; j < testCases.length; j++) {\n\t\t System.out.println(\"test case \" + j);\n\t\t probabilities = testCases[j];\n\t\t double[][] alias = generateAlias(probabilities);\n\t\t double[] tempProbs = debugAlias(alias);\n\t\t for (int i = 0; i < probabilities.length; i++) {\n\t\t\t assert(Math.abs(tempProbs[i] - probabilities[i]) < tolerance);\n\t\t }\n\t\t System.out.println(\"passed distribution asserts!\");\n\t\t \n\t\t \n\t\t double[] counts = new double[probabilities.length];\n\t\t for (int k = 0; k < numSamples; k++) {\n\t\t\t counts[sampleAlias(alias)]++;\n\t\t }\n\t\t for (int k = 0; k < counts.length; k++) {\n\t\t\t counts[k] = counts[k] / numSamples;\n\t\t }\n\t\t for (int k = 0; k < counts.length; k++) {\n\t\t\t assert(Math.abs(counts[k] - probabilities[k]) < sampleTolerance);\n\t\t }\n\t\t System.out.println(\"passed sampling asserts!\");\n\t\t \n\t\t \n\t\t sampleAlias(alias, samples);\n\t\t counts = new double[probabilities.length];\n\t\t for (int k = 0; k < numSamples; k++) {\n\t\t\t counts[samples[k]]++;\n\t\t }\n\t\t for (int k = 0; k < counts.length; k++) {\n\t\t\t counts[k] = counts[k] / numSamples;\n\t\t }\n\t\t for (int k = 0; k < counts.length; k++) {\n\t\t\t assert(Math.abs(counts[k] - probabilities[k]) < sampleTolerance);\n\t\t }\n\t\t System.out.println(\"passed sampling into array asserts!\");\n\t\t System.out.println(\"\");\n\t }\n }", "title": "" }, { "docid": "cda43d03a532579b0f14c17256fe1c88", "score": "0.6003392", "text": "@Test\n public void test17() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate();\n Evaluation evaluation0 = new Evaluation(instances0);\n String string0 = evaluation0.toMatrixString(\"The,quick,brown,fox,jumps,over,the,lazy,dog\");\n assertEquals(\"The,quick,brown,fox,jumps,over,the,lazy,dog\\n a b <-- classified as\\n 0 0 | a = class1\\n 0 0 | b = class2\\n\", string0);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\n }", "title": "" }, { "docid": "18c260180b31d2a507bf7773b7b6a58f", "score": "0.5997306", "text": "@Test(timeout = 4000)\n public void test09() throws Throwable {\n JRip jRip0 = new JRip();\n Attribute attribute0 = new Attribute((String) null, 26);\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute0);\n double double0 = jRip_NominalAntd0.getMaxInfoGain();\n assertEquals(Double.NaN, jRip_NominalAntd0.getAttrValue(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getCover(), 0.01);\n assertTrue(jRip0.getUsePruning());\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccuRate(), 0.01);\n assertEquals(1L, jRip0.getSeed());\n assertFalse(jRip0.getDebug());\n assertEquals(3, jRip0.getFolds());\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccu(), 0.01);\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(0.0, double0, 0.01);\n assertTrue(jRip0.getCheckErrorRate());\n }", "title": "" }, { "docid": "9ff6af171c97e033aed4bc8345fb96ea", "score": "0.59937584", "text": "@Test(timeout = 4000)\n public void test58() throws Throwable {\n FileSystemHandling fileSystemHandling0 = new FileSystemHandling();\n ArrayList<Attribute> arrayList0 = new ArrayList<Attribute>();\n byte[] byteArray0 = new byte[4];\n byteArray0[1] = (byte)51;\n byteArray0[2] = (byte)77;\n byteArray0[3] = (byte) (-51);\n FileSystemHandling.appendDataToFile((EvoSuiteFile) null, byteArray0);\n Instances instances0 = new Instances(\"58%FEblGq\", arrayList0, 661);\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance(661);\n instances0.add((Instance) binarySparseInstance0);\n arrayList0.removeAll(instances0);\n ArrayList<String> arrayList1 = new ArrayList<String>();\n Attribute attribute0 = new Attribute(\"@relation\", arrayList1, 961);\n FileSystemHandling.shouldThrowIOException((EvoSuiteFile) null);\n instances0.setClass(attribute0);\n arrayList1.trimToSize();\n binarySparseInstance0.setValue(attribute0, (double) 4);\n Attribute attribute1 = new Attribute(\"SKT_Ux07\", \"\", 661);\n JRip jRip0 = new JRip();\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd(attribute1);\n BinarySparseInstance binarySparseInstance1 = new BinarySparseInstance((SparseInstance) binarySparseInstance0);\n instances0.add((Instance) binarySparseInstance1);\n attribute0.addRelation(instances0);\n jRip_NumericAntd0.splitData(instances0, Double.NaN, (-1));\n jRip_NumericAntd0.covers(binarySparseInstance0);\n jRip0.toString();\n jRip_NumericAntd0.splitData(instances0, 3, 1);\n assertEquals(0.0, jRip_NumericAntd0.getSplitPoint(), 0.01);\n \n JRip.RipperRule jRip_RipperRule0 = jRip0.new RipperRule();\n jRip_RipperRule0.prune(instances0, false);\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n }", "title": "" }, { "docid": "778d183f2c5897e8c8f6505d6bbde7a6", "score": "0.5992279", "text": "@Test\n public void testCalcPharaohShare3() {\n System.out.println(\"calcPharaohShare\");\n double cropYield = 25000.0;\n double pharaohPercent = 0.10;\n double pharaohShare = 2500.0;\n double expResult = 2500.0;\n double result = PharaohShare.calcPharaohShare(cropYield, pharaohPercent, pharaohShare);\n assertEquals(expResult, result, 0.0);\n \n }", "title": "" }, { "docid": "c669f25b34c26b37b2cac0c02c72195d", "score": "0.5984796", "text": "@Test\n public void test33() throws Throwable {\n DecisionTable decisionTable0 = new DecisionTable();\n Capabilities capabilities0 = decisionTable0.getCapabilities();\n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.weightedAreaUnderPRC();\n assertEquals(Double.NaN, double0, 0.01D);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\n }", "title": "" }, { "docid": "ae5c55ab4a5c8cc60b52ce9df7685cde", "score": "0.59838295", "text": "@Test\n public void generateNormalizedGeneToMutationFile() throws Exception {\n fu.setInput(MUTATION_FILE);\n String line = fu.readLine();\n Map<String, Integer> geneToCount = new HashMap<String, Integer>();\n Set<String> allowedTypes = getAllowedMutationTypes();\n while ((line = fu.readLine()) != null) {\n //System.out.println(line);\n String[] tokens = line.split(\"\\t\");\n // If a sample is unknown, exclude this line\n if (tokens[15].equals(\"Unknown\"))\n continue;\n if (!allowedTypes.contains(tokens[8].toLowerCase()))\n continue;\n Integer count = geneToCount.get(tokens[0]);\n String gene = tokens[0];\n if (count == null)\n geneToCount.put(gene, 1);\n else\n geneToCount.put(gene, ++count);\n }\n fu.close();\n System.out.println(\"Total genes: \" + geneToCount.size());\n // Need to get length of exons\n final Map<String, Integer> geneToExonLength = new UCSCDataAnalyzer().loadGeneNameToAverageExonLength();\n// List<String> geneList = new ArrayList<String>(geneToExonLength.keySet());\n// Collections.sort(geneList, new Comparator<String>() {\n// public int compare(String gene1, String gene2) {\n// Integer l1 = geneToExonLength.get(gene1);\n// Integer l2 = geneToExonLength.get(gene2);\n// return l2 - l1;\n// }\n// });\n// for (int i = 0; i < 500; i++) {\n// String gene = geneList.get(i);\n// Integer length = geneToExonLength.get(gene);\n// System.out.println(gene + \"\\t\" + length);\n// }\n// Integer length1 = geneToExonLength.get(\"TP53\");\n// System.out.println(\"TP53: \" + length1);\n// System.out.println(\"ZNF614: \" + geneToExonLength.get(\"ZNF614\"));\n// System.out.println(\"KCNJ12: \" + geneToExonLength.get(\"KCNJ12\"));\n// if (true)\n// return;\n Map<String, Double> geneToMutationScore = new HashMap<String, Double>();\n Map<String, Set<String>> sampleToGenes = loadSampleToNonSynonymousMutatedGenes(false);\n Map<String, Set<String>> geneToSamples = InteractionUtilities.switchKeyValues(sampleToGenes);\n Map<String, Integer> geneToSampleCount = new HashMap<String, Integer>();\n String output = OVARIAN_DIR_NAME + \"ExomeGeneToMutation080610.txt\";\n fu.setOutput(output);\n fu.printLine(\"Gene\\tMutation\\tNormalized\\tSamples\");\n List<String> notMapped = new ArrayList<String>();\n for (String gene : geneToCount.keySet()) {\n Integer mutation = geneToCount.get(gene);\n Integer length = geneToExonLength.get(gene);\n if (length == null) {\n //System.out.println(gene + \" has no length!!!\");\n notMapped.add(gene);\n continue;\n// throw new IllegalStateException(gene + \" has no length!!!\");\n }\n double score = (double) mutation / length;\n geneToMutationScore.put(gene, score);\n Set<String> samples = geneToSamples.get(gene);\n fu.printLine(gene + \"\\t\" + \n mutation + \"\\t\" + \n score + \"\\t\" + \n samples.size());\n geneToSampleCount.put(gene, samples.size());\n }\n fu.close();\n // Generate Cytoscape attribute files\n InteractionUtilities.generateCytoscapeAttributeFile(geneToMutationScore,\n \"NormalizedMutationScore\",\n Double.class,\n OVARIAN_DIR_NAME + \"ExomeGeneNormMutationScore080610.txt\");\n InteractionUtilities.generateCytoscapeAttributeFile(geneToSampleCount,\n \"SampleNumber\",\n Integer.class, \n OVARIAN_DIR_NAME + \"ExomeGeneToSampleNumber080610.txt\");\n System.out.println(\"Cannot mapped genes: \" + notMapped.size());\n for (String gene : notMapped)\n System.out.println(gene);\n }", "title": "" }, { "docid": "4571359c6d1992a5e6fdbef06e5eb3a3", "score": "0.598047", "text": "@Test(timeout = 120000)\n\tpublic void testSpeed() throws Exception {\n\t\tString results = runMain(\n\t\t\t\tnew String[] { \"covid_data.json\", \"properties.csv\", \"population.txt\", \"speed_test.log\" }, \"1\\n0\\n\");\n\t\t//System.out.println(\"raw output:\\n\" + results +\"end of raw output\\n\");\n\t\tList<String> lResults = extractResults(results);\n\t\tassertFalse(\"No assesable output detected\", lResults == null);\n\t\t//System.out.println(lResults);\n\t\tassertTrue(\"Expected exactly one line of output\", lResults.size()==1);\n\t\tassertTrue(\"Out does not match format for operation 1\", lResults.get(0).matches(\"^\\\\d+$\"));\n\t}", "title": "" }, { "docid": "0e430f0458b5bc8bf43f7e9794bdd67b", "score": "0.5972559", "text": "@Test\n public void testEstimate()\n {\n String password;\n Result result;\n final double tolerance = 0.00000001;\n final Nbvcxz nbvcxz = new Nbvcxz();\n\n try\n {\n password = \"correcthorsebatterystaple\";\n result = nbvcxz.estimate(password);\n Assert.assertEquals(16.60965490131509D, result.getEntropy(), 16.60965490131509D * tolerance);\n\n password = \"a.b.c.defy\";\n result = nbvcxz.estimate(password);\n Assert.assertEquals(35.05294537608871D, result.getEntropy(), 35.05294537608871D * tolerance);\n\n password = \"helpimaliveinhere\";\n result = nbvcxz.estimate(password);\n Assert.assertEquals(40.376705346635696D, result.getEntropy(), 40.376705346635696D * tolerance);\n\n password = \"damnwindowsandpaper\";\n result = nbvcxz.estimate(password);\n Assert.assertEquals(31.086623767089435D, result.getEntropy(), 31.086623767089435D * tolerance);\n\n password = \"zxcvbnm\";\n result = nbvcxz.estimate(password);\n Assert.assertEquals(5.321928094887363D, result.getEntropy(), 5.321928094887363D * tolerance);\n\n password = \"1qaz2wsx3edc\";\n result = nbvcxz.estimate(password);\n Assert.assertEquals(10.523561956057012D, result.getEntropy(), 10.523561956057012D * tolerance);\n\n password = \"temppass22\";\n result = nbvcxz.estimate(password);\n Assert.assertEquals(16.892495383759368D, result.getEntropy(), 16.892495383759368D * tolerance);\n\n password = \"briansmith\";\n result = nbvcxz.estimate(password);\n Assert.assertEquals(4.321928094887363D, result.getEntropy(), 4.321928094887363D * tolerance);\n\n password = \"thx1138\";\n result = nbvcxz.estimate(password);\n Assert.assertEquals(8.049848549450562D, result.getEntropy(), 8.049848549450562D * tolerance);\n\n password = \"baseball2014\";\n result = nbvcxz.estimate(password);\n Assert.assertEquals(10.59618975614441D, result.getEntropy(), 10.59618975614441D * tolerance);\n\n password = \"baseball1994\";\n result = nbvcxz.estimate(password);\n Assert.assertEquals(10.59618975614441D, result.getEntropy(), 10.59618975614441D * tolerance);\n\n password = \"baseball2028\";\n result = nbvcxz.estimate(password);\n Assert.assertEquals(10.59618975614441D, result.getEntropy(), 10.59618975614441D * tolerance);\n\n password = \"scorpions\";\n result = nbvcxz.estimate(password);\n Assert.assertEquals(13.67529549909406D, result.getEntropy(), 13.67529549909406D * tolerance);\n\n password = \"ScoRpions\";\n result = nbvcxz.estimate(password);\n Assert.assertEquals(19.198857455151074D, result.getEntropy(), 19.198857455151074D * tolerance);\n\n password = \"ScoRpi0ns\";\n result = nbvcxz.estimate(password);\n Assert.assertEquals(20.46971136544417D, result.getEntropy(), 20.46971136544417D * tolerance);\n\n password = \"thereisneveragoodmonday\";\n result = nbvcxz.estimate(password);\n Assert.assertEquals(44.52675492064834D, result.getEntropy(), 44.52675492064834D * tolerance);\n\n password = \"forgetthatchristmaspartytheotheryear\";\n result = nbvcxz.estimate(password);\n Assert.assertEquals(42.69087661112469D, result.getEntropy(), 42.69087661112469D * tolerance);\n\n password = \"A Fool and His Money Are Soon Parted\";\n result = nbvcxz.estimate(password);\n Assert.assertEquals(84.88322715518174D, result.getEntropy(), 84.88322715518174D * tolerance);\n\n password = \"6c891879ed0a0bbf701d5ca8af39a766\";\n result = nbvcxz.estimate(password);\n Assert.assertEquals(124.22235013869417D, result.getEntropy(), 124.22235013869417D * tolerance);\n\n password = \"ef00623ced862e84ea15a6f97cb3fbb9f177bd6f23e54459a96ca5926c28c653\";\n result = nbvcxz.estimate(password);\n Assert.assertEquals(247.06618865413472D, result.getEntropy(), 247.06618865413472D * tolerance);\n\n }\n catch (Exception e)\n {\n assert false;\n }\n }", "title": "" }, { "docid": "91f1b129cc0e11ed50f39f6a88ba72aa", "score": "0.5961596", "text": "@Test\n public void testGetTrainingPercentage() {\n System.out.println(\"getTrainingPercentage\");\n double expResult = 0.8;\n double result = configuration.getTrainingPercentage();\n assertEquals(expResult, result, 0.0);\n }", "title": "" }, { "docid": "d12a7d97161a51cfe5809852e9b318b6", "score": "0.59499365", "text": "@Test\n public void test09() throws Throwable {\n DecisionTable decisionTable0 = new DecisionTable();\n Capabilities capabilities0 = decisionTable0.getCapabilities();\n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n boolean boolean0 = evaluation0.equals((Object) null);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\n assertFalse(boolean0);\n }", "title": "" }, { "docid": "c37f687d3aa1e14c150014796d973544", "score": "0.5945694", "text": "@Test(timeout = 4000)\n public void test057() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixSignificance0);\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n \n ResultMatrixLatex.main((String[]) null);\n String string0 = resultMatrixSignificance0.removeFilterName(\"\");\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(string0);\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"\", string0);\n \n resultMatrixSignificance0.setPrintRowNames(false);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n \n int int0 = resultMatrixSignificance0.getSignificance(0, 12);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, int0);\n \n // Undeclared exception!\n try { \n resultMatrixSignificance0.toStringHeader();\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // 0\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "title": "" }, { "docid": "33dbe23878b03682a322147c789c7881", "score": "0.59190583", "text": "@Test\n public void testCumulativeProbabilities() {\n verifyCumulativeProbabilities();\n }", "title": "" }, { "docid": "12f2b75f651dea78e7f1e77af728c998", "score": "0.5912005", "text": "@Test\n public void test38() throws Throwable {\n SMOreg sMOreg0 = new SMOreg();\n Capabilities capabilities0 = sMOreg0.getCapabilities();\n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n Instances instances0 = testInstances0.generate();\n Evaluation evaluation0 = new Evaluation(instances0);\n evaluation0.setNumericPriorsFromBuffer();\n assertEquals(0.0, evaluation0.correct(), 0.01D);\n }", "title": "" }, { "docid": "91fba78165da7659859fdd9436ce2064", "score": "0.5911385", "text": "public void reTest() {\n toUse = EntropyTester.test();\n }", "title": "" }, { "docid": "853fef8abef4086c092320286e0a1b36", "score": "0.59072006", "text": "@Test(timeout = 4000)\n public void test52() throws Throwable {\n JRip jRip0 = new JRip();\n jRip0.setOptions((String[]) null);\n SparseInstance sparseInstance0 = new SparseInstance(1766);\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance((Instance) sparseInstance0);\n Attribute attribute0 = new Attribute(\"http://ai.fri.uni-lj.si/papers/kononenko95-ijcai.ps.gz\", 1466);\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd(attribute0);\n jRip_NumericAntd0.covers(sparseInstance0);\n BinarySparseInstance binarySparseInstance1 = new BinarySparseInstance((Instance) sparseInstance0);\n assertEquals(6, AbstractInstance.s_numericAfterDecimalPoint);\n }", "title": "" }, { "docid": "ac05d9718b590f65c9060674e589495a", "score": "0.5906686", "text": "@Test\n public void test11() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate(\"toSoZrce\");\n Evaluation evaluation0 = new Evaluation(instances0, (CostMatrix) null);\n double double0 = evaluation0.numFalseNegatives(0);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\n assertEquals(0.0, double0, 0.01D);\n }", "title": "" }, { "docid": "804e9f79fdbff258900062e61e970f92", "score": "0.5905911", "text": "@Test(timeout = 4000)\n public void test15() throws Throwable {\n JRip jRip0 = new JRip();\n String string0 = jRip0.getRevision();\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(\"8118\", string0);\n assertTrue(jRip0.getCheckErrorRate());\n assertTrue(jRip0.getUsePruning());\n assertEquals(3, jRip0.getFolds());\n assertEquals(1L, jRip0.getSeed());\n assertFalse(jRip0.getDebug());\n }", "title": "" }, { "docid": "49c3651b34be608cb61d14568c583f5e", "score": "0.5888636", "text": "@Test(timeout = 4000)\n public void test158() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixSignificance0);\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n \n boolean boolean0 = resultMatrixSignificance0.isAverage((-1));\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(boolean0);\n \n Vector<Object> vector0 = new Vector<Object>();\n assertNotNull(vector0);\n assertEquals(\"[]\", vector0.toString());\n assertTrue(vector0.isEmpty());\n assertEquals(10, vector0.capacity());\n assertEquals(0, vector0.size());\n assertFalse(vector0.contains((-1)));\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(0, 2);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixCSV0);\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n \n String string0 = resultMatrixCSV0.toStringKey();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(string0);\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Key,\\n\", string0);\n \n resultMatrixCSV0.setStdDevPrec(0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevPrec());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(resultMatrixCSV0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixGnuPlot0);\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevPrec());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(0, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getRowCount());\n assertEquals(25, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getVisibleColCount());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n \n int[][] intArray0 = new int[5][6];\n int[] intArray1 = new int[7];\n intArray1[0] = 0;\n intArray1[2] = 0;\n intArray1[3] = 1;\n intArray1[4] = 2;\n intArray1[5] = (-1);\n intArray1[6] = 1;\n intArray0[0] = intArray1;\n resultMatrixGnuPlot0.setColOrder(intArray1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevPrec());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(0, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getRowCount());\n assertEquals(25, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getVisibleColCount());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertArrayEquals(new int[] {0, 0, 0, 1, 2, (-1), 1}, intArray1);\n assertEquals(7, intArray1.length);\n \n resultMatrixGnuPlot0.setRowOrder(intArray1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevPrec());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(0, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getRowCount());\n assertEquals(25, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getVisibleColCount());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertArrayEquals(new int[] {0, 0, 0, 1, 2, (-1), 1}, intArray1);\n assertEquals(7, intArray1.length);\n \n resultMatrixGnuPlot0.setColOrder(intArray1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevPrec());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(0, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getRowCount());\n assertEquals(25, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getVisibleColCount());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertArrayEquals(new int[] {0, 0, 0, 1, 2, (-1), 1}, intArray1);\n assertEquals(7, intArray1.length);\n \n int int0 = resultMatrixSignificance0.getDisplayRow(0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, int0);\n }", "title": "" }, { "docid": "656e9dc08c6fb710cfed699b8506039a", "score": "0.58884364", "text": "@Test(timeout = 4000)\n public void test37() throws Throwable {\n JRip jRip0 = new JRip();\n double double0 = jRip0.getMinNo();\n assertEquals(2.0, double0, 0.01);\n assertEquals(1L, jRip0.getSeed());\n assertTrue(jRip0.getCheckErrorRate());\n assertTrue(jRip0.getUsePruning());\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(3, jRip0.getFolds());\n assertFalse(jRip0.getDebug());\n }", "title": "" }, { "docid": "ecfc871d5699facdbc07d31cac4a4faa", "score": "0.5886294", "text": "@Test\n public void testCalcPharaohShare2() {\n System.out.println(\"calcPharaohShare\");\n double cropYield = -5.0;\n double pharaohPercent = 0.10;\n double pharaohShare = 100.0;\n double expResult = -1.0;\n double result = PharaohShare.calcPharaohShare(cropYield, pharaohPercent, pharaohShare);\n assertEquals(expResult, result, 0.0);\n \n }", "title": "" }, { "docid": "8c29130892f21353597294dabd56fea3", "score": "0.5886035", "text": "@Test(timeout = 4000)\n public void test42() throws Throwable {\n FileSystemHandling.shouldAllThrowIOExceptions();\n JRip jRip0 = new JRip();\n jRip0.getOptimizations();\n String string0 = \"\";\n FileSystemHandling.shouldThrowIOException((EvoSuiteFile) null);\n CoverTree coverTree0 = new CoverTree();\n Instance instance0 = null;\n FileSystemHandling.createFolder((EvoSuiteFile) null);\n coverTree0.enumerateMeasures();\n try { \n coverTree0.kNearestNeighbours((Instance) null, 2);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }", "title": "" }, { "docid": "da061bf390febacb24afe9ed7ab7327a", "score": "0.5883415", "text": "@Test(timeout = 4000)\n public void test109() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixSignificance0);\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance(resultMatrixSignificance0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixSignificance1);\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n \n String string0 = resultMatrixSignificance1.getRevision();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(string0);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertEquals(\"8034\", string0);\n \n resultMatrixSignificance0.setRowName(1, \"oH1gj]?=n)@/!%\");\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n \n boolean boolean0 = resultMatrixSignificance1.getShowAverage();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertFalse(boolean0);\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(1, 1874);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixLatex0);\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(1874, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(1874, resultMatrixLatex0.getRowCount());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n \n String string1 = resultMatrixLatex0.getRowName(1874);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNull(string1);\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(1874, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(1874, resultMatrixLatex0.getRowCount());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n \n resultMatrixLatex0.setCount((-1313), 0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(1874, resultMatrixLatex0.getRowCount());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n \n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(1846, 1);\n }", "title": "" }, { "docid": "c6b737d6f8f0be19de0e684023869a5b", "score": "0.5881479", "text": "@Test\n public void test10() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.falseNegativeRate(0);\n assertEquals(0.0, double0, 0.01D);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\n }", "title": "" }, { "docid": "2cfdcfa54d35f62381720902e2628625", "score": "0.588076", "text": "@Test(timeout = 4000)\n public void test166() throws Throwable {\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(0, 0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixCSV0);\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(0, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getVisibleColCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n \n resultMatrixCSV0.m_ColNameWidth = 2;\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(0, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getVisibleColCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n \n ResultMatrixCSV resultMatrixCSV1 = new ResultMatrixCSV(resultMatrixCSV0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixCSV1);\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(0, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getVisibleColCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV1.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV1.getVisibleColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV1.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV1.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV1.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV1.getColCount());\n assertEquals(0, resultMatrixCSV1.getColNameWidth());\n assertEquals(0, resultMatrixCSV1.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV1.showStdDevTipText());\n assertEquals(0, resultMatrixCSV1.getMeanWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV1.globalInfo());\n assertTrue(resultMatrixCSV1.getPrintRowNames());\n assertFalse(resultMatrixCSV1.getPrintColNames());\n assertEquals(0, resultMatrixCSV1.getSignificanceWidth());\n assertEquals(0, resultMatrixCSV1.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV1.getDefaultStdDevWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV1.rowNameWidthTipText());\n assertFalse(resultMatrixCSV1.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV1.enumerateColNamesTipText());\n assertEquals(2, resultMatrixCSV1.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV1.printColNamesTipText());\n assertEquals(0, resultMatrixCSV1.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV1.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV1.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixCSV1.getRowCount());\n assertFalse(resultMatrixCSV1.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV1.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV1.countWidthTipText());\n assertEquals(0, resultMatrixCSV1.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV1.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixCSV1.getDefaultEnumerateColNames());\n assertEquals(\"CSV\", resultMatrixCSV1.getDisplayName());\n assertEquals(25, resultMatrixCSV1.getRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV1.showAverageTipText());\n assertFalse(resultMatrixCSV1.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV1.meanWidthTipText());\n assertTrue(resultMatrixCSV1.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV1.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV1.stdDevWidthTipText());\n assertEquals(2, resultMatrixCSV1.getStdDevPrec());\n assertFalse(resultMatrixCSV1.getDefaultShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV1.colNameWidthTipText());\n assertEquals(2, resultMatrixCSV1.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV1.getRemoveFilterName());\n assertFalse(resultMatrixCSV1.getEnumerateRowNames());\n assertEquals(25, resultMatrixCSV1.getDefaultRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV1.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV1.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV1.meanPrecTipText());\n assertFalse(resultMatrixCSV1.equals((Object)resultMatrixCSV0));\n \n double[][] doubleArray0 = new double[8][6];\n double[] doubleArray1 = new double[5];\n doubleArray1[0] = (double) 0;\n doubleArray1[1] = (double) 2;\n doubleArray1[2] = (double) 2;\n doubleArray1[3] = (double) 2;\n doubleArray1[4] = (double) 2;\n doubleArray0[0] = doubleArray1;\n double[] doubleArray2 = new double[8];\n assertFalse(doubleArray2.equals((Object)doubleArray1));\n \n doubleArray2[0] = (double) 1;\n doubleArray2[1] = (double) 1;\n doubleArray2[2] = 192.666147959343;\n doubleArray2[3] = (double) 0;\n doubleArray2[4] = (double) 2;\n doubleArray2[5] = (double) 2;\n doubleArray2[6] = (double) 2;\n doubleArray2[7] = (double) 2;\n doubleArray0[1] = doubleArray2;\n double[] doubleArray3 = new double[2];\n assertFalse(doubleArray3.equals((Object)doubleArray1));\n assertFalse(doubleArray3.equals((Object)doubleArray2));\n \n doubleArray3[0] = (double) 1;\n doubleArray3[1] = 2302.4901514;\n doubleArray0[2] = doubleArray3;\n double[] doubleArray4 = new double[7];\n assertFalse(doubleArray4.equals((Object)doubleArray1));\n assertFalse(doubleArray4.equals((Object)doubleArray3));\n assertFalse(doubleArray4.equals((Object)doubleArray2));\n \n doubleArray4[0] = (-3277.353898415);\n doubleArray4[1] = (double) 2;\n doubleArray4[2] = (double) 0;\n doubleArray4[3] = (double) 1;\n doubleArray4[4] = (double) 0;\n doubleArray4[5] = (double) 0;\n doubleArray4[6] = (double) 2;\n doubleArray0[3] = doubleArray4;\n double[] doubleArray5 = new double[0];\n assertFalse(doubleArray5.equals((Object)doubleArray1));\n assertFalse(doubleArray5.equals((Object)doubleArray3));\n assertFalse(doubleArray5.equals((Object)doubleArray2));\n assertFalse(doubleArray5.equals((Object)doubleArray4));\n \n doubleArray0[4] = doubleArray5;\n double[] doubleArray6 = new double[5];\n assertFalse(doubleArray6.equals((Object)doubleArray4));\n assertFalse(doubleArray6.equals((Object)doubleArray1));\n assertFalse(doubleArray6.equals((Object)doubleArray3));\n assertFalse(doubleArray6.equals((Object)doubleArray2));\n assertFalse(doubleArray6.equals((Object)doubleArray5));\n \n doubleArray6[0] = (double) 1;\n doubleArray6[1] = (double) 2;\n doubleArray6[2] = (-3277.353898415);\n doubleArray6[3] = 2302.4901514;\n doubleArray6[4] = (-4482.85);\n doubleArray0[5] = doubleArray6;\n double[] doubleArray7 = new double[4];\n assertFalse(doubleArray7.equals((Object)doubleArray1));\n assertFalse(doubleArray7.equals((Object)doubleArray2));\n assertFalse(doubleArray7.equals((Object)doubleArray6));\n assertFalse(doubleArray7.equals((Object)doubleArray3));\n assertFalse(doubleArray7.equals((Object)doubleArray5));\n assertFalse(doubleArray7.equals((Object)doubleArray4));\n \n doubleArray7[0] = (-4482.85);\n doubleArray7[1] = (double) 0;\n doubleArray7[2] = (double) 2;\n doubleArray7[3] = 192.666147959343;\n doubleArray0[6] = doubleArray7;\n double[] doubleArray8 = new double[3];\n assertFalse(doubleArray8.equals((Object)doubleArray5));\n assertFalse(doubleArray8.equals((Object)doubleArray2));\n assertFalse(doubleArray8.equals((Object)doubleArray3));\n assertFalse(doubleArray8.equals((Object)doubleArray6));\n assertFalse(doubleArray8.equals((Object)doubleArray7));\n assertFalse(doubleArray8.equals((Object)doubleArray1));\n assertFalse(doubleArray8.equals((Object)doubleArray4));\n \n doubleArray8[0] = 2302.4901514;\n doubleArray8[1] = 2302.4901514;\n doubleArray8[2] = (double) 1;\n doubleArray0[7] = doubleArray8;\n resultMatrixCSV0.m_Mean = doubleArray0;\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(0, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getVisibleColCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n \n resultMatrixCSV0.WIN_STRING = \"4B~PH|~s#<Z\";\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(0, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getVisibleColCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n \n resultMatrixCSV1.m_SignificanceWidth = (-795);\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(0, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getVisibleColCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV1.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV1.getVisibleColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV1.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV1.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV1.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV1.getColCount());\n assertEquals(0, resultMatrixCSV1.getColNameWidth());\n assertEquals(0, resultMatrixCSV1.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV1.showStdDevTipText());\n assertEquals(0, resultMatrixCSV1.getMeanWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV1.globalInfo());\n assertTrue(resultMatrixCSV1.getPrintRowNames());\n assertFalse(resultMatrixCSV1.getPrintColNames());\n assertEquals(0, resultMatrixCSV1.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV1.getDefaultStdDevWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV1.rowNameWidthTipText());\n assertFalse(resultMatrixCSV1.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV1.enumerateColNamesTipText());\n assertEquals(2, resultMatrixCSV1.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV1.printColNamesTipText());\n assertEquals(0, resultMatrixCSV1.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV1.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV1.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixCSV1.getRowCount());\n assertFalse(resultMatrixCSV1.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV1.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV1.countWidthTipText());\n assertEquals(0, resultMatrixCSV1.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV1.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixCSV1.getDefaultEnumerateColNames());\n assertEquals(\"CSV\", resultMatrixCSV1.getDisplayName());\n assertEquals(25, resultMatrixCSV1.getRowNameWidth());\n assertEquals((-795), resultMatrixCSV1.getSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV1.showAverageTipText());\n assertFalse(resultMatrixCSV1.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV1.meanWidthTipText());\n assertTrue(resultMatrixCSV1.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV1.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV1.stdDevWidthTipText());\n assertEquals(2, resultMatrixCSV1.getStdDevPrec());\n assertFalse(resultMatrixCSV1.getDefaultShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV1.colNameWidthTipText());\n assertEquals(2, resultMatrixCSV1.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV1.getRemoveFilterName());\n assertFalse(resultMatrixCSV1.getEnumerateRowNames());\n assertEquals(25, resultMatrixCSV1.getDefaultRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV1.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV1.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV1.meanPrecTipText());\n \n String string0 = resultMatrixCSV1.toStringSummary();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(string0);\n assertNotSame(resultMatrixCSV0, resultMatrixCSV1);\n assertNotSame(resultMatrixCSV1, resultMatrixCSV0);\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(0, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getVisibleColCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV1.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV1.getVisibleColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV1.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV1.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV1.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV1.getColCount());\n assertEquals(0, resultMatrixCSV1.getColNameWidth());\n assertEquals(0, resultMatrixCSV1.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV1.showStdDevTipText());\n assertEquals(0, resultMatrixCSV1.getMeanWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV1.globalInfo());\n assertTrue(resultMatrixCSV1.getPrintRowNames());\n assertFalse(resultMatrixCSV1.getPrintColNames());\n assertEquals(0, resultMatrixCSV1.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV1.getDefaultStdDevWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV1.rowNameWidthTipText());\n assertFalse(resultMatrixCSV1.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV1.enumerateColNamesTipText());\n assertEquals(2, resultMatrixCSV1.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV1.printColNamesTipText());\n assertEquals(0, resultMatrixCSV1.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV1.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV1.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixCSV1.getRowCount());\n assertFalse(resultMatrixCSV1.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV1.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV1.countWidthTipText());\n assertEquals(0, resultMatrixCSV1.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV1.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixCSV1.getDefaultEnumerateColNames());\n assertEquals(\"CSV\", resultMatrixCSV1.getDisplayName());\n assertEquals(25, resultMatrixCSV1.getRowNameWidth());\n assertEquals((-795), resultMatrixCSV1.getSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV1.showAverageTipText());\n assertFalse(resultMatrixCSV1.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV1.meanWidthTipText());\n assertTrue(resultMatrixCSV1.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV1.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV1.stdDevWidthTipText());\n assertEquals(2, resultMatrixCSV1.getStdDevPrec());\n assertFalse(resultMatrixCSV1.getDefaultShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV1.colNameWidthTipText());\n assertEquals(2, resultMatrixCSV1.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV1.getRemoveFilterName());\n assertFalse(resultMatrixCSV1.getEnumerateRowNames());\n assertEquals(25, resultMatrixCSV1.getDefaultRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV1.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV1.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV1.meanPrecTipText());\n assertFalse(resultMatrixCSV0.equals((Object)resultMatrixCSV1));\n assertFalse(resultMatrixCSV1.equals((Object)resultMatrixCSV0));\n assertEquals(\"-summary data not set-\", string0);\n \n String string1 = resultMatrixCSV1.padString(\"\", 0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(string1);\n assertNotSame(resultMatrixCSV0, resultMatrixCSV1);\n assertNotSame(resultMatrixCSV1, resultMatrixCSV0);\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(0, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getVisibleColCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV1.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV1.getVisibleColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV1.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV1.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV1.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV1.getColCount());\n assertEquals(0, resultMatrixCSV1.getColNameWidth());\n assertEquals(0, resultMatrixCSV1.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV1.showStdDevTipText());\n assertEquals(0, resultMatrixCSV1.getMeanWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV1.globalInfo());\n assertTrue(resultMatrixCSV1.getPrintRowNames());\n assertFalse(resultMatrixCSV1.getPrintColNames());\n assertEquals(0, resultMatrixCSV1.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV1.getDefaultStdDevWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV1.rowNameWidthTipText());\n assertFalse(resultMatrixCSV1.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV1.enumerateColNamesTipText());\n assertEquals(2, resultMatrixCSV1.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV1.printColNamesTipText());\n assertEquals(0, resultMatrixCSV1.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV1.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV1.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixCSV1.getRowCount());\n assertFalse(resultMatrixCSV1.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV1.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV1.countWidthTipText());\n assertEquals(0, resultMatrixCSV1.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV1.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixCSV1.getDefaultEnumerateColNames());\n assertEquals(\"CSV\", resultMatrixCSV1.getDisplayName());\n assertEquals(25, resultMatrixCSV1.getRowNameWidth());\n assertEquals((-795), resultMatrixCSV1.getSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV1.showAverageTipText());\n assertFalse(resultMatrixCSV1.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV1.meanWidthTipText());\n assertTrue(resultMatrixCSV1.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV1.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV1.stdDevWidthTipText());\n assertEquals(2, resultMatrixCSV1.getStdDevPrec());\n assertFalse(resultMatrixCSV1.getDefaultShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV1.colNameWidthTipText());\n assertEquals(2, resultMatrixCSV1.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV1.getRemoveFilterName());\n assertFalse(resultMatrixCSV1.getEnumerateRowNames());\n assertEquals(25, resultMatrixCSV1.getDefaultRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV1.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV1.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV1.meanPrecTipText());\n assertFalse(resultMatrixCSV0.equals((Object)resultMatrixCSV1));\n assertFalse(resultMatrixCSV1.equals((Object)resultMatrixCSV0));\n assertFalse(string1.equals((Object)string0));\n assertEquals(\"\", string1);\n \n resultMatrixCSV0.m_PrintRowNames = false;\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(0, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getColCount());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getVisibleColCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n \n boolean boolean0 = resultMatrixCSV0.getDefaultPrintColNames();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotSame(resultMatrixCSV0, resultMatrixCSV1);\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(0, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getColCount());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getVisibleColCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertFalse(resultMatrixCSV0.equals((Object)resultMatrixCSV1));\n assertFalse(boolean0);\n \n resultMatrixCSV0.setSignificanceWidth(0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotSame(resultMatrixCSV0, resultMatrixCSV1);\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(0, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getColCount());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getVisibleColCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertFalse(resultMatrixCSV0.equals((Object)resultMatrixCSV1));\n \n resultMatrixCSV1.addHeader(\"[\", \"\\n1. complete\\n\");\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotSame(resultMatrixCSV0, resultMatrixCSV1);\n assertNotSame(resultMatrixCSV1, resultMatrixCSV0);\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(0, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getColCount());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getVisibleColCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV1.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV1.getVisibleColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV1.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV1.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV1.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV1.getColCount());\n assertEquals(0, resultMatrixCSV1.getColNameWidth());\n assertEquals(0, resultMatrixCSV1.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV1.showStdDevTipText());\n assertEquals(0, resultMatrixCSV1.getMeanWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV1.globalInfo());\n assertTrue(resultMatrixCSV1.getPrintRowNames());\n assertFalse(resultMatrixCSV1.getPrintColNames());\n assertEquals(0, resultMatrixCSV1.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV1.getDefaultStdDevWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV1.rowNameWidthTipText());\n assertFalse(resultMatrixCSV1.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV1.enumerateColNamesTipText());\n assertEquals(2, resultMatrixCSV1.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV1.printColNamesTipText());\n assertEquals(0, resultMatrixCSV1.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV1.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV1.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixCSV1.getRowCount());\n assertFalse(resultMatrixCSV1.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV1.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV1.countWidthTipText());\n assertEquals(0, resultMatrixCSV1.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV1.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixCSV1.getDefaultEnumerateColNames());\n assertEquals(\"CSV\", resultMatrixCSV1.getDisplayName());\n assertEquals(25, resultMatrixCSV1.getRowNameWidth());\n assertEquals((-795), resultMatrixCSV1.getSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV1.showAverageTipText());\n assertFalse(resultMatrixCSV1.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV1.meanWidthTipText());\n assertTrue(resultMatrixCSV1.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV1.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV1.stdDevWidthTipText());\n assertEquals(2, resultMatrixCSV1.getStdDevPrec());\n assertFalse(resultMatrixCSV1.getDefaultShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV1.colNameWidthTipText());\n assertEquals(2, resultMatrixCSV1.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV1.getRemoveFilterName());\n assertFalse(resultMatrixCSV1.getEnumerateRowNames());\n assertEquals(25, resultMatrixCSV1.getDefaultRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV1.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV1.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV1.meanPrecTipText());\n assertFalse(resultMatrixCSV0.equals((Object)resultMatrixCSV1));\n assertFalse(resultMatrixCSV1.equals((Object)resultMatrixCSV0));\n \n int int0 = resultMatrixCSV0.getDefaultRowNameWidth();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotSame(resultMatrixCSV0, resultMatrixCSV1);\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(0, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getColCount());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getVisibleColCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertFalse(resultMatrixCSV0.equals((Object)resultMatrixCSV1));\n assertEquals(25, int0);\n \n // Undeclared exception!\n try { \n resultMatrixCSV1.assign(resultMatrixCSV0);\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // 0\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "title": "" }, { "docid": "2b7278df60d4837cd396904512cdf15a", "score": "0.58773625", "text": "@Test(timeout = 4000)\n public void test148() throws Throwable {\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixLatex0);\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n \n String string0 = resultMatrixLatex0.stdDevWidthTipText();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(string0);\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", string0);\n \n String[] stringArray0 = new String[8];\n stringArray0[0] = \"(\";\n stringArray0[1] = \"(\";\n stringArray0[2] = \" \";\n resultMatrixLatex0.setMeanPrec(0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n \n stringArray0[3] = \"$circ$\";\n stringArray0[4] = \"(\";\n stringArray0[5] = \"$\\bullet$\";\n stringArray0[6] = \")\";\n stringArray0[7] = \"$circ$\";\n resultMatrixLatex0.setOptions(stringArray0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevPrec());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(8, stringArray0.length);\n \n resultMatrixLatex0.clearSummary();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevPrec());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n \n ResultMatrixLatex.main(stringArray0);\n assertEquals(8, stringArray0.length);\n \n double double0 = resultMatrixLatex0.getCount(1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevPrec());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0.0, double0, 0.01);\n \n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText(29, 0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixPlainText0);\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(29, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixPlainText0.getRowCount());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(29, resultMatrixPlainText0.getColCount());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n \n Enumeration enumeration0 = resultMatrixPlainText0.headerKeys();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(enumeration0);\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(29, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixPlainText0.getRowCount());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(29, resultMatrixPlainText0.getColCount());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixGnuPlot0);\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n \n boolean boolean0 = resultMatrixGnuPlot0.getShowAverage();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertFalse(boolean0);\n \n boolean boolean1 = resultMatrixGnuPlot0.getDefaultEnumerateRowNames();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertTrue(boolean1 == boolean0);\n assertFalse(boolean1);\n }", "title": "" }, { "docid": "180180a7bf63ecde0dd45e38230792f1", "score": "0.5877174", "text": "@Test(timeout = 4000)\n public void test120() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixSignificance0);\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance(resultMatrixSignificance0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixSignificance1);\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n \n String string0 = resultMatrixSignificance1.getRevision();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(string0);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertEquals(\"8034\", string0);\n \n resultMatrixSignificance0.setRowName(1, \"oH1gj]?=n)@/!%\");\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n \n boolean boolean0 = resultMatrixSignificance1.getShowAverage();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertFalse(boolean0);\n \n ResultMatrixLatex.main((String[]) null);\n }", "title": "" }, { "docid": "61912e1566100807da8657ce93c8b419", "score": "0.587122", "text": "@Test(timeout = 4000)\n public void test34() throws Throwable {\n JRip jRip0 = new JRip();\n long long0 = jRip0.getSeed();\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(2, jRip0.getOptimizations());\n assertTrue(jRip0.getUsePruning());\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(1L, long0);\n assertEquals(3, jRip0.getFolds());\n assertFalse(jRip0.getDebug());\n }", "title": "" }, { "docid": "46a07ba4d0ab37d4910b083ff6af4570", "score": "0.58682567", "text": "@Test\n public void test12() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.weightedFalsePositiveRate();\n assertEquals(Double.NaN, double0, 0.01D);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01D);\n }", "title": "" }, { "docid": "3a2ea47217d7cacdee6be9843e4f032e", "score": "0.58649117", "text": "@Test\n public void qualityDetailTest() {\n // TODO: test qualityDetail\n }", "title": "" }, { "docid": "f1f86aa6bc1aea0a32359c374eded38d", "score": "0.5852218", "text": "@Test\n\tpublic void testPositiveStrandGene () {\n\t\tGatherGeneGCLength d = new GatherGeneGCLength();\n\t\t/**\n\t\t * RAB42-001\n\t\t * C G GC ALL\n\t\t * 518 522 1040 1950\n\t\t */\n\t\tString t1= \"AAGAAATGAGTGAGGTGGATGCTTCAGCGCTGTTAGTCTCCTCCCCATGCCCCTCCTCACTTCATCTAGTTTAGTCCCTTTATCCTGTGAAGTAGGGGTCATCATTAGCCCCCTTTTACAGAGGAGAGAATTGAGGCTTCGAGAGAGAGAAACTTGGCCAGGAGTTTCCACTCGGTCCGACGCCCTCGGTGCCCCGCCGGGTGCATCACCAGGTCCTTTTACCGGAATGTGGTGGGTGTCCTGCTGGTCTTTGATGTGACAAACAGGAAGTCCTTTGAACACATCCAAGACTGGCACCAGGAGGTCATGGCCACTCAGGGCCCGGACAAGGTCATCTTCCTGCTGGTTGGCCACAAGAGTGACCTGCAGAGCACCCGCTGTGTCTCAGCCCAGGAGGCCGAGGAGCTAGCTGCCTCCCTGGGCATGGCCTTCGTGGAGACCTCGGTTAAAAACAACTGCAATGTGGACCTGGCCTTTGACACCCTCGCTGATGCTATCCAGCAGGCCCTGCAGCAGGGGGACATCAAGCTAGAAGAGGGCTGGGGGGGTGTCCGGCTCATCCACAAGACCCAAATCCCCAGGTCCCCCAGCAGGAAGCAGCACTCAGGCCCATGCCAGTGTTGACTCTAGGAGAGAAAGGGTTAAAGCAGTCCCAGCCTTAGCCCACCTGGTGGGATGGGGAGTGTTAATATCTCTCTGGAGGACAAATGACAGAAGGGTTCATATAAACAGTATCCTGACACAGTCATGCTTCCTGGATTTTGGAGTCGAGGCTTTCTACAGAAAAGAAAGTTCTGATGGCCAGGCATGGTGGCTCACGCCTGTAATCCTAGCATTTTTGGAGGCCAAGGACAGTGGATCACCTGAGGTCAGGGGTTCGAGACCAGCCTGGCCAACATGGTGAAACCCTGTCTCTACTAAAAATACAAAAATTAGCCAGGCGTGGTGGTGCATGCCTGTAATCCCAGTTACTCCAGAGGCTAAGGCAGGAGAATTGCTTGAACCTGGGAGGCAGAGATTGCAGTGAGCCAAGACTGCGCCACTGCACTCCAGCCTGGGCAACAGAGTGAGACTCTGTTTCAAAAAAAAAAAAGAAAAGAAAAGAAAGGCCTGAGAGACCAGATGTGCAACTTCCTGTCCTTGAGCCTCAGTGTCCCTATCTATCGATGGGGCTCATAAAAGATCCCACCTTGAAGGGAGGTGGTGACCACAAATGAGACAGTGGACAGGATGTGCTCACCCAGAGCCTGCCGCGCTGTGAATTGAATGACAAAAGCTCTCATTCCCACTCCCTTTTTCTTGGCTGCGATGTGGCCACTCTGGCAGCATTCCTGGGCTCAGACACTGAGAAGCCAGCGTCAGGAAGCTGATGCATGGGCAAAGGCAGGTGCGGGGAATTCCAGGGGGAGCTTGGCTTGGAGGCTTCTTATGTCCTCAGGCTAAAATGATTCTGGGCATGGGATTAATATGTGACGTCAAACCCAGGGTTGCTGGCCAATGCCCCCCCGACCAGGCCCAGGGGCTGAAAAATGGATGTTGGAGGCTGGGATGAACATGAATGTGTAGCAACTATGTTGGGCACACAGTGGCCACTGTGATGAGCCACCAAGATCCCCCTTTCTGGCTGGGGAACCCATCAACCCTCTCCCCAGCTGCTGGAGTGCCACTGGATGATGGACTTCAGCTTGCCCCACTCTCTGGGAAAGGCCCTCCCTTCAGGGCAGCTTGTATCCAAAGTTCATCTCCTGGGGGGCCTTAAAGGACTCCCTCTTGCCCCAGCTCTGGACAACTCTGAAAGTCAAAACCAACTTTATCAGTCTCTGTGGGCTTCATTGAGGACACTGTTGTGACATCATAGCCAAGTTATCCCCTTGCCCAATCCTGCTTCCTTTTCTTCCCCAAACAGGTATCCATTTCAAGAATATCCCCTAATAAACATCTGCACACTCA\";\n\t\tGCResult gc1 = d.new GCResult(t1);\n\t\tAssert.assertEquals(26.5641, gc1.getCPercent(), 0.1);\n\t\tAssert.assertEquals(26.76923, gc1.getGPercent(), 0.1);\n\t\tAssert.assertEquals(53.33333, gc1.getGCPercent(), 0.1);\n\t\tAssert.assertEquals(1950, gc1.getRegionLength());\n\t\t/**\n\t\t * RAB42-002\n\t\t* C G GC ALL\n\t\t* 241 271 512 837\n\t\t*/\n\t\tString t2 = \"GAGGCCGAGGGCTGCCGCTACCAATTTCGGGTCGCGCTGCTGGGGGACGCGGCGGTGGGCAAGACGTCGCTGCTGCGGAGCTACGTGGCAGGCGCGCCTGGCGCCCCGGAGCCGGAGCCCGAGCCCGAGCCCACGGTGGGCGCCGAGTGCTACCGCCGCGCGCTGCAGCTGCGGGCCGGGCCGCGGGTCAAGCTGCAACTCTGGGACACCGCGGGCCACGAGCGCTTCAGGTGCATCACCAGGTCCTTTTACCGGAATGTGGTGGGTGTCCTGCTGGTCTTTGATGTGACAAACAGGAAGTCCTTTGAACACATCCAAGACTGGCACCAGGAGGTCATGGCCACTCAGGGCCCGGACAAGGTCATCTTCCTGCTGGTTGGCCACAAGAGTGACCTGCAGAGCACCCGCTGTGTCTCAGCCCAGGAGGCCGAGGAGCTAGCTGCCTCCCTGGGCATGGCCTTCGTGGAGACCTCGGTTAAAAACAACTGCAATGTGGACCTGGCCTTTGACACCCTCGCTGATGCTATCCAGCAGGCCCTGCAGCAGGGGGACATCAAGCTAGAAGAGGGCTGGGGGGGTGTCCGGCTCATCCACAAGACCCAAATCCCCAGGTCCCCCAGCAGGAAGCAGCACTCAGGCCCATGCCAGTGTTGACTCTAGGAGAGAAAGGGTTAAAGCAGTCCCAGCCTTAGCCCACCTGGTGGGATGGGGAGTGTTAATATCTCTCTGGAGGACAAATGACAGAAGGGTTCATATAAACAGTATCCTGACACAGTCATGCTTCCTGGATTTTGGAGTCGAGGCTTTCTACAGAAAAGAAAGTTCTGATGGCCAGGC\";\n\n\t\tGCResult gc2 = d.new GCResult(t2);\n\t\tAssert.assertEquals(28.79331, gc2.getCPercent(), 0.1);\n\t\tAssert.assertEquals(32.37754, gc2.getGPercent(), 0.1);\n\t\tAssert.assertEquals(61.17085, gc2.getGCPercent(), 0.1);\n\t\tAssert.assertEquals(837, gc2.getRegionLength());\n\n\t\tList<GCResult> list = new ArrayList<>();\n\t\tlist.add(gc1);\n\t\tlist.add(gc2);\n\n\t\tGCIsoformSummary s = d.new GCIsoformSummary(null, list);\n\t\tAssert.assertEquals(s.getMedianC(), 27.67871, 0.1);\n\t\tAssert.assertEquals(s.getMedianG(), 29.57339, 0.1);\n\t\tAssert.assertEquals(s.getMedianGC(), 57.25209, 0.1);\n\t\tAssert.assertEquals(s.getMedianTranscriptLength(), 1394);\n\n\t}", "title": "" }, { "docid": "748fb10d3e099f37a545dba2c6f48bea", "score": "0.58505374", "text": "@Test(timeout = 4000)\n public void test194() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n Vector<Object> vector0 = new Vector<Object>();\n resultMatrixHTML0.setPrintColNames(false);\n Object object0 = new Object();\n vector0.add(object0);\n resultMatrixHTML0.m_HeaderKeys = vector0;\n resultMatrixHTML0.listOptions();\n resultMatrixHTML0.getDefaultShowAverage();\n resultMatrixHTML0.getDefaultMeanWidth();\n resultMatrixHTML0.getMean((-1010), 791);\n resultMatrixHTML0.getMeanPrec();\n resultMatrixHTML0.clearHeader();\n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText(0, 2792);\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(resultMatrixPlainText0);\n // Undeclared exception!\n resultMatrixSignificance0.toStringSummary();\n }", "title": "" }, { "docid": "1d56be8f5eed5636399f13057f0e69a1", "score": "0.5847516", "text": "@Test\n public void testCalcPharaohShare() {\n System.out.println(\"calcPharaohShare\");\n double cropYield = 100.0;\n double pharaohPercent = 0.10;\n double pharaohShare = 10.0;\n double expResult = 10.0;\n double result = PharaohShare.calcPharaohShare(cropYield, pharaohPercent, pharaohShare);\n assertEquals(expResult, result, 0.0);\n \n }", "title": "" }, { "docid": "a9613610a2cba2ba71bd30ba5bedc066", "score": "0.58467287", "text": "@Test(timeout = 4000)\n public void test00() throws Throwable {\n JRip jRip0 = new JRip();\n Attribute attribute0 = new Attribute(\"?G\", 1390);\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute0);\n String string0 = jRip_NominalAntd0.getRevision();\n assertEquals(\"8118\", string0);\n assertEquals(Double.NaN, jRip_NominalAntd0.getCover(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getAttrValue(), 0.01);\n assertEquals(2, jRip0.getOptimizations());\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(1L, jRip0.getSeed());\n assertTrue(jRip0.getUsePruning());\n assertFalse(jRip0.getDebug());\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccuRate(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccu(), 0.01);\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(3, jRip0.getFolds());\n assertEquals(0.0, jRip_NominalAntd0.getMaxInfoGain(), 0.01);\n }", "title": "" }, { "docid": "65fe0b18d94d74e3a274abba633f764b", "score": "0.5845195", "text": "@Test(timeout = 4000)\n public void test06() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n instances0.setRelationName(\"KHz-h$PU_MZ*>1wG2^^\");\n byte[] byteArray0 = new byte[4];\n byteArray0[0] = (byte) (-116);\n byteArray0[1] = (byte) (-18);\n byteArray0[2] = (byte) (-118);\n byteArray0[3] = (byte)24;\n FileSystemHandling.appendDataToFile((EvoSuiteFile) null, byteArray0);\n Enumeration enumeration0 = textDirectoryLoader0.listOptions();\n Evaluation evaluation0 = new Evaluation(instances0, (CostMatrix) null);\n instances0.lastIndexOf(enumeration0);\n evaluation0.numFalseNegatives(78);\n evaluation0.toCumulativeMarginDistributionString();\n SVMLightLoader sVMLightLoader0 = new SVMLightLoader();\n SMOreg sMOreg0 = new SMOreg();\n String[] stringArray0 = new String[4];\n stringArray0[0] = \".bsi\";\n String string0 = \"D4C9\";\n stringArray0[1] = \"D4C9\";\n stringArray0[2] = \".gz\";\n stringArray0[3] = \"KHz-h$PU_MZ*>1wG2^^\";\n try { \n Evaluation.evaluateModel((Classifier) sMOreg0, stringArray0);\n fail(\"Expecting exception: Exception\");\n \n } catch(Exception e) {\n //\n // \n // Weka exception: No training file and no object input file given.\n // \n // General options:\n // \n // -h or -help\n // \\tOutput help information.\n // -synopsis or -info\n // \\tOutput synopsis for classifier (use in conjunction with -h)\n // -t <name of training file>\n // \\tSets training file.\n // -T <name of test file>\n // \\tSets test file. If missing, a cross-validation will be performed\n // \\ton the training data.\n // -c <class index>\n // \\tSets index of class attribute (default: last).\n // -x <number of folds>\n // \\tSets number of folds for cross-validation (default: 10).\n // -no-cv\n // \\tDo not perform any cross validation.\n // -split-percentage <percentage>\n // \\tSets the percentage for the train/test set split, e.g., 66.\n // -preserve-order\n // \\tPreserves the order in the percentage split.\n // -s <random number seed>\n // \\tSets random number seed for cross-validation or percentage split\n // \\t(default: 1).\n // -m <name of file with cost matrix>\n // \\tSets file with cost matrix.\n // -l <name of input file>\n // \\tSets model input file. In case the filename ends with '.xml',\n // \\ta PMML file is loaded or, if that fails, options are loaded\n // \\tfrom the XML file.\n // -d <name of output file>\n // \\tSets model output file. In case the filename ends with '.xml',\n // \\tonly the options are saved to the XML file, not the model.\n // -v\n // \\tOutputs no statistics for training data.\n // -o\n // \\tOutputs statistics only, not the classifier.\n // -i\n // \\tOutputs detailed information-retrieval statistics for each class.\n // -k\n // \\tOutputs information-theoretic statistics.\n // -classifications \\\"weka.classifiers.evaluation.output.prediction.AbstractOutput + options\\\"\n // \\tUses the specified class for generating the classification output.\n // \\tE.g.: weka.classifiers.evaluation.output.prediction.PlainText\n // -p range\n // \\tOutputs predictions for test instances (or the train instances if\n // \\tno test instances provided and -no-cv is used), along with the \n // \\tattributes in the specified range (and nothing else). \n // \\tUse '-p 0' if no attributes are desired.\n // \\tDeprecated: use \\\"-classifications ...\\\" instead.\n // -distribution\n // \\tOutputs the distribution instead of only the prediction\n // \\tin conjunction with the '-p' option (only nominal classes).\n // \\tDeprecated: use \\\"-classifications ...\\\" instead.\n // -r\n // \\tOnly outputs cumulative margin distribution.\n // -xml filename | xml-string\n // \\tRetrieves the options from the XML-data instead of the command line.\n // -threshold-file <file>\n // \\tThe file to save the threshold data to.\n // \\tThe format is determined by the extensions, e.g., '.arff' for ARFF \n // \\tformat or '.csv' for CSV.\n // -threshold-label <label>\n // \\tThe class label to determine the threshold data for\n // \\t(default is the first label)\n // \n // Options specific to weka.classifiers.functions.SMOreg:\n // \n // -C <double>\n // \\tThe complexity constant C.\n // \\t(default 1)\n // -N\n // \\tWhether to 0=normalize/1=standardize/2=neither.\n // \\t(default 0=normalize)\n // -I <classname and parameters>\n // \\tOptimizer class used for solving quadratic optimization problem\n // \\t(default weka.classifiers.functions.supportVector.RegSMOImproved)\n // -K <classname and parameters>\n // \\tThe Kernel to use.\n // \\t(default: weka.classifiers.functions.supportVector.PolyKernel)\n // \n // Options specific to optimizer ('-I') weka.classifiers.functions.supportVector.RegSMOImproved:\n // \n // -T <double>\n // \\tThe tolerance parameter for checking the stopping criterion.\n // \\t(default 0.001)\n // -V\n // \\tUse variant 1 of the algorithm when true, otherwise use variant 2.\n // \\t(default true)\n // -P <double>\n // \\tThe epsilon for round-off error.\n // \\t(default 1.0e-12)\n // -L <double>\n // \\tThe epsilon parameter in epsilon-insensitive loss function.\n // \\t(default 1.0e-3)\n // -W <double>\n // \\tThe random number seed.\n // \\t(default 1)\n // \n // Options specific to kernel ('-K') weka.classifiers.functions.supportVector.PolyKernel:\n // \n // -D\n // \\tEnables debugging output (if available) to be printed.\n // \\t(default: off)\n // -no-checks\n // \\tTurns off all checks - use with caution!\n // \\t(default: checks on)\n // -C <num>\n // \\tThe size of the cache (a prime number), 0 for full cache and \n // \\t-1 to turn it off.\n // \\t(default: 250007)\n // -E <num>\n // \\tThe Exponent to use.\n // \\t(default: 1.0)\n // -L\n // \\tUse lower-order terms.\n // \\t(default: no)\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }", "title": "" }, { "docid": "1fe139f6343c96a15f7e182214035dc3", "score": "0.58415395", "text": "public void test1() {\n\n int populationSize = 100;\n int genomeLength = 10;\n double target = 0.0;\n\n List<NumericGenome> genomes = TestPopulationUtility.createRandomGenomes(\n random,\n populationSize,\n genomeLength);\n\n\n List<TestSpeciesMember> members = new ArrayList<>();\n for (NumericGenome genome : genomes) {\n members.add(new TestSpeciesMember(genome, target));\n }\n\n TestGeneticAlgorithm algorithm = TestGeneticAlgorithmUtility.createAlgorithm(random, target);\n\n EvolutionParameters evolutionParameters = TestGeneticAlgorithmUtility.getEvolutionParameters();\n SelectionStrategy selectionStrategy = TestGeneticAlgorithmUtility.getSelectionStrategy();\n EvolutionContext evolutionContext = new EvolutionContext(evolutionParameters, selectionStrategy);\n\n TestPopulation population = algorithm.createNewPopulation(evolutionContext, members);\n PopulationFitnessSnapshot fitnessSnapshot = PopulationFitnessSnapshot.create(population);\n\n DiscreteDistribution<FitnessItem<UUID>> fitnessDistribution =\n selectionStrategy.getSelectionDistribution(fitnessSnapshot, null);\n\n HashMap<UUID, Integer> genomeSelectionCounts = new HashMap<>();\n SortedMap<Double, Integer> fitnessCounts = new TreeMap<>();\n\n List<NumericGenome> fitnessSortedGenomes = new ArrayList<>();\n\n for (TestSpecies s : population.species()) {\n for (TestSpeciesMember m : s.members()) {\n fitnessSortedGenomes.add(m.genome());\n }\n }\n\n fitnessSortedGenomes.sort(Comparator.comparingDouble(fitnessSnapshot::getFitness));\n\n boolean groupedSelectionSampling = TestGeneticAlgorithmUtility.groupedSelectionSampling;\n\n for (int i = 0; i < 100000; i++) {\n\n FitnessItem<UUID> selected = fitnessDistribution.sample(random, groupedSelectionSampling);\n Double fitness = fitnessSnapshot.getFitness(selected.item);\n\n genomeSelectionCounts.merge(selected.item, 1, (a, b) -> a + b);\n fitnessCounts.merge(fitness, 1, (a, b) -> a + b);\n\n }\n\n for (NumericGenome value : fitnessSortedGenomes) {\n\n int count = 0;\n\n if (genomeSelectionCounts.containsKey(value.genomeId())) {\n count = genomeSelectionCounts.get(value.genomeId());\n }\n\n System.out.println(String.format(\"%f - %d\", fitnessSnapshot.getFitness(value), count));\n }\n\n for (Map.Entry<Double, Integer> pair : fitnessCounts.entrySet()) {\n System.out.println(String.format(\"%f - %d\", pair.getKey(), pair.getValue()));\n }\n\n }", "title": "" }, { "docid": "1dbb2d3881a1b6e92e5f64ecfc3846f3", "score": "0.58382714", "text": "@Test(timeout = 4000)\n public void test48() throws Throwable {\n JRip jRip0 = new JRip();\n FileSystemHandling.shouldAllThrowIOExceptions();\n LinkedList<Locale.LanguageRange> linkedList0 = new LinkedList<Locale.LanguageRange>();\n Locale.FilteringMode locale_FilteringMode0 = Locale.FilteringMode.IGNORE_EXTENDED_RANGES;\n Locale.filterTags((List<Locale.LanguageRange>) linkedList0, (Collection<String>) null, locale_FilteringMode0);\n Attribute attribute0 = new Attribute(\"\");\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd(attribute0);\n Locale.LanguageRange locale_LanguageRange0 = new Locale.LanguageRange(\"integer\");\n attribute0.setWeight(1);\n jRip_NumericAntd0.toString();\n String string0 = jRip_NumericAntd0.toString();\n assertEquals(\" <= NaN\", string0);\n \n double double0 = jRip_NumericAntd0.getCover();\n assertEquals(3, jRip0.getFolds());\n assertEquals(1L, jRip0.getSeed());\n assertTrue(jRip0.getUsePruning());\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(Double.NaN, jRip_NumericAntd0.getAccu(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd0.getAccuRate(), 0.01);\n assertTrue(jRip0.getCheckErrorRate());\n assertFalse(jRip0.getDebug());\n assertEquals(Double.NaN, jRip_NumericAntd0.getAttrValue(), 0.01);\n assertEquals(Double.NaN, double0, 0.01);\n assertEquals(0.0, jRip_NumericAntd0.getMaxInfoGain(), 0.01);\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n }", "title": "" }, { "docid": "91237bc0403ce97642ef95fe71d22800", "score": "0.583407", "text": "@Test(timeout = 4000)\n public void test058() throws Throwable {\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(13, 13);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixLatex0);\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(13, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(13, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(13, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(13, resultMatrixLatex0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n \n String string0 = resultMatrixLatex0.getRowName(330);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNull(string0);\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(13, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(13, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(13, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(13, resultMatrixLatex0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(1141, 1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixGnuPlot0);\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(1141, resultMatrixGnuPlot0.getColCount());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(1141, resultMatrixGnuPlot0.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n \n String string1 = resultMatrixGnuPlot0.getRowName(2);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNull(string1);\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(1141, resultMatrixGnuPlot0.getColCount());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(1141, resultMatrixGnuPlot0.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n \n resultMatrixGnuPlot0.addHeader(\"$circ$\", \"\");\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(1141, resultMatrixGnuPlot0.getColCount());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(1141, resultMatrixGnuPlot0.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n \n resultMatrixLatex0.assign(resultMatrixGnuPlot0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(50, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateColNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(1141, resultMatrixLatex0.getColCount());\n assertTrue(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(1141, resultMatrixGnuPlot0.getColCount());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(1141, resultMatrixGnuPlot0.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n \n String string2 = resultMatrixLatex0.getColName(13);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(string2);\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(50, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(1141, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateColNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(1141, resultMatrixLatex0.getColCount());\n assertTrue(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"col13\", string2);\n \n boolean boolean0 = resultMatrixLatex0.getDefaultShowStdDev();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(50, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(1141, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateColNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(1141, resultMatrixLatex0.getColCount());\n assertTrue(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(boolean0);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixCSV0);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n \n String string3 = resultMatrixCSV0.getRevision();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(string3);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertFalse(string3.equals((Object)string2));\n assertEquals(\"8034\", string3);\n \n String string4 = resultMatrixLatex0.significanceWidthTipText();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(string4);\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(50, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(1141, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateColNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(1141, resultMatrixLatex0.getColCount());\n assertTrue(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(string4.equals((Object)string2));\n assertFalse(string4.equals((Object)string3));\n assertEquals(\"The width of the significance indicator (0 = optimal).\", string4);\n \n String string5 = resultMatrixLatex0.enumerateColNamesTipText();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(string5);\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(50, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(1141, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateColNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(1141, resultMatrixLatex0.getColCount());\n assertTrue(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(string5.equals((Object)string2));\n assertFalse(string5.equals((Object)string3));\n assertFalse(string5.equals((Object)string4));\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", string5);\n \n String string6 = resultMatrixGnuPlot0.removeFilterNameTipText();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(string6);\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(1141, resultMatrixGnuPlot0.getColCount());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertFalse(string6.equals((Object)string5));\n assertFalse(string6.equals((Object)string3));\n assertFalse(string6.equals((Object)string4));\n assertFalse(string6.equals((Object)string2));\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", string6);\n }", "title": "" }, { "docid": "416b77ce3d83cc4686df812f7563c315", "score": "0.58317643", "text": "@Test(timeout = 4000)\n public void test179() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixSignificance0);\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance(resultMatrixSignificance0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixSignificance1);\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n \n String string0 = resultMatrixSignificance1.getRevision();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(string0);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertEquals(\"8034\", string0);\n \n resultMatrixSignificance0.setRowName(1, \"oH1gj]?=n)@/!%\");\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n \n boolean boolean0 = resultMatrixSignificance1.getShowAverage();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertFalse(boolean0);\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(resultMatrixSignificance1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixLatex0);\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(40, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n \n resultMatrixLatex0.setCount(2, 1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(40, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n \n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(resultMatrixSignificance0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixHTML0);\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(40, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n \n String string1 = resultMatrixHTML0.toString();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(string1);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(40, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(string1.equals((Object)string0));\n assertEquals(\"<table border=\\\"1\\\" cellpadding=\\\"3\\\" cellspacing=\\\"0\\\">\\n <tr><td><b>Dataset</b></td><td align=\\\"center\\\" colspan=\\\"1\\\"><b>(1)</b></td></tr>\\n <tr><td>row0</td><td align=\\\"right\\\">&nbsp;</td></tr>\\n <tr><td>(v/ /*)</td><td align=\\\"right\\\">&nbsp;</td></tr>\\n</table>\\n\", string1);\n }", "title": "" }, { "docid": "d6973c7b8886ccf52471042be1f8c0ef", "score": "0.5822294", "text": "@Test(timeout = 4000)\n public void test39() throws Throwable {\n NaiveBayesMultinomialText naiveBayesMultinomialText0 = new NaiveBayesMultinomialText();\n SGDText sGDText0 = new SGDText();\n Capabilities capabilities0 = sGDText0.getCapabilities();\n TestInstances.forCapabilities(capabilities0);\n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n Instances instances0 = testInstances0.generate();\n FileSystemHandling.appendLineToFile((EvoSuiteFile) null, \" \");\n naiveBayesMultinomialText0.setLowercaseTokens(true);\n FileSystemHandling.shouldThrowIOException((EvoSuiteFile) null);\n naiveBayesMultinomialText0.m_t = 1.0;\n InputMappedClassifier inputMappedClassifier0 = new InputMappedClassifier();\n inputMappedClassifier0.getModelHeader(instances0);\n double[] doubleArray0 = new double[3];\n doubleArray0[0] = (double) (-2);\n inputMappedClassifier0.getModelHeader(instances0);\n naiveBayesMultinomialText0.buildClassifier(instances0);\n int[] intArray0 = new int[2];\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance((-2), intArray0, (-1));\n }", "title": "" }, { "docid": "8f00c7328269a9727578584f1bb2ed59", "score": "0.58179843", "text": "@Test(timeout = 4000)\n public void test64() throws Throwable {\n ArrayList<Attribute> arrayList0 = new ArrayList<Attribute>();\n byte[] byteArray0 = new byte[10];\n byteArray0[1] = (byte)51;\n byteArray0[2] = (byte)51;\n byteArray0[3] = (byte) (-51);\n FileSystemHandling.appendDataToFile((EvoSuiteFile) null, byteArray0);\n Instances instances0 = new Instances(\"58%FEblGq\", arrayList0, 661);\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance(661);\n instances0.add((Instance) binarySparseInstance0);\n ArrayList<String> arrayList1 = new ArrayList<String>();\n Attribute attribute0 = new Attribute(\"@relation\", arrayList1, 10);\n instances0.setClass(attribute0);\n JRip jRip0 = new JRip();\n JRip.RipperRule jRip_RipperRule0 = jRip0.new RipperRule();\n jRip_RipperRule0.prune(instances0, true);\n BinarySparseInstance binarySparseInstance1 = new BinarySparseInstance((byte)51);\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd(attribute0);\n arrayList1.add(\"real\");\n jRip_NumericAntd0.splitData(instances0, 1897.9539584839, (byte) (-51));\n Attribute attribute1 = new Attribute(\"numeric\", arrayList1);\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute1);\n jRip_NominalAntd0.splitData(instances0, (-1.0), 2);\n jRip_NumericAntd0.splitData(instances0, 1, (-88.0));\n // Undeclared exception!\n try { \n jRip0.distributionForInstance(binarySparseInstance1);\n fail(\"Expecting exception: RuntimeException\");\n \n } catch(RuntimeException e) {\n //\n // DenseInstance doesn't have access to a dataset!\n //\n verifyException(\"weka.core.AbstractInstance\", e);\n }\n }", "title": "" }, { "docid": "9132c0af293fb209afce6656259fb7de", "score": "0.5817883", "text": "@Test(timeout = 4000)\n public void test101() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixSignificance0);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n \n resultMatrixSignificance0.m_EnumerateColNames = false;\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n \n double double0 = resultMatrixSignificance0.getCount((-1592));\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0.0, double0, 0.01);\n \n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixHTML0);\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n \n String string0 = resultMatrixHTML0.globalInfo();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(string0);\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"Generates the matrix output as HTML.\", string0);\n \n int[] intArray0 = new int[2];\n intArray0[0] = 0;\n intArray0[1] = 568;\n resultMatrixSignificance0.setColOrder(intArray0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertArrayEquals(new int[] {0, 568}, intArray0);\n assertEquals(2, intArray0.length);\n }", "title": "" }, { "docid": "f21e69a2c7348ad55486654b3b01e091", "score": "0.5815621", "text": "@Test\n\tpublic void TestFastDOCComputations() {\n\t\t\n\t\t\n\t\tBAMFile testBam = new BAMFile(new File(\"src/test/java/testbams/tinybam.bam\"));\n\t\t\n\t\t//First just test to make sure we get back some data and no errors are thrown. \n\t\ttry {\n\t\t\tint[] depths = computeCovForRegion(testBam.getFile(), \"12\", 52305000, 52311000, false);\n\t\t\tAssert.assertNotNull(depths);\n\t\t\tAssert.assertTrue(depths.length > 0);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t\tAssert.fail();\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t\tAssert.fail();\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\t//Check out a space with no coverage...\n\t\ttry {\n\t\t\t\n\t\t\tint[] depths = computeCovForRegion(testBam.getFile(), \"1\", 100, 200, false);\n\t\t\tAssert.assertEquals(100, depths[0]);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t\tAssert.fail();\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t\tAssert.fail();\n\t\t}\n\t\t\n\t\t\n\t\t//This contig has reads but not in the intervals given\n\t\ttry {\n\t\t\t\n\t\t\tint[] depths = computeCovForRegion(testBam.getFile(), \"12\", 100, 200, false);\n\t\t\tAssert.assertEquals(100, depths[0]);\n\t\t\tdepths = computeCovForRegion(testBam.getFile(), \"12\", 60000000, 60000100, false);\n\t\t\tAssert.assertEquals(100, depths[0]);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t\tAssert.fail();\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t\tAssert.fail();\n\t\t}\n\n\n\n\n\t\t//OK, now test an area that has some actual coverage\n\t\ttry {\n\t\t\tint[] depths = computeCovForRegion(testBam.getFile(), \"12\", 52305854, 52305858, false);\n\t\t\tAssert.assertEquals(0, depths[0]);\n\t\t\tAssert.assertEquals(4, depths[1]);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t\tAssert.fail();\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t\tAssert.fail();\n\t\t}\n\n\n\t\t//Look at a few single sites...\n\n\t\ttry {\n\t\t\tint[] depths = computeCovForRegion(testBam.getFile(), \"12\", 52306120, 52306121, false);\n\t\t\tAssert.assertEquals(0, depths[0]);\n\t\t\tAssert.assertEquals(1, depths[6]);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t\tAssert.fail();\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t\tAssert.fail();\n\t\t}\n\n\n\t\ttry {\n\t\t\tint[] depths = computeCovForRegion(testBam.getFile(), \"12\", 52306240, 52306241, false);\n\t\t\tAssert.assertEquals(0, depths[0]);\n\t\t\tAssert.assertEquals(1, depths[20]);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t\tAssert.fail();\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t\tAssert.fail();\n\t\t}\n\n\t\t\n\t\ttry {\n\t\t\tint[] depths = computeCovForRegion(testBam.getFile(), \"12\", 52308915, 52308916, false);\n\t\t\tAssert.assertEquals(0, depths[0]);\n\t\t\tAssert.assertEquals(1, depths[16]);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t\tAssert.fail();\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t\tAssert.fail();\n\t\t}\n\n\t\t\n\t\ttry {\n\t\t\tint[] depths = computeCovForRegion(testBam.getFile(), \"12\", 52306000, 52307600, false);\n\t\t\t\n\t\t\tdouble[] props = CoverageCalculator.convertCountsToProportions(depths);\n\t\t\tdouble prev = 100.0;\n\t\t\tfor(int i=0; i<props.length-1; i++) {\n\t\t\t\tAssert.assertTrue(props[i] <= prev);\n\t\t\t\tAssert.assertTrue(props[i] <= 100.0);\n\t\t\t\tAssert.assertTrue(props[i] >= 0.0);\n\t\t\t\tprev = props[i];\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t\tAssert.fail();\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t\tAssert.fail();\n\t\t}\n\n\t}", "title": "" }, { "docid": "d41af87b7d77b1fd40a30154050d57df", "score": "0.5813755", "text": "@Test(timeout = 4000)\n public void test094() throws Throwable {\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixLatex0);\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n \n resultMatrixLatex0.setColNameWidth(17);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(17, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n \n ResultMatrixLatex resultMatrixLatex1 = new ResultMatrixLatex(resultMatrixLatex0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixLatex1);\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(17, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n \n resultMatrixLatex0.setOptions((String[]) null);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotSame(resultMatrixLatex0, resultMatrixLatex1);\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n \n boolean boolean0 = resultMatrixLatex0.getDefaultPrintColNames();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotSame(resultMatrixLatex0, resultMatrixLatex1);\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertFalse(boolean0);\n }", "title": "" }, { "docid": "59a18289a0febdffb2fe962bc608201e", "score": "0.580868", "text": "@Test(timeout = 4000)\n public void test020() throws Throwable {\n int int0 = 79;\n int int1 = 41;\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(79, 41);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixSignificance0);\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(41, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(79, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(79, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(41, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n \n String string0 = resultMatrixSignificance0.globalInfo();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(string0);\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(41, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(79, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(79, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(41, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", string0);\n \n boolean boolean0 = resultMatrixSignificance0.isMean(79);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(41, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(79, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(79, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(41, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(boolean0);\n \n boolean boolean1 = resultMatrixSignificance0.isAverage(41);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(41, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(79, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(79, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(41, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertTrue(boolean1 == boolean0);\n assertFalse(boolean1);\n \n int int2 = 44;\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(44, 44);\n }", "title": "" }, { "docid": "20f8bf84aba20b1c3e499b9432290c80", "score": "0.5804287", "text": "@Test\n public void checkDistributionsBasedOnPercentile() throws Exception {\n //String fileName = DATA_SET_DIR + \"SUPPFilterBasedFIs091708.txt\";\n String fileName = DATA_SET_DIR + \"WTFilterBasedFIs091708.txt\";\n System.out.println(\"File: \" + fileName);\n List<RowData> data = getRowData(fileName);\n Collections.sort(data, new Comparator<RowData>() {\n public int compare(RowData datum1, \n RowData datum2) {\n Double value1 = datum1.controlBased;\n Double value2 = datum2.controlBased;\n return value1.compareTo(value2);\n }\n });\n // Prepare fixed numbers\n int total = data.size();\n // Get the FI partners\n Set<String> fiPartners = generateIFNGPathwayInteractors(true, true);\n //Set<String> fiPartners = generateIFNGPathwayPPIInteractorsFromFiles();\n //Set<String> fiPartners = generateIFNGPathwayPPIInteractors();\n //List<String> fiPartners = getExtendardTargetGenes();\n // Get the total genes\n Set<String> totalGenes = new HashSet<String>();\n for (RowData row : data)\n totalGenes.add(row.gene);\n totalGenes.removeAll(getIFNGCoreComponents()); // Have to exclude these known target genes\n fiPartners.retainAll(totalGenes);\n System.out.println(\"Total FI partners: \" + fiPartners.size());\n // Check different percentile\n StringBuilder builder = new StringBuilder();\n builder.append(\"Percentile\\tLowerTailGenes\\tLowerTailShared\\tLowerTailP_value\\tUpperTailGenes\\tUpperTailShared\\tUpperTailP_Value\");\n for (int i = 0; i < 50; i++) {\n builder.append(\"\\n\");\n double percentile = 0.01 * (i + 1);\n builder.append(percentile);\n int recall = (int) (total * percentile);\n // Get the first 1%\n List<String> lowerTail = new ArrayList<String>();\n for (int j = 0; j < recall; j++) {\n RowData datum = data.get(j);\n lowerTail.add(datum.gene);\n }\n builder.append(\"\\t\").append(lowerTail.size());\n List<String> upperTail = new ArrayList<String>();\n for (int j = total - 1; j >= total - 1 - recall; j--) {\n RowData datum = data.get(j);\n upperTail.add(datum.gene);\n }\n Set<String> copy = new HashSet<String>(fiPartners);\n copy.retainAll(lowerTail);\n builder.append(\"\\t\").append(copy.size());\n double pvalue = MathUtilities.calculateHypergeometricPValue(totalGenes.size(), \n lowerTail.size(),\n fiPartners.size(),\n copy.size());\n builder.append(\"\\t\").append(pvalue);\n builder.append(\"\\t\").append(upperTail.size());\n copy = new HashSet<String>(fiPartners);\n copy.retainAll(upperTail);\n builder.append(\"\\t\").append(copy.size());\n pvalue = MathUtilities.calculateHypergeometricPValue(totalGenes.size(), \n upperTail.size(),\n fiPartners.size(),\n copy.size());\n builder.append(\"\\t\").append(pvalue);\n }\n System.out.println(builder.toString());\n }", "title": "" }, { "docid": "7ec614d958293daaf6a36d1a2939c7bf", "score": "0.57954127", "text": "@Test(timeout = 4000)\n public void test44() throws Throwable {\n JRip jRip0 = new JRip();\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd((Attribute) null);\n double double0 = jRip_NumericAntd0.getAccuRate();\n assertEquals(Double.NaN, jRip_NumericAntd0.getCover(), 0.01);\n assertEquals(1L, jRip0.getSeed());\n assertTrue(jRip0.getUsePruning());\n assertEquals(Double.NaN, jRip_NumericAntd0.getAttrValue(), 0.01);\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(3, jRip0.getFolds());\n assertEquals(Double.NaN, jRip_NumericAntd0.getSplitPoint(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd0.getAccu(), 0.01);\n assertEquals(0.0, jRip_NumericAntd0.getMaxInfoGain(), 0.01);\n assertEquals(Double.NaN, double0, 0.01);\n assertFalse(jRip0.getDebug());\n }", "title": "" }, { "docid": "a058452224b16924259bae1591911c35", "score": "0.57925427", "text": "@Test\n public void moon_t324() {\n final String dataset = \"PXS_Gene\" + randomeName();\n // go to DICOM service\n HomePage homePage = new HomePage();\n PreparePage prepare = new PreparePage();\n DataManagerPage dataManager = new DataManagerPage();\n AnnotatePage annotate = new AnnotatePage();\n\n // ---- Test Scripts ----- //\n loginToACRConnect();\n gotoDICOMService();\n createPXSDataset(dataset, \"covid19_empty\");\n openAilabApp();\n\n // Prepare the dataset and verify the dataset name\n prepare.open();\n prepare.preparePXSDataset(dataset);\n prepare.isDatasetPrepDone();\n homePage.gotoAnnotatePage();\n\n // choose the empty covid19 dataset\n annotate.selectPXS(dataset);\n annotate.clickSkip();\n IMG();\n annotate.clickSkip();\n annotate.clickNotAnnotatedDropdown();\n String result = annotate.getSkippedCount();\n IMG();\n homePage.openDataManager();\n dataManager.searchForDataset(dataset);\n dataManager.deleteDataset(dataset);\n IMG();\n Assert.assertEquals(result, \"[2]\");\n }", "title": "" }, { "docid": "97cd1a3ffe91d4eb41afdf8888be3af1", "score": "0.5789106", "text": "@Test\n public void testCalcDistinctPeakStats1() {\n System.out.println(\"calcDistinctPeakStats\");\n ArrayList data = new ArrayList(Arrays.asList(0, 0, 0, 0, 0, 1, 1, 1, 0, 0));\n double[] luminosity = {0.8, 0.7, 0.75, 0.77, 0.68, 0.66, 0.78, 0.9, 0.86, 0.88};\n FeatureExtractor instance = new FeatureExtractor();\n \n double expResult = 7;\n double result = instance.calcDistinctPeakStats(data, luminosity).length;\n assertEquals(expResult, result, 0.0);\n }", "title": "" }, { "docid": "92b521b39bf1f74ef0efda462a0abda5", "score": "0.57859564", "text": "@Test(timeout = 4000)\n public void test032() throws Throwable {\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixLatex0);\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n \n int[] intArray0 = new int[10];\n intArray0[0] = 1;\n intArray0[1] = 2;\n intArray0[2] = 8;\n intArray0[3] = 1;\n intArray0[4] = 8;\n intArray0[5] = 8;\n intArray0[6] = 8;\n intArray0[7] = 8;\n resultMatrixLatex0.m_RowOrder = intArray0;\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n \n resultMatrixLatex0.setSignificanceWidth(8);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(8, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n \n // Undeclared exception!\n try { \n resultMatrixLatex0.toStringMatrix();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.experiment.ResultMatrixLatex\", e);\n }\n }", "title": "" }, { "docid": "b792fbbdd57dddcdee1b397c17cdc461", "score": "0.5781803", "text": "@Test\n public void time()throws IOException{\n Random random = new Random();\n for (int i = 0; i < 500; i++) {\n\n int c = random.nextInt(100000);\n log.info(String.valueOf(c));\n }\n\n\n\n\n\n\n\n }", "title": "" }, { "docid": "e90c3a1a77ca9851033ce7d814fdc934", "score": "0.5779114", "text": "@Test\n\tpublic void testMD2() {\n\t}", "title": "" }, { "docid": "280f691e6a2fcfc48443ff2c3c29fb15", "score": "0.5778119", "text": "@Test\n\tpublic void test() {\n\t\t//Test Cases for Standard Materials.\n\t\tassertEquals(\"Wrong Answer\",960000,cc.construction(1,800),0.0);\n\t\tassertEquals(\"Wrong Answer\",992160,cc.construction(1,826.8),0.0);\n\t\tassertEquals(\"Wrong Answer\",511200,cc.construction(1,426),0.0);\n\t\t//Test Cases for Above Standard Materials.\n\t\tassertEquals(\"Wrong Answer\",1350000,cc.construction(2,900),0.0);\n\t\tassertEquals(\"Wrong Answer\",874500,cc.construction(2,583),0.0);\n\t\tassertEquals(\"Wrong Answer\",677850,cc.construction(2,451.9),0.0);\n\t\t//Test Cases for High Standard Material.\n\t\tassertEquals(\"Wrong Answer\",900000,cc.construction(3,500),0.0);\n\t\tassertEquals(\"Wrong Answer\",1710450,cc.construction(3,950.25),0.0);\n\t\tassertEquals(\"Wrong Answer\",921600,cc.construction(3,512),0.0);\n\t\t//Test Cases for Highly Standard Materials with Fully Automated Home.\n\t\tassertEquals(\"Wrong Answer\",1250000,cc.construction(4,500),0.0);\n\t\tassertEquals(\"Wrong Answer\",625625,cc.construction(4,250.25),0.0);\n\t\tassertEquals(\"Wrong Answer\",1072500,cc.construction(4,429),0.0);\n\t\t\n\t}", "title": "" }, { "docid": "04aad42b344d7c62bf942f8e0e87f82f", "score": "0.57752407", "text": "@Test(timeout = 4000)\n public void test66() throws Throwable {\n JRip jRip0 = new JRip();\n ArrayList<Attribute> arrayList0 = new ArrayList<Attribute>();\n Attribute attribute0 = new Attribute(\"E\", \"E\", 661);\n arrayList0.add(attribute0);\n Instances instances0 = new Instances(\"E\", arrayList0, 661);\n jRip0.setUsePruning(false);\n arrayList0.spliterator();\n Utils.SMALL = (-3.0);\n try { \n jRip0.rulesetForOneClass(661, instances0, 0.0, 661);\n fail(\"Expecting exception: RuntimeException\");\n \n } catch(RuntimeException e) {\n //\n // Class index is negative (not set)!\n //\n verifyException(\"weka.core.Instances\", e);\n }\n }", "title": "" }, { "docid": "ab0ba5c5189923cb69481695eeda6719", "score": "0.5772168", "text": "@Test(timeout = 4000)\n public void test63() throws Throwable {\n JRip jRip0 = new JRip();\n ArrayList<Attribute> arrayList0 = new ArrayList<Attribute>();\n String string0 = \"E\";\n Instances instances0 = new Instances(\"E\", arrayList0, 661);\n jRip0.setUsePruning(false);\n arrayList0.spliterator();\n Utils.SMALL = (-3.0);\n try { \n jRip0.rulesetForOneClass(661, instances0, 0.0, 661);\n fail(\"Expecting exception: RuntimeException\");\n \n } catch(RuntimeException e) {\n //\n // Class index is negative (not set)!\n //\n verifyException(\"weka.core.Instances\", e);\n }\n }", "title": "" }, { "docid": "7fb9fffbbf98c81b3edd508d6b17625b", "score": "0.57679135", "text": "@Test\r\n public void testNumberOfBottomScrewsPackageEcoliteSmallCarport() {\r\n System.out.println(\"numberOfBottomScrewsPackageEcolite\");\r\n double length = 240.0;\r\n double width = 240.0;\r\n int expResult =1;\r\n int result = Calculator.numberOfBottomScrewsPackageEcolite(length, width);\r\n assertEquals(expResult, result);\r\n // We found a really nice flaw by running this test the result was actually zero \r\n // But it it pretty obc´vious that we need at least some screws to hold the roof. \r\n \r\n }", "title": "" }, { "docid": "abbb034f04bfb539a1f66e8c26e110cd", "score": "0.5766824", "text": "@Test(timeout = 4000)\n public void test028() throws Throwable {\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixLatex0);\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n \n int[][] intArray0 = new int[5][3];\n int[] intArray1 = new int[8];\n intArray1[0] = 0;\n intArray1[1] = 0;\n intArray1[2] = 0;\n intArray1[3] = 2;\n intArray1[4] = 2;\n intArray1[5] = 1;\n intArray1[6] = 2;\n intArray1[7] = 2;\n intArray0[0] = intArray1;\n int[] intArray2 = new int[7];\n assertFalse(intArray2.equals((Object)intArray1));\n \n intArray2[0] = 0;\n intArray2[1] = 2;\n intArray2[2] = 2;\n intArray2[3] = 0;\n intArray2[4] = 2;\n intArray2[5] = 2;\n intArray2[6] = 1;\n intArray0[1] = intArray2;\n int[] intArray3 = new int[1];\n assertFalse(intArray3.equals((Object)intArray1));\n assertFalse(intArray3.equals((Object)intArray2));\n \n intArray3[0] = 2;\n intArray0[2] = intArray3;\n int[] intArray4 = new int[0];\n assertFalse(intArray4.equals((Object)intArray1));\n assertFalse(intArray4.equals((Object)intArray3));\n assertFalse(intArray4.equals((Object)intArray2));\n \n intArray0[3] = intArray4;\n int[] intArray5 = new int[1];\n assertFalse(intArray5.equals((Object)intArray1));\n assertFalse(intArray5.equals((Object)intArray3));\n assertFalse(intArray5.equals((Object)intArray4));\n assertFalse(intArray5.equals((Object)intArray2));\n \n intArray5[0] = 1;\n intArray0[4] = intArray5;\n resultMatrixLatex0.m_Wins = intArray0;\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n \n int[] intArray6 = new int[10];\n assertFalse(intArray6.equals((Object)intArray2));\n assertFalse(intArray6.equals((Object)intArray1));\n assertFalse(intArray6.equals((Object)intArray3));\n assertFalse(intArray6.equals((Object)intArray4));\n assertFalse(intArray6.equals((Object)intArray5));\n \n intArray6[0] = 2;\n intArray6[5] = 2;\n intArray6[2] = 8;\n intArray6[3] = 1;\n intArray6[4] = 8;\n intArray6[5] = 8;\n intArray6[6] = 8;\n intArray6[7] = 8;\n resultMatrixLatex0.m_RowOrder = intArray6;\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n \n resultMatrixLatex0.setSignificanceWidth(8);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(8, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n \n // Undeclared exception!\n try { \n resultMatrixLatex0.toStringMatrix();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.experiment.ResultMatrixLatex\", e);\n }\n }", "title": "" } ]
dd67ac35ff47870b23f133f0fc6a4f77
Set the value of freightAmtInVisa
[ { "docid": "cc4cda79f51c46a610a913eecbe3c3b2", "score": "0.8330252", "text": "public void setFreightAmtInVisa(double freightAmtInVisa) {\n _freightAmtInVisa = freightAmtInVisa;\n }", "title": "" } ]
[ { "docid": "b128aecb0891a7385e6292270d868ac0", "score": "0.68900114", "text": "public double getFreightAmtInVisa() {\n return _freightAmtInVisa;\n }", "title": "" }, { "docid": "df7c47fcd6e879651872f237485a3543", "score": "0.6007385", "text": "public void setMontoFacturado(double param){\n \n this.localMontoFacturado=param;\n \n\n }", "title": "" }, { "docid": "a97bfabeaa4e64c38e69b5423a04a109", "score": "0.6003149", "text": "void setExpenses(double amount);", "title": "" }, { "docid": "5c8489dd222d552ed1ab65e204af0301", "score": "0.594266", "text": "void setIVA(float iva);", "title": "" }, { "docid": "dbaa798ae2903b7e2aa08ba04ad0019e", "score": "0.5916201", "text": "public void setFreight (java.lang.Double freight) {\r\n\t\tthis.freight = freight;\r\n\t}", "title": "" }, { "docid": "89bee45f734d7464f1ac5ef010f26b42", "score": "0.5852077", "text": "public void setMontoEstimado(double param){\n \n this.localMontoEstimado=param;\n \n\n }", "title": "" }, { "docid": "7258e4fd12e8bcf909c151a6fce2195e", "score": "0.5844503", "text": "public void setMontoFacturadoSinDescuento(double param){\n \n this.localMontoFacturadoSinDescuento=param;\n \n\n }", "title": "" }, { "docid": "6999a9382b0f66c98535a4bb84432287", "score": "0.58390605", "text": "public void setAmt(java.math.BigDecimal param) {\r\n this.localAmt = param;\r\n }", "title": "" }, { "docid": "8491af3e210bc91327bf06f2b4d528bc", "score": "0.5804378", "text": "public void setAmount(double amount) {\nloanAmount = amount;\n}", "title": "" }, { "docid": "468d198c90156dee0134801420368d18", "score": "0.57891715", "text": "public void setLineNetAmt (BigDecimal LineNetAmt);", "title": "" }, { "docid": "3a82d1e8a70bcd35b8af16174b4e58ac", "score": "0.5712145", "text": "public void setBalance(double bal){\n balance = bal;\r\n }", "title": "" }, { "docid": "54b54615bd97c52c4acd1043b08f6604", "score": "0.56900173", "text": "public void setMontoCatalogoEstimado(double param){\n \n this.localMontoCatalogoEstimado=param;\n \n\n }", "title": "" }, { "docid": "232fc0ec66497972beb568bbd9f53c3e", "score": "0.56831545", "text": "public void setFlete(double param){\n \n this.localFlete=param;\n \n\n }", "title": "" }, { "docid": "4aad0c17151dc5bd51b1663b211c6ad5", "score": "0.567932", "text": "void setMonto(double monto);", "title": "" }, { "docid": "4aad0c17151dc5bd51b1663b211c6ad5", "score": "0.567932", "text": "void setMonto(double monto);", "title": "" }, { "docid": "9a90750f6019e16f36eb9f2c45864cb3", "score": "0.5642335", "text": "public void setRefundedCredits(float val) {\n // ProtectBlock setRefundedCredits\n // ProtectBlock End\n this.refundedCredits = val;\n }", "title": "" }, { "docid": "4af7176511abcad57fc01359da0ae07f", "score": "0.55754155", "text": "void setCurrentAmount(double newAmount) {\n this.currentAmount = newAmount;\n }", "title": "" }, { "docid": "0d5d1528fe65ba6121cef829f0ccd451", "score": "0.5562063", "text": "public void setsaleamt(BigDecimal value) {\n setAttributeInternal(SALEAMT, value);\n }", "title": "" }, { "docid": "49b75a33c0c1f12d7a35592725ad2a44", "score": "0.5535324", "text": "public void setMontoSolicitado(double param){\n \n this.localMontoSolicitado=param;\n \n\n }", "title": "" }, { "docid": "15e48711b13906f3857cab92d5c824dc", "score": "0.55255044", "text": "public void setMontoDescuento(double param){\n \n this.localMontoDescuento=param;\n \n\n }", "title": "" }, { "docid": "1b0ca15dc0e9479d97fd44abcca27fa8", "score": "0.547172", "text": "void setIncome(double amount);", "title": "" }, { "docid": "ebeb8648a2341f02d3f6103d04e3a836", "score": "0.5469978", "text": "public void setLBR_TaxDeferralAmt (BigDecimal LBR_TaxDeferralAmt);", "title": "" }, { "docid": "60bb3b4a92c7efd2242b5be7148131f5", "score": "0.5459982", "text": "public void setFreemintotalprice(Float freemintotalprice) {\n this.freemintotalprice = freemintotalprice;\n }", "title": "" }, { "docid": "eb92e9a7728f75200b7da131b45bd223", "score": "0.5455992", "text": "public void setVat (java.math.BigDecimal vat) {\n\t\tthis.vat = vat;\n\t}", "title": "" }, { "docid": "9c2f9b75dd4db6749fefe6f7e0d57480", "score": "0.5450838", "text": "void setBalance(double value);", "title": "" }, { "docid": "b16c01aad7958149710114694df60d8e", "score": "0.54400814", "text": "public void setAmount(double amount) {\r\n\t\tthis.investmentAmount = amount;\r\n\t}", "title": "" }, { "docid": "9f3ef6586011696fcfb5a4d7b07fb8b1", "score": "0.5439206", "text": "public void setMontoPedidoRechazado(double param){\n \n this.localMontoPedidoRechazado=param;\n \n\n }", "title": "" }, { "docid": "6cbebf01ecca41f52f900b4a166d58db", "score": "0.5411362", "text": "public void setEstimatedFees(BigDecimal aEstimatedFees) {\n estimatedFees = aEstimatedFees;\n }", "title": "" }, { "docid": "f4ebb3c905fc7465a1d2ad0ce34895b4", "score": "0.5395505", "text": "public void setFee(int fee)\n {\n this.fee = fee;\n }", "title": "" }, { "docid": "3f5030449f7089e872b2b3d810cd2f3f", "score": "0.5387785", "text": "public void setCantidadFaltanteAnunciado(java.math.BigInteger param){\n \n this.localCantidadFaltanteAnunciado=param;\n \n\n }", "title": "" }, { "docid": "ca5593c01cb7a81d604aefde738abafa", "score": "0.5382885", "text": "public void setFreceivepricerate(BigDecimal freceivepricerate) {\n this.freceivepricerate = freceivepricerate;\n }", "title": "" }, { "docid": "f8711a4ddcbf7f50fe0968c3eca812d4", "score": "0.5382192", "text": "public void setAdvisorFee(BigDecimal advisorFee) {\r\n this.advisorFee = advisorFee;\r\n }", "title": "" }, { "docid": "1aa2f6cb8002cb97eed1f4add9e04f4c", "score": "0.5380941", "text": "public void setGottenFines(double fines){\r\n\t this.fines = fines;\r\n }", "title": "" }, { "docid": "f24891a55245c69944e13daff6ed9af6", "score": "0.53672594", "text": "public synchronized void setGoldAmt(int newAmt) {\n\t\tgoldAmt = newAmt;\n\t\tif(goldAmt < 0) \n\t\t\tgoldAmt = 0;\n\t\tgameHud.setGold(goldAmt);\n\t\t\n\t}", "title": "" }, { "docid": "556d535c3618f72a4307ee9a2a547175", "score": "0.5356912", "text": "public void setBalance(float value)\n {\n balanceCtrl.setValue(value);\n }", "title": "" }, { "docid": "bf0d150f47d35a7892b746aa31be9c8d", "score": "0.53568226", "text": "void setShowReportAmount(String amount);", "title": "" }, { "docid": "e6e7c45967ba7ed5576abeec5038ae7c", "score": "0.5354629", "text": "public void setLBR_TaxReliefAmt (BigDecimal LBR_TaxReliefAmt);", "title": "" }, { "docid": "daea2d8af08fc2d0dd9a5a27182b3bf3", "score": "0.53358644", "text": "public void setFee(Number value) {\n setAttributeInternal(FEE, value);\n }", "title": "" }, { "docid": "5e28609106727bb8e575f1e13649b8e5", "score": "0.5326175", "text": "public void setLiterAllocation (BigDecimal LiterAllocation);", "title": "" }, { "docid": "040075496e4e2d8a0ff4c08706b96290", "score": "0.53248745", "text": "public void setDmaValue(int value);", "title": "" }, { "docid": "01d3baf807befa7eba9c24083202115b", "score": "0.5299822", "text": "public void setCalculateAmt(BigDecimal aCalculateAmt) {\n calculateAmt = aCalculateAmt;\n }", "title": "" }, { "docid": "741c69bced31c7d60f2d9791d6cbdf1e", "score": "0.52890944", "text": "public void setBalance(){\n balance.setBalance();\n }", "title": "" }, { "docid": "3bda584f0fda381febd900667dea9498", "score": "0.52698606", "text": "public void setTotal_Venta(double total_Venta) {\n this.total_Venta = total_Venta;\n }", "title": "" }, { "docid": "49bc143fb6d27a7d1cb94b53f1c08537", "score": "0.52674115", "text": "public void setAz_ant(java.math.BigDecimal newAz_ant)\n\t\tthrows java.rmi.RemoteException;", "title": "" }, { "docid": "6cce3fd9f43fc1c3cf02507373ab5548", "score": "0.5228054", "text": "public void refuel() {\n fuelAmount = type.fuelCapacity;\n }", "title": "" }, { "docid": "451880c4301cbf35df54315656a5ba38", "score": "0.5226698", "text": "public void setFreeMoney(BigDecimal freeMoney) {\r\n this.freeMoney = freeMoney;\r\n }", "title": "" }, { "docid": "9c89b931393039ed5f3f197bfbc64dbb", "score": "0.52171904", "text": "public final void setHavaitutFrekvenssit(final int[] frekvenssit) {\r\n this.havaitutFrekvenssit = frekvenssit;\r\n }", "title": "" }, { "docid": "f2e5bd7e1f3404b6d773173efc5ee307", "score": "0.52064705", "text": "public abstract void setValue(double fltValue);", "title": "" }, { "docid": "d10b5d2de53c3a0283a06a5ec29b0298", "score": "0.5197094", "text": "public void setAgencyFee(BigDecimal agencyFee) {\r\n this.agencyFee = agencyFee;\r\n }", "title": "" }, { "docid": "e75a5a39175bb8c04937a2586948189f", "score": "0.5195004", "text": "public void setSaleAmount(double amount) {\n saleAmount = amount;\n }", "title": "" }, { "docid": "bb40df928898c0ec52137fbd4f5238ec", "score": "0.51943135", "text": "public void acelera(double aceleracion){\n\t\tsuVelocidad += aceleracion;\n\t}", "title": "" }, { "docid": "a0423bf38e7f797e45a5a45c231d28f2", "score": "0.5189107", "text": "public abstract void setMontant(Double unMontant);", "title": "" }, { "docid": "f15893b818a2bd0e251e8bc3804a2702", "score": "0.51844615", "text": "@Override\n\tpublic void acelerar() {\n\t\t// TODO Auto-generated method stub\n\t\t\t\tvelocidadActual += 40;\n\t\t\t\tif(velocidadActual>250) {\n\t\t\t\t\tvelocidadActual = 250;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tdepositoActual -= 10;\n\t\t\t\tSystem.out.println(\"Velocidad del ferrari: \"+velocidadActual);\n\t}", "title": "" }, { "docid": "011f33d9a89e527c4b262425f668bb2b", "score": "0.51800597", "text": "public void changeAstat(int amt) {\n\t\taStatN += amt;\n\t\taStatM = aStatN / 2;\n\t}", "title": "" }, { "docid": "1fa1ec722be3e3fb432a646b368ce2bd", "score": "0.51723367", "text": "public void setUsePoint(Money usePoint) {\n\t\tif (usePoint == null) {\n\t\t\tthis.usePoint = new Money(0, 0);\n\t\t} else {\n\t\t\tthis.usePoint = usePoint;\n\t\t}\n\t}", "title": "" }, { "docid": "86dde1a4bcc29c6e1fb90d8ced04e9c9", "score": "0.5172239", "text": "public void setLBR_ICMSST_TaxAmtUFSen (BigDecimal LBR_ICMSST_TaxAmtUFSen);", "title": "" }, { "docid": "ba920a6533e64d4bccdd356c213b0b43", "score": "0.5170048", "text": "private void setTotalValueAndNet(){\n\t\tBigDecimal currentPrice = getCurrentPrice(); //getCurrentPrice() is synchronized already\n\t\tsynchronized(this){\n\t\t\t//If quantity == 0, then there's no total value or net\n\t\t\tif(quantityOfShares > 0){\n\t\t\t\ttotalValue = currentPrice.multiply(new BigDecimal(quantityOfShares));\n\t\t\t\tnet = totalValue.subtract(principle);\n\t\t\t}\n\t\t\telse{\n\t\t\t\ttotalValue = new BigDecimal(0);\n\t\t\t\tnet = new BigDecimal(0);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "a0fe5664d7d12f2008ec30050caa876e", "score": "0.516867", "text": "public void actualizacionMemoriaFlotante(float value, int direccion){\n memoriaFlotante[direccion-inicioMem-tamMem] = value;\n }", "title": "" }, { "docid": "59075706781b4711f76c56397f18fc14", "score": "0.51685125", "text": "private void setRetailExportOriginalVat() {\n if (!isVatEnabled())\n return;\n if (originalVatAmount != null)\n return;\n try {\n ValueAddedTax tax = com.chelseasystems.cs.tax.CMSValueAddedTaxHelper.getOriginalValueAddedTax(\n BrowserManager.getInstance(), (CMSCompositePOSTransaction)compositePOSTransaction\n , (CMSStore)compositePOSTransaction.getStore()\n , (CMSStore)compositePOSTransaction.getStore(), compositePOSTransaction.getProcessDate());\n ValueAddedTaxDetail[] taxDetails = tax.getValueAddedTaxDetailArray();\n POSLineItemDetail[] taxableLineItemDetails = compositePOSTransaction.getLineItemDetailsArray();\n originalVatAmount = new ArmCurrency(0);\n if (taxDetails.length != taxableLineItemDetails.length)\n throw new ArrayIndexOutOfBoundsException(\"Unable to apply taxes. Index out of range.\");\n for (int i = 0; i < taxDetails.length; i++) {\n //System.out.println(\"adding to orig vat: \" + taxDetails[i].getAmount().round().formattedStringValue());\n if (taxableLineItemDetails[i].getLineItem().getItem().getVatRate() != null\n && taxableLineItemDetails[i].getLineItem().getItem().getVatRate().doubleValue() > 0)\n if (taxableLineItemDetails[i].getLineItem() instanceof ReturnLineItem)\n originalVatAmount = originalVatAmount.subtract(taxDetails[i].getAmount().round());\n else\n originalVatAmount = originalVatAmount.add(taxDetails[i].getAmount().round());\n }\n //System.out.println(\"orig vat calcs to: \" + originalVatAmount.formattedStringValue());\n } catch (Exception e) {\n ((IApplicationManager)BrowserManager.getInstance()).showExceptionDlg(e);\n }\n }", "title": "" }, { "docid": "9fae1a8f6f5338f991bc83b5c8d81a8e", "score": "0.5166076", "text": "public void setValue(double newV) { // assuming REST API update at instantiation - must be a Set method to prevent access to a variable directly\n this.Value=newV;\n }", "title": "" }, { "docid": "adf9a0d1f20934b4d465d00a9f88d54c", "score": "0.5166068", "text": "public void setFreightDuty (java.math.BigDecimal freightDuty) {\n\t\tthis.freightDuty = freightDuty;\n\t}", "title": "" }, { "docid": "8f66078472570617dcfb4ad20e65d8e5", "score": "0.5162462", "text": "void setFlow(double amount);", "title": "" }, { "docid": "e8e8e80b953d43dc318a19326f472c82", "score": "0.5161372", "text": "public void setFee(BigDecimal fee) {\r\n this.fee = fee;\r\n }", "title": "" }, { "docid": "d7ec6c0fd8af01fed773f8464edde744", "score": "0.5145403", "text": "public void setPayAmt (BigDecimal PayAmt);", "title": "" }, { "docid": "f8b841491719e5f72a2afa4886a7d31a", "score": "0.51374465", "text": "private void actualizarVisor()\n {\n visor.setText(\"\" + calc.getValorEnVisor());\n }", "title": "" }, { "docid": "b3b860bbbdff304aab92371a080d1953", "score": "0.51256025", "text": "@Test()\n public void testSetBudgetPerMonth() {\n\tfloat budget = 3000;\n\texpenseManager.setBudgetPerMonth(budget);\n\tassertEquals(3000, expenseManager.getBudgetPerMonth(), 0);\n }", "title": "" }, { "docid": "e9853e178ff02d824cf6e1b58d8b3327", "score": "0.51207393", "text": "public void setFee(BigDecimal fee) {\n this.fee = fee;\n }", "title": "" }, { "docid": "016e0e10dd5fba144d543b270a8241f3", "score": "0.5117494", "text": "public void setCantidadCUVErrado(java.math.BigInteger param){\n \n this.localCantidadCUVErrado=param;\n \n\n }", "title": "" }, { "docid": "0420bf8746d9d2af71ffeb777258f1b9", "score": "0.5112342", "text": "public final synchronized void mo39717a(anv anv) {\n this.f40731m = anv;\n requestLayout();\n }", "title": "" }, { "docid": "0e22b929f2e5a389934bc5316b673681", "score": "0.50863093", "text": "public void setLBR_TaxAmtCredit (BigDecimal LBR_TaxAmtCredit);", "title": "" }, { "docid": "c210a570448508eb66f967b9eaba615d", "score": "0.5084264", "text": "private void updateTotal() {\n int total = table.getTotal();\n vip.setConsumption(total);\n if (total > 0)\n payBtn.setText(PAY + RMB + total);\n else if (total == 0)\n payBtn.setText(PAY);\n }", "title": "" }, { "docid": "5113b3cfb68741d10cbd6438e15468e4", "score": "0.5083392", "text": "public void setfVal(float value){\n this.fVal = value;\n }", "title": "" }, { "docid": "3026cf2be6bc0028922f56fcbc64f5bd", "score": "0.5083284", "text": "public void setActualAmt(BigDecimal aActualAmt) {\n actualAmt = aActualAmt;\n }", "title": "" }, { "docid": "ce08a325aaab0bc3d3f1afae8d051b44", "score": "0.5082093", "text": "public void setFee(AmountType fee) {\n\t this.fee = fee;\n\t}", "title": "" }, { "docid": "8e66c2b32f45fadce933cc4194843af1", "score": "0.5081093", "text": "public void totalFacturaVenta(){\n BigDecimal totalVentaFactura = new BigDecimal(0);\n \n try{\n //Recorremos la lista de detalle y calculamos la Venta total de la factura\n for(Detallefactura det: listDetalle){\n //Sumamos a la variable 'totalVentaFactura'\n totalVentaFactura = totalVentaFactura.add(det.getTotal());\n } \n }catch(Exception e){\n e.printStackTrace();\n }\n \n //Setemos al objeto Factura el valor de la variable 'totalFacturaVenta'\n factura.setTotalVenta(totalVentaFactura);\n \n }", "title": "" }, { "docid": "7d7baac05a384152782c0d4aa0aa1828", "score": "0.5069738", "text": "public void setTotale(double totale) {\n\t\t\tthis.totale = totale;\n\t\t}", "title": "" }, { "docid": "57329ad8b5e577d4252adc2dd82e4e70", "score": "0.5057784", "text": "public static void amountPaid(){\n NewProject.tot_paid = Double.parseDouble(getInput(\"Please enter NEW amount paid to date: \"));\r\n\r\n UpdateData.updatePayment();\r\n updateMenu();\t//Return back to previous menu.\r\n\r\n }", "title": "" }, { "docid": "899f5d5327952a9a9b288253dae62bce", "score": "0.50575024", "text": "public void totalprice(float tprice)\n {\n \t this.mTotalPrice=tprice;\n }", "title": "" }, { "docid": "35b205a0270333d963b7ef2169dfedb9", "score": "0.5047645", "text": "public void setAfford(BigDecimal afford)\n {\n this.afford = afford;\n }", "title": "" }, { "docid": "d1dbda2f0baa9a7f619d84196cfdc93a", "score": "0.50420195", "text": "void setAmount(ch.crif_online.www.webservices.crifsoapservice.v1_00.Amount amount);", "title": "" }, { "docid": "a58512d7eb87170f56505805783205b7", "score": "0.50378144", "text": "public void setMontoCashbackReversoAnulacion(java.lang.Double montoCashbackReversoAnulacion) {\r\n this.montoCashbackReversoAnulacion = montoCashbackReversoAnulacion;\r\n }", "title": "" }, { "docid": "537460b7936de9f9359b2c3120f8a903", "score": "0.5036859", "text": "void setDiscount(float sconto);", "title": "" }, { "docid": "139701c924651e898ddd611a5a5adfc5", "score": "0.50352705", "text": "protected void onChange_VaccRate() {\n onChange_VaccRate_xjal( VaccRate );\n }", "title": "" }, { "docid": "c24bd4657be4496196c534965b4961df", "score": "0.5034151", "text": "public void set(double val);", "title": "" }, { "docid": "945e501c45fa8fb2063cf57ce7fb11bd", "score": "0.5030588", "text": "public void updateStudentFees(double fees){\n feesPaid+=fees;\n school.updateMoneyEarned(feesPaid);\n }", "title": "" }, { "docid": "037746d64974d57549e1ba9e86777baa", "score": "0.5028359", "text": "public void setTotal(Double total);", "title": "" }, { "docid": "f7437273abc43455aa11309f7b759f93", "score": "0.5016661", "text": "public void setRate(double annualRate) {\nmonthlyInterestRate = annualRate / 100.0 / MONTHS;\n}", "title": "" }, { "docid": "fc5850279e5c5d1e4dd48bbdda837454", "score": "0.50150853", "text": "public void setStmtAmt (BigDecimal StmtAmt);", "title": "" }, { "docid": "84d11687072e1fe57e54f31e3183a647", "score": "0.50098604", "text": "public void setVlrVenda(float vlrVenda) {\n this.vlrVenda = vlrVenda;\n }", "title": "" }, { "docid": "36d18d7cd0d3f9b7f0688882e1bc0a8b", "score": "0.5007753", "text": "void setCost(double cost);", "title": "" }, { "docid": "9424f7c74fd21d9db1d64325cd624355", "score": "0.5007073", "text": "@Override\n\tpublic void frenar() {\n\t\tvelocidadActual = 0;\n\t}", "title": "" }, { "docid": "050e75719715a79e2a0cfc52b921938a", "score": "0.49983698", "text": "protected void setTotalBalance(double balance)\r\n {\r\n totalBalance = balance;\r\n }", "title": "" }, { "docid": "56c20ba23dab5b529292746c6834298f", "score": "0.49970472", "text": "public void setDAmtInvoValidAmount(double dAmtInvoValidAmount)\r\n {\r\n this._dAmtInvoValidAmount = dAmtInvoValidAmount;\r\n this._has_dAmtInvoValidAmount = true;\r\n }", "title": "" }, { "docid": "1b6afbfa6fe8607b0d5a9dcb9205dc91", "score": "0.4989287", "text": "public void setFxUfTasaMargen(double value) {\r\n this.fxUfTasaMargen = value;\r\n }", "title": "" }, { "docid": "7f010e13f01c629f13dd660132fedddc", "score": "0.49869287", "text": "public void setF(){\n\t\tf=calculateF();\n\t}", "title": "" }, { "docid": "9d1a240c37d84b9c589fa0c53043c3f1", "score": "0.49787933", "text": "public void setTotalFasjabtel(double totalFasjabtel) {\n this.totalFasjabtel = totalFasjabtel;\n }", "title": "" }, { "docid": "85b8c8ebfe3de55e77851686eb985b8f", "score": "0.49719957", "text": "public void payFees(int fees) {\n feesPaid += fees;\n School.updateTotalMoneyEarned(feesPaid);\n }", "title": "" }, { "docid": "b9502ddd3a559d302dd1035eb872bb52", "score": "0.49707693", "text": "TotalRevenueView(){\r\n this.runningTotal = 0;\r\n this.VAT = 0;\r\n }", "title": "" }, { "docid": "3bf809e6dda009cad0579f44bccf0050", "score": "0.4970476", "text": "public void setFECHACRREVAL(int value) {\n this.fechacrreval = value;\n }", "title": "" }, { "docid": "5523f9ff401accd2296f2c5767e20c6e", "score": "0.49694806", "text": "public void defValor(double v) {\r\n\t\tthis.v = v;\r\n\t}", "title": "" } ]
80fc563822579b648435459e422ebf3a
Get participants from a call.
[ { "docid": "f0cd98249cdf24261c8beb60bc3347be", "score": "0.7225947", "text": "@ServiceMethod(returns = ReturnType.SINGLE)\n public GetParticipantsResponseInternal getParticipants(String callConnectionId) {\n return getParticipantsAsync(callConnectionId).block();\n }", "title": "" } ]
[ { "docid": "660360d34ea86b756d0bcff285feb499", "score": "0.6544913", "text": "@ServiceMethod(returns = ReturnType.SINGLE)\n public Mono<GetParticipantsResponseInternal> getParticipantsAsync(String callConnectionId) {\n return getParticipantsWithResponseAsync(callConnectionId)\n .flatMap(\n (Response<GetParticipantsResponseInternal> res) -> {\n if (res.getValue() != null) {\n return Mono.just(res.getValue());\n } else {\n return Mono.empty();\n }\n });\n }", "title": "" }, { "docid": "de59e2177d9eaadc9c3af4bb85f777b4", "score": "0.6456885", "text": "@ServiceMethod(returns = ReturnType.SINGLE)\n public Mono<GetParticipantsResponseInternal> getParticipantsAsync(String callConnectionId, Context context) {\n return getParticipantsWithResponseAsync(callConnectionId, context)\n .flatMap(\n (Response<GetParticipantsResponseInternal> res) -> {\n if (res.getValue() != null) {\n return Mono.just(res.getValue());\n } else {\n return Mono.empty();\n }\n });\n }", "title": "" }, { "docid": "71c794a34644570e2506812f62f62652", "score": "0.64403945", "text": "public Iterator<Participant> getParticipants ()\n {\n return participants.iterator();\n }", "title": "" }, { "docid": "cb8e0dff07bf2c84a708e7dce9127267", "score": "0.6327516", "text": "List<Participant> getAllParticipants();", "title": "" }, { "docid": "5a999f18a8fa6579eacafd0d69dee6eb", "score": "0.6200312", "text": "public Iterator<Participant> getParticipants() {\r\n\t\treturn pstate.getParticipants();\r\n\t}", "title": "" }, { "docid": "4b664adc9fdd06e16690cf4cc4d183e3", "score": "0.607318", "text": "Set<ParticipantId> getParticipantIds();", "title": "" }, { "docid": "73b4f9a77530f957c7272f0bb8319354", "score": "0.6035276", "text": "@ServiceMethod(returns = ReturnType.SINGLE)\n public AcsCallParticipantInternal getParticipant(String callConnectionId, String participantMri) {\n return getParticipantAsync(callConnectionId, participantMri).block();\n }", "title": "" }, { "docid": "f7741ee4fa094f6e80726bf34c3f49a1", "score": "0.6029966", "text": "@ServiceMethod(returns = ReturnType.SINGLE)\n public Response<GetParticipantsResponseInternal> getParticipantsWithResponse(\n String callConnectionId, Context context) {\n return getParticipantsWithResponseAsync(callConnectionId, context).block();\n }", "title": "" }, { "docid": "93cf8df9eb14c48aabadf1f8f2e9e621", "score": "0.5944975", "text": "public List<Integer> getParticipants() {\n\t\treturn participants;\n\t}", "title": "" }, { "docid": "07e2ba5b6ce3fb4ab0e7700c5af988c2", "score": "0.5923389", "text": "@ServiceMethod(returns = ReturnType.SINGLE)\n public Mono<Response<GetParticipantsResponseInternal>> getParticipantsWithResponseAsync(\n String callConnectionId, Context context) {\n final String accept = \"application/json\";\n return service.getParticipants(\n this.client.getEndpoint(), callConnectionId, this.client.getApiVersion(), accept, context);\n }", "title": "" }, { "docid": "9afbffb5355e0907ed5df8302dfeb794", "score": "0.5871347", "text": "Collection<Player> getRecipients();", "title": "" }, { "docid": "96e0658f1464e3d615c3917ed52ffc67", "score": "0.58486384", "text": "public ID[] getChatRoomParticipants() {\n return new ID[0];\n }", "title": "" }, { "docid": "014f3f737d760e4667adc961c4416bf6", "score": "0.57675165", "text": "List<Participant> getListAllParticipant();", "title": "" }, { "docid": "d8666a2e0e20b18f8def3b88f8b7f706", "score": "0.57410413", "text": "@ServiceMethod(returns = ReturnType.SINGLE)\n public Mono<Response<GetParticipantsResponseInternal>> getParticipantsWithResponseAsync(String callConnectionId) {\n final String accept = \"application/json\";\n return FluxUtil.withContext(\n context ->\n service.getParticipants(\n this.client.getEndpoint(),\n callConnectionId,\n this.client.getApiVersion(),\n accept,\n context));\n }", "title": "" }, { "docid": "b2f89efb88925fb712cd7752102eed30", "score": "0.572199", "text": "private Collection<XmlMatchParticipant> getAllParticipants(\r\n\t\t\tList<Choice> pChoice, final XmlTournament tournament) {\r\n\t\tCollection<XmlMatchParticipant> participants = new ArrayList<XmlMatchParticipant>();\r\n\t\tfor (Choice choice : pChoice) {\r\n\t\t\tXmlMatchParticipant xmlMatchParticipant = new XmlMatchParticipant(\r\n\t\t\t\t\tchoice.getName(), tournament);\r\n\t\t\tparticipants.add(xmlMatchParticipant);\r\n\t\t}\r\n\t\treturn participants;\r\n\t}", "title": "" }, { "docid": "521d0628fe2f8fc042bf8714b5f20920", "score": "0.5716732", "text": "@ServiceMethod(returns = ReturnType.SINGLE)\n public Mono<AcsCallParticipantInternal> getParticipantAsync(\n String callConnectionId, String participantMri, Context context) {\n return getParticipantWithResponseAsync(callConnectionId, participantMri, context)\n .flatMap(\n (Response<AcsCallParticipantInternal> res) -> {\n if (res.getValue() != null) {\n return Mono.just(res.getValue());\n } else {\n return Mono.empty();\n }\n });\n }", "title": "" }, { "docid": "f847563a8a060c5601f3694782bb7f1c", "score": "0.56864023", "text": "@ServiceMethod(returns = ReturnType.SINGLE)\n public Mono<AcsCallParticipantInternal> getParticipantAsync(String callConnectionId, String participantMri) {\n return getParticipantWithResponseAsync(callConnectionId, participantMri)\n .flatMap(\n (Response<AcsCallParticipantInternal> res) -> {\n if (res.getValue() != null) {\n return Mono.just(res.getValue());\n } else {\n return Mono.empty();\n }\n });\n }", "title": "" }, { "docid": "732f3ab061fa5ac67b26225c57b31174", "score": "0.5584058", "text": "public Vector<Participant> getParticipantsVector()\n\t{\n\t\treturn participants;\n\t}", "title": "" }, { "docid": "643da5ccc22fd4011da68d98ed7d4630", "score": "0.5569188", "text": "public List<String> getDiagramParticipants() {\n\t\tList<String> diagramParticipants = new LinkedList<>();\n\t\tdiagramParticipants.add(callerClass.getDiagramClassName());\n\t\tdiagramParticipants.addAll(callees.stream().map(CallerMethod::getDiagramParticipants).flatMap(List::stream)\n\t\t\t\t.collect(Collectors.toList()));\n\t\treturn diagramParticipants;\n\t}", "title": "" }, { "docid": "780a88293155866663fc75e55b4244a2", "score": "0.5536722", "text": "public List<ScheduleParticipant> getParticipants() {\n return participants;\n }", "title": "" }, { "docid": "1f17e901baa6e4f90f6ddf4c19f38139", "score": "0.55276656", "text": "@Override\r\n\tpublic java.util.List<Participant> initiatorParticipants() {\r\n\t\tjava.util.List<Participant> ret=super.initiatorParticipants();\r\n\r\n\t\tif (getFromParticipant() != null) {\r\n\t\t\tret.add(getFromParticipant());\r\n\t\t}\r\n\t\t\r\n\t\treturn(ret);\r\n\t}", "title": "" }, { "docid": "afbd755e58a22d0cd8a0639af7d66b51", "score": "0.54998195", "text": "static ArrayList<ParticipantData> getConversationParticipantsFromRecipients(\n final List<String> recipients, final int refSubId) {\n // Generate a list of partially formed participants\n final ArrayList<ParticipantData> participants = new\n ArrayList<ParticipantData>();\n\n if (recipients != null) {\n for (final String recipient : recipients) {\n participants.add(ParticipantData.getFromRawPhoneBySimLocale(recipient, refSubId));\n }\n }\n return participants;\n }", "title": "" }, { "docid": "9f3d2f14b69b4a68ef2092117179a4da", "score": "0.54496396", "text": "List<C> getCalls();", "title": "" }, { "docid": "51f58f5df2cb2ea3fdf9c50803920040", "score": "0.54468817", "text": "public Map<ContactId, ParticipantStatus> getParticipants() {\n return mParticipants;\n }", "title": "" }, { "docid": "09fb18dccfd498bc700ebb698679d4c1", "score": "0.5413885", "text": "public void getACparticipants(){\n // retrieve the list of participats\n String URL = \"https://\"+ appState.ENDPOINT + \"/v2/companies/assessmentcentres/candidates\";\n Log.v(\"ADS\", \"URL is .. \" + URL);\n HashMap<String, String> params = new HashMap<String, String>();\n params.put(\"username\", appState.USERNAME);\n params.put(\"passcode\", appState.PASSCODE);\n params.put(\"ac_id\", appState.ACID);\n\n JsonObjectRequest request_json = new JsonObjectRequest(URL, new JSONObject(params),\n new Response.Listener<JSONObject>() {\n @Override\n public void onResponse(JSONObject response) {\n\n try {\n assessmentcentresParticipantsJSONArray = response.getJSONArray(\"candidates\");\n mAdapter.notifyDataSetChanged();\n } catch (JSONException e) {\n e.printStackTrace();\n }\n }\n }, new Response.ErrorListener() {\n @Override\n public void onErrorResponse(VolleyError error) {\n VolleyLog.e(\"Error: \", error.getMessage());\n }\n });\n\n RequestQueue requestQueue = Volley.newRequestQueue(ACAdminActivity.this);\n request_json.setShouldCache(false);\n requestQueue.add(request_json);// reload the list view\n }", "title": "" }, { "docid": "807048be99d57301bd9f5cf746fd34cc", "score": "0.5378568", "text": "private Collection<XmlMatchParticipant> getParticipants(String pName,\r\n\t\t\tString separator, final XmlTournament tournament) {\r\n\t\tCollection<XmlMatchParticipant> participants = new ArrayList<XmlMatchParticipant>();\r\n\t\tString nameWithoutPitchers = pName.replaceAll(\"\\\\([^\\\\(\\\\)]*\\\\)\", \"\");\r\n\t\tString[] participantString = /* pName */nameWithoutPitchers\r\n\t\t\t\t.split(separator);\r\n\r\n\t\tXmlMatchParticipant homeParticipant = new XmlMatchParticipant(\r\n\t\t\t\tparticipantString[0], tournament);\r\n\t\thomeParticipant.setHomeParticipant(true);\r\n\t\tparticipants.add(homeParticipant);\r\n\t\tif (participantString.length > 1) {\r\n\t\t\tXmlMatchParticipant awayParticipant = new XmlMatchParticipant(\r\n\t\t\t\t\tparticipantString[1], tournament);\r\n\t\t\tawayParticipant.setAwayParticipant(true);\r\n\t\t\tparticipants.add(awayParticipant);\r\n\t\t}\r\n\t\treturn participants;\r\n\t}", "title": "" }, { "docid": "d60dbd065c4805483036aced37755b73", "score": "0.5319809", "text": "public List<Actor> getRecipients();", "title": "" }, { "docid": "980dd2fc3196338d79907502ec02374f", "score": "0.5282428", "text": "@ServiceMethod(returns = ReturnType.SINGLE)\n public Mono<Response<AcsCallParticipantInternal>> getParticipantWithResponseAsync(\n String callConnectionId, String participantMri, Context context) {\n final String accept = \"application/json\";\n return service.getParticipant(\n this.client.getEndpoint(),\n callConnectionId,\n participantMri,\n this.client.getApiVersion(),\n accept,\n context);\n }", "title": "" }, { "docid": "52c6049a235eaa03b9d079f7644dc39e", "score": "0.52622646", "text": "List<Participant> findByName(String name);", "title": "" }, { "docid": "a720156db7d3c728538ab244edfb1b62", "score": "0.52562785", "text": "@ServiceMethod(returns = ReturnType.SINGLE)\n public Response<AcsCallParticipantInternal> getParticipantWithResponse(\n String callConnectionId, String participantMri, Context context) {\n return getParticipantWithResponseAsync(callConnectionId, participantMri, context).block();\n }", "title": "" }, { "docid": "dcce4b4f6ebfa4e84732c55d55a2d706", "score": "0.5230318", "text": "public ArrayList<Player> getPlayersAccordingToRoomNameExceptCaller(int callerId, String roomName) {\n Room room = getRoom(roomName);\n ArrayList<Player> players = new ArrayList<>();\n if (room != null) {\n for (Team team : room.mTeams) {\n for (Player player : team.mPlayers) {\n if (player.mConnectionId != callerId) {\n players.add(player);\n }\n }\n }\n }\n return players;\n }", "title": "" }, { "docid": "fc42bfc374a37f59b7177e4501886a5d", "score": "0.5191494", "text": "@Override\r\n\tpublic java.util.List<Participant> finalParticipants() {\r\n\t\tjava.util.List<Participant> ret=super.finalParticipants();\r\n\t\t\t\t\r\n\t\t// TODO: Should it add 'to' participant to list?\r\n\t\t\r\n\t\treturn(ret);\r\n\t}", "title": "" }, { "docid": "60fda6d687a2777bca5bba09a3dae532", "score": "0.5146375", "text": "private Collection<XmlMatchParticipant> getXmlParticipants(\r\n\t\t\tString matchNameWithParticipantNames, List<List<BET>> bets,\r\n\t\t\tXmlTournament tournament, boolean longTermEvent)\r\n\t\t\tthrows InterwettenParticipantsCantBeResolvedException {\r\n\r\n\t\tif (longTermEvent) {\r\n\t\t\treturn getXmlParticipantsLongTermEvent(bets, tournament);\r\n\t\t} else {\r\n\t\t\treturn getXmlParticipantsShortTermEvent(\r\n\t\t\t\t\tmatchNameWithParticipantNames, tournament);\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "720c09aa91dd32d69e630ad20f3cbb0c", "score": "0.514165", "text": "java.util.List<com.protos.Person> \n getPeopleList();", "title": "" }, { "docid": "9ab01e85e249ab2d4e9d1394ad10a78f", "score": "0.51279354", "text": "@ServiceMethod(returns = ReturnType.SINGLE)\n public Mono<Response<AcsCallParticipantInternal>> getParticipantWithResponseAsync(\n String callConnectionId, String participantMri) {\n final String accept = \"application/json\";\n return FluxUtil.withContext(\n context ->\n service.getParticipant(\n this.client.getEndpoint(),\n callConnectionId,\n participantMri,\n this.client.getApiVersion(),\n accept,\n context));\n }", "title": "" }, { "docid": "f2ee237b1ed1ddf7ee4b273bd15dfe64", "score": "0.5118128", "text": "public List<CallDoc> getCalls() { return calls; }", "title": "" }, { "docid": "06eb3eaf042cc54e86266bb3e5be2f47", "score": "0.51136166", "text": "public final SearchParticipant getParticipant() {\n\t\treturn this.participant;\n\t}", "title": "" }, { "docid": "985eb8dbcf1e8c80d0d6f6ddfc1e391e", "score": "0.51120484", "text": "@DoesNotRunOnMainThread\n public static ArrayList<String> getRecipientsFromConversationParticipants(\n final List<ParticipantData> participants) {\n Assert.isNotMainThread();\n // First find the thread id for this list of participants.\n final ArrayList<String> recipients = new ArrayList<String>();\n\n for (final ParticipantData participant : participants) {\n recipients.add(participant.getSendDestination());\n }\n return recipients;\n }", "title": "" }, { "docid": "e937f4e8dcc5b418baddc1def54aa8e3", "score": "0.51069564", "text": "public Participant getParticipant ()\r\n {\r\n return participant_;\r\n }", "title": "" }, { "docid": "f0064b63366a15fe18ab4686beef0560", "score": "0.50777406", "text": "public Future<ApiResponse<MaxParticipants>> getConversationsCallsMaximumconferencepartiesAsync(ApiRequest<Void> request, final AsyncApiCallback<ApiResponse<MaxParticipants>> callback) {\n try {\n final SettableFuture<ApiResponse<MaxParticipants>> future = SettableFuture.create();\n final boolean shouldThrowErrors = pcapiClient.getShouldThrowErrors();\n pcapiClient.invokeAsync(request, new TypeReference<MaxParticipants>() {}, new AsyncApiCallback<ApiResponse<MaxParticipants>>() {\n @Override\n public void onCompleted(ApiResponse<MaxParticipants> response) {\n notifySuccess(future, callback, response);\n }\n\n @Override\n public void onFailed(Throwable exception) {\n if (exception instanceof ApiException) {\n @SuppressWarnings(\"unchecked\")\n ApiResponse<MaxParticipants> response = (ApiResponse<MaxParticipants>)(ApiResponse<?>)exception;\n notifySuccess(future, callback, response);\n }\n if (shouldThrowErrors) {\n notifyFailure(future, callback, exception);\n }\n else {\n @SuppressWarnings(\"unchecked\")\n ApiResponse<MaxParticipants> response = (ApiResponse<MaxParticipants>)(ApiResponse<?>)(new ApiException(exception));\n notifySuccess(future, callback, response);\n }\n }\n });\n return future;\n }\n catch (Throwable exception) {\n return Futures.immediateFailedFuture(exception);\n }\n }", "title": "" }, { "docid": "e075bd549832d4635285a1164a78d6f8", "score": "0.50776947", "text": "public List<Participant> getParticipantsOfShooting(Shooting shooting) throws SQLException {\n List<Participant> shootingParticipants = new ArrayList<Participant>();\n String selectParticipants =\n \"SELECT * FROM Participants WHERE ShootingId=?\";\n Connection connection = null;\n PreparedStatement selectStmt = null;\n ResultSet results = null;\n try {\n connection = connectionManager.getConnection();\n selectStmt = connection.prepareStatement(selectParticipants);\n selectStmt.setInt(1, shooting.getShootingId());\n results = selectStmt.executeQuery();\n\n while (results.next()) {\n int participantId = results.getInt(\"ParticipantId\");\n int age = results.getInt(\"Age\");\n String gender = results.getString(\"Gender\");\n String name = results.getString(\"Name\");\n String relationship = results.getString(\"Relationship\");\n String type = results.getString(\"Type\");\n String status = results.getString(\"Status\");\n int shootingId = results.getInt(\"ShootingId\");\n int participantNum = results.getInt(\"ParticipantNum\");\n\n Participant participant = new Participant(participantId, age, gender, name, relationship,\n Participant.ParticipantType.valueOf(type), status,\n new ShootingDao().getShootingFromShootingId(shootingId), participantNum);\n\n shootingParticipants.add(participant);\n }\n } catch (SQLException e) {\n e.printStackTrace();\n throw e;\n } finally {\n if (connection != null) {\n connection.close();\n }\n if (selectStmt != null) {\n selectStmt.close();\n }\n if (results != null) {\n results.close();\n }\n }\n return shootingParticipants;\n }", "title": "" }, { "docid": "a51cec8f588a4ee32c42021b11bb1e00", "score": "0.5048758", "text": "java.util.List<com.elisland.protobuf.MessageData.Person> \n getPeopleList();", "title": "" }, { "docid": "9643049af17726f044b068cc9b10ec1d", "score": "0.50395477", "text": "Set<Member> getParticipantMembers(Long eventId, DateTime effectiveDate);", "title": "" }, { "docid": "1b2efa74020faa446982e33a330768d2", "score": "0.5039322", "text": "Agent getParticipant(String id);", "title": "" }, { "docid": "39521b3aaf4c82c0fb1e4eb9b8451ba6", "score": "0.5038469", "text": "public Set<Participant> getTeamMembers() {\n\n return new HashSet<>(teamMembers);\n }", "title": "" }, { "docid": "3d46b828f7da5bedc2ac8f8150d88cb7", "score": "0.5020967", "text": "public List<ChatParticipant> getParticipantsRemoved() {\n return participantsRemoved;\n }", "title": "" }, { "docid": "8426f512d526be3d131b858aecf21de6", "score": "0.5014956", "text": "public Participant getFromParticipant() {\r\n\t\treturn(m_fromParticipant);\r\n\t}", "title": "" }, { "docid": "428d49852960b7a84ed542555a42952c", "score": "0.501259", "text": "public java.util.List<com.mediatek.internal.telephony.ConferenceCallMessageHandler.User> getUsers() {\n /*\n // Can't load method instructions: Load method exception: null in method: com.mediatek.internal.telephony.ConferenceCallMessageHandler.getUsers():java.util.List<com.mediatek.internal.telephony.ConferenceCallMessageHandler$User>, dex: in method: com.mediatek.internal.telephony.ConferenceCallMessageHandler.getUsers():java.util.List<com.mediatek.internal.telephony.ConferenceCallMessageHandler$User>, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.mediatek.internal.telephony.ConferenceCallMessageHandler.getUsers():java.util.List<com.mediatek.internal.telephony.ConferenceCallMessageHandler$User>\");\n }", "title": "" }, { "docid": "6df17db8b85762fd503ede978bdd5411", "score": "0.49826527", "text": "public List<String> getParticipantsAdded() {\n return participantsAdded;\n }", "title": "" }, { "docid": "c58a6a5def933272aab0f48f49b51c73", "score": "0.49766254", "text": "@ServiceMethod(returns = ReturnType.SINGLE)\n public RemoveParticipantsResponseInternal removeParticipants(\n String callConnectionId, RemoveParticipantsRequestInternal removeParticipantsRequest) {\n return removeParticipantsAsync(callConnectionId, removeParticipantsRequest).block();\n }", "title": "" }, { "docid": "e901f7bc958ba58443ca9646abe1b7db", "score": "0.49757057", "text": "@GET(\"person/{person_id}\")\n Call<People> getPeople(\n @Path(\"person_id\") int id,\n @Query(\"api_key\") String api_key,\n @Query(\"language\") String language\n );", "title": "" }, { "docid": "70418e6d338e6b79853054af88f9d66b", "score": "0.49738514", "text": "java.util.List<protobuf.clazz.Protocol.RoomPlayerResponse> \n getPlayersList();", "title": "" }, { "docid": "70418e6d338e6b79853054af88f9d66b", "score": "0.49738514", "text": "java.util.List<protobuf.clazz.Protocol.RoomPlayerResponse> \n getPlayersList();", "title": "" }, { "docid": "70418e6d338e6b79853054af88f9d66b", "score": "0.49738514", "text": "java.util.List<protobuf.clazz.Protocol.RoomPlayerResponse> \n getPlayersList();", "title": "" }, { "docid": "980c8a4a4901b1c8846983f8b923cb36", "score": "0.4962648", "text": "@POST\n @Consumes(\"application/json\")\n @Produces(\"application/json\")\n public Response createConference(@HeaderParam(HttpHeaders.AUTHORIZATION) String authHeader,\n Conference conference) throws InvalidCredentialsException {\n AuthContext auth = AuthContext.createFromHeader(authHeader);\n Entity caller = VidyoService.INSTANCE.getEntityByUsername(auth, auth.getUsername());\n\n // Get entity objects for caller and participants, and check status of each prior to starting call\n if (conference.getId().equals(\"myroom\")) {\n conference.setId(caller.getEntityID());\n }\n\n // Get current participants so we can skip inviting them\n List<Entity> currentParticipants = VidyoService.INSTANCE.getParticipants(auth, conference.getId());\n\n List<Entity> participants = new ArrayList<Entity>();\n for (User u : conference.getParticipants()) {\n Entity participant = VidyoService.INSTANCE.getEntityByEmail(auth, u.getEmail());\n\n if (participant != null) {\n if (listContainsEntity(currentParticipants, participant)) {\n continue; // don't add this entity\n }\n\n if (!VidyoService.STATUS_ONLINE.equals(participant.getMemberStatus())) {\n ErrorInfo err = new ErrorInfo();\n err.setCode(ErrorInfo.CODE_PARTICIPANT_OFFLINE);\n err.setMessage(\"Could not start call because \" + participant.getDisplayName() + \" is offline.\");\n return Response.serverError().entity(err).build();\n }\n participants.add(participant);\n }\n else {\n // Not finding a user is translated to a fatal error, since client specifically wants to invite this user\n ErrorInfo err = new ErrorInfo();\n err.setCode(ErrorInfo.CODE_UNKNOWN_USER);\n err.setMessage(\"Could not find user with email \" + u.getEmail());\n return Response.serverError().entity(err).build();\n }\n }\n // Invite all to caller's personal room\n String extensions = \"\";\n for (Entity e : participants) {\n VidyoService.INSTANCE.inviteToRoom(auth, conference.getId(), e.getEntityID());\n extensions += e.getExtension() + \",\";\n }\n\n CallRecordService.writeRecord(conference.getId(), caller.getDisplayName(), caller.getExtension(),\n participants.size(), extensions);\n return Response.noContent().build();\n }", "title": "" }, { "docid": "b555323a671f3f4f7a72c94919a9614c", "score": "0.49466923", "text": "public CallPeer getCallPeer()\n {\n return (CallPeer) getSource();\n }", "title": "" }, { "docid": "245b3a85ab9dc1db6d57361a98d3cce8", "score": "0.49305296", "text": "public interface Participatable {\n ArrayList<Participant> getParticipants();\n}", "title": "" }, { "docid": "cf31da702bc0a6e35f6142f691563018", "score": "0.49189457", "text": "private Individual[] selectParticipants(Individual[] population) {\r\n\t\tIndividual[] participant = new Individual[tournamentSize];\r\n\t\tfor(int i = 0; i < participant.length; i++) {\r\n\t\t\tparticipant[i] = population[random.nextInt(population.length)];\r\n\t\t}\r\n\t\treturn participant;\r\n\t}", "title": "" }, { "docid": "100d33d17bbb80463ecb153f845fec5d", "score": "0.49112195", "text": "public ConferenceCallPeerRenderer getCallPeerView()\n {\n return callPeerView;\n }", "title": "" }, { "docid": "5d562ab4ca6bca5cf8761ed0893aa824", "score": "0.4887257", "text": "private void addParticipants(int hitPoints) {\n for (Clan clan : clans) {\n Collection<ClanMember> members = clan.getMembers(hitPoints);\n if (validateClan(members, hitPoints, clan.getID(), clan.getName())) {\n clanNames[clan.getID()] = clan.getName();\n participants.addAll(members);\n for (ClanMember member : members) {\n statistics.addPlayer(member);\n }\n }\n }\n }", "title": "" }, { "docid": "c9dab7812aab8bc3cc7bf56ec7a5eecd", "score": "0.48822904", "text": "public java.util.List<com.elisland.protobuf.MessageData.Person> getPeopleList() {\n if (peopleBuilder_ == null) {\n return java.util.Collections.unmodifiableList(people_);\n } else {\n return peopleBuilder_.getMessageList();\n }\n }", "title": "" }, { "docid": "f778c14102df68824ca6a0dca0933f4e", "score": "0.48755044", "text": "private Collection<XmlMatchParticipant> getXmlParticipantsLongTermEvent(\r\n\t\t\tList<List<BET>> bets, XmlTournament tournament) {\r\n\r\n\t\tCollection<XmlMatchParticipant> participants = new ArrayList<XmlMatchParticipant>();\r\n\t\tXmlMatchParticipant matchParticipant;\r\n\r\n\t\tList<BET> betsLongTerm = bets.get(0);\r\n\r\n\t\tfor (BET bet : betsLongTerm) {\r\n\t\t\tmatchParticipant = new XmlMatchParticipant(bet.getPLAYER2().trim(),\r\n\t\t\t\t\ttournament);\r\n\t\t\tparticipants.add(matchParticipant);\r\n\t\t}\r\n\r\n\t\treturn participants;\r\n\t}", "title": "" }, { "docid": "29136634deced089b9cd3c8cffcb62dd", "score": "0.48714325", "text": "public void testCase7_getParticipantNumandContacts() throws Throwable {\n Method getParticipantNum = Utils.getPrivateMethod(ChatsStruct.class, \"getParticipantNum\");\n Method getChatPairWithTag = Utils.getPrivateMethod(ChatListView.class,\n \"getChatPairWithTag\", Object.class);\n Object chatWindowTag = new Object();\n IOne2OneChatWindow oneOneChatWindow = mFragment.addOne2OneChatWindow(chatWindowTag,\n new Participant(MOCK_PARTICIPANT_ONE, \"\"));\n getInstrumentation().waitForIdleSync();\n assertChatNumber(1);\n Pair<View, ChatsStruct> findPair = (Pair<View, ChatsStruct>) getChatPairWithTag.invoke(\n mChatListView, chatWindowTag);\n ChatsStruct instance = findPair.second;\n Field isGroupChatField = ChatsStruct.class.getDeclaredField(\"mIsGroupChat\");\n isGroupChatField.setAccessible(true);\n Boolean isGroupChat = (Boolean) isGroupChatField.get(instance);\n Field chatMapField = Utils.getPrivateField(ChatsStruct.class, \"mChatMap\");\n Object oldChatMap = chatMapField.get(instance);\n\n isGroupChatField.set(instance, true);\n Integer result = (Integer) getParticipantNum.invoke(instance);\n TreeSet<String> resultContacts = (TreeSet<String>) instance.getContacts();\n assertNull(resultContacts);\n assertEquals(0, result.intValue());\n\n Utils.getPrivateField(ChatsStruct.class, \"mChatMap\").set(instance, null);\n result = (Integer) getParticipantNum.invoke(instance);\n resultContacts = (TreeSet<String>) instance.getContacts();\n assertNull(resultContacts);\n assertEquals(0, result.intValue());\n\n // Test remove chat window\n Utils.getPrivateField(ChatsStruct.class, \"mChatMap\").set(instance, oldChatMap);\n isGroupChatField.set(instance, isGroupChat);\n mFragment.removeChatWindow(oneOneChatWindow);\n getInstrumentation().waitForIdleSync();\n assertChatNumber(0);\n }", "title": "" }, { "docid": "e30eb499ddc1d3161f929e24715b530d", "score": "0.48601967", "text": "protobuf.clazz.Protocol.RoomPlayerResponse getPlayers(int index);", "title": "" }, { "docid": "e30eb499ddc1d3161f929e24715b530d", "score": "0.48601967", "text": "protobuf.clazz.Protocol.RoomPlayerResponse getPlayers(int index);", "title": "" }, { "docid": "e30eb499ddc1d3161f929e24715b530d", "score": "0.48601967", "text": "protobuf.clazz.Protocol.RoomPlayerResponse getPlayers(int index);", "title": "" }, { "docid": "73872221445c26f7a2bdece0ce8a52a3", "score": "0.48567733", "text": "void getPGroups(Callback callback, boolean everyone);", "title": "" }, { "docid": "7e8fcbba7dbe197212667c6e64ad8312", "score": "0.4855096", "text": "private void getChatConversationList() {\n commonMethods.showProgressDialog(this, customDialog);\n apiService.messageConversation(sessionManager.getToken(), matchId,TimeZone.getDefault().getID()).enqueue(new RequestCallback(Enums.REQ_MSG_CONVERSATION, this));\n }", "title": "" }, { "docid": "affb9140ff656ea9a5bb41e80e146e3b", "score": "0.4840316", "text": "@ServiceMethod(returns = ReturnType.SINGLE)\n public AddParticipantsResponseInternal addParticipant(\n String callConnectionId, AddParticipantsRequestInternal addParticipantsRequest) {\n return addParticipantAsync(callConnectionId, addParticipantsRequest).block();\n }", "title": "" }, { "docid": "b32b07cad340560994083f7ff0d68c97", "score": "0.4830372", "text": "List<ContactPerson> getRecipientContacts(BusinessPartner recipient);", "title": "" }, { "docid": "f76a3043f81c935cc9059350de30fae5", "score": "0.48259678", "text": "java.util.List<proto.Person> \n getPeopleList();", "title": "" }, { "docid": "77a95fe885701d9991b809118f6320de", "score": "0.48254356", "text": "java.util.List<com.lvl6.proto.UserProto.FullUserProto> \n getRequestedUsersList();", "title": "" }, { "docid": "8e51917159cf9fd36de8562a2c90d10d", "score": "0.4795754", "text": "public java.util.List<my.company.Partner> getPartnersList() {\n if (partnersBuilder_ == null) {\n return java.util.Collections.unmodifiableList(partners_);\n } else {\n return partnersBuilder_.getMessageList();\n }\n }", "title": "" }, { "docid": "b67986a676b3164987b62a8454ddd898", "score": "0.479503", "text": "@GET(\"shows/{id}/people\")\n Call<Credits> people(\n @Path(\"id\") String showId\n );", "title": "" }, { "docid": "60216c8984de96a6a57d0fe924b21bdf", "score": "0.4792998", "text": "public Participant getParticipant() {\n return mParticipant;\n }", "title": "" }, { "docid": "49eb0b8a206b1d4b41720c0818c0a479", "score": "0.47853652", "text": "public Future<ApiResponse<CallConversationEntityListing>> getConversationsCallsAsync(ApiRequest<Void> request, final AsyncApiCallback<ApiResponse<CallConversationEntityListing>> callback) {\n try {\n final SettableFuture<ApiResponse<CallConversationEntityListing>> future = SettableFuture.create();\n final boolean shouldThrowErrors = pcapiClient.getShouldThrowErrors();\n pcapiClient.invokeAsync(request, new TypeReference<CallConversationEntityListing>() {}, new AsyncApiCallback<ApiResponse<CallConversationEntityListing>>() {\n @Override\n public void onCompleted(ApiResponse<CallConversationEntityListing> response) {\n notifySuccess(future, callback, response);\n }\n\n @Override\n public void onFailed(Throwable exception) {\n if (exception instanceof ApiException) {\n @SuppressWarnings(\"unchecked\")\n ApiResponse<CallConversationEntityListing> response = (ApiResponse<CallConversationEntityListing>)(ApiResponse<?>)exception;\n notifySuccess(future, callback, response);\n }\n if (shouldThrowErrors) {\n notifyFailure(future, callback, exception);\n }\n else {\n @SuppressWarnings(\"unchecked\")\n ApiResponse<CallConversationEntityListing> response = (ApiResponse<CallConversationEntityListing>)(ApiResponse<?>)(new ApiException(exception));\n notifySuccess(future, callback, response);\n }\n }\n });\n return future;\n }\n catch (Throwable exception) {\n return Futures.immediateFailedFuture(exception);\n }\n }", "title": "" }, { "docid": "7f436a8476bde1f716d5b5ffe91016b6", "score": "0.47829944", "text": "public void callSessionInviteParticipantsRequestDelivered() {\n try {\n mListener.callSessionInviteParticipantsRequestDelivered();\n } catch (RemoteException e) {\n throw new RuntimeException(e);\n }\n }", "title": "" }, { "docid": "f46ffd9abd1f61bc285c966341f7569a", "score": "0.47761133", "text": "@Headers(\"X-Auth-Token: \")\n @GET(\"competitions\")\n Call<LeagueModel> listLeagues();", "title": "" }, { "docid": "18fcb8925fcfbd3aa1f28ded10514fb9", "score": "0.47621068", "text": "public Partners partners() {\n return this.partners;\n }", "title": "" }, { "docid": "916ecced69383828bb081e3f6f571f59", "score": "0.47593808", "text": "@SuppressWarnings(\"unchecked\")\n\tpublic void getPeers() {\n\t\tpeers = new ArrayList<Peer>();\n\t\tArrayList<Object> peer_list = (ArrayList<Object>) decoded_response.get(KEY_PEERS);\n\n\t\tfor (Object o : peer_list) {\n\t\t\ttry {\n\t\t\t\tHashMap<ByteBuffer, Object> peer_info = (HashMap<ByteBuffer, Object>) o;\n\t\t\t\tByteBuffer temp_id = (ByteBuffer) peer_info.get(KEY_PEER_ID);\n\t\t\t\tString s = new String(temp_id.array(), \"ASCII\");\n\t\t\t\tbyte[] id = temp_id.array();\n\t\t\t\tByteBuffer temp_ip = (ByteBuffer) peer_info.get(KEY_IP);\n\t\t\t\tString ip = new String(temp_ip.array(), \"ASCII\");\n\t\t\t\tint peer_port = (Integer) peer_info.get(KEY_PORT);\n\t\t\t\t\n\t\t\t\tif (s.contains(\"RU\")) {\n\t\t\t\t\tpeers.add(new Peer(id, ip, peer_port, info_hash, torrent_info));\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tSystem.err.println(\"Unable to create peer list\");\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\tif (decoded_response.get(KEY_MIN_INTERVAL) == null) {\n\t\t\tthis.interval = ((Integer) decoded_response.get(KEY_INTERVAL)) / 2;\n\t\t} else {\n\t\t\tthis.interval = (Integer) decoded_response.get(KEY_MIN_INTERVAL);\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "4e3b63b5086c47f48a14b932646a20f9", "score": "0.47525528", "text": "public List<Call> getCallChain(){\n return callChain;\n }", "title": "" }, { "docid": "7deb0326243c0a2f6994ec7984882fbe", "score": "0.47505456", "text": "public Future<Conversation> postConversationsCallParticipantsAsync(PostConversationsCallParticipantsRequest request, final AsyncApiCallback<Conversation> callback) {\n try {\n final SettableFuture<Conversation> future = SettableFuture.create();\n final boolean shouldThrowErrors = pcapiClient.getShouldThrowErrors();\n pcapiClient.invokeAsync(request.withHttpInfo(), new TypeReference<Conversation>() {}, new AsyncApiCallback<ApiResponse<Conversation>>() {\n @Override\n public void onCompleted(ApiResponse<Conversation> response) {\n notifySuccess(future, callback, response.getBody());\n }\n\n @Override\n public void onFailed(Throwable exception) {\n if (shouldThrowErrors) {\n notifyFailure(future, callback, exception);\n }\n else {\n notifySuccess(future, callback, null);\n }\n }\n });\n return future;\n }\n catch (Throwable exception) {\n return Futures.immediateFailedFuture(exception);\n }\n }", "title": "" }, { "docid": "cc0bb05bd4a5f46cc072b9a5b5dde5ad", "score": "0.47370023", "text": "com.google.protobuf.ProtocolStringList\n getRequestedUserUuidsList();", "title": "" }, { "docid": "ff31f8f526e1500e8e370dd29d052d9e", "score": "0.4735426", "text": "java.util.List<org.apache.ratis.shaded.proto.RaftProtos.RaftPeerProto> \n getPeersList();", "title": "" }, { "docid": "ff31f8f526e1500e8e370dd29d052d9e", "score": "0.4735426", "text": "java.util.List<org.apache.ratis.shaded.proto.RaftProtos.RaftPeerProto> \n getPeersList();", "title": "" }, { "docid": "ff31f8f526e1500e8e370dd29d052d9e", "score": "0.4735426", "text": "java.util.List<org.apache.ratis.shaded.proto.RaftProtos.RaftPeerProto> \n getPeersList();", "title": "" }, { "docid": "bff8b6cfc831d7a85768a8052ff20868", "score": "0.4731314", "text": "public Iterator getFromPartyIds() {\n return fromPartyIds.iterator();\n }", "title": "" }, { "docid": "e51ea8db894961405f07c2faf501f896", "score": "0.47310933", "text": "Collection<ChannelClientInfo> getChannelClients();", "title": "" }, { "docid": "f29245f22d72b1369e6b77cf3294a200", "score": "0.47225723", "text": "public static ArrayList<Participant> getEmployeesAsParticipants() {\n\n\t\trequest = new HttpGet(GET_EMPLOYEES);\n\t\tString employeesString = getRequest(request);\n\t\tEntityUtils.consumeQuietly(response.getEntity());\n\t\tGson builder = new GsonBuilder()\n\t\t\t\t.registerTypeAdapter(Boolean.class, booleanAsIntAdapter)\n\t\t\t\t.registerTypeAdapter(boolean.class, booleanAsIntAdapter)\n\t\t\t\t.setExclusionStrategies(new ModelListenerExclusionStrategy())\n\t\t\t\t.setDateFormat(\"yyyy-MM-dd'T'HH:mm:ss.SSS'Z'\").create();\n\t\tParticipant[] employeePrim = builder.fromJson(employeesString, Participant[].class);\n\t\tArrayList<Participant> employees = new ArrayList<Participant>(Arrays.asList(employeePrim));\n\n\t\treturn employees;\n\t}", "title": "" }, { "docid": "529877bb6f91e0aedf3ad8a3cba03597", "score": "0.47223997", "text": "public Future<CallConversationEntityListing> getConversationsCallsAsync(GetConversationsCallsRequest request, final AsyncApiCallback<CallConversationEntityListing> callback) {\n try {\n final SettableFuture<CallConversationEntityListing> future = SettableFuture.create();\n final boolean shouldThrowErrors = pcapiClient.getShouldThrowErrors();\n pcapiClient.invokeAsync(request.withHttpInfo(), new TypeReference<CallConversationEntityListing>() {}, new AsyncApiCallback<ApiResponse<CallConversationEntityListing>>() {\n @Override\n public void onCompleted(ApiResponse<CallConversationEntityListing> response) {\n notifySuccess(future, callback, response.getBody());\n }\n\n @Override\n public void onFailed(Throwable exception) {\n if (shouldThrowErrors) {\n notifyFailure(future, callback, exception);\n }\n else {\n notifySuccess(future, callback, null);\n }\n }\n });\n return future;\n }\n catch (Throwable exception) {\n return Futures.immediateFailedFuture(exception);\n }\n }", "title": "" }, { "docid": "cb7cc305779a766de5a00a3934663f06", "score": "0.4704613", "text": "com.elisland.protobuf.MessageData.Person getPeople(int index);", "title": "" }, { "docid": "7bbc7535935faa9f975fc19d47a3afa4", "score": "0.46992177", "text": "@Headers(\"X-Auth-Token: \")\n @GET(\"competitions/{id}/teams\")\n Call<TeamModel> listTeams(@Path(\"id\") int id);", "title": "" }, { "docid": "ca7c966992693c1b5b6251b618841db1", "score": "0.46988022", "text": "Set<Member> getParticipantGroupMembers(Long eventId, DateTime effectiveDate);", "title": "" }, { "docid": "ad6e8f4d7860f3004b7438cd61cd9720", "score": "0.46978706", "text": "public PartnersImpl getPartners() {\n return (PartnersImpl)getEntity(0);\n }", "title": "" }, { "docid": "3037d653572ae29d049d6266f57197a4", "score": "0.4691387", "text": "List<String> getPeerItems();", "title": "" }, { "docid": "7b80fca7b3ccad01e9ff02b868ddd0b9", "score": "0.46814585", "text": "@Override\n public void onConnectedToRoom(Room room) {\n mRoomId = room.getRoomId();\n mParticipants = room.getParticipants();\n mMyId = room.getParticipantId(Games.Players.getCurrentPlayerId(mGoogleApiClient));\n// print out the list of participants (for debug purposes)\n Log.d(TAG, \"Room ID: \" + mRoomId);\n Log.d(TAG, \"My ID \" + mMyId);\n Log.d(TAG, \"<< CONNECTED TO ROOM>>\");\n }", "title": "" }, { "docid": "2463b308ddc9c826ffa5f9a9968c10d4", "score": "0.46805766", "text": "public List<String> getParticipantsRemoved() {\n return participantsRemoved;\n }", "title": "" }, { "docid": "c73ee57a445059d9e1dd388aee54983b", "score": "0.4678777", "text": "public Future<ApiResponse<Conversation>> postConversationsCallParticipantsAsync(ApiRequest<Conversation> request, final AsyncApiCallback<ApiResponse<Conversation>> callback) {\n try {\n final SettableFuture<ApiResponse<Conversation>> future = SettableFuture.create();\n final boolean shouldThrowErrors = pcapiClient.getShouldThrowErrors();\n pcapiClient.invokeAsync(request, new TypeReference<Conversation>() {}, new AsyncApiCallback<ApiResponse<Conversation>>() {\n @Override\n public void onCompleted(ApiResponse<Conversation> response) {\n notifySuccess(future, callback, response);\n }\n\n @Override\n public void onFailed(Throwable exception) {\n if (exception instanceof ApiException) {\n @SuppressWarnings(\"unchecked\")\n ApiResponse<Conversation> response = (ApiResponse<Conversation>)(ApiResponse<?>)exception;\n notifySuccess(future, callback, response);\n }\n if (shouldThrowErrors) {\n notifyFailure(future, callback, exception);\n }\n else {\n @SuppressWarnings(\"unchecked\")\n ApiResponse<Conversation> response = (ApiResponse<Conversation>)(ApiResponse<?>)(new ApiException(exception));\n notifySuccess(future, callback, response);\n }\n }\n });\n return future;\n }\n catch (Throwable exception) {\n return Futures.immediateFailedFuture(exception);\n }\n }", "title": "" }, { "docid": "8831c56b93d87164bfe5fcfab470be58", "score": "0.46739107", "text": "private static HashSet<String> getConversationsForParticipants(\n final ArrayList<String> participantIds) {\n final DatabaseWrapper db = DataModel.get().getDatabase();\n final HashSet<String> conversationIds = new HashSet<String>();\n\n final String selection = ConversationParticipantsColumns.PARTICIPANT_ID + \"=?\";\n for (final String participantId : participantIds) {\n final String[] selectionArgs = new String[] { participantId };\n final Cursor cursor = db.query(DatabaseHelper.CONVERSATION_PARTICIPANTS_TABLE,\n ConversationParticipantsQuery.PROJECTION,\n selection, selectionArgs, null, null, null);\n\n if (cursor != null) {\n try {\n while (cursor.moveToNext()) {\n final String conversationId = cursor.getString(\n ConversationParticipantsQuery.INDEX_CONVERSATION_ID);\n conversationIds.add(conversationId);\n }\n } finally {\n cursor.close();\n }\n }\n }\n\n return conversationIds;\n }", "title": "" }, { "docid": "2e461409cf2578e611984643013b4fdc", "score": "0.46701533", "text": "@GET(\"/search/people\")\n Call<List<ActorFeedItem>> getActorFeed(@Query(\"q\") String actorName);", "title": "" } ]
1539bca9f29b56084b969d4a9c76cf27
text: tutorial fly by from left to right
[ { "docid": "dc4414ac399bb3ed01a355720316398c", "score": "0.0", "text": "private SceneNode loadTutorialText(RootMainGame mainGame) {\n\t\tSceneNode node = new SceneNode();\n\t\t\n\t\tCommand command = new DisableAllTableItems(mainGame.table(), true);\n\t\tnode.add(command);\n\t\t\n\t\tfinal String textEntityName = \"tutorial_text\";\n\t\tfinal int textAnimationId = textEntityName.hashCode();\n\t\tAddSimpleEntity addText = new AddSimpleEntity(manager, textEntityName,\n\t\t\t\tzOrderBase, -387, 185, 387, 110, \"game_text_4_tutorial\");\n\t\taddText.installEventMap(\n\t\t\t\tGameEventSystem.getInstance().obtain(GameEvent.ANIMATION_END, textAnimationId),\n\t\t\t\tGameEventSystem.getInstance().obtain(\n\t\t\t\t\t\tGameEvent.SCENE_MANAGER_NEXT_NODE));\n\t\tnode.add(addText);\n\t\t\n\t\tAddAnimationSet addAnimation = new AddAnimationSet(manager, \"tutorial_text\", GameEntity.MIN_GAME_COMPONENT_Z_ORDER, false);\n\t\taddAnimation.addTranslateAnimation(-387, 185, 166, 185, 300);\n\t\taddAnimation.addHoldAnimation(1000);\n\t\taddAnimation.addTranslateAnimation(166, 185, 720, 185, 300, true, textAnimationId);\n\t\tnode.add(addAnimation);\n\t\t\n\t\treturn node;\n\t}", "title": "" } ]
[ { "docid": "2d021cb6c909b74dad63bf7d26a7d7e4", "score": "0.6006412", "text": "public void turnLeft() {\r\n\t\tsetHeading(getHeading() - 5);\r\n\t}", "title": "" }, { "docid": "42a0060938c01b0273dcde8e928d5f99", "score": "0.5953028", "text": "public void turnRight() {\r\n\t\tsetHeading(getHeading() + 5);\r\n\t}", "title": "" }, { "docid": "efc130ae611b0744996c3f968d926846", "score": "0.59280294", "text": "private void startLeftScaleRight() {\r\n\r\n\t\tswitch (autonStep) {\r\n\t\tcase 1:\r\n\t\t\trobotAction(Direction.FORWARD, 5, 80, 0, 0, 0);\r\n\t\t\tautonStep++;\r\n\t\t\tbreak;\r\n\t\tcase 2:\r\n\t\t\trobotAction(Direction.LEFT, 5, 60, 0, 0, 0);\r\n\t\t\tautonStep++;\r\n\t\t\tbreak;\r\n\t\tcase 3:\r\n\t\t\trobotAction(Direction.FORWARD, 145, 80, 0, 0, 0);\r\n\t\t\tautonStep++;\r\n\t\t\tbreak;\r\n\t\tcase 4:\r\n\t\t\trobotAction(Direction.FORWARD, 60, 60, 0, 0, 0);\r\n\t\t\tautonStep++;\r\n\t\t\tbreak;\r\n\t\tcase 5:\r\n\t\t\trobotAction(Direction.RIGHT, 95, 60, 0, 0, 0);\r\n\t\t\tautonStep++;\r\n\t\t\tbreak;\r\n\t\tcase 6:\r\n\t\t\trobotAction(Direction.FORWARD, 85, 95, 0, 0, 0);\r\n\t\t\tautonStep++;\r\n\t\t\tbreak;\r\n\t\tcase 7:\r\n\t\t\trobotAction(Direction.FORWARD, 115, 60, 0, 0, 0);\r\n\t\t\tautonStep++;\r\n\t\t\tbreak;\r\n\t\tcase 8:\r\n\t\t\trobotAction(Direction.LEFT, 100, 60, 0, 0, 0);\r\n\t\t\tautonStep++;\r\n\t\t\tbreak;\r\n\t\tcase 9:\r\n\t\t\trobotAction(Direction.CUBEACTION, 0, 0, 85, 0, 1);\r\n\t\t\tautonStep++;\r\n\t\t\tbreak;\r\n\t\tcase 10:\r\n\t\t\trobotAction(Direction.FORWARD, 24, 55, 85, 0, 0, false);\r\n\t\t\tautonStep++;\r\n\t\t\tbreak;\r\n\t\tcase 11:\r\n\t\t\trobotAction(Direction.CUBEACTION, 0, 0, 85, 100, 1, false);\r\n\t\t\tautonStep++;\r\n\t\t\tbreak;\r\n\t\tcase 12:\r\n\t\t\trobotAction(Direction.REVERSE, 10, 55, 85, 0, 0);\r\n\t\t\tautonStep++;\r\n\t\t\tbreak;\r\n\t\tcase 13:\r\n\t\t\trobotAction(Direction.CUBEACTION, 0, 0, 0, 0, 1.2);\r\n\t\t\tautonStep++;\r\n\t\t\tbreak;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "9317a1838e0d4e8cac9ce95b8cf8f8cc", "score": "0.5807492", "text": "private void tutorial() {\n ShowcaseConfig config = new ShowcaseConfig();\n\n MaterialShowcaseSequence sequence = new MaterialShowcaseSequence(this, SHOWCASE_ID);\n\n sequence.setConfig(config);\n\n sequence.addSequenceItem(swUseHotspot,\n getString(edu.hm.eem_library.R.string.tutorial_hotspot_switch), getString(android.R.string.ok));\n\n sequence.addSequenceItem(swStartService,\n getString(edu.hm.eem_library.R.string.tutorial_service_switch), getString(android.R.string.ok));\n\n sequence.addSequenceItem(findViewById(R.id.header_con_devices),\n getString(edu.hm.eem_library.R.string.tutorial_connected_devices), getString(android.R.string.ok));\n\n sequence.addSequenceItem(swLock,\n getString(edu.hm.eem_library.R.string.tutorial_lock_switch), getString(android.R.string.ok));\n\n sequence.start();\n }", "title": "" }, { "docid": "fbf456ec3db50426ac0c2cc52aef651a", "score": "0.5770675", "text": "@Override\n\tpublic void left() {\n\t\tSystem.out.println(\"步兵向左列阵\");\n\t}", "title": "" }, { "docid": "04709535ad20a5f59e7cf7dc187309b9", "score": "0.573896", "text": "public void direita() {\n int x = 150;\n ahead(x);\n turnRight(90);\n back(x);\n turnRight(90);\n back(x);\n turnRight(90);\n ahead(x);\n turnRight(90);\n ahead(x);\n turnRight(90);\n back(x);\n\n }", "title": "" }, { "docid": "efc0476ea8e91f465206817d1f0a2658", "score": "0.5638302", "text": "public void left(){\n\t\tint tempEndX=endX-x;\n\t\tint tempEndY=endY-y;\n\t\tendX=tempEndY+x;\t//transform back out\n\t\tendY=-tempEndX+y;\n\t\tdirection-=90;\n\t\tSystem.out.println(x+\",\"+y+\"\\t\"+endX+\",\"+endY);\n\t}", "title": "" }, { "docid": "99a2a77f0a3d46ba8084930cd2c479f3", "score": "0.5628414", "text": "public void turnRight() {\n\n\t}", "title": "" }, { "docid": "7c5e18f56ad6399249c987150b5924fb", "score": "0.5614414", "text": "@Override\n\tpublic void turnRight() {\n\n\t}", "title": "" }, { "docid": "13ed63611a01fe889c14283126411a29", "score": "0.5598092", "text": "public void leftBackDiagonal() {\n this.motionControl.setTurnDegrees(-135,50);\n }", "title": "" }, { "docid": "08da4fcad51fee8774b86ba45e58fa6e", "score": "0.55938786", "text": "@Override\n\tpublic void turnRight() {\n\t\t\n\t}", "title": "" }, { "docid": "81c74f7121a21ce07b22b98279027ae3", "score": "0.55850965", "text": "@Override\n\tpublic void rigth() {\n\t\tSystem.out.println(\"步兵向右列阵\");\n\n\t}", "title": "" }, { "docid": "dbadd27fcf354ac0133f6c62d27bbcdd", "score": "0.5580986", "text": "public void fly()\n {\n \tSystem.out.println(\"start swinging wings\");\n \tSystem.out.println(\"Balance body\");\n \tSystem.out.println(\"Observe wind Correction\");\n \tSystem.out.println(\"Based on that left or right\");\n \t\n }", "title": "" }, { "docid": "32832894383a6242e640678bbadae276", "score": "0.5562121", "text": "void turnRight();", "title": "" }, { "docid": "7f32d2655d4a772386ab1531e250f7c5", "score": "0.55504984", "text": "public void generateLeftangle()\n {\n // *\n // *\n // **\n \n tetraglyph = 'L';\n origin = new Point(4, -3);\n position = new Point(4, -3);\n tetribits = new Tetribit[3][3];\n tetribits[0][0] = new Tetribit(leftangleColor);\n tetribits[0][1] = new Tetribit(leftangleColor);\n tetribits[0][2] = new Tetribit(leftangleColor);\n tetribits[1][2] = new Tetribit(leftangleColor);\n }", "title": "" }, { "docid": "bbe56d780f39a1ac9409d0397f352abf", "score": "0.55376494", "text": "public void goLeft() {\n setDx(DX * -1); // Invert movement\n }", "title": "" }, { "docid": "0201b730510d6976b15cb2dff1f14afb", "score": "0.5533909", "text": "@Override\n\tpublic void startMoveRight(Mazub alien){\n\t\talien.startMove(Orientation.RIGHT);\n\t}", "title": "" }, { "docid": "d668469e62437360eb0f4edc40211668", "score": "0.5515954", "text": "public static void leftArm()\n {\n System.out.println(\"| /|\\\\\");\n }", "title": "" }, { "docid": "7aa505b6c474e4f96ac34def34de1d15", "score": "0.54634535", "text": "public void turnLeft (double delta) {\n\t\tangle += delta;\n\t}", "title": "" }, { "docid": "c97875732bb9caf862bd4ab3e03b2dd8", "score": "0.54612476", "text": "public void rightBackDiagonal() {\n this.motionControl.setTurnDegrees(135,50);\n }", "title": "" }, { "docid": "0b51d737bfa8ce8bc9c537d6003b7819", "score": "0.54597443", "text": "private void animateLeft(){\n\t\tObjectAnimator animatorTransationY=ObjectAnimator.ofFloat(view_slide, \"translationX\", mWidth/2,0);\n//\t\tanimatorTransationY.setInterpolator(new BounceInterpolator());\n\t\tanimatorTransationY.setInterpolator(new LinearInterpolator());\n\t\tanimatorTransationY.setDuration(200);\n//\t\tanimatorTransationY.setStartDelay(200);\n\t\tanimatorTransationY.start();\n\t\t\n\t\t\n\t\t int colorA = Color.parseColor(\"#000000\"); \n\t int colorB = Color.parseColor(\"#878787\"); \n\t\t ObjectAnimator colorAnimLeft = ObjectAnimator.ofInt(tv_left,\"textColor\",colorB,colorA); \n\t colorAnimLeft.setDuration(200); \n\t colorAnimLeft.setEvaluator(new ArgbEvaluator()); \n\t \n\t \n\t ObjectAnimator colorAnimRight = ObjectAnimator.ofInt(tv_right,\"textColor\",colorA,colorB); \n\t colorAnimRight.setDuration(200); \n\t colorAnimRight.setEvaluator(new ArgbEvaluator()); \n//\t objectAnimator.start(); \n\t\tcolorAnimLeft.start();\n\t\tcolorAnimRight.start();\n\t\n//\t\tanimatorSet.playTogether(animatorTransationY);\n//\t\tanimatorSet.start();\n\t}", "title": "" }, { "docid": "37a24583c2954a8f4780d3af90d37170", "score": "0.5450277", "text": "protected void rotateRight(){\n direction++;\n if(direction>3)direction=0;\n }", "title": "" }, { "docid": "33fa4f85a0d4a9b39d07a2232095c2e4", "score": "0.54420185", "text": "void turnLeft();", "title": "" }, { "docid": "33fa4f85a0d4a9b39d07a2232095c2e4", "score": "0.54420185", "text": "void turnLeft();", "title": "" }, { "docid": "d21ee7276589f8ab8b73d0c0a1756758", "score": "0.543925", "text": "private boolean nextTutorialText(Float x, Float y) {\n if(x >= 0\n && x <= 0.75f * viewWidth\n && y >= 0.03125f * viewHeight + circuitsplustitle.getHeight()*2\n && y <= 0.03125f * viewHeight + circuitsplustitle.getHeight()*2 + viewHeight * 0.125f) {\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "b1f0a72119ca05af8f18fb22cc435895", "score": "0.5438721", "text": "public AutoLeftHook() {\n \t// strategic delay\n \taddSequential(new AutoDelay(Robot.getAutoDelay()));\n \t\n \t// first leg of path\n \taddSequential(new DriveForward(RobotConstants.AUTO_DRIVE_LHOOK_D1));\n \t// turn toward airship\n \taddSequential(new TurnCW(RobotConstants.AUTO_TURN_LHOOK_SETPOINT));\n \t// second leg of path\n \taddSequential(new DriveForward(RobotConstants.AUTO_DRIVE_LHOOK_D2));\n \t// extend claws and deposit gear\n \taddSequential(new ClawExtend2());\n \t// back away from airship\n \taddSequential(new DriveForward(-RobotConstants.AUTO_DRIVE_LHOOK_D2));\n \taddParallel(new ClawRetract2());\n \t// turn and head down field\n \taddSequential(new TurnCCW(RobotConstants.AUTO_TURN_LHOOK_SETPOINT));\n \taddSequential(new DriveForward(-60));\n }", "title": "" }, { "docid": "23e411ed89a08a01f48f0b206c414d42", "score": "0.54238665", "text": "public void turnLeft(double delta)\n\t{\n\t\tangle += delta;\n\t}", "title": "" }, { "docid": "ad0584f23900d20d71d61140e7c27690", "score": "0.54217964", "text": "@Test\n public void keyDownTriggers() {\n Board myBoard = new Board(\"Board\", 20, 0.25, 0.25);\n LeftFlipper leftFlipper = new LeftFlipper(\"LFlip1\", 5, 5, 270);\n \n assertEquals(leftFlipper.toString(), \" --\");\n leftFlipper.addKeyDown(\"ctrl\");\n leftFlipper.addKeyDown(\"shift\");\n leftFlipper.addKeyDown(\"alt\");\n leftFlipper.addKeyDown(\"meta\");\n leftFlipper.addKeyDown(\"space\");\n leftFlipper.addKeyDown(\"left\");\n leftFlipper.addKeyDown(\"right\");\n leftFlipper.addKeyDown(\"up\");\n leftFlipper.addKeyDown(\"down\");\n leftFlipper.addKeyDown(\"minus\");\n leftFlipper.addKeyDown(\"equals\");\n leftFlipper.addKeyDown(\"backslash\"); \n leftFlipper.addKeyDown(\"semicolon\");\n leftFlipper.addKeyDown(\"quote\");\n leftFlipper.addKeyDown(\"enter\");\n leftFlipper.addKeyDown(\"comma\");\n leftFlipper.addKeyDown(\"period\");\n leftFlipper.addKeyDown(\"slash\"); \n leftFlipper.addKeyDown(\"z\");\n leftFlipper.addKeyDown(\"9\");\n \n myBoard.addGadget(leftFlipper);\n myBoard.triggerDownKey(\"ctrl\");\n assertEquals(leftFlipper.toString(), \"| | \");\n myBoard.triggerDownKey(\"shift\");\n assertEquals(leftFlipper.toString(), \" --\");\n myBoard.triggerDownKey(\"alt\");\n assertEquals(leftFlipper.toString(), \"| | \");\n myBoard.triggerDownKey(\"meta\");\n assertEquals(leftFlipper.toString(), \" --\");\n myBoard.triggerDownKey(\"space\");\n assertEquals(leftFlipper.toString(), \"| | \");\n myBoard.triggerDownKey(\"left\");\n assertEquals(leftFlipper.toString(), \" --\");\n myBoard.triggerDownKey(\"right\");\n assertEquals(leftFlipper.toString(), \"| | \");\n myBoard.triggerDownKey(\"up\");\n assertEquals(leftFlipper.toString(), \" --\");\n myBoard.triggerDownKey(\"down\");\n assertEquals(leftFlipper.toString(), \"| | \");\n myBoard.triggerDownKey(\"minus\");\n assertEquals(leftFlipper.toString(), \" --\"); \n myBoard.triggerDownKey(\"equals\");\n assertEquals(leftFlipper.toString(), \"| | \");\n myBoard.triggerDownKey(\"backslash\"); \n assertEquals(leftFlipper.toString(), \" --\");\n myBoard.triggerDownKey(\"semicolon\");\n assertEquals(leftFlipper.toString(), \"| | \");\n myBoard.triggerDownKey(\"quote\");\n assertEquals(leftFlipper.toString(), \" --\");\n myBoard.triggerDownKey(\"enter\");\n assertEquals(leftFlipper.toString(), \"| | \");\n myBoard.triggerDownKey(\"comma\");\n assertEquals(leftFlipper.toString(), \" --\");\n myBoard.triggerDownKey(\"period\");\n assertEquals(leftFlipper.toString(), \"| | \");\n myBoard.triggerDownKey(\"slash\"); \n assertEquals(leftFlipper.toString(), \" --\");\n myBoard.triggerDownKey(\"z\");\n assertEquals(leftFlipper.toString(), \"| | \");\n myBoard.triggerDownKey(\"9\"); \n assertEquals(leftFlipper.toString(), \" --\");\n \n }", "title": "" }, { "docid": "352aade6b560a6cbda82b7fc94c6fe0a", "score": "0.5419147", "text": "@FXML\r\n public void hundleTextFieldTurnLeft(MouseEvent m){\r\n \tmoves_left.appendText(String.valueOf(left));\r\n \t\r\n }", "title": "" }, { "docid": "2b69c4e06820501c2f94c4fd50afb2dc", "score": "0.5411427", "text": "public static CharSequence forceLeftToRight(CharSequence text) {\n StringBuilder sb = new StringBuilder();\n sb.append(LEFT_TO_RIGHT_EMBEDDING);\n sb.append(text);\n sb.append(POP_DIRECTIONAL_FORMATTING);\n return sb.toString();\n }", "title": "" }, { "docid": "6f9d60f42cf2127499780045c750ed66", "score": "0.54036117", "text": "@Override\n\tpublic void turnLeft() {\n\n\t}", "title": "" }, { "docid": "147b14227d041dd1ef979c8d4b500586", "score": "0.54035", "text": "public void YY(){tleft();}", "title": "" }, { "docid": "dc7d25a060d8c2f08e3e348a0b0d2eef", "score": "0.5400816", "text": "@Override\n public void showTutorial() {\n Intent intent = new Intent(this, TutorialActivityJump.class);\n startActivity(intent);\n }", "title": "" }, { "docid": "fcecb937a7edddcbedcd09cd39c05680", "score": "0.53955466", "text": "@Override\n\tpublic void turnLeft() {\n\t\t\n\t}", "title": "" }, { "docid": "088ca180c6dcd3b13be840f76ce3cc17", "score": "0.53893167", "text": "public void onering() {\n\r\n tfod.shutdown();\r\n\r\n moveForward(100,.5,5);\r\n strafeRight(1000, .5, 5);\r\n moveForward(3000,.5,5);\r\n strafeLeft(1000,.5,5);\r\n moveForward(1000,.5,5);\r\n\r\n\r\n }", "title": "" }, { "docid": "1c54e52cd7faf42f615e835dffbcd17f", "score": "0.5382956", "text": "public void leftDiagonal() {\n this.motionControl.setTurnDegrees(-45,50);\n }", "title": "" }, { "docid": "efe30e67bddd3b78955ba5013c0b5137", "score": "0.53746593", "text": "public void turnLeft() {\n switch (direction) {\n case 'N':\n direction = 'W';\n break;\n case 'W':\n direction = 'S';\n break;\n case 'S':\n direction = 'E';\n break;\n case 'E':\n direction = 'N';\n break;\n }\n }", "title": "" }, { "docid": "e22662f21c7a12482e003be0a2c54a76", "score": "0.53737766", "text": "public void turnLeft();", "title": "" }, { "docid": "87bedcba69174b064fb54ccef0091049", "score": "0.5370362", "text": "private void left() {arm.setPosition(1);}", "title": "" }, { "docid": "8ddbd92defea9ac0e0a186615ca188f6", "score": "0.5366842", "text": "@Override\n\tpublic void startMoveLeft(Mazub alien){\n\t\talien.startMove(Orientation.LEFT);\n\t}", "title": "" }, { "docid": "4cfb3d1b3050a3cc916cc6c3d7f40b82", "score": "0.536202", "text": "public static void rightArm()\n {\n System.out.println(\"| /|\");\n }", "title": "" }, { "docid": "c0d4d84742f17059a9ef024e67ce5b1e", "score": "0.5344433", "text": "public void startMovingToLeft() {\n tryStartMoving(MOVE_LEFT, 0);\n }", "title": "" }, { "docid": "f9e24aecf9b765618fa0e379ff9f323c", "score": "0.53345466", "text": "public void esquerda() {\n int x = 150;\n ahead(150);\n fire(3);\n turnRight(-90);\n back(x);\n turnRight(-90);\n back(x);\n turnRight(-90);\n ahead(x);\n turnRight(-90);\n ahead(x);\n turnRight(-90);\n back(x);\n\n }", "title": "" }, { "docid": "7034955885bd1c309d3061bb3f192f74", "score": "0.5314984", "text": "void turnAround() {\n goingRight = !goingRight;\n appearance = reverseAppearance();\n }", "title": "" }, { "docid": "7e420c793d525af7482e32debf4f3913", "score": "0.5312986", "text": "private void turnRight() {\n turnLeft();\n turnLeft();\n turnLeft();\n }", "title": "" }, { "docid": "f98dc36d875a49f08aa4a055b9e8acd0", "score": "0.53088635", "text": "private void scrollRight() {\n }", "title": "" }, { "docid": "eb6fc9f4591f399880a386b949b453b1", "score": "0.53076214", "text": "public static void main(String[] args) {\n\t\tSystem.out.print(LeftRotateString(\"abcXYZde\", 3));\n\t}", "title": "" }, { "docid": "242b6b99e02f2b15c66e4921af2f7743", "score": "0.5305584", "text": "public void leftTurn() {\n this.motionControl.setTurnDegrees(-90,50);\n }", "title": "" }, { "docid": "e678cefde00dba3899498a0e1b67bb69", "score": "0.52970713", "text": "public void rightTurn() {\n this.motionControl.setTurnDegrees(90,50);\n }", "title": "" }, { "docid": "47ce11bc756c528098f92d208063b170", "score": "0.5294782", "text": "public void turnLeft() {\n this.z = (this.z + 1) % 4;\n }", "title": "" }, { "docid": "003645c3b79c42aeb4858cfcb8dc0613", "score": "0.52878845", "text": "public void turnLeft(float delta) {\n\t\tgetHead().direction.rotate(TURN_SPEED * delta);\n\t}", "title": "" }, { "docid": "170859a8bb0ab80c668f1d148824360d", "score": "0.5286094", "text": "public void goRight(){\r\n\t\tsetX(getX() + 5);\r\n\t\trelocateRectangle(getX(), getY());\r\n\t\tsetDirection(Direction.RIGHT);\r\n\t}", "title": "" }, { "docid": "6afcbef16be9c0ff2d87f45f1e4c8063", "score": "0.52676845", "text": "@Override\r\n\tpublic String fly() {\n\t\treturn \"FLY HELICOPTER\";\r\n\t}", "title": "" }, { "docid": "3c4d7e62844deb7fa48423f663424171", "score": "0.5267385", "text": "public void startMovingToRight() {\n tryStartMoving(MOVE_RIGHT, 0);\n }", "title": "" }, { "docid": "c8b0c259cc2c8c6c32df2cf6d25e54c4", "score": "0.5259478", "text": "public void right() { this.goRight = true; }", "title": "" }, { "docid": "4928b99ebd0a552e61e2fd1a4ecc1e4c", "score": "0.5256246", "text": "public void right(){\n\t\tif(this.face.getX() > 440) return;\n\t\tthis.face.setX(this.face.getX() + 10);\t\n\t}", "title": "" }, { "docid": "d6050426f3356bbfae4c0f0eefc6c92d", "score": "0.5252953", "text": "public void right(){\n\t\tint tempEndX=endX-x;\n\t\tint tempEndY=endY-y;\n\t\tendX=-tempEndY+x;\t//transform back out\n\t\tendY=+tempEndX+y;\n\t\tdirection+=90;\n\t\tSystem.out.println(x+\",\"+y+\"\\t\"+endX+\",\"+endY);\n\t}", "title": "" }, { "docid": "9b77b581e5715062ec8d0d5f02e1af3f", "score": "0.52475274", "text": "protected void trigger()\n\t{\n\t\tif(ticks % 200 == 0)\n\t\t{\n\t\t\tsetMovingright(false);\n\t\t\tsetMovingleft(true);\n\t\t\tsetLookingRight(false);\n\t\t}\n\t\telse if((ticks - 100) % 200 == 0)\n\t\t{\n\t\t\tsetMovingright(true);\n\t\t\tsetMovingleft(false);\n\t\t\tsetLookingRight(true);\n\t\t}\n\t\tticks++;\n\t}", "title": "" }, { "docid": "b879e80d346a3de7dd56c94ab5e9a910", "score": "0.5245159", "text": "private void scrollLeft() {\n }", "title": "" }, { "docid": "54c5f07de619b23e10b8f50eebd2337c", "score": "0.523527", "text": "public static void leftLeg()\n {\n System.out.println(\"| / \\\\\");\n }", "title": "" }, { "docid": "076bae4285c4e9c66cf14a98d355446a", "score": "0.52347416", "text": "private void goLeft() {\n currentIndex--;\n if (currentIndex < 0) {\n currentIndex = session.getAllRoutes().size() - 1;\n }\n currentRoute = session.getAllRoutes().get(currentIndex);\n new setUpLayout().execute();\n }", "title": "" }, { "docid": "9bee1a7270b658fe0428a74ea210c09e", "score": "0.5228243", "text": "@Override\r\n\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\tif (x_head > 640) {\r\n\t\t\t\tx_head -= 16;\r\n\t\t\t} else {\r\n\t\t\t\theadRun.stop();\r\n\t\t\t\twordsRun.start();\r\n\t\t\t\tisPrint = true;\r\n\t\t\t}\r\n\t\t}", "title": "" }, { "docid": "35f7d3948bd5d56f6b5ee29cc4af5060", "score": "0.52124614", "text": "public void left() {\n APIlib.getInstance().addJSLine(jsBase + \".left();\");\n }", "title": "" }, { "docid": "35f7d3948bd5d56f6b5ee29cc4af5060", "score": "0.52124614", "text": "public void left() {\n APIlib.getInstance().addJSLine(jsBase + \".left();\");\n }", "title": "" }, { "docid": "cadadfb1b95e50ed258778336bcfa860", "score": "0.51997274", "text": "private void applyLeftTurn(WorldSpatial.Direction orientation, float delta) {\n\t\tswitch(orientation){\n\t\tcase EAST:\n\t\t\tif(!getOrientation().equals(WorldSpatial.Direction.NORTH)){\n\t\t\t\tturnLeft(delta);\n\t\t\t}\n\t\t\tbreak;\n\t\tcase NORTH:\n\t\t\tif(!getOrientation().equals(WorldSpatial.Direction.WEST)){\n\t\t\t\tturnLeft(delta);\n\t\t\t}\n\t\t\tbreak;\n\t\tcase SOUTH:\n\t\t\tif(!getOrientation().equals(WorldSpatial.Direction.EAST)){\n\t\t\t\tturnLeft(delta);\n\t\t\t}\n\t\t\tbreak;\n\t\tcase WEST:\n\t\t\tif(!getOrientation().equals(WorldSpatial.Direction.SOUTH)){\n\t\t\t\tturnLeft(delta);\n\t\t\t}\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tbreak;\n\t\t\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "9d0c7a56424478713bad1cbfa6607ff3", "score": "0.5193287", "text": "public void right();", "title": "" }, { "docid": "bd7af719e271313cbb331f7845516b98", "score": "0.51917034", "text": "public void turnRight() {\n\t\tlb.steer(5);\n\t\tsetChanged();\n\t\tnotifyObservers();\n\t}", "title": "" }, { "docid": "0d43ba8931d3e14d7c208de56ff133b8", "score": "0.518215", "text": "public void rightDiagonal() {\n this.motionControl.setTurnDegrees(45,50);\n }", "title": "" }, { "docid": "feaa167f67ac45b33084417af743b896", "score": "0.5179867", "text": "public void how()\r\n {\r\n position = \"how\"; \r\n mainTextArea.setText(\"\\\"You came here on a school field trip but seperated from the group and fell and hit your head. You were found and taken to the nursing room and have been here for a few hours.\\\"\"); \r\n choice1.setText(\"Continue\"); \r\n choice2.setText(\"\");\r\n choice3.setText(\"\"); \r\n choice4.setText(\"\");\r\n }", "title": "" }, { "docid": "76897545430ac368ffcc2ecfa984b98d", "score": "0.5173742", "text": "public void tleft(int line) {\n\t\tint[] tmp = new int[4];\n\t\tint[] tmp2 = new int[4];\n\t\t\n\t\tfor (int i = 0; i < 4; ++i) {\n\t\t\ttmp[i] = faces.get(\"fore\").elems[line][i];\n\t\t\tfaces.get(\"fore\").elems[line][i] = faces.get(\"right\").elems[line][i];\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < 4; ++i) {\n\t\t\ttmp2[i] = faces.get(\"left\").elems[line][i];\n\t\t\tfaces.get(\"left\").elems[line][i] = tmp[i]; //faces.get(\"fore\").elems[line][i];\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < 4; ++i) {\n\t\t\ttmp[i] = faces.get(\"back\").elems[line][i];\n\t\t\tfaces.get(\"back\").elems[line][i] = tmp2[i];\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < 4; ++i) {\n\t\t\tfaces.get(\"right\").elems[line][i] = tmp[i];\n\t\t}\n\t\t\n\t\t//turn elements of the face \n\t\tif (line == 0) {\n\t\t\tfaces.get(\"top\").turn(true);\n\t\t} else if (line == 3) {\n\t\t\tfaces.get(\"bot\").turn(false);\n\t\t}\n\t}", "title": "" }, { "docid": "3395e6a3f23474c623b0afe693aa2189", "score": "0.51668864", "text": "public void generateLeftparallelogram()\n {\n // *\n // **\n // *\n \n tetraglyph = 'S';\n origin = new Point(4, -3);\n position = new Point(4, -3);\n tetribits = new Tetribit[3][3];\n tetribits[0][0] = new Tetribit(leftparallelogramColor);\n tetribits[0][1] = new Tetribit(leftparallelogramColor);\n tetribits[1][1] = new Tetribit(leftparallelogramColor);\n tetribits[1][2] = new Tetribit(leftparallelogramColor);\n }", "title": "" }, { "docid": "a423726052b58a89207ea5007a68fc17", "score": "0.5161614", "text": "public void shiftleft()\n {\n position.x--;\n }", "title": "" }, { "docid": "45daeb3340176000cf9c36c61a24033c", "score": "0.515641", "text": "public void left();", "title": "" }, { "docid": "dfd7f8f72ca7e9db0d6e1bf19bf2af44", "score": "0.5155587", "text": "public void left(){\n\t\tif(this.face.getX() < 10) return;\n\t\tthis.face.setX(this.face.getX() - 10);\t\n\t}", "title": "" }, { "docid": "c146c2396678c8aa74bf5c6b0674d339", "score": "0.51534396", "text": "@Override\r\n\tpublic void right() {\n\r\n\t}", "title": "" }, { "docid": "1b731654b83e578b1d3fa2ee2da3a14e", "score": "0.51516795", "text": "private void strafeLeft() {\r\n\t\tif (canStrafe) {\r\n\t\t\toldX = x;\r\n\t\t\toldY = y;\r\n\t\t\tx += speed * .75 * Math.cos(rotation - Math.PI / 2);\r\n\t\t\ty += speed * .75 * Math.sin(rotation - Math.PI / 2);\r\n\t\t}\r\n\t\tcanMove = false;\r\n\t}", "title": "" }, { "docid": "8719391e3c6186f61df7457ad8b34150", "score": "0.5147962", "text": "void turnLeft() {\n\t\tRobot robot = getRobot();\n\t\tOrientation currentOrientation = robot.getOrientation();\n\t\tOrientation newOrientation = currentOrientation.getLeft();\n\t\trobot.setOrientation(newOrientation);\n\t\tfireRobotChangeEvent();\n\t}", "title": "" }, { "docid": "25ef6c73d6442e920e54878f8daf1187", "score": "0.51425433", "text": "public void moveLeft();", "title": "" }, { "docid": "1120284bb843212c467925a2a56596be", "score": "0.51396865", "text": "public Direction turnLeft();", "title": "" }, { "docid": "a8dbe08cd41c433ba91537a3b993b5e4", "score": "0.5134457", "text": "@Override\n\tpublic void fly() {\n\t\tSystem.out.println(\"Ïñ»ð¼ýÒ»ÑùµÄ·É\");\n\t}", "title": "" }, { "docid": "2c12796790bb72cf805ead44b80a9d5b", "score": "0.51306874", "text": "void moveLeft();", "title": "" }, { "docid": "2c12796790bb72cf805ead44b80a9d5b", "score": "0.51306874", "text": "void moveLeft();", "title": "" }, { "docid": "2ecdd71f14baace1dc38d3b70b22152d", "score": "0.51262134", "text": "private void goRight() {\n currentIndex++;\n if (currentIndex == session.getAllRoutes().size()) {\n currentIndex = 0;\n }\n currentRoute = session.getAllRoutes().get(currentIndex);\n new setUpLayout().execute();\n }", "title": "" }, { "docid": "67c52ef6bc5d4168a86b4c13f5a3b7fe", "score": "0.5120851", "text": "public static void main(String[] args) {\n\t\tRandom random=new Random();\n\t\tint i=random.nextInt();\n\t\tSystem.out.println(i);\n\t\tif (i%2==0) {\n\t\t\tSystem.out.println(\"正面\");\n\t\t}else{\n\t\t\tSystem.out.println(\"反面\");\n\t\t}\n\t\t\t\n\t\t\t\n\t}", "title": "" }, { "docid": "49d72027a20b205d94667f3f5ce030a8", "score": "0.51174825", "text": "public void turnLeft() {\n\t\tlb.steer(-5);\n\t\tsetChanged();\n\t\tnotifyObservers();\n\t\t\n\t}", "title": "" }, { "docid": "ca926ce88a425a7d3cabe4c255d5c9d4", "score": "0.5114909", "text": "public void moveRight();", "title": "" }, { "docid": "d942a414130b3d674620cb6523a0f933", "score": "0.5108983", "text": "public static void main(String[] args) {\n System.out.println(\"\\\"MoveRight\\\"\");\n\n /* ОБЫЧНЫЙ СДВИГ\n * (0000 0000 0000 0000 0000 0000 0011 1100) = 60\n * (0000 0000 0000 0000 0000 0000 0000 1111) = 15*/\n System.out.println(intA >> 2); // даст 15\n\n\n /*АВТОМАТИЧЕСКОЕ РАСШИРЕНИЕ ДО INT*/\n // byte byteD = (byte) byteB >> 2; // ДАЖЕ НЕ РАЗРЕШАЕТ ПРИВЕДЕНИЕ! Даже, если указать сдвиг 0\n // Только так\n int intD = byteB >> 2;\n\n\n /*При сдвиге двоичного разряда значения за пределы, оно теряется\n * (0000 0000 0000 0000 0000 0000 0000 0001) = 1\n * (0000 0000 0000 0000 0000 0000 0000 0000) = 0*/\n System.out.println(intC >> 1); // даст 0\n }", "title": "" }, { "docid": "8b59d57cb7c0baa31fcdd098e2c9a107", "score": "0.50985783", "text": "public String goRight() {\n\t\tsprite.addVelocity(5,0);\n\t\tSystem.out.println(\"selected sprite going right\");\n\t\treturn \"selected sprite going right\";\n\t}", "title": "" }, { "docid": "34b6b289b1267d8c40c3467be4421f84", "score": "0.5094309", "text": "public void reverse()\n {\n move(-Math.abs(Constants.SHOOTER_REVERSE_SPEED));\n }", "title": "" }, { "docid": "775f08b90918ef6990fe6027e7b146b0", "score": "0.5077353", "text": "public void textDirection() {\n APIlib.getInstance().addJSLine(jsBase + \".textDirection();\");\n }", "title": "" }, { "docid": "5f72128559c596728e2e04665c4f6722", "score": "0.5077275", "text": "@Override\r\n\tpublic void intro() {\r\n\t\tSystem.out.println(\"\\nWelcome to Reversi! Moves should be entered in \\\"[row] [column]\\\" format.\\n\");\r\n\t}", "title": "" }, { "docid": "e3e0a29dbce69553ec93eefe344b7ca1", "score": "0.5073375", "text": "public String goLeft() {\n\t\tsprite.addVelocity(-5,0);\n\t\tSystem.out.println(\"selected sprite going left\");\n\t\treturn \"selected sprite going left\";\n\t}", "title": "" }, { "docid": "ece313ac80944b082dccd46042e179a5", "score": "0.5073316", "text": "public void incrementTutorialStage() {\n\t\tsetTutorialStage(getTutorialStage() + 1);\n\t}", "title": "" }, { "docid": "184a66f1b2d055a0cc1469ad5b02ff46", "score": "0.50726515", "text": "public void generateRightangle()\n {\n // *\n // *\n // **\n \n tetraglyph = 'J';\n origin = new Point(4, -3);\n position = new Point(4, -3);\n tetribits = new Tetribit[3][3];\n tetribits[1][0] = new Tetribit(rightangleColor);\n tetribits[1][1] = new Tetribit(rightangleColor);\n tetribits[1][2] = new Tetribit(rightangleColor);\n tetribits[0][2] = new Tetribit(rightangleColor);\n }", "title": "" }, { "docid": "d91824d87948d05104bc5006b01e38b9", "score": "0.5066341", "text": "public static void main(String[] args) {\n System.out.println(frontAgain(\"edited\"));\n }", "title": "" }, { "docid": "3a2f9cb7ee611602685bc2564f35de98", "score": "0.5061451", "text": "public void turnRight(float delta) {\n\t\tgetHead().direction.rotate(TURN_SPEED * delta * -1);\n\t}", "title": "" }, { "docid": "e7efeee7946ffc96e7871624436cc5fc", "score": "0.5059796", "text": "public void tourne() {\n\t orientation = (orientation + 1) % 4;\n\t }", "title": "" }, { "docid": "41a9ad7ccd766c6199ced0ad9a814182", "score": "0.50590974", "text": "public void infiniteLeftTurn() {\n this.motionControl.infLeft();\n }", "title": "" }, { "docid": "611178c12d1ba2450744061109366ffb", "score": "0.5059093", "text": "public void turnLeft(){\n\t\tbandit.turnLeft();\n\t}", "title": "" }, { "docid": "fa59c7c9db637fb42cc5a467c9805990", "score": "0.50577104", "text": "public void smoothTurnLeft() {\n this.motionControl.smoothTurnLeft();\n }", "title": "" }, { "docid": "da8df6a245ff342df53a044dfc2d7976", "score": "0.50570023", "text": "public AutoPutCubeInSwitchStraighten(double leftOrRight) {\n \taddParallel(new StartTimer());\n \taddSequential(new DriveByInches(_inchesAwayFromAllianceWall, _movementSpeed, ShifterPosition.LOW_GEAR));\n \taddSequential(new LogTimer());\n// \taddSequential(new TurnToDegree(_degreeToTurnTo * leftOrRight, _movementSpeed));\n \taddSequential(new TurnToDegree2(_degreeToTurnTo * leftOrRight, _turnSpeed));\n \taddSequential(new LogTimer());\n \taddSequential(new DriveByInches(_inchesToSwitchSide, _movementSpeed), 5);\n \taddSequential(new LogTimer());\n// \taddSequential(new TurnToDegree(_degreeToTurnTo * -leftOrRight, _movementSpeed));\n \taddSequential(new TurnToDegree2(_degreeToTurnTo * -leftOrRight, _turnSpeed), 2);\n \taddSequential(new LogTimer());\n \taddSequential(new DriveByInches(_inchesAwayFromAllianceWall, _movementSpeed), 3);\n \taddSequential(new LogTimer());\n \t\n \taddSequential(new SetArmPosition(Arm.AUTO_SCALE_DELIVERY, new ArmSpeedSettingsWithCube()));\n \taddSequential(new LogTimer());\n \taddSequential(new DropCubeInSwitch());\n \taddSequential(new LogTimer());\n \taddSequential(new StopTimer());\n }", "title": "" } ]
4e4432c8abbdcd84b2831ff0d113ad40
Add an item to this room.
[ { "docid": "ba04b6a3b918dcd8426ce7a7be94356d", "score": "0.6963747", "text": "public void addItem(Item newItem)\n {\n items.add(newItem);\n }", "title": "" } ]
[ { "docid": "67558e1137f307ad50983d7dd1765b85", "score": "0.8200591", "text": "public void addItemToRoom(Item toAdd){\n items.add(toAdd);\n }", "title": "" }, { "docid": "2c7fab86180a69f4400ce10c485f4d0f", "score": "0.76046604", "text": "public void addItem(Item item){\n this.items.add(item);\n }", "title": "" }, { "docid": "e8b0bd6c1acbfa3b5a0f36cad9c5f628", "score": "0.7529595", "text": "void addItem(Item item);", "title": "" }, { "docid": "e8b0bd6c1acbfa3b5a0f36cad9c5f628", "score": "0.7529595", "text": "void addItem(Item item);", "title": "" }, { "docid": "25b775e0c80fc0def53d971d43c88530", "score": "0.7464567", "text": "public void addItem(Item item) {\n items.add(item);\n }", "title": "" }, { "docid": "dc84ef4773f84d132202f9b6e7b56de4", "score": "0.7426804", "text": "public void addItem(Item item){\n\t\titems.add(item);\n\t}", "title": "" }, { "docid": "4af01076ce52c08654243c7da98de4b6", "score": "0.74086577", "text": "public void add(Item item) {\n this.items.add(item);\n }", "title": "" }, { "docid": "ea534f41be2d1cd7dcc162c70aaa39cb", "score": "0.7399556", "text": "public void addItem(Item item){\n itens.add(item);\n }", "title": "" }, { "docid": "968ff8b599d017d256679735802598f2", "score": "0.724716", "text": "public void addItem(Item item){\n\t\twarehouse.addItem(item);\n\t}", "title": "" }, { "docid": "05c1401942049af418ce0c3879f86452", "score": "0.718543", "text": "Item addItem(Item item);", "title": "" }, { "docid": "2e5ce21bcc72183eb6cc8e239e1e4a38", "score": "0.7157631", "text": "public void addItem(Item item) {\r\n\t\tthis.items.add(item);\r\n\t}", "title": "" }, { "docid": "1420f91982cb539918d4865d24b1c2fa", "score": "0.70996994", "text": "public Item add(Item item) {\n// item.setId(this.generateId());\n this.items.add(item);\n return item;\n }", "title": "" }, { "docid": "c1b7f1f1b0f923a9d4b85decb1ba93db", "score": "0.70628005", "text": "@Override\n\tpublic void addItem(IItem item) {\n\t\tthis.items.add(item);\n\t}", "title": "" }, { "docid": "c0fd937d2d4c175f08582cbac7146ce4", "score": "0.704283", "text": "@Override\n\tpublic void add(Item item) {\n\n\t}", "title": "" }, { "docid": "fe9b72b540798bd7b4838741080092b7", "score": "0.7034012", "text": "public void addItem() {\n\t}", "title": "" }, { "docid": "709058a9ef98a9c4598f603882eb5d6f", "score": "0.7018053", "text": "public void addItem(Item item) {\r\n\t\tinventory.add(item);\r\n\t\titemPickedUp = true;\r\n\t}", "title": "" }, { "docid": "cc45557aa0c0ee2ac3471a1d49737bfa", "score": "0.6944314", "text": "public void add(Item item){\n\t\tcollection.add(item);\n\t}", "title": "" }, { "docid": "41e1aed7808369114fc1e01ecdce58ff", "score": "0.69428843", "text": "public void addItem(Item item) {\n\t\t// TODO Auto-generated method stub\n\t\tinventory.add(item);\n\t}", "title": "" }, { "docid": "9d26e656c66b229cd906f95e950eb21b", "score": "0.69396424", "text": "public void addItem(ItemImpl newItem);", "title": "" }, { "docid": "8cbf30a6afb4d008986e35190126703d", "score": "0.69342035", "text": "public void addItem(Item item){\n\t\titems.add(item);\n\t\titem.setPosition(null);\n\t}", "title": "" }, { "docid": "0c1430e6622ce1b457f40074304875ef", "score": "0.6925553", "text": "@Override\n\tpublic void addItem(AbstractItemAPI item) {\n\t\t\n\t}", "title": "" }, { "docid": "8b801ad6797430837b1c6bf4c673ed18", "score": "0.6917612", "text": "public void addItem(Item item) {\n\t\taddItemAttributes(item);\n\t\tinventory.addItem(item);\n\t}", "title": "" }, { "docid": "4706e8e1e487e3891a1438dd1c45cfe6", "score": "0.6911542", "text": "public void addItem(Item newItem) {\n if (newItem != null) {\n inventory.add(newItem);\n }\n }", "title": "" }, { "docid": "5ff7f07afa6e73409f141d28077b6f74", "score": "0.69050086", "text": "public void add(Item item) {\r\n\t\tm_items.add(item);\r\n\t}", "title": "" }, { "docid": "4f768b45f2879da550a87f6113f83d26", "score": "0.68312705", "text": "public void addItemToInventory(Item item){\n\t\tinventory.add(item);\n\t}", "title": "" }, { "docid": "9109a7de7def017dceffc993b06db505", "score": "0.68005776", "text": "@Override\n public void addItem(Object obj) {\n items.add((Item) obj);\n }", "title": "" }, { "docid": "a59ad79d6aec9cbaa8243c2296a064b8", "score": "0.6709599", "text": "public void add(E item) {\r\n\t\t//write your code for the add method here\r\n\t}", "title": "" }, { "docid": "06fd97156226619b65899652b300a536", "score": "0.6700041", "text": "public void addItem(ItemCreation aItem);", "title": "" }, { "docid": "1a592cc0fdddb7c927dd3a3e92c16ded", "score": "0.669471", "text": "public void addRoom(Room add_room){\n rooms.add(add_room);\n }", "title": "" }, { "docid": "626ea213e28262d42558a7d7871b29a3", "score": "0.6692319", "text": "public void addItem(Item item) {\r\n items[itemCount] = item;\r\n itemCount++;\r\n }", "title": "" }, { "docid": "8fd0eb37a50059f5cef90bc1f5f06fc5", "score": "0.6682602", "text": "public void add(Item it);", "title": "" }, { "docid": "dd1c1a2086a1b7d973290afdaacb2c2d", "score": "0.6681775", "text": "public void addItemToInventory(String item) {\n\t\tSystem.out.println(\"You added [\" + item.toLowerCase()\n\t\t\t\t+ \"] to your inventory.\");\n\t\tinventory.add(new Item(item, true));\n\t}", "title": "" }, { "docid": "a6ee23f5a8f378543e295348e57e437f", "score": "0.6677357", "text": "public void addItem(Item pItem)\n { // this.aItems.put(pItem.getName(),pItem);\n this.aItems.addItem(pItem);\n\n }", "title": "" }, { "docid": "5be679e8da14cbf8006ca2f728fd8944", "score": "0.6663215", "text": "public void addRoom(Room room)\n {\n rooms.add(room);\n }", "title": "" }, { "docid": "e2a39a2cef8c531108f1256ac4bdb9ab", "score": "0.6653845", "text": "public void addItem(Item item) {\n historicoItens.add(item);\n }", "title": "" }, { "docid": "daaef79cb57c25c47fb720a9c13afae4", "score": "0.6643409", "text": "public void addItem(ItemSupport item) {\r\n ContentValues values = new ContentValues();\r\n values.put(ITEM_NAME, item.getIName());\r\n values.put(ITEM_PRICE, item.getPrice());\r\n values.put(ITEM_COUNT, item.getQuantity());\r\n values.put(ITEM_PIC, item.getCategory());\r\n\r\n SQLiteDatabase db = this.getWritableDatabase();\r\n db.insert(ITEM_TABLE, null, values);\r\n\r\n db.close();\r\n }", "title": "" }, { "docid": "0d0a1abaca68a2884a3f9579990c47e3", "score": "0.66274226", "text": "public synchronized void addItem(Object item)\n {\n awaitNoConflicts(item);\n m_Current.add(item);\n }", "title": "" }, { "docid": "2b9610969a5370c82077f62b812ef581", "score": "0.66201496", "text": "private void addItem(final V item) {\n\t\t\titems.add(item);\n\t\t}", "title": "" }, { "docid": "d5e6e7a1e42f407eaa364a603a1dad73", "score": "0.66141415", "text": "public void addItem (ItemDTO item) {\n\t\titems.add(item);\n\t\ttotal += item.getPrice();\n\t}", "title": "" }, { "docid": "25db55337d2a72b82605353cb6313050", "score": "0.65786403", "text": "public void addItem(Item item) {\n\t\tm_cart.add(item);\n\t}", "title": "" }, { "docid": "d006424d2326547b311a6f4bdbffa93c", "score": "0.65642965", "text": "public void addItem(T obj) {\n this.items.add(obj);\n }", "title": "" }, { "docid": "622fa99bc22ac334f31e2316fa171243", "score": "0.6557922", "text": "public void add(MenuItem item)\r\n {\r\n menu.add(item);\r\n }", "title": "" }, { "docid": "74dfafeed9616d1db4de27122e191fe9", "score": "0.6553277", "text": "public void add(InventoryItem item, int row, int col) {\n if (item == null) {\n Console.error(\"Cannot add null to inventory.\");\n return;\n }\n if (items[row][col] != null) {\n Console.error(\"Could not add, slot taken.\");\n return;\n }\n items[row][col] = item;\n size++;\n }", "title": "" }, { "docid": "9d221268cb9f77ebe89511085da562e5", "score": "0.6516555", "text": "public void addItem(StockItem item) throws AddException;", "title": "" }, { "docid": "22ea044ef6fd5d406f7eca8b6b8bf9d0", "score": "0.6497437", "text": "public void addItem(User item){\n int index = (data.size());\n data.add(item);\n /////////\n if(item!=null)\n notifyItemInserted(index);\n //notifyDataSetChanged();\n }", "title": "" }, { "docid": "c54ccc7ae4f10745ff1f9a8ab394cb2b", "score": "0.6497072", "text": "public void storeItem(Item a_item)\n {\n itemList.add(a_item);\n }", "title": "" }, { "docid": "3c3b4d5f090cd7f60b05c1f4726616cf", "score": "0.64951915", "text": "@Override\n\tpublic void addOrderItem(OrderItem item) {\n\t\titemDao.addOrderItem(item);\n\t}", "title": "" }, { "docid": "c9e24266f986d8c2522e81a67c541dc7", "score": "0.6488374", "text": "public void addItem(dItem item) { \n\t\titems.add(item);\n\t\t\n\t\t//TODO if has slot -> replace on slot or do nothing\n\t\t//vInventory[item.getSlot()] = item;\n\t}", "title": "" }, { "docid": "3f9b117f63e28f09978a021663c4442c", "score": "0.6485971", "text": "public void addItem() {\r\n String amountStr = TextFieldAmount.getText();\r\n String itemName = dropSelectItem.getValue();\r\n int amountInt;\r\n\r\n try {\r\n amountInt = Integer.parseInt(amountStr);\r\n } catch (NumberFormatException e){\r\n labelBott.setText(\"Error! \\\"\" + amountStr + \"\\\" is not a valid number.\");\r\n TextFieldAmount.setText(\"\");\r\n return;\r\n }\r\n if (itemName == null){\r\n textAreaOverview.setText(\"No selected item.\");\r\n }\r\n\r\n if (amountInt < 0) {\r\n labelBott.setText(\"Error! negative number is not a valid.\");\r\n TextFieldAmount.setText(\"\");\r\n return;\r\n }\r\n\r\n Integer count = orderItemsMap.get(itemName);\r\n count = count == null ? amountInt : count + amountInt;\r\n\r\n orderItemsMap.put(itemName, count);\r\n updateOverviewTextArea();\r\n }", "title": "" }, { "docid": "36e00507878eafd10a76e3b70aa3df6f", "score": "0.6480142", "text": "@Override\r\n public void addItem(Item item) {\r\n //REQUIRES: item != null\r\n //MODIFIES: items, numberOfItems\r\n //EFFECTS: overrides the abstract method addItem. Adds the selected item \r\n //to the arraylist and increments numberOfItems by 1.\r\n \r\n if(item != null) {\r\n items.add(item);\r\n numberOfItems++;\r\n }\r\n }", "title": "" }, { "docid": "46ff494e195fce12686a5e007664fb2f", "score": "0.64798266", "text": "public void addItemToInventory(IItem itemToAdd)\n {\n if (Inventory == null)\n {\n Inventory = new ArrayList<>();\n }\n Inventory.add(itemToAdd);\n }", "title": "" }, { "docid": "adc17a7b6268115ef8a1e46bbd804ae8", "score": "0.6458428", "text": "public void add(T item) {\n add(item, true);\n }", "title": "" }, { "docid": "c6a4d0944cf7e17e0da8eaafbe5454ab", "score": "0.64491886", "text": "public void add(CItem entity)\n\t{\n\t\tcItemDao.add(entity.getId(), entity);\n\t}", "title": "" }, { "docid": "18b33e4a5316c18ad79ec73313d7fdcd", "score": "0.64473045", "text": "public void addItem(Item item) {\r\n\t\tSession session = factory.openSession();\r\n\t\tTransaction tx = null;\r\n\t\tInteger itemID = null;\r\n\r\n\t\ttry {\r\n\t\t\ttx = session.beginTransaction();\r\n\t\t\titemID = (Integer) session.save(item);\r\n\t\t\ttx.commit();\r\n\t\t} catch (HibernateException e) {\r\n\t\t\tif (tx != null)\r\n\t\t\t\ttx.rollback();\r\n\t\t\te.printStackTrace();\r\n\t\t} finally {\r\n\t\t\tsession.close();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "afa7858c01fc135444702c44c9d71340", "score": "0.6443812", "text": "public void addFromItem(FromItem item)\n {\n assert (item != null);\n \n m_from_items.add(item);\n this.addChild(item);\n }", "title": "" }, { "docid": "8a51c7a722d9b7fbe6a08bd10e5a26f4", "score": "0.64421856", "text": "public void DBCreateThisItem(String roomID, Item thisItem);", "title": "" }, { "docid": "9630dab5390bc1a19b67222904c54c0c", "score": "0.6433256", "text": "public final void addItem(Item item) {\n if (item == null) {\n throw new IllegalArgumentException(\"Can't add a null Item.\");\n }\n item.setSupplier(this);\n this.getItems().add(item);\n }", "title": "" }, { "docid": "61b378d915c4e3a26d158298f85234f1", "score": "0.64221585", "text": "public String addItem(){\n \n this.itemFacade.create(item);\n myItem.setMasterItem(item); \n myItem.setOwner(me);\n this.userItemFacade.create(myItem);\n List<UserItem> ls=me.getOwnedItems();\n ls.add(myItem);\n me.setOwnedItems(ls);\n \n\n return \"result\";\n }", "title": "" }, { "docid": "e6f07efccacc9d8e42e08d9b488a2075", "score": "0.63949823", "text": "public void addItem(ScheduleElement item){\n\t\titems.add(item);\n\t}", "title": "" }, { "docid": "9554b16b8d7fc548c9d0f2f36c4eeac4", "score": "0.63904583", "text": "public void add(MenuItem item) {\n this.children.add(item);\n }", "title": "" }, { "docid": "6369c7ca42c3759815780fae8e1acb58", "score": "0.6371744", "text": "public void append(final KItem item) {\n\t\tinsert(items.size(), item);\n\t}", "title": "" }, { "docid": "875ce282442a5ba75d554ebac8bbb4c2", "score": "0.63365227", "text": "public void addItem(JSONObject item)\n {\n stocks.add(item);\n notifyDataSetChanged();\n }", "title": "" }, { "docid": "1057e5bfd2de3431b22c9f582ff01ae9", "score": "0.63204795", "text": "void addItem(RegionItem item) {\n itemsList.add(item);\n }", "title": "" }, { "docid": "9a64299ea27a41e24452d5c5babd6c40", "score": "0.6316222", "text": "@Override\r\n\tpublic void add(Item newEntry) {\r\n\t\titems.add(newEntry);\r\n\t\tsiftUp();\r\n\t}", "title": "" }, { "docid": "49c25f7d9e6d326a302b337c1b42a259", "score": "0.6310603", "text": "public void add(DTDItem item)\n {\n items.addElement(item);\n }", "title": "" }, { "docid": "45b315b23c61044ee2ebe35af37263a8", "score": "0.63081455", "text": "public void add(E item) {\n\n\t\tif (item == null) {\n\t\t\tthrow new IllegalArgumentException();\n\t\t}\n\n\t\tqueue.enqueue(item);\n\t}", "title": "" }, { "docid": "d8b7b90bd64a6414bc434d1613cc68b5", "score": "0.6299117", "text": "public void addItem(Item itemToBeAdded) {\n if(itemToBeAdded == null || itemToBeAdded.getQuantity() == 0) {\n return;\n }\n for(int i = 0; i < inventory.size(); i++) {\n if (inventory.get(i).compareTo(itemToBeAdded) == 0) {\n inventory.get(i).addQuantity(itemToBeAdded.getQuantity());\n return;\n }\n }\n inventory.add(itemToBeAdded);\n }", "title": "" }, { "docid": "9c94f865fb8ed503e51064b80907523d", "score": "0.6296736", "text": "public void addItem(ShoppingItem item) {\n\t\tlistOfItems.add(item);\n\t}", "title": "" }, { "docid": "1c539dbf81c2931f88b7b3e590a5e35d", "score": "0.6278207", "text": "public void addItemToTransaction() {\n transactions[transactionCount] = item;\n transactionCount++;\n }", "title": "" }, { "docid": "3176178b5c2d75be5e5e19c00c20bcef", "score": "0.62670565", "text": "public void add(E item);", "title": "" }, { "docid": "92e2d6187d207f9c9ae843e1cdf129b3", "score": "0.62648505", "text": "public void addDashboardItem(DashboardItemPresenter item) {\n\n dashboardItemList.add(item);\n this.view.addComponent(item.getView());\n }", "title": "" }, { "docid": "764a4f7a868dd011e6a0f8684f6277b0", "score": "0.6260231", "text": "public void addItembyID(int id) {\n if (items.size() == MAX_SIZE) {\n // Notify the user that inventory is full\n return;\n }\n else {\n System.out.println(items.size());\n items.add(new Item(4,id));\n System.out.println(items.size());\n return;\n }\n }", "title": "" }, { "docid": "26c00299d3a85ca05037c914ad0ee0ea", "score": "0.62545174", "text": "public void addItem(Loot item) {\n for (int i = 0; i < loot.length; i++) {\n if (loot[i] == null) {\n loot[i] = item;\n break;\n }\n }\n }", "title": "" }, { "docid": "a5bd66529eef180f3fba339a764f70f6", "score": "0.6253148", "text": "String addItem(String itemId, String itemName, int quantity) {\n Item existing = books.get(itemId);\n String response;\n if (existing == null) {\n books.put(itemId, new Item(itemId, itemName, quantity));\n response = \"OK: Successfully added\";\n } else if (itemName.equals(existing.getItemName())) {\n existing.setQuantity(existing.getQuantity() + quantity);\n books.put(itemId, existing);\n response = \"OK: Successfully added\";\n } else\n response = \"Error: book with id \\\"\" + itemId + \"\\\" exists, but has a different name\";\n for (WaitingUser waiting : waitingList)\n if (waiting.getItemId().equals(itemId)) {\n waitingList.remove(waiting);\n availableForLanding.add(waiting);\n continue;\n }\n return response;\n }", "title": "" }, { "docid": "7740ea3056167eb5c5050bdc96950bf1", "score": "0.62525815", "text": "@Override\n\tpublic Integer addRoom(Room room) {\n\t\treturn dao.addRoom(room);\n\t}", "title": "" }, { "docid": "26a1a777515afcef167b094a505d49ce", "score": "0.6251829", "text": "public void addFruitItem(Item fruitItem){\n\t\titemList.add(fruitItem);\n\t}", "title": "" }, { "docid": "95704de87f566af44c8e2d63bc705d13", "score": "0.624428", "text": "public Item add(final Item item) {\n int id = -1;\n try (PreparedStatement pstmt =\n conn.connect().prepareStatement(conf.getQuery(\"insertItem\"))) {\n pstmt.setString(1, item.getName());\n pstmt.setString(2, item.getDescription());\n pstmt.executeUpdate();\n conn.connect().commit();\n id = lastRowId();\n } catch (SQLException e) {\n LOG.error(e.getMessage(), e);\n try {\n conn.connect().rollback();\n } catch (SQLException e1) {\n LOG.error(e1.getMessage(), e1);\n }\n } finally {\n this.conn.connect();\n }\n Item insertedItem = findById(id);\n LOG.info(\"Add item {}\", insertedItem);\n return insertedItem;\n }", "title": "" }, { "docid": "1d78170f4cde3c20b1c60935a0dc6154", "score": "0.62334424", "text": "protected abstract void add(TopLevelItem item);", "title": "" }, { "docid": "7e1ea015dff479865deca197e018fbe2", "score": "0.6227629", "text": "public void addNewRoom(ChatRoom room) {\n roomsList.addRoom(room);\n }", "title": "" }, { "docid": "8efb620570117330944665d7b547abf7", "score": "0.62213296", "text": "public void addItem(String name) {\n Item i = new Item(name);\n list.put(String.valueOf(list.size()), i);\n }", "title": "" }, { "docid": "8dffd4201e6a6de070e50c8dd74a3808", "score": "0.6215654", "text": "public final void push(final T item)\n {\n add(item);\n }", "title": "" }, { "docid": "25877e56c9970bac7580ce7be06ffa37", "score": "0.6205883", "text": "public void addItem(Item i) throws IOException\n {\n toDo.add(i);\n File data = new File(\"data.txt\");\n FileWriter printL = new FileWriter(data, true);\n printL.write(i.getItemString());\n printL.close();\n }", "title": "" }, { "docid": "3e22372526d5c6845afa37e294393b7b", "score": "0.6193726", "text": "public void addItem(DeviceInfo info)\n {\n items.add(info);\n notifyItemInserted(items.indexOf(info));\n }", "title": "" }, { "docid": "4157183de5dad51fc9b34bd913175f6b", "score": "0.6187241", "text": "public void addItem(OverlayItem item) {\n mOverlay.addItem(item);\n }", "title": "" }, { "docid": "24be294219e228da0e2f1e0dc4c3442d", "score": "0.61869615", "text": "public void addItem(Item i)\n\t{\n\t\tif(i.getCookTime() == 0)\n\t\t{\n\t\t\ti.setStatus(\"Finished\");\n\t\t}\n\t\tif(i.getCookTime() > 0)\n\t\t{\n\t\t\tcooking.add(i);\n\t\t\tchangeRemainingCapacity(-(i.getOvenSpaceUnits()));\n\t\t}\n\t}", "title": "" }, { "docid": "63139fc03d401a1ad23e60fc384ac8ec", "score": "0.61864173", "text": "@Override\n\tpublic void addInventory(AbstractItem item) {\n\t\t\n\t}", "title": "" }, { "docid": "539d4ceb58a640697feb1ec616b60af0", "score": "0.6176179", "text": "public void addItem(Item item) {\r\n final String update = String.format(Locale.US, \"INSERT INTO Item (name, price, owner) \"\r\n + \"VALUES ('%s', %f, '%s')\", item.name, item.price, item.owner);\r\n\r\n try (Statement stmt = conn.createStatement()) {\r\n stmt.executeUpdate(update);\r\n } catch (SQLException se) {\r\n se.printStackTrace();\r\n }\r\n }", "title": "" }, { "docid": "211cf49d2369a90852a67683bdfc78a9", "score": "0.6175749", "text": "public static boolean add(Item item)\n\t{\n\t\tif(!master.add(item)) return false;\n\t\titem.getInventory().add(item);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "517730044f2998504b77b040d1e112af", "score": "0.6170986", "text": "public boolean addToInventory(Item item) {\n if (inventoryIsFull()) {\n return false;\n } else {\n inventory.add(item);\n return true;\n }\n }", "title": "" }, { "docid": "762164be0e6534071b6db1090ca2ab4f", "score": "0.61582977", "text": "public void add(T item);", "title": "" }, { "docid": "762164be0e6534071b6db1090ca2ab4f", "score": "0.61582977", "text": "public void add(T item);", "title": "" }, { "docid": "762164be0e6534071b6db1090ca2ab4f", "score": "0.61582977", "text": "public void add(T item);", "title": "" }, { "docid": "808fc412f9f3d5ac2699d0e2a279c725", "score": "0.6157081", "text": "private static void addItem(AnimalItem item) {\n ITEMS.add(item);\n ITEM_MAP.put(item.id, item);\n HashMap<String,Object> map = new HashMap<String, Object>();\n map.put(\"image\",item.image);\n map.put(\"name\",item.content);\n ANIMALS_MAP.add(map);\n }", "title": "" }, { "docid": "cc5bddd0c51b9cb38b091f1c14c99088", "score": "0.61542547", "text": "public void addItem(Item i) {\n\t\titems.add(i);\n\t\tif (!itemQuantities.containsKey(i.getName())) {\n\t\t\titemQuantities.put(i.getName(), 1);\n\t\t} else {\n\t\t\titemQuantities.put(i.getName(), (itemQuantities.get(i.getName()) + 1));\n\t\t}\n\t\t//notifyObservers\n\t}", "title": "" }, { "docid": "bd5284b005e64cf504a524a2fc2b4bb6", "score": "0.6154217", "text": "private void add(ItemStack item, String lore, Player player) {\n ItemUtil.addLore(item, lore);\n Message.get(\"itemlore-add\").sendF(player, lore);\n }", "title": "" }, { "docid": "0149a3b2989979d1980601bfadb18513", "score": "0.6152153", "text": "public void addProduct(Product item, Integer quantity){\n //to stock or restock the vending machine\n products.put(item, quantity);\n }", "title": "" }, { "docid": "739904d34f3790c931876b0edaa7e85d", "score": "0.6149582", "text": "public boolean addItemToInventory(Item item)\n\t{\n\t\tif (inventory.size()<maxInventory) {\n\t\t\tinventory.add(item);\n\t\t\tSystem.out.printf(messenger.getMessage(MessageCode.MESSAGE_GAME_ITEM_PICK)+\"\\n\",\tname, item.getName());\n\t\t\treturn true;\t\t\t\n\t\t} else {\t\t\t\t\t\t\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "03d2b43f7a2ac3633e11851842c84114", "score": "0.61330676", "text": "@Override\n public void push(Item item) {\n for (String it: item.getProp()){\n if (it.equals(\"плоский\")){\n if (item.equals(this)){\n System.out.println(\"Нельзя положить объект в самого себя\");\n }\n else if (items_count > max_items){\n System.out.println(\"Достигнул лимит добавления предметов\");\n }\n else {\n queue.offer(item);\n items_count++;\n }\n break;\n }\n\n\n }\n\n }", "title": "" }, { "docid": "c64a0aec14f95b7a2d897f785d0347a7", "score": "0.6130798", "text": "public void addItem(Item item){\n\t\tint i = 0;\n\t\tint firstEmpty = -1;\n\t\tboolean placed = false;\n\n\t\taudio = new Audio(\"ItemPickup.wav\");\n\t\tThread audioThread = new Thread(audio);\n\t\taudioThread.start();\n\n\t\tfor(ItemSlot is: itemSlots){\n\t\t\tif(is.getItemStack() != null && is.getItemStack().getItem().getName().equals(item.getName())){\n\t\t\t\tis.addItem(item, 1);\n\t\t\t\tplaced = true;\n\t\t\t\tbreak;\n\t\t\t} else if(is.getItemStack() == null){\n\t\t\t\tif(firstEmpty == -1 || i < firstEmpty){\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tfirstEmpty = i;\n\t\t\t\t}\n\t\t\t}\n\t\t\ti++;\n\n\t\t}\n\t\tif(!placed){\n\t\t\titemSlots.get(firstEmpty).setItem(new ItemStack(item, 1));\n\t\t}\n\t}", "title": "" }, { "docid": "26d4af1d87cc2f154fd69a45b57ffca5", "score": "0.6129716", "text": "public boolean addItem(Item item){\n\t\tif(contents.size() < capacity && item != this){\n\t\t\tcontents.add(item);\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "92230386c684c6715e19019e049dc3aa", "score": "0.0", "text": "@Override\n\tpublic User getUser(int id) {\n\t\tSystem.out.println(\"在SqlServer中根据ID 查找User记录\");\n\t\treturn null;\n\t}", "title": "" } ]
[ { "docid": "9208773f8d675a45ef2786d0cb668514", "score": "0.654538", "text": "@Override\n\tpublic void addiion() {\n\t\t\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65323734", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "5d259e9a9ed31ac29902b25db191acd1", "score": "0.6490277", "text": "@Override\n\tpublic void bewegen() {\n\t\t\n\t}", "title": "" }, { "docid": "49f82de84791f2d90dd9ea5cce118bf5", "score": "0.6314085", "text": "@Override\r\n\tpublic void ader() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.61546874", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.61546874", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.61546874", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "a4dcc093d4ff3452de6ac444aececdf1", "score": "0.61316955", "text": "public void ausgabeZugFiguren() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "9144a32a2cd5a72f1d1380aa1f1d5f09", "score": "0.6092728", "text": "public void mo5774g() {\n }", "title": "" }, { "docid": "19def8ee9a9cacfd168fa29cb08dcee2", "score": "0.6080876", "text": "@Override\n\tpublic void vaccination()\n\t{\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "title": "" }, { "docid": "67e1a422c8d1e74f6601c8a6d1aaa237", "score": "0.6071615", "text": "@Override\n\tpublic void apagar() {\n\n\t}", "title": "" }, { "docid": "99bd004e44dd7019c8ef01a44a9b3eab", "score": "0.6067535", "text": "@Override\r\n\tpublic void breah() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e90bb5928accbf89387d2613629ce52f", "score": "0.60653234", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "e90bb5928accbf89387d2613629ce52f", "score": "0.60653234", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "04771723ee2c07e5fa5fe8c322190beb", "score": "0.60607964", "text": "@Override\n\tpublic void affichage() {\n\t\t\n\t}", "title": "" }, { "docid": "5c8e848472fb111129ff96ea7e3eea3d", "score": "0.605578", "text": "@Override\n public void pintar() {\n \n }", "title": "" }, { "docid": "5c8e848472fb111129ff96ea7e3eea3d", "score": "0.605578", "text": "@Override\n public void pintar() {\n \n }", "title": "" }, { "docid": "db1df23a1dd6753a6267bb04b332bf85", "score": "0.6054585", "text": "public void mo12026a() {\n }", "title": "" }, { "docid": "e46610ee0bd6f029738af766fdc21054", "score": "0.59955573", "text": "@Override\r\n\tpublic void vender() {\n\r\n\t}", "title": "" }, { "docid": "d0738cb6f0934e8c2706f8cceaa57916", "score": "0.5969007", "text": "@Override\r\n\tpublic void init() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "15d6b98b279429b150a682bd6349a355", "score": "0.59551615", "text": "@Override\n\tpublic void fertilise() {\n\t\t\n\t}", "title": "" }, { "docid": "cce0c669162940d6a1e5e611c61410b3", "score": "0.59530795", "text": "@Override\r\n\tpublic void getDirect() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8c3354ae13a827b8d836df56c4c510d8", "score": "0.59508646", "text": "@Override\n protected void init() {\n\n\n }", "title": "" }, { "docid": "16a4669a2213802ac94829fc8d9946ff", "score": "0.5935938", "text": "@Override\n\t\tpublic void init() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "b9e40f8e651069ba40a35ef1db458ce9", "score": "0.59202784", "text": "@Override\r\n\tpublic void tyres() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cad86041007c052466e6525bc7dcd8c8", "score": "0.5901697", "text": "@Override\r\n\tpublic void trasation() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5d9f4634054e808deccea8846817de31", "score": "0.588331", "text": "@Override\r\n\tpublic void vola() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d0b7e3f5544447dc12bf9d1bad50a34b", "score": "0.5864994", "text": "public void mo40391a() {\n }", "title": "" }, { "docid": "ff6eb8b61c178f23b971412958c256c8", "score": "0.58641464", "text": "@Override\n\tpublic void ate() {\n\t\t\n\t}", "title": "" }, { "docid": "c64411f2d7b4359b656294e598122466", "score": "0.58560646", "text": "public void mo1294d() {\n }", "title": "" }, { "docid": "d29a027cc93fdf42445fadb149d49da1", "score": "0.5855024", "text": "public void mo1184a() {\n }", "title": "" }, { "docid": "a672d2d2a4b7bb037f7f20d62ff1f55e", "score": "0.5849603", "text": "@Override\n\tpublic void ss() {\n\t\t\n\t}", "title": "" }, { "docid": "e04f934fbe00df663fa9d5d545a1a729", "score": "0.5842969", "text": "@Override\n public void sporcuPuaniGoster() {\n\n }", "title": "" }, { "docid": "d48ac35465c27e31c1f21be54513f8f9", "score": "0.58330834", "text": "@Override\r\n\tpublic void pirntA() {\n\r\n\t}", "title": "" }, { "docid": "ad7fe50be28bd3c3d7952d71f935957c", "score": "0.5829554", "text": "@Override\n\t\t\tpublic void work() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "d1236089c8974701d0acd37b2cad6d5b", "score": "0.5809914", "text": "@Override\n\tpublic void init(){\n\t\t\n\t}", "title": "" }, { "docid": "63519e7beede7b06dcebbca99514f5c5", "score": "0.57981986", "text": "@Override\n\tprotected void salirsePorXIzq() {\n\t\t\n\t}", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.5793788", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "bcd5f0b16beb225527894894dcaf774f", "score": "0.5789414", "text": "@Override\n\tprotected void update() {\n\t\t\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "53519f34ca6dc9b2249e5bf2a0182992", "score": "0.5762815", "text": "@Override\n\tpublic void Avanzar() {\n\t\t\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d92a1f963aafb73b8192e677b33d128f", "score": "0.57472074", "text": "@Override\n\tpublic void postConstruct() {\n\n\t}", "title": "" }, { "docid": "e3fcb762f77cfc9168a1bc0d865ded42", "score": "0.574678", "text": "@Override\n\tprotected void crier() {\n\t\t\n\t}", "title": "" }, { "docid": "770cd968ebdff1a71e678a800372d8c6", "score": "0.57460904", "text": "@Override\r\n\tpublic void afisareDatepers() {\n\t\t\r\n\t}", "title": "" }, { "docid": "260bb3e9c481a3e03724071c87239711", "score": "0.574225", "text": "private void m11272q() {\n }", "title": "" }, { "docid": "c13e6a1b7c130afa9fb0f34225bea4ef", "score": "0.573645", "text": "protected void mo1555b() {\n }", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "28872bba7a5c17cad13c73f21624cabc", "score": "0.57069", "text": "@Override\n\tpublic void CreateRs() {\n\t\t\n\t}", "title": "" }, { "docid": "3c6f91c038ca7ffdab72b5c233b827c5", "score": "0.5705329", "text": "@Override\n\tprotected void initMethod() {\n\t}", "title": "" }, { "docid": "3d6cdc1afb7138b4083b3a4a65f01db1", "score": "0.5702478", "text": "public void mo10296b() {\n }", "title": "" }, { "docid": "45fd99bd8793c6d67c4f276a27b4fdca", "score": "0.5685153", "text": "@Override public int getDefensa(){\n\n return 0;\n\n }", "title": "" }, { "docid": "9d551589ec00d7b16a77df7a4d54caae", "score": "0.5683637", "text": "@Override\n public void init()\n {\n\n }", "title": "" }, { "docid": "cc07b6e925fefd34942bfb2fd21e818a", "score": "0.56719893", "text": "public void ausgabeFiguren() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "f5766311eecc43fe076ad8e87f995b64", "score": "0.56654924", "text": "@Override\r\n\tvoid erstelleGebäude() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9b8a44f27329437a5b3f89427b894c91", "score": "0.56609863", "text": "public void mo36058a() {\n }", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "3a2534d5fb04e020e5849904bbe4720a", "score": "0.56515974", "text": "@Override\r\n\tprotected void geJiage() {\n\t\tsuper.geJiage();\r\n\t}", "title": "" }, { "docid": "02e1bc278c2b2caf23edb429d02b85c0", "score": "0.56482685", "text": "@Override\n\tprotected void initialise() {\n\t\n }", "title": "" }, { "docid": "18c7036dd108c40b7a27469d8b92687c", "score": "0.5642345", "text": "@Override\n\tpublic void onLoadComplete() {\n\t\t\n\t}", "title": "" }, { "docid": "674d6b47736013d84190eed15130aad6", "score": "0.5641662", "text": "@Override\n\tpublic void obtenerPrecalculados() {\n\t\t\n\t}", "title": "" }, { "docid": "6754b5dbf617cd4b6315568f4ba45bc3", "score": "0.56412077", "text": "@Override\n protected void initialize() {}", "title": "" }, { "docid": "6754b5dbf617cd4b6315568f4ba45bc3", "score": "0.56412077", "text": "@Override\n protected void initialize() {}", "title": "" }, { "docid": "0ba831513140db25039c80559d16603f", "score": "0.5636391", "text": "@Override\n \tpublic void process_6() {\n \n \t}", "title": "" }, { "docid": "af9170e83e6f26bfa1f5e7b9cdbc491a", "score": "0.5623968", "text": "@Override\r\n public void initData() {\n\r\n }", "title": "" }, { "docid": "af9170e83e6f26bfa1f5e7b9cdbc491a", "score": "0.5623968", "text": "@Override\r\n public void initData() {\n\r\n }", "title": "" }, { "docid": "eb2ec3c736f6af0e79bde71492b6d2dd", "score": "0.56177896", "text": "@Override\n public int arność() {\n return 2;\n }", "title": "" }, { "docid": "870d28e8c0326c2e585508a88499e108", "score": "0.5607548", "text": "private void init() {\n\t\t\t\t\n\t\n\t}", "title": "" }, { "docid": "b78de853138b4d1a9183420c6cd735cc", "score": "0.56050456", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "b78de853138b4d1a9183420c6cd735cc", "score": "0.56050456", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "d69d82cd185340d978c1a70fb66c01db", "score": "0.560443", "text": "public void mo5773f() {\n }", "title": "" }, { "docid": "ccba64a54b47095e22d528bff878aff1", "score": "0.5600534", "text": "@Override\r\n public String toString()\r\n {\n return null;\r\n }", "title": "" }, { "docid": "c1e6f049bd0a6f8cdd055f88f3b45eaa", "score": "0.5596128", "text": "public void mo80311c() {\n }", "title": "" }, { "docid": "bc4c805ce86377a96c35c50ef04ab983", "score": "0.55958176", "text": "@Override\n\tprotected void initAfterData() {\n\t}", "title": "" }, { "docid": "0d47d46f06beb83b10147b5efbda9e6b", "score": "0.55933857", "text": "@Override\r\n\tpublic void see() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1d69f38b94702675a7a6d7b4ca002e6d", "score": "0.5592467", "text": "@Override\n\tpublic void init()\n\t{\n\n\t}", "title": "" }, { "docid": "822226d86d7514db3081754cf8a8d3b3", "score": "0.55916166", "text": "@Override\n\t\tpublic void rest() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "fb9a873c01eb354c85aac7a220fbaac2", "score": "0.5588414", "text": "@Override\r\n\tprotected void doF6() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c47723cc77bfdfbeac347959926f9a12", "score": "0.55856144", "text": "@Override\n protected void initialize() {\n\n }", "title": "" } ]
5516be87adcb0bcde8cebf33b3349e4a
Method to test add
[ { "docid": "52df1efddcf1a4c6ef87dd74d75f06f8", "score": "0.0", "text": "@Test\r\n\tpublic void testAdd() {\r\n\t\tLinkedListRecursive<String> list = new LinkedListRecursive<String>();\t\t\r\n\t\tassertTrue(list.size() == 0);\r\n\t\t\r\n\t\t//Add a string to an empty list\r\n\t\tlist.add(0, \"String0\");\r\n\t\tassertTrue(list.size() == 1);\r\n\t\t\r\n\t\t//Add a string to the end of a list\r\n\t\tlist.add(1, \"String1\");\r\n\t\tassertTrue(list.size() == 2);\r\n\t\t\r\n\t\t//Add a null string to a list\r\n\t\ttry {\r\n\t\t\tlist.add(2, null);\r\n\t\t\tfail();\r\n\t\t} catch (NullPointerException e) {\r\n\t\t\tassertTrue(list.size() == 2);\r\n\t\t}\r\n\t\t\r\n\t\t//Add a duplicate string to a list\r\n\t\ttry {\r\n\t\t\tlist.add(2, \"String1\");\r\n\t\t\tfail();\r\n\t\t} catch (IllegalArgumentException e) {\r\n\t\t\tassertTrue(list.size() == 2);\r\n\t\t}\r\n\t\t\r\n\t\t//Add a string outside of the bounds of the list (upper)\r\n\t\ttry {\r\n\t\t\tlist.add(10, \"String3\");\r\n\t\t\tfail();\r\n\t\t} catch (IndexOutOfBoundsException e) {\r\n\t\t\tassertTrue(list.size() == 2);\r\n\t\t}\r\n\t\t\r\n\t\t//Add a string outside of the bounds of the list (lower)\r\n\t\ttry {\r\n\t\t\tlist.add(-1, \"String3\");\r\n\t\t\tfail();\r\n\t\t} catch (IndexOutOfBoundsException e) {\r\n\t\t\tassertTrue(list.size() == 2);\r\n\t\t}\r\n\t\t\r\n\t\t//Add many strings\r\n\t\tfor (int i = 2; i < 11; i++) {\r\n\t\t\tlist.add(i, \"String\" + i);\r\n\t\t\tassertTrue(list.size() == (i + 1));\r\n\t\t}\r\n\t\t\r\n\t\t//Add a string in the middle of a list\r\n\t\tlist.add(6, \"NewString\");\r\n\t\tassertTrue(list.size() == 12);\r\n\t\tassertTrue(list.get(5).equals(\"String5\"));\r\n\t\tassertTrue(list.get(7).equals(\"String6\"));\r\n\t\t\r\n\t\t//Add a string already in the list\r\n\t\ttry {\r\n\t\t\tlist.add(\"String3\");\r\n\t\t\tfail();\r\n\t\t} catch (IllegalArgumentException e) {\r\n\t\t\tassertTrue(list.size() == 12);\r\n\t\t}\r\n\r\n\t\t//Add a string to the end using the element only add\r\n\t\tassertTrue(list.add(\"EString\"));\r\n\t\tassertTrue(list.size() == 13);\r\n\t\tassertTrue(list.get(12).equals(\"EString\"));\r\n\t\t\r\n\t\tLinkedListRecursive<String> list2 = new LinkedListRecursive<String>();\t\t\r\n\t\t//Add a string to an empty list using the element only add\r\n\t\tassertTrue(list2.add(\"NewList\"));\r\n\t\tassertTrue(list2.size() == 1);\r\n\t\tassertTrue(list2.get(0).equals(\"NewList\"));\r\n\t}", "title": "" } ]
[ { "docid": "85c258c10f4284a0a08488d4fabdc43a", "score": "0.75549066", "text": "@Test\n void addTest() {\n StudentEnrolment mockNewEnrolment = new StudentEnrolment(\n new Student(\"s129999\", \"Hung\", \"15/4/2000\"),\n new Course(\"a199999\",\"SERR\", 24),\n \"2019A\");\n try {\n testList.getAll().add(mockNewEnrolment);\n System.out.println(\"Added successfully!!\");\n assertTrue(testList.getAll().contains(mockNewEnrolment));\n }\n catch(Exception e){\n System.out.println(\"Something wrong\");\n }\n }", "title": "" }, { "docid": "325d5d3ed990077c6983a9685acde04b", "score": "0.7534289", "text": "@Test\r\n public void add() throws Exception{\n }", "title": "" }, { "docid": "6d40bf6c3bb24816ac345abec441ad76", "score": "0.7457574", "text": "@Test\n public void addTest()\n {\n //String expectedName = \"Tom\";\n Cat cat1 = new Cat(\"Tom\",new Date(),0);\n CatHouse catHouse1 = new CatHouse();\n catHouse1.add(cat1);\n //Assert.assertEquals(expectedName, actualName);\n }", "title": "" }, { "docid": "4cac80d56ab67c1895cdb690003259fa", "score": "0.7416326", "text": "@Test\n public void testAdd() {\n calculator.add(1, 2);\n }", "title": "" }, { "docid": "ddaa54722929390a63044e2132105e03", "score": "0.7407338", "text": "@Test\n\tpublic void testAdd() {\n\t\t\n\t\tint total = 5;\n\t\tassertEquals(this._sum, total);\n\t\t\n\t}", "title": "" }, { "docid": "209b62fbbda65816052da11eafc72ab5", "score": "0.74054974", "text": "@Test\n public void testAdd() {\n System.out.println(\"insert\");\n setUp();\n instance.add(dato1);\n Object expResult = 1;\n Object result = instance.size();\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "914ee5cb672e9a20658a3f7127fafaf8", "score": "0.7379857", "text": "@Test\n public void testAdd() {\n assertEquals(tTwoS,tOneS.add(tOneS));\n }", "title": "" }, { "docid": "87f72bc025c24c9a56d90fc6edf8c885", "score": "0.7376719", "text": "public void testAdd() {\n }", "title": "" }, { "docid": "f9c83606e5a7b23ae236b8552e1990a1", "score": "0.7252456", "text": "@Test\n public void testAdd() {\n ListHistory instance = new ListHistory();\n assertTrue(instance.add(new Object()));\n }", "title": "" }, { "docid": "bb7a559bd81098f0a27fe206a313890b", "score": "0.7186505", "text": "@Test\n public void testAddReturnsProperValueForNonDuplicateAdd() {\n Collection collection = createEmptyCollection();\n \n assertTrue(collection.add(getElement(ONE)));\n }", "title": "" }, { "docid": "cf96c7e783d111d25424a84611b1006f", "score": "0.7183451", "text": "public static void add() {\n\t}", "title": "" }, { "docid": "f4ff15cf956f11b84438d245a6ac5f5e", "score": "0.71683246", "text": "@Test\r\n\tpublic void testAddOneItem() {\n\t\tcheckout.add(1, 30);\r\n\t\tassertEquals(30, checkout.total());\r\n\t}", "title": "" }, { "docid": "160473cc023d03e53eb178c5fc2b01ad", "score": "0.7144701", "text": "@Test\r\n public void testAddEmployee()\r\n {\r\n boolean expectedOutput = true;\r\n boolean actualOutput = employee.addNewEmployee(new Employee(7, \"ABC\", \"Address\"));\r\n assertEquals(expectedOutput, actualOutput);\r\n }", "title": "" }, { "docid": "a91ee9ecb47d6daeebf0d3b156e9ab89", "score": "0.7133999", "text": "@Test\n public void addCardToDeckTest(){\n deck.addCard(testCard);\n assertEquals(deck.getDeckList().size(), 1);\n assertEquals(deck.getCard(0), testCard);\n }", "title": "" }, { "docid": "4a494013fe697801cee8b3939ff251ba", "score": "0.7104151", "text": "@Test\n\tpublic void testAdd() {\n\t\tAssert.assertEquals(mathApplication.add(20.0, 10.0), 30.0, 0);\t\n\n\t}", "title": "" }, { "docid": "e0d837de5512335d705b4ab375a5ad78", "score": "0.7090851", "text": "@Test\n public void whenAddOneElementThenThisElementAdd() {\n\n Item element = new Item(\"example\", null, null);\n Tracker tracker = new Tracker();\n\n Item expectedItem = element;\n Item actualItem = tracker.add(element);\n\n assertEquals(expectedItem, actualItem);\n\n }", "title": "" }, { "docid": "edb2e7ec3ccc92da16b741816b0decf5", "score": "0.70714056", "text": "@Test\n public void testAddEword() {\n \n }", "title": "" }, { "docid": "35c0ea9f2bfd167d5ffc666c97b97ea7", "score": "0.7062807", "text": "@Test\n\tpublic void testAdd() {\n\t\tfinal ICalculator cal = new Calculator();\n\t\tassertEquals(2 + 5, cal.add(2, 5));\n\t\tassertEquals(3 + 4, cal.add(3, 4));\n\t}", "title": "" }, { "docid": "f40e0074885ff80a1a173d66a3910b7e", "score": "0.7054406", "text": "@Test\n\tpublic void testAdd() {\n\t\tboolean isSaved = customerData.create(this.customer);\n\t\tassertEquals(true, isSaved);\n\t}", "title": "" }, { "docid": "659f3029dc08528dafbbf77b66e2aed7", "score": "0.7013894", "text": "@Test\n public void testAdd()\n {\n LOG.debug( \"testAdd\" );\n double a = 1.0;\n double b = 1.0;\n double result = arithmeticService.add( a, b );\n\n assertEquals( 2.0, result, 0.1 );\n\n }", "title": "" }, { "docid": "b9338b8341e2398a502b0f3d0f7f5877", "score": "0.7013429", "text": "@Test\n void AddElementSuccess()\n {\n\n assertEquals(\"Test\", taskList.get(0).getTaskName());\n assertEquals(\"Test Project\", taskList.get(0).getProjectName());\n assertEquals(\"Open\", taskList.get(0).getStatus());\n assertEquals(date, taskList.get(0).getTaskDate());\n\n }", "title": "" }, { "docid": "b87424479bc526bb74804cadef884d11", "score": "0.7009857", "text": "public void add(Test test) {\n bank.add(test);\n }", "title": "" }, { "docid": "31394283d88ccbb497b79f3798088028", "score": "0.7002109", "text": "@Test\n public void addTest() throws Exception {\n Context appContext = InstrumentationRegistry.getTargetContext();\n DatabaseHelper helper = DatabaseHelper.getInstance(appContext);\n SiteDao dao = SiteDao.getInstance(appContext);\n List<Site> sites = dao.getAll();\n int initialSize = sites.size();\n\n Site site = new Site(\"site X\", 20, 20, \"Address X\",1, \"summary\");\n dao.add(site);\n\n sites = dao.getAll();\n int finalSize = sites.size();\n\n assertEquals(initialSize+1, finalSize);\n }", "title": "" }, { "docid": "e6770be376d4e7cac6dcfa8a150a0c3f", "score": "0.69959027", "text": "@Test\n public void addTest() {\n Dog Dog = new Dog(givenName, givenBirthDate, givenId);\n int ID = givenId;\n DogHouse.add(Dog);\n Dog expected = Dog;\n Dog actual = DogHouse.getDogById(givenId);\n Assert.assertEquals((expected), actual);\n }", "title": "" }, { "docid": "562cd088e14f26b17d1b99208a017b2c", "score": "0.6987771", "text": "public void testAdd() {\n System.out.println(\"add\");\n double d1 = 6.0;\n double d2 = 5.0;\n Money instance = new Money(4);\n instance.add(d1, d2);\n }", "title": "" }, { "docid": "dd164e0df492603acc69325cf0d6ec38", "score": "0.6979745", "text": "@Test\r\n public void testAddNewItem() {\r\n clean();\r\n int item = indexItem();\r\n if (item > 0) {\r\n locker.addItem(items[item], 1);\r\n assertEquals(\"Addition failed\", 1, locker.getItemCount(items[item].getType()));\r\n } else {\r\n System.out.println(\"error - or the capacity of locker too small or a smaller volume item needed\");\r\n }\r\n }", "title": "" }, { "docid": "eb76f466eb0b8c36ba663a5a445ccc53", "score": "0.6964599", "text": "@Test\n\tpublic void testAdd() {\n\t\tArrayListSet<Integer> q = new ArrayListSet<>();\n\t\tassertTrue(q.add(zero));\n\t\tassertTrue(q.add(one));\n\t}", "title": "" }, { "docid": "a1836c4290f22042bbac3105532b1242", "score": "0.69563174", "text": "@Test\n\tpublic void testAdd() {\n\t\twhen(rd.add(user)).thenReturn(true);\n\t\tassertEquals(true, rs.add(user));\n\t\tverify(rd).add(user);\n\n\t\t// if some of the required information is not provided,\n\t\t// then add operation will be failed\n\t\tUser u = new User();\n\t\tu.setFirst_name(\"fn\");\n\t\tu.setLast_name(\"ln\");\n\t\twhen(rd.add(u)).thenReturn(false);\n\t\tassertEquals(false, rs.add(u));\n\t\tverify(rd).add(u);\n\t}", "title": "" }, { "docid": "dedf5e597d90595463210f39de500833", "score": "0.6948652", "text": "@Test\n\tvoid addTest() {\n\t\tMonom expected = new Monom(1,1);\n\t\tm1.add(m2);\n\t\tassertEquals(expected, m1,\"Test Add with two Monoms\");\n\t}", "title": "" }, { "docid": "67949930047f2e490ce5ee3161d14830", "score": "0.6935401", "text": "@Test\r\n public void testAdd() {\r\n System.out.println(\"add\");\r\n Permission p = null;\r\n MyPermissionCollection instance = new MyPermissionCollection();\r\n instance.add(p);\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 }", "title": "" }, { "docid": "7d864e60a76804098417918106c0f0d3", "score": "0.6924014", "text": "@Test\n\tvoid ObservationsAddInvalidtest() {\n\t\tassertTrue(true);\n\t}", "title": "" }, { "docid": "584c772425087060a86b47d7f1d73d31", "score": "0.69078386", "text": "@Test\n public void addTest(){\n // Given\n String name = \"Milo\";\n Date birthDate = new Date();\n Dog actualDog = AnimalFactory.createDog(name, birthDate);\n\n int id = actualDog.getId();\n\n DogHouse.clear();\n //When\n DogHouse.add (actualDog);\n //Then\n Dog retrivedDog = DogHouse.getDogById(id);\n\n Assert.assertEquals(actualDog,retrivedDog);\n\n }", "title": "" }, { "docid": "694fc3fc16cf8ca6be6ad0be2eed0700", "score": "0.6905855", "text": "@Test\n public void testAdd(){\n //Given\n CatHouse house = new CatHouse();\n Cat cat = new Cat(\"aaa\", new Date(), 1);\n Integer expectedCat = 1;\n\n //When\n house.add(cat);\n Integer actualCat = house.getNumberOfCats();\n\n //Then\n Assert.assertEquals(expectedCat,actualCat);\n\n }", "title": "" }, { "docid": "5620ea555b866513abc5329356e785ce", "score": "0.6858345", "text": "@Test\n void AddElementFailure()\n {\n\n Task task5 = new Task(\"test\", \"test Project\", \"Open\", date);\n taskList.add(task5);\n assertEquals(\"Test\", taskList.get(0).getTaskName());\n assertEquals(\"Test Project\", taskList.get(0).getProjectName());\n assertEquals(\"Open\", taskList.get(0).getStatus());\n assertEquals(date, taskList.get(0).getTaskDate());\n }", "title": "" }, { "docid": "e7acb0948c239cbdacc11e34146e35d9", "score": "0.6856085", "text": "@Test\r\n\tpublic void testCreateFromAdd() {\r\n\t\tMetaInfo mi = MetaInfo.createFromAdd(\"TEST\", \"this is a test\");\r\n\t\tassertEquals(\"TEST\", mi.getName());\r\n\t\tassertEquals(\"this is a test\", mi.getDescription());\r\n\t}", "title": "" }, { "docid": "2325541a460ea7fa4e6d3c82c9a9f604", "score": "0.6851998", "text": "@Test\n void addAndGetSuccess() {\n shoppingCart.addBagToCart(store1, shoppingBag1);\n //check that it's the same bag\n assertEquals(shoppingBag1, shoppingCart.getShoppingBag(store1));\n }", "title": "" }, { "docid": "54b882be5d183b6127b9cca045b1f43e", "score": "0.68399984", "text": "@Override\r\n\tpublic void add() {\n\t\t\r\n\t}", "title": "" }, { "docid": "dda7b90b6a1464db2163348f36344a4d", "score": "0.6834961", "text": "@Test\r\n\tpublic void testAddRecipe_14()\r\n\t\tthrows Exception {\r\n\r\n\t\tMain.addRecipe();\r\n\r\n\t\t// add additional test code here\r\n\t}", "title": "" }, { "docid": "3b41fa4a80b17e7db5fbd52fc25ce12e", "score": "0.6834465", "text": "@Test\r\n\tpublic void testAddRecipe_12()\r\n\t\tthrows Exception {\r\n\r\n\t\tMain.addRecipe();\r\n\r\n\t\t// add additional test code here\r\n\t}", "title": "" }, { "docid": "2bbdb9f642f7dc49b0dce0ad63ba4c39", "score": "0.6828809", "text": "@Test\n void addExamplesTest() {\n StudentEnrolment exampleEnrolment = new StudentEnrolment(\n new Student(\"s103812\", \"Thinh\", \"11/11/2000\"),\n new Course(\"a987865\", \"SEPT\", 12),\"2020B\");\n testList.addExamples(exampleEnrolment);\n assertTrue(testList.getAll().contains(exampleEnrolment));\n System.out.println(\"Add successfully!!\");\n }", "title": "" }, { "docid": "0014d2da8f7f460ffc2c55c354b405dd", "score": "0.68282753", "text": "@Test\r\n void addTransaction() {\n assertEquals(0, fakedb.getBalance(1));\r\n assertEquals(0, fakeDBTRANSACTIONS.size());\r\n\r\n //Add transaction\r\n transaction.addTransaction(10, \"deposit\", \"bank\");\r\n\r\n //Test after adding transaction\r\n assertEquals(10, fakedb.getBalance(1));\r\n assertEquals(1, fakeDBTRANSACTIONS.size());\r\n\r\n }", "title": "" }, { "docid": "e6582d4ac1957e6f402d28c11f6408de", "score": "0.68236387", "text": "Add createAdd();", "title": "" }, { "docid": "e6b5aefdc24de9122315f3d76f415a53", "score": "0.6823423", "text": "@Test\r\n\r\npublic void testAdd(){\r\n\r\nContactService cs = new ContactService();\r\nContact t1 = new Contact(\"T001\", \"Jane\", \"Doe\", \"121\", \"TX ST\");\r\nassertEquals(true, cs.addContact(t1));\r\n\r\n}", "title": "" }, { "docid": "bd4c469a23a9018f7c9fe56c4eed1b67", "score": "0.68222123", "text": "public void testAddFailedRecord() {\r\n\t}", "title": "" }, { "docid": "60b745362db25176fa742fcaa8eefe27", "score": "0.6820925", "text": "@Test\r\n\tpublic void testAddRecipe_15()\r\n\t\tthrows Exception {\r\n\r\n\t\tMain.addRecipe();\r\n\r\n\t\t// add additional test code here\r\n\t}", "title": "" }, { "docid": "012aaed6f55958df8dc63b449563922e", "score": "0.68180764", "text": "@org.junit.jupiter.api.Test\n void testAdd()\n {\n LinkedList list = new LinkedList();\n list.add(\"hi\");\n list.add(\"hello\");\n list.add(\"sup\");\n list.add(\"sup\");\n assertEquals(3,list.length()); // To check if a duplicate will be added or not\n assertTrue(list.hasItem(\"hi\"));\n assertTrue(list.hasItem(\"hello\"));\n assertTrue(list.hasItem(\"sup\"));\n }", "title": "" }, { "docid": "38d795f46e20c51a6e51ac456dee7786", "score": "0.68166167", "text": "@Test\n\tpublic final void testAddJobs() {\n System.out.println(\"addJobs\");\n ArrayList<Job> jobs = new ArrayList<Job>();\n JobSet instance = new JobSet();\n instance.addJobs(jobs);\n }", "title": "" }, { "docid": "61a7fd42c0a12976f401ac89ee28198d", "score": "0.6798153", "text": "@Test\r\n public void testAdd() {\r\n System.out.println(\"testAdd\");\r\n assertTrue(wpc.size() == 3);\r\n String danish = \"ko\";\r\n String english = \"hund\";\r\n wpc.add(danish, english);\r\n assertTrue(wpc.size() == 4);\r\n wpc.clear();\r\n }", "title": "" }, { "docid": "bedccac9789a5dcd353ce5e6b3069f8d", "score": "0.67977744", "text": "@Test\n void test() {\n ItemOption item = new ItemOption(\"Test Option\", new String[] {\"When\", \"will\", \"we\", \"back\", \"to\", \"school\"},\n new boolean[] {true, true, true, false, false, false});\n itemOptionsIO.getData().add(item);\n itemOptionsIO.saveChanges();\n assertNotNull(itemOptionsIO.getOptionByName(\"Test Option\")); // Check whether the new added item exists\n }", "title": "" }, { "docid": "87b8600c2aaef7fa5e3a3f9b17e28827", "score": "0.67919815", "text": "@Override\n\tpublic void add() {\n\t\t\n\t}", "title": "" }, { "docid": "87b8600c2aaef7fa5e3a3f9b17e28827", "score": "0.67919815", "text": "@Override\n\tpublic void add() {\n\t\t\n\t}", "title": "" }, { "docid": "9ac307fe0538f7bf7de4da0dedcd0b9e", "score": "0.6786895", "text": "public void addTest(Test t){\r\n this.testlist.add(t);\r\n }", "title": "" }, { "docid": "734f0817bd544e160bf8e7efcfa6cbb8", "score": "0.6777153", "text": "@Test\r\n\tpublic void testAddRecipe_13()\r\n\t\tthrows Exception {\r\n\r\n\t\tMain.addRecipe();\r\n\r\n\t\t// add additional test code here\r\n\t}", "title": "" }, { "docid": "0fe5c35973c1c12f4273a4420f1125f3", "score": "0.676735", "text": "@Test\r\n\tpublic void testAddRecipe_1()\r\n\t\tthrows Exception {\r\n\r\n\t\tMain.addRecipe();\r\n\r\n\t\t// add additional test code here\r\n\t}", "title": "" }, { "docid": "6e91652a75c38e852e281764cc842e98", "score": "0.67647326", "text": "@Test\r\n\tpublic void testAddInventory_14()\r\n\t\tthrows Exception {\r\n\r\n\t\tMain.addInventory();\r\n\r\n\t\t// add additional test code here\r\n\t}", "title": "" }, { "docid": "c360660b620f615c853b0401c6726756", "score": "0.6761929", "text": "@Test\n public void addCatTest() {\n Integer expectedNumberOfCats = 1;\n CatHouse.add(new Cat(\"\", new Date(), 1));\n Integer actualNumberOfCats= CatHouse.getNumberOfCats();\n Assert.assertEquals(expectedNumberOfCats, actualNumberOfCats);\n }", "title": "" }, { "docid": "466af5a8d58922cda87063d3fafc32e6", "score": "0.6752825", "text": "@Test\r\n\tpublic void testAddRecipe_11()\r\n\t\tthrows Exception {\r\n\r\n\t\tMain.addRecipe();\r\n\r\n\t\t// add additional test code here\r\n\t}", "title": "" }, { "docid": "14f4bf1b0a15c430eec00ce5bb452c8a", "score": "0.67516667", "text": "@Override\n\t\t\tpublic void add() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "cac510016c1679abad12a33858bf3d0e", "score": "0.6737442", "text": "@Test\r\n void e_add() {\n multiSetTest.add(set, 1);\r\n multiSetTest.add(set, 2);\r\n multiSetTest.add(set, 1);\r\n multiSetTest.add(set_2, 1);\r\n multiSetTest.add(set_2, 2);\r\n multiSetTest.add(set_2, 1);\r\n Assertions.assertEquals(set_2, set);\r\n }", "title": "" }, { "docid": "d578bcd0f77f85109c7578d872c7214b", "score": "0.67340523", "text": "@Test (expected = IllegalArgumentException.class)\n public void testAddPerson() {\n assertEquals(0, underTest.getNrOfPeople());\n Person p = new Person(2015);\n underTest.addPerson(p);\n }", "title": "" }, { "docid": "e623d25a20f9da9ed0ccb60643cf8583", "score": "0.6721587", "text": "@Test\r\n public void testAddSuccess() {\r\n clean();\r\n int item = indexItem();\r\n int n;\r\n if (item > 0) {\r\n n = locker.addItem(items[item], 1);\r\n assertEquals(\"wrong return value\", 0, n);\r\n } else {\r\n System.out.println(\"error - or the capacity of locker too small or a smaller volume item needed\");\r\n }\r\n }", "title": "" }, { "docid": "d5c3c2983e7075f255a06ca44720f2ca", "score": "0.67205334", "text": "@Test\r\n\tpublic void testAddInventory_13()\r\n\t\tthrows Exception {\r\n\r\n\t\tMain.addInventory();\r\n\r\n\t\t// add additional test code here\r\n\t}", "title": "" }, { "docid": "23335fa26348d4e54822693199f87cce", "score": "0.6720189", "text": "@Test\n\tpublic void testAdd() {\n\t\t// Non empty list, add new set\n\t\tlist.add(setD);\n\t\tassertEquals(\"Size should be 4\",\n\t\t\t\t4, list.getSize());\n\n\t\t// Non empty list, add existing set\n\t\tlist.add(setD);\n\t\tassertEquals(\"Size should be 5\",\n\t\t\t\t5, list.getSize());\n\n\t\t// Non empty list, add empty set\n\t\tsetD = new ArrayList<Object>();\n\t\tlist.add(setD);\n\t\tassertEquals(\"Size should be 6\",\n\t\t\t\t6, list.getSize());\n\n\t\t// Empty list, add empty set\n\t\tlist = new MyListImpl();\n\t\tlist.add(setD);\n\t\tassertEquals(\"Size should be 1\",\n\t\t\t\t1, list.getSize());\n\n\t\t// Empty list, add non empty set\n\t\tlist = new MyListImpl();\n\t\tlist.add(setA);\n\t\tassertEquals(\"Size should be 1\",\n\t\t\t\t1, list.getSize());\n\t}", "title": "" }, { "docid": "4a9af11697e78fc9d126cf4cbdf77cf9", "score": "0.67188346", "text": "@Test\r\n public void testAddNodo() {\r\n System.out.println(\"addNodo\");\r\n int valor = 0;\r\n Lista instance = new Lista();\r\n instance.addNodo(valor);\r\n // TODO review the generated test code and remove the default call to fail.\r\n \r\n }", "title": "" }, { "docid": "3d8f67fc123c6dd571f598e60c09a983", "score": "0.6712538", "text": "@Test\r\n\tpublic void testAddInventory_15()\r\n\t\tthrows Exception {\r\n\r\n\t\tMain.addInventory();\r\n\r\n\t\t// add additional test code here\r\n\t}", "title": "" }, { "docid": "c654e66bf4fb3d953510e8fbf8f433b3", "score": "0.6710726", "text": "@Test\r\n\tpublic void testAddRecipe_7()\r\n\t\tthrows Exception {\r\n\r\n\t\tMain.addRecipe();\r\n\r\n\t\t// add additional test code here\r\n\t}", "title": "" }, { "docid": "25411d953a13980899f54640e17041b1", "score": "0.67074245", "text": "@Test\n public void checkIfListHasObjectsInAfterAdding()\n {\n addData(\"add me\");\n assertEquals(1, testList.size());\n }", "title": "" }, { "docid": "e0b39c811ca0db183cff1136f7ce01b5", "score": "0.6699765", "text": "@Test\r\n\tpublic void testAddInventory_12()\r\n\t\tthrows Exception {\r\n\r\n\t\tMain.addInventory();\r\n\r\n\t\t// add additional test code here\r\n\t}", "title": "" }, { "docid": "3f3a1d52e2eff06c516a077f9716c728", "score": "0.6699376", "text": "@Test\n void addBagToCartExistingBag() {\n setUpForAddNRemoveNGetBag();\n //check that the amount in cart is 1 before bad addition\n assertEquals(1, shoppingCart.getNumOfBagsInCart());\n //check that the cart can't add the same bag twice\n assertFalse(shoppingCart.addBagToCart(store1, shoppingBag1));\n //check that the amount of bags didnt change after 2 wrong addition\n assertEquals(1, shoppingCart.getNumOfBagsInCart());\n //check that the total cost didn't change after fail addition\n assertEquals(shoppingBag1.getTotalCostOfBag(), shoppingCart.getTotalCartCost());\n }", "title": "" }, { "docid": "79947c93da77c9ec2ee52720e1fe27ae", "score": "0.6695326", "text": "@Test\r\n\tpublic void testAddRecipe_8()\r\n\t\tthrows Exception {\r\n\r\n\t\tMain.addRecipe();\r\n\r\n\t\t// add additional test code here\r\n\t}", "title": "" }, { "docid": "f40933c5923d17cc88e06bd15de1823d", "score": "0.66937417", "text": "@Test\n public void testAddService() throws Exception {\n System.out.println(\"addService\");\n // Mock User Object\n Servico service = new ServicoBuilder()\n .comDescricao(\"srv1TestAdd\")\n .comCusto(BigDecimal.TEN)\n .create();\n \n Servico result = servicosService.addServico(service);\n Servico resultFromGet = servicosService.findById(service.getId());\n assertEquals(result, resultFromGet);\n servicosService.removeServico(resultFromGet);\n }", "title": "" }, { "docid": "d8ca3d7bdb8458c43077043d2923be23", "score": "0.6693215", "text": "@Test\r\n\tpublic void testAddRecipe_16()\r\n\t\tthrows Exception {\r\n\r\n\t\tMain.addRecipe();\r\n\r\n\t\t// add additional test code here\r\n\t}", "title": "" }, { "docid": "e1a658388032188130d833440c13938e", "score": "0.66930205", "text": "@Test\n public void testAddRecipe() {\n assertTrue(coffeeMaker.addRecipe(recipe1));\n assertTrue(coffeeMaker.addRecipe(recipe2));\n assertTrue(coffeeMaker.addRecipe(recipe3));\n assertFalse(coffeeMaker.addRecipe(recipe4));\n }", "title": "" }, { "docid": "12943fd753d7790507c3c526b1315a87", "score": "0.6691371", "text": "@Test\n void addProductToCartSuc() {\n setUpForRemoveProduct();\n //check before addition that there is 1 product in cart\n assertEquals(1, shoppingCart.getNumOfProductsInCart());\n //check that the method works\n assertTrue(shoppingCart.addProductToCart(store3, product2, 2));\n //check after addition that there are 2 product in cart\n //assertEquals(2, testShoppingCart.getNumOfProductsInCart());\n }", "title": "" }, { "docid": "21e59c8f99313da50e1db9ad781324bb", "score": "0.66895604", "text": "@Test\r\n public void addUserTest() {\n }", "title": "" }, { "docid": "f3998badd840a5d65b49f11bcc77fb45", "score": "0.668795", "text": "@Test\n public void testAdd() {\n String agreementNumber = \"A 123\";\n int deviceCount = 33;\n Device.DeviceType deviceType = Device.DeviceType.WATER;\n Date date = new Date();\n Long customerId = 1L;\n Long executorId = 1L;\n Agreement savedAgreement = agreementService.add(customerId, executorId, agreementNumber, deviceCount, date, deviceType);\n\n Agreement agreementFromDB = agreementService.findAgreementById(savedAgreement.getId());\n assertEquals(deviceCount, agreementFromDB.getDeviceCount());\n assertEquals(agreementNumber, agreementFromDB.getNumber());\n assertEquals(deviceType, agreementFromDB.getDeviceType());\n assertEquals(customerId, agreementFromDB.getCustomer().getId());\n assertEquals(executorId, agreementFromDB.getExecutor().getId());\n\n }", "title": "" }, { "docid": "771df333aad16927174e5573771d29da", "score": "0.66852415", "text": "@Test\r\n\tpublic void testAddRecipe_6()\r\n\t\tthrows Exception {\r\n\r\n\t\tMain.addRecipe();\r\n\r\n\t\t// add additional test code here\r\n\t}", "title": "" }, { "docid": "d86d0af39dffb4184f85473b4882cd5f", "score": "0.66847855", "text": "@Test\r\n\tpublic void testAddInventory_7()\r\n\t\tthrows Exception {\r\n\r\n\t\tMain.addInventory();\r\n\r\n\t\t// add additional test code here\r\n\t}", "title": "" }, { "docid": "c5ed162a50ac98d0feb33e1fae5cea8d", "score": "0.6676824", "text": "@Test\n\tpublic void addCustomerTest() {}", "title": "" }, { "docid": "9c5476e767e2e954a0d9fc4cd7cf81ee", "score": "0.66756713", "text": "void add();", "title": "" }, { "docid": "9c5476e767e2e954a0d9fc4cd7cf81ee", "score": "0.66756713", "text": "void add();", "title": "" }, { "docid": "48b688082b24c8edce2b292e6a549ac1", "score": "0.6672708", "text": "@Test\n\tpublic void testAdd() {\n\t\tSortedList<String> list = new SortedList<String>();\n\t\t\n\t\tlist.add(\"banana\");\n\t\tassertEquals(1, list.size());\n\t\tassertEquals(\"banana\", list.get(0));\n\t\t\n\t\t//Test adding to the front, middle and back of the list\n\t\tlist.add(\"peach\");\n\t\tlist.add(\"apple\");\n\t\tassertEquals(3, list.size());\n\t\tassertEquals(\"apple\", list.get(0));\n\t\tassertEquals(\"banana\", list.get(1));\n\t\tassertEquals(\"peach\", list.get(2));\n\t\t\n\t\t//Test adding a null element\n\t\ttry {\n\t\t\tlist.add(null);\n\t\t\tfail();\n\t\t} catch(NullPointerException e) {\n\t\t\tassertEquals(3, list.size());\n\t\t}\n\t\t\n\t\t//Test adding a duplicate element\n\t\ttry {\n\t\t\tlist.add(\"banana\");\n\t\t\tfail();\n\t\t} catch(IllegalArgumentException e) {\n\t\t\tassertEquals(3, list.size());\n\t\t}\n\t}", "title": "" }, { "docid": "9be02ba48094a82b8ce79f4949d2b57c", "score": "0.6672442", "text": "@Test\r\n\tpublic void testAddRecipe_10()\r\n\t\tthrows Exception {\r\n\r\n\t\tMain.addRecipe();\r\n\r\n\t\t// add additional test code here\r\n\t}", "title": "" }, { "docid": "67ea48e91313da7025712ff74d82ad97", "score": "0.66704005", "text": "@Test\n public void addListButtonPressed_Test() {\n // Create a list controller\n // Get the TestArrayList\n // Create a ToDoList object to add\n // Add it to the array list\n // Get the expected ArrayList\n // Get the actual ArrayList\n // Assert that the two lists are equal\n }", "title": "" }, { "docid": "6a2d6e0942f6e7ccd096407d4f3f06b6", "score": "0.6667445", "text": "@Test\r\n\tpublic void testAddRecipe_4()\r\n\t\tthrows Exception {\r\n\r\n\t\tMain.addRecipe();\r\n\r\n\t\t// add additional test code here\r\n\t}", "title": "" }, { "docid": "986a1f67683a739b68e2c78dfdc1469a", "score": "0.6662462", "text": "@Test\n public void testAddValue() throws Exception {\n System.out.println(\"addValue\");\n SmartObject instance = new SmartObject();\n\n \n // добавляем значение с типом\n instance.addProperty(\"s\", \"s\");\n instance.addValue(\"s\", \"d\");\n }", "title": "" }, { "docid": "ab5a2d872b50aa46b6becc07f0be6bcf", "score": "0.6661998", "text": "@Test\n public void testAddReturnsProperValueForDuplicateAdd() {\n Collection collection = createEmptyCollection();\n \n TestCollectionElement one = getElement(ONE);\n assertTrue(collection.add(one));\n \n if (doesCollectionSupportDuplicateElements()) {\n assertTrue(collection.add(one));\n }\n else {\n assertFalse(collection.add(one));\n }\n }", "title": "" }, { "docid": "1a0f2499ea61c9547488e6f27dfc5764", "score": "0.66510797", "text": "@Test\r\n\tpublic void testAddInventory_1()\r\n\t\tthrows Exception {\r\n\r\n\t\tMain.addInventory();\r\n\r\n\t\t// add additional test code here\r\n\t}", "title": "" }, { "docid": "ff18a27905c06f0ee886ad3dbc07078e", "score": "0.66452354", "text": "@Test\r\n\tpublic void testAddInventory_16()\r\n\t\tthrows Exception {\r\n\r\n\t\tMain.addInventory();\r\n\r\n\t\t// add additional test code here\r\n\t}", "title": "" }, { "docid": "35f1e65839fca445d93fa612700f5863", "score": "0.66440505", "text": "@Test\r\n\tpublic void testAddInventory_11()\r\n\t\tthrows Exception {\r\n\r\n\t\tMain.addInventory();\r\n\r\n\t\t// add additional test code here\r\n\t}", "title": "" }, { "docid": "3704a356da1ac7c3d25a41c2b123aa89", "score": "0.6641524", "text": "@Test\n public void testGAddExperience() {\n System.out.println(\"addExperience\");\n Experience exp = new Experience();\n exp.setOrganization(\"unitTestExp\");\n exp.setPost(\"unitTestPost\");\n exp.setDuration(2);\n BOLMethodsImpl instance = new BOLMethodsImpl();\n int expResult = 1;\n int result = instance.addExperience(exp);\n assertEquals(expResult, result);\n \n }", "title": "" }, { "docid": "7306f2a686c23f8477561138bf65c3cd", "score": "0.66412723", "text": "@Test\n public void testAdd() {\n int a = 6;\n int b = 8;\n \n //create an object of calculator class\n Calculator test = new Calculator();\n int result = test.add(a, b);\n assertEquals(14, result);\n }", "title": "" }, { "docid": "8b70c5498d699f895e05ada230fa8f4b", "score": "0.66389084", "text": "@Test\n public void testAdd() {\n Viite v = new Article();\n v.setTunniste(\"TestiViite\");\n Viite v2 = new Book();\n v2.setTunniste(\"TestiViite2\");\n Viitelista lista = new Viitelista(\"lista\");\n \n lista.add(v);\n lista.add(v2);\n \n assertNotNull(\"Lisätty viite ei löytynyt\", lista.get(\"TestiViite\"));\n assertNotNull(\"Toka viite ei löytynyt\", lista.get(\"TestiViite2\"));\n assertNull(\"Olematon Viite löytynyt\", lista.get(\"TestiViite3\"));\n }", "title": "" }, { "docid": "a2a91fb1c9bca5a63114a03f36f19395", "score": "0.66371876", "text": "@Test\n void addAndGetFail() {\n shoppingCart.addBagToCart(store1, shoppingBag1);\n //not the same store\n assertNull(shoppingCart.getShoppingBag(store2));\n }", "title": "" }, { "docid": "815b10221342ef19a5bd311269f65b14", "score": "0.66316205", "text": "@Test\r\n\tpublic void testAddRecipe_3()\r\n\t\tthrows Exception {\r\n\r\n\t\tMain.addRecipe();\r\n\r\n\t\t// add additional test code here\r\n\t}", "title": "" }, { "docid": "e8c626ccfb012ce141c7f6300d0f3e3d", "score": "0.66287917", "text": "@Test\r\n\tpublic void testAddInventory_6()\r\n\t\tthrows Exception {\r\n\r\n\t\tMain.addInventory();\r\n\r\n\t\t// add additional test code here\r\n\t}", "title": "" }, { "docid": "e41577e0871fb9489b1cb210707a7823", "score": "0.6626198", "text": "@Test\r\n\tpublic void testAddRecipe_9()\r\n\t\tthrows Exception {\r\n\r\n\t\tMain.addRecipe();\r\n\r\n\t\t// add additional test code here\r\n\t}", "title": "" }, { "docid": "8ed2e73990b360aae48cd7cf1ba9d2bc", "score": "0.66261417", "text": "@Test\r\n\tpublic void testAddInventory_10()\r\n\t\tthrows Exception {\r\n\r\n\t\tMain.addInventory();\r\n\r\n\t\t// add additional test code here\r\n\t}", "title": "" }, { "docid": "afda0618592394b51dd4d9c431b309bc", "score": "0.6620189", "text": "public void addByAbinaya() {\n\t\tSystem.out.println(\"Test method added by Abinaya\");\r\n\t}", "title": "" }, { "docid": "aad37f4f02d68eeafab92b54cc2a30af", "score": "0.6613943", "text": "@Test\n void addRoute() {\n Route roo = new Route(\"roo\");\n roos.addRoute(roo);\n }", "title": "" }, { "docid": "f86ff9cc4a1e37ef3981c97eeee90cf4", "score": "0.66138846", "text": "@Test\r\n\tpublic void addUserTypetTest() {\r\n\t\tUserType userType = generateUserType();\r\n\r\n\t\twhen(userTypeRepo.save(userType)).thenReturn(userType);\r\n\r\n\t\tResponseEntity<Object> resp = userTypeService.addUserType(userType);\r\n\t\tResponseCommon respUserType = JsonUtil.deserialize(resp.getBody(), ResponseCommon.class);\r\n\r\n\t\tassertEquals(CommonMessage.RECORD_SAVED.getResponseCode(), respUserType.getResponseCode());\r\n\t\tverify(userTypeRepo, times(1)).save(userType);\r\n\r\n\t}", "title": "" } ]
377b9b789b264807a33a665275d1d612
This method was generated by MyBatis Generator. This method corresponds to the database table t_app_user
[ { "docid": "0def34e6682d473f58ea84cfeea4d5dc", "score": "0.0", "text": "public void clear() {\n oredCriteria.clear();\n orderByClause = null;\n distinct = false;\n }", "title": "" } ]
[ { "docid": "b3610fd22e38da874d24cdb108a245f3", "score": "0.6865926", "text": "@Override\n protected String getTableName() {\n return USER_TABLE_NAME;\n }", "title": "" }, { "docid": "114637761bda3d6a039d5be76f91c375", "score": "0.62499714", "text": "@Results(value = {\n @Result(property = \"id\", column = \"id\", id = true, javaType = Integer.class, jdbcType = JdbcType.INTEGER),\n @Result(property = \"userName\", column = \"user_name\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"userPassword\", column = \"user_password\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"email\", column = \"email\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"phone\", column = \"phone\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"userType\", column = \"user_type\", typeHandler = EnumOrdinalTypeHandler.class, javaType = UserType.class, jdbcType = JdbcType.TINYINT),\n @Result(property = \"tenantId\", column = \"tenant_id\", javaType = Integer.class, jdbcType = JdbcType.INTEGER),\n @Result(property = \"createTime\", column = \"create_time\", javaType = Timestamp.class, jdbcType = JdbcType.DATE),\n @Result(property = \"updateTime\", column = \"update_time\", javaType = Timestamp.class, jdbcType = JdbcType.DATE)\n })\n @SelectProvider(type = UserMapperProvider.class, method = \"queryAllUsers\")\n List<User> queryAllUsers();", "title": "" }, { "docid": "9988a5d1a2a17fe5f62e1240164c25bb", "score": "0.6224069", "text": "@MyBatisDao\n@Repository\npublic interface RegisterDao {\n\n @Insert(\"insert into sys_user(username, password,real_name,identity_card_num,telephone,addTime, salt, locked) \" +\n \"values(#{sys.username},#{sys.password},#{sys.real_name},#{sys.identity_card_num},\" +\n \"#{sys.telephone},now(),#{sys.salt},#{sys.locked})\")\n public int createUser(@Param(\"sys\") User user);\n// @Options(useGeneratedKeys = true, keyProperty = \"id\")\n\n\n @Select(\"SELECT COUNT(*) AS total FROM sys_user WHERE username = #{username}\")\n public int checkUsername(@Param(\"username\") String username);\n}", "title": "" }, { "docid": "425c084cc228baf69a3f94c8d90e19cd", "score": "0.6210899", "text": "@Select({\n \"select\",\n \"id, login_name, zh_name, en_name, sex, birth, email, phone, address, password, \",\n \"password_salt, rank, create_time, update_time, create_by, update_by, status, \",\n \"is_final\",\n \"from sys_user\",\n \"where id = #{id,jdbcType=BIGINT}\"\n })\n @ResultMap(\"com.troy.hanguang.sysservice.dao.SysUserMapper.BaseResultMap\")\n SysUser selectByPrimaryKey(Long id);", "title": "" }, { "docid": "1f240c4c440b4e18d872dfce84a228a7", "score": "0.61711967", "text": "@Override\r\n\tpublic List<User> listUserWithSQL() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "c3112bf5c695c730112fc58ca18c4eb1", "score": "0.61269397", "text": "public interface IUserService {\n\n /**\n * This method was generated by MyBatis Generator.\n * This method corresponds to the database table tbuser\n *\n * @mbggenerated\n */\n int deleteByPrimaryKey(Long lid);\n\n /**\n * This method was generated by MyBatis Generator.\n * This method corresponds to the database table tbuser\n *\n * @mbggenerated\n */\n int insert(Tbuser record);\n\n /**\n * This method was generated by MyBatis Generator.\n * This method corresponds to the database table tbuser\n *\n * @mbggenerated\n */\n Tbuser selectByPrimaryKey(Long lid);\n\n /**\n * This method was generated by MyBatis Generator.\n * This method corresponds to the database table tbuser\n *\n * @mbggenerated\n */\n List<Tbuser> selectAll();\n\n /**\n * This method was generated by MyBatis Generator.\n * This method corresponds to the database table tbuser\n *\n * @mbggenerated\n */\n int updateByPrimaryKey(Tbuser record);\n\n // 以下是自定义方法\n\n /**\n * 创建用户\n * @param tbuser\n * @return\n */\n Tbuser createUser(Tbuser tbuser) ;\n\n /**\n * 根据姓名查询用户信息\n * @param strUserName\n * @return\n */\n Tbuser findUserByName(String strUserName);\n\n /**\n * 根据手机号查询用户信息\n * @param phone\n * @return\n */\n Tbuser findUsrByPhone(String phone) ;\n}", "title": "" }, { "docid": "68b8e38a8fedbf321cea89f15ebe3bea", "score": "0.6048506", "text": "@Results(value = {\n @Result(property = \"id\", column = \"id\", id = true, javaType = Integer.class, jdbcType = JdbcType.INTEGER),\n @Result(property = \"userName\", column = \"user_name\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"userPassword\", column = \"user_password\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"email\", column = \"email\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"phone\", column = \"phone\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"userType\", column = \"user_type\", typeHandler = EnumOrdinalTypeHandler.class, javaType = UserType.class, jdbcType = JdbcType.TINYINT),\n @Result(property = \"tenantId\", column = \"tenant_id\", javaType = Integer.class, jdbcType = JdbcType.INTEGER),\n @Result(property = \"createTime\", column = \"create_time\", javaType = Timestamp.class, jdbcType = JdbcType.DATE),\n @Result(property = \"updateTime\", column = \"update_time\", javaType = Timestamp.class, jdbcType = JdbcType.DATE)\n })\n @SelectProvider(type = UserMapperProvider.class, method = \"queryAllGeneralUsers\")\n List<User> queryAllGeneralUsers();", "title": "" }, { "docid": "70cce8e17961326ff39685eabbfb98de", "score": "0.6032249", "text": "@Override\r\n\tpublic List<User> getallUsers() {\n\t\tList<User> he=new ArrayList<User>();\r\n\t\t\r\n\t\t\r\n\t\t jdbcTemplate = new JdbcTemplate(dataSource);\r\n\t List<Map<String, Object>> rows=jdbcTemplate.queryForList(SqlQuery.viewusers);\r\n\t\t \r\n\t for (Map<String, Object> row : rows) {\r\n\t \t\tUser ux = new User();\r\n\t \t\tux.setUser_id((Integer)row.get(\"USER_ID\"));\r\n\t \t\tux.setFirst_name((String)row.get(\"FIRST_NAME\"));\r\n\t \t\tux.setLast_name((String)row.get(\"LAST_NAME\"));\r\n\t \t\tux.setEmail((String)row.get(\"EMAIL\"));\r\n\t \t\tux.setCompany_name((String)row.get(\"COMPANY_NAME\"));\r\n\t \t\tux.setCom_tax_no((String)row.get(\"COMPANY_TAX_NO\"));\r\n\t \t\tux.setStreet_address((String)row.get(\"STREET_ADDRESS\"));\r\n\t \t\tux.setCity((String)row.get(\"CITY\"));\r\n\t \t\tux.setState((String)row.get(\"STATE\"));\r\n\t \t\tux.setZipcode((String)row.get(\"ZIPCODE\"));\r\n\t \t\tux.setCountry((String)row.get(\"COUNTRY\"));\r\n\t \t\tux.setTelphone_number((String)row.get(\"TELEPHONE_NUMBER\"));\r\n\t \t\tux.setFax_number((String)row.get(\"FAX_NUMBER\"));\r\n\t \t\the.add(ux);\r\n\t \t\tSystem.out.println(\"Added Record---- \"+he);\r\n\t \t}\r\n\t \r\n\t return he;\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "26625f78024ae2c806232341768000d2", "score": "0.60159206", "text": "@Results(value = {@Result(property = \"id\", column = \"id\", id = true, javaType = Integer.class, jdbcType = JdbcType.INTEGER),\n @Result(property = \"userName\", column = \"user_name\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"userPassword\", column = \"user_password\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"email\", column = \"email\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"phone\", column = \"phone\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"userType\", column = \"user_type\", typeHandler = EnumOrdinalTypeHandler.class, javaType = UserType.class, jdbcType = JdbcType.TINYINT),\n @Result(property = \"tenantId\", column = \"tenant_id\", javaType = Integer.class, jdbcType = JdbcType.INTEGER),\n @Result(property = \"createTime\", column = \"create_time\", javaType = Timestamp.class, jdbcType = JdbcType.DATE),\n @Result(property = \"updateTime\", column = \"update_time\", javaType = Timestamp.class, jdbcType = JdbcType.DATE)\n })\n @SelectProvider(type = UserMapperProvider.class, method = \"queryByUserName\")\n User queryByUserName(@Param(\"userName\") String userName);", "title": "" }, { "docid": "ba57625f871b56db92664b736c783ced", "score": "0.5988018", "text": "public interface UserDAO {\n\n String tableName = \"users\";\n\n @SqlUpdate(\"CREATE TABLE IF NOT EXISTS \" + tableName + \" (\" +\n \" `id` bigint(20) NOT NULL AUTO_INCREMENT,\" +\n \" `user_name` varchar(100) NOT NULL,\" +\n \" `email` varchar(100) NOT NULL,\" +\n \" `password` varchar(100) NOT NULL,\" +\n \" `is_admin` tinyint(4) NOT NULL default 0 ,\" +\n \" `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,\" +\n \" PRIMARY KEY (`id`),\" +\n \" UNIQUE KEY `user_name` (`user_name`),\" +\n \" UNIQUE KEY `email` (`email`)\" +\n \") ENGINE=InnoDB;\")\n void createUsersTable();\n\n @RegisterMapper(User.UserMapper.class)\n @SqlQuery(\"select * from users where is_admin = 0 limit :limit offset :offset\")\n List<User> getAllUsers(@Bind(\"limit\") int limit,@Bind(\"offset\") int offset);\n\n @RegisterMapper(User.UserMapper.class)\n @SqlQuery(\"select * from users where user_name = :userName and password = :password\")\n User validateUser(@Bind(\"userName\") String userName,@Bind(\"password\") String password);\n\n\n @SqlUpdate(\"insert into \" + tableName + \" (user_name, email, password, is_admin) values (:userName, :email, :password, :isAdmin)\")\n void createNewUser(@Bind(\"userName\") String userName, @Bind(\"email\") String email, @Bind(\"password\") String password, @Bind(\"isAdmin\") int admin);\n\n @RegisterMapper(User.UserMapper.class)\n @SqlQuery(\"select * from users where email = :email\")\n User getUserByEmail(@Bind(\"email\") String email);\n\n @RegisterMapper(User.UserMapper.class)\n @SqlQuery(\"select * from users where user_name = :userName\")\n User getUserByUsername(@Bind(\"userName\") String userName);\n\n @RegisterMapper(User.UserMapper.class)\n @SqlQuery(\"select u.* from users u join tokens t on u.id = t.user_id where t.token = :token\")\n User getUserByToken(@Bind(\"token\") String token);\n}", "title": "" }, { "docid": "32272614ae8a7acfa1074869d71c9167", "score": "0.59787667", "text": "@Results(value = {\n @Result(property = \"id\", column = \"id\", id = true, javaType = Integer.class, jdbcType = JdbcType.INTEGER),\n @Result(property = \"userName\", column = \"user_name\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"userPassword\", column = \"user_password\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"email\", column = \"email\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"phone\", column = \"phone\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"userType\", column = \"user_type\", typeHandler = EnumOrdinalTypeHandler.class, javaType = UserType.class, jdbcType = JdbcType.TINYINT),\n @Result(property = \"tenantId\", column = \"tenant_id\", javaType = Integer.class, jdbcType = JdbcType.INTEGER),\n @Result(property = \"createTime\", column = \"create_time\", javaType = Timestamp.class, jdbcType = JdbcType.DATE),\n @Result(property = \"updateTime\", column = \"update_time\", javaType = Timestamp.class, jdbcType = JdbcType.DATE)\n })\n @SelectProvider(type = UserMapperProvider.class, method = \"queryById\")\n User queryById(@Param(\"userId\") int userId);", "title": "" }, { "docid": "af059ff4c4378849ceedea92f8a74b26", "score": "0.5965524", "text": "@Override\n\tpublic List<TabUserPermInfo> selectUser() {\n\t\tString hql=\"from TabUserPermInfo\";\n\tList<TabUserPermInfo> tab=dbutils.getSession().createQuery(hql).list();\n\t\t\n\t\treturn tab;\n\t}", "title": "" }, { "docid": "b788676cfa608fe13c2fba9a0820fe48", "score": "0.593338", "text": "@Results(value = {@Result(property = \"id\", column = \"id\", id = true, javaType = Integer.class, jdbcType = JdbcType.INTEGER),\n @Result(property = \"userName\", column = \"user_name\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"userPassword\", column = \"user_password\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"email\", column = \"email\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"phone\", column = \"phone\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"userType\", column = \"user_type\", typeHandler = EnumOrdinalTypeHandler.class, javaType = UserType.class, jdbcType = JdbcType.TINYINT),\n @Result(property = \"tenantId\", column = \"tenant_id\", javaType = Integer.class, jdbcType = JdbcType.INTEGER),\n @Result(property = \"tenantCode\", column = \"tenant_code\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"createTime\", column = \"create_time\", javaType = Timestamp.class, jdbcType = JdbcType.DATE),\n @Result(property = \"updateTime\", column = \"update_time\", javaType = Timestamp.class, jdbcType = JdbcType.DATE)\n })\n @SelectProvider(type = UserMapperProvider.class, method = \"queryTenantCodeByUserId\")\n User queryTenantCodeByUserId(@Param(\"userId\") int userId);", "title": "" }, { "docid": "19a52d3bdc602dc94f2c8459e3667347", "score": "0.59304535", "text": "@Override\n\t\t\tpublic UserBo1 mapRow(ResultSet rs, int arg1) throws SQLException {\n UserBo1 u=new UserBo1();\n\t\t\t\t\n\t\t\t\t\tu.setUsername(rs.getString(\"USER_NM\"));\n\t\t\t\t\tu.setPassword(rs.getString(\"PASSWORD_NM\"));\n\t\t\t\t\tu.setRole(rs.getString(\"ROLE_NM\"));\n\t\t\t\t\n\t\t\t\treturn u;\n\t\t\t}", "title": "" }, { "docid": "615920a06650b001bd2a8ff5cf04fd25", "score": "0.59212166", "text": "SystemUser selectByPrimaryKey(Integer userId);", "title": "" }, { "docid": "d3f9e961dd8fe6db2468811de89535e7", "score": "0.591576", "text": "@Override\n public List<User> getAll() throws SQLException {\n openTransactionSession();\n\n String sql = \"SELECT * FROM usrtab\";\n\n Session session = getSession();\n Query query = session.createNativeQuery(sql).addEntity(User.class);\n List<User> userList = query.list();\n\n //close session with a transaction\n closeTransactionSesstion();\n\n return userList;\n }", "title": "" }, { "docid": "8415aa4ee4f9bf6b0064090c65ac82b7", "score": "0.5870698", "text": "@Results(value = {@Result(property = \"id\", column = \"id\", id = true, javaType = Integer.class, jdbcType = JdbcType.INTEGER),\n @Result(property = \"userName\", column = \"user_name\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"userPassword\", column = \"user_password\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"email\", column = \"email\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"phone\", column = \"phone\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"userType\", column = \"user_type\", typeHandler = EnumOrdinalTypeHandler.class, javaType = UserType.class, jdbcType = JdbcType.TINYINT),\n @Result(property = \"tenantId\", column = \"tenant_id\", javaType = Integer.class, jdbcType = JdbcType.INTEGER),\n @Result(property = \"createTime\", column = \"create_time\", javaType = Timestamp.class, jdbcType = JdbcType.DATE),\n @Result(property = \"updateTime\", column = \"update_time\", javaType = Timestamp.class, jdbcType = JdbcType.DATE)\n })\n @SelectProvider(type = UserMapperProvider.class, method = \"queryForCheck\")\n User queryForCheck(@Param(\"userName\") String userName, @Param(\"userPassword\") String userPassword);", "title": "" }, { "docid": "9f118900c74c9fa632b33b7cdb34ac77", "score": "0.5870002", "text": "public ArrayList<User> ShowUser() throws SQLException{\n String query = \"SELECT * FROM iotbayadmin.USER_T ORDER BY UserID\";\n ArrayList<User> UserList = new ArrayList<User>();\n PreparedStatement pstmt = conn.prepareStatement(query);\n ResultSet rs = pstmt.executeQuery();\n while(rs.next()) {\n User user = new User(rs.getInt(\"UserID\"), rs.getString(\"UserEmail\"), rs.getString(\"UserFirstName\"), rs.getString(\"UserLastName\"), rs.getString(\"Password\"), rs.getString(\"PhoneNumber\"), rs.getBoolean(\"isStaffUser\"),rs.getBoolean(\"isRegisteredUser\"));\n UserList.add(user);\n } \n \n return UserList;\n }", "title": "" }, { "docid": "2a15dc5aaa6b04404cf2f270cad08713", "score": "0.5869897", "text": "SysUser selectByPrimaryKey(Integer userid);", "title": "" }, { "docid": "30a185f7198569a931fe86054cd964c3", "score": "0.58610374", "text": "@Select({\r\n \"select\",\r\n \"id, account, real_name, nick_name, password, user_sign, phone, email, gender, \",\r\n \"user_type, head_img, status, create_time, create_by, update_time, update_by\",\r\n \"from b_user_info\",\r\n \"where id = #{id,jdbcType=VARCHAR}\"\r\n })\r\n @ResultMap(\"BaseResultMap\")\r\n UserInfo selectByPrimaryKey(String id);", "title": "" }, { "docid": "28504f5efa5e073b615fa2f7ef2fbf05", "score": "0.58544827", "text": "@Results(value = {\n @Result(property = \"id\", column = \"id\", id = true, javaType = Integer.class, jdbcType = JdbcType.INTEGER),\n @Result(property = \"userName\", column = \"user_name\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"userPassword\", column = \"user_password\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"email\", column = \"email\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"phone\", column = \"phone\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"userType\", column = \"user_type\", typeHandler = EnumOrdinalTypeHandler.class, javaType = UserType.class, jdbcType = JdbcType.TINYINT),\n @Result(property = \"tenantId\", column = \"tenant_id\", javaType = Integer.class, jdbcType = JdbcType.INTEGER),\n @Result(property = \"createTime\", column = \"create_time\", javaType = Timestamp.class, jdbcType = JdbcType.DATE),\n @Result(property = \"updateTime\", column = \"update_time\", javaType = Timestamp.class, jdbcType = JdbcType.DATE)\n })\n @SelectProvider(type = UserMapperProvider.class, method = \"queryUserByToken\")\n User queryUserByToken(@Param(\"token\") String token);", "title": "" }, { "docid": "e13c62fc205604b60e1993675f142256", "score": "0.585426", "text": "@Override\r\npublic List<UserBean > getUsers() {\n\tList<UserBean> userDetails=null;\r\n\ttry\r\n\t{\r\n\t\tsql=\"select u.user_Id as userId,u.user_Name as username,u.password as password,u.confirm_password as password,u.hint_question as hintq,u.hint_answer as hintans,u.firstname as firstname,u.lastname as lname,u.email_Id as email,u.contactno as contactno,u.address as address,u.status as status,u.role_Id as roleId,u.client_Id as clientId from users u where u.flag=0 and u.client_Id='\"+(String)session.getAttribute(\"clientId\")+\"'\";\r\n\t\tuserDetails=getJdbcTemplate().query(sql,new BeanPropertyRowMapper<UserBean >(UserBean.class));\r\n\t}\r\n\tcatch(Exception e)\r\n\t{\r\n\t\tlogger.error(e.getMessage());\r\n\t}\r\n\treturn userDetails;\r\n}", "title": "" }, { "docid": "c9cb2c232d55490097b3905ca9f961de", "score": "0.5849266", "text": "public String getUserTable() {\n return userTable;\n }", "title": "" }, { "docid": "16a9d6560ff31a52d557e1bbc292f236", "score": "0.58273375", "text": "@Dao\npublic interface UsersDao {\n\n @Insert(\"INSERT INTO USERS (\" +\n \"ID,\" +\n \"USERNAME,\" +\n \"PASSWORD, \" +\n \"FIRST_NAME, \" +\n \"LAST_NAME, \" +\n \"ROLE\" +\n \") \" +\n \"VALUES(#{id}, #{username}, #{password}, #{firstName}, #{lastName}, #{role})\")\n int create(User user);\n\n @Select(\"SELECT * FROM USERS\")\n @Results(id = \"userResult\", value = {\n @Result(property = \"id\", column = \"ID\"),\n @Result(property = \"username\", column = \"USERNAME\"),\n @Result(property = \"password\", column = \"PASSWORD\"),\n @Result(property = \"firstName\", column = \"FIRST_NAME\"),\n @Result(property = \"lastName\", column = \"LAST_NAME\"),\n @Result(property = \"role\", column = \"ROLE\")\n })\n List<User> findAll();\n\n @Select(\"SELECT * FROM USERS WHERE ID = #{id}\")\n @ResultMap(\"userResult\")\n User findOne(Integer id);\n\n @Select(\"SELECT * FROM USERS WHERE USERNAME = #{username}\")\n @ResultMap(\"userResult\")\n User findOneByUsername(@Param(\"username\") String username);\n\n @Update(\"UPDATE USERS \" +\n \"SET USERNAME = #{username}, \" +\n \"PASSWORD = #{password}, \" +\n \"FIRST_NAME = #{firstName},\" +\n \"LAST_NAME = #{lastName},\" +\n \"ROLE = #{role} \" +\n \"WHERE \" +\n \"ID = #{id}\")\n int update(User user);\n\n @Delete(\"DELETE FROM USERS WHERE ID = #{id}\")\n int delete(User user);\n\n @TableCreator(creationOrder = 0)\n @Update(\"CREATE TABLE IF NOT EXISTS USERS(\" +\n \"ID INT AUTO_INCREMENT PRIMARY KEY NOT NULL, \" +\n \"USERNAME VARCHAR(50) NOT NULL, \" +\n \"PASSWORD VARCHAR(50) NOT NULL, \" +\n \"FIRST_NAME VARCHAR(50) NOT NULL, \" +\n \"LAST_NAME VARCHAR(50) NOT NULL, \" +\n \"ROLE VARCHAR(50) NOT NULL, \" +\n \"CONSTRAINT USERNAME_UC UNIQUE (USERNAME))\"\n )\n void createTable();\n}", "title": "" }, { "docid": "2e68bc348fbcfad2615c139f74a9c09a", "score": "0.5824018", "text": "public interface WebUserMapper {\n\n @Select(\"select userId as userId,userName as userName,birthday,gender,email,phone,extension from webuser where userName=#{userName} and password=#{password}\")\n UserModel getUserByNamePwd(@Param(\"userName\") String userName, @Param(\"password\") String password);\n\n @Insert(\"insert into webuser(userId,userName,birthday,gender,email,phone,idCard,bankAccount,img,password,extension) values \" +\n \"(#{userModel.userId},#{userModel.userName},#{userModel.birthday},#{userModel.gender},#{userModel.email},#{userModel.phone},#{userModel.idCard},#{userModel.bankAccount},#{userModel.img},#{userModel.password},#{userModel.extension})\")\n int insertUser(@Param(\"userModel\") UserModel userModel);\n\n @Select(\"select userId as userId,userName as userName,birthday,gender,email,phone,password,extension from webuser where userName=#{userName}\")\n UserModel getUserByUserName(@Param(\"userName\") String userId);\n @Select(\"select userId ,userName ,birthday,gender,email,phone,password,email,extension from webuser where email=#{email}\")\n UserModel getPwdByEmail(String email);\n}", "title": "" }, { "docid": "70d8c1bc40527afcb43a1975eafed923", "score": "0.5812812", "text": "TbUser selectByPrimaryKey(Long userId);", "title": "" }, { "docid": "96a81e7925768698fcb11238df22b3c4", "score": "0.58075565", "text": "@Override\n public List<User> getAllUsers() throws SQLException {\n Set<User> userSet = userDB.getAllUsers();\n List<User> userList = new ArrayList<>();\n for (User user : userSet) {\n userList.add((User) user);\n }\n return userList;\n }", "title": "" }, { "docid": "546df630262462cfbb94ff1eb1ceb281", "score": "0.5805851", "text": "OsUser selectByPrimaryKey(Integer userId);", "title": "" }, { "docid": "e0ad070ebb560f9a514eb193d89e54a5", "score": "0.5790119", "text": "@Override\r\n\tprotected String getSelectQuery() {\n\t\treturn \"SELECT ID, LOGIN, PASSWORD FROM USERS \";\r\n\t}", "title": "" }, { "docid": "b36e6e445af79bc63efe108bfb3983d0", "score": "0.5789491", "text": "public List<TblUsers> getAllUser(){\n\t\t\tList<TblUsers> userList = userDao.getAllUsers();\n\t\t\treturn userList;\n\t\t}", "title": "" }, { "docid": "c90b1c8ec006d5e9c627debd3366aff6", "score": "0.5789427", "text": "@Select(\"SELECT * FROM USER_PROFILE\")\n List<UserProfile> getAllUsers();", "title": "" }, { "docid": "ac2331cde557b0e6520f64098cbd50c4", "score": "0.57726246", "text": "private static void colMapManageUsers() {\n\t\tcolMap.put(Employee.class + SortConstants.EMPLOYEE_ID,\n\t\t\t\tEmployee_.employeeId.getName());\n\t\tcolMap.put(Employee.class + SortConstants.EMPLOYEE_FIRST_NAME,\n\t\t\t\tEmployee_.firstName.getName());\n\t\tcolMap.put(Employee.class + SortConstants.EMPLOYEE_LAST_NAME,\n\t\t\t\tEmployee_.lastName.getName());\n\t\t \n\t\t \n\t\tcolMap.put(Employee.class + SortConstants.EMPLOYEE_NUMBER,\n\t\t\t\tEmployee_.employeeNumber.getName());\n\t\tcolMap.put(Company.class + SortConstants.EMPLOYEE_COMPANY_ID,\n\t\t\t\tCompany_.companyId.getName());\n\t\tcolMap.put(Company.class + SortConstants.EMPLOYEE_COMPANY_NAME,\n\t\t\t\tCompany_.companyName.getName());\n\n\t}", "title": "" }, { "docid": "9bcbfab349e86baded4838f6a0b38cc1", "score": "0.5761987", "text": "public void addUser2db(){\r\n \r\n AddInitialUserListToDatabase s = new AddInitialUserListToDatabase();\r\n s.createUserIdList();\r\n }", "title": "" }, { "docid": "2eaa0cd332a0c5d128b557d9f9a60c36", "score": "0.5750637", "text": "@Override\r\n public List<User> findAll() {\n String sql=\"SELECT userId, name, email, address, phone, loginName, role, loginStatus FROM user\";\r\n \r\n /*\r\n List<User> users= getJdbcTemplate().query(sql, new UserRowMapper()); \r\n return users;\r\n*/\r\n return getJdbcTemplate().query(sql, new UserRowMapper());\r\n \r\n }", "title": "" }, { "docid": "b9d6d1f54bc399cf1852624cdb4ac20a", "score": "0.5737984", "text": "public List<ApplicationUser> getAppUsers()\n\t{\n\t\t\n\t\tList<ApplicationUser> li =new ArrayList<>();\n\t\t li.add( new ApplicationUser(encoder.encode(\"password\"), \"rahul\" ,\n\t\t\t\t \t\t ApplicationUserRoles.ADMIN.getGrantedAuthorities(),\n\t\t\t\t \t\t true, true, true, true));\n\t\t li.add( new ApplicationUser(encoder.encode(\"password\"), \"tom\" ,\n\t\t\t \t\t ApplicationUserRoles.ADMIN_TRAINEE.getGrantedAuthorities(),\n\t\t\t \t\t true, true, true, true));\n\t\tSystem.out.println(\"And the list is\" +li);\n\t\treturn li;\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "7d67ff222c43624298c67a868b581915", "score": "0.5736271", "text": "@Override\n\tpublic List<User> getAllUser() {\n\t\t// TODO Auto-generated method stub\n\t\tString sql = \"SELECT u FROM User u\";\n\t\tTypedQuery<User> query = em.createQuery(sql, User.class);\n\t\treturn query.getResultList();\n\t}", "title": "" }, { "docid": "b1b9659b95b358bb863ec0559cb5aceb", "score": "0.5733956", "text": "@Override\n\tpublic List<Aspnetuser> getListUser() {\n\t\treturn em.createQuery(\"select d from Adress d\", Aspnetuser.class).getResultList() ; \t\n\t}", "title": "" }, { "docid": "fe862265fa4c54246b6b0b5aaa980534", "score": "0.5692913", "text": "int updateUsersTable(User user);", "title": "" }, { "docid": "ae655fbe738377e9a66467dd82542d3e", "score": "0.56837267", "text": "@Override\n public List<User> selectUser() {\n return sqlSession.selectList(\"vo.mapper.selectAll\");\n }", "title": "" }, { "docid": "fd16b1b47cb48a7c9b0c3ba4d0f8acdb", "score": "0.5671592", "text": "@Override\n\tpublic List<User> UserList() {\n\t\tString sql=\"SELECT lr_user.id,userCode,userName, userPassword,gender,birthday,phone,address,lr_bumeng.`meng_name`,age,lr_zhicheng.`zhi_nmae`,lr_lode.`lodName` FROM lr_user,lr_bumeng,lr_zhicheng,lr_lode WHERE lr_user.`bumeng_id`=lr_bumeng.`id` AND lr_user.`zhicheng_id`=lr_zhicheng.`id` AND lr_user.`lode_id`=lr_lode.`id`\";\n\t\t\n\t\tResultSet set=null;\n\t\n\t\tList<User> list=new ArrayList<User>();\n\t\t set=super.excuteQuery(sql, null);\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\twhile (set.next()) {\n\t\t\t\t\t\t\t\tUser user=new User();\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t user.setId(set.getInt(1));\n\t\t\t\t\t\t\t\t user.setUserCode(set.getString(2));\n\t\t\t\t\t\t\t\t user.setUserName(set.getString(3));\n\t\t\t\t\t\t\t\t user.setUserPassword(set.getInt(4));\n\t\t\t\t\t\t\t\t user.setGender(set.getInt(5));\n\t\t\t\t\t\t\t\t user.setBirthday(set.getString(6));\n\t\t\t\t\t\t\t\t user.setPhone(set.getString(7));\n\t\t\t\t\t\t\t\t user.setAddress(set.getString(8));\n\t\t\t\t\t\t\t\tuser.setBumeng_id(set.getString(9));\n\t\t\t\t\t\t\t\tuser.setAge(set.getInt(10));\n\t\t\t\t\t\t\t\tuser.setZhicheng_id(set.getString(11));\n\t\t\t\t\t\t\t\tuser.setLode_id(set.getString(12));\n\t\t\t\t\t\t\t\tSystem.out.println(user.getLode_id());\n\t\t\t\t\t\t\tlist.add(user);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\t}\n\t\t\t\t\t\t \n\t\t\t\treturn list;\n\t\t\t\t\n\t}", "title": "" }, { "docid": "6f265b1552da1497d093e8faab592b93", "score": "0.56555635", "text": "@Override\n\tpublic void queryUser() {\n\t\tString sql = \"SELECT * FROM USER WHERE uid=?\";\n\t\tUser user = JdbcTemplate.queryForObject(sql, new MyRowMapper(), 3);\n\t\tSystem.out.println(user);\n\t}", "title": "" }, { "docid": "9f10b065e07ede6c43c1abb4c59eb60b", "score": "0.56543624", "text": "@Select({\n \"select\",\n \"id, email, avatar, nickname, sex, pwd, birthday\",\n \"from t_user\",\n \"where id = #{id,jdbcType=CHAR}\"\n })\n @ResultMap(\"BaseResultMap\")\n TUser selectByPrimaryKey(String id);", "title": "" }, { "docid": "78a7e4f5c7552266b0ce6f26af8a1fa4", "score": "0.5635466", "text": "@Results(value = {@Result(property = \"id\", column = \"id\", id = true, javaType = Integer.class, jdbcType = JdbcType.INTEGER),\n @Result(property = \"userName\", column = \"user_name\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"userPassword\", column = \"user_password\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"email\", column = \"email\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"phone\", column = \"phone\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"userType\", column = \"user_type\", typeHandler = EnumOrdinalTypeHandler.class, javaType = UserType.class, jdbcType = JdbcType.TINYINT),\n @Result(property = \"tenantId\", column = \"tenant_id\", javaType = Integer.class, jdbcType = JdbcType.INTEGER),\n @Result(property = \"tenantName\", column = \"tenant_name\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"queueName\", column = \"queue_name\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"createTime\", column = \"create_time\", javaType = Timestamp.class, jdbcType = JdbcType.DATE),\n @Result(property = \"updateTime\", column = \"update_time\", javaType = Timestamp.class, jdbcType = JdbcType.DATE)\n })\n @SelectProvider(type = UserMapperProvider.class, method = \"queryDetailsById\")\n User queryDetailsById(@Param(\"id\") int id);", "title": "" }, { "docid": "a1e686ab18928171aede2e172c1be96c", "score": "0.56314564", "text": "Tbuser selectByPrimaryKey(Long lid);", "title": "" }, { "docid": "90b92aab2c1686d1d49fa582e005aaf2", "score": "0.56297094", "text": "@Override\r\n\tpublic List<User> listAllUsers() {\n\t\tQuery query = session.createQuery(\"from User \");\r\n\t\treturn query.getResultList();\r\n\t}", "title": "" }, { "docid": "db80b97642ec806e77de18df1f0dba04", "score": "0.56251854", "text": "@Transactional\n\tpublic List<AppUser> getAllUsers() throws NullObjectException{\n\t\tQuery q = entityManager.createNativeQuery(\"SELECT * FROM app_users\");\n\t\t@SuppressWarnings(\"unchecked\")\n\t\tList<AppUser> users = q.getResultList();\n\t\tif(users.isEmpty()){\n\t\t\tthrow new NullObjectException(\"No users exist\");\n\t\t}\n\t\treturn users;\n\t}", "title": "" }, { "docid": "b3bc074b3ea6367f753c4763fbbebce6", "score": "0.5623172", "text": "SysUser selectByPrimaryKey(String id);", "title": "" }, { "docid": "b3bc074b3ea6367f753c4763fbbebce6", "score": "0.5623172", "text": "SysUser selectByPrimaryKey(String id);", "title": "" }, { "docid": "b3bc074b3ea6367f753c4763fbbebce6", "score": "0.5623172", "text": "SysUser selectByPrimaryKey(String id);", "title": "" }, { "docid": "2daed25684a845a35f39b09c89b65638", "score": "0.5622797", "text": "public List<User> listAllUsers() throws SQLException {\n Connection conn = DBUtil.getConn();\n String sql = \"select * from User order by create_date DESC\";\n PreparedStatement ptmt = conn.prepareStatement(sql);\n ResultSet rs = ptmt.executeQuery();\n List<User> users = new ArrayList<User>();\n User user;\n while (rs.next()) {\n user = new User();\n user.setId(rs.getInt(\"id\"));\n user.setUser_name(rs.getString(\"user_name\"));\n user.setEmail(rs.getString(\"email\"));\n user.setName(rs.getString(\"name\"));\n user.setGender(rs.getString(\"gender\"));\n user.setDate_of_birth(rs.getString(\"DoB\"));\n user.setMobile(rs.getString(\"mobile\"));\n user.setCreate_date(rs.getTimestamp(\"create_date\"));\n users.add(user);\n }\n return users;\n }", "title": "" }, { "docid": "c603380638929ce05a8aad19dd9f783d", "score": "0.5609807", "text": "@Override\n\tpublic List<User> getAllUsers() {\n\t\tList<User> users = new ArrayList<>();\n\n\t\t// WE EXCLUDED THE PASSWORD HASH AS THE USER SHOULD NEVER HAVE ACCESS TO THIS\n\t\t// PRIVALIDGED COMPANY INFORMAION!!!!!!!!!!\n\t\t// ALL PASSWORD HASHES APPEAR AS NULL!!!!\n\n\t\tString sql = \"SELECT user_id, username FROM users\";\n\n\t\tSqlRowSet results = jdbcTemplate.queryForRowSet(sql);\n\n\t\twhile (results.next()) {\n\t\t\tUser user = mapRowToUser(results);\n\t\t\tusers.add(user);\n\t\t}\n\t\treturn users;\n\t}", "title": "" }, { "docid": "983af2bf6dbcf986a60274ac965e3dd0", "score": "0.5590184", "text": "public interface UserDao {\n List<Map<String,Object>> queryUsers(Map<String, String> params);\n\n List<Map<String,Object>> queryUsersByCurrentUserId(Integer userId);\n\n @Select(\"select t.* from t_user t where t.id = #{userId}\")\n Map<String,Object> queryUserById(Integer userId);\n\n int queryUsersCount(Map<String, String> params);\n\n @Select(\"select * from t_user_address where userId = #{userId}\")\n List<Map<String,Object>> queryUserAddressMessage(Integer userId);\n\n @Insert(\"insert into t_user_address (userId,realName,tel,detail,is_default,createTime) values(#{userId},#{realName},#{tel},#{addr},1,now())\")\n @SelectKey(statement = \"SELECT LAST_INSERT_ID()\",keyProperty = \"addrId\" , resultType = int.class ,before=false)\n int saveAddrs(Map<String, String> params);\n\n @Update(\"update t_user_address set is_default = 0 where userId=#{userId}\")\n void updateDefaultAddress(Map<String, String> params);\n\n @Delete(\"delete from t_user_address where id = #{id}\")\n int removeAddr(Integer id);\n\n List<Map<String,Object>> queryUsersReate(Map<String, String> params);\n\n int queryUsersReateCount(Map<String, String> params);\n\n @Select(\"select * from t_user_rebate where userId = #{userId} order by createTime desc\")\n List<Map<String,Object>> queryUserRebate(Integer userId);\n}", "title": "" }, { "docid": "9a79550cf6c440c21f22fa701c71acba", "score": "0.5586272", "text": "public List<Map<String, Object>> getAllUser()\n {\n List<Map<String, Object>> userList = null;\n SqlSession session = sqlSessionFactory.openSession();\n userList = session.selectList(\"userMapper.selectAllUser\");\n close(session);\n log.info(\"查询完成\");\n return userList;\n }", "title": "" }, { "docid": "83a7b1c010182d847e7c77784cc414cc", "score": "0.5583776", "text": "public ArrayList<User> getUserTable(String columns, String suffix) throws Exception{\n\t\treturn userMapper.getUserTable(columns, suffix);\n\t}", "title": "" }, { "docid": "272729f3ffb50a321636c22abda26842", "score": "0.55802363", "text": "public UserInfoBean getSelectedUser(){\r\n return userRolesTable.getSelectedUser();\r\n }", "title": "" }, { "docid": "1e53181749c6be4845c4a2485b7a9731", "score": "0.55698407", "text": "String getIDColumnName(UserType userType);", "title": "" }, { "docid": "0d32379a029ec29830a65593540575d9", "score": "0.5567505", "text": "public String getUserNameCol() {\n return userNameCol;\n }", "title": "" }, { "docid": "09d3b9ef60f917d4da50eea5edce739c", "score": "0.5565922", "text": "@Mapper\npublic interface UserMapper {\n @Select(\"select id,username,code,gender from t_sys_user where id = #{id}\")\n User getUserById(@Param(\"id\") long id);\n\n @Insert(\"insert into t_sys_user values(#{user.id},#{user.username},#{user.code},#{user.gender})\")\n void save(@Param(\"user\") User user);\n}", "title": "" }, { "docid": "549bba8bbf26ed24a2536d6bd6196180", "score": "0.55619156", "text": "@Mapper\npublic interface UserMapping {\n\n @Select(\"SELECT userid, username, password, userno, userclass, classroomid, tel, islock, bak, isdel\" +\n \" FROM userbase \" +\n \"WHERE UserID = #{uid} and PassWord = #{password} \")\n UserPojo user_login(@Param(\"uid\") String uid, @Param(\"password\") String password);\n}", "title": "" }, { "docid": "4dc91c4acd024bfe9d53123ed4450168", "score": "0.55410236", "text": "@Override\n\tpublic List<User> getUsers() {\n\t\treturn getJdbcTemplate().query(\"SELECT * from Administrator\",\n\t\t\t\tnew RowMapper<User>() {\n\n\t\t\t\t\tpublic User mapRow(ResultSet rs, int rowNum)\n\t\t\t\t\t\t\tthrows SQLException {\n\t\t\t\t\t\tUser u = new User();\n\t\t\t\t\t\tu.setAccessRight(rs.getInt(\"Access_Right\"));\n\t\t\t\t\t\tu.setPassword(rs.getString(\"password\"));\n\t\t\t\t\t\tu.setUserID(rs.getInt(\"User_ID\"));\n\t\t\t\t\t\tu.setUsername(rs.getString(\"username\"));\n\t\t\t\t\t\treturn u;\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t}", "title": "" }, { "docid": "a2fe255934551260f9643366d5f9a421", "score": "0.55337906", "text": "List<User> getUsersById(long appAreaId);", "title": "" }, { "docid": "2bd7030f8915f1afc65c187dd2be06b7", "score": "0.5529941", "text": "@Override\n public List<User> getAllUsers() {\n List<User> users = new ArrayList<User>();\n String sqlSelectAllUsers = \"SELECT id, username FROM users\";\n SqlRowSet results = jdbcTemplate.queryForRowSet(sqlSelectAllUsers);\n\n while (results.next()) {\n User user = new User();\n user.setId(results.getLong(\"id\"));\n user.setUsername(results.getString(\"username\"));\n users.add(user);\n }\n\n return users;\n }", "title": "" }, { "docid": "7ce71e6919b13180be9f047994be043d", "score": "0.5529866", "text": "public AppUser findUserAccount(String userName) {\n \tString sql = AppUserMapper.BASE_SQL + \" Where u.User_Name = ? \";\r\n \r\n \tObject[] params = new Object[] { userName };\r\n \t//arguments to bind to the query\r\n \t//may also contain SqlParameterValue objects which indicate not only the argument value\r\n \t\r\n AppUserMapper mapper = new AppUserMapper();\t//a callback that will map one object per row\r\n \r\n AppUser userInfo = this.getJdbcTemplate().queryForObject(sql, params, mapper);\r\n \r\n return userInfo;\r\n\t}", "title": "" }, { "docid": "95f564ab4232a49dfed79739b511db71", "score": "0.55248547", "text": "public List<TableUser> getUsers(){\r\n\t\treturn users;\r\n\r\n\t}", "title": "" }, { "docid": "964f68976bf5f82c826be800b42edf73", "score": "0.55244184", "text": "@Override\r\n\tpublic void updateApp(Application app) {\n\t\t\t\tSession currentSession = sessionFactory.getCurrentSession();\r\n\r\n\t\t\t\t// update User\r\n\t\t\t\tcurrentSession.update(app);\r\n\t}", "title": "" }, { "docid": "2be1e1678b38e0497adc1d2be1e65eb1", "score": "0.552393", "text": "@Override\r\n\tpublic User getUpdataUser(String account) throws SQLException {\n\t\tUserlikeuser userlikeuser = new Userlikeuser();\r\n\t\tuserlikeuser.setFunsAccount(account);\r\n\t\tString idolSize = this.userlikeuserDao.getIdolsize(userlikeuser);\r\n\t\tUser user = new User();\r\n\t\tuser.setAccount(account);\r\n\t\tuser = this.userDao.getUserById(user);\r\n\t\tuser.setIdolSize(idolSize);\r\n\t\treturn user;\r\n\t}", "title": "" }, { "docid": "9a8cf21cf26f9e5008275ed704792340", "score": "0.5520858", "text": "int updateUserDescTable(User user);", "title": "" }, { "docid": "0f998f8a232e1f43773fe55b589cff3b", "score": "0.5517154", "text": "public void userTable(User user) {\n SQLiteDatabase db = this.getWritableDatabase();\n final int KEY_UID= user.getId();\n final String KEY_USER = user.getUser();\n\n String CREATE_INDIVIDUAL_TABLE = \"CREATE TABLE \" + KEY_USER + \" ( \" +\n KEY_UID + \" INTEGER PRIMARY KEY AUTO_INCREMENT, \" + KEY_USER + \" TEXT, \" +\n \"Punch In LONG, Punch Out LONG\"; //Timestamp saved as a long\n\n\n// create table for each user\n db.execSQL(CREATE_INDIVIDUAL_TABLE);\n Log.d(\"Created Table\", \"Created Table\" + KEY_USER);\n db.close();\n }", "title": "" }, { "docid": "6d56f7484c826c598674075feaaa68e3", "score": "0.5517085", "text": "AUser selectByPrimaryKey(Integer uNo);", "title": "" }, { "docid": "67eb108d00dd771ca81d4455284c33c7", "score": "0.551682", "text": "@Override\n\tpublic List<UserPojo> getAllUser() throws ClassNotFoundException, SQLException, IOException {\n\t\tList<UserPojo> users = new ArrayList<UserPojo>();\n\t\t\n\t\tStatement stat = Database.getConnection().createStatement();\n\t\tResultSet result = stat.executeQuery(\"select * from userdata\");\n\t\t\n\t\tUserPojo user;\n\t\twhile(result.next()) {\n\t\t\tuser = new UserPojo();\n\t\t\tuser.setUser_id(result.getInt(1));\n\t\t\tuser.setRole_id(result.getInt(2));\n\t\t\tuser.setFirstname(result.getString(3));\n\t\t\tuser.setLastname(result.getString(4));\n\t\t\tuser.setEmail(result.getString(5));\n\t\t\tuser.setMobile_no(result.getLong(6));\n\t\t\tuser.setPassword(result.getString(7));\n\t\t\tuser.setGender(result.getString(8));\n\t\t\tuser.setDate_of_birth(result.getString(9));\n\t\t\tuser.setCreated_time(result.getString(10));\n\t\t\tuser.setUpdate_by(result.getInt(11));\n\t\t\tuser.setUpdate_time(result.getString(12));\n\t\t\t\n\t\t\tusers.add(user);\n\t\t}\n\t\tresult.close();\n\t\tstat.close();\n\t\tDatabase.getConnection().close();\n\t\treturn users;\n\t}", "title": "" }, { "docid": "59379123d0c7cff4e5d698e1f75a5d34", "score": "0.55161715", "text": "public interface AppUserDao {\n\n /**\n * 增加新对象\n *\n * @param userName\n * @param loginName\n * @param userPhone\n * @param priority\n * @return\n */\n int insertUser(@Param(\"userName\") String userName, @Param(\"loginName\") String loginName,\n @Param(\"userPhone\") long userPhone, @Param(\"priority\") int priority);\n\n /**\n * 根据登陆名查询用户对象\n *\n * @param loginName\n * @return\n */\n AppUser queryByLoginName(String loginName);\n\n /**\n * 根据偏移量查询用户列表\n *\n * @param offset\n * @param limit\n * @return\n */\n List<AppUser> queryAll(@Param(\"offset\") int offset, @Param(\"limit\") int limit);\n\n /**\n * 获取用户总数\n */\n int queryTotalCount();\n\n /**\n * 更新优先级\n *\n * @param newPriority\n */\n void updatePriority(@Param(\"newPriority\") int newPriority);\n\n /**\n * 按条件检索\n *\n * @param priority\n * @param userName\n * @return\n */\n List<AppUser> queryByCondition(@Param(\"offset\") int offset, @Param(\"limit\") int limit,\n @Param(\"priority\") String priority, @Param(\"userName\") String userName,\n @Param(\"userPhone\") String userPhone, @Param(\"loginName\") String loginName);\n\n /**\n * DataTable 列表页面检索,模糊查询\n *\n * @param offset\n * @param limit\n * @param priority\n * @return\n */\n List<AppUser> queryFuzzy(@Param(\"offset\") int offset, @Param(\"limit\") int limit,\n @Param(\"priority\") String priority, @Param(\"userName\") String userName,\n @Param(\"userPhone\") String userPhone, @Param(\"loginName\") String loginName);\n\n\n int insertAppUser(@Param(\"userName\") String userName, @Param(\"loginName\") String loginName,\n @Param(\"userPhone\") long userPhone, @Param(\"priority\") int priority,\n @Param(\"birth\") String birth, @Param(\"address\") String address,\n @Param(\"refer\") String refer, @Param(\"industryBranch\") String industryBranch,\n @Param(\"specialCommittee\") String specialCommittee, @Param(\"sex\") String sex,\n @Param(\"verify\") String verify, @Param(\"password\") String password);\n\n int insertAppUser(AppUser appUser);\n\n /**\n * 更新用户信息\n * */\n int updateAppProposalUser(Map params);\n}", "title": "" }, { "docid": "dfe9822358fef13ea55d9aa770b37cb1", "score": "0.5508904", "text": "@Select(\"select * from \" + USERTABLE + \" where id = #{id}\")\n\tUser selectById(Integer id);", "title": "" }, { "docid": "d47a28a2436a42ee22ea19f805959676", "score": "0.5503847", "text": "@Override\n\tpublic List<User> selectList() throws SQLException {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "b3c2aa93ffe30670487e76ebb48f621e", "score": "0.55036217", "text": "@Override\n public List<User> getAllUsers() {\n List<User> users = new ArrayList<User>();\n String sqlSelectAllUsers = \"SELECT id, username, role, image FROM users\";\n SqlRowSet results = jdbcTemplate.queryForRowSet(sqlSelectAllUsers);\n\n while(results.next()) {\n User user = mapResultToUser(results);\n users.add(user);\n }\n\n return users;\n }", "title": "" }, { "docid": "4bdb1489883c8db36d455ee48f9f0603", "score": "0.55031747", "text": "TbUser selectByPrimaryKey(Long id);", "title": "" }, { "docid": "e189c87e858c39040042c77e34f64861", "score": "0.54970115", "text": "private User mapRowToUser(SqlRowSet rs) {\n\t\tUser user = new User();\n\t\tuser.setId(rs.getLong(\"user_id\"));\n\t\tuser.setUsername(rs.getString(\"username\"));\n\t\t// user.setPassword(rs.getString(\"password_hash\")); -EXCLUDED FOR SECURITY\n\t\t// REASONS-\n\t\tuser.setActivated(true);\n\t\tuser.setAuthorities(\"USER\");\n\t\treturn user;\n\t}", "title": "" }, { "docid": "a650d483b96491052a564a64f0faa5e8", "score": "0.5490938", "text": "@Select(\"select id, name from user where id = #id#\")\n TestUserBean getUser(TestUserBean userBean);", "title": "" }, { "docid": "13fee058c8f1b01bfc8f0f7485a65f4c", "score": "0.548934", "text": "@Mapper\r\npublic interface AppKeyDAO {\r\n\r\n\r\n @Select(\"select id, appId,accessKey,userName from appkey \"\r\n + \" where appId = #{appId} and accessKey = #{accessKey}\")\r\n AppKey queryAppKey(@Param(\"appId\") String appId, @Param(\"accessKey\") String accessKey);\r\n\r\n\r\n\r\n\r\n\r\n}", "title": "" }, { "docid": "36ce07a10136d713aeaba05b67db6539", "score": "0.54877067", "text": "public User selectByPrimaryKey(Integer userId) {\n User key = new User();\n key.setUserId(userId);\n User record = (User) getSqlMapClientTemplate().queryForObject(\"A_ALERT_USERS.ibatorgenerated_selectByPrimaryKey\", key);\n return record;\n }", "title": "" }, { "docid": "fe07b5f54e65b441b62a972b5ebeb753", "score": "0.54873735", "text": "private void createTableUser(SQLiteDatabase db) {\n String CREATE_USER_TABLE = \"CREATE TABLE \" + TABLE_USER + \"(\"\n + KEY_ID + \" INTEGER PRIMARY KEY,\"\n + KEY_UID + \" TEXT,\"\n + KEY_UNAME + \" TEXT,\"\n + KEY_UFNAME + \" TEXT,\"\n + KEY_ULNAME + \" TEXT,\"\n + KEY_UEMAIL + \" TEXT,\"\n + KEY_UTEL + \" TEXT,\"\n + KEY_UADDRESS + \" TEXT,\"\n + KEY_UJOINDATE + \" TEXT,\"\n + KEY_UTOKEN + \" TEXT,\"\n + KEY_UAVATAR + \" TEXT\" + \")\";\n db.execSQL(CREATE_USER_TABLE);\n }", "title": "" }, { "docid": "ba198412c814de64a0023f901e390aa0", "score": "0.5484528", "text": "AdminUser selectByPrimaryKey(Long id);", "title": "" }, { "docid": "6b45767edbc4d4782db12a54f71b96d0", "score": "0.5484408", "text": "@Results(value = {@Result(property = \"id\", column = \"id\", id = true, javaType = Integer.class, jdbcType = JdbcType.INTEGER),\n @Result(property = \"userName\", column = \"user_name\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"userPassword\", column = \"user_password\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"email\", column = \"email\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"phone\", column = \"phone\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"userType\", column = \"user_type\", typeHandler = EnumOrdinalTypeHandler.class, javaType = UserType.class, jdbcType = JdbcType.TINYINT),\n @Result(property = \"tenantId\", column = \"tenant_id\", javaType = Integer.class, jdbcType = JdbcType.INTEGER),\n @Result(property = \"tenantName\", column = \"tenant_name\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"queueName\", column = \"queue_name\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"createTime\", column = \"create_time\", javaType = Timestamp.class, jdbcType = JdbcType.DATE),\n @Result(property = \"updateTime\", column = \"update_time\", javaType = Timestamp.class, jdbcType = JdbcType.DATE)\n })\n @SelectProvider(type = UserMapperProvider.class, method = \"queryUserPaging\")\n List<User> queryUserPaging(@Param(\"searchVal\") String searchVal,\n @Param(\"offset\") Integer offset,\n @Param(\"pageSize\") Integer pageSize);", "title": "" }, { "docid": "ace9fc339741a0f07366a40bfc33ab95", "score": "0.5484069", "text": "public int getUserTableID(){\n\t\treturn this.userTableID;\n\t}", "title": "" }, { "docid": "5b7d7f47ce32a9892feddd986d737980", "score": "0.5482819", "text": "List<SysUser> selectAll();", "title": "" }, { "docid": "c9c93f6772d32a041f777ae4f06ea9f8", "score": "0.54772365", "text": "@Insert({\n \"insert into sys_user (id, login_name, \",\n \"zh_name, en_name, \",\n \"sex, birth, email, \",\n \"phone, address, \",\n \"password, password_salt, \",\n \"rank, create_time, \",\n \"update_time, create_by, \",\n \"update_by, status, \",\n \"is_final)\",\n \"values (#{id,jdbcType=BIGINT}, #{loginName,jdbcType=VARCHAR}, \",\n \"#{zhName,jdbcType=VARCHAR}, #{enName,jdbcType=VARCHAR}, \",\n \"#{sex,jdbcType=INTEGER}, #{birth,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, \",\n \"#{phone,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, \",\n \"#{password,jdbcType=VARCHAR}, #{passwordSalt,jdbcType=VARCHAR}, \",\n \"#{rank,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, \",\n \"#{updateTime,jdbcType=TIMESTAMP}, #{createBy,jdbcType=BIGINT}, \",\n \"#{updateBy,jdbcType=BIGINT}, #{status,jdbcType=TINYINT}, \",\n \"#{isFinal,jdbcType=TINYINT})\"\n })\n int insert(SysUser record);", "title": "" }, { "docid": "eb5bb3b6e14685d49fb40be0d730f8d7", "score": "0.5473083", "text": "public String getUserRoleTable() {\n return userRoleTable;\n }", "title": "" }, { "docid": "b1dcbc12fe32839a89e02e39821d4151", "score": "0.54631126", "text": "@Override\n\tpublic List<User> selectUserAll() {\n\t\tDBUtil db = new DBUtil();\n\t\tConnection con = null;\n\t\tString sql;\n\t\tResultSet rs ;\n\t\tcon = db.getConnection();\n\t\tStatement statement = null;\n\t\tList<User> list = new ArrayList<User>() ;\n\t\tUser user;\n\t\ttry {\n\t\t\ttry {\n\t\t\t\tstatement = con.createStatement();\n\t\t\t} catch (Exception e) {\n\t\t\t\t// TODO: handle exception\n\t\t\t\te.printStackTrace();\n\t\t\t\tSystem.out.println(\"创建提交事务失败,可能是数据库连接问题\");\n\t\t\t\tthrow e;\n\t\t\t}\n\t\t\tsql = \"SELECT Id,Username,Password,Age,Sex FROM user_ssm\";\n\t\t\trs = statement.executeQuery(sql);\n\t\t\twhile(rs.next()) {\n\t\t\t\tuser = new User();\n\t\t\t\tuser.setId(rs.getInt(\"Id\"));\n\t\t\t\tuser.setUsername(rs.getString(\"Username\"));\n\t\t\t\tuser.setPassword(rs.getString(\"Password\"));\n\t\t\t\tuser.setAge(rs.getInt(\"Age\"));\n\t\t\t\tuser.setSex(rs.getString(\"Sex\"));\n\t\t\t\tlist.add(user);\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\tSystem.out.println(\"Sql语法有问题,查询数据失败\");\n\t\t} finally {\n\t\t\tif(con != null) {\n\t\t\t\ttry {\n\t\t\t\t\tcon.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(statement != null) {\n\t\t\t\ttry {\n\t\t\t\t\tstatement.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn list;\n\t}", "title": "" }, { "docid": "06a53be4b8ba408d957959c8581b4135", "score": "0.544859", "text": "@Select({\n \"select\",\n \"id, user_name, password\",\n \"from user\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n @Options(useCache = false,timeout = 10000,flushCache = false) //取消ehcache缓存\n @ResultMap(\"BaseResultMap\")\n public User selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "18abe2167dac53c60466055e8c940202", "score": "0.5448543", "text": "@Override\n\tpublic void queryUserList() {\n\t\tString sql = \"SELECT * FROM USER\";\n\t\tList<User> list = JdbcTemplate.query(sql, new MyRowMapper());\n\t\t\n\t\tfor (User user : list) {\n\t\t\tSystem.out.println(user);\n\t\t}\n\t}", "title": "" }, { "docid": "1da6ddd1ceaf0dce0a54f1cdedce3cc5", "score": "0.5437948", "text": "public void loadUserMap() {\n String SQL = \"SELECT user_id,user_name,user_type,user_password,user_first_last,user_dob \" + \n \"FROM appuser \";\n \n try (Connection sqlConnection = PostgresConnector.connect();\n PreparedStatement prepState = sqlConnection.prepareStatement(SQL)) {\n \n // Results of the query are obtained\n ResultSet results = prepState.executeQuery();\n \n // Iterates through the results, creating users and adding them to the map\n while (results.next()) {\n User userToAdd = new User(results.getLong(\"user_id\"),\n results.getString(\"user_name\"),\n results.getString(\"user_type\"),\n results.getString(\"user_password\"),\n results.getString(\"user_first_last\"),\n results.getString(\"user_dob\"));\n \n this.map.put(userToAdd.getUsername(), userToAdd);\n }\n \n } catch (SQLException e) {\n System.out.println(e.getMessage());\n }\n }", "title": "" }, { "docid": "28a31d9690ff4901ae8707d175f99e48", "score": "0.5437243", "text": "@Override\n public List<User> getActiveUsers() throws SQLException {\n Set<User> userSet = userDB.getAllUsers();\n List<User> userList = new ArrayList<>();\n for (User user : userSet) {\n if (user.getActive()) {\n userList.add((User) user);\n }\n }\n return userList;\n }", "title": "" }, { "docid": "9ebd71d9325f62cd199001890c34149a", "score": "0.54360026", "text": "public List<testUsers> selecttestUsers() {\n\t\t\t\ttry {\n\n\t\t\t\t\tString sql = \"select * from qixinapp.testuser;\";\n\t\t\t\t\tQueryRunner runner = new QueryRunner(JDBCUtils.getDataSource());\n\t\t\t\t\treturn runner.query(sql, new BeanListHandler<testUsers>(\n\t\t\t\t\t\t\ttestUsers.class));\n\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t\tthrow new RuntimeException(\"asdjk\");\n\t\t\t\t}\n\t}", "title": "" }, { "docid": "ff28800bb91f8b36d043d2ba610e30bf", "score": "0.5417617", "text": "public interface PersistableUser {\n\n\t/**\n\t * Insert user.\n\t *\n\t * @param userid the userid\n\t * @return the int\n\t */\n\t@SqlUpdate(\"INSERT INTO pctuser ( useruuid ) VALUES (:userid)\")\n\tpublic int insertUser(@Bind(\"userid\") String userid);\n\n\t/**\n\t * Select user.\n\t *\n\t * @param useruuid the useruuid\n\t * @return true, if successful\n\t */\n\t@SqlQuery(\"select 1 from pctuser where useruuid = :useruuid\")\n\tpublic boolean checkUserExists(@Bind(\"userid\") String useruuid);\n\t\n\t/**\n\t * Check user active.\n\t *\n\t * @param useruuid the useruuid\n\t * @return true, if successful\n\t */\n\t@SqlQuery(\"select isactive from pctuser where useruuid = :useruuid\")\n\tpublic boolean checkUserActive(@Bind(\"userid\") String useruuid);\n\t\n\t/**\n\t * Sets the user active.\n\t *\n\t * @param useruuid the new user active\n\t */\n\t@SqlUpdate(\"UPDATE pctuser SET isactive = 1 WHERE useruuid = :useruuid\")\n\tpublic void setUserActive(@Bind(\"userid\") String useruuid);\n\t\n\t/**\n\t * Sets the user inactive.\n\t *\n\t * @param useruuid the new user inactive\n\t */\n\t@SqlUpdate(\"UPDATE pctuser SET isactive = 0 WHERE useruuid = :useruuid\")\n\tpublic void setUserInactive(@Bind(\"userid\") String useruuid);\n}", "title": "" }, { "docid": "76d9f3826513386ab75252d2e33396d4", "score": "0.54147357", "text": "public interface UserDao extends GenericDao<User> {\n List<Event.RegisteredUser> findAllByItem(Event event) throws SQLException;\n}", "title": "" }, { "docid": "06ebe8bf714097092bdd93468005b59a", "score": "0.54101384", "text": "@Override\n\tpublic List<UserBean> select() throws SQLException {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "5a25ce30df5d2edc9362c7ee13a1fe4a", "score": "0.5407179", "text": "@Transactional\n\tpublic List<User> getAllUsers() {\n\t\tSession session=sessionfactory.getCurrentSession();\n\t\tQuery query=session.createQuery(\"from User\");\n\t\treturn query.list();\n\t}", "title": "" }, { "docid": "e192148d13a4d92aeff7023972b07df8", "score": "0.5401872", "text": "@Override\r\npublic List<UserRole> getUserRoles() {\n\tList<UserRole> userRoles=null;\r\n\ttry\r\n\t{\r\n\t\tsql=\"SELECT ur.user_Id AS uesrId,ur.role_Id AS roleId FROM `userroles` ur JOIN `users` u ON u.user_Id=ur.user_Id WHERE u.client_Id='\"+(String)session.getAttribute(\"clientId\")+\"'\";\r\n\t\tuserRoles=getJdbcTemplate().query(sql,new BeanPropertyRowMapper<UserRole>(UserRole.class));\r\n\t}\r\n\tcatch(Exception e)\r\n\t{\r\n\t\tlogger.error(e.getCause());\r\n\t}\r\n\treturn userRoles;\r\n}", "title": "" }, { "docid": "ad2f1cbf159b5c922f2153051438c502", "score": "0.5401508", "text": "public List<User> selectAll() {return sf.getCurrentSession().createQuery(\"FROM User\", User.class).list();}", "title": "" }, { "docid": "69a6ace86d38afd2ceb5c0731d68bae4", "score": "0.53937924", "text": "@Override\r\n\tpublic List<String> getActiveUserList() {\r\n\t\tString Qstr = \"SELECT user.email FROM WalletUser user JOIN user.accountDetail account WHERE account.userStatus= :userStatus\";\r\n\t\tTypedQuery<String> query = entityManager.createQuery(Qstr, String.class).setParameter(\"userStatus\",\r\n\t\t\t\tstatus.active);\r\n\t\tList<String> userList;\r\n\t\ttry {\r\n\t\t\tuserList = query.getResultList();\r\n\t\t} catch (Exception exception) {\r\n\t\t\tthrow new UnauthorizedAccessException(\"No user Exist for given criteria\");\r\n\t\t}\r\n\t\treturn userList;\r\n\t}", "title": "" }, { "docid": "31e0637331caca7f764ef3d9e8ddec56", "score": "0.53908044", "text": "User2 selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "15b5a2ed35c703d94e16df2196986dc0", "score": "0.53875166", "text": "@Override\n\tpublic List<User> getAllUser() {\n\t\treturn (List<User>) userDao.findAll();\n\t}", "title": "" } ]
5e3412752141325d5d56e7d5a77a758b
create and initialize a Time1 object Invoke constructor
[ { "docid": "4f385ab24130d6a5b07e878859bd1ab3", "score": "0.0", "text": "public static void main(String[] args) {\n Time1 time = new Time1();\n\n // output string representations of the time\n displayTime(\"After time object is created\", time);\n System.out.println();\n\n //change time and output updated time\n time.setTime(13, 27, 6);\n displayTime(\"Call setTime and update time\", time);\n System.out.println();\n\n //attempt to set with invalid values\n try {\n time.setTime(99,99,99);\n }\n catch (IllegalArgumentException e) {\n System.out.printf(\"Exception: %s%n%n\", e.getMessage());\n }\n //display time after invalid values\n displayTime(\"After calling setTime with invalid values\", time);\n System.out.println();\n }", "title": "" } ]
[ { "docid": "e6f5f3ffd49e1f6e0e83f5f134880052", "score": "0.7184494", "text": "public Time2()\n {\n this(0, 0, 0); // invoke constructor with three arguments\n }", "title": "" }, { "docid": "24039647727bc8ef466238de01499e08", "score": "0.65580463", "text": "public Time2(int hour, int minute) \n { \n this(hour, minute, 0); // invoke constructor with three arguments\n }", "title": "" }, { "docid": "72367e849b741140e55f3fdf9d3f7548", "score": "0.64536947", "text": "public Time2(int hour) \n { \n this(hour, 0, 0); // invoke constructor with three arguments\n }", "title": "" }, { "docid": "bceb8490416be0857226c7006c11c011", "score": "0.6237002", "text": "public ConstantThroughputTimer() {\n }", "title": "" }, { "docid": "d596bfc5b9737226d0ab8673ac33cfe2", "score": "0.62320024", "text": "public Tick() {}", "title": "" }, { "docid": "b1d846f3415726da180c5e12f9d04509", "score": "0.6069588", "text": "public AC_Time() {\n\t}", "title": "" }, { "docid": "f08fd31d6ac2cc6ccd703891f394a66d", "score": "0.60560507", "text": "public Event(double time) {\r\n\t\tthis.time=time;\r\n\t}", "title": "" }, { "docid": "0407c38dc6c0b66afb2e1ba08dffb6dd", "score": "0.6053241", "text": "public Time2(Time2 time)\n {\n // invoke constructor with three arguments\n this(time.getHour(), time.getMinute(), time.getSecond());\n }", "title": "" }, { "docid": "a6ae852d43a065bba7d518f79f5b7300", "score": "0.60470116", "text": "public Time()\n {\n\n }", "title": "" }, { "docid": "33f3e73839a687fd85802ba06c675837", "score": "0.6004033", "text": "public Jefe(){\n reloj = new SimpleTimer();\n }", "title": "" }, { "docid": "9fae29d8181113b88ee58f4da94ebe6c", "score": "0.5994922", "text": "void timInitialize();", "title": "" }, { "docid": "091e35d3e8cef4b77ad6c265529e13d6", "score": "0.59813184", "text": "@Override\n\tpublic void init() \n\t{\n\t\tthis.startExecutionTime = -1.0;\n\t}", "title": "" }, { "docid": "9ffee244ce71a47ec8fbb1c8ceced373", "score": "0.5952835", "text": "public UniformDistributionTimer() {\n this(1.0, 1.0);\n }", "title": "" }, { "docid": "e243ec823fb2f333774df9821b6926ad", "score": "0.5947762", "text": "protected void initialize() {\n \tsetTimeout(time);\n }", "title": "" }, { "docid": "fb9ddbd2effa11fb663808d08f635970", "score": "0.59443384", "text": "Timing() {\n\t}", "title": "" }, { "docid": "2158198d1bd69228a21e9fe8414f5d6a", "score": "0.5899875", "text": "public CollectionTimer(){\n\t\tthis(0);\n\t}", "title": "" }, { "docid": "75f8b12343fc69547027022c9301b15f", "score": "0.5898254", "text": "public Timer()\r\n\t{\r\n\t\tthis(1000, false);\r\n\t}", "title": "" }, { "docid": "2cea6ac562423c2b25c2bb105b358f31", "score": "0.58921635", "text": "public BasicTime() // ----------------------------------------------------\r\n{\r\n this( new java.util.Date() );\r\n}", "title": "" }, { "docid": "c4e39e7c54483f17d5967e5ad554b9eb", "score": "0.5856874", "text": "public WTime() {\n }", "title": "" }, { "docid": "6305673737e5f0da2087f7f029cd2ddd", "score": "0.583994", "text": "public Event(double time) {\n this.time = time;\n }", "title": "" }, { "docid": "47b90651f9737889700434d29f7200fd", "score": "0.5822597", "text": "protected void initialize() {\n this.setTimeout(timer);\n \n }", "title": "" }, { "docid": "cd40903aa1062af51ec2fd21a398b837", "score": "0.5816823", "text": "public TimeBean() {\n }", "title": "" }, { "docid": "22ecc7293d0cfb2d27245fc63bd326a9", "score": "0.5804189", "text": "public Time() {\n t = 0;\n lastLiveTime = 0;\n }", "title": "" }, { "docid": "5e6a3809b83513a773afcc78a368edda", "score": "0.5778452", "text": "public Thread1() {\r\n }", "title": "" }, { "docid": "ecf01d94edb81666119a9778ae003e5a", "score": "0.5771973", "text": "public PointInTime() {\n }", "title": "" }, { "docid": "bda02f63c6a26884684b8a4b8b320c5f", "score": "0.5753482", "text": "Invocation createInvocation();", "title": "" }, { "docid": "412388a5f87687ad9b8b87d741b3e3e6", "score": "0.57507694", "text": "protected void initialize() {\n\t\tm_startTime = Timer.getFPGATimestamp();\n\t}", "title": "" }, { "docid": "3784c9a143099b2272589888addc1160", "score": "0.57492524", "text": "@Override\r\n protected void initialize() {\r\n time.start();\r\n time.reset();\r\n }", "title": "" }, { "docid": "ab9ff95fd87072c01e7cf067006021f3", "score": "0.5742207", "text": "Timer(int tempTotalTime) {\n totalTime = tempTotalTime;\n }", "title": "" }, { "docid": "1a085c19d6a1a51f2d3472193e00dda7", "score": "0.5741541", "text": "protected void initialize() {\n \tsetTimeout(seconds);\n }", "title": "" }, { "docid": "a82c07a04069623ceb92148873c13382", "score": "0.5738022", "text": "private TimerSyncMessage() {}", "title": "" }, { "docid": "cf6e160ec54d143ab4be21e1711ca6f1", "score": "0.57327217", "text": "private Clock() {\r\n // New Thread to mark passage of specified time\r\n Thread thread = new Thread(this);\r\n // Start the Thread\r\n thread.start();\r\n\t}", "title": "" }, { "docid": "d82d8e169972e7a8182868e6e69a1a56", "score": "0.5722708", "text": "public TutorialAgentGenerator(double interArrivalTime) {\n\t\tsuper(interArrivalTime);\n\t}", "title": "" }, { "docid": "0a168562b2b881f5f8970d8d922b852f", "score": "0.57108575", "text": "public ClockPane1() {\r\n\t\tsetCurrentTime();\r\n\t}", "title": "" }, { "docid": "e4c399a4ff24238c3ba14d3a3270b4aa", "score": "0.5696374", "text": "public Timer() {\r\n\t\tstartTime = System.nanoTime();\r\n\t\tstop = false;\r\n\t}", "title": "" }, { "docid": "2dd009e83a5992d1c27922ab3dd4f910", "score": "0.5692549", "text": "protected abstract void initializeTm();", "title": "" }, { "docid": "3c37ef04bbd308f8d0b4b7df4d7b0e24", "score": "0.5684376", "text": "Start createStart();", "title": "" }, { "docid": "3348c3c1e27febfd8a09935ab3066ef2", "score": "0.5667557", "text": "public MyTimerService() {\n }", "title": "" }, { "docid": "345995a7d67091a48c30a3009795f68d", "score": "0.5657058", "text": "public Timer(){\r\n\t\ttimeout = 2000;\r\n\t\tthis.start();\r\n\t}", "title": "" }, { "docid": "2ec75b3949f6bfab4b2dc6e99c920a6d", "score": "0.5652327", "text": "BoxTimer(int tempTotalTime) {\n totalTime = tempTotalTime;\n }", "title": "" }, { "docid": "2ad02dad95e3adeccdb052417c04aad0", "score": "0.5649278", "text": "public StopWatch() {\n }", "title": "" }, { "docid": "9a4c6ad59ef47fb960363c0cebe8c5c8", "score": "0.5623057", "text": "private TimerFactory() {\r\n /* no-op */\r\n }", "title": "" }, { "docid": "5ff4488d41c0547a7c3fd20ef261735a", "score": "0.56102735", "text": "private TimeComponent(String name) {\n this.name = name;\n }", "title": "" }, { "docid": "cee367b920c7d1ccc8eb2801d9678878", "score": "0.560402", "text": "public ACKTimer() {\r\n }", "title": "" }, { "docid": "1e799275bbf8c95cac655b561c032852", "score": "0.55924886", "text": "public OneTimeTask() {\n\t\n\t}", "title": "" }, { "docid": "2e85326c9a1d93646a3c96df6113f0e2", "score": "0.55912983", "text": "public TimeSheet() {}", "title": "" }, { "docid": "771b8cb83ada2d76a32e16c0f890b57f", "score": "0.5587689", "text": "public LotteryScheduler() {\r\n }", "title": "" }, { "docid": "767f7681beac3e45eca1a24ba6b0c387", "score": "0.55875605", "text": "Schedule()\n\t\t{\n\t\t}", "title": "" }, { "docid": "2d8ba11748da287e58c8209ab429bf56", "score": "0.5570509", "text": "public SimpleTimer2(I2PAppContext context) {\n this(context, \"SimpleTimer2\");\n }", "title": "" }, { "docid": "11d2ef3278b466a35c7da1e24b9ce6bd", "score": "0.55629337", "text": "protected void initialize() {\n\t\t\n\t\tstarttime = System.currentTimeMillis();\n\t\tendtime = starttime + (int)time;\n\t}", "title": "" }, { "docid": "354084c5eae65fc5a971a1ec55e09181", "score": "0.55587775", "text": "public LotteryScheduler() {\n }", "title": "" }, { "docid": "e55e958acfd3afd267c12ab1f51467dd", "score": "0.5535223", "text": "public ClockPane1(int hour, int minute, int second) {\r\n\t\tthis.hour = hour;\r\n\t\tthis.minute = minute;\r\n\t\tthis.second = second;\r\n\t}", "title": "" }, { "docid": "151420d77a5d15a655bf596d7f6b326e", "score": "0.5524958", "text": "public TimeMap() {\n\n\t}", "title": "" }, { "docid": "68c74206c6f69fa5c4e51a1449b3859f", "score": "0.5516166", "text": "public LotteryScheduler() {\n\t}", "title": "" }, { "docid": "330d2b4bc87112bf944a245d6ed91441", "score": "0.5509666", "text": "public RemoteInvocation() {}", "title": "" }, { "docid": "815be5af1ce2b0ea8fd64c37c20a2c8c", "score": "0.55094725", "text": "public Time() {\n empty = true;\n }", "title": "" }, { "docid": "6aa14e08e981f31cab4ba4df06ce3597", "score": "0.55074155", "text": "protected Event(final int time) {\n eventTime = time;\n eventID = eventIDCounter++;\n }", "title": "" }, { "docid": "53b7a587471b170b5cb6a075690c315d", "score": "0.5501756", "text": "@Override\n public void initialize() {\n _t.start();\n }", "title": "" }, { "docid": "954f887cbcdb1c5a4320d5e792b52ae0", "score": "0.54967886", "text": "public ServiceTimeManager(long baseTime) {\r\n\t\t//initialize baseTime\r\n\t\tLog.w(\"STM\", \"created new time manager with baseTime: \" + baseTime);\r\n\t\tmBaseTime = baseTime;\r\n\t}", "title": "" }, { "docid": "ea056a06e8d3f8ba1481a36728adbd8d", "score": "0.549613", "text": "public Hero() {\r\n\t\tsuper(HERO, WAITTIME);\r\n\t}", "title": "" }, { "docid": "26eacd717e1cd60922002b3a341ef2e6", "score": "0.54904366", "text": "public Clock_Simulator()\r\n\t{\r\n\t\tstartTime = System.currentTimeMillis(); // Initialize start time.\r\n\t}", "title": "" }, { "docid": "16ed94261fc7ca34f7e28badb9742508", "score": "0.5481603", "text": "public SimEvent(double new_time)\n {\n e_time = new_time;\n }", "title": "" }, { "docid": "7a11775fa65bf60c32522daac0ff7838", "score": "0.5454404", "text": "public TimeStretching() {\n }", "title": "" }, { "docid": "06278a580c20bed163a6c812138158af", "score": "0.54316014", "text": "protected SimpleTimer2(I2PAppContext context, String name) {\n this(context, name, true);\n }", "title": "" }, { "docid": "c36bc72531cd1296b335a2e2dbe549a9", "score": "0.5427844", "text": "public RotatorCardinalPointingTask(String name,\n\t\t\t\t TaskManager manager,\n\t\t\t\t Source source,\n\t\t\t\t Instrument instrument,\n\t\t\t\t long execTime) {\n\tsuper(name, manager);\n\t \n\tthis.source = source;\n\tthis.instrument = instrument;\n\tthis.execTime = execTime;\n\n }", "title": "" }, { "docid": "959e4becf74c6c992af289b6fc43445d", "score": "0.54181975", "text": "Alarm() {}", "title": "" }, { "docid": "022be2a184cd89676a1e736731f7547e", "score": "0.5409348", "text": "protected void initialize() {\n\t\tSmartDashboard.putString(\"Running Commend : \", \"ShooterLifterUp\");\n//-----------------------------------------------------------------------\n \tthis.endTime = this.Time + System.currentTimeMillis();\n }", "title": "" }, { "docid": "9cc1d2809b2c048001ff8f54f20dfef5", "score": "0.54059625", "text": "protected void initialize()\n\t{\n\t\tm_startTime = System.currentTimeMillis();\n\t\t//System.out.println(\"Initialaden\");\n\t}", "title": "" }, { "docid": "894464df55cde360e069a35b737538c9", "score": "0.5405378", "text": "public PeriodicMethodType ()\n {\n }", "title": "" }, { "docid": "506043826d367728e09d82b81d2b7a02", "score": "0.5401917", "text": "public Julia() {\n this(1000, 700);\n }", "title": "" }, { "docid": "63ae5fbd2dc3b02162f2067c8db037c5", "score": "0.53848535", "text": "public Start() {\n }", "title": "" }, { "docid": "c844d1656290af1a35b31cbe4c2e124e", "score": "0.5375926", "text": "private Timex(Builder builder) {\n super(builder);\n }", "title": "" }, { "docid": "f3607441525b2913962637831b2308af", "score": "0.5374913", "text": "public Event(String name, String desc, long time) {\r\n\t\tsuper();\r\n\t\tthis.name = name;\r\n\t\tthis.desc = desc;\r\n\t\tthis.time = time;\r\n\t\tthis.isActive = false;\r\n\t\tthis.tT = new TimerThread(this);\r\n\t}", "title": "" }, { "docid": "1c68fd57b218146c61a7a0fa937aa604", "score": "0.53742856", "text": "public static void main(String [] args) {\n new Timer();\n }", "title": "" }, { "docid": "38bc5344db122e15b62f8354d2af9a00", "score": "0.5351926", "text": "@Override\n public void initialize() {\n //currentTime = 0;\n //endTime = currentTime + endTime;\n System.out.println(endTime);\n }", "title": "" }, { "docid": "1b41d961d981b07a9eab37162b51794a", "score": "0.5347545", "text": "public void createIntervalTimer();", "title": "" }, { "docid": "ba803a300e240898dfa5e59619edc825", "score": "0.53461325", "text": "public TimeSpec() {\n this(\"\");\n }", "title": "" }, { "docid": "852c88c7a9000f12afdec4387adbd1d3", "score": "0.5344413", "text": "public ClockTime()\n {\n // Initialise instance variables\n hour = 0;\n minute = 0;\n second = 0;\n }", "title": "" }, { "docid": "d8f939857ac30b546fae542479c2c132", "score": "0.5343216", "text": "public Clock()\n\t{\n\t\tstartTime = System.nanoTime();\n\t\tisPaused = false;\n\t}", "title": "" }, { "docid": "a7864e4041a2817ab0d2e39e69603411", "score": "0.53389376", "text": "private MultipleThreadTimer() {\n throw new AssertionError();\n }", "title": "" }, { "docid": "cfe1402ca0c5bafe783d909ad9d4246f", "score": "0.53360236", "text": "public UIAStateBuilder(){ this(10/*seconds*/,false,\"\");\t}", "title": "" }, { "docid": "9514ee10e4d2239667727f793bf0cdfa", "score": "0.53239787", "text": "private Action createInitialize() {\n \t\tLocation location = IrFactory.eINSTANCE.createLocation();\n \n \t\t// transform tag\n \t\tTag tag = IrFactory.eINSTANCE.createTag();\n \n \t\tPattern inputPattern = IrFactory.eINSTANCE.createPattern();\n \t\tPattern outputPattern = IrFactory.eINSTANCE.createPattern();\n \t\tPattern peekPattern = IrFactory.eINSTANCE.createPattern();\n \n \t\tProcedure scheduler = IrFactory.eINSTANCE.createProcedure(\n \t\t\t\t\"isSchedulable_init_actor\", location,\n \t\t\t\tIrFactory.eINSTANCE.createTypeBool());\n \t\tProcedure body = IrFactory.eINSTANCE.createProcedure(\"init_actor\",\n \t\t\t\tlocation, IrFactory.eINSTANCE.createTypeVoid());\n \n \t\t// add return instructions\n \t\tastTransformer.addReturn(scheduler,\n \t\t\t\tIrFactory.eINSTANCE.createExprBool(true));\n \t\tastTransformer.addReturn(body, null);\n \n \t\t// creates action\n \t\tAction action = IrFactory.eINSTANCE.createAction(location, tag,\n \t\t\t\tinputPattern, outputPattern, peekPattern, scheduler, body);\n \t\treturn action;\n \t}", "title": "" }, { "docid": "bb4a53ffac318680a370b87e9c3470a2", "score": "0.5316952", "text": "protected void initialize()\n\t{\n\t\ttimer.start();\n\t}", "title": "" }, { "docid": "c6d2085b1ccde725b9f2f337a3aae7a8", "score": "0.53088117", "text": "@Override\n\tprotected void initialize() {\n\t\tsetTimeout(timeout);\n\t}", "title": "" }, { "docid": "bea67dc7b42fc5361bc6b2b14ecfcf2c", "score": "0.5301039", "text": "private OperationInvocation() {\n initFields();\n }", "title": "" }, { "docid": "50546489be84c9b35b97fca70e1d947a", "score": "0.5296101", "text": "public GO_DateTime() {\n }", "title": "" }, { "docid": "353dc7cf93861f20fa386587b2b077ba", "score": "0.5295421", "text": "protected void initialize() {\n \t//setTimeout(3);\n }", "title": "" }, { "docid": "3aba88a4be423dbcd3f20072eb0ca781", "score": "0.52941996", "text": "public void start() {\n position=1;\n timer = new Timer(\"warp\");\n myTimer = new MyTimer();\n timer.schedule(myTimer, 100L, 100L);\n }", "title": "" }, { "docid": "204204cdce95b7161316f271355c5127", "score": "0.52937907", "text": "public TimeInfo(T o, long period)\n {\n this.o = o;\n this.period = period;\n }", "title": "" }, { "docid": "1fbf9d07a0d9a77dc2324ae36c8177f4", "score": "0.52929884", "text": "public static void etaInitialized(long eta){\n Log.d(\"jo\", \"etaInitialized(): eta = \" + eta);\n //if timer not yet on --> Start timer for this meetup:\n if(!isTimerOn) {\n isTimerOn = true;\n listener.startTimer(true, wingsMap.getCurrentEst()); //true = we are starting a meetUp\n }\n }", "title": "" }, { "docid": "985f2557b049415c8f427809c2716024", "score": "0.52928215", "text": "public void initTimerTask(Integer taskType) {\n\t\tTimerTask timerTask = new TimerTask(taskType, this.getSysdate(), 0, 0, null);\t\n\t\tthis.create(timerTask);\n\t}", "title": "" }, { "docid": "9a23ca441b05aa974a9170ae3ebeea65", "score": "0.52899474", "text": "public TimeTool(final String pre){\n\t\tset(pre);\n\t\tresolution = defaultResolution;\n\t}", "title": "" }, { "docid": "20965e261077aba9bef51f171055dfb5", "score": "0.52894866", "text": "public TimeTool(){\n\t\tresolution = defaultResolution; // Sekunden-Auflösung\n\t}", "title": "" }, { "docid": "5a04c9675ed3e68857d74c12f8919942", "score": "0.52875906", "text": "protected void initialize() {\n \tthrowTimer.reset();\n \tthrowTimer.start();\n }", "title": "" }, { "docid": "ac11f251decf72fa677b4217dd672ba4", "score": "0.5279884", "text": "public ActivationElliott() {\r\n this.params = new double[1];\r\n this.params[0] = 1.0;\r\n }", "title": "" }, { "docid": "2e2a886b6288ae3e7f8e58b9aa9d5d2e", "score": "0.5279791", "text": "private Clock(){\n\t\ttickListeners = new ArrayList<TickListener>();\n\t\tcal = Calendar.getInstance();\n\t\tthreadTime = new Thread(this);\n\t}", "title": "" }, { "docid": "aae971aa9f4a779655adaa2d2ab82760", "score": "0.5279284", "text": "public Oka2_Objective_1() {\n }", "title": "" }, { "docid": "b500a4d157300af2841c52e22cbd4b73", "score": "0.52766705", "text": "public TimeA()\n {\n this.hours = 0;\n this.minutes = 0;\n this.seconds = 0;\n }", "title": "" }, { "docid": "4d548c83a47cc97c20fb54b237e15afe", "score": "0.5264429", "text": "public DateTime() {\n\t\tthis(System.currentTimeMillis());\n\t}", "title": "" }, { "docid": "518dc3eb356facf0136daa4ec1dcdf2d", "score": "0.5260903", "text": "public Instructor (Name name, Date started)\n { \n if(name != null)\n {\n this.name=name;\n }\n else \n {\n this.name = new Name();\n }\n if(started!=null)\n {\n this.started = started;\n } \n else\n {\n this.started = new Date();\n }\n }", "title": "" }, { "docid": "28d3dce0cf9c83f6f60d7c38ef5c5a21", "score": "0.52604944", "text": "public Obj1() {\n System.out.println(\"Obj1\");\n }", "title": "" } ]
568d2f0d29c60681b0a98bd53e62a6d8
Confirms the selected target for the craft.
[ { "docid": "8b81a397dca4f78031ff6a29bf42a540", "score": "0.0", "text": "public void btnOkClick(Action action)\n{\n\tWaypoint w = (Waypoint)(_target);\n\tif (w != null && w.getId() == 0)\n\t{\n\t\tw.setId(_game.getSavedGame().getWaypointId());\n\t\t(_game.getSavedGame().getWaypointId())++;\n\t\t_game.getSavedGame().getWaypoints().add(w);\n\t}\n\t_craft.setDestination(_target);\n\t_craft.setStatus(\"STR_OUT\");\n\t_game.popState();\n\t_game.popState();\n}", "title": "" } ]
[ { "docid": "597f41a1516c9c44816c37d57820050a", "score": "0.63886356", "text": "public void selectTarget() {\n\t\t//select a target from the list\n\t\tContext<?> context = ContextUtils.getContext(this);\n\t\tIndexedIterable<?> assetList = context.getObjects(Asset.class);\n\t\t// attack a random asset, first we need the size\n\t\tint listSize = assetList.size();\n\t\tint targetNumber = RandomHelper.nextIntFromTo(0, listSize-1);\n\t\tfor (Object target : assetList)\n\t\t{\n\t\t\tif (target == assetList.get(targetNumber)) {\n\t\t\t\tthis.attackTarget((Asset) target);\n\t\t\t}\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "e4614bac360b09c6a18f9d729c89fc30", "score": "0.58664507", "text": "public void chooseSelected(){\n\t\t\n\t\tif(selected == START_GAME){\n\t\t\tGameLogic.resetGameLogic();\n\t\t\tgsm.setCurrentState(gsm.PLAYSTATE);\n\t\t}\n\t\telse if(selected == INSTRUCTIONS){\n\t\t\tgsm.setCurrentState(gsm.INSTRUCTIONSSTATE);\n\t\t}\n\t\telse if(selected == EXIT_GAME){\n\t\t\tSystem.exit(0);\n\t\t}\n\t}", "title": "" }, { "docid": "4c04ac2c645bc5b52b8af2e7990f70ea", "score": "0.58482945", "text": "@SuppressWarnings(\"rawtypes\")\n\tprivate void chooseTargetShire() {\n\t\tShire myShire = Me.myShire();\n\t\tLibrary library = myShire.getLibrary();\n\t\tSK_ k = SK_.valToSK.get(Me.FB.randomValueInPriority());\n\t\tKnowledgeBlock kb = library.findKnowledge(k);\n\t\tif (kb != null) {kb.useKnowledge(Me);}\n\t\telse {sendScout(k);}\n\t\tClan myShireGov = myShire.getGovernor();\n\t\tif (targetShire == null && (myShireGov == null || myShireGov.myOrder() != Me.myOrder())) {\n\t\t\ttargetShire = myShire;\n\t\t}\n\t\tif (targetShire == null) { Me.addReport(GobLog.nowhereToAttack()); }\n\t}", "title": "" }, { "docid": "95028e83d8f32c70982811771c2f058a", "score": "0.574437", "text": "@Override\n\tpublic void chooseTargets() {\n\t\t_targets.clear();\n\t\tfor (Player z : getPlayer().findOpponents()) {\n\t\t\t_targets.add(z);\n\t\t\trepOK();\n\t\t}\n\t}", "title": "" }, { "docid": "5bf55e0e9c1e6eb2f44ee1b16dc89cef", "score": "0.572961", "text": "@Override\n\tpublic void targetSelected(Target selectedTarget) {\n\n\t}", "title": "" }, { "docid": "312b3b48269416336fa2e38a5d929d7a", "score": "0.5710905", "text": "private void selectAction() {\n switch (highlightedSelection) {\n case MOVE_ATTACK:\n highlightedSelection = 0;\n moveSelected = -1;\n usingItem = false;\n enemiesTargetted = true;\n menuDepth = TARGET_SELECTION;\n moveSelected = -1;\n break;\n case MOVE_SPECIAL_ATTACK:\n highlightedSelection = 0;\n menuDepth = SPECIAL_MOVE_SELECTION;\n break;\n case MOVE_USE_ITEM:\n highlightedSelection = 0;\n menuDepth = ITEM_SELECTION;\n break;\n case MOVE_WAIT:\n actionLog.add(String.format(\"%s has waited.\", playerParty[combatantTurn].name));\n playerTurn = false;\n playerParty[combatantTurn].endTurn();\n turnFound = false;\n highlightedSelection = 0;\n break;\n case MOVE_RUN:\n break;\n }\n }", "title": "" }, { "docid": "49b9a4ee26aa27b92676b9db4fed9865", "score": "0.5655136", "text": "@Override\n public Event newtonTargetChoice(ArrayList<Character> availableTargets, int maxTarget) {\n System.out.println(Color.ANSI_BLACK_BACKGROUND.escape()+Color.ANSI_GREEN.escape()+\"Select target of newton:\");\n CharacterChoiceEvent message = (CharacterChoiceEvent) characterChoice(availableTargets);\n return new NewtonPlayerTargetChoiceEvent(getUser(), message.getChosenCharacter());\n }", "title": "" }, { "docid": "1bce98af7ccc1a723ab3aa522191a237", "score": "0.55376565", "text": "@Override\n public Event weaponTargetChoice(ArrayList<Character> availableTargets, int numTarget) {\n ArrayList<String> cliColorCharacters = new ArrayList<>();\n ArrayList<String> cliStringCharacter = new ArrayList<>();\n ArrayList<Character> targetCharacter = new ArrayList<>();\n for (Character currCharacter : availableTargets) {\n cliColorCharacters.add(mapCharacterNameColors.get(currCharacter) + currCharacter.name().toUpperCase());\n cliStringCharacter.add(currCharacter.name().toUpperCase());\n }\n System.out.println(Color.ANSI_BLACK_BACKGROUND.escape() + Color.ANSI_GREEN.escape() + \"Select yor targets to hit,max targets: \" + numTarget + \"[type END to select less then \" + numTarget + \" targets]\");\n CLIHandler.arrayPrint(cliColorCharacters);\n\n Character chosenCharacter = null;\n String chosenStringCharacter = \"init\";\n\n for (int i = 0; i <= numTarget; i++) {\n System.out.print(Color.ANSI_BLACK_BACKGROUND.escape() + Color.ANSI_GREEN.escape() + \"next choice\");\n\n do {\n try {\n chosenStringCharacter = CLIHandler.stringRead();\n } catch (IllegalArgumentException e) {\n availableTargets = null;\n\n }\n\n } while (!cliStringCharacter.contains(chosenStringCharacter.toUpperCase()) && !chosenStringCharacter.equalsIgnoreCase(\"end\"));\n if (chosenStringCharacter.equalsIgnoreCase(\"end\")) {\n i = numTarget + 1;\n } else if (cliStringCharacter.contains(chosenStringCharacter.toUpperCase())) {\n int index = cliStringCharacter.indexOf(chosenStringCharacter.toUpperCase());\n if(availableTargets!=null) {\n chosenCharacter = availableTargets.get(index);\n targetCharacter.add(chosenCharacter);\n }\n }\n }\n\n return new WeaponPlayersTargetChoiceEvent(getUser(), targetCharacter);\n }", "title": "" }, { "docid": "dad1f668fc5b3b9b9d9a89e629b9c8bd", "score": "0.55334437", "text": "@Override\n protected void performActionResults(Action targetingAction) {\n PhysicalCard finalTarget = action.getPrimaryTargetCard(targetGroupId);\n\n // Perform result(s)\n action.appendEffect(\n new ModifyDefenseValueUntilEndOfTurnEffect(action, finalTarget, -4));\n }", "title": "" }, { "docid": "64b18455d89f14b3f70197582983da52", "score": "0.55071306", "text": "@Override\n protected void performActionResults(Action targetingAction) {\n final PhysicalCard finalTarget = action.getPrimaryTargetCard(targetGroupId);\n\n // Perform result(s)\n action.appendEffect(\n new DrawDestinyEffect(action, playerId) {\n @Override\n protected Collection<PhysicalCard> getGameTextAbilityManeuverOrDefenseValueTargeted() {\n return Collections.singletonList(finalTarget);\n }\n @Override\n protected void destinyDraws(SwccgGame game, List<PhysicalCard> destinyCardDraws, List<Float> destinyDrawValues, Float totalDestiny) {\n GameState gameState = game.getGameState();\n\n float defenseValue = game.getModifiersQuerying().getDefenseValue(game.getGameState(), finalTarget);\n\n\n if (totalDestiny != null) {\n gameState.sendMessage(\"Destiny: \" + GuiUtils.formatAsString(totalDestiny));\n gameState.sendMessage(\"Defense value: \" + GuiUtils.formatAsString(defenseValue));\n if ((totalDestiny + 1) > defenseValue) {\n gameState.sendMessage(\"Result: Succeeded\");\n action.appendEffect(\n new LoseCardFromTableEffect(action, finalTarget));\n } else {\n gameState.sendMessage(\"Result: Failed\");\n }\n } else {\n gameState.sendMessage(\"Result: Failed Destiny Draw.\");\n }\n }\n });\n\n }", "title": "" }, { "docid": "e11af6d4a64a85d7ffbe321540d17d14", "score": "0.54861087", "text": "public void approveTarget(Target target) {\n\t\t\n\t}", "title": "" }, { "docid": "c89a163e0e5a9e86c33506dd94c51931", "score": "0.5470892", "text": "public boolean setTarget(String keyword, Player actor, Optional<Player> target);", "title": "" }, { "docid": "6f9475b00ad9a66962d63601f7a0ecfa", "score": "0.54612136", "text": "@Test\n public void testPickTarget() {\n Assertions.assertEquals(expectedTarget, pickTarget());\n }", "title": "" }, { "docid": "331b0c9f360220843dd8c1c9c00fae18", "score": "0.54524815", "text": "public void setTarget(String target) {\n if(target != null) {\n if(Bukkit.getPlayer(target) != null)\n {\n this.targetIsPlayer = true;\n }\n this.target = target;\n }\n else {\n this.target = \"\";\n } \n }", "title": "" }, { "docid": "acc1802faf8539ee3e8009af7a00b579", "score": "0.54207176", "text": "@FXML\n public void selectDemolition(ActionEvent actionEvent) {\n Direction direction = AppGUI.extractDirection(actionEvent, b00, b01, b02, b10, b12, b20, b21, b22);\n AppGUI.getAresParamMessage().setDemolitionBuilderSex(demolitionBuilderSex);\n AppGUI.getAresParamMessage().setTargetedBlock(direction);\n stage.setOnCloseRequest(e->stage.close());\n stage.close();\n }", "title": "" }, { "docid": "1d33226709a72357f7b7aac104b72099", "score": "0.5375858", "text": "private ActionResult performRequestedAction() {\n\t\tActionResult result = null;\n\t\t\n\t\tif (stadium.hasABall(clickedCase)) {\n\t\t\t//There is a player with a ball on the clicked case\n\t\t\tif (playerWithBallCase != null) {\n\t\t\t\tthrow new IllegalStateException(\"You can not pass the ball to yourself or an enemy player.\");\n\t\t\t} else {\n\t\t\t\t//Change the actual player if possible\n\t\t\t\tPlayer clickedPlayer = stadium.getPlayer(clickedCase);\n\t\t\t\t\n\t\t\t\tif (clickedPlayer.canBeSelectedForPass()) {\n\t\t\t\t\tif (playerAloneCase != null) {\n\t\t\t\t\t\tstadium.getPlayer(playerAloneCase).setIfSelected(false);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tsetPlayerWithBallCase(clickedCase);\n\t\t\t\t\tclickedPlayer.setIfSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tthrow new IllegalStateException(\"The chosen player is not in the current playing team, or you have already made a pass this turn.\");\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (stadium.hasAPlayerOnly(clickedCase)) {\n\t\t\t//There is a player only on the clicked case\n\t\t\tif (playerWithBallCase != null) {\n\t\t\t\t//Do a pass if possible\n\t\t\t\tPlayer previousOwner = stadium.getPlayer(playerWithBallCase);\n\t\t\t\tPlayer futureOwner = stadium.getPlayer(clickedCase);\n\t\t\t\tresult = previousOwner.pass(futureOwner);\n\t\t\t\t\n\t\t\t\t//TODO remettre le if / else if en 1 bloc apr�s impl�mentation de l'�cran de fin\n\t\t\t\t\n\t\t\t\tif (result == ActionResult.DONE) {\n\t\t\t\t\tstadium.getPlayer(playerWithBallCase).setIfSelected(false);\n\t\t\t\t\tclearPlayers();\n\t\t\t\t} else if (result == ActionResult.WIN) {\n\t\t\t\t\tstadium.getPlayer(playerWithBallCase).setIfSelected(false);\n\t\t\t\t} else {\n\t\t\t\t\tthrow new IllegalStateException(\"Either it is not your turn, or the two players are not aligned or have an opponent between them.\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t//Change the actual player and change the selection value \n\t\t\t\tPlayer clickedPlayer = stadium.getPlayer(clickedCase);\n\t\t\t\t\n\t\t\t\tif (clickedPlayer.canBeSelected()) {\n\t\t\t\t\tif (playerAloneCase != null) {\n\t\t\t\t\t\tstadium.getPlayer(playerAloneCase).setIfSelected(false);\n\t\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\tsetPlayerAloneCase(clickedCase);\n\t\t\t\t\tclickedPlayer.setIfSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tthrow new IllegalStateException(\"The chosen player is not in the current playing team, or you have already made two moves this turn.\");\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\t//The case is empty\n\t\t\tif (playerAloneCase != null) {\n\t\t\t\t//If the selected case is next to the player case, we move the player\n\t\t\t\tPlayer player = stadium.getPlayer(playerAloneCase);\n\t\t\t\tMoveDirection direction = stadium.getMoveDirection(player, clickedCase);\n\t\t\t\t\n\t\t\t\tif (direction == null) {\n\t\t\t\t\tthrow new IllegalStateException(\"Either it is not your turn, or the selected case is not situated next to the player.\");\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tresult = player.move(direction);\n\t\t\t\t\n\t\t\t\tif (result == ActionResult.DONE) {\n\t\t\t\t\tsetPlayerAloneCase(clickedCase);\n\t\t\t\t} else if (result == ActionResult.ANTIPLAY) {\n\t\t\t\t\tthrow new RuntimeException(\"Antiplay detected!\");\n\t\t\t\t} else {\n\t\t\t\t\tthrow new IllegalStateException(\"Either it is not your turn, or the selected case is not situated next to the player.\");\n\t\t\t\t}\n\t\t\t} else if (playerWithBallCase != null) {\n\t\t\t\tclearSelectedPlayer();\n\t\t\t\tthrow new IllegalStateException(\"You can not move a player that has the ball.\");\n\t\t\t} else {\n\t\t\t\tthrow new IllegalStateException(\"You must select a player before selecting an empty case!\");\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn result;\n\t}", "title": "" }, { "docid": "2a2f220ccac4a6f2d8e3381ead912e82", "score": "0.5362616", "text": "public void select() {\n\t\t((MenuChoice) choices.elementAt(selected)).execute(midlet);\n\t}", "title": "" }, { "docid": "bbe7f339f5fd3b111574d3992bc4ab0e", "score": "0.53364164", "text": "public void chosen(Choice m) throws InvalidValueException {\n lobby.callPlayerByName(m.getPlayer()).setMySide(m.getIndex());\n cTurn.actualPlayerIsDone();\n }", "title": "" }, { "docid": "e5ff3023d4e889dd38b098f7d84a8016", "score": "0.53309464", "text": "public void setTarget(String target)\n {\n this.target = target;\n }", "title": "" }, { "docid": "f995d1f5d8b9f818df9f75443940d92a", "score": "0.53290844", "text": "@Override\n public void action() {\n Auction auction = ((ArtistManagerAgent) myAgent).getAuction();\n AuctionResult auctionResult = ((ArtistManagerAgent) myAgent).getAuctionResult();\n ArrayList<ACLMessage> possibleWinners = ((ArtistManagerAgent) myAgent).getPossibleWinners();\n ACLMessage reply = null;\n if(auctionResult.getAuctioneer().equals(myAgent.getAID())) {\n AID winner = possibleWinners.get(0).getSender();\n auction.setWinner(winner);\n ((ArtistManagerAgent) myAgent).setAuction(auction);\n reply = new ACLMessage(ACLMessage.ACCEPT_PROPOSAL);\n reply.setOntology(\"Ontology(Class(SelectWinner partial OneShotBehaviour))\");\n reply.setContent(\"Your won auction for artifact '\" + auction.getArtifactTitle() + \"' with a bid of \" + auction.getCurrentPrice());\n reply.addReceiver(winner);\n myAgent.send(reply);\n possibleWinners.remove(winner);\n }\n reply = new ACLMessage(ACLMessage.REJECT_PROPOSAL);\n reply.setOntology(\"Ontology(Class(SelectWinner partial OneShotBehaviour))\");\n reply.setContent(\"Your bid for artifact \" + auction.getArtifactTitle() + \" was not accepted\");\n for(ACLMessage loser : possibleWinners){\n reply.addReceiver(loser.getSender());\n }\n myAgent.send(reply);\n }", "title": "" }, { "docid": "45109e524b55c54131a97e6ff4610e8e", "score": "0.5324508", "text": "@Override\n protected void performActionResults(Action targetingAction) {\n final PhysicalCard finalTarget = targetingAction.getPrimaryTargetCard(targetGroupId);\n\n // Perform result(s)\n action.appendEffect(\n new DrawDestinyEffect(action, playerId, 2) {\n @Override\n protected void destinyDraws(SwccgGame game, List<PhysicalCard> destinyCardDraws, final List<Float> destinyDrawValues1, final Float totalDestiny1) {\n action.appendEffect(\n new DrawDestinyEffect(action, opponent, 2) {\n @Override\n protected void destinyDraws(SwccgGame game, List<PhysicalCard> destinyCardDraws, List<Float> destinyDrawValues2, Float totalDestiny2) {\n GameState gameState = game.getGameState();\n for (Float drawValues1 : destinyDrawValues1) {\n for (Float drawValues2 : destinyDrawValues2) {\n if (drawValues2.equals(drawValues1)) {\n gameState.sendMessage(\"Result: Succeeded\");\n action.appendEffect(\n new ResetPowerUntilEndOfBattleEffect(action, finalTarget, 0));\n return;\n }\n }\n }\n gameState.sendMessage(\"Result: Failed\");\n }\n }\n );\n }\n }\n );\n }", "title": "" }, { "docid": "aa372fbc1c3e3e3ad72876499b3fc185", "score": "0.53232", "text": "public void actionPerformed(ActionEvent e) {\n\n JOptionPane.showMessageDialog(null, \"You've selected \"\n + e.getActionCommand());\n\n }", "title": "" }, { "docid": "67a3caacaf23f40660a9c8e4dbd61c80", "score": "0.53160244", "text": "void trySettle(){\n getTarget();\n if (uc.canMove()) {\n bugPath.fightMove();\n if (target != null && target.loc != null && target.loc.distanceSquared(uc.getLocation()) > 0)\n bugPath.moveTo(target.loc);\n if (target != null && target.value >= MIN_TARGET_VALUE && uc.getLocation().distanceSquared(target.loc) == 0) {\n settled = true;\n settleLoc = uc.getLocation();\n basicCombatUnit.mes.cm.occupyCell(settleLoc);\n }\n }\n }", "title": "" }, { "docid": "575fc2514e6d118964e2eea0ed5a409d", "score": "0.5312075", "text": "private void attackMade(boolean enemiesTargetted, int target, Combatant attacker, int moveUsed) {\n String actionText;\n String targetName;\n //Which party are we targetting?\n Combatant[] partyTargetted;\n if (enemiesTargetted) {\n partyTargetted = enemyParty;\n } else {\n partyTargetted = playerParty;\n }\n if (moveUsed < 0) {\n //Basic attack\n targetName = partyTargetted[target].name;\n partyTargetted[target] = attacker.basicAttack(partyTargetted[target]);\n actionText = String.format(\"%s basic attacked %s\", attacker.name, targetName);\n } else if (usingItem) {\n //Item used\n targetName = partyTargetted[target].name;\n partyTargetted[target] = inventory.item(moveUsed).usedOn(partyTargetted[target]);\n actionText = String.format(\"%s used on %s\", inventory.item(moveUsed).name, targetName);\n } else {\n //Special Move used\n if (target < 0) {\n //AoE special move\n if (enemiesTargetted) {\n targetName = \"the enemy party\";\n } else {\n targetName = \"your party\";\n }\n for (int c = 0; c < partyTargetted.length; c++) {\n if (partyTargetted[c] != null) {\n partyTargetted[c] = attacker.usedSpecialMove(moveUsed, partyTargetted[c]);\n }\n }\n } else {\n targetName = partyTargetted[target].name;\n partyTargetted[target] = attacker.usedSpecialMove(moveUsed, partyTargetted[target]);\n }\n actionText = String.format(\"%s used %s on %s\", attacker.name, attacker.specialMoves[moveUsed].name, targetName);\n }\n actionLog.add(actionText);\n if (enemiesTargetted) {\n enemyParty = partyTargetted;\n } else {\n playerParty = partyTargetted;\n }\n }", "title": "" }, { "docid": "45147a53984ec1bbb2717d8c4f311335", "score": "0.531079", "text": "@FXML\n public void onClickConfirm() throws RemoteException {\n ArrayList<SelectableBuildingComponent> selected = this.getSelectedBuildingComponents();\n\n if (selected == null || selected.size() == 0 || selected.size() > 1) {\n return;\n }\n\n SelectableBuildingComponent building = selected.get(0);\n\n building.getModel().harvest(this.client.getGameClient());\n\n this.goods = this.harvest.getGoods();\n\n for (Perk perk:building.getModel().listPerks()) {\n GoodRewardComponent goodRewardComponent = new GoodRewardComponent();\n\n if (perk instanceof HarvestableGoodPerk){\n Good good = ((HarvestableGoodPerk) perk).getGood();\n\n GoodReward goodReward = new GoodReward(good, 1);\n\n goodRewardComponent.setModel(goodReward);\n\n this.goods.add(goodRewardComponent);\n } else if (perk instanceof ReplenishableGoodPerk){\n Good good = ((ReplenishableGoodPerk) perk).getGood();\n\n GoodReward goodReward = new GoodReward(good, 1);\n\n goodRewardComponent.setModel(goodReward);\n\n this.goods.add(goodRewardComponent);\n }\n }\n\n this.showMessage(\"Harvested good.\");\n\n this.harvest.setGoods(this.goods);\n for (GoodRewardComponent good:goods) {\n System.out.println( good.getModel().isGood());\n }\n this.client.getGameClient().requestAction(this.harvest);\n }", "title": "" }, { "docid": "58c0e9ea9c126e0882fdab59a5132d14", "score": "0.53096294", "text": "@Override\n public void play(Creature target, BoardState boardState, EventManager eventManager, int playerID, int spellDamage) {\n target.accept(new OneTurnAttackBuff(2));\n }", "title": "" }, { "docid": "3a89f1658a7da1faba550ca543940a28", "score": "0.53093725", "text": "public boolean action(Action act, Creature performer, Item target, short action, float counter) {\n/* 73 */ boolean done = true;\n/* 74 */ if (action == 1 && target.getTemplateId() == 1000) {\n/* */ \n/* */ \n/* */ \n/* 78 */ performer.getCommunicator().sendNormalServerMessage(\"This is the writ of ownership. It can be traded with another player to transfer ownership.\");\n/* */ \n/* */ \n/* */ }\n/* 82 */ else if (action != 17) {\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 91 */ done = super.action(act, performer, target, action, counter);\n/* 92 */ } return done;\n/* */ }", "title": "" }, { "docid": "9b5767f184163b561313ee696093635d", "score": "0.5281946", "text": "@Override\n protected void performActionResults(Action targetingAction) {\n PhysicalCard finalDroid = action.getPrimaryTargetCard(targetGroupId);\n\n // Perform result(s)\n action.appendEffect(\n new LoseCardFromTableEffect(action, finalDroid));\n }", "title": "" }, { "docid": "dbd9c610444f0caf5c34a9c0b068619b", "score": "0.52671325", "text": "public void setTarget(String sTarget);", "title": "" }, { "docid": "8821b2f510e141f3fed42b527e224c7b", "score": "0.5264327", "text": "@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tif (tapped.getChoosed() == null)\n\t\t\treturn;\n\n\t\tJButton b = (JButton) e.getSource();\n\n\t\ttry {\n\t\t\tif (b.getClientProperty(\"Building\") == null) {\n\t\t\t\tCitizen c = (Citizen) b.getClientProperty(\"Citizen\");\n\t\t\t\ttapped.getChoosed().respond(c);\n\t\t\t} else {\n\t\t\t\tResidentialBuilding r = (ResidentialBuilding) b.getClientProperty(\"Building\");\n\t\t\t\ttapped.getChoosed().respond(r);\n\t\t\t}\n\t\t\ttapped.setChoosed(null);\n\t\t\ttapped.prev.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0));\n\t\t\t// b.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0));\n\t\t} catch (CannotTreatException e1) {\n\t\t\tJOptionPane.showMessageDialog(null, e1.getMessage(), \"WARNING\", JOptionPane.ERROR_MESSAGE);\n\t\t\ttapped.prev.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0));\n\t\t\ttapped.setChoosed(null);\n\t\t} catch (IncompatibleTargetException e1) {\n\t\t\tJOptionPane.showMessageDialog(null, e1.getMessage(), \"WARNING\", JOptionPane.ERROR_MESSAGE);\n\t\t\ttapped.prev.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0));\n\t\t\ttapped.setChoosed(null);\n\t\t}\n\n\t}", "title": "" }, { "docid": "e79a99d470dcc7906076c9b67b8b4aab", "score": "0.525729", "text": "void setTarget(Ttarget target);", "title": "" }, { "docid": "090be33dd4f327ba7d5a4eedb44a2365", "score": "0.5248465", "text": "@Override\n protected void performActionResults(Action targetingAction) {\n Collection<PhysicalCard> finalStarshipsAndVehicles = action.getPrimaryTargetCards(targetGroupId1);\n // Perform result(s)\n action.appendEffect(\n new MoveCardsAwayEffect(action, playerId, Filters.in(finalStarshipsAndVehicles)));\n }", "title": "" }, { "docid": "bd268d41bc56d1962ae443af6cc531e8", "score": "0.524593", "text": "public void setTarget (IDView target) {\n this.target = target;\n }", "title": "" }, { "docid": "9a29e27afa6c3957651d4526dc41b078", "score": "0.5238164", "text": "@Override\n\tpublic void actOnMenuSelect() {\n\t\tmenu = new FighterActionsMenu();\n\t\tString input = menu.getUserInput();\n\t\tgetFighterActionShowerDelegate().actOnMenuSelection(input);\n\t\tgetOpponentActionShowerDelegate().actOnOpponentAction();\n\t\tgetResultShower().notifyFightIntermediateResults();\n\t\tpresentMenu();\n\t}", "title": "" }, { "docid": "cd4ecef7bf7d0c4c6c53060f9a73bc20", "score": "0.5237415", "text": "private void attackConqueredTerritoryResult(Territory targetTerritory) {\n System.out.println(\"You have selected to attack territory number \" + targetTerritory.getID());\n printAndBuySelectedUnit();\n int defendingArmyAmountOfUnits = targetTerritory.getConquerArmyForce().getUnits().size();\n\n int attackerWon = attackConqueredTerritory();\n if(attackerWon == 1) {\n System.out.println(\"VICTORY!\"\n + \"\\n\"\n + \"You have conquered territory number: \" + targetTerritory.getID());\n if(targetTerritory.getConquerArmyForce()== null) {\n System.out.println(\"Army is not above threshold , exchanging Turings instead.\");\n }\n else printArmyOnTerritory(targetTerritory);\n }\n else if(attackerWon == 0) {\n System.out.println(\"DEFEAT!\");\n }\n else {\n System.out.println(\"DRAW!\");\n }\n System.out.println(\"The defending territory had \"\n + defendingArmyAmountOfUnits\n + \" Units!\"\n + \"\\n\");\n }", "title": "" }, { "docid": "5b82804f1f28bbe2a260bd04334804c6", "score": "0.52318263", "text": "@Override\n\tprotected void selectTarget() {\n\t\tif( lastClickedPosition == null)\n\t\t\treturn;\n\t\t\n\t\tif( moveTarget == null || !moveTarget.equals(lastClickedPosition)) {\n\t\t\tmoveTarget = lastClickedPosition;\n\t\t\tpath.clear();\n\t\t\tcalcPath();\n\t\t}\n\t}", "title": "" }, { "docid": "6da394f22797d2b2145b191416dfe8e0", "score": "0.52073586", "text": "public void setTarget(String target) {\n this.target = target;\n }", "title": "" }, { "docid": "8fe2898b56284a4e5f7929a89891bca1", "score": "0.520126", "text": "public void act()\n {\n if(target == null){\n avoidObs(true);\n wander();\n }else{\n chaseHuman(); //Chase after the human and attack is caughtII\n }\n\n if (hungerCounter >= 250){\n hungerLevel--;\n if(hungerLevel < 0){\n hungerLevel = 0;\n health -= 10;\n }\n }else{\n hungerCounter++; \n }\n\n try{\n getTarget();\n }catch(Exception e){\n }\n }", "title": "" }, { "docid": "301877aaa7a59cfb2ebee9dc55c9d081", "score": "0.5176728", "text": "public void selected(){\n\t\t//\t\tif(this.mission!=null) {\n\t\t//\t\t\tif(this.mdao.get(this.mission.getID())==null){\n\t\t//\t\t\tsaveMission();\n\t\t//\t\t\t}\n\t\t//\t\t\telse{\n\t\t//\t\t\tupdateMission();\n\t\t//\t\t\t}\n\t\t//\t\t}\n\t}", "title": "" }, { "docid": "fbfb1364ca8b7f162bb705cf98fc38b4", "score": "0.51644886", "text": "public void actionPerformed(ActionEvent e) {\n\t\t\tif (game.getCurrentIdx() == activePlayer)\n\t\t\t{ \n\t\t\t\tint[] cardIdx = null;\n\t\t\t\tgame.makeMove(activePlayer, cardIdx);\n\t\t\t\tresetSelected();\n\t\t\t\trepaint();\n\t\t\t} \n\t\t\t\n\t\t\telse \n\t\t\t{\tprintMsg(\"It is not your turn!\\n\");\tresetSelected();\trepaint(); }\n\t\t}", "title": "" }, { "docid": "b16798fe474cd7e1836a4119d8c12f85", "score": "0.5152625", "text": "@Override\r\n\tpublic int actionChosen() {\r\n\t\treturn theChoice;\r\n\t}", "title": "" }, { "docid": "4f2a2baa09a2ef5475889ab14dbf08cb", "score": "0.5148985", "text": "@Override\n\tpublic String menuDescription(Actor actor) {\n\t\treturn \"Select \" + getTarget();\n\t}", "title": "" }, { "docid": "09dee820abfc5974a959641541701fc1", "score": "0.5143433", "text": "public void informAboutTargets(RequestTargetsMessage message, ClientIO client) {\n\t\tECSAction action = findAction(message.getId(), message.getAction());\n\t\tTargetSet targetAction = action.getTargetSets().get(0);\n\t\tList<Entity> targets = targetAction.findPossibleTargets();\n\t\tint[] targetIds = targets.stream().mapToInt(e -> e.getId()).toArray();\n\t\t\n\t\tclient.sendToClient(new AvailableTargetsMessage(message.getId(), message.getAction(), targetIds, targetAction.getMin(), targetAction.getMax()));\n\t}", "title": "" }, { "docid": "05748cf8e73fef3dee82fec2b2526b97", "score": "0.5143071", "text": "public abstract void setTarget(Character c);", "title": "" }, { "docid": "2675914740244e2f08e42472f638b4d4", "score": "0.5140768", "text": "@Override\n public Event targetingScopeTargetChoice(ArrayList<Character> possibleTargets) {\n CharacterChoiceEvent message = (CharacterChoiceEvent) characterChoice(possibleTargets);\n return new TargetingScopeTargetChoiceEvent(getUser(), message.getChosenCharacter());\n }", "title": "" }, { "docid": "f7e0ae88474e0f388af8536b1515d96a", "score": "0.514054", "text": "@Override\n\tpublic boolean shouldExecute()\n\t{\n\t\tEntityLivingBase target = this.splinterDrone.getAttackTarget();\n\t\tif (target == null)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tthis.target = target;\n\t\t\treturn true;\n\t\t}\n\t}", "title": "" }, { "docid": "875dc138935a42b04dd2d236b0e83cff", "score": "0.51367795", "text": "public void setTarget(Target target) {\n if ( this.target != target ) {\n \n this.target = target;\n \n senseTree.setTarget(target);\n }\n \n }", "title": "" }, { "docid": "b692dd3ec42515df786ae3cf13784979", "score": "0.5121061", "text": "public void setTarget(Target target) {\n this.target = target;\n }", "title": "" }, { "docid": "431d14372f15e3ef2a04da798d7bc556", "score": "0.5120413", "text": "private void doAction() {\n if (doer == null) {\n doer = currentPlayer.getFigureOnPos(clickb);\n }\n if (doer != null) switch (selectedAction) {\n case \"Attack\" -> executeAttack();\n case \"Move\" -> executeMove();\n case \"Heal\" -> executeHeal();\n }\n }", "title": "" }, { "docid": "0ce43ce3a8d32967d0c69afb8cfedbb4", "score": "0.5113819", "text": "public ServerCreature getTarget() {\r\n\t\treturn target;\r\n\t}", "title": "" }, { "docid": "8fc315fda32ce7c7697338350ca46c86", "score": "0.5107903", "text": "public void actionPerformed(ActionEvent event)\n\t\t{\n\t\t\t\n\t\t\t\n\t\t\tif (game.getCurrentIdx() == activePlayer)\n\t\t\t{ \n\t\t\t\tif (getSelected().length == 0) \n\t\t\t\t{\t\n\t\t\t\t\tint [] cardIdx = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};\n\t\t\t\t\tgame.makeMove(activePlayer, cardIdx);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\telse\t\t\n\t\t\t\t\tgame.makeMove(activePlayer, getSelected());\t\t\n\t\t\t\t\t\n\t\t\t\tresetSelected();\n\t\t\t\trepaint();\n\t\t\t}\n\t\t\telse \t\t\n\t\t\t\tprintMsg(\"It is not your turn\\n\");resetSelected();repaint();\t\t\n\t\t}", "title": "" }, { "docid": "188180fc896a4c429d19c5d83963195d", "score": "0.50941557", "text": "@Override\n\tpublic void setActivePart(IAction action, IWorkbenchPart targetPart) {\n\t\t\n\t}", "title": "" }, { "docid": "6261fbb63d56097650c15ae8f1e42737", "score": "0.50512713", "text": "public void determineAction(){\n ai.selectAction();\n storedAction = ai.getAction();\n }", "title": "" }, { "docid": "a58c6d329e553fdeea0dcd98174eb7f3", "score": "0.5046898", "text": "@Override\n public void executeStrategy()\n {\n // Get a random hint that is *not* a word in the board\n Clue clue = game.getSuggestionGraph().getRandomClue();\n clue.value = Game.RANDOM.nextInt(clue.getCards().size()) + 1;\n\n // Give the clue\n Commander.log(name() + \" gave the clue \" + clue);\n game.setCurrentClue(clue);\n\n // We are done\n this.game.endCurrentTurn();\n }", "title": "" }, { "docid": "e35897a3cde5e374dcf0847da596ee07", "score": "0.5046218", "text": "@Override\n\tpublic void setTarget(Entity target) {\n\t\t\n\t}", "title": "" }, { "docid": "43aabc53bcdc357222cc391234f4e9d7", "score": "0.5037003", "text": "@Override\r\n public void actionPerformed(ActionEvent e) {\n systemLog.log(\"Show others\");\r\n MonsterQuestMain.cardLayout.show(MonsterQuestMain.MonsterQuestPanel, \"othersOption\");\r\n MonsterQuestMain.MonsterQuestWindow.repaint();\r\n }", "title": "" }, { "docid": "7e057876996c7ee0e0a408b250a286f0", "score": "0.5017123", "text": "private void UpdateActionTowardTheTarget() {\n float ownSizeX = this.mSize.x*this.mScale;\n float ownSizeY = this.mSize.y*this.mScale;\n // when over through the target, go away.\n if (this.mPos.x+((int)(ownSizeX)>>1) <= this.mTargetPosition.x+this.mTargetWholeSize.x) {\n this.mMoveX = -5.0f;\n this.mMoveY = 5.0f;\n return;\n }\n // own center position\n double ownPosX = this.mPos.x+((int)ownSizeX>>1);\n double ownPosY = this.mPos.y+((int)ownSizeY>>1);\n // target's center position\n double targetPosX = this.mTargetPosition.x+((int)this.mTargetWholeSize.x>>1);\n double targetPosY = this.mTargetPosition.y+((int)this.mTargetWholeSize.y>>1);\n // calculate triangle area.\n // bottom\n double bottom = targetPosX - ownPosX;\n // height\n double height = targetPosY - ownPosY;\n // oblique side.\n double oblique = Math.sqrt((bottom * bottom)+(height * height));\n // calculate move\n this.mMoveX = (float)(bottom / oblique) * Math.abs(this.mSpeed);\n this.mMoveY = (float)(height / oblique) * Math.abs(this.mSpeed);\n\n }", "title": "" }, { "docid": "527a7b19530e0001c4bc278eedefde04", "score": "0.50023174", "text": "public void select() {\n\t\tif (curChoice == 0) {\n\t\t\tgsm.setScene(new IntroScene(gsm));\n\t\t\tgsm.clearScene(this);\n\t\t} else {\n\t\t\tSystem.exit(0);\n\t\t}\n\t}", "title": "" }, { "docid": "1295f5adc681db6fa4e7e36609243f4e", "score": "0.49990463", "text": "public void actionPerformed(ActionEvent e){\n\t\t\n\t\tif(target != null){\n\t\t\t// actually add the oil slick\n\t\t\ttarget.addOilSlick();\n\t\t} else{\n\t\t\tSystem.out.println(\"Command recieved to add oil slick, but a GameWorld target has been set...\");\n\t\t}\n\t}", "title": "" }, { "docid": "a803020f8dc652b01716157564c89e3b", "score": "0.49927148", "text": "public Actor getTarget() {\n\t\treturn this.target;\n\t}", "title": "" }, { "docid": "6e48cdcd6dc8acfd83cd9f412d945bac", "score": "0.49925777", "text": "public void ConfirmCTSelected() {\n\n\t\tWebElement okButton = driverManager.getDriver().findElement(By.id(okButton1));\n\t\tokButton.click();\n\n\t}", "title": "" }, { "docid": "8eb0b751201e3adb5fe551b8b2ba4fd9", "score": "0.49909413", "text": "public ConfirmDestinationState(Game game, Craft craft, Target target)\n{\n\tsuper(game);\n\t_craft = craft;\n\t_target = target;\n\tWaypoint w = (Waypoint)(_target);\n\t_screen = false;\n\n\t// Create objects\n\t_window = new Window(this, 224, 72, 16, 64);\n\t_btnOk = new TextButton(50, 12, 68, 104);\n\t_btnCancel = new TextButton(50, 12, 138, 104);\n\t_txtTarget = new Text(214, 16, 21, 80);\n\n\t// Set palette\n\tif (w != null && w.getId() == 0)\n\t{\n\t\t_game.setPalette(_game.getResourcePack().getPalette(\"BACKPALS.DAT\").getColors(Palette.blockOffset(6)), Palette.backPos, 16);\n\t}\n\telse\n\t{\n\t\t_game.setPalette(_game.getResourcePack().getPalette(\"BACKPALS.DAT\").getColors(Palette.blockOffset(4)), Palette.backPos, 16);\n\t}\n\t\n\tadd(_window);\n\tadd(_btnOk);\n\tadd(_btnCancel);\n\tadd(_txtTarget);\n\t\n\t// Set up objects\n\t_window.setColor(Palette.blockOffset(15)+2);\n\t_window.setBackground(_game.getResourcePack().getSurface(\"BACK12.SCR\"));\n\n\t_btnOk.setColor(Palette.blockOffset(8)+8);\n\t_btnOk.setText(_game.getLanguage().getString(\"STR_OK\"));\n\t_btnOk.onMouseClick(new ActionHandler() {\n\t\tpublic void handle(Action action) {\n\t\t\tbtnOkClick(action);\n\t\t}\n\t});\n\n\t_btnCancel.setColor(Palette.blockOffset(8)+8);\n\t_btnCancel.setText(_game.getLanguage().getString(\"STR_CANCEL_UC\"));\n\t_btnCancel.onMouseClick(new ActionHandler() {\n\t\tpublic void handle(Action action) {\n\t\t\tbtnCancelClick(action);\n\t\t}\n\t});\n\n\t_txtTarget.setColor(Palette.blockOffset(15)-1);\n\t_txtTarget.setBig();\n\t_txtTarget.setAlign(TextHAlign.ALIGN_CENTER);\n\tStringBuffer ss = new StringBuffer();\n\tif (w != null && w.getId() == 0)\n\t{\n\t\tss.append(_game.getLanguage().getString(\"STR_TARGET_WAY_POINT\"));\n\t}\n\telse\n\t{\n\t\tss.append(_game.getLanguage().getString(\"STR_TARGET\") + _target.getName(_game.getLanguage()));\n\t}\n\t_txtTarget.setText(ss.toString());\n}", "title": "" }, { "docid": "95865a62db42458552013d46022d250b", "score": "0.4989066", "text": "private void arrivedAtTarget(int chosenOne) {\n textView.setText(\"Feedback\");\n\n for (int i = 0; i < mapParams.numNeighbours; i++) {\n if (i != chosenOne) {\n imageButtons[i].animate().alpha(0).setDuration(preferencesManager.dm_animation_duration);\n }\n }\n //Highlight the correct two\n h1.postDelayed(new Runnable() {\n @Override\n public void run() {\n ibCurrLoc.setVisibility(View.VISIBLE);\n ibCurrLoc.setEnabled(true);\n ibCurrLoc.setBackground(ContextCompat.getDrawable(mContext, R.drawable.double_border));\n ibTarget.setBackground(ContextCompat.getDrawable(mContext, R.drawable.double_border));\n endOfTrial(true);\n }\n }, (preferencesManager.dm_animation_duration * 2 + 400));\n\n }", "title": "" }, { "docid": "88d8700d1c1e53e042baf6b0e56f8a34", "score": "0.49811766", "text": "@Action(enabledProperty = EDIT + ENABLED)\n public void edit() {\n log.info(resourceMap.getString(EDIT, selectedTargetListSets.get(0)));\n try {\n if (reloadingData()) {\n handleError(null, EDIT + RELOADING_DATA,\n selectedTargetListSets.get(0));\n return;\n }\n TargetListSetEditor.edit(selectedTargetListSets.get(0),\n targetListSetModel.getTargetListSets());\n } catch (UiException e) {\n handleError(e, EDIT, selectedTargetListSets.get(0));\n }\n }", "title": "" }, { "docid": "3232393db96f5c7b34a5cc260704208a", "score": "0.49632573", "text": "public UnfurledChoice(Component target) {\n super(target);\n }", "title": "" }, { "docid": "58abbe8dda70ba1417f9457f3f0499b1", "score": "0.49584097", "text": "public void discardTarget() {\n //Activate Button?\n this.jButtonCheckTarget.setEnabled(true);\n //Call discardfunction\n SimOptiFactory.getSimulator().discardCalculatedOptimum();\n //Reset Label\n this.jLabelTargetStatus.setText(\"\");\n }", "title": "" }, { "docid": "2f2cf250505b533965b92e3eab9b5048", "score": "0.49435875", "text": "public void selectWorker(int target)\n {\n this.worker = player.getWorkers().get(target);\n //reset old locations\n this.worker.setLastBuildLocation(null);\n this.worker.setLastLocation(null);\n }", "title": "" }, { "docid": "3939f2b08c5f86e3efee21a23bc0b71b", "score": "0.4942859", "text": "public void setTargetId(int value) {\n this.targetId = value;\n }", "title": "" }, { "docid": "32fa87c36adc9657dc3cb304c41f9a9d", "score": "0.49428427", "text": "private void choose(){\n if (game.getState()== Game.States.FIRST_ANSWERS || game.getState() == Game.States.FIRST_REANSWERS || game.getState()== Game.States.FIRST_WRONG)\n game.setState(Game.States.SECOND_CHOOSES);\n\n else if (game.getState()== Game.States.SECOND_ANSWERS || game.getState() == Game.States.SECOND_REANSWERS || game.getState()== Game.States.SECOND_WRONG)\n game.setState(Game.States.FIRST_CHOOSES);\n\n changeIndicator();\n }", "title": "" }, { "docid": "15078c9cc0671e05bd5a98c12c8fe74a", "score": "0.49384332", "text": "public boolean postGive(MOB mob, MOB targetM, Item giveThis, boolean quiet);", "title": "" }, { "docid": "cedc152bce325208c404bf5d2f9b93c3", "score": "0.49337766", "text": "@Override\n\tpublic void performAction() \n\t{\n\t\t\n\t\tSystem.out.println(\"===> SkillTurnAction: performAction(): \" + this); // TODO: TESTING ONLY.\n\t\t\n\t\tthis.user.useSkill(this.skill);\n\t}", "title": "" }, { "docid": "749b8c81b15f0551023177d2567f52e9", "score": "0.49284673", "text": "public void makeTargetsSelect() {\r\n \ttargets = new SelectMultipleInput(\"Targets\", null);\r\n \t targets.setLabel(\"Select animal(s):\");\r\n \t\ttry {\r\n \t\t\tList<Integer> investigationIds = cs.getAllUserInvestigationIds(this.getLogin().getUserId());\r\n \t\t for (Integer animalId : cs.getAllObservationTargetIds(\"Individual\", true, investigationIds)) {\r\n \t\t \ttargets.addOption(animalId, getTargetName(animalId));\r\n \t\t }\r\n \t\t} catch(Exception e) {\r\n \t\t this.setMessages(new ScreenMessage(\"An error occurred while retrieving animals from the database\", false));\r\n \t\t}\r\n \t\tpanel.add(targets);\r\n }", "title": "" }, { "docid": "06fe1f9012e234ae3905a9af49ac4cf2", "score": "0.49238738", "text": "public void setTarget(Vector2 target) {\n\t\tthis.target = target;\n\t}", "title": "" }, { "docid": "bb6b33541c9c58b8638eff1c9324a16f", "score": "0.49094972", "text": "private void kite(RobotInfo kitingTarget) throws GameActionException {\n\t\tDirection toTarget = myLocation.directionTo(kitingTarget.location);\n\t\tint currentDistance = myLocation.distanceSquaredTo(kitingTarget.location);\n\t\tint kiteDistance = myLocation.add(toTarget.opposite()).distanceSquaredTo(kitingTarget.location);\n\t\t\n\t\tif(kiteDistance <= attackRadiusSquared && targetEnemy.type != RobotType.ZOMBIEDEN) {\n\t\t\ttryToMove(toTarget.opposite());\n\t\t} else if (currentDistance > attackRadiusSquared) {\n\t\t\ttryToMove(toTarget);\n\t\t}\n\t}", "title": "" }, { "docid": "2a0b33eeecbe94b33d5a61e4965be147", "score": "0.49092025", "text": "public void set_target(String target) throws Exception{\n\t\tthis.target = target;\n\t}", "title": "" }, { "docid": "3039da1e4b99a352098be91b1b548aaf", "score": "0.4903763", "text": "public void execute() {\n\t\tUnit unit = (Unit) Game.game.getEntity(this.unit);\n\t\tif (unit != null) {\n\t\t\tEntity enemy = Game.game.getEntity(this.enemy);\n\t\t\tif (enemy != null) {\n\t\t\t\tunit.setTarget(enemy, stacked);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "38815af9a705755d3056808f37ec1414", "score": "0.49028447", "text": "public void setTarget(Space target) {\n this.target = target;\n }", "title": "" }, { "docid": "f837af4fb53f8e7c8047a6773f848339", "score": "0.49007636", "text": "@Override\r\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tpw.choosePresetCharacter();\r\n\t}", "title": "" }, { "docid": "e02682ee6d39d4ee4fa91bb7eb60f3b0", "score": "0.48980466", "text": "public void onUse(AbstractCard card, AbstractCreature target, UseCardAction action) {\n\n }", "title": "" }, { "docid": "6cf4cd799b8c9fe747f515ccdb0caa33", "score": "0.48966545", "text": "public void confirm() {\n\n if(!nickSet) {\n String name = nickname.getCharacters().toString();\n view.sendMessage(view.createServerTextMessage(name));\n view.setNickClient(name);\n\n } else {\n if(modeChoice.getValue().equals(\"4 players\")) {\n view.sendMessage(view.createServerTextMessage(\"4\"));\n } else if(modeChoice.getValue().equals(\"2 players\")) {\n view.sendMessage(view.createServerTextMessage(\"2\"));\n } else if(modeChoice.getValue().equals(\"3 players\")) {\n view.sendMessage(view.createServerTextMessage(\"3\"));\n } else {\n view.sendMessage(view.createServerTextMessage(\"1\"));\n }\n\n modeChoice.setDisable(true);\n playButton.setDisable(true);\n }\n\n }", "title": "" }, { "docid": "2e00b27799f471945ec66093f1252949", "score": "0.48916063", "text": "@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tJOptionPane.showMessageDialog(null, \"Woohoo.\");\n\t\tint rand = new Random().nextInt(5);\n\t\tif (rand==0) {\n\t\t\tJOptionPane.showMessageDialog(null, \"You will become a chef.\");\n\t\t}\n\t\tif (rand==1) {\n\t\t\tJOptionPane.showMessageDialog(null, \"You will become a doctor.\");\n\t\t}\n\t\tif(rand==2) {\n\t\t\tJOptionPane.showMessageDialog(null, \"You will become a programmer.\");\n\t\t}\n\t\tif(rand==3) {\n\t\t\tJOptionPane.showMessageDialog(null, \"You will become a lawyer.\");\n\t\t}\n\t\tif(rand==4) {\n\t\t\tJOptionPane.showMessageDialog(null, \"You will become a research scientist.\");\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "01120a694d934b31b4543e7bf11a69b6", "score": "0.48774722", "text": "@Override\n protected Targetable checkForTarget() {\n for (PcActor unit : getStage().getUnitManager().getUnits()) {\n if (unit.isTargeting(this) && isTargetable(unit)) {\n return unit;\n }\n }\n return super.checkForTarget();\n }", "title": "" }, { "docid": "a99ec3a5667aeaa9bb6f67a18e55b92d", "score": "0.48771206", "text": "@Override\n\tpublic void optionSelected(AbstractPlayer arg0, AbstractMonster arg1, int arg2) {\n\t\t\n\t}", "title": "" }, { "docid": "a99ec3a5667aeaa9bb6f67a18e55b92d", "score": "0.48771206", "text": "@Override\n\tpublic void optionSelected(AbstractPlayer arg0, AbstractMonster arg1, int arg2) {\n\t\t\n\t}", "title": "" }, { "docid": "f81c1f4e558cae6711bd37902079ccd7", "score": "0.48756778", "text": "public void setTarget(Discoverable target) {\n this.target = target;\n }", "title": "" }, { "docid": "e3a4cfad0ea5793dd3f9d22e24666d05", "score": "0.48744103", "text": "@Override\n\t\t\tpublic void handleAction(Action action, Object sender, Object target) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "ec2cedcf362d377826640e5887451b8b", "score": "0.48383084", "text": "private void arrivedAtWrongTarget() {\n textView.setText(\"Feedback\");\n h0.postDelayed(new Runnable() {\n @Override\n public void run() {\n ibCurrLoc.setVisibility(View.VISIBLE);\n ibCurrLoc.setEnabled(true);\n ibCurrLoc.setBackground(ContextCompat.getDrawable(mContext, R.drawable.outline_thick));\n ibTarget.setBackground(ContextCompat.getDrawable(mContext, R.drawable.outline_thick));\n endOfTrial(false);\n }\n }, (preferencesManager.dm_animation_duration));\n }", "title": "" }, { "docid": "8ca12124477447eba76d45c90e3a7e31", "score": "0.48290858", "text": "public void turnOnActuator(String targetID);", "title": "" }, { "docid": "eb63f8b5abf9fd6cf0f8c4955fb15f3c", "score": "0.48288772", "text": "private void askTheHostActionPerformed (ActionEvent e) {\r\n // displays the hint associated with the question that is stored in question array\r\n messageTextArea.setText (questions[levelTracker][6]);\r\n askTheHost.setEnabled (false); // disables the Ask the Host option button so lifeline can not be used again\r\n }", "title": "" }, { "docid": "e48ede12b4ce251986e382268aa1e749", "score": "0.4828542", "text": "public Activate(final String target)\n\t\t{\n\t\t\tthis.target = target;\n\t\t}", "title": "" }, { "docid": "ae74184bebc913545dda0fe30d628b3a", "score": "0.4821054", "text": "@Override\r\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tObject obj = e.getSource();\r\n\t\t\r\n\t\tif(obj == mItem1){\r\n\t\t\tmFrame.messageLoop(MENU_MESSAGE.TEAM_SELECT_DELETE, obj);\r\n\t\t}\r\n\t\tif(obj == mItem2){\r\n\t\t\tmFrame.messageLoop(MENU_MESSAGE.TEAM_ALL_DELETE, obj);\r\n\t\t}\r\n\t\tif(obj == compareItem1){\r\n\t\t\tmFrame.messageLoop(MENU_MESSAGE.TEAM_COMPARE_GAME, obj);\r\n\t\t}\r\n\t\tif(obj == compareItem2){\r\n\t\t\tmFrame.messageLoop(MENU_MESSAGE.TEAM_COMPARE_WIN, obj);\r\n\t\t}\r\n\t\tif(obj == compareItem3){\r\n\t\t\tmFrame.messageLoop(MENU_MESSAGE.TEAM_COMPARE_LOSE, obj);\r\n\t\t}\r\n\t\t\r\n\t}", "title": "" }, { "docid": "2d3aa018cb0203c9c0d2e003ca4f8f85", "score": "0.48183545", "text": "public void setAttackTarget(EntityLivingBase par1EntityLiving)\r\n {\r\n \tif(par1EntityLiving instanceof EntityPlayer){ // target is a player\r\n \t\tif(!isDisguised((EntityPlayer)par1EntityLiving) || (attackingPlayer == par1EntityLiving) ){ // player isn't disguised or else player attacked\r\n \t\t\t//System.out.printf(\"Not disguised!!!\\n\");\r\n \t\t\tsuper.setAttackTarget(par1EntityLiving);\r\n \t\tsetAngry(true);\r\n this.handleHealthUpdate((byte)6);\r\n \t\t}\r\n \t} else { // target isn't a player (probably zombiepigman, so don't change to angry)\r\n\t\t\tsuper.setAttackTarget(par1EntityLiving);\r\n \t}\r\n }", "title": "" }, { "docid": "382b5492f162012d5585ddd0fe7a3b52", "score": "0.48164672", "text": "@Override\n\tpublic void perform() {\n\t\tif (this.getPath().isPathComputed) {\n\t\t\t// If the path is blocked then we cannot reach our container and ...\n\t\t\tif (this.getPath().isPathBlocked) {\n\t\t\t\t// ... we cannot do anything.\n\t\t\t\tthis.finish();\n\t\t\t} else if (this.getPath().isComplete) {\n\t\t\t\t// We have reached our target, interact with it ... \n\t\t\t\tinteract();\n\t\t\t\t// ... and then we are done.\n\t\t\t\tthis.finish();\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "caa6299679a84e268c171cbd93523dae", "score": "0.4815025", "text": "@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tString name = e.getActionCommand();\n\t\tJOptionPane.showMessageDialog(this, name+\" 被选中\",\"提示消息\", JOptionPane.INFORMATION_MESSAGE);\n\t\t\n\t}", "title": "" }, { "docid": "db21e17c86a6be930391090aa29e6219", "score": "0.48122478", "text": "@Override\n public void setTargetingOption(TowerNode towerNode, ShootingChoice shootingChoice) {\n Tower tower = animationHandler.getTowerFromNode(towerNode);\n SingleShotTower singleShotTower = (SingleShotTower) tower;\n singleShotTower.updateShootingChoice(shootingChoice);\n }", "title": "" }, { "docid": "4aa6c6567c232775e7aea0815f9230e5", "score": "0.48077148", "text": "public synchronized void selectAction(boolean flag) {\n\t}", "title": "" }, { "docid": "008c8d4eff7b6ae1d2dcc8687f763c67", "score": "0.48073685", "text": "public boolean canTarget(Card c) {\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "8511aaf79bf8e3d0749d6327c0630b5b", "score": "0.48001832", "text": "public void chooseCurrentAmmunition() {\n\t\tAmmunition item = regularAttack; // default regular attack\n\t\tboolean choiceAccepted = false;\n\t\tdo {\n\t\t\tSystem.out.println(\n\t\t\t\t\t\"Choose an attack: \\n [0]: Regular attack (fists). \\n [1]: Use different ammunition from my storage. \\n [2]: Get random ammunition from my storage.\");\n\t\t\tint choice = InputHandler.getInteger(0, 2);\n\n\t\t\tswitch (choice) {\n\t\t\tcase 0:\n\t\t\t\tchoiceAccepted = true;\n\t\t\t\tsetCurrentAmmunition(regularAttack);\n\t\t\t\tbreak;\n\t\t\tcase 1:\n\t\t\t\tif (getStorage().size() > 0) {\n\t\t\t\t\titem = getStorage().chooseFromStorage(this);\n\t\t\t\t\tif (item != null) {\n\t\t\t\t\t\tchoiceAccepted = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Your storage is empty!\");\n\t\t\t\t}\n\n\t\t\tcase 2:\n\t\t\t\tif (getStorage().size() > 0) {\n\t\t\t\t\titem = getStorage().getRandomAmmunition(this);\n\t\t\t\t\tif (item != null) {\n\t\t\t\t\t\tchoiceAccepted = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Your storage is empty! Can't choose random ammunnition.\");\n\t\t\t\t}\n\n\t\t\tdefault:\n\t\t\t\tSystem.out.println(\"Invalid choice\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t} while (!choiceAccepted);\n\n\t\tsetCurrentAmmunition(item);\n\t}", "title": "" }, { "docid": "b04b93ce7915f0557d5492f72e7acf00", "score": "0.4798874", "text": "@Override\n public void actionPerformed(ActionEvent e){\n String s = e.getActionCommand();\n switch(s){\n case NEW_GAME:\n gameBoard.newGame();\n break;\n case EXIT_GAME:\n System.exit(0);\n break;\n case DIFFICULTY_0:\n gameBoard.setDifficulty(Difficulty.BEGINNER);\n break;\n case DIFFICULTY_1:\n gameBoard.setDifficulty(Difficulty.INTERMEDIATE);\n break;\n case DIFFICULTY_2:\n gameBoard.setDifficulty(Difficulty.EXPERT);\n break;\n case ABOUT_GAME:\n JOptionPane.showMessageDialog(null, ABOUT_MESSAGE);\n break;\n } \n }", "title": "" }, { "docid": "90c81e1dc25a2d219f6031184228e0a8", "score": "0.47895142", "text": "@Override\n\tpublic String menuDescription(Actor actor) {\n\t\treturn actor + \" attacks \" + target;\n\t}", "title": "" }, { "docid": "9147ca2b21ed9a17fb23e6a84b6a5d21", "score": "0.47888768", "text": "@Override\n public Event performAction(RemoteView remoteView) {\n\n return remoteView.reloadChoice(getWeapons());\n }", "title": "" } ]
8ed8d0f1c7c1b63cf2d5ab530e71d421
This is used to validate the fraction entered by the user
[ { "docid": "0cec1035226e2362cc33d081f6f7ab47", "score": "0.7483111", "text": "public static boolean validFraction(String input) {\n if ( input.indexOf('-') != 0 && input.indexOf('-') != -1 )\n return false;\n if ( input.indexOf('/') == -1 ) {\n if ( isNumber(input) )\n return true;\n else\n return false;\n }\n String[] subStrings = input.split(\"/\", 2);\n if (isNumber(subStrings[0]) && isNumber(subStrings[1]))\n return true;\n else\n return false;\n }", "title": "" } ]
[ { "docid": "2afebb8148190efeed2936f49f62018a", "score": "0.69578373", "text": "public static Fraction getFraction(Scanner input) {\n System.out.print(\"Please enter a fraction (a/b) or integer (a): \");\n String sFrac = input.next();\n while (!validFraction(sFrac)) {\n System.out.print(\"Invalid fraction. Please enter (a/b) or (a), where a and b are integers and b is not zero: \");\n sFrac = input.next();\n }\n int num, den;\n if ( sFrac.indexOf(\"/\") != -1 ) {\n String[] arrFrac = sFrac.split(\"/\", 2); // the input string is split from the '/' character to validate the numerator and denominator\n num = Integer.parseInt(arrFrac[0]); // extracts the number from a String\n if (!arrFrac[1].isEmpty())\n den = Integer.parseInt(arrFrac[1]);\n else\n den =1;\n } else { // when the '/' character is missing from the fraction\n num = Integer.parseInt(sFrac); // if the fraction is single number then the index 1 remains empty, this avoids arrayIndexOutOfBounds exception\n den = 1;\n }\n Fraction frac = new Fraction(num, den); // creating the fraction after all validations\n return frac;\n }", "title": "" }, { "docid": "cba1cb75d5ba49693e048a3e5df09155", "score": "0.6663999", "text": "private void parseFraction(String fraction) {\r\n\r\n String[] splitFraction = fraction.split(\"\");\r\n\r\n if (fraction.contains(\"_\")) {\r\n // Fraction is mixed number, change it to improper fraction\r\n wholeNumber = Integer.parseInt(splitFraction[0]);\r\n numerator = Integer.parseInt(splitFraction[2]);\r\n denominator = Integer.parseInt(splitFraction[4]);\r\n isMixed = true;\r\n mixedToImproper();\r\n\r\n } else {\r\n numerator = Integer.parseInt(splitFraction[0]);\r\n isMixed = false;\r\n\r\n if (splitFraction.length == 1) {\r\n // Whole number\r\n denominator = 1;\r\n isImproper = false;\r\n } else if (splitFraction.length == 3) {\r\n // Fraction, could be improper\r\n denominator = Integer.parseInt(splitFraction[2]);\r\n isImproper = (numerator > denominator) ? true : false;\r\n }\r\n }\r\n }", "title": "" }, { "docid": "380c847afdeacf892efe5c72c4a9d0e2", "score": "0.6474105", "text": "private boolean isFraction(String s) {\n for(char c : s.toCharArray())\n if(!Character.isDigit(c) && c != '/')\n return false;\n return true;\n }", "title": "" }, { "docid": "a7ac8347729a7d41463e6215fcd92d86", "score": "0.6450369", "text": "public static int getDenominator1(String fraction_1){\nint indexOfSlash = fraction_1.indexOf(\"/\");\nif(indexOfSlash != -1){\nString denominator = fraction_1.substring((indexOfSlash + 1),(fraction_1.length()-1));\nint denominatorInt = Integer.parseInt(denominator);\nreturn denominatorInt;\n}else{\nreturn 1;\n}\n}", "title": "" }, { "docid": "ddf3ab761451e450017e25ab2a5149d3", "score": "0.6434401", "text": "public static void parseFraction(String input)\r\n\t{\r\n\t\t// parse left fraction\r\n\t\tint underscore = input.indexOf('_');\r\n\t\tint slash = input.indexOf('/');\r\n\t\tif (underscore > 0)\r\n\t\t{\r\n\t\t\t// There is an underscore, so it knows that it is a mixed number.\r\n\t\t\tint whole = Integer.parseInt(input.substring(0, underscore));\r\n\t\t\tnumOutput = Integer.parseInt(input.substring(underscore + 1, slash));\r\n\t\t\t// The negative applies to the fraction too if the whole thing is negative\r\n\t\t\tif (whole < 0)\r\n\t\t\t\tnumOutput = 0 - numOutput;\r\n\t\t\tdenOutput = Integer.parseInt(input.substring(slash + 1));\r\n\t\t\tnumOutput = numOutput + whole * denOutput;\r\n\t\t}\r\n\t\telse if (slash > 0)\r\n\t\t{\r\n\t\t\t// There is a '/', so this is a fraction.\r\n\t\t\tnumOutput = Integer.parseInt(input.substring(0, slash));\r\n\t\t\tdenOutput = Integer.parseInt(input.substring(slash + 1));\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\t// This is a whole number.\r\n\t\t\tnumOutput = Integer.parseInt(input);\r\n\t\t\tdenOutput = 1;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "5d8040e91dcb26c1269abde661f8fb6d", "score": "0.6313961", "text": "public FractionImpl(String fraction) {\n String fracarray[] = fraction.split(\"\\\\\");\n int numerator = Integer.parseInt(fracarray[0]);\n int denominator = Integer.parseInt(fracarray[1]);\n try {\n int temp = (numerator / denominator);\n } catch (ArithmeticException ext) {\n System.out.println(\"Denominator cannot be zero\");\n return;\n }\n //this.numerator = numerator;\n //this.denominator = denominator;\n //}\n this.numerator = Integer.parseInt(fraction);\n this.denominator = 1;\n \n }", "title": "" }, { "docid": "ebceb4a49b892470d9c2c3c8dea65b44", "score": "0.6291284", "text": "public static int getDenominator2(String fraction_2){\nint indexOfSlash = fraction_2.indexOf(\"/\");\nif(indexOfSlash != -1){\nString denominator = fraction_2.substring((indexOfSlash + 1),(fraction_2.length()));\nint denominatorInt = Integer.parseInt(denominator);\nreturn denominatorInt;\n}else{\nreturn 1;\n}\n}", "title": "" }, { "docid": "9aa0d25976f75a9667ce893d480117be", "score": "0.6217312", "text": "private static boolean checkFractionAnswer(Level currentLevel, String answerToParse, String[] questionParts, String question) {\n\t\t\n\t\tBigDecimal questionsAnswer;\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// the answer converted to a decimal\t\t\n\t\tString[] fracPart = answerToParse.split(\"/\");\t\t\t\t\t\t\t\t\t\t// splits the fraction so it can be worked with\n\t\tBigDecimal numeratorAns = BigDecimal.valueOf(Double.parseDouble(fracPart[0]));\t\t// the numerator of the fraction\n\t\tBigDecimal denominatorAns = BigDecimal.valueOf(Double.parseDouble(fracPart[1]));\t// the denominator of the fraction\n\t\t\n\t\t// determines which operation to do, and does the operation\n\t\tif(currentLevel.getLevelName().equals(\"Add Fraction\")){\n\t\t\t\n\t\t\tquestionsAnswer = Fraction.parseFraction(questionParts[0]).addFraction(Fraction.parseFraction(questionParts[2])).evaluate();\n\t\t\t\n\t\t}else if (currentLevel.getLevelName().equals(\"Subtract Fraction\")) {\n\t\t\t\n\t\t\tquestionsAnswer = Fraction.parseFraction(questionParts[0]).subtractFraction(Fraction.parseFraction(questionParts[2])).evaluate();\n\t\t\t\n\t\t}else{\n\t\t\tquestionsAnswer = BigDecimal.valueOf(-1);\n\t\t}\n\t\t\n\t\t// compares both the actual answer and the users answer to determine if they are correct\n\t\treturn (numeratorAns.divide(denominatorAns, 3, RoundingMode.HALF_UP)).compareTo(questionsAnswer) == 0;\n\t}", "title": "" }, { "docid": "3937fc95cccf6e94a948cfab8527b0fb", "score": "0.6216066", "text": "public void askUser() \r\n {\r\n \t\r\n \tint a = 0, b = 1;\r\n \t\r\n \tRational F1 = new Rational();\r\n \tRational F2 = new Rational();\r\n \t\r\n \tSystem.out.println(\"Welcome to the Rational Java Program! \\n\");\r\n \t\r\n \tSystem.out.println(\"IMPORTANT! All values will be display in simplified form. If you want the original values,\");\r\n \tSystem.out.println(\"you need to multiply by the number specified in the GDC.\\n\\n\");\r\n \t\r\n \t\r\n \tSystem.out.println(\"Enter the numerator of the first fraction: \");\r\n \ta = userInput.nextInt();\r\n \t\r\n \tF1.setNumerator(a);\r\n \t\r\n \tSystem.out.println(\"Enter the denominator of the first fraction: \");\r\n \tb = userInput.nextInt();\r\n \r\n \tF1.setDenominator(b);\r\n \t\r\n \tSystem.out.println(\"Enter the numerator of the second fraction: \");\r\n \ta = userInput.nextInt();\r\n \t\r\n \tF2.setNumerator(a);\r\n \t\r\n \tSystem.out.println(\"Enter the denominator of the second fraction: \");\r\n \tb = userInput.nextInt();\r\n \t\r\n \tF2.setDenominator(b);\r\n \t\r\n \tSystem.out.println(\"\\n\");\r\n \t\r\n \t// Math Methods\r\n \t\r\n \tF1.Add(F2);\r\n \tF1.Subtract(F2);\r\n \tF1.Multiply(F2);\r\n \tF1.Divide(F2);\r\n \tF1.GCD(F2);\r\n \t\r\n \t// Display\r\n \tF1.DisplayFract(F1);\r\n \tF1.DisplayFloat(F1);\r\n }", "title": "" }, { "docid": "0f1a01f5a651dcab2acda76f1704037e", "score": "0.61506706", "text": "public void check() {\n\t\tSystem.out.println(\"Enter dividend:: \");\n\t\tint dividend = scanner.nextInt();\n\t\tSystem.out.println(\"Enter divisor:: \");\n\t\tint divisor = scanner.nextInt();\n\t\t\n\t\n\t\t int quotient = dividend / divisor;\n\t\t int remainder = dividend % divisor;\n\n\t\t System.out.println(\"Quotient = \" + quotient);\n\t\t System.out.println(\"Remainder = \" + remainder);\n\t\t\n\t}", "title": "" }, { "docid": "67228dbff455a79e3b8bd2fd997a700f", "score": "0.6138585", "text": "public static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in); \r\n\t\t\r\n\t\t// Get values for first Fraction and create it. \r\n\t\tSystem.out.printf(\"Please enter the dividend Fraction's numerator: \"); \r\n\t\tint firstNum = input.nextInt(); \r\n\t\tSystem.out.printf(\"Please enter the dividend Fraction's denominator: \"); \r\n\t\tint firstDen = input.nextInt(); \r\n\t\tFraction dividend = new Fraction(firstNum, firstDen); \r\n \r\n\t\tboolean isInputValid = false;\r\n do {\r\n \t\t// Get values for second Fraction and create it. \r\n \t\tSystem.out.printf(\"Please enter the divisor Fraction's numerator: \"); \r\n \t\tint secondNum = input.nextInt(); \r\n \t\tSystem.out.printf(\"Please enter the divisor Fraction's denominator: \"); \r\n \t\tint secondDen = input.nextInt(); \r\n \t\tFraction divisor = new Fraction(secondNum, secondDen); \r\n \t\t\r\n try {\r\n \t\t// Calculate quotient. Print results. \r\n \t\tFraction quotient = dividend.divide(divisor); \r\n isInputValid = true;\r\n \t\tSystem.out.println(\"Their quotient is: \" + quotient); \r\n } \r\n \r\n catch (IllegalArgumentException e){\r\n System.out.println(e.getMessage());\r\n System.out.println(\"Please enter a new second fraction\"); \r\n }\r\n }while(!(isInputValid));\r\n\t}", "title": "" }, { "docid": "9f6cc341d7c6f9b8e3720db49c67b321", "score": "0.59691024", "text": "private void btnDivActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnDivActionPerformed\n if (txtNumeros.getText().length() == 0 ){\n JOptionPane.showMessageDialog(null, \"Debe digitar un numero\");\n }else if (!txtNumeros.getText().equals(\"0\")){\n nun1 = Float.parseFloat(txtNumeros.getText());\n btnDiv.setEnabled(false);\n txtNumeros.setText(\"\");\n Signo = \"division\";\n }else {\n JOptionPane.showMessageDialog(null, \"No se permite la división entre 0\");\n txtNumeros.setText(\"\");\n }\n \n }", "title": "" }, { "docid": "5b77b79c99bb05accd5f217c7c8a90c2", "score": "0.59669864", "text": "private void readNumeric(boolean fraction) {\n\n\t\tlong val = 0;\n\t\tlong div = fraction ? 1 : 0;\n\t\tdo {\n\t\t\tif (nextChar == '.') {\n\t\t\t\tdiv = 1;\n\t\t\t}\n\t\t\telse {\n\t\t\t\t// add the next digit \n\t\t\t\tval = val * 10 + nextChar - '0';\n\t\t\t\tdiv *= 10;\n\t\t\t}\n\t\t\tnextChar = read();\n\t\t} while ((nextChar >= '0' && nextChar <= '9') || nextChar == '.');\n\n\t\tval = val * 1000;\n\t\tif (div != 0) {\n\t\t\tval /= div;\n\t\t}\n\t\tnval = (int) val;\n\n\t\tif (nextChar == '%') {\n\n\t\t\tttype = TT_PERCENTAGE;\n\t\t\tnextChar = UNINITIALIZED;\n\t\t\tsval = \"%\";\n\t\t}\n\t\telse if ((nextChar >= 'a' && nextChar <= 'z') ||\n\t\t\t(nextChar >= 'A' && nextChar <= 'Z')) {\n\n\t\t\tStringBuffer sb = new StringBuffer();\n\t\t\tdo {\n\t\t\t\tsb.append((char) nextChar);\n\t\t\t\tnextChar = read();\n\t\t\t} while ((nextChar >= 'a' && nextChar <= 'z') ||\n\t\t\t\t(nextChar >= 'A' && nextChar <= 'Z'));\n\n\t\t\tttype = TT_DIMENSION;\n\t\t\tsval = sb.toString();\n\t\t}\n\t\telse {\n\n\t\t\tttype = TT_NUMBER;\n\t\t\tsval = \"\";\n\t\t}\n\t}", "title": "" }, { "docid": "07a3df55f70cd19f13a517f7c36b400d", "score": "0.595226", "text": "private static void checkDecimal(String expr) {\n\t\tif (expr.contains(\".\")) {\n\t\t\tSystem.out.println(\"Error in expression! Cannot accept floating point numbers.\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t}", "title": "" }, { "docid": "34d3a18960d9ea8382ca21a0c6fc814a", "score": "0.5851555", "text": "public void divide(View view){\n if(number1Text.getText().toString().matches(\"\") || number2Text.getText().toString().matches(\"\"))\n {\n resultText.setText(\"Invalid type of input\");\n }else{\n int number1 = Integer.parseInt(number1Text.getText().toString());\n int number2 = Integer.parseInt(number2Text.getText().toString());\n int result = number1 / number2;\n\n resultText.setText(\"Result: \" + result);\n }\n\n }", "title": "" }, { "docid": "0842828d29a851e3c4659fdb6c1d5a42", "score": "0.5849951", "text": "@Test(expected=MathIllegalStateException.class)\n public void testGoldenRatio() {\n new Fraction((1 + FastMath.sqrt(5)) / 2, 1.0e-12, 25);\n }", "title": "" }, { "docid": "443826e1808cb636c5ce6afb805eb057", "score": "0.58436394", "text": "public void testCreateAndReduce(){\n\t\tFractionImpl fraction = new FractionImpl(48, 60);\n\t\tassertEquals(\"4/5\", fraction.toString());\n\t\t\n\t\tfraction = new FractionImpl(\"25/5\");\n\t\tassertEquals(\"5\", fraction.toString());\n\n\t\tfraction = new FractionImpl(\"-3/-12\");\n\t\tassertEquals(\"1/4\", fraction.toString());\t\n\n\t\tfraction = new FractionImpl(2, 2147483646);\n\t\tassertEquals(\"1/1073741823\", fraction.toString());\n\t}", "title": "" }, { "docid": "5e23717e20298b5163019b4d372b1ce5", "score": "0.58381796", "text": "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint whole = 0, flub=0;\n\t\t\tdouble dec = 0;\n\t\t\tSystem.out.println(\"enter a numerator : \");\n\t\t\tint num = scan.nextInt();\n\n\t\t\tif (num == 0) {\n\t\t\t\tSystem.out.println(\"done\");\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tSystem.out.println(\"enter a denominatoasdkngh,n : \");\n\t\t\tint den = scan.nextInt();\n\n\t\t\tif (num / den < 1) {\n\t\t\t\tSystem.out.println(num + \" / \" + den + \" is proper\");\n\t\t\t} else if (((double)num / (double)den) > 1) {\n\t\t\t\twhole = num / den;\n\t\t\t\t\n\t\t\t\tdec = ((double)num/(double)den) - whole;\n\t\t\t\tSystem.out.println(dec);\n\t\t\t\tif (dec == 0) {\n\t\t\t\t\tSystem.out.println(num + \" / \" + den + \" is improper and is reduced to \" + whole);\n\t\t\t\t} else {\n\t\t\t\t\tflub = num;\n\t\t\t\t\tfor (int i = 0; i < whole; i++) {\n\t\t\t\t\t\tflub = flub - den;\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(num + \" / \" + den + \" is improper and its mixed fraction is \" + whole + \" + \"\n\t\t\t\t\t\t\t+ flub + \" / \" + den);\n\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t}", "title": "" }, { "docid": "fc393417a0b07905102eb7daaf81e07c", "score": "0.58380854", "text": "public void division() {\n\t\t\n\t\tSystem.out.println();\n\t\tSystem.out.println(\"Divisione fra due numeri\");\n\t\tSystem.out.println(\"Inserisci due numeri:\");\n\t\trisposta1 = choise2.nextDouble();\n\t\trisposta2 = choise2.nextDouble();\n\t\t\n\t\trisultato = risposta1 / risposta2;\n\t\t\n\t\tSystem.out.println();\n\t\tSystem.out.println(\"Risultato: \" + risultato);\n\t\t\n\t\tSystem.out.println();\n\t\tSystem.out.println(\"Vuoi tornare alle opzioni? y/n\");\n\t\t\n\t\toption = choise.next();\n\t\t\n\t\tif(option.equals(\"y\")) {\n\t\t\tcalculatorTest.main(null);\n\t\t}\n\t\t\n\t\telse \n\t\t\tif(option.equals(\"n\")) {\n\t\t\t\tdivision();\n\t\t\t}\n\t\t\telse {\n\t\t\t\tcalculatorTest.main(null);\n\t\t\t}\n\t}", "title": "" }, { "docid": "bbd9b3fc6e7b1f0f654b2c67f5d30f03", "score": "0.57897556", "text": "public boolean checkIfValidForDivision(Unit operand1Unit, Unit operand2Unit) {\r\n\t\tString output = reader.ReadCell(2,operand1Unit.getUnitSpecifier(), operand2Unit.getUnitSpecifier());\r\n\t\tif(output.equals(\"\")){\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "e3a21df07236d9ab7f0a0fc3030ba79b", "score": "0.57466155", "text": "public void testConstructorGcdNegInDenominator()\n {\n \tRational s = new Rational(-10,5);\n \tassertEquals(\"Test Basic GCD Functionality with negative number provided to denominator, check numerator: \", -2, s.numerator() );\n \tassertEquals(\"Test Basic GCD Functionality with negative number provided to denominator, check denominator: \", 1, s.denominator());\n }", "title": "" }, { "docid": "9f39e42bd7293eced4f497d8c41bd35d", "score": "0.5743781", "text": "private void run() {\n scanner = new Scanner(System.in);\n String answer = \"null\";\n do {\n try {\n System.out.println(\"\\nPlease enter first Fraction (x/y or x): \");\n setFirstFraction(new Fraction(scanner.next()));\n\n System.out.println(\"Enter operator (+, -, /, *, =, !=, <, >) or (neg, inv, abs, sim): \");\n setMathsOperator(scanner.next());\n\n if (Arrays.asList(singleOperator).contains(getMathsOperator())) {\n answer = convertFraction().toString();\n }\n else if (Arrays.asList(doubleOperator).contains(getMathsOperator())) {\n System.out.println(\"Enter second fraction (x/y or x): \");\n setSecondFraction(new Fraction(scanner.next()));\n answer = doCalculation().toString();\n }\n else if (Arrays.asList(comparitorOperator).contains(getMathsOperator())) {\n System.out.println(\"Enter second fraction (x/y or x): \");\n setSecondFraction(new Fraction(scanner.next()));\n answer = String.valueOf(compareFraction());\n }\n else {\n System.out.println(\"\\nIncorrect operator input.\");\n }\n }\n catch (ArithmeticException ex) {\n System.out.println(\"Denominator cannot be zero.\");\n }\n catch (NumberFormatException ex) {\n System.out.println(\"Fraction must be of the form x/y or x.\");\n }\n finally {\n System.out.println(\"\\nAnswer is: \" + answer);\n System.out.println(\"\\nExit? (Enter y to exit, anything else to continue)\");\n }\n } while (!scanner.next().equals(\"y\"));\n scanner.close();\n }", "title": "" }, { "docid": "eb3c05a1b3abd9ab886abd30ccd25178", "score": "0.5736853", "text": "private boolean validatedQuantity(TextField input) {\n Pattern p = Pattern.compile(\"[+-]?[0-9][0-9]*\");\n Matcher m = p.matcher(input.getText());\n Matcher k = p.matcher(input.getText());\n if (m.find() && m.group().equals(input.getText())) {\n //p.setText(null);\n return true;\n } else\n pQuantityerror.setText(\"Enter Valid No\");\n return false;\n }", "title": "" }, { "docid": "b0cd8b236acc5d338bf4b9d09df1ba19", "score": "0.5726627", "text": "private static void consumeFractionFormat(ParserState parserState, ParsedSubpatternInfo parsedSubpatternInfo) {\n int n = 0;\n do {\n int n2;\n if ((n2 = parserState.peek()) != 35) {\n switch (n2) {\n default: {\n return;\n }\n case 48: \n case 49: \n case 50: \n case 51: \n case 52: \n case 53: \n case 54: \n case 55: \n case 56: \n case 57: \n }\n if (parsedSubpatternInfo.fractionHashSigns > 0) throw parserState.toParseException(\"0 cannot follow # after decimal point\");\n ++parsedSubpatternInfo.widthExceptAffixes;\n ++parsedSubpatternInfo.fractionNumerals;\n ++parsedSubpatternInfo.fractionTotal;\n if (parserState.peek() == 48) {\n ++n;\n } else {\n if (parsedSubpatternInfo.rounding == null) {\n parsedSubpatternInfo.rounding = new DecimalQuantity_DualStorageBCD();\n }\n parsedSubpatternInfo.rounding.appendDigit((byte)(parserState.peek() - 48), n, false);\n n = 0;\n }\n } else {\n ++parsedSubpatternInfo.widthExceptAffixes;\n ++parsedSubpatternInfo.fractionHashSigns;\n ++parsedSubpatternInfo.fractionTotal;\n ++n;\n }\n parserState.next();\n } while (true);\n }", "title": "" }, { "docid": "63e683dae144c211be38ee3fd57be335", "score": "0.571515", "text": "private void checkDenominatorNonzero (Fraction secondOperand) {\n String exceptionMessage = null; // tracks exception messages in case both fractions are invalid\n if (!valid || denominator == 0) {\n valid = false;\n exceptionMessage = \"First operand invalid; denominator is 0\";\n }\n if (!secondOperand.valid || secondOperand.getDenominator() == 0) {\n secondOperand.valid = false;\n exceptionMessage = (exceptionMessage == null ? \"Second operand invalid; denominator is 0\" : \"Both fractions invalid; denominators are 0\");\n }\n\n if (exceptionMessage != null) {\n throw new UnsupportedOperationException(exceptionMessage);\n }\n }", "title": "" }, { "docid": "3c949058e761981edb35c744356e2be0", "score": "0.5697276", "text": "private void checkSign()\n\t{\n\t\tif (denominatore<0)\n\t\t{\n\t\t\tnumeratore*=(-1);\n\t\t\tdenominatore*=(-1);\n\t\t}\n\t}", "title": "" }, { "docid": "b72f53a0ea39da34d890b5032c14fe6a", "score": "0.56856775", "text": "public static int getNumerator(String fraction_1){\nint indexOfUnderscore = fraction_1.indexOf(\"_\");\nint indexOfSlash = fraction_1.indexOf(\"/\");\nif(indexOfSlash != -1){\n if (fraction_1.indexOf(\"_\") != -1){\n String numerator = fraction_1.substring(indexOfUnderscore + 1,indexOfSlash);\n int numeratorInt = Integer.parseInt(numerator);\n return numeratorInt;\n }else {\n // System.out.print(\"In elsehhhhhhhhhhhhhhhhhhhhhhhhh\");\n String numerator = fraction_1.substring(0,indexOfSlash);\n int numeratorInt = Integer.parseInt(numerator);\n return numeratorInt;\n }\n}else{ \n String fractionNoSpace = fraction_1.trim();\n return Integer.parseInt(fractionNoSpace);\n}\n}", "title": "" }, { "docid": "03f9503c8a0333b1cbb1751767488ecc", "score": "0.56856376", "text": "public Fraction(String parFrac) {\n\t\tint rencontre = 0;\n\t\tString numerateurString = \"\";\n\t\tString denominateurString = \"\";\n\t\tfor(char ch : parFrac.toCharArray()) {\n\t\t\tif(ch == '/') {\n\t\t\t\trencontre = 1;\n\t\t\t}\n\t\t\telse if(ch != '/' && rencontre == 0) {\n\t\t\t\tnumerateurString += ch;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tdenominateurString += ch;\n\t\t\t}\n\t\t}\n\t\tnumerateur = Integer.parseInt(numerateurString);\n\t\tdenominateur = Integer.parseInt(denominateurString);\n\t\treduire();\n\t}", "title": "" }, { "docid": "08b9c78b1bf86180260f2927a319e40e", "score": "0.5678708", "text": "private boolean validatedPrice(TextField input) {\n Pattern p = Pattern.compile(\"[+-]?[0-9][0-9]*\");\n Matcher m = p.matcher(input.getText());\n Matcher k = p.matcher(input.getText());\n if (m.find() && m.group().equals(input.getText())) {\n //p.setText(null);\n return true;\n } else\n pPriceerror.setText(\"Enter Valid No\");\n return false;\n }", "title": "" }, { "docid": "254e1b10f3ca2dd760c71598f30a68ae", "score": "0.5652932", "text": "public int fractionPlaces() { return minimumFractionDigits; }", "title": "" }, { "docid": "bee1ae1fd5136adf919baae3f0f8d156", "score": "0.5628554", "text": "public double askInteres()\n{\nString starting_interes= JOptionPane.showInputDialog(\"Please write the interes rate in % \");\ndouble interes=Double.parseDouble(starting_interes);\n//if the user submits a negative value or zero, the program asks the user to type again\nif (interes<=0)\n{\n\tJOptionPane.showMessageDialog(null,\"Mortgage error, interes rate negative or zero!\");\n\tthis.askInteres();\n}\nreturn interes;\n}", "title": "" }, { "docid": "6b01e6a6bc4eecaeade7b117d1a5662b", "score": "0.56077635", "text": "private int getIntDenominator(String fraction){\n\n //Delimit where the denominator starts\n int delimiter = fraction.indexOf(\"/\");\n\n //Get only the denominator of the string, first param is inclusive, so we add one\n //To exclude the backslash\n String stringResult = fraction.substring(delimiter + 1, fraction.length());\n\n return Integer.parseInt(stringResult);\n }", "title": "" }, { "docid": "9241c01c837750de7805c097b8b6c67e", "score": "0.5592165", "text": "private boolean isValidData(){\n if(!isPresent(txtNumberInput, \"Number\")){\n return false;\n }\n if(!isPositiveDouble(txtNumberInput, \"Number\")){\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "ed22474fc754c35e54c7c3790758c711", "score": "0.5587992", "text": "public void testConstructorGcdNegInNumerator()\n {\n \tRational s = new Rational(10,-5);\n \tassertEquals(\"Test Basic GCD Functionality with negative number provided to numerator, check numerator: \", 2, s.numerator() );\n \tassertEquals(\"Test Basic GCD Functionality with negative number provided to numerator, check denominator: \", -1, s.denominator());\n }", "title": "" }, { "docid": "38118cff6fb0b171df289338c36b9e24", "score": "0.558658", "text": "public static void main(String[] args) {\n Fraction f1 = new Fraction();\n f1.setNumerator(1);\n f1.setDenominator(0); // Should print \"ERROR\"\n f1.setDenominator(3);\n\n System.out.println(f1.round()); // 0\n System.out.println(f1.getDoubleValue()); // 0.333...\n System.out.println(f1.getNumerator()); // 1\n System.out.println(f1.getDenominator()); // 3\n\n\n Fraction f2 = new Fraction();\n f2.setNumerator(4);\n f2.setDenominator(5);\n\n\n System.out.println(f2.isEqual(f1)); // false\n f2.setNumerator(1);\n f2.setDenominator(3);\n System.out.println(f2.isEqual(f1)); // true\n System.out.println(f1.isEqual(f2)); // true\n\n f1.setDenominator(30);\n\n f1.print(); // 1/3\n f2.print(); // 1/30\n\n Fraction f3 = multiplyFractions(f1, f2);\n f3.print(); // 1/90\n }", "title": "" }, { "docid": "61ece70bce47e59736c97fa8ad58162c", "score": "0.55827254", "text": "public Fraction divide(Fraction other) {\n //your code here\n return null;\n }", "title": "" }, { "docid": "b271826a52765afdb75f0ba3b9c5670a", "score": "0.5576932", "text": "public static void main(String args[]){\n\t\tdouble number, fraction;\n\t\tint whole_number;\n\t\tSystem.out.println(\"Enter the double value: \");\n\t\tScanner sc = new Scanner(System.in);\n\t\tnumber = sc.nextDouble();\n\t\twhole_number = (int) number;\n\t\tfraction = number - whole_number;\n\t\tSystem.out.printf(\"The whole value is %d and fraction is %.2f\", whole_number, fraction);\n\t}", "title": "" }, { "docid": "2039c7bdbc816147c74047471815142a", "score": "0.5576815", "text": "@Override\r\n\tpublic Value divide(Fraction f) throws EvalException {\n\t\treturn num.divide(f);\r\n\t}", "title": "" }, { "docid": "527bfb11eb23c4635666c40e09866d08", "score": "0.5562714", "text": "@Test\n public void testEvaluate() {\n System.out.println(\"evaluate\");\n Fraction instance = new Fraction(5,10);\n double expResult = 0.5;\n double result = instance.evaluate();\n assertEquals(expResult, result, 0.0);\n }", "title": "" }, { "docid": "1e40c06bc06e74df5c7dc9d8b43e2967", "score": "0.55538625", "text": "private boolean validateInput() {\n try {\n double test = new Double(rtWindow.getText().trim());\n } catch (Exception e) {\n JOptionPane.showMessageDialog(this, \"Please verify the input for the RT minimal window.\", \"Wrong input\", JOptionPane.ERROR_MESSAGE);\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "1a8c488fed546a8d13770075424de767", "score": "0.55533767", "text": "public FractionalNumber(){ //DONE\n numerator = 1;\n denominator = 1;\n }", "title": "" }, { "docid": "af1c6266a217a53b2409923390af988d", "score": "0.55232704", "text": "protected boolean isValidNum(String current){\n if(current.equals(\"\"))\n return false;\n if(current.contains(\"/\") && !moreThenOne(current,'/'))//fraction\n return isValidFrac(current);\n String[] currSplit;\n if(isNumeric(current))//just number\n return true;\n else if(current.contains(\".\") && current.contains(\",\")){//10,456.6\n currSplit = current.split(\"[\\\\,\\\\.]\");//[10,456,6] - check that all parts are numeric\n for(String tmp:currSplit){\n if(!isNumeric(tmp))\n return false;\n }\n return true;\n }\n else if(current.contains(\",\") && !current.equals(\",\")){//number with ,\n currSplit = current.split(\",\");//[10,123] - check that all parts are numeric\n for(String s : currSplit){\n if(!isNumeric(s))\n return false;\n }\n return true;\n }\n else if(current.contains(\".\") && !moreThenOne(current,'.')){//number with .\n currSplit = current.split(\"\\\\.\");//[10,6] - check that all parts are numeric\n for(String s : currSplit){\n if(!isNumeric(s))\n return false;\n }\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "12994d286f1d05f8731e8e6e295360ad", "score": "0.55071276", "text": "public static double validateDouble() {\r\n\t\twhile (1 != 2) {\r\n\t\t\tif(sc.hasNextDouble()) { \r\n\t\t\t\tdouble input = sc.nextDouble(); // If value matches Double format. Initialise variable, and store user Input.\r\n\t\t\t\t\r\n\t\t\t\tif (input == -1) { // If Input = -1, return this value for navigational purposes.\r\n\t\t\t\t\treturn -1;\r\n\t\t\t\t}\r\n\t\t\t\telse if (input > 0) { // If input > 0. Then pass this value through the method.\r\n\t\t\t\t\t// Value Accepted\r\n\t\t\t\t\tsc.nextLine();\r\n\t\t\t\t\treturn input;\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\t// ERROR - out of range.\r\n\t\t\t\t\tSystem.out.println(\"ERROR: Value must be positive. Please try again.\");\r\n\t\t\t\t\tsc.nextLine();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\t// ERROR - Invalid format.\r\n\t\t\t\tSystem.out.println(\"ERROR: Value must be numerical. Please try again.\");\r\n\t\t\t\tsc.nextLine();\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "4182f83aa99a2a2fe7e1a426cd156e42", "score": "0.54849654", "text": "private static void convertDecimalIntoIrreducibleFraction(double number) {\n String numberString = Double.toString(number);\n\n //Now split it using \".\"\n String[] splitNumberString = numberString.split(\"\\\\.\");\n\n //Find the length\n int afterDecimalLength = splitNumberString[1].length(); //2\n\n //Calculate denominator\n int denominator = (int) Math.pow(10, afterDecimalLength); //100\n\n //Calculate numerator\n int numerator = (int) (number * denominator); //0.35 * 100 = 35\n\n int gcd = getGcd(numerator, denominator); //5\n\n String irreducibleFraction = \"\" + numerator/gcd + \"/\" + denominator/gcd;\n\n System.out.println(\"The irreducible fraction for \" + numberString + \" is \" + irreducibleFraction);\n }", "title": "" }, { "docid": "83008a593e4f11c53dbe5d415206f188", "score": "0.5458662", "text": "public void testConstructorGcdZeroInDenominator()\n {\n \tRational s = new Rational(5,0);\n \tassertEquals(\"Test Basic GCD Functionality with zero provided as denominator, check numerator: \", 5, s.numerator() );\n \tassertEquals(\"Test Basic GCD Functionality with zero provided as denominator, check denominator: \", 0, s.denominator());\n }", "title": "" }, { "docid": "c2ed4203e206e4dda3d97acc36741d57", "score": "0.5452471", "text": "public String fractionCalculator(int firstNumber, int secondNumber) {\n \tint a,b,c;\n\t\tString result = null;\n \ttry {\n\t\t\ta = firstNumber;\n b = secondNumber;\n\t\t\tc = a/b ;\n\t\t\tresult = String.valueOf(c);\n\t\t} catch (ArithmeticException e) {\n\t\t\tresult =\"java.lang.ArithmeticException: / by zero\";\n\t\t\treturn result;\n\t\t}\n\t\treturn result;\n }", "title": "" }, { "docid": "e77b1ceac45da5788446d95c1e3aa881", "score": "0.54352325", "text": "public void testConstructorGcdPrimeVsPrime()\n {\n \tRational s = new Rational(11,5);\n \tassertEquals(\"Test Basic GCD Functionality using 2 prime numbers, check numerator: \", 11, s.numerator() );\n \tassertEquals(\"Test Basic GCD Functionality using 2 prime numbers, check denominator: \", 5, s.denominator());\n }", "title": "" }, { "docid": "0b3867ae921ef00aaad5882de9e92c88", "score": "0.54334587", "text": "private boolean isPositiveDouble(JTextField textField, String name){\n try{\n if(Double.parseDouble(textField.getText())> 0 && Double.parseDouble(textField.getText())<=20)\n {\n return true;\n }\n else{\n JOptionPane.showConfirmDialog(this.rootPane, name+ \" must be a number from 1-20\", \"Error Input\", JOptionPane.WARNING_MESSAGE);\n textField.requestFocus();\n textField.setText(\"\");\n return false;\n }\n }catch(NumberFormatException exe){\n JOptionPane.showConfirmDialog(rootPane, name+ \" shouldn't be a character\", \"Error Input\", JOptionPane.YES_OPTION, JOptionPane.ERROR_MESSAGE);\n textField.requestFocus();\n textField.setText(\"\");\n return false;\n }\n \n }", "title": "" }, { "docid": "0a39f5d5778fe6b9b7b7fbc866c0d1e5", "score": "0.5431086", "text": "public void reduceFraction() {\n\t\tint greatestCD = gcd(numerator, denominator);\n\t\tsetNumerator(numerator/greatestCD);\n\t\tsetDenominator(denominator/greatestCD);\n\t}", "title": "" }, { "docid": "3d28eac56027046061f4a97221d200f3", "score": "0.54227805", "text": "public boolean validateInput() {\n try {\n new Double(flrThresholdTxt.getText());\n } catch (Exception e) {\n JOptionPane.showMessageDialog(null, \"Please verify the input for A-score threshold.\",\n \"Input Error\", JOptionPane.ERROR_MESSAGE);\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "5b960fdd3a27578a36d4f0f7dd261ce7", "score": "0.54208434", "text": "public boolean isNumber(String text){\n \n try{\n //Receive entry and convert to double\n double entryNumber = Double.parseDouble(text);\n \n }catch(NumberFormatException ex){\n \n //Create error message based on number format exception\n JFrame numberFormatFrame = new JFrame();\n JOptionPane.showMessageDialog(numberFormatFrame,\"Please enter a number.\");\n return false;\n }\n\n return true;\n \n }", "title": "" }, { "docid": "83aebc95f332c31fbd9f21116e285aaf", "score": "0.5419679", "text": "public Fraction(String fraction) {\r\n parseFraction(fraction);\r\n }", "title": "" }, { "docid": "1ad2a4368547ffa24395df653f198306", "score": "0.54157495", "text": "private Fraction genAnswerDivision()\n {\n // Grab all the values needed.\n int num1 = fraction1.getNumerator();\n int num2 = fraction2.getNumerator();\n int den1 = fraction1.getDenominator();\n int den2 = fraction2.getDenominator();\n // Containers for the final values\n int divNum;\n int divDen;\n \n // Cross multiply numerators and denominators\n divNum = num1 * den2;\n divDen = num2 * den1;\n \n // Reduce fraction to lowest terms and return it\n Fraction tempFrac = new Fraction(divNum, divDen);\n tempFrac.convertLowestTerms();\n return tempFrac;\n }", "title": "" }, { "docid": "b30662da8cf7edf30fcdfa06c90b8e34", "score": "0.5410102", "text": "public static Double Rectangle() {\n \n Scanner myScanner = new Scanner( System.in ); //declare instance of scanner\n \n System.out.print(\"Input the base of the rectangle: \"); //prompt user for double\n \n double base = 0;\n boolean acceptable1 = false; //swtich for determining if to ask again\n \n while ( !acceptable1 ) {\n \n if ( myScanner.hasNextDouble() ) { //check if input is an integer\n base = myScanner.nextDouble(); //accept user input\n \n if ( base > 0 ) {\n acceptable1 = true; //if input is acceptable then store value\n continue;\n }\n else {\n System.out.println(\"ERROR: input must be in the form of a positive double\");\n System.out.print(\"Input the base of the rectangle: \"); //prompt user for double\n myScanner.nextLine(); //if input is invalid then enter a new one\n }\n }\n else {\n System.out.println(\"ERROR: input must be in the form of a positive double\");\n System.out.print(\"Input the base of the rectangle: \"); //prompt user for double\n myScanner.nextLine(); //if input is invalid then enter a new one\n }\n \n }\n \n System.out.print(\"Input the height of the rectangle: \"); //prompt user for double\n \n double height = 0;\n boolean acceptable2 = false; //swtich for determining if to ask again\n \n while ( !acceptable2 ) {\n \n if ( myScanner.hasNextDouble() ) { //check if input is a double\n height = myScanner.nextDouble(); //accept user input\n \n if ( height > 0 ) {\n acceptable2 = true; //if input is acceptable then store value\n continue;\n }\n else {\n System.out.println(\"ERROR: input must be in the form of a positive double\");\n System.out.print(\"Input the height of the rectangle: \"); //prompt user for double\n myScanner.nextLine(); //if input is invalid then enter a new one\n }\n }\n else {\n System.out.println(\"ERROR: input must be in the form of a positive double\");\n System.out.print(\"Input the height of the rectangle: \"); //prompt user for double\n myScanner.nextLine(); //if input is invalid then enter a new one\n }\n \n }\n \n double RectArea = (base * height);\n \n return RectArea;\n \n }", "title": "" }, { "docid": "454ee6f2224018b1ca638ab9292d4916", "score": "0.5404664", "text": "public int getDenominator(){\n\r\n if(denominator < 0){denominator = 1;}\r\n\r\n return denominator;\r\n\r\n }", "title": "" }, { "docid": "013df4c3ee5aeae91610ddf8e0484474", "score": "0.5400901", "text": "private void countRatio() {\n\t\tStringTokenizer st = new StringTokenizer(percent.getText().toString());\n\t\tInteger number = Integer.parseInt(st.nextToken());\n\t\tnumber = number + 10;\n\t\tif (number <= 100 && number >= 0) {\n\t\t\tst = new StringTokenizer(ratioText.getText().toString());\n\t\t\tst.nextToken();\n\t\t\tInteger allRatio = Integer.parseInt(st.nextToken());\n\t\t\tallRatio = allRatio + 10;\n\t\t\tpercent.setText(number + \" %\");\n\t\t\tneeded.setText(\"You want: \" + number + \" %\");\n\t\t\tratioText.setText(\"Total: \" + allRatio + \" %\");\n\t\t\tif (allRatio <= 100 && allRatio >= 0) {\n\t\t\t\tsetGreen();\n\t\t\t} else {\n\t\t\t\tsetRed();\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "047b2f9631e73170490e209eba97dfd7", "score": "0.54006016", "text": "protected abstract void showProgress(double fraction);", "title": "" }, { "docid": "04b317b1266449025a55fad2eb26d1e6", "score": "0.53973943", "text": "void setDenominator(int d){\n if(d > 0){\r\n denominator = d;\r\n }\r\n }", "title": "" }, { "docid": "1791fd06a548dcdd4e0a7597812ec4fc", "score": "0.53951675", "text": "public static float GetAndCheckFloat(String intro, float minVal, float maxVal)\n {\n float res;\n do{\n System.out.println(intro);\n try{\n res = Float.parseFloat(sc.nextLine());\n if(res >= minVal && res <= maxVal) return res;\n //System.out.format(\"Input value must be in range [%.2f,%.2f]\\n\",minVal , maxVal);\n System.out.println(\"Input value must be larger than 0\");\n \n }\n catch(Exception e)\n {\n System.out.println(\"Invalid input value!!!!!\");\n }\n }while(true);\n }", "title": "" }, { "docid": "50e98b65202bafb7321bffe07b005846", "score": "0.5393715", "text": "public FractionImpl(int numerator, int denominator) {\n\n int num = numerator;\n int denom = denominator;\n int gcd = 1;\n int temp;\n \n try {\n temp = num / denom;\n } catch (ArithmeticException e) {\n System.out.println(\"Denominator cannot be zero\");\n \n }\n \n gcd = findGCD(num, denom);\n this.numerator = num / gcd;\n this.denominator = denom / gcd;\n \n }", "title": "" }, { "docid": "0778265b86488439dc78925880cf2242", "score": "0.5376067", "text": "protected abstract void checkDecimalRange(VerifyEvent iEvent, Text iText,\n String iNewText);", "title": "" }, { "docid": "16987d14e472b42b16381b1c7c5dc278", "score": "0.5374328", "text": "private void calculateUnit () {\n unit += numerator / denominator; // += in case there are already any other units that we want to remain valid--5u3/2 is 6u1/2\n numerator %= denominator; // % picks sign based on numerator, so numerator keeps current sign\n }", "title": "" }, { "docid": "c35805ef421c180aca6584f639c1dfb1", "score": "0.53638965", "text": "@Override\n public boolean isRational()\n {\n for( int i = 1; i < factors.length; i++ ) {\n if ( ! factors[ i ] .isZero() )\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "801d65a433bd08e50a1c6ffad9961f6c", "score": "0.5334804", "text": "@Test\r\n public void testExchangeRateInput_DecimalWithMoreThanOnePoint() {\r\n \tclickOn(\"#txt_Input\");\r\n \twrite(\"1..1\");\r\n \tclickOn(\"#btn_CalculateExchangeRate\");\r\n \tString labelText = lbl_ExchangeRateInfo.getText();\r\n \tassertEquals(labelText, errorMessage_ExchangeRateCalculator);\r\n }", "title": "" }, { "docid": "52e84ac8c8f88746f343a64320f93df1", "score": "0.5333433", "text": "private void writeFraction(double value, StringBuffer result,\n double fractional, StringBuffer output, Set<StringMod> mods) {\n if (!improperFraction) {\n // If fractional part is zero, and numerator doesn't have '0', write out\n // only the integer part and strip the rest.\n if (fractional == 0 && !hasChar('0', numeratorSpecials)) {\n writeInteger(result, output, integerSpecials, mods, false, false);\n\n Special start = integerSpecials.get(integerSpecials.size() - 1);\n Special end = denominatorSpecials.get(\n denominatorSpecials.size() - 1);\n if (hasChar('?', integerSpecials, numeratorSpecials,\n denominatorSpecials)) {\n //if any format has '?', then replace the fraction with spaces\n mods.add(replaceMod(start, false, end, true, ' '));\n } else {\n // otherwise, remove the fraction\n mods.add(deleteMod(start, false, end, true));\n }\n\n // That's all, just return\n return;\n } else {\n // New we check to see if we should remove the integer part\n boolean allZero = (value == 0 && fractional == 0);\n boolean willShowFraction = fractional != 0 || hasChar('0',\n numeratorSpecials);\n boolean removeBecauseZero = allZero && (hasOnly('#',\n integerSpecials) || !hasChar('0', numeratorSpecials));\n boolean removeBecauseFraction =\n !allZero && value == 0 && willShowFraction && !hasChar(\n '0', integerSpecials);\n if (removeBecauseZero || removeBecauseFraction) {\n Special start = integerSpecials.get(\n integerSpecials.size() - 1);\n if (hasChar('?', integerSpecials, numeratorSpecials)) {\n mods.add(replaceMod(start, true, numerator, false,\n ' '));\n } else {\n mods.add(deleteMod(start, true, numerator, false));\n }\n } else {\n // Not removing the integer part -- print it out\n writeInteger(result, output, integerSpecials, mods, false, false);\n }\n }\n }\n\n // Calculate and print the actual fraction (improper or otherwise)\n try {\n int n;\n int d;\n // the \"fractional % 1\" captures integer values in improper fractions\n if (fractional == 0 || (improperFraction && fractional % 1 == 0)) {\n // 0 as a fraction is reported by excel as 0/1\n n = (int) Math.round(fractional);\n d = fixDenominator ? maxDenominator : 1;\n } else if (fixDenominator) { //20100913, henrichen@zkoss.org: handle fixed denominator case \n \td = maxDenominator;\n \tn= (int) Math.round(fractional * d);\n\t\t\t} else {\n Fraction frac = new Fraction(fractional, maxDenominator);\n n = frac.getNumerator();\n d = frac.getDenominator();\n }\n if (improperFraction)\n n += Math.round(value * d);\n writeSingleInteger(numeratorFmt, n, output, numeratorSpecials,\n mods);\n //20100913, henrichen@zkoss.org: handle 0 in ???/??? text format\n writeSingleInteger(d == 1 ? leftAlignNumberFormat(denominatorSpecials) : denominatorFmt, d, output, denominatorSpecials,\n mods);\n } catch (RuntimeException ignored) {\n ignored.printStackTrace();\n }\n }", "title": "" }, { "docid": "347faedd10cbe9818d66aa49fdeea248", "score": "0.53209263", "text": "@Test\n public void testDiv() {\n System.out.println(\"div\");\n Fraction f2 = new Fraction(2,5);\n Fraction instance = new Fraction(3,7);\n Fraction expResult = new Fraction(15,14);\n Fraction result = instance.div(f2);\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "57354031b060eea8f908983b4be2d8b1", "score": "0.5317525", "text": "@Test\r\n public void testCalculateOnContFracExpr() {\r\n String expression = \"1 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 / + / + / + / + / + / + / + / + / + / +\";\r\n System.out.println(\"calculate \\\"\" + expression + \"\\\"\");\r\n double expResult = Math.sqrt(2);\r\n double result = revPolCalc.calculate(expression);\r\n assertEquals(expResult, result, TEST_DELTA);\r\n }", "title": "" }, { "docid": "88c4a3a6c4df2dec1d5c67155751416b", "score": "0.5306971", "text": "public void operacionDividir(View view) {\n numero1 = Float.parseFloat(String.valueOf(txtResultado.getText()));\n operacion = \"/\";\n\n }", "title": "" }, { "docid": "aff2ce26aeb4e2828256343f4f423712", "score": "0.530691", "text": "public Fraction(double numerateur, double denominateur)\n\t{\n\t\tthis.numerateur = numerateur;\n\t\tthis.denominateur = denominateur;\n\t}", "title": "" }, { "docid": "c161837317f609cc82b72098fa8fa829", "score": "0.5303451", "text": "public Fraction() {\n numerator = 1;\n denominator = 1;\n }", "title": "" }, { "docid": "1dc1cfdf43c6089db2c6666898a0d6da", "score": "0.5302754", "text": "public static BigFraction properFraction(final Object value) {\n\t return BigFraction.valueOf(value).setAlwaysProper(true);\n\t}", "title": "" }, { "docid": "71ae9f791de5edd013280d74a92657d4", "score": "0.52984035", "text": "public void testConstructorGcdZeroInNumerator()\n {\n \tRational s = new Rational(0,5);\n \tassertEquals(\"Test Basic GCD Functionality with zero provided as numerator, check numerator: \", 0, s.numerator() );\n \tassertEquals(\"Test Basic GCD Functionality with zero provided as numerator, check denominator: \", 5, s.denominator());\n }", "title": "" }, { "docid": "7c34a8637672376a173ce76080cbcd2a", "score": "0.5296971", "text": "private static void operation(String num) {\n double meters = Double.parseDouble(num ) / 3.2808;\r\n System.out.println(num + \" feet is equal to \" + meters + \" in meters.\");\r\n\r\n // thank you message after the problem completes.\r\n System.out.println(\"Thank You for using the Super Feet to Meters Converter!!\");\r\n\r\n }", "title": "" }, { "docid": "30496c564bb3f570a754713a441f8c0f", "score": "0.5287595", "text": "public boolean checkRange() {\n if (((dDIA > 100.0) || (dDIA < 10.0)) && ((dCBS > 22.0) || (dCBS < 2.0)) && ((dTBS > 8.0)\n || (dTBS < 5.0)) && ((dICR > 20.0) || (dICR < 1.0)) && ((dCV > 200.0) || (dCV < 1.0))) {\n etDIA.setError(\"Please input a number between 10.0 and 100.0!\");\n etCBS.setError(\"Please input a number between 2.0 and 22.0!\");\n etTBS.setError(\"Please input a number between 5.0 and 8.0!\");\n etICR.setError(\"Please input a number between 1.0 and 20.0!\");\n etCV.setError(\"Please input a number between 1.0 and 200.0!\");\n return false;\n }\n\n // 4's\n else if (((dDIA > 100.0) || (dDIA < 10.0)) && ((dCBS > 22.0) || (dCBS < 2.0)) && ((dTBS > 8.0)\n || (dTBS < 5.0)) && ((dICR > 20.0) || (dICR < 1.0))) {\n etDIA.setError(\"Please input a number between 10.0 and 100.0!\");\n etCBS.setError(\"Please input a number between 2.0 and 22.0!\");\n etTBS.setError(\"Please input a number between 5.0 and 8.0!\");\n etICR.setError(\"Please input a number between 1.0 and 20.0!\");\n return false;\n }\n else if (((dDIA > 100.0) || (dDIA < 10.0)) && ((dCBS > 22.0) || (dCBS < 2.0)) && ((dTBS > 8.0)\n || (dTBS < 5.0)) && ((dCV > 200.0) || (dCV < 1.0))) {\n etDIA.setError(\"Please input a number between 10.0 and 100.0!\");\n etCBS.setError(\"Please input a number between 2.0 and 22.0!\");\n etTBS.setError(\"Please input a number between 5.0 and 8.0!\");\n etCV.setError(\"Please input a number between 1.0 and 200.0!\");\n return false;\n }\n else if (((dDIA > 100.0) || (dDIA < 10.0)) && ((dCBS > 22.0) || (dCBS < 2.0)) &&\n ((dICR > 20.0) || (dICR < 1.0)) && ((dCV > 200.0) || (dCV < 1.0))) {\n etDIA.setError(\"Please input a number between 10.0 and 100.0!\");\n etCBS.setError(\"Please input a number between 2.0 and 22.0!\");\n etICR.setError(\"Please input a number between 1.0 and 20.0!\");\n etCV.setError(\"Please input a number between 1.0 and 200.0!\");\n return false;\n }\n else if (((dDIA > 100.0) || (dDIA < 10.0)) && ((dTBS > 8.0) || (dTBS < 5.0))\n && ((dICR > 20.0) || (dICR < 1.0)) && ((dCV > 200.0) || (dCV < 1.0))) {\n etDIA.setError(\"Please input a number between 10.0 and 100.0!\");\n etTBS.setError(\"Please input a number between 5.0 and 8.0!\");\n etICR.setError(\"Please input a number between 1.0 and 20.0!\");\n etCV.setError(\"Please input a number between 1.0 and 200.0!\");\n return false;\n }\n else if (((dCBS > 22.0) || (dCBS < 2.0)) && ((dTBS > 8.0) || (dTBS < 5.0))\n && ((dICR > 20.0) || (dICR < 1.0)) && ((dCV > 200.0) || (dCV < 1.0))) {\n etCBS.setError(\"Please input a number between 2.0 and 22.0!\");\n etTBS.setError(\"Please input a number between 5.0 and 8.0!\");\n etICR.setError(\"Please input a number between 1.0 and 20.0!\");\n etCV.setError(\"Please input a number between 1.0 and 200.0!\");\n return false;\n }\n\n // 3's\n else if (((dDIA > 100.0) || (dDIA < 10.0)) && ((dCBS > 22.0) || (dCBS < 2.0))\n && ((dTBS > 8.0) || (dTBS < 5.0))) {\n etDIA.setError(\"Please input a number between 10.0 and 100.0!\");\n etCBS.setError(\"Please input a number between 2.0 and 22.0!\");\n etTBS.setError(\"Please input a number between 5.0 and 8.0!\");\n return false;\n }\n else if (((dDIA > 100.0) || (dDIA < 10.0)) && ((dCBS > 22.0) || (dCBS < 2.0))\n && ((dICR > 20.0) || (dICR < 1.0))) {\n etDIA.setError(\"Please input a number between 10.0 and 100.0!\");\n etCBS.setError(\"Please input a number between 2.0 and 22.0!\");\n etICR.setError(\"Please input a number between 1.0 and 20.0!\");\n return false;\n }\n else if (((dDIA > 100.0) || (dDIA < 10.0)) && ((dCBS > 22.0) || (dCBS < 2.0))\n && ((dCV > 200.0) || (dCV < 1.0))) {\n etDIA.setError(\"Please input a number between 10.0 and 100.0!\");\n etCBS.setError(\"Please input a number between 2.0 and 22.0!\");\n etCV.setError(\"Please input a number between 1.0 and 200.0!\");\n return false;\n }\n else if (((dDIA > 100.0) || (dDIA < 10.0)) && ((dTBS > 8.0) || (dTBS < 5.0))\n && ((dICR > 20.0) || (dICR < 1.0))) {\n etDIA.setError(\"Please input a number between 10.0 and 100.0!\");\n etTBS.setError(\"Please input a number between 5.0 and 8.0!\");\n etICR.setError(\"Please input a number between 1.0 and 20.0!\");\n return false;\n }\n else if (((dDIA > 100.0) || (dDIA < 10.0)) && ((dTBS > 8.0) || (dTBS < 5.0))\n && ((dCV > 200.0) || (dCV < 1.0))) {\n etDIA.setError(\"Please input a number between 10.0 and 100.0!\");\n etTBS.setError(\"Please input a number between 5.0 and 8.0!\");\n etCV.setError(\"Please input a number between 1.0 and 200.0!\");\n return false;\n }\n else if (((dDIA > 100.0) || (dDIA < 10.0)) && ((dICR > 20.0) || (dICR < 1.0))\n && ((dCV > 200.0) || (dCV < 1.0))) {\n etDIA.setError(\"Please input a number between 10.0 and 100.0!\");\n etICR.setError(\"Please input a number between 1.0 and 20.0!\");\n etCV.setError(\"Please input a number between 1.0 and 200.0!\");\n return false;\n }\n else if (((dCBS > 22.0) || (dCBS < 2.0)) && ((dTBS > 8.0) || (dTBS < 5.0))\n && ((dICR > 20.0) || (dICR < 1.0))) {\n etCBS.setError(\"Please input a number between 2.0 and 22.0!\");\n etTBS.setError(\"Please input a number between 5.0 and 8.0!\");\n etICR.setError(\"Please input a number between 1.0 and 20.0!\");\n return false;\n }\n else if (((dCBS > 22.0) || (dCBS < 2.0)) && ((dTBS > 8.0) || (dTBS < 5.0))\n && ((dCV > 200.0) || (dCV < 1.0))) {\n etCBS.setError(\"Please input a number between 2.0 and 22.0!\");\n etTBS.setError(\"Please input a number between 5.0 and 8.0!\");\n etCV.setError(\"Please input a number between 1.0 and 200.0!\");\n return false;\n }\n else if (((dCBS > 22.0) || (dCBS < 2.0)) && ((dICR > 20.0) || (dICR < 1.0))\n && ((dCV > 200.0) || (dCV < 1.0))) {\n etCBS.setError(\"Please input a number between 2.0 and 22.0!\");\n etICR.setError(\"Please input a number between 1.0 and 20.0!\");\n etCV.setError(\"Please input a number between 1.0 and 200.0!\");\n return false;\n }\n else if (((dTBS > 8.0) || (dTBS < 5.0)) && ((dICR > 20.0) || (dICR < 1.0))\n && ((dCV > 200.0) || (dCV < 1.0))) {\n etTBS.setError(\"Please input a number between 5.0 and 8.0!\");\n etICR.setError(\"Please input a number between 1.0 and 20.0!\");\n etCV.setError(\"Please input a number between 1.0 and 200.0!\");\n return false;\n }\n\n // 2's\n else if (((dDIA > 100.0) || (dDIA < 10.0)) && ((dCBS > 22.0) || (dCBS < 2.0))) {\n etDIA.setError(\"Please input a number between 10.0 and 100.0!\");\n etCBS.setError(\"Please input a number between 2.0 and 22.0!\");\n return false;\n }\n else if (((dDIA > 100.0) || (dDIA < 10.0)) && ((dTBS > 8.0) || (dTBS < 5.0))) {\n etDIA.setError(\"Please input a number between 10.0 and 100.0!\");\n etTBS.setError(\"Please input a number between 5.0 and 8.0!\");\n return false;\n }\n else if (((dDIA > 100.0) || (dDIA < 10.0)) && ((dICR > 20.0) || (dICR < 1.0))) {\n etDIA.setError(\"Please input a number between 10.0 and 100.0!\");\n etICR.setError(\"Please input a number between 1.0 and 20.0!\");\n return false;\n }\n else if (((dDIA > 100.0) || (dDIA < 10.0)) && ((dCV > 200.0) || (dCV < 1.0))) {\n etDIA.setError(\"Please input a number between 10.0 and 100.0!\");\n etCV.setError(\"Please input a number between 1.0 and 200.0!\");\n return false;\n }\n else if (((dCBS > 22.0) || (dCBS < 2.0)) && ((dTBS > 8.0) || (dTBS < 5.0))) {\n etCBS.setError(\"Please input a number between 2.0 and 22.0!\");\n etTBS.setError(\"Please input a number between 5.0 and 8.0!\");\n return false;\n }\n else if (((dCBS > 22.0) || (dCBS < 2.0)) && ((dICR > 20.0) || (dICR < 1.0))) {\n etCBS.setError(\"Please input a number between 2.0 and 22.0!\");\n etICR.setError(\"Please input a number between 1.0 and 20.0!\");\n return false;\n }\n else if (((dCBS > 22.0) || (dCBS < 2.0)) && ((dCV > 200.0) || (dCV < 1.0))) {\n etCBS.setError(\"Please input a number between 2.0 and 22.0!\");\n etCV.setError(\"Please input a number between 1.0 and 200.0!\");\n return false;\n }\n else if (((dTBS > 8.0) || (dTBS < 5.0)) && ((dICR > 20.0) || (dICR < 1.0))) {\n etTBS.setError(\"Please input a number between 5.0 and 8.0!\");\n etICR.setError(\"Please input a number between 1.0 and 20.0!\");\n return false;\n }\n else if (((dTBS > 8.0) || (dTBS < 5.0)) && ((dCV > 200.0) || (dCV < 1.0))) {\n etTBS.setError(\"Please input a number between 5.0 and 8.0!\");\n etCV.setError(\"Please input a number between 1.0 and 200.0!\");\n return false;\n }\n else if (((dICR > 20.0) || (dICR < 1.0)) && ((dCV > 200.0) || (dCV < 1.0))) {\n etICR.setError(\"Please input a number between 1.0 and 20.0!\");\n etCV.setError(\"Please input a number between 1.0 and 200.0!\");\n return false;\n }\n\n // 1's\n else if ((dDIA > 100.0) || (dDIA < 10.0)) {\n etDIA.setError(\"Please input a number between 10.0 and 100.0!\");\n return false;\n }\n else if ((dCBS > 22.0) || (dCBS < 2.0)) {\n etCBS.setError(\"Please input a number between 2.0 and 22.0!\");\n return false;\n }\n else if ((dTBS > 8.0) || (dTBS < 5.0)) {\n etTBS.setError(\"Please input a number between 5.0 and 8.0!\");\n return false;\n }\n else if ((dICR > 20.0) || (dICR < 1.0)) {\n etICR.setError(\"Please input a number between 1.0 and 20.0!\");\n }\n else if ((dCV > 200.0) || (dCV < 1.0)) {\n etCV.setError(\"Please input a number between 1.0 and 200.0!\");\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "39c94c07c5928bca57e215a873637198", "score": "0.5287264", "text": "public static void main(String[] args) \n {\n \tScanner input = new Scanner(System.in);\n \t\n\t System.out.print(\"Enter a fraction string: \");\n\t String fractionString = input.nextLine();\n\t \n\t //checks to see if the input is quit\n\t while (!fractionString.equals(\"quit\")){\n\t \tSystem.out.println(produceAnswer(fractionString));\n\t\t System.out.println();\n\t\t //prompts for another input\n\t\t System.out.print(\"Enter a fraction string: \");\n\t\t fractionString = input.nextLine();\n\t }\n\t \n\t \n\n }", "title": "" }, { "docid": "9efbe9072ee3c9262618a147c1ba7714", "score": "0.527524", "text": "private void matchUnitNumeratorSign () {\n // If signs match, or if either quantity is 0 (which has no sign), we don't need to do anything\n if ((unit > 0 && numerator > 0) || (unit < 0 && numerator < 0) || (unit == 0 || numerator == 0)) { // last || is intentionally different\n return;\n }\n\n // Simply convert to improper and back\n numerator = getImproperNumerator();\n unit = 0;\n calculateUnit();\n }", "title": "" }, { "docid": "548258b935c3384b727b419ed8c6f884", "score": "0.5271817", "text": "@Test\r\n\tpublic void testFractionalRecovery()\r\n\t{\r\n\t\tRecoveryFractional fr = new RecoveryFractional(0.1);\r\n\t\tint currentLifePoints = 100;\r\n\t\tint maxLifePoints = 100;\r\n\t\tassertEquals(100, fr.calculateRecovery(currentLifePoints, maxLifePoints));\r\n\t\tcurrentLifePoints -= 10;\r\n\t\tassertEquals(99, fr.calculateRecovery(currentLifePoints, maxLifePoints));\r\n\t\tcurrentLifePoints = 89;\r\n\t\tassertEquals(97, fr.calculateRecovery(currentLifePoints, maxLifePoints));\r\n\t}", "title": "" }, { "docid": "a0ae968c786d90423883cef31c742d61", "score": "0.5260103", "text": "public void shortenFraction() {\n BigInteger gcd = this.getNumerator().gcd(getDenominator());\n //compareTo zwraca 0, gdy oba obiekty BigInteger maja taka sama wartosc.\n if (gcd.compareTo(BigInteger.valueOf(1)) != 0) {\n this.setNumerator(this.getNumerator().divide(gcd));\n this.setDenominator(this.getDenominator().divide(gcd));\n }\n }", "title": "" }, { "docid": "9b92f1df98f05c0cc53afe919c8ed9c2", "score": "0.5256508", "text": "public FractionalNumber(int num, int denom){ //DONE\n \t\n numerator = num;\n if(denom != 0) {\n denominator = denom;\n }\n else {\n throw new IllegalArgumentException(\"Denominator cannot be 0.\");\n }\n this.normalize();\n }", "title": "" }, { "docid": "52efd73ec64f5e8837df235fc41ee635", "score": "0.5252057", "text": "public boolean validateValue1(String value) {\n Alert alert = new Alert(AlertType.INFORMATION);\n try { \n if (Double.parseDouble(value) <= 0) {\n alert.setTitle(\"Alert !!!\");\n alert.setContentText(\"Value of x should be within its domain !!\");\n alert.showAndWait();\n return false;\n } else {\n return true;\n }\n } catch (NumberFormatException e) { \n alert.setTitle(\"Alert !!!\");\n alert.setContentText(\"Input type is not properly defined, it should be number !!\");\n alert.showAndWait();\n return false; \n }\n }", "title": "" }, { "docid": "89a0179fc2cef94ae6450f1e138e783d", "score": "0.52360004", "text": "public void validateChangeInput(String userInput) throws InvalidMoneyException {\n\n\t\tString[] inputDelimited = userInput.split(\" \");\n\n\t\tfor (int q = 0; q < inputDelimited.length; q++) {\n\t\t\tif (inputDelimited[q].equals(\".25\") || inputDelimited[q].equals(\".5\") || inputDelimited[q].equals(\".5\")\n\t\t\t\t\t|| inputDelimited[q].equals(\".1\") || inputDelimited[q].equals(\".10\")\n\t\t\t\t\t|| inputDelimited[q].equals(\".05\") || inputDelimited[q].equals(\"5\")\n\t\t\t\t\t|| inputDelimited[q].equals(\"1\")) {\n\n\t\t\t\tdouble value = Double.parseDouble(inputDelimited[q]);\n\t\t\t\ttotal += value;\n\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"Invalid moeny entered. Must be: .05, .10, .5, 1, 5\");\n\t\t\t\tthrow new InvalidMoneyException(\"Invalid money. Refunding all entered.\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"Total Entered: $\" + total + \"\\n\");\n\t}", "title": "" }, { "docid": "7cd04c1ded1518c60360425556fbdd9e", "score": "0.5232303", "text": "private static boolean isValidEquationSyntax(String input) {\n if (!input.matches(\"[0-9X\\\\.\\\\+\\\\-\\\\^\\\\*\\\\=]+\")) {\n return false;\n }\n\n // single = sign splitting sides\n String formattedInput = input.replaceAll(\"-\", \"+-\");\n String[] equalSplit = formattedInput.split(\"=\");\n if (equalSplit.length == 2) {\n String[] leftTerms = equalSplit[0].split(\"\\\\+\");\n String[] rightTerms = equalSplit[1].split(\"\\\\+\");\n if (equalSplit[0].length() == 0 || equalSplit[1].length() == 0 ||\n !isProperlyFormatted(leftTerms) || !isProperlyFormatted(rightTerms)) {\n return false;\n }\n } else {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "ffd8b6346c9c4091e07ad6152a2b64dc", "score": "0.5231122", "text": "private Fraction(double value, double epsilon, int maxDenominator, int maxIterations)\n {\n long overflow = Integer.MAX_VALUE;\n double r0 = value;\n long a0 = (long)Math.floor(r0);\n if (a0 > overflow) {\n throw new IllegalArgumentException(\"Overflow trying to convert \"+value+\" to fraction (\"+a0+\"/\"+1l+\")\");\n }\n\n // check for (almost) integer arguments, which should not go\n // to iterations.\n if (Math.abs(a0 - value) < epsilon) {\n this.numerator = (int) a0;\n this.denominator = 1;\n return;\n }\n\n long p0 = 1;\n long q0 = 0;\n long p1 = a0;\n long q1 = 1;\n\n long p2;\n long q2;\n\n int n = 0;\n boolean stop = false;\n do {\n ++n;\n double r1 = 1.0 / (r0 - a0);\n long a1 = (long)Math.floor(r1);\n p2 = (a1 * p1) + p0;\n q2 = (a1 * q1) + q0;\n if ((p2 > overflow) || (q2 > overflow)) {\n \t//20100913, henrichen@zkoss.org: overflow actually means the error is extremely small, shall take previous value\n //throw new RuntimeException(\"Overflow trying to convert \"+value+\" to fraction (\"+p2+\"/\"+q2+\")\");\n \tbreak;\n }\n\n double convergent = (double)p2 / (double)q2;\n if (n < maxIterations && Math.abs(convergent - value) > epsilon && q2 < maxDenominator) {\n p0 = p1;\n p1 = p2;\n q0 = q1;\n q1 = q2;\n a0 = a1;\n r0 = r1;\n } else {\n stop = true;\n }\n } while (!stop);\n\n if (n >= maxIterations) {\n throw new RuntimeException(\"Unable to convert \"+value+\" to fraction after \"+maxIterations+\" iterations\");\n }\n\n if (q2 <= maxDenominator) { //20100913, henrichen@zkoss.org: shall be <=\n this.numerator = (int) p2;\n this.denominator = (int) q2;\n } else {\n this.numerator = (int) p1;\n this.denominator = (int) q1;\n }\n\n }", "title": "" }, { "docid": "ebb120c9e081b10ef7f44b7346449495", "score": "0.5229501", "text": "public Fraction() {\n numerator = 0;\n denominator = 1;\n }", "title": "" }, { "docid": "145aaf7df0b38e29f3d50b964ffea81d", "score": "0.5228915", "text": "public boolean validateValue22(String value) {\n try { \n if (Double.parseDouble(value) <= 0 || Double.parseDouble(value) == 1) {\n System.out.println(\"Value of x should be within its domain !!\");\n return false;\n } else {\n return true;\n }\n } catch (NumberFormatException e) { \n System.out.println(\"Input type is not properly defined, it should be number !!\");\n return false; \n }\n }", "title": "" }, { "docid": "9e02f97a7c3bb9f687ad59f30bb28572", "score": "0.52254844", "text": "public static void main(String[] args) {\n\r\n\t\tSystem.out.println(\"Enter your 10 grade percentages:\");\r\n\t\t\r\n\t\tScanner input = new Scanner(System.in); \r\n\t\t\r\n\t\tString grade;\r\n\t\tgrade = \"invalid\";\r\n\t\t\r\n\t\r\n\t\t\r\n\t\tint g1;\r\n\t\tint g2;\r\n\t\tint g3;\r\n\t\tint g4;\r\n\t\tint g5;\r\n\t\tint g6;\r\n\t\tint g7;\r\n\t\tint g8;\r\n\t\tint g9;\r\n\t\tint g10;\r\n\t\t\r\n\t\tint sum;\r\n\t\tint avg;\r\n\r\n\t\t\r\n\r\n\t\tSystem.out.println(\"What is your first grade?\");\r\n\t\tg1 = input.nextInt();\r\n\t\t\r\n\t\tSystem.out.println(\"What is your second grade?\");\r\n\t\tg2 = input.nextInt();\r\n\t\t\r\n\t\tSystem.out.println(\"What is your third grade?\");\r\n\t\tg3 = input.nextInt();\r\n\t\t\r\n\t\tSystem.out.println(\"What is your fourth grade?\");\r\n\t\tg4 = input.nextInt();\r\n\t\t\r\n\t\tSystem.out.println(\"What is your fifth grade?\");\r\n\t\tg5 = input.nextInt();\r\n\t\t\r\n\t\tSystem.out.println(\"What is your sixth grade?\");\r\n\t\tg6 = input.nextInt();\r\n\t\t\r\n\t\tSystem.out.println(\"What is your seventh grade?\");\r\n\t\tg7 = input.nextInt();\r\n\t\t\r\n\t\tSystem.out.println(\"What is your eighth grade?\");\r\n\t\tg8 = input.nextInt();\r\n\t\t\r\n\t\tSystem.out.println(\"What is your ninth grade?\");\r\n\t\tg9 = input.nextInt();\r\n\t\t\r\n\t\tSystem.out.println(\"What is your tenth grade?\");\r\n\t\tg10 = input.nextInt();\r\n\t\t\r\n\t\tsum = g1+g2+g3+g4+g5+g6+g7+g8+g9+g10;\r\n\t\t\r\n\t\tavg = sum/10;\r\n\t\t\r\n\t\t\r\n\t\tif (avg >=90) {\r\n\t\t\tgrade = \"A\";\r\n\t\t}\r\n\t\telse if ( avg >=80) {\r\n\t\t\tgrade = \"B\";\r\n\t\t}\r\n\t\telse if ( avg >=70) {\r\n\t\t\tgrade = \"C\";\r\n\t\t}\r\n\t\telse if ( avg >=60) {\r\n\t\t\tgrade = \"D\";\r\n\t\t}\r\n\t\telse if ( avg >=0) {\r\n\t\t\tgrade = \"F\";\r\n\t\t}\r\n\t\telse {\r\n\t\t\tSystem.out.println(\"Grade average is not 1-100\");\r\n\t\t}\r\n\t\t\r\n\t\tif (!grade.equals(\"invalid\")) {\r\n\t\t\tSystem.out.println(\"Youre average grade is \" +grade);\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "554d4c153973bd743dabe114b4786a86", "score": "0.5220148", "text": "public Fraction divide(Fraction otherFraction){\r\n\t\tint up = numerator * otherFraction.getDenominator();\r\n\t\tint bottom = denominator * otherFraction.getNumerator();\r\n\t\tif (denominator == 0 || otherFraction.denominator ==0) {\r\n\t\t\tthrow new IllegalArgumentException(\"Denominator cannot be zero!\");\r\n\t\t}\r\n\t\tFraction frac = new Fraction(up, bottom);\r\n\t\tfrac.toLowestTerms();\r\n\t\treturn frac;\r\n\t}", "title": "" }, { "docid": "cf530acf999a18c68a0bc1dfa7d946a4", "score": "0.5217931", "text": "private int getIntNumerator(String fraction){\n\n //Set start index of fraction\n final int fractionStart = 0;\n\n //Delimit where the denominator starts\n int delimiter = fraction.indexOf(\"/\");\n\n //Get only the numerator of the string\n String stringResult = fraction.substring(fractionStart, delimiter);\n\n //Convert to integer\n\n return Integer.parseInt(stringResult);\n }", "title": "" }, { "docid": "7c6b697a3afd77aec2d66781ae9e0495", "score": "0.5215871", "text": "public boolean isValid(DialogContext dc)\n {\n boolean result = super.isValid(dc);\n if(! result)\n {\n return false;\n }\n\n String value = dc.getValue(this);\n\n if (value.length() > this.getMaxLength())\n {\n invalidate(dc, \"'\" + value + \"' is not a valid blood pressure value.\");\n return false;\n }\n\n String systolicValueStr = null;\n String diastolicValueStr = null;\n\n StringTokenizer tokens = new StringTokenizer(value, \"/\");\n // parse the string for the systolic and Diastolic pressure values\n if (tokens.countTokens() != 2)\n {\n invalidate(dc, \"'\" + value + \"' is not a valid blood pressure value.\");\n return false;\n }\n systolicValueStr = tokens.nextToken();\n diastolicValueStr = tokens.nextToken();\n\n try\n {\n int systolicValue = Integer.parseInt(systolicValueStr);\n int diastolicValue = Integer.parseInt(diastolicValueStr);\n if (diastolicValue > systolicValue)\n {\n throw new Exception();\n }\n else if (systolicValue <= 0 || diastolicValue <= 0)\n {\n throw new Exception();\n }\n }\n catch (Exception e)\n {\n invalidate(dc, \"'\" + value + \"' is not a valid blood pressure value.\");\n return false;\n }\n\n return true;\n }", "title": "" }, { "docid": "b6a02faaed8dac6236a0f9b16de8927d", "score": "0.5212444", "text": "private void createBandBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_createBandBtnActionPerformed\n if (upperBoundTxt.getText().equals(\"\") || lowerBoundTxt.getText().equals(\"\") || FlexiRateTxt.getText().equals(\"\")){\n JOptionPane.showMessageDialog(null, \"Enter Values!\", \"Add Discount\", JOptionPane.WARNING_MESSAGE); //empty values in gui message \n }else {\n try{\n float upper = Float.parseFloat(upperBoundTxt.getText());\n float lower = Float.parseFloat(lowerBoundTxt.getText());\n float rate = Float.parseFloat(FlexiRateTxt.getText());\n \n if (upper < lower && upper != 0 ){\n JOptionPane.showMessageDialog(null, \"Invalid Band\", \"Add Discount\", JOptionPane.WARNING_MESSAGE);\n }else{\n upperList.add(upper);\n lowerList.add(lower);\n ratesLinkedList.add(rate);\n ratesList.addElement(lower + \" \" + \"-\" + \" \" + upper + \" \" + \"Rate: \" + rate);\n }\n }catch(NumberFormatException ex){\n JOptionPane.showMessageDialog(null, \"Upper, Lower and Discount Rate Must be numbres\", \"Add Discount\", JOptionPane.WARNING_MESSAGE);\n }\n }\n }", "title": "" }, { "docid": "57b0c8e7fad093833f0a2f140cbc9358", "score": "0.5203973", "text": "private Boolean compareFraction() {\n Boolean result = false;\n switch (getMathsOperator()) {\n case \"<\":\n result = (getFirstFraction().compareTo(getSecondFraction()) < 0);\n break;\n case \">\":\n result = (getFirstFraction().compareTo(getSecondFraction()) > 0);\n break;\n case \"=\":\n result = (getFirstFraction().compareTo(getSecondFraction()) == 0);\n break;\n case \"!=\":\n result = (getFirstFraction().compareTo(getSecondFraction()) != 0);\n break;\n }\n return result;\n }", "title": "" }, { "docid": "14c697e436688559989f1e27f0b85afd", "score": "0.52012795", "text": "private boolean validateNumber(Double number) {\n return !(number.isInfinite() || number.isNaN());\n }", "title": "" }, { "docid": "ecc2257d0bb1cb1b791de37a9576cfd1", "score": "0.5199378", "text": "public Boolean equals(Fraction fraction) {\n\n if(this.getDecimalValue() == fraction.getDecimalValue()) {\n return true;\n }\n\n return false;\n\n }", "title": "" }, { "docid": "71ba8969f59aca96c6cd653691495c27", "score": "0.5186673", "text": "private Fraction genAnswer()\n {\n switch (operator)\n {\n // Answers for Addition Problems\n case '+':\n {\n return genAnswerAddition();\n }\n \n // Answers for Subtraction Problems\n case '-':\n {\n return genAnswerSubtraction();\n }\n \n // Answers for Multiplication Problems\n case '*':\n {\n return genAnswerMultiplication();\n }\n \n // Answers for Division Problems\n case '/':\n {\n return genAnswerDivision();\n }\n }\n\n // Error State - Should never be reached\n return null;\n }", "title": "" }, { "docid": "31fc16fdd24dafd3c7d225e18cf4865f", "score": "0.5185085", "text": "public void testConstructorGcdRelativelyPrime()\n {\n \tRational s = new Rational(12,5);\n \tassertEquals(\"Test GCD Functionality using 2 relatively prime numbers, check numerator: \", 12, s.numerator() );\n \tassertEquals(\"Test GCD Functionality using 2 relatively prime numbers, check denominator: \", 5, s.denominator());\n }", "title": "" }, { "docid": "4321dff8b567c1de10e66c5b8d4d8964", "score": "0.51824677", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tint n1 =Integer.parseInt( t1.getText());\n\t\t\t\tint n2 =Integer.parseInt( t2.getText());\n\t\t\t\tint DIVIDE = n1/n2;\n\t\t\t\tt3.setText(\"DIVIDE of the numbers is : \"+DIVIDE);\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "8378c0b806ce6c32547cae5d18e2c811", "score": "0.51806486", "text": "private void getInput()\n {\n try\n {\n enteredWeight = Double.parseDouble(txtFullWeight.getText().toString());\n //only need to get the bar weight if the user enters their full weight\n if(fullWeightEntered)\n barWeight = Double.parseDouble(txtBarWeight.getText().toString());\n }\n catch(Exception e)\n {\n Toast.makeText(FragmentPlateCalculator.this.getActivity(),\"enter a valid number\",Toast.LENGTH_SHORT).show();\n }\n }", "title": "" }, { "docid": "7058063108e67f065db1e93c07334e4e", "score": "0.5180019", "text": "@Override\r\n\tpublic void progress(double fraction) {\n\t\t\r\n\t}", "title": "" }, { "docid": "785e940e72203c03cee43a35ccd173ed", "score": "0.5177971", "text": "public static void msjValoresNumericosInvalidos(Component componentePadre) {\n JOptionPane.showMessageDialog(componentePadre,\n \"Uno o más valores numéricos son inválidos (Requeridos (*)).\", \"Error de validación\",\n JOptionPane.ERROR_MESSAGE);\n }", "title": "" }, { "docid": "4c02327c27e76bb3973abfa3a5798518", "score": "0.5175901", "text": "private float checker()\n {\n float num = 0.0f;\n\n if (number.getValue() != null && !number.getValue().isEmpty()) {\n try {\n num = Float.parseFloat(number.getValue().toString());\n } catch (NumberFormatException nfe) {\n System.out.println(\"Could not parse\" + nfe);\n }\n }\n return num;\n }", "title": "" } ]
c26564d2dbdb67c24d3c2d45dceb8ffe
optional int32 TotalNumberMessages = 2;
[ { "docid": "c46fd008ffc6bd5e00a58db9607a4ef9", "score": "0.0", "text": "public Builder clearTotalNumberMessages() {\n bitField0_ = (bitField0_ & ~0x00000002);\n totalNumberMessages_ = 0;\n onChanged();\n return this;\n }", "title": "" } ]
[ { "docid": "2820a5063838dbf52c52431d9390028d", "score": "0.8017324", "text": "int getTotalNumberMessages();", "title": "" }, { "docid": "2820a5063838dbf52c52431d9390028d", "score": "0.8017324", "text": "int getTotalNumberMessages();", "title": "" }, { "docid": "2820a5063838dbf52c52431d9390028d", "score": "0.8017324", "text": "int getTotalNumberMessages();", "title": "" }, { "docid": "2820a5063838dbf52c52431d9390028d", "score": "0.8017324", "text": "int getTotalNumberMessages();", "title": "" }, { "docid": "2820a5063838dbf52c52431d9390028d", "score": "0.8017324", "text": "int getTotalNumberMessages();", "title": "" }, { "docid": "b493e7ce0114d312021a9ba008cdc050", "score": "0.78777", "text": "int getTotalNumMessages();", "title": "" }, { "docid": "1f14c08baadba7cad6cab0b852957a82", "score": "0.7833464", "text": "public int getNbMessages();", "title": "" }, { "docid": "1939c1720ecdd8c1972de17c8cc7883c", "score": "0.766068", "text": "public int getMessagesCount() {\n return 0; \n }", "title": "" }, { "docid": "56d818f8a1aad74d489f06bd258c1a69", "score": "0.75060046", "text": "int getMessagesCount();", "title": "" }, { "docid": "56d818f8a1aad74d489f06bd258c1a69", "score": "0.75060046", "text": "int getMessagesCount();", "title": "" }, { "docid": "56d818f8a1aad74d489f06bd258c1a69", "score": "0.75060046", "text": "int getMessagesCount();", "title": "" }, { "docid": "56d818f8a1aad74d489f06bd258c1a69", "score": "0.75060046", "text": "int getMessagesCount();", "title": "" }, { "docid": "56d818f8a1aad74d489f06bd258c1a69", "score": "0.75060046", "text": "int getMessagesCount();", "title": "" }, { "docid": "8589f5f0d9215faba69d37e78e2dc5bf", "score": "0.74201375", "text": "public int getNumMessages(){\r\n return messages.size();\r\n }", "title": "" }, { "docid": "ca80b550563c849f79e5e60bbc88622d", "score": "0.7281268", "text": "public int getTotalNumberMessages() {\n return totalNumberMessages_;\n }", "title": "" }, { "docid": "ca80b550563c849f79e5e60bbc88622d", "score": "0.7281268", "text": "public int getTotalNumberMessages() {\n return totalNumberMessages_;\n }", "title": "" }, { "docid": "ca80b550563c849f79e5e60bbc88622d", "score": "0.7281268", "text": "public int getTotalNumberMessages() {\n return totalNumberMessages_;\n }", "title": "" }, { "docid": "ca80b550563c849f79e5e60bbc88622d", "score": "0.7281268", "text": "public int getTotalNumberMessages() {\n return totalNumberMessages_;\n }", "title": "" }, { "docid": "ca80b550563c849f79e5e60bbc88622d", "score": "0.7281268", "text": "public int getTotalNumberMessages() {\n return totalNumberMessages_;\n }", "title": "" }, { "docid": "2bde75ec394cec9cc40c1cef19584402", "score": "0.7224264", "text": "int getMessageCount();", "title": "" }, { "docid": "2bde75ec394cec9cc40c1cef19584402", "score": "0.7224264", "text": "int getMessageCount();", "title": "" }, { "docid": "2bde75ec394cec9cc40c1cef19584402", "score": "0.7224264", "text": "int getMessageCount();", "title": "" }, { "docid": "f0de942a75cdf33737c0b570dd78dfc9", "score": "0.7182845", "text": "public int getNbWaitingMessages();", "title": "" }, { "docid": "5ddd5a3ed0fb588bf594e06648d1f06b", "score": "0.71268684", "text": "public int getTotalNumMessages() {\n return totalNumMessages_;\n }", "title": "" }, { "docid": "4fdd4af9b6aa6f2b9898cdcc66303861", "score": "0.70155096", "text": "public int getTotalNumberMessages() {\n return totalNumberMessages_;\n }", "title": "" }, { "docid": "4fdd4af9b6aa6f2b9898cdcc66303861", "score": "0.70155096", "text": "public int getTotalNumberMessages() {\n return totalNumberMessages_;\n }", "title": "" }, { "docid": "4fdd4af9b6aa6f2b9898cdcc66303861", "score": "0.70155096", "text": "public int getTotalNumberMessages() {\n return totalNumberMessages_;\n }", "title": "" }, { "docid": "4fdd4af9b6aa6f2b9898cdcc66303861", "score": "0.70155096", "text": "public int getTotalNumberMessages() {\n return totalNumberMessages_;\n }", "title": "" }, { "docid": "4fdd4af9b6aa6f2b9898cdcc66303861", "score": "0.70155096", "text": "public int getTotalNumberMessages() {\n return totalNumberMessages_;\n }", "title": "" }, { "docid": "02873ad083cadc4789e0fc46fad157c0", "score": "0.7008987", "text": "public int getNewMessagesCount() {\n return 0; \n }", "title": "" }, { "docid": "3005318c5d9b446e313816d975241482", "score": "0.69709903", "text": "private int totalMessages() {\r\n\t\treturn this.messageStore.totalMessages();\r\n\t}", "title": "" }, { "docid": "83db1eb42032a7fee368a9d891ffe5a9", "score": "0.69087297", "text": "public static int getMaxCount() {\n return max_messages;\r\n }", "title": "" }, { "docid": "483771fb35ca2c718a9565b27032fe96", "score": "0.6861021", "text": "public int getTotalNumMessages() {\n return totalNumMessages_;\n }", "title": "" }, { "docid": "da9cb4185047f9772e753d2923899710", "score": "0.6736088", "text": "public int getUnreadMessagesCount() {\n return 0; \n }", "title": "" }, { "docid": "5315c2ba67ddc102dc464e2d6902e385", "score": "0.67161727", "text": "public int getReceivedMessageCount();", "title": "" }, { "docid": "d47b65b56a4d4bf72430f5abcca24a54", "score": "0.6691432", "text": "boolean hasTotalNumMessages();", "title": "" }, { "docid": "317ed851c75a1ea28838b108d2de5d19", "score": "0.669116", "text": "int getTransferMessagesCount();", "title": "" }, { "docid": "93266e428ac9e69c22a2f0e69b34585b", "score": "0.66633606", "text": "int getUnreadMessageCount();", "title": "" }, { "docid": "ccc268a0419cd220b78183ff2351352f", "score": "0.65925926", "text": "int getMsgNum();", "title": "" }, { "docid": "ccc268a0419cd220b78183ff2351352f", "score": "0.65925926", "text": "int getMsgNum();", "title": "" }, { "docid": "ccc268a0419cd220b78183ff2351352f", "score": "0.65925926", "text": "int getMsgNum();", "title": "" }, { "docid": "2a952d066b05b7112f28b9503d08f18a", "score": "0.6577417", "text": "public int getMessagesCount() {\n return messages_.size();\n }", "title": "" }, { "docid": "2a952d066b05b7112f28b9503d08f18a", "score": "0.6577417", "text": "public int getMessagesCount() {\n return messages_.size();\n }", "title": "" }, { "docid": "2a952d066b05b7112f28b9503d08f18a", "score": "0.6577417", "text": "public int getMessagesCount() {\n return messages_.size();\n }", "title": "" }, { "docid": "2a952d066b05b7112f28b9503d08f18a", "score": "0.6577417", "text": "public int getMessagesCount() {\n return messages_.size();\n }", "title": "" }, { "docid": "2a952d066b05b7112f28b9503d08f18a", "score": "0.6577417", "text": "public int getMessagesCount() {\n return messages_.size();\n }", "title": "" }, { "docid": "cdb8164e5c0f09532d9d507b3b80f947", "score": "0.6566334", "text": "public int numMessages()\n {\n // Codes_SRS_HTTPSBATCHMESSAGE_11_010: [The function shall return the number of messages currently in the batch.]\n return this.numMsgs;\n }", "title": "" }, { "docid": "05242b90c7170c7d351a66a800b379ac", "score": "0.6552457", "text": "public void incCount() {\n _msgCount++;\n }", "title": "" }, { "docid": "f2a32902b04704667e7e87567ba2a923", "score": "0.65374553", "text": "int getSmsCount();", "title": "" }, { "docid": "2e1441cf09747c6834f1ba17616189e0", "score": "0.6528889", "text": "@Override\n\tpublic void getNbMessages(String type, AGSAResponseHandler<Integer> responseHandler) {\n\t\t\n\t}", "title": "" }, { "docid": "5e945d8a369832f594ffe9c75b653083", "score": "0.6527312", "text": "boolean hasTotalNumberMessages();", "title": "" }, { "docid": "5e945d8a369832f594ffe9c75b653083", "score": "0.6527312", "text": "boolean hasTotalNumberMessages();", "title": "" }, { "docid": "5e945d8a369832f594ffe9c75b653083", "score": "0.6527312", "text": "boolean hasTotalNumberMessages();", "title": "" }, { "docid": "5e945d8a369832f594ffe9c75b653083", "score": "0.6527312", "text": "boolean hasTotalNumberMessages();", "title": "" }, { "docid": "5e945d8a369832f594ffe9c75b653083", "score": "0.6527312", "text": "boolean hasTotalNumberMessages();", "title": "" }, { "docid": "03a180de9018b5916998acdc3c05264b", "score": "0.65128917", "text": "@Override\n\tpublic int getNbMessages(String type) throws IOException, InvalidAPIKeyException, ApplicationNotFoundException {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "774fbb4b0b16d4e091457813f8ed4469", "score": "0.650107", "text": "int sizeOfMessageArray();", "title": "" }, { "docid": "f2a7570af9812b23fd46a6ac74efe7bc", "score": "0.644282", "text": "int getUseIntegerPriceOrderMessages();", "title": "" }, { "docid": "5435931bacd834d2dc1dee460030c249", "score": "0.64243156", "text": "public int getMessagesCount() {\n return messages_.size();\n }", "title": "" }, { "docid": "5435931bacd834d2dc1dee460030c249", "score": "0.64243156", "text": "public int getMessagesCount() {\n return messages_.size();\n }", "title": "" }, { "docid": "e76e9cdf4b8bf3181953f19bc92cdfbd", "score": "0.6418801", "text": "public int getMessageCount() {\n return message_.size();\n }", "title": "" }, { "docid": "e76e9cdf4b8bf3181953f19bc92cdfbd", "score": "0.6418801", "text": "public int getMessageCount() {\n return message_.size();\n }", "title": "" }, { "docid": "e76e9cdf4b8bf3181953f19bc92cdfbd", "score": "0.6418801", "text": "public int getMessageCount() {\n return message_.size();\n }", "title": "" }, { "docid": "005d9f61a73a5d8fbedfb965f7c88963", "score": "0.63920873", "text": "public int getMessagesCount() {\n return instance.getMessagesCount();\n }", "title": "" }, { "docid": "265b05e5a7fad27a2f7886f2a0df6bf6", "score": "0.6383067", "text": "public static int size_msg_type() {\n return (8 / 8);\n }", "title": "" }, { "docid": "3090cca3c8226105c0c39982cf84834c", "score": "0.6366744", "text": "long nextMessageNumber() {\n return nextMessageNumber(null, 0, false);\n }", "title": "" }, { "docid": "9d28e8e9aa76a765cebec157339f81d2", "score": "0.6365644", "text": "public Builder setTotalNumberMessages(int value) {\n bitField0_ |= 0x00000002;\n totalNumberMessages_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "9d28e8e9aa76a765cebec157339f81d2", "score": "0.6365644", "text": "public Builder setTotalNumberMessages(int value) {\n bitField0_ |= 0x00000002;\n totalNumberMessages_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "0493bd111917154b862d30018644c32c", "score": "0.63499296", "text": "public Builder setTotalNumberMessages(int value) {\n bitField0_ |= 0x00000020;\n totalNumberMessages_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "d9d780110299b8dd69ffdf35c9e0762c", "score": "0.6341216", "text": "int getMessageNumber();", "title": "" }, { "docid": "d9d780110299b8dd69ffdf35c9e0762c", "score": "0.6341216", "text": "int getMessageNumber();", "title": "" }, { "docid": "d9d780110299b8dd69ffdf35c9e0762c", "score": "0.6341216", "text": "int getMessageNumber();", "title": "" }, { "docid": "d9d780110299b8dd69ffdf35c9e0762c", "score": "0.6341216", "text": "int getMessageNumber();", "title": "" }, { "docid": "d9d780110299b8dd69ffdf35c9e0762c", "score": "0.6341216", "text": "int getMessageNumber();", "title": "" }, { "docid": "d9d780110299b8dd69ffdf35c9e0762c", "score": "0.6341216", "text": "int getMessageNumber();", "title": "" }, { "docid": "806170321ddc8c6e9a3e0ede0797d072", "score": "0.6312755", "text": "public Builder setTotalNumberMessages(int value) {\n bitField0_ |= 0x00000001;\n totalNumberMessages_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "1b84fb283c288f5f8830c696fceb8a4d", "score": "0.63041043", "text": "public Builder setTotalNumberMessages(int value) {\n bitField0_ |= 0x00000080;\n totalNumberMessages_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "e98ed04d86b6c0409f35bf4df8f88580", "score": "0.63010156", "text": "int getClientMsgNo();", "title": "" }, { "docid": "c5c4370b432140188b191bbc6e3005a4", "score": "0.6296666", "text": "long getPendingCount();", "title": "" }, { "docid": "ac382fb92232be4098bb1b2e5e9657c7", "score": "0.62782794", "text": "public int getReceivedMessagesCount() {\r\n return this.receivedMessagesCount;\r\n }", "title": "" }, { "docid": "4029b709dd4c3c8b02fbe5dd51fb98ec", "score": "0.62440085", "text": "public int getMaxNumMsg() {\r\n\t\treturn maxNumMsg;\r\n\t}", "title": "" }, { "docid": "c983df22664a31c5643f85c97990f788", "score": "0.6243078", "text": "public Builder setTotalNumMessages(int value) {\n bitField0_ |= 0x00000002;\n totalNumMessages_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "8bab0136a2b79a0d2e93a81f37fff57e", "score": "0.62131757", "text": "public int getMessageSize() {\r\n return hSize;\r\n }", "title": "" }, { "docid": "ce958656f1c97cd568afbd702de2106d", "score": "0.61620265", "text": "private static void incrementGetMessages() {\n getMessagesReceived++;\n }", "title": "" }, { "docid": "0fa2b3e38360387a127e2d2bcf517f31", "score": "0.615853", "text": "public int getDeletedMessagesCount() {\n return 0; \n }", "title": "" }, { "docid": "6ff89e94780c121d271b35b48728e677", "score": "0.6153799", "text": "public int getTotalOutboundRequested();", "title": "" }, { "docid": "af89ed473ecc7177c2ef2e30238c0b76", "score": "0.6138477", "text": "@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)\n\tpublic int getTMessagesCount();", "title": "" }, { "docid": "843b807662790f5d8c5f96e7a05b1356", "score": "0.6084626", "text": "int getNumDroppedMessages();", "title": "" }, { "docid": "952bddfe46f4bffb0aad611c53367f42", "score": "0.6052842", "text": "public int get_total_bytes(){ return total_bytes_received; }", "title": "" }, { "docid": "4320530caf26129993c7dd2b87aac46a", "score": "0.6050655", "text": "public int howManyMessages(){\n int AntaletMeddelanden;\n AntaletMeddelanden = 0;\n \n for(LinkedList<MailItem> Storage : items.values()){\n AntaletMeddelanden += Storage.size();\n }\n return AntaletMeddelanden;\n }", "title": "" }, { "docid": "a0549322c05a62483373052629091e27", "score": "0.6046861", "text": "public boolean hasTotalNumberMessages() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "a0549322c05a62483373052629091e27", "score": "0.6046851", "text": "public boolean hasTotalNumberMessages() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "0471dbc973f3119850e395088c57343e", "score": "0.60356224", "text": "int getCommunicateRecordCount();", "title": "" }, { "docid": "0471dbc973f3119850e395088c57343e", "score": "0.60356224", "text": "int getCommunicateRecordCount();", "title": "" }, { "docid": "50ab9745866a0bb7e0673166f43191f5", "score": "0.6034961", "text": "public boolean hasTotalNumMessages() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "0056a9c8493018b787c7f9fcf81d52f7", "score": "0.6028381", "text": "public int getMessageCount() {\n // It appears that Exchange is returning responses\n // without a visiblecount element for empty folders\n // Which resulted in this code returning -1 (as that was\n // the previous default.)\n // -1 is an error condition. Now the default is empty\n int messageCount = 0;\n\n for (String uid : mData.keySet()) {\n Map<String, String> data = mData.get(uid);\n String count = data.get(\"visiblecount\");\n\n if (count != null &&\n !count.equals(\"\")) {\n messageCount = Integer.parseInt(count);\n }\n\n }\n return messageCount;\n }", "title": "" }, { "docid": "502ec8bda5623bf01b3445e3dac12e6d", "score": "0.6026504", "text": "public boolean hasTotalNumberMessages() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "502ec8bda5623bf01b3445e3dac12e6d", "score": "0.6026504", "text": "public boolean hasTotalNumberMessages() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "0db759121d2ac5a690abb4debc7410b5", "score": "0.60243046", "text": "int getMessageSessionsCount();", "title": "" }, { "docid": "eb3cd10a4e2ce7b0e73a0b8a7fbf91c7", "score": "0.60185546", "text": "long getMaxMessageLengthPerIm();", "title": "" }, { "docid": "b84b7abd9c00f01c0682ec55f29cff4b", "score": "0.6017071", "text": "@Override\n\tpublic GetMessageCountResponse getMessageCount(GetMessageCountRequest request) {\n\t\treturn null;\n\t}", "title": "" } ]
5e185150f8b61ce5105970ef4a853eb6
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.
[ { "docid": "8c34f5232db73912fcd961917eb92f77", "score": "0.0", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n celsius = new javax.swing.JTextField();\n fahrenheit = new javax.swing.JTextField();\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n c2f = new javax.swing.JToggleButton();\n f2c = new javax.swing.JToggleButton();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n\n celsius.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n celsiusActionPerformed(evt);\n }\n });\n\n jLabel1.setText(\"Degrees Fahrenheit\");\n\n jLabel2.setText(\"Degrees Celsius\");\n\n c2f.setText(\"C -> F\");\n c2f.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n c2fActionPerformed(evt);\n }\n });\n\n f2c.setText(\"F -> C\");\n f2c.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n f2cActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(54, 54, 54)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel1)\n .addComponent(jLabel2))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(celsius, javax.swing.GroupLayout.DEFAULT_SIZE, 174, Short.MAX_VALUE)\n .addComponent(fahrenheit))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(c2f, javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(f2c, javax.swing.GroupLayout.Alignment.TRAILING))\n .addGap(78, 78, 78))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(54, 54, 54)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(celsius, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel2)\n .addComponent(c2f))\n .addGap(41, 41, 41)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(fahrenheit, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel1)\n .addComponent(f2c))\n .addContainerGap(59, Short.MAX_VALUE))\n );\n\n pack();\n }", "title": "" } ]
[ { "docid": "b2448da2d88321527a008e8847d4903d", "score": "0.751984", "text": "public LineupForm()\n\t{\n\t\tinitComponents();\n\t}", "title": "" }, { "docid": "17113ab7a06544a62482637e283ac13d", "score": "0.73921734", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n }", "title": "" }, { "docid": "7a417937e4dc9615a5b2f642dda91c7d", "score": "0.72922224", "text": "public Form() {\r\n initComponents();\r\n }", "title": "" }, { "docid": "f6fc1cac6f3f4c357b1909c46d88886c", "score": "0.72907805", "text": "public Menuform() {\n initComponents();\n }", "title": "" }, { "docid": "2901c5027f800c57f8efe188557aec1f", "score": "0.7289565", "text": "public MainForm() {\n initComponents();\n }", "title": "" }, { "docid": "2901c5027f800c57f8efe188557aec1f", "score": "0.7289565", "text": "public MainForm() {\n initComponents();\n }", "title": "" }, { "docid": "2901c5027f800c57f8efe188557aec1f", "score": "0.7289565", "text": "public MainForm() {\n initComponents();\n }", "title": "" }, { "docid": "0c86ede958a0034370ce7e4bef936105", "score": "0.72564346", "text": "public MainForm() {\n initComponents();\n }", "title": "" }, { "docid": "670735adfa742c048fcd2b30f8738707", "score": "0.7236974", "text": "public Form_Num() {\n initComponents();\n setResizable(false);\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "34a4693089f6e3d47ac059e2ce8d4aa0", "score": "0.7233451", "text": "public FORM() {\n initComponents();\n }", "title": "" }, { "docid": "d5d22ffa20104ce2c0a2db4f9fac156c", "score": "0.71636003", "text": "public frmTimKiem() {\n initComponents();\n }", "title": "" }, { "docid": "d20d7203166920b65d896faf1f52e655", "score": "0.7158714", "text": "public Informes() {\n initComponents();\n }", "title": "" }, { "docid": "0d9cc98c8c58ab832aa4efd80686ece2", "score": "0.7122074", "text": "public Eindopdracht1() {\n initComponents();\n }", "title": "" }, { "docid": "9c62f522ce1c76aa58ecfc3041abe423", "score": "0.7120233", "text": "public OCSUI() {\n initComponents();\n }", "title": "" }, { "docid": "c1387d177e667f66a059933317d08271", "score": "0.71100974", "text": "public StandardCharteredForm() {\n initComponents();\n setLocationRelativeTo(null);\n un = Login.UName;\n }", "title": "" }, { "docid": "8faec708c2ff6e8bdc656182d7312af5", "score": "0.7066894", "text": "public JFloguim1() {\n initComponents();\n }", "title": "" }, { "docid": "82bca7da3e021ebf55402e58d6f7a072", "score": "0.702092", "text": "public Forms() {\n initComponents();\n\n }", "title": "" }, { "docid": "7fea26c3298212cb38767f00fafc46e5", "score": "0.69897765", "text": "public Studentform() {\n initComponents();\n \n }", "title": "" }, { "docid": "8d15ac22f972f550590978a130d17831", "score": "0.69878745", "text": "public frmmain() {\n initComponents();\n }", "title": "" }, { "docid": "6b4a77b34e8074e550597a4fa5e7e31c", "score": "0.6984593", "text": "public UnosNarudzbeniceFrm() {\n initComponents();\n }", "title": "" }, { "docid": "303993688bbf8110ae2529284145cbbe", "score": "0.69781214", "text": "public ArtikelbestandGUI() {\n initComponents();\n }", "title": "" }, { "docid": "da12f99511d39a2a13002babd3f01240", "score": "0.69751805", "text": "public JFRtragamonedas() {\n initComponents();\n }", "title": "" }, { "docid": "097e77fce16806791809c98b13b3287c", "score": "0.6971274", "text": "public PR2_6() {\n initComponents();\n }", "title": "" }, { "docid": "cc22b808e55688fdedb6ecf4b7e6d44a", "score": "0.6965765", "text": "public QLBH_GUI() {\n initComponents();\n }", "title": "" }, { "docid": "a9352e6dc64c1cfbe5166d0d3025140b", "score": "0.6954096", "text": "public frmChiTietNhanVien() {\n initComponents();\n \n\n }", "title": "" }, { "docid": "1e6045f01110fb676dd059eaa9c6e627", "score": "0.69487387", "text": "public CashForm() {\n initComponents();\n }", "title": "" }, { "docid": "6395e8fd9907c2a40fa177549eeb5a6c", "score": "0.69461083", "text": "public NewMedicine2() {\n initComponents();\n }", "title": "" }, { "docid": "26fae03a5da6e474e42da1132b69014a", "score": "0.6944918", "text": "public Plus1GUI() {\n initComponents();\n }", "title": "" }, { "docid": "abca895b2170b8f8186464c00859db0a", "score": "0.69391936", "text": "public Kuis1() {\n initComponents();\n }", "title": "" }, { "docid": "f19b8379246f10d295a158c7010fffce", "score": "0.69360435", "text": "public MainForm() {\n initComponents();\n this.setTitle(\"Placement Database\");\n setLocationRelativeTo(null);\n ViewRegComp.setVisible(false);\n }", "title": "" }, { "docid": "bd0fd47bb8db631976e86e70a58a07b2", "score": "0.6928462", "text": "public FormPeminjaman() {\n initComponents();\n }", "title": "" }, { "docid": "7cda6f3c1f8d780beff910ee6d54e0cb", "score": "0.6923111", "text": "public DESCS() {\n initComponents();\n }", "title": "" }, { "docid": "182842ed21698d0394a85fad6426b6ab", "score": "0.69145304", "text": "public AddSF() {\n initComponents();\n }", "title": "" }, { "docid": "b24ce8af35d8b6d6c7448e97af6540ba", "score": "0.69080454", "text": "public BasicsForm() {\n initComponents();\n setIcon();\n setInitialVisuals();\n UserData= new DBDataUser();\n }", "title": "" }, { "docid": "f2632735e1a7d2eb203d5e0e01eefe09", "score": "0.6903874", "text": "@Override\n\tprotected void initComponents() {\n\t\t\n\t}", "title": "" }, { "docid": "bf835dad0b99239ba6298283f2902b0b", "score": "0.690208", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n\n pack();\n }", "title": "" }, { "docid": "cf8cc4666bf011e2bcaffb9f18e6537f", "score": "0.6890945", "text": "public Analytics_BudgetUI() {\n System.out.println(\"Analytics_BudgetUI.constructor1\");\n initComponents();\n }", "title": "" }, { "docid": "41306c192942abff917b6d1b5b593fdd", "score": "0.68742335", "text": "public FormSuhu() {\n initComponents();\n \n }", "title": "" }, { "docid": "894a41ffaf2f7936720a623426b1ffdf", "score": "0.68702096", "text": "public Form() {\n initComponents();\n this.setTitle(\"Command\");\n this.setLocationRelativeTo(null);\n this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n this.setResizable(false);\n\n }", "title": "" }, { "docid": "a5e2982f7d19fbd7905607eb8b5483fa", "score": "0.6869825", "text": "public frmMenu() {\n initComponents();\n }", "title": "" }, { "docid": "e774143d7b3bfad2f9471cf87eb97243", "score": "0.68547285", "text": "public Surtir() {\n initComponents();\n\n }", "title": "" }, { "docid": "a55f8b3ee1aa2c5841c354ca69971d7b", "score": "0.6853218", "text": "public VrobitCalculatorForm() {\n initComponents();\n }", "title": "" }, { "docid": "13eb432242a170ba8bb6ab65a6067512", "score": "0.68528676", "text": "public frmMain() {\n initComponents();\n }", "title": "" }, { "docid": "13eb432242a170ba8bb6ab65a6067512", "score": "0.68528676", "text": "public frmMain() {\n initComponents();\n }", "title": "" }, { "docid": "c9c6332512146935d523e946f645681b", "score": "0.6852819", "text": "public Stokekle() {\n initComponents();\n }", "title": "" }, { "docid": "8828b755f7874704667b461a9c3252cf", "score": "0.68515193", "text": "public WardGUI() {\n initComponents();\n }", "title": "" }, { "docid": "86ade0ea2ab8c7cd55d776d3ecdc44d7", "score": "0.68511266", "text": "public AcademyForm() {\n initComponents();\n }", "title": "" }, { "docid": "bbb29fdd2ebdc97135a105ef1d1b1207", "score": "0.6846029", "text": "public OrderForm() {\n initComponents();\n }", "title": "" }, { "docid": "9d3ac898c41329ee5ac3680d9e015952", "score": "0.68458503", "text": "public frmaddressbook() {\n initComponents();\n }", "title": "" }, { "docid": "8b42f2584b5ffa717030d2de680e95a8", "score": "0.6844451", "text": "public Doctor_GUI() {\n initComponents();\n }", "title": "" }, { "docid": "5add0e584f34c6a3708e3b194f5d8f84", "score": "0.68380916", "text": "public MDIForm() {\n initComponents();\n WardcomboBox();\n ShiftcomboBox();\n \n }", "title": "" }, { "docid": "db96aa602ff9508b4fca83d22820bc4c", "score": "0.6836302", "text": "public LixeiraForm() {\n initComponents();\n }", "title": "" }, { "docid": "c345255704fdb29ce7885e8844652b6c", "score": "0.683614", "text": "public EditorFrame() {\n initComponents();\n }", "title": "" }, { "docid": "64a9486276a730867cf632e4ed5f84ff", "score": "0.68234175", "text": "public CadastroChequesForm() {\n initComponents();\n setLocationRelativeTo(null);\n initialize();\n }", "title": "" }, { "docid": "fce288de87514c1f0465ecaaaaadb997", "score": "0.68181366", "text": "public Orderform() {\n initComponents();\n loadcombo();\n loadcombo2();\n setResizable(false);\n }", "title": "" }, { "docid": "7f7bd3e69ba96335d2c1c92a81ed0bb2", "score": "0.68103945", "text": "public Suhu() {\n initComponents();\n }", "title": "" }, { "docid": "30b5ccd7cf0ab8940ef40f0219b9e993", "score": "0.68067545", "text": "public AwardDocumentForm() {\r\n initComponents();\r\n }", "title": "" }, { "docid": "514973fbf8881e763041248b31071648", "score": "0.6803445", "text": "public InfPastor() {\n initComponents();\n }", "title": "" }, { "docid": "7b3c8f45162a17cf2d22f07700a48c54", "score": "0.67932254", "text": "public frmInvInicial() {\n initComponents();\n }", "title": "" }, { "docid": "ec26d6d6d93d62858ffc22de5e0c1a1c", "score": "0.6787413", "text": "public TaxWithholdingCalculatorUI() {\n initComponents();\n }", "title": "" }, { "docid": "5036131e32712f0c6b3703cc2f2d6b8b", "score": "0.67837363", "text": "public FrmVender() {\n initComponents();\n }", "title": "" }, { "docid": "f9e18cc7fc18eceb538ebf1ce000e13a", "score": "0.6781593", "text": "public Formulario() {\n initComponents();\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "23aa3b5d78aa84cecb164c2597d6f91d", "score": "0.6781032", "text": "public BookForm() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "74530a218210c49e5e065fd6b86a566b", "score": "0.6779451", "text": "public you() {\n initComponents();\n }", "title": "" }, { "docid": "13f3559db1421aaf863eb8f51ad1ad3e", "score": "0.6779072", "text": "public LibrarianIssueBookForm() {\n initComponents();\n }", "title": "" }, { "docid": "55375bd18446d216e785ad5e761b8a8c", "score": "0.677555", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n getContentPane().setLayout(null);\n\n pack();\n }", "title": "" }, { "docid": "3c7b9af7eaea480c4e0025eaf83ad9a7", "score": "0.67713016", "text": "public Navegar() {\n initComponents();\n }", "title": "" }, { "docid": "e1fba37d65cf4e0e24d35532525f5699", "score": "0.67703944", "text": "public AddOption() {\n initComponents();\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "52ff729a3342a7238549818b13101bef", "score": "0.6767549", "text": "public konversiwaktugue() {\n initComponents();\n }", "title": "" }, { "docid": "de63dde4576f94a5ac69379ce29e9091", "score": "0.67659956", "text": "public Barang() {\n initComponents();\n }", "title": "" }, { "docid": "fcd096b8638930d7257d53898c0c3f70", "score": "0.67614925", "text": "public RoomSearchForm() {\n initComponents();\n unavailableTextField.setVisible(false);\n incorrectTextField1.setVisible(true);\n incorrectTextField1.setText(\" \");\n\n }", "title": "" }, { "docid": "ce4bbe296b4e007c486d66dc7e4c7dd6", "score": "0.67523324", "text": "public PLulusan() {\n initComponents();\n }", "title": "" }, { "docid": "238bc391348df5681338f00832e01328", "score": "0.67499983", "text": "public EstoqueGUI() {\n initComponents();\n }", "title": "" }, { "docid": "970a1515763a483e0ed0d3618697c37b", "score": "0.674861", "text": "public ApplicationForm() {\n initComponents();\n }", "title": "" }, { "docid": "1a1a6de366f63d9eaabfab3f67c33617", "score": "0.6747716", "text": "public Reciept() {\n initComponents();\n this.setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "acfca7da712e151686f02d2146f3848f", "score": "0.6747207", "text": "public MeslekSayfasi() {\n initComponents();\n }", "title": "" }, { "docid": "9b18c44c80e1f36b332d2aabde1cb53e", "score": "0.6744402", "text": "public StudentGUI() {\n initComponents();\n }", "title": "" }, { "docid": "8a676b736668f30a1a6d735c09645d0d", "score": "0.67373353", "text": "public WareHouseListUI() {\n// initComponents();\n super();\n }", "title": "" }, { "docid": "9df5f9e3ee92ccb1376b6e5746f491bd", "score": "0.6734406", "text": "public FrmMenu() \n {\n initComponents();\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "fdf856f426890cb9ff387c84db572858", "score": "0.6730903", "text": "public AtenderOrdenForm() {\n initComponents();\n }", "title": "" }, { "docid": "01c6ab513bf0b69efbb4c8cdf9fce1ad", "score": "0.67290616", "text": "public ResultForm() {\n initComponents();\n }", "title": "" }, { "docid": "dbb73f3d64f65a1f41c0575b77006c7f", "score": "0.6727681", "text": "public JPchambres() {\n initComponents();\n }", "title": "" }, { "docid": "45f51b5423da821cdc6d85a892e4319f", "score": "0.6723875", "text": "public Janelas() {\n initComponents();\n }", "title": "" }, { "docid": "de67f1d60a44e04f9c4992af3f40e444", "score": "0.67231435", "text": "public JCHigherQs1GUI() {\n initComponents();\n }", "title": "" }, { "docid": "6328d472afc3994099df6209cef3a3ff", "score": "0.6721875", "text": "public FormMedico() {\n initComponents();\n }", "title": "" }, { "docid": "ece779e4969cf4f086a7a0c6db39ed8f", "score": "0.6721846", "text": "public Form_Estadistica() {\n initComponents();\n }", "title": "" }, { "docid": "cf01e40ca73a7c25909e63f5afad0871", "score": "0.67214644", "text": "public Tugas1() {\n initComponents();\n }", "title": "" }, { "docid": "584ce64259457472d9b40e38ce7d2650", "score": "0.67179024", "text": "public Recruit() {\n initComponents();\n }", "title": "" }, { "docid": "f6adc2fa7317d46d3e8aaa302f287355", "score": "0.6717777", "text": "public UkladajacyJFrame() {\n initComponents();\n \n }", "title": "" }, { "docid": "3ef8e16a01d8d8b7e274d098673d696e", "score": "0.6714137", "text": "public MainForm() {\n initComponents();\n // setLocationRelativeTo(null);\n setSize(1300 , 700); \n \n \n \n }", "title": "" }, { "docid": "8f09438901a5aa68397b34c82c7e27db", "score": "0.67133564", "text": "public MyForm() {\r\n /* manages the current look and feel, the set of available look and feels */\r\n try {\r\n UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());\r\n } catch (IllegalAccessException | InstantiationException | UnsupportedLookAndFeelException | ClassNotFoundException e) {\r\n System.err.println(e.getMessage());\r\n }\r\n }", "title": "" }, { "docid": "913a4335e79561696f60db21f5a005b5", "score": "0.67104554", "text": "public CustomerFrame() {\n initComponents();\n }", "title": "" }, { "docid": "a41106fa544d7d2fd334575876c3e7cf", "score": "0.67079645", "text": "public MainUI() {\n initComponents();\n }", "title": "" }, { "docid": "d9f3edb406ce7e1f558a42a4504b2e9c", "score": "0.6707061", "text": "public Barclays() {\n initComponents();\n }", "title": "" }, { "docid": "f7a596e44145fa9a4488db188e793949", "score": "0.6706901", "text": "public CommitteeSelectionForm() {\r\n initComponents();\r\n }", "title": "" }, { "docid": "7ed4a5ab80cddf05819a6e030d4a0998", "score": "0.6706315", "text": "public buatktp() {\n initComponents();\n }", "title": "" }, { "docid": "4e7ea352e3a58ac8121164f8d2db2163", "score": "0.670612", "text": "public PersonelEkle() {\n initComponents();\n }", "title": "" }, { "docid": "54cce59394b08cf2daa3e22c11738e97", "score": "0.6703702", "text": "public Asignatura() {\n initComponents(); \n }", "title": "" }, { "docid": "f281249305487bcb381deff416fb4c5b", "score": "0.6702609", "text": "public abcsdds() {\n initComponents();\n }", "title": "" }, { "docid": "18bea21dd2bd52161596428b042ef0bd", "score": "0.6692141", "text": "public VistaPassenger() {\n initComponents();\n }", "title": "" }, { "docid": "6067505412a55f9cbb66078119128fe3", "score": "0.6691289", "text": "public signUpForm() {\n initComponents();\n }", "title": "" } ]
13d584165c1f015a1f27be7ed03ea107
getItem is called to instantiate the fragment for the given page.
[ { "docid": "1eab2fdf91727d6d8de0ce483f5f5d80", "score": "0.64455736", "text": "@Override\n public Fragment getItem(int position) {\n return TutorialPageDetailFragment.newInstance(position + 1);\n }", "title": "" } ]
[ { "docid": "c374e1ad38967123052afc7c24c1491b", "score": "0.71996737", "text": "@Override\n public Fragment getItem(int position) {\n return PageFragment.newInstance(position + 1);\n }", "title": "" }, { "docid": "a8fb805672cba61aaf66d5db8db4d468", "score": "0.693368", "text": "public static ListItemFragment newInstance(int page, String title) {\n ListItemFragment fragment = new ListItemFragment();\n Bundle args = new Bundle();\n args.putInt(\"someInt\", page);\n args.putString(\"someTitle\", title);\n fragment.setArguments(args);\n return fragment;\n }", "title": "" }, { "docid": "1de28778a611489b7bea0bb55de19d60", "score": "0.6764811", "text": "@Override\n public Fragment getItem(int position) {\n Log.d(TAG, \"getItem()::FSPA \" + position + \" \" + mViewPager.getCurrentItem());\n\n /*get the gathering that is being loaded*/\n Gathering gathering = mGatherings.get(position);\n\n return GatheringFragment.newInstance(gathering.getID());\n }", "title": "" }, { "docid": "a1f6b823f6e27d802ffae58d356d11d9", "score": "0.6725553", "text": "@Override\n public Fragment getItem(int position) {\n return ItemFragment.newInstance(0);\n }", "title": "" }, { "docid": "8e98401fa94d5312d15acb0cc387d642", "score": "0.6639549", "text": "public abstract Fragment getItem(int position);", "title": "" }, { "docid": "8e98401fa94d5312d15acb0cc387d642", "score": "0.6639549", "text": "public abstract Fragment getItem(int position);", "title": "" }, { "docid": "56ee2b327cc084c0d96b606352ee17e1", "score": "0.6636892", "text": "@Override\n public Fragment getItem(int position) {\n return PlaceholderFragment.newInstance(position + 1,manualPages.get(position),totalPage);\n }", "title": "" }, { "docid": "a1375af0569272179fef648e318089b6", "score": "0.6556427", "text": "@Override\n public Fragment getItem(int position) {\n Fragment fragment = new DummySectionFragment();\n Bundle args = new Bundle();\n args.putInt(DummySectionFragment.ARG_SECTION_NUMBER, position);\n fragment.setArguments(args);\n return fragment;\n }", "title": "" }, { "docid": "30c557e3db88d20d94cb7b6836ce2644", "score": "0.65401524", "text": "@Override\n public Fragment getItem(int position) {\n return ItemDetailFragment.newInstance(position + 1);\n }", "title": "" }, { "docid": "47952a028ba4ea8b3066ddd2a6556476", "score": "0.6534837", "text": "@Override\r\n\t\tpublic Fragment getItem(int position) {\n\t\t\tFragment fragment = new DummySectionFragment();\r\n\t\t\tBundle args = new Bundle();\r\n\t\t\targs.putInt(DummySectionFragment.ARG_SECTION_NUMBER, position);\r\n\t\t\tfragment.setArguments(args);\r\n\t\t\treturn fragment;\r\n\t\t}", "title": "" }, { "docid": "126618ee5ad3ffa859cecd5c2ae02044", "score": "0.6492248", "text": "@Override\n\t\tpublic Fragment getItem(int arg0) {\n\t\t\treturn MainFragment.getInstance(arg0);\n\t\t}", "title": "" }, { "docid": "bde629d397cd6fc91af37af469cce1a1", "score": "0.6485399", "text": "@Override\n public Fragment getItem(int position) {\n Fragment selectedFragment = null;\n Bundle bundle = new Bundle();\n bundle.putString(\"trip id\", this.tripId);\n bundle.putString(\"tripDestination\", this.tripDestination);\n\n switch (position) {\n case 0:\n selectedFragment = new MyPlansFragment(bundle);\n break;\n case 1:\n selectedFragment = new RecommendedListFragment(bundle);\n break;\n }\n return selectedFragment;\n }", "title": "" }, { "docid": "9d1d70a52bc6dfd333a4539e54e1af56", "score": "0.6484795", "text": "@Override\n public Fragment getItem(int position) {\n switch (position) {\n case 0:\n return new calc_tab();\n case 1:\n return new instruction_tab();\n case 2:\n return new inventory_tab();\n default:\n return null;\n }\n }", "title": "" }, { "docid": "5957493f25b259aeb8dd71b43e23671a", "score": "0.6448132", "text": "@Override\n public Fragment getItem(int position) {\n Fragment fragment = new TabbedView();\n Bundle args = new Bundle();\n args.putInt(TabbedView.ARG_SECTION_NUMBER, position + 1);\n fragment.setArguments(args);\n return fragment;\n }", "title": "" }, { "docid": "2767ea5b27a688f954a47650425f6fe7", "score": "0.64427406", "text": "@Override\r\n public Fragment getItem(int position) {\r\n return GenericFragment.newInstance(position);\r\n }", "title": "" }, { "docid": "b5ffd60e1b3999310b4642eb97b24b48", "score": "0.6437482", "text": "@Override\n public Fragment getItem(int position) {\n switch (position) {\n case 0:\n RequestFragment requestFragment = new RequestFragment();\n return requestFragment;\n case 1:\n PaymentFragment paymentFragment = new PaymentFragment();\n return paymentFragment;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "5d3ac1750567ac8d556f9602d74e4541", "score": "0.6432145", "text": "@Override\n public Fragment getItem(int position) {\n return\n newInstance(position + 1);\n }", "title": "" }, { "docid": "34a83675013307a6a8db3363f398a61f", "score": "0.6426771", "text": "@Override\n public Fragment getItem(int position) {\n switch(position) {\n case 0:\n return new IBM();\n\n case 1:\n return new MSFT();\n case 2:\n return new EmergingMarkets();\n case 3:\n\n return InvestFragment.newInstance(investment,risklevel);\n default:\n return null;\n }\n }", "title": "" }, { "docid": "6e44a4c0ff810ce9342a7a77b8c7fb4d", "score": "0.6402869", "text": "@Override\n public Fragment getItem(int position) {\n Fragment fragment = null; //step7 = create a dummy fragment for returning current fragment\n switch (position){ //step8 = implement switch case to perform particular fragment task\n case 0:\n fragment = new Fragment1();\n break;\n case 1:\n fragment = new Fragment2();\n break;\n case 2:\n fragment = new Fragment3();\n break;\n\n }\n return fragment;\n }", "title": "" }, { "docid": "73e3ce696da3b39bf44f8f5d58fe6643", "score": "0.6401944", "text": "@Override\n public Fragment getItem(int position) {\n switch (position){\n case 0:\n EventsMainPage eventsMainPage = new EventsMainPage();\n return eventsMainPage;\n\n case 1:\n ToDo toDo = new ToDo();\n return toDo;\n\n case 2:\n TimeTable timeTable= new TimeTable();\n return timeTable;\n\n }\n return PlaceholderFragment.newInstance(position + 1);\n }", "title": "" }, { "docid": "5a40f4a4c67dac242c3bedb1f6db59ce", "score": "0.6389329", "text": "@Override\n public Fragment getItem(int position) {\n return PlaceholderFragment.newInstance(position);\n }", "title": "" }, { "docid": "5a40f4a4c67dac242c3bedb1f6db59ce", "score": "0.6389329", "text": "@Override\n public Fragment getItem(int position) {\n return PlaceholderFragment.newInstance(position);\n }", "title": "" }, { "docid": "5a40f4a4c67dac242c3bedb1f6db59ce", "score": "0.6389329", "text": "@Override\n public Fragment getItem(int position) {\n return PlaceholderFragment.newInstance(position);\n }", "title": "" }, { "docid": "1fa17599ee5a068fe4a5b2493d6ecb4a", "score": "0.6382265", "text": "public Fragment getItem(int i)\r\n\t\t{\r\n\t\t\t// Declare a new tab fragment\r\n\t\t\tFragment fragment = new TabFragment();\r\n\t\t\t\r\n\t\t\t// Form the arguments\r\n\t\t\tBundle args = new Bundle();\r\n\t\t\t\r\n\t\t\t// In the arguments, put int value to replace any existing value \r\n\t\t\t// of the given key.\r\n\t\t\targs.putInt(TabFragment.ARG_OBJECT, i);\r\n\t\t\t\r\n\t\t\t// Apply the arguments to the fragment\r\n\t\t\tfragment.setArguments(args);\r\n\t\t\treturn fragment;\r\n\t\t}", "title": "" }, { "docid": "74f496ee5dde09165d843631ad5e683d", "score": "0.63809544", "text": "@Override\n\t\tpublic Fragment getItem(int position) {\n\t\t\tswitch (position)\n\t\t\t{\n\t\t\t\tcase 0:\n\t\t\t\t\treturn new RecognitionFragment();\n\t\t\t\tcase 1:\n\t\t\t\t\treturn new NewsFeedFragment();\n\t\t\t\tdefault:\n\t\t\t\t\treturn new CollectionsFragment();\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "6e048d934d5719eda2703310991021cc", "score": "0.6369491", "text": "@Override\n\t\tpublic Fragment getItem(int position) {\n\t\t\tFragment fragment = null;\n\t\t\t//Bundle args = null;\n\n\t\t\tswitch (position) {\n\t\t\tcase 0:\n\t\t\t\tfragment = new HomeFragment();\n\t\t\t\t/*args = new Bundle();\n\t\t\t\targs.putInt(DietTodayFragment.ARG_SECTION_NUMBER, position + 1);\n\t\t\t\tfragment.setArguments(args);*/\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tcase 1:\n\t\t\t\tfragment = new HmVacnFragment();\n\t\t\t\t/*args = new Bundle();\n\t\t\t\targs.putInt(DietWeekFragment.ARG_SECTION_NUMBER, position + 1);\n\t\t\t\tfragment.setArguments(args);*/\n\t\t\t\tbreak;\n\t\t\t\n\t\t\t}\n\t\t\treturn fragment;\n\n\t\t}", "title": "" }, { "docid": "76a48bc90ff8fef5a03fc1dcaeaf1784", "score": "0.6347269", "text": "@Override\n public Fragment getItem(int position) {\n return PlaceholderFragment.newIInstance(position + 1, mContext);\n }", "title": "" }, { "docid": "08afb17de5ecac4d89d5a15e16cb81d6", "score": "0.6338035", "text": "public static TitlePageFragment newInstance(int page) {\n Bundle args = new Bundle(); // declaring object args that is an instance of Bundle class\n args.putInt(ARG_PAGE, page); // storing the page into variable ARG_PAGE that will be passed to fragment\n TitlePageFragment fragment = new TitlePageFragment(); // declaring objec fragment that is a instance of UserContextActivityFragment\n fragment.setArguments(args); // calling method setArguments of fragment object and passing variable args as argument\n return fragment; // returning the fragment variable\n }", "title": "" }, { "docid": "d788fffd88aed09b43e4b369988aec75", "score": "0.6337725", "text": "@Override\n\tpublic Fragment getItem(int position) {\n\t\t//Get the Specific Tab Fragment\n\t\tTabInfo info=mTabs.get(position);\n\t\t//Return the tab in Fragment form\n\t\treturn Fragment.instantiate(mContext, info.clss.getName(),info.args);\n\t}", "title": "" }, { "docid": "b1fb49ec8afc7309fd3612136c875b5d", "score": "0.63312715", "text": "@Override\n public Object instantiateItem(ViewGroup container, int position) {\n Fragment fragment = (Fragment) super.instantiateItem(container, position);\n registeredFragments.put(position, fragment);\n return fragment;\n }", "title": "" }, { "docid": "b1fb49ec8afc7309fd3612136c875b5d", "score": "0.63312715", "text": "@Override\n public Object instantiateItem(ViewGroup container, int position) {\n Fragment fragment = (Fragment) super.instantiateItem(container, position);\n registeredFragments.put(position, fragment);\n return fragment;\n }", "title": "" }, { "docid": "8d3a6e399bf478abd05b0d09aa5caa05", "score": "0.6329976", "text": "private void loadDetailFragment(Reponses item) {\n this.detailFragment.update(item);\n }", "title": "" }, { "docid": "aa4a5f8e91c763d0652b946864e42219", "score": "0.63228065", "text": "@Override\n public Fragment getItem(int position) {\n Fragment fragment = new DummySectionFragment();\n Bundle args = new Bundle();\n args.putInt(DummySectionFragment.ARG_SECTION_NUMBER, position + 1);\n fragment.setArguments(args);\n \tswitch (position) {\n\n \tcase 0:\n\n \tfragment = new DummySectionFragment();\n\n \t//args.putString(CourseInfoFragment.CourseInfo, CourseInfo);\n\n \tbreak;\n\n \tcase 1:\n\n \tfragment = new FeedbackFragment();\n\n \t//args.putString(DeadlinesFragment.deadlines, DeadlineInfo);\n\n \tbreak;\n\n \tcase 2:\n\n \tfragment = new AboutusFragment();\n\n \t//args.putString(DummySectionFragment.data, ResourceInfo);\n\n \tbreak;\n }\n\t\t\treturn fragment;\n }", "title": "" }, { "docid": "b96bd6f520a2ffca4795493f5ea137d8", "score": "0.62717265", "text": "@Override\n\t\tpublic Fragment getItem(int position) {\n\n\t\t\tFragment fragment = null;\n\t\t\tBundle args;\n\n\t\t\tswitch (position) {\n\t\t\tcase 0:\n\t\t\t\tfragment = new BatteryInfoFragment();\n\t\t\t\targs = new Bundle();\n\t\t\t\targs.putInt(BatteryInfoFragment.ARG_SECTION_NUMBER, position + 1);\n\t\t\t\tfragment.setArguments(args);\n\t\t\t\treturn fragment;\n\t\t\tcase 1:\n\t\t\t\tfragment = new OperatingSystemInfoFragment();\n\t\t\t\targs = new Bundle();\t\n\t\t\t\targs.putInt(OperatingSystemInfoFragment.ARG_SECTION_NUMBER, position + 1);\n\t\t\t\tfragment.setArguments(args);\n\t\t\t\treturn fragment;\n\t\t\tcase 2:\n\t\t\t\tfragment = new NetworkInfoFragment();\n\t\t\t\targs = new Bundle();\n\t\t\t\targs.putInt(NetworkInfoFragment.ARG_SECTION_NUMBER, position + 1);\n\t\t\t\tfragment.setArguments(args);\n\t\t\t\treturn fragment;\n\t\t\tcase 3:\n\t\t\t\tfragment = new AppInfoFragment();\n\t\t\t\targs = new Bundle();\n\t\t\t\targs.putInt(AppInfoFragment.ARG_SECTION_NUMBER, position + 1);\n\t\t\t\tfragment.setArguments(args);\n\t\t\t\treturn fragment;\n\t\t\t}\n\t\t\treturn fragment;\n\n\t\t}", "title": "" }, { "docid": "3275440453c5199d9f8c2e183e292eff", "score": "0.6266692", "text": "@Override\n public Fragment getItem(int position) {\n switch (position) {\n case 0:\n return new ListFragment();\n case 1:\n return new MapFragment();\n default:\n return null;\n }\n }", "title": "" }, { "docid": "7e8b607675c79262d205b127ef403068", "score": "0.6263903", "text": "@Override\n public Fragment getItem(int position) {\n return SplashFragment.newInstance(position + 1);\n }", "title": "" }, { "docid": "0d6c2928af12f1d011e8dba460c39fd8", "score": "0.6261237", "text": "@Override\n public Fragment getItem(int position) {\n switch (position) {\n case 0:\n return new PopularFragment();\n case 1:\n return new ExhibitionFragment();\n case 2:\n return new PlayFragment();\n default:\n return null;\n }\n }", "title": "" }, { "docid": "ba2fbb5564a7f4cca8f0253ce754a06e", "score": "0.6251291", "text": "@Override\n public Fragment getItem(int position) {\n switch (position) {\n case 0:\n EventsFragment eventsFragment = new EventsFragment();\n return eventsFragment;\n case 1:\n PdfCalendarsFragment pdfCalendarsFragment = new PdfCalendarsFragment();\n return pdfCalendarsFragment;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "10e127849ad4562c1d3a539edfe216a7", "score": "0.62503654", "text": "@Override\n public Fragment getItem(int i) {\n return FragmentOverview.newInstance(locationID, isConnected);\n }", "title": "" }, { "docid": "11fe912ea42cb8bd0a2481faa5c43429", "score": "0.62435395", "text": "@Override\n public Fragment getItem(int position) {\n switch (position) {\n case 0:\n return new NearByFragments();\n case 1:\n return new CityFragments();\n case 2:\n return new BestOfferFragments();\n }\n return null;\n }", "title": "" }, { "docid": "2e1e7c0f3efd84bdbe2698e2857f1207", "score": "0.623423", "text": "private void selectFragment(MenuItem item)\n {\n Fragment fragment = null;\n\n switch ((item.getItemId()))\n {\n case R.id.menu_home:\n fragment = PostFragment.newInstance();\n break;\n case R.id.menu_activity:\n fragment = ActivitiesFragment.newInstance();\n break;\n case R.id.menu_group:\n fragment = GroupFragment.newInstance();\n break;\n case R.id.menu_profile:\n fragment = ProfileFragment.newInstance();\n break;\n }\n theFragment(fragment);\n }", "title": "" }, { "docid": "1fb00b64e68b9e744374b8673c580482", "score": "0.62325305", "text": "@Override\n\t\tpublic Fragment getItem(int position) {\n\t\t\tBundle bundle = new Bundle();\n\t\t\tswitch (position) {\n\t\t\t\tcase 0:\n\t\t\t\t\tbundle.putString(\"url\", \"http://theexonian.com/new/category/news/?json=1&include=title,url,attachments\");\n\t\t\t\t\tbreak;\n\t\t\t\tcase 1:\n\t\t\t\t\tbundle.putString(\"url\", \"http://theexonian.com/new/category/humor/?json=1&include=title,url,attachments\");\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2:\n\t\t\t\t\tbundle.putString(\"url\", \"http://theexonian.com/new/category/exeter-life/?json=1&include=title,url,attachments\");\n\t\t\t\t\tbreak;\n\t\t\t\tcase 3:\n\t\t\t\t\tbundle.putString(\"url\", \"http://theexonian.com/new/category/opinion/?json=1&include=title,url,attachments\");\n\t\t\t\t\tbreak;\n\t\t\t\tcase 4:\n\t\t\t\t\tbundle.putString(\"url\", \"http://theexonian.com/new/category/sports/?json=1&include=title,url,attachments\");\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t}\n\t\t\tFragment fragment = new ExonianFragment();\n\t\t\tfragment.setArguments(bundle);\n\t\t\treturn fragment;\n\t\t}", "title": "" }, { "docid": "a858812de8bf0b955f76a70f004804dd", "score": "0.6226703", "text": "@Override\n public Fragment getItem(int position) {\n return RssItemFragment.getInstance(position);\n }", "title": "" }, { "docid": "04966b8af81d1d097c2dad980752a1bb", "score": "0.6226177", "text": "@Override \n\t public Fragment getItem(int arg0) {\n\t return fragments.get(arg0); \n\t }", "title": "" }, { "docid": "be086caba8a56937b99d7b763883bd85", "score": "0.62247497", "text": "@Override\n public Fragment getItem(int position) {\n return ZalFragment.newInstance(position);\n }", "title": "" }, { "docid": "6f7a64df66a7a79b4d082eb3de7e1ce9", "score": "0.62181276", "text": "@Override\n\tpublic Fragment getItem(int p) {\n\t\treturn this.fragment_list.get(p);\n\t}", "title": "" }, { "docid": "b4f1429779ec852d9f607de578a16a0a", "score": "0.62099355", "text": "@Override\r\n public Fragment getItem(int position) {\n Log.d(APPNAME,\"position = \"+position);\r\n switch(position)\r\n {\r\n\r\n case 0:\r\n InfoTab tab1 = new InfoTab();\r\n Bundle bundle = new Bundle();\r\n bundle.putString(\"formatted_address\", formatted_address);\r\n bundle.putString(\"formatted_phone_number\", formatted_phone_number);\r\n bundle.putString(\"googleUrl\", googleUrl);\r\n bundle.putString(\"website\", website);\r\n bundle.putDouble(\"rating\", 3.5);\r\n bundle.putInt(\"price_level\", price_level);\r\n\r\n\r\n// set Fragmentclass Arguments\r\n\r\n tab1.setArguments(bundle);\r\n return tab1;\r\n case 1:\r\n MapTab tab2 = new MapTab();\r\n return tab2;\r\n case 2:\r\n PhotosTab tab3 = new PhotosTab();\r\n return tab3;\r\n case 3:\r\n ReviewsTab tab4 = new ReviewsTab();\r\n return tab4;\r\n\r\n default:\r\n return null;\r\n }\r\n }", "title": "" }, { "docid": "c942196909b35400a4fcdf82d0591927", "score": "0.62070394", "text": "@Override\r\n\t\tpublic Fragment getItem(int arg0) {\n\t\t\treturn fragments.get(arg0);\r\n\t\t}", "title": "" }, { "docid": "c942196909b35400a4fcdf82d0591927", "score": "0.62070394", "text": "@Override\r\n\t\tpublic Fragment getItem(int arg0) {\n\t\t\treturn fragments.get(arg0);\r\n\t\t}", "title": "" }, { "docid": "c942196909b35400a4fcdf82d0591927", "score": "0.62070394", "text": "@Override\r\n\t\tpublic Fragment getItem(int arg0) {\n\t\t\treturn fragments.get(arg0);\r\n\t\t}", "title": "" }, { "docid": "eb90256052ddaecf8dcde206c20c1e5b", "score": "0.62016225", "text": "@Override\n\t\t\tpublic Fragment getItem(int arg0) {\n\t\t\t\treturn fragments.get(arg0);\n\t\t\t}", "title": "" }, { "docid": "efe3a2e0e17127ca29434fc5760ba174", "score": "0.61904496", "text": "@Override\n public Fragment getItem(int i) {\n switch (i) {\n case 0:\n return new TimelineSectionFragment();\n\n case 1:\n return new NeighborSectionFragment();\n\n case 2:\n return new MessagesSectionFragment();\n\n case 3:\n return new RequestsSectionFragment();\n\n default:\n // The other sections of the app are dummy placeholders.\n return new TimelineSectionFragment();\n }\n }", "title": "" }, { "docid": "5a69310fd4d9d344d8f1df3daa052744", "score": "0.61885035", "text": "@Override\n public Fragment getItem(int position) {\n if(position == 0) {\n PlaceFragment fragment = new PlaceFragment();\n return fragment;\n }else{\n if(position == 1) {\n AttachmentFragment fragment = new AttachmentFragment();\n return fragment;\n }else {\n if (position == 2) {\n Egra2atFragment fragment = new Egra2atFragment();\n return fragment;\n }else {\n if (position == 3) {\n InfoFragment fragment = new InfoFragment();\n return fragment;\n }\n }\n }\n }\n return null;\n }", "title": "" }, { "docid": "a780f9402c98fc5e472672e243615459", "score": "0.61819714", "text": "@Override\n\t\tpublic Fragment getItem(int position) {\n\t\t\tif (position == 0)\n\t\t\t\treturn optionsFragment = new OptionsFragment(instance);\n\t\t\telse\n\t\t\t\treturn workersFragment = new WorkersFragment(instance);\n\t\t}", "title": "" }, { "docid": "f2b05ba5a8a8085753ff735ea551c486", "score": "0.61798817", "text": "public Fragment getItem(int position) {\n return PlaceholderFragment.newInstance(position + 1);\n }", "title": "" }, { "docid": "3be5b50d4963c82d36fbda145b41061e", "score": "0.6178299", "text": "@Override\n public Fragment getItem(int position) {\n PlaceholderFragment frag = PlaceholderFragment.newInstance();\n frag.setImageList(mItemData.get(position));\n return frag;\n }", "title": "" }, { "docid": "ecf71291ad98211f644401b6725b4ca0", "score": "0.61689794", "text": "@Override\n public Fragment getItem(int position) {\n switch (position) {\n case 0: // Fragment # 0 - This will show FirstFragment\n return DealsFragment.newInstance(0, \"Page # 1\");\n case 1: // Fragment # 0 - This will show FirstFragment different title\n return OffersFrag.newInstance(1, \"Page # 2\");\n default:\n return null;\n }\n }", "title": "" }, { "docid": "a0e275459c41a6cc304d49bb9d5d1ac7", "score": "0.61651224", "text": "@Override\n public Fragment getItem(int position) {\n return ComicFragment.newInstance(mWrappers.get(position));\n }", "title": "" }, { "docid": "dda37f75db71c88828dfa557655cbc05", "score": "0.61584306", "text": "@Override\n public Fragment getItem(int position) {\n return mFragment.get(position);\n }", "title": "" }, { "docid": "e364ae84bf51af10a36df883da93656a", "score": "0.6157674", "text": "@Override\n public Fragment getItem(int position) {\n return PlaceholderFragment.newInstance(position + 1);\n }", "title": "" }, { "docid": "e364ae84bf51af10a36df883da93656a", "score": "0.6157674", "text": "@Override\n public Fragment getItem(int position) {\n return PlaceholderFragment.newInstance(position + 1);\n }", "title": "" }, { "docid": "e364ae84bf51af10a36df883da93656a", "score": "0.6157674", "text": "@Override\n public Fragment getItem(int position) {\n return PlaceholderFragment.newInstance(position + 1);\n }", "title": "" }, { "docid": "e364ae84bf51af10a36df883da93656a", "score": "0.6157674", "text": "@Override\n public Fragment getItem(int position) {\n return PlaceholderFragment.newInstance(position + 1);\n }", "title": "" }, { "docid": "e364ae84bf51af10a36df883da93656a", "score": "0.6157674", "text": "@Override\n public Fragment getItem(int position) {\n return PlaceholderFragment.newInstance(position + 1);\n }", "title": "" }, { "docid": "e364ae84bf51af10a36df883da93656a", "score": "0.6157674", "text": "@Override\n public Fragment getItem(int position) {\n return PlaceholderFragment.newInstance(position + 1);\n }", "title": "" }, { "docid": "e364ae84bf51af10a36df883da93656a", "score": "0.6157674", "text": "@Override\n public Fragment getItem(int position) {\n return PlaceholderFragment.newInstance(position + 1);\n }", "title": "" }, { "docid": "e364ae84bf51af10a36df883da93656a", "score": "0.6157674", "text": "@Override\n public Fragment getItem(int position) {\n return PlaceholderFragment.newInstance(position + 1);\n }", "title": "" }, { "docid": "e364ae84bf51af10a36df883da93656a", "score": "0.6157674", "text": "@Override\n public Fragment getItem(int position) {\n return PlaceholderFragment.newInstance(position + 1);\n }", "title": "" }, { "docid": "e364ae84bf51af10a36df883da93656a", "score": "0.6157674", "text": "@Override\n public Fragment getItem(int position) {\n return PlaceholderFragment.newInstance(position + 1);\n }", "title": "" }, { "docid": "e364ae84bf51af10a36df883da93656a", "score": "0.6157674", "text": "@Override\n public Fragment getItem(int position) {\n return PlaceholderFragment.newInstance(position + 1);\n }", "title": "" }, { "docid": "9437e19576a8b85256b967f50bc3d11f", "score": "0.6147863", "text": "@Override\n public Fragment getItem(int i) {\n Fragment fragment = null;\n\n if (i == 0) {\n fragment = new FragmentA();\n }\n if (i == 1) {\n fragment = new FragmentB();\n }\n if (i == 2) {\n fragment = new FragmentC();\n }\n if(i== 3){\n fragment = new FragmentD();\n }\n return fragment;\n }", "title": "" }, { "docid": "785127b4c24e715c7585d7f6afd0d77a", "score": "0.6145196", "text": "@Override\n public Fragment getItem(int arg0) {\n\n switch(arg0)\n {\n case 0 :\n System.out.println(\":::::::::::::::::Case 0::::\");\n Tour_one tour_one = new Tour_one();\n Bundle data = new Bundle();\n data.putInt(\"current_page\", arg0+1);\n tour_one.setArguments(data);\n return tour_one;\n\n case 1 :\n System.out.println(\":::::::::::::::::Case 1::::\");\n Tour_two tour_two = new Tour_two();\n Bundle tour_twoData = new Bundle();\n tour_twoData.putInt(\"current_page\", arg0+1);\n tour_two.setArguments(tour_twoData);\n return tour_two;\n\n case 2 :\n\n System.out.println(\":::::::::::::::::Case 2::::\");\n Tour_three tour_three = new Tour_three();\n Bundle tour_threeData = new Bundle();\n tour_threeData.putInt(\"current_page\", arg0+1);\n tour_three.setArguments(tour_threeData);\n return tour_three;\n\n case 3 :\n\n System.out.println(\":::::::::::::::::Case 3::::\");\n Tour_four tour_four = new Tour_four();\n Bundle tour_fourData = new Bundle();\n tour_fourData.putInt(\"current_page\", arg0+1);\n tour_four.setArguments(tour_fourData);\n return tour_four;\n\n default:\n return null;\n }\n\n }", "title": "" }, { "docid": "91e4e69d9286c7e25bc4cba65e57f5e6", "score": "0.61434925", "text": "@Override\n public Fragment getItem(int position) {\n\n Fragment fragment = null;\n Bundle args = null;\n switch(position) {\n case 0:\n fragment = new CurrentListFragment();\n args = new Bundle();\n break;\n case 1:\n fragment = new CompletedListFragment();\n args = new Bundle();\n break;\n }\n return fragment;\n }", "title": "" }, { "docid": "7edc47786965c22592587ff3b5e377af", "score": "0.6132103", "text": "@Override\n public Fragment getItem(int position) {\n Log.i(TAG, \"getItem: --------------------\" + position + \"--------------------\");\n if (position == 0) {\n sensorFragment = SensorFragment.newInstance(dataObject);\n return sensorFragment;\n } else if (position == 1) {\n return HistoryFragment.newInstance(dataObject.getStepCounterData(), dataObject.getUserData(), dataObject);\n } else {\n return AccountFragment.newInstance(dataObject);\n }\n }", "title": "" }, { "docid": "0302737518cf9ad4258c7aebcbaeeecc", "score": "0.6128602", "text": "@Override\n public Fragment getItem(int position) {\n switch (position) {\n case 0:\n return new FragmentOutfit();\n case 1:\n return new FragmentMaglie();\n case 2:\n return new FragmentPantaloni();\n case 3:\n return new FragmentScarpe();\n default:\n return null;\n }\n }", "title": "" }, { "docid": "5d9ac76053a3642e542dd245ef63ece1", "score": "0.61282164", "text": "@Override\n public Fragment getItem(int position) {\n return PlaceholderFragment.newInstance(position + 1);\n }", "title": "" }, { "docid": "5d9ac76053a3642e542dd245ef63ece1", "score": "0.61282164", "text": "@Override\n public Fragment getItem(int position) {\n return PlaceholderFragment.newInstance(position + 1);\n }", "title": "" }, { "docid": "e21f9d5231c4f5a3ee44e75aa0d470bd", "score": "0.6117628", "text": "@Override\n public Fragment getItem(int position)\n {\n Fragment fragment = null;\n switch (position)\n {\n case 0:\n fragment = new RadiantMatchDetailsFragment();\n break;\n case 1:\n fragment = new VersusMatchDetailsFragment();\n break;\n case 2:\n fragment = new DireMatchDetailsFragment();\n break;\n }\n\n // Pass data (Match) to fragment\n fragment.setArguments(fragmentBundle);\n\n return fragment;\n }", "title": "" }, { "docid": "aecccd18299e5046e64bc38adb8f9999", "score": "0.61165935", "text": "@Override\n public Fragment getItem(int position) {\n if (position == 0) {\n return new FeedFragment();\n } else if (position == 1) {\n return new HomeFragment();\n } else if (position == 2) {\n return new HomeMessageFragment();\n } else if (position == 3) {\n return new PersionCenterFragment();\n }\n return null;\n }", "title": "" }, { "docid": "6c815768484d745dfa4407904b0156ba", "score": "0.611264", "text": "@Override\r\n public Fragment getItem(int position) {\n return PlaceholderFragment.newInstance(position + 1);\r\n }", "title": "" }, { "docid": "6c815768484d745dfa4407904b0156ba", "score": "0.611264", "text": "@Override\r\n public Fragment getItem(int position) {\n return PlaceholderFragment.newInstance(position + 1);\r\n }", "title": "" }, { "docid": "6c815768484d745dfa4407904b0156ba", "score": "0.611264", "text": "@Override\r\n public Fragment getItem(int position) {\n return PlaceholderFragment.newInstance(position + 1);\r\n }", "title": "" }, { "docid": "2232be9a8d3d5e5e60a758e32997baae", "score": "0.6112135", "text": "@Override\r\n\t public Fragment getItem(int index) {\n\t if(index == 1)\r\n\t return new MainFragment();\r\n\t if(index == 0)\r\n\t\t return new NullFragment();\r\n\t \r\n\t \r\n\t return null;\r\n\t }", "title": "" }, { "docid": "6cf2622fd86b730106e47ccb2acd7554", "score": "0.611065", "text": "@Override\npublic Fragment getItem(int arg0) {\nreturn CustomPager.create(arg0);\n}", "title": "" }, { "docid": "fa459c38c502709a456bfe4755abd3b2", "score": "0.6109357", "text": "@Override\n public Fragment getItem(int position)\n {\n switch(position)\n {\n case 0:\n return new CommercialAmatoFragment();\n case 1:\n return new CommercialLinaFragment();\n }\n return new CommercialInteriorFragment();\n }", "title": "" }, { "docid": "601d990437b038c34ad2031ed5ccaa41", "score": "0.61044", "text": "@Override\n public Fragment getItem(int position) {\n\n switch(position){\n case 0:\n if(listOfWeek==null){\n listOfWeek = new ListOfMonthFragment();\n }\n return listOfWeek;\n case 1:\n if(userPost==null){\n userPost = new UserPostFragment();\n }\n return userPost;\n }\n return null;\n }", "title": "" }, { "docid": "bc209db0cadf38f67ff76e6436a4b068", "score": "0.6098146", "text": "@Override\n public Fragment getItem(int position) {\n switch (position) {\n case 0:\n return new GalleryFragment();\n case 1:\n return new ChatFragment();\n case 2:\n return new ShareFragment();\n default:\n return null;\n }\n }", "title": "" }, { "docid": "e0a527aa4937c947ad0dbebb844d29d7", "score": "0.6088976", "text": "@Override\n public Object instantiateItem(ViewGroup container, int position) {\n final String lTag = TAG + \".instantiateItem()\";\n if (registeredFragments.size() > position) {\n Fragment f = registeredFragments.get(position);\n if (f != null)\n return f;\n }\n\n Log.d(lTag, \"container #\" + container.getId() + \" position #\" + position);\n Fragment fragment = (Fragment) super.instantiateItem(container, position);\n\n// registeredTags.put(position, (container.getId() + \";\" + position));\n registeredFragments.put(position, fragment);\n return fragment;\n }", "title": "" }, { "docid": "2fcae27e645c49c13e1120df5ca437cd", "score": "0.60871786", "text": "@Override\n public Fragment getItem(int position) {\n\n switch(position) {\n\n case 0:\n //first first = new first();\n //Toast.makeText(getApplicationContext(), \"I am here\", Toast.LENGTH_LONG).show();\n //return first;\n case 1:\n// second second = new second();\n// return second;\n case 2:\n //third third = new third();\n //return third;\n default:\n return null;\n }\n\n }", "title": "" }, { "docid": "19666cead7f384534aca4beece65afce", "score": "0.6079173", "text": "@Override\n public Fragment getItem(int arg0) {\n return mFragments.get(arg0);\n }", "title": "" }, { "docid": "b1865389b7b0443f1b319230d3c24b52", "score": "0.60773385", "text": "@Override\n\t\tpublic Fragment getItem(int position) {\n\t\t\tFragment fragment=null;\n\t\t\tswitch(position){\n\t\t\t\n\t\t\tcase 0:\n\t\t\t\tfragment = new ScheduleDay1Fragment();\n\t\t\t\tbreak;\n\t\t\tcase 1:\n\t\t\t\tfragment = new ScheduleDay2Fragment();\n\t\t\t\tbreak;\n\t\t\tcase 2:\n\t\t\t\tfragment = new ScheduleDay3Fragment();\n\t\t\t\tbreak;\n\t\t\t\n\t\t\t\t\n\t\t\t}\n\t\t\treturn fragment;\n\t\t}", "title": "" }, { "docid": "29815e9311ab103c6af61a1aff328b66", "score": "0.60688686", "text": "@Override\n public Fragment getItem(int position) {\n switch (position) {\n case 0:\n return AddItemsFragment.newInstance(0,\"Add Items\");\n case 1: // Fragment # 0 - This will show FirstFragment\n return InvoiceFragment.newInstance(1, \"Create Invoice\");\n case 2: // Fragment # 0 - This will show FirstFragment different title\n return PreviewFragment.newInstance(2, \"Preview Invoice\");\n default:\n return null;\n }\n }", "title": "" }, { "docid": "7680e159feff2fd9fd69167990eb6530", "score": "0.6068335", "text": "@Override\n public Fragment getItem(int position) {\n return mFragments.get(position);\n }", "title": "" }, { "docid": "81902450a0cedb08e626e661ea05bc44", "score": "0.6057014", "text": "@Override\n public Fragment getItem(int position) {\n switch (position){\n case 0:\n return bolusFragmentObject;\n case 1:\n return basalFragmentObject;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "3e4f7f81fbc1e3403187b1f99789209d", "score": "0.6055002", "text": "@Override //180ms\n public Fragment getItem(int i) {\n if (i == 0) {\n HomeSelectFragment homeSelectFragment = HomeSelectFragment.newInstance();\n homeSelectFragment.setListener(HomeFragment.this);\n return homeSelectFragment;\n } else return HomeGoodsFragment.newInstance(classfiys.get(i));\n }", "title": "" }, { "docid": "52e9eebaaf558c2886bfa9405311dd7b", "score": "0.6054888", "text": "@Override\n\tpublic Fragment getItem(int arg0) {\n\t\tBundle data = new Bundle();\n\t\tswitch(arg0) {\n\t\t\n\t\t//call HomeTabFrag.java\n\t\tcase 0:\n\t\t\tHomeTabFrag hometabfrag = new HomeTabFrag();\n\t\t\tdata.putInt(\"current_page\", arg0+1);\n\t\t\thometabfrag.setArguments(data);\n\t\t\treturn hometabfrag;\n\t\t\t\n\t\t//call RestoTabFrag.java\n\t\tcase 1:\n\t\t\tRestoTabFrag restotabfrag = new RestoTabFrag();\n\t\t\tdata.putInt(\"current_page\", arg0+2);\n\t\t\trestotabfrag.setArguments(data);\n\t\t\treturn restotabfrag;\n\t\t\t\n\t\t//call FavTabFrag.java\n\t\tcase 2:\n\t\t\tFavTabFrag favtabfrag = new FavTabFrag();\n\t\t\tdata.putInt(\"current_page\", arg0+3);\n\t\t\tfavtabfrag.setArguments(data);\n\t\t\treturn favtabfrag;\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "87ac28723c0caba687466aebe5019123", "score": "0.60541886", "text": "@Override\n public Fragment getItem(int position) {\n switch (position) {\n case 0: // Fragment # 0 - This will show FirstFragment\n return Frm_sotribenh.newInstance(0, \"Page # 1\");\n case 1: // Fragment # 0 - This will show FirstFragment different title\n return Frm_sothunghiem.newInstance(1, \"Page # 2\");\n default:\n return null;\n }\n }", "title": "" }, { "docid": "0dea33f765cc54cae054615de26be579", "score": "0.60474086", "text": "@Override\n public Fragment getItem(int position) {\n switch (position) {\n case 0: return FirstFragment.newInstance(1, \"Instance 1\");\n case 1: return SecondFragment.newInstance(2, \"Instance 1\");\n case 2: return ThirdFragment.newInstance(3,\"ThirdFragment, Instance 1\");\n case 3: return FourthFragment.newInstance(4,\"FourthFragment, Instance 1\");\n default: return null;\n }\n }", "title": "" }, { "docid": "e0a85499a1083abe486fc960fe9527b2", "score": "0.6039673", "text": "@Override\r\n public Fragment getItem(int arg0) {\n\treturn items.get(arg0);\r\n }", "title": "" }, { "docid": "a1f61517e25b6cf101dd7a947102592d", "score": "0.6027242", "text": "@Override\n public Fragment getItem(int position) {\n switch (position){\n case BALANCES:\n return new BalancesFragment();\n case PURCHASES:\n return new PurchasesFragment();\n case PAYMENTS:\n return new PaymentsFragment();\n default:\n return new BalancesFragment();\n }\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "712ab493b66269163f8f6451b18a4d7a", "score": "0.0", "text": "public static void main(String[] args) throws IOException{\n\t\tScanner sc = new Scanner(System.in);\r\n\t\tint N = sc.nextInt();\r\n\t\tlong M = sc.nextLong();\r\n\r\n\t\tlong[] arr = new long[1000001];\r\n\t\tlong maxHeight = 0;\r\n\r\n\t\tfor(int i = 0; i < N; i++) { //n\r\n\t\t\tarr[i] = sc.nextLong();\r\n\r\n\t\t\tif(arr[i] > maxHeight)\r\n\t\t\t\tmaxHeight = arr[i];\r\n\t\t}\r\n\r\n\t\tlong H = 0;\r\n\t\tlong start = 0;\r\n\t\tlong mid = 0;\r\n\t\tlong end = maxHeight;\r\n\r\n\t\twhile(start <= end) {\r\n\t\t\tmid = (start + end)/2;\r\n\t\t\tlong sum = 0;\r\n\r\n\t\t\tfor(int i = 0; i < N; i++) {\r\n\t\t\t\tif(arr[i] - mid > 0)\r\n\t\t\t\t\tsum += arr[i] - mid; \r\n\t\t\t}\r\n\r\n\t\t\tif(sum >= M) {\r\n\t\t\t\tif(H < mid) H = mid;\r\n\t\t\t\tstart = mid + 1;\r\n\t\t\t}\r\n\t\t\telse \r\n\t\t\t\tend = mid - 1;\r\n\t\t}\r\n\r\n\t\tSystem.out.println(H+\"\");\r\n\t}", "title": "" } ]
[ { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.6905833", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "941cb2826e3c700358fcaba402e6bb01", "score": "0.66775143", "text": "@Override\r\n\tpublic void hissetmek() {\n\r\n\t}", "title": "" }, { "docid": "63918b2e510c9040bbddcac00095b41a", "score": "0.6605982", "text": "private void recuperation() {\n\t\t\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65677965", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "6a98c5d2724fce37914819c5694da3c3", "score": "0.6509783", "text": "@Override\r\n\tpublic void anular() {\n\r\n\t}", "title": "" }, { "docid": "dae8b602ea36995333bfb23acf8fc88d", "score": "0.6496443", "text": "@Override\n\tpublic void respire() {\n\n\t}", "title": "" }, { "docid": "5f8d37aee09bc1e9959f768d6eb0183c", "score": "0.6481211", "text": "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "title": "" }, { "docid": "f099266a753a2faacd6b8dfa57904378", "score": "0.64321727", "text": "@Override\r\n\tpublic void courrir() {\n\t}", "title": "" }, { "docid": "69ade76a69c0f6c07e66b5d0e5136eb3", "score": "0.6425563", "text": "@Override\r\n\tpublic void grabar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c2f383f280f298416bf45e72c374ecfa", "score": "0.64127725", "text": "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1068dc3e7725abba37b41c9a52dee06b", "score": "0.6386121", "text": "@Override\r\n\tpublic void tatmak() {\n\r\n\t}", "title": "" }, { "docid": "6141981a3ecff744fc5ac85a76ccce98", "score": "0.63590497", "text": "@Override\r\n\tpublic void avlan() {\n\t\t\r\n\t}", "title": "" }, { "docid": "98fb55d46118273a6e8a6d23841c620d", "score": "0.6327681", "text": "@Override\n\tpublic void eati() {\n\t\t\n\t}", "title": "" }, { "docid": "0792d032a803e20f3b87637fd91001d5", "score": "0.62811846", "text": "@Override\n\tpublic void getSugary() {\n\n\t}", "title": "" }, { "docid": "177192b7240b496ba5aefdfed60037c9", "score": "0.6276059", "text": "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "b7cead8eab6faf887c06d3b10c67267c", "score": "0.620242", "text": "@Override\n\t\t\tprotected void readyRun() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "b7cead8eab6faf887c06d3b10c67267c", "score": "0.620242", "text": "@Override\n\t\t\tprotected void readyRun() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "a8ee8a5581ce765ec4ab398c0459e014", "score": "0.61750215", "text": "@Override\r\n\tpublic void koklama() {\n\r\n\t}", "title": "" }, { "docid": "0e69410f7365f8e3379273ee4419fb49", "score": "0.6149904", "text": "@Override\r\n\tprotected void init() \r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "d65d6c17fb978c0d576ada2c03cd49fe", "score": "0.61387193", "text": "@Override\n\tpublic void apagar() {\n\t\t\n\t}", "title": "" }, { "docid": "8bae22ac805011d799a49bd7b5316540", "score": "0.612467", "text": "@Override\n public int describeContents() {\n // Auto-generated method stub\n return 0;\n }", "title": "" }, { "docid": "8c5b7f2508d01c106c784ecca7153f46", "score": "0.6119395", "text": "@Override\n\tvoid comer() {\n\t\t\n\t}", "title": "" }, { "docid": "7bc643d9ac7542f10430da7f200395d4", "score": "0.610188", "text": "@Override\n\tpublic void fiyat() {\n\t\t\n\t}", "title": "" }, { "docid": "7dadb1a7e45c020b2193294044375a9d", "score": "0.60646844", "text": "@Override\r\n \tpublic void init() {\n \t\t\r\n \t}", "title": "" }, { "docid": "04771723ee2c07e5fa5fe8c322190beb", "score": "0.60607964", "text": "@Override\n\tpublic void affichage() {\n\t\t\n\t}", "title": "" }, { "docid": "b7f027eb6ff62218a28c15c608504db7", "score": "0.6055265", "text": "@Override\n\tpublic void cafeteria() {\n\t\t\n\t}", "title": "" }, { "docid": "ae645a2585d37e320a8854cbd4c60db8", "score": "0.60353535", "text": "@Override\n\tpublic void afficher() {\n\n\t}", "title": "" }, { "docid": "9dd1bbd8c949b94d0e93b83bfc68c88a", "score": "0.6021345", "text": "@Override\n\tpublic void aeronoticalinfo() {\n\t\t\n\t}", "title": "" }, { "docid": "2762ca3c2d0df2e43c2974f74b6f5794", "score": "0.6013198", "text": "public void mo23507LF() {\n }", "title": "" }, { "docid": "a6c2db17f79f35f8fc3b8e99eee9ab48", "score": "0.60124713", "text": "@Override\r\n\tprotected void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e8c159f9ce46ed87e18031b3ec3ef04c", "score": "0.5983872", "text": "@Override\n\t\t\tprotected void realiceElCaso() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "e8c159f9ce46ed87e18031b3ec3ef04c", "score": "0.5983872", "text": "@Override\n\t\t\tprotected void realiceElCaso() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "119b459aa82980ed18ed9f73e4c0c1f6", "score": "0.5970375", "text": "public void mo8248e() {\n }", "title": "" }, { "docid": "c7fe9cc2a6c42140d48d92c4796a998c", "score": "0.5924626", "text": "@Override\r\n\t\t\t\t\t\tpublic void visitEnd() {\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59239364", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59239364", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "092f51e9c99cd4188e1aae23e1830dfd", "score": "0.58991617", "text": "protected void func_70626_be() {}", "title": "" }, { "docid": "ab499170bffb402933a50d63a97e69dd", "score": "0.5896488", "text": "@Override\r\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "77d32d2a2070d9c3117ff146ac04f114", "score": "0.5891585", "text": "@Override\r\n\tpublic void climaChuvoso() {\n\r\n\t}", "title": "" }, { "docid": "4790ff4cb67532ccdfaae8968e73fbc3", "score": "0.58832747", "text": "@Override\n protected void initData() {\n\n\n }", "title": "" }, { "docid": "023182f0f855d46c66b41a6d83583efa", "score": "0.5871911", "text": "@Override\r\n\tpublic void singen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8d96d27dfdf5b1a8cc8b8a7627c83bc1", "score": "0.5869012", "text": "@Override\n public void afficher() {\n\n }", "title": "" }, { "docid": "298aa14afe5846b172f76bcf90564013", "score": "0.58663046", "text": "@Override\n\tprotected void initAfterData() {\n\t\t\n\t}", "title": "" }, { "docid": "e065a728f99482f0172c0250b07109a9", "score": "0.58587575", "text": "public void MIENTRAS() {\r\n\t}", "title": "" }, { "docid": "4967494f628119c8d3a4740e09278944", "score": "0.5857751", "text": "@Override\r\n\tprotected void initData() {\n\r\n\t}", "title": "" }, { "docid": "6c15d2233a095a738527f0099df0e328", "score": "0.58534765", "text": "@Override\n\tprotected void onLoadComplete() {\n\t\t\n\t}", "title": "" }, { "docid": "7da3b15ef60da758589933b21890a100", "score": "0.5835782", "text": "@Override\n\t\t\tpublic void buscar() {\n\n\t\t\t}", "title": "" }, { "docid": "d56c498b25d1ea77dc09f49efcf80f6c", "score": "0.58347356", "text": "@Override\r\n\tpublic void aumentaFatorAcidade() {\n\r\n\t}", "title": "" }, { "docid": "e57f005733f2eb8590150b3f4542b844", "score": "0.5810564", "text": "@Override\n\tprotected void getData() {\n\t\t\n\t}", "title": "" }, { "docid": "da813fa08844d9ea0dcf6109d766cb06", "score": "0.5810359", "text": "@Override\n public void geefOpleidingNiveau() {\n }", "title": "" }, { "docid": "d1236089c8974701d0acd37b2cad6d5b", "score": "0.5809914", "text": "@Override\n\tpublic void init(){\n\t\t\n\t}", "title": "" }, { "docid": "ac3fa8f374744c1d8419fb42b093eb87", "score": "0.58098364", "text": "@Override\n public void ATOM() {\n\n }", "title": "" }, { "docid": "9d2f44c3ebe1fb8de1ac4ae677e2d851", "score": "0.5806823", "text": "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "17bf5dfb3822657f7beb964bbcaf351d", "score": "0.58010787", "text": "private void getdata() {\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "c1cba83b623b4186565c3383ace251b9", "score": "0.5798524", "text": "@Override\n public void RES() {\n\n }", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.5793788", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "04320a5131c4ec5a83b61f5170f3303b", "score": "0.578828", "text": "private void refreash() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "96aa62cb7c02dc761fce03adeea3bae6", "score": "0.5768868", "text": "public void consumidor() {\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57596046", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "f76cff0faf8f5cac2bb5c9fa073b3900", "score": "0.5732497", "text": "private static void ispisiRemi() {\n\t\t\n\t}", "title": "" }, { "docid": "0da844a8d21284fc890b9866b17625b3", "score": "0.5729389", "text": "public void auton() {\r\n\r\n\t\t}", "title": "" }, { "docid": "3b42107e523d1f2c0adecfee5c69fe91", "score": "0.5726736", "text": "@Override\r\n\t\t\tpublic String toString() {\n\t\t\t\treturn null;\r\n\t\t\t}", "title": "" }, { "docid": "3b42107e523d1f2c0adecfee5c69fe91", "score": "0.5726736", "text": "@Override\r\n\t\t\tpublic String toString() {\n\t\t\t\treturn null;\r\n\t\t\t}", "title": "" }, { "docid": "3b42107e523d1f2c0adecfee5c69fe91", "score": "0.5726736", "text": "@Override\r\n\t\t\tpublic String toString() {\n\t\t\t\treturn null;\r\n\t\t\t}", "title": "" }, { "docid": "e0989255fd1af22841693489e1afa33b", "score": "0.57214063", "text": "public void mo24349a() {\n }", "title": "" }, { "docid": "b860b78be8e10589ee5bd58e2ab7be8e", "score": "0.57196456", "text": "@Override\r\n\tpublic void autonomous() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "08ff281f85800b58e0eb77195be25bfc", "score": "0.5708199", "text": "public void finito() {\n\t\t\r\n\t}", "title": "" }, { "docid": "7aadbda143e84de0144f7a8dadde423d", "score": "0.5701067", "text": "@Override\n protected void initData() {\n\n }", "title": "" }, { "docid": "24b649f4fd4e2e8f4e195b19c09f4c8b", "score": "0.56936413", "text": "@Override\n public void FUNMAYORQ() {\n\n }", "title": "" }, { "docid": "b3c7aad07c4af0cfec14c4b0f0f289ef", "score": "0.5692504", "text": "@Override\n\tpublic void arb() {\n\n\t}", "title": "" }, { "docid": "8657ef720f12b2480d4363be4e46781e", "score": "0.5691313", "text": "protected boolean method_4310() {\r\n return true;\r\n }", "title": "" }, { "docid": "9f7ae565c79188ee275e5778abe03250", "score": "0.56881124", "text": "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "title": "" }, { "docid": "45fd99bd8793c6d67c4f276a27b4fdca", "score": "0.5685153", "text": "@Override public int getDefensa(){\n\n return 0;\n\n }", "title": "" } ]
c4ee7571bc76f7a1a72a2a1e7853787f
This method was generated by MyBatis Generator. This method sets the value of the database column t_group_role_relation.group_id
[ { "docid": "9eabf068ba305f0efd2c69c071d8f178", "score": "0.5342444", "text": "public void setGroupId(Long groupId) {\n this.groupId = groupId;\n }", "title": "" } ]
[ { "docid": "a8a051bc8a586c9c0ac9a71c5302d897", "score": "0.65986305", "text": "public void setGroupRoleId(Long groupRoleId) {\n this.groupRoleId = groupRoleId;\n }", "title": "" }, { "docid": "d2d040205356c839da6fdb715c3e58b5", "score": "0.6417213", "text": "public void setIdGroup(int value) {\n this.idGroup = value;\n }", "title": "" }, { "docid": "608796e592a191ba69e50fa0f2d59177", "score": "0.6226472", "text": "public void setGroup(Group group) {\n\t\tthis.groupID = group.getPrimaryId();\n\t\tsetCacheState(CacheState.MODIFIED);\n\t}", "title": "" }, { "docid": "8b50f1e9132a17b9d34fb5be81c14c14", "score": "0.61900437", "text": "public Long getGroupRoleId() {\n return groupRoleId;\n }", "title": "" }, { "docid": "12be165d0c73aab5056baaecaed58d7f", "score": "0.6187786", "text": "public void setGroupid(Integer groupid) {\n this.groupid = groupid;\n }", "title": "" }, { "docid": "06fe26b7cbbe5eb48a832cb0025e2107", "score": "0.6076768", "text": "public void setGroupId(Long GroupId) {\n this.GroupId = GroupId;\n }", "title": "" }, { "docid": "21b5115b355f14dcd0b348d1990c5317", "score": "0.60577536", "text": "public GroupRoleRelation(Long groupRoleId, Long groupId, Long roleId) {\n this.groupRoleId = groupRoleId;\n this.groupId = groupId;\n this.roleId = roleId;\n }", "title": "" }, { "docid": "a271e5c7e18c9e69e316a70a862f6756", "score": "0.59964645", "text": "public void setGroup(Integer group) {\n\t\tthis.group = group;\n\t}", "title": "" }, { "docid": "739c6e79df371f90e4ef23fbdd7bcd10", "score": "0.59900194", "text": "public void setFromGroup(Group group){\n this.setId(group.getId());\n this.setUserid(group.getUserid());\n this.setGroupName(group.getGroupName());\n }", "title": "" }, { "docid": "fd5eee49386095b6ac6b38fd098c38e7", "score": "0.5942786", "text": "@Override\n\tpublic void setGroupId(long groupId) {\n\t\t_patron.setGroupId(groupId);\n\t}", "title": "" }, { "docid": "828e1af59da5fbdb8b2085bf2c188b24", "score": "0.5923346", "text": "public void setGroup(Group group);", "title": "" }, { "docid": "3740fbbe14c0ddafaaddcf28b2ab607d", "score": "0.5896268", "text": "public final void setLDAPGroupMapping_LDAPGroup(com.mendix.systemwideinterfaces.core.IContext context, interfaceconfiguration.proxies.LDAPGroup ldapgroupmapping_ldapgroup)\r\n\t{\r\n\t\tif (ldapgroupmapping_ldapgroup == null)\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.LDAPGroupMapping_LDAPGroup.toString(), null);\r\n\t\telse\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.LDAPGroupMapping_LDAPGroup.toString(), ldapgroupmapping_ldapgroup.getMendixObject().getId());\r\n\t}", "title": "" }, { "docid": "38701c6fc53b9e508e2ab0b1752e59c6", "score": "0.5834167", "text": "public void setGroupID(GroupDetail groupID) {\r\n this.groupID = groupID;\r\n }", "title": "" }, { "docid": "23ee6cd1eb5a55ad7de7802fce397f85", "score": "0.5801444", "text": "public void setRole(String role) {\r\n this.groupname = role;\r\n }", "title": "" }, { "docid": "9b4b38063ee536ce995e2303a91a29a9", "score": "0.57914776", "text": "public void setGroupId(Integer aGroupId) {\n groupId = aGroupId;\n }", "title": "" }, { "docid": "34ec47d097de5e8be511b7d741bb00f4", "score": "0.5720552", "text": "public void setCustomerGroup(final CustomerGroupReference customerGroup);", "title": "" }, { "docid": "dafc719f89b00930129da5a94b408e27", "score": "0.56978935", "text": "public int getIdGroup() {\n return idGroup;\n }", "title": "" }, { "docid": "2ef0916a2348441b6097d4d3c615ce35", "score": "0.56868106", "text": "@Override\n\tpublic void setGroupId(long groupId) {\n\t\t_product.setGroupId(groupId);\n\t}", "title": "" }, { "docid": "30ef6897c2192f1c758aafb2400c966d", "score": "0.5683803", "text": "public void setGroupId(Long groupId);", "title": "" }, { "docid": "dc89d133dfb91d7ec66f5d291cd2483b", "score": "0.56813294", "text": "@Override\n\tpublic void setGroupId(long groupId) {\n\t\tmodel.setGroupId(groupId);\n\t}", "title": "" }, { "docid": "8c39c059781a7d263d5843995de9c685", "score": "0.5679967", "text": "public void setGroupId(long groupId);", "title": "" }, { "docid": "c7545e9daa59466a6c1be090dd850bd0", "score": "0.567727", "text": "public void setGroupId(long groupId) {\n\t\t_borrower.setGroupId(groupId);\n\t}", "title": "" }, { "docid": "69fc13825dc9e0caaa064c6dd7f77e8d", "score": "0.5671654", "text": "public GroupRoleRelation() {\n super();\n }", "title": "" }, { "docid": "bfd0dc0adeda65bff3f8872ca4d0eb49", "score": "0.56552786", "text": "@Override\n\tpublic void setGroupId(long groupId) {\n\t\t_direction.setGroupId(groupId);\n\t}", "title": "" }, { "docid": "a1ff21cddca8dc098e1cd98b58bc9356", "score": "0.5652307", "text": "@Override\n public void setGroupId(long groupId) {\n _call.setGroupId(groupId);\n }", "title": "" }, { "docid": "613fb20f141362c55d5569562dd39d4e", "score": "0.56517166", "text": "@Override\n\tpublic void setGroupId(long groupId) {\n\t\t_merchant.setGroupId(groupId);\n\t}", "title": "" }, { "docid": "49a296acd3e41454b224e99522c7dc7d", "score": "0.5635325", "text": "public final void setLDAPGroupMapping_LDAPGroup(interfaceconfiguration.proxies.LDAPGroup ldapgroupmapping_ldapgroup)\r\n\t{\r\n\t\tsetLDAPGroupMapping_LDAPGroup(getContext(), ldapgroupmapping_ldapgroup);\r\n\t}", "title": "" }, { "docid": "617f4415f3922c54926c63a395141724", "score": "0.56299216", "text": "public void setGroup(String group);", "title": "" }, { "docid": "408f1b7f79516b975166b7a1f86b95e2", "score": "0.5610122", "text": "@Override\n\tpublic void setGroupId(long groupId) {\n\t\t_suburItem.setGroupId(groupId);\n\t}", "title": "" }, { "docid": "dda752913adfbdd888768c98b7ab3764", "score": "0.559273", "text": "public Builder setGroupId(long value) {\n \n groupId_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "dda752913adfbdd888768c98b7ab3764", "score": "0.559273", "text": "public Builder setGroupId(long value) {\n \n groupId_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "a1517b82a96cb5ad74817884805e02b7", "score": "0.55899286", "text": "public void setGROUP_ID(String GROUP_ID) {\r\n this.GROUP_ID = GROUP_ID == null ? null : GROUP_ID.trim();\r\n }", "title": "" }, { "docid": "a1517b82a96cb5ad74817884805e02b7", "score": "0.55899286", "text": "public void setGROUP_ID(String GROUP_ID) {\r\n this.GROUP_ID = GROUP_ID == null ? null : GROUP_ID.trim();\r\n }", "title": "" }, { "docid": "a1517b82a96cb5ad74817884805e02b7", "score": "0.55899286", "text": "public void setGROUP_ID(String GROUP_ID) {\r\n this.GROUP_ID = GROUP_ID == null ? null : GROUP_ID.trim();\r\n }", "title": "" }, { "docid": "100940796f5453762ac8e5b6e3ce820d", "score": "0.5581351", "text": "public void setGroup(short GroupID)\n\t{\n\t\t_group = GroupID;\n\t}", "title": "" }, { "docid": "ea1b71e497642391d83af21a31f497e9", "score": "0.5578033", "text": "public void setGroup(String group) { \n }", "title": "" }, { "docid": "74ebc6e40377a0f0b6834386ea8fc228", "score": "0.55677617", "text": "@Override\n\tpublic void setGroupId(long groupId);", "title": "" }, { "docid": "74ebc6e40377a0f0b6834386ea8fc228", "score": "0.55677617", "text": "@Override\n\tpublic void setGroupId(long groupId);", "title": "" }, { "docid": "74ebc6e40377a0f0b6834386ea8fc228", "score": "0.55677617", "text": "@Override\n\tpublic void setGroupId(long groupId);", "title": "" }, { "docid": "d688efff3bee88cb8dc69d6d23b7aa55", "score": "0.5537032", "text": "@com.guidewire.pl.persistence.codegen.annotation.OverridesAccessor\n public void setAssignedGroup(entity.Group value) {\n ((com.guidewire.pl.domain.assignment.AssignablePublicMethods)__getDelegateManager().getImplementation(\"com.guidewire.pl.domain.assignment.AssignablePublicMethods\")).setAssignedGroup(value);\n }", "title": "" }, { "docid": "3dc3a1f092ebbe58a9cfd7b06246b0de", "score": "0.5536326", "text": "@Override\r\n\tpublic void setGroup(String group) {\n\t\tsuper.setGroup(group);\r\n\t}", "title": "" }, { "docid": "7f11722a207c67457aa3261e06a5a5f2", "score": "0.5527114", "text": "@Override\n public void setGroupId(long groupId) {\n _match.setGroupId(groupId);\n }", "title": "" }, { "docid": "6bb3f1b37566cbab72d3665a4b263fb4", "score": "0.5522843", "text": "public void setAttributeGroup(org.apache.xmlbeans.impl.xb.xsdschema.NamedAttributeGroup attributeGroup)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.impl.xb.xsdschema.NamedAttributeGroup target = null;\n target = (org.apache.xmlbeans.impl.xb.xsdschema.NamedAttributeGroup)get_store().find_element_user(ATTRIBUTEGROUP$0, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.impl.xb.xsdschema.NamedAttributeGroup)get_store().add_element_user(ATTRIBUTEGROUP$0);\n }\n target.set(attributeGroup);\n }\n }", "title": "" }, { "docid": "80d316d57aa16e6e20a83b200e7882f6", "score": "0.55147606", "text": "public int getGroupId()\n\t {\n\t\treturn this.group_id;\n\t }", "title": "" }, { "docid": "7956e8de7ea4c08a32b1e8f0edb1fcd1", "score": "0.55059934", "text": "public void setGroup(String group) {\n try {\n lock.getWriteAccess();\n this.group = group;\n } catch (InterruptedException e) {\n //do nothing\n } finally {\n lock.finishWrite();\n }\n }", "title": "" }, { "docid": "a14f485ff27758bbbab26e6238072fe7", "score": "0.5497461", "text": "public void setGroupId(Integer groupId) {\r\n this.groupId = groupId;\r\n }", "title": "" }, { "docid": "a14f485ff27758bbbab26e6238072fe7", "score": "0.5497461", "text": "public void setGroupId(Integer groupId) {\r\n this.groupId = groupId;\r\n }", "title": "" }, { "docid": "0b5aa4c27768f7efcd40025ba3cdabf8", "score": "0.54897714", "text": "public void setPropertyGroupId(String propertyGroupId) {\n this.propertyGroupId = propertyGroupId;\n }", "title": "" }, { "docid": "51e6d6352fa2ae46f62f59d3f8364f60", "score": "0.5469396", "text": "@Override\n\tpublic void setGroupId(long groupId) {\n\t\t_kloetzelBuch.setGroupId(groupId);\n\t}", "title": "" }, { "docid": "3cfb47fafc510e94b1f8e5d891f71256", "score": "0.5447016", "text": "@JsonSetter(\"Group\")\r\n public Connector setGroup(String group) {\r\n this.group = group;\r\n return this;\r\n }", "title": "" }, { "docid": "8f2e0ae3fc83012df88af9a54858b4c6", "score": "0.54424584", "text": "public final void setLDAPGroupMapping_Organisation(com.mendix.systemwideinterfaces.core.IContext context, java.util.List<nap.proxies.Organisation> ldapgroupmapping_organisation)\r\n\t{\r\n\t\tjava.util.List<com.mendix.systemwideinterfaces.core.IMendixIdentifier> identifiers = new java.util.ArrayList<com.mendix.systemwideinterfaces.core.IMendixIdentifier>();\r\n\t\tfor (nap.proxies.Organisation proxyObject : ldapgroupmapping_organisation)\r\n\t\t\tidentifiers.add(proxyObject.getMendixObject().getId());\r\n\t\tgetMendixObject().setValue(context, MemberNames.LDAPGroupMapping_Organisation.toString(), identifiers);\r\n\t}", "title": "" }, { "docid": "c0b529b25344f495982ffa3bd1f070cd", "score": "0.5439958", "text": "public void setGroupId(Long groupId) {\r\n this.groupId = groupId;\r\n }", "title": "" }, { "docid": "36ba5657dddc6053b33fe0d5b502829f", "score": "0.5421096", "text": "public Long getGroupId() {\n return this.GroupId;\n }", "title": "" }, { "docid": "428d794eea6df841c1a2b745073ace20", "score": "0.5419482", "text": "public Long getGroupId() {\n return this.groupId;\n }", "title": "" }, { "docid": "6aa0d2b4ba15961eb9c950f4566b564e", "score": "0.5413291", "text": "public void setGroupId(Integer groupId) {\n this.groupId = groupId;\n }", "title": "" }, { "docid": "ae603462a7cc67ca5c5044f273a1ee2d", "score": "0.5408237", "text": "private void setCurrentGroup(Group group) {\n if (currentGroup != null && currentGroupListener != null) {\n currentGroup.removeValueEventListener(currentGroupListener);\n }\n currentGroup = group;\n currentGroupListener = new CurrentGroupListener();\n group.addValueEventListener(currentGroupListener);\n }", "title": "" }, { "docid": "1a8c8e1b78f4d4e2bb5257f66db6395d", "score": "0.538789", "text": "public Long getGroupId();", "title": "" }, { "docid": "1e2aabda6735d3435ed37de8d3218cc6", "score": "0.538419", "text": "public void setGroup(String group) {\r\n\t\tthis.group = group;\r\n\t}", "title": "" }, { "docid": "8c5dcf2865bf0c6f52050fb5a6804a48", "score": "0.53833187", "text": "public void setGroup(String group) {\n\t\tthis.group = group;\n\t}", "title": "" }, { "docid": "8beadbf438b2ec9668f0185aaabf83b3", "score": "0.5366418", "text": "@Override\n public void addRoleToGroup(Long roleGroupId, Long roleId) {\n\n this.dslContext.insertInto(ROLE_GROUP_ROLE, ROLE_GROUP_ROLE.ROLE_GROUP_ID, ROLE_GROUP_ROLE.ROLE_ID)\n .values(roleGroupId, roleId).execute();\n\n }", "title": "" }, { "docid": "abd874c7ffb9778a0cb1fa93dda49d74", "score": "0.53660953", "text": "public Long getGroupId() {\r\n return groupId;\r\n }", "title": "" }, { "docid": "30f121ca79f1636b8a33fa20a3ef6604", "score": "0.5354342", "text": "public void setGroup(String group) {\n this.group = group;\n }", "title": "" }, { "docid": "1237d9e23f4c1ad2dcd371f10c58236f", "score": "0.5348236", "text": "public IntColumn getGroupId() {\n return delegate.getColumn(\"group_id\", DelegatingIntColumn::new);\n }", "title": "" }, { "docid": "1cab9449924f5dc7753b813f719e788f", "score": "0.53369045", "text": "public void setGroups(java.util.List group) {\n this.groups = group;\n }", "title": "" }, { "docid": "54711d3e51bc3c457f024627b9c22472", "score": "0.53330874", "text": "public void setGroupId(String gID) {\n this.GroupID = gID;\n }", "title": "" }, { "docid": "3cf9be42e5237d9663349661427b2c7c", "score": "0.528332", "text": "public Integer getGroupId() {\r\n return groupId;\r\n }", "title": "" }, { "docid": "3cf9be42e5237d9663349661427b2c7c", "score": "0.528332", "text": "public Integer getGroupId() {\r\n return groupId;\r\n }", "title": "" }, { "docid": "20ad0798a1ad85dbb299c89aad725272", "score": "0.5273552", "text": "public Long getGroupId() {\n return groupId;\n }", "title": "" }, { "docid": "20ad0798a1ad85dbb299c89aad725272", "score": "0.5273552", "text": "public Long getGroupId() {\n return groupId;\n }", "title": "" }, { "docid": "23a349e05c615dabd8ba3b34d546544e", "score": "0.5259514", "text": "public void registerGroup(LivingGroup group) {\n JASLog.info(\"Registering EntityGroup %s\", group.toString());\n iDToGroup.put(group.groupID, group);\n for (String jasName : group.entityJASNames) {\n entityIDToGroupIDList.get(jasName).add(group.groupID);\n }\n }", "title": "" }, { "docid": "3d247fc32aa0e790d1339a7f45709b81", "score": "0.52509284", "text": "public void setGroup(String group) {\n\n if (group.equalsIgnoreCase(\"FAMILY\")) {\n this.group = Groups.FAMILY;\n }\n\n if (group.equalsIgnoreCase(\"FRIENDS\")) {\n this.group = Groups.FRIENDS;\n }\n\n if (group.equalsIgnoreCase(\"NEIGHBOURS\")) {\n this.group = Groups.NEIGHBOURS;\n }\n\n if (group.equalsIgnoreCase(\"WORK\")) {\n this.group = Groups.WORK;\n }\n }", "title": "" }, { "docid": "9ee09ad27280823760a4be6e2a6fcbd2", "score": "0.5250083", "text": "public Integer getGroupid() {\n return groupid;\n }", "title": "" }, { "docid": "260b2660bdcda8b3bc1d3d7ac0595677", "score": "0.5240164", "text": "@Id\n\t@Column(name = \"GROUP_SEQ_NBR\")\n\t@AccelaGenerator(generatorClass= \"com.accela.aa.datamanager.service.UserGroupModelSeqNbrGerneratorImpl\")\n\tpublic Long getGroupSequenceNumber()\n\t{\n\t\treturn groupSequenceNumber;\n\t}", "title": "" }, { "docid": "37937f10fbd21ac84a49d6c311324036", "score": "0.52294445", "text": "public String getGroupId() {\n return this.groupId;\n }", "title": "" }, { "docid": "2b0c8afbf447bb7c309d76c5f3d3f996", "score": "0.522546", "text": "public final void rule__SetTypeReference__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMASLParser.g:10573:1: ( rule__SetTypeReference__Group__2__Impl rule__SetTypeReference__Group__3 )\n // InternalMASLParser.g:10574:2: rule__SetTypeReference__Group__2__Impl rule__SetTypeReference__Group__3\n {\n pushFollow(FOLLOW_17);\n rule__SetTypeReference__Group__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__SetTypeReference__Group__3();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "51e8624c48c80a0f431413712bccb107", "score": "0.52156323", "text": "@Override\n\tpublic void setGroupId(long groupId) {\n\t\t_compliance.setGroupId(groupId);\n\t}", "title": "" }, { "docid": "045a42d0566670984e83e4d3f11b8c77", "score": "0.52133894", "text": "private void setIdsFromGroup() {\n\n\t\t// get the selected group\n\t\tint index = combobox1_.getSelectedIndex();\n\t\tGroup group = owner_.inputData_.getGroup().get(index);\n\n\t\t// get elements of group\n\t\tVector<Element> elements = group.getElements();\n\n\t\t// get indices of group elements\n\t\tvalues_.clear();\n\t\tfor (int i = 0; i < elements.size(); i++) {\n\n\t\t\t// get the index of group element\n\t\t\tint n = owner_.structure_.indexOfElement(elements.get(i));\n\n\t\t\t// add to values vector\n\t\t\tvalues_.add(n);\n\t\t}\n\t}", "title": "" }, { "docid": "75f4e0d6e28e2bb26c7a551a516742f7", "score": "0.52133757", "text": "public long getGroupId();", "title": "" }, { "docid": "75f4e0d6e28e2bb26c7a551a516742f7", "score": "0.52133757", "text": "public long getGroupId();", "title": "" }, { "docid": "d6afa1547e36bf84f9fbd9be20095776", "score": "0.5207507", "text": "public String getGROUP_ID() {\r\n return GROUP_ID;\r\n }", "title": "" }, { "docid": "d6afa1547e36bf84f9fbd9be20095776", "score": "0.5207507", "text": "public String getGROUP_ID() {\r\n return GROUP_ID;\r\n }", "title": "" }, { "docid": "d6afa1547e36bf84f9fbd9be20095776", "score": "0.5207507", "text": "public String getGROUP_ID() {\r\n return GROUP_ID;\r\n }", "title": "" }, { "docid": "c14aac3e52f725754b88b7d1a487507c", "score": "0.52024156", "text": "public void setUsergroupid(Integer usergroupid) {\n this.usergroupid = usergroupid;\n }", "title": "" }, { "docid": "901163d93d2c716e4b636b60d9a79d3d", "score": "0.51999336", "text": "public void setEntitygrpId(BigInteger value) {\n set(42, value);\n }", "title": "" }, { "docid": "ae2ff0bb03341501670dccd046870f65", "score": "0.5197813", "text": "public Integer getGroupId() {\n return groupId;\n }", "title": "" }, { "docid": "ae2ff0bb03341501670dccd046870f65", "score": "0.5197813", "text": "public Integer getGroupId() {\n return groupId;\n }", "title": "" }, { "docid": "d6d821454f47d3138f22e576f58d24fa", "score": "0.51897156", "text": "public void setPagegroup_id(Integer pagegroup_id) {\r\n this.pagegroup_id = pagegroup_id;\r\n }", "title": "" }, { "docid": "2d8b05a0fd6d82ecb966182d3a9199c4", "score": "0.51762086", "text": "public GroupDetail getGroupID() {\r\n return groupID;\r\n }", "title": "" }, { "docid": "ed4e9436c6dbbd65e2ab4711d1e8b216", "score": "0.517156", "text": "public void setGroup (ActionRequest actionRequest,\n\t\t\tActionResponse actionResponse) throws IOException, PortletException {\n\t\t\n\t\tString contactGroupId = ParamUtil.getString(actionRequest, \"contactGroupId\");\t\n\t\tif ( (contactGroupId!=null)&&(!\"\".equals(contactGroupId)) )\n\t\t\tactionRequest.setAttribute(\"contactGroupId\", Long.parseLong(contactGroupId));\n\t\t\n\t}", "title": "" }, { "docid": "b63e2b86f5930896ca3bdff7d32e40b1", "score": "0.5168241", "text": "public void setGroupList(ArrayList<Group> groupList) {\r\n this.groupList = groupList;\r\n }", "title": "" }, { "docid": "7a5fcf29f23f52df75b76460376cfe06", "score": "0.51627487", "text": "public void setGroupId(String groupId) {\n this.groupId = groupId;\n }", "title": "" }, { "docid": "7a5fcf29f23f52df75b76460376cfe06", "score": "0.51627487", "text": "public void setGroupId(String groupId) {\n this.groupId = groupId;\n }", "title": "" }, { "docid": "7a5fcf29f23f52df75b76460376cfe06", "score": "0.51627487", "text": "public void setGroupId(String groupId) {\n this.groupId = groupId;\n }", "title": "" }, { "docid": "7a5fcf29f23f52df75b76460376cfe06", "score": "0.51627487", "text": "public void setGroupId(String groupId) {\n this.groupId = groupId;\n }", "title": "" }, { "docid": "4f170787806eda98a034025a0013b1fb", "score": "0.5156964", "text": "public UUID getGroupId() {\n return groupId;\n }", "title": "" }, { "docid": "909277568bd3699b7fffb2fda46f03f7", "score": "0.5128078", "text": "public void testSetGroupId() {\n long expectValue = 10;\n instance.setGroupId(expectValue);\n assertEquals(\"The return value should be same as expect value\",\n expectValue, instance.getGroupId());\n }", "title": "" }, { "docid": "bc73cf73eaee1e919e9db81b7370ea63", "score": "0.512016", "text": "public void setGroupNum(String groupNum) {\n this.groupNum = groupNum;\n }", "title": "" }, { "docid": "69afd3a877a10c94df79a4b760d750e2", "score": "0.51194364", "text": "public void setGroupId(String groupId) {\r\n\t\tthis.groupId = groupId;\r\n\t}", "title": "" } ]
c157e0218324ff833207f9ac4a015fe0
$ANTLR end "rule__Not__Group_1__1__Impl" $ANTLR start "rule__Not__Group_1_0__0" ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/srcgen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15571:1: rule__Not__Group_1_0__0 : rule__Not__Group_1_0__0__Impl rule__Not__Group_1_0__1 ;
[ { "docid": "514c4f181ac54c388f1037a51039b927", "score": "0.80535936", "text": "public final void rule__Not__Group_1_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15575:1: ( rule__Not__Group_1_0__0__Impl rule__Not__Group_1_0__1 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15576:2: rule__Not__Group_1_0__0__Impl rule__Not__Group_1_0__1\n {\n pushFollow(FollowSets001.FOLLOW_rule__Not__Group_1_0__0__Impl_in_rule__Not__Group_1_0__031867);\n rule__Not__Group_1_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets001.FOLLOW_rule__Not__Group_1_0__1_in_rule__Not__Group_1_0__031870);\n rule__Not__Group_1_0__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" } ]
[ { "docid": "6819b49b748f8b8bc7178a114ef8c52b", "score": "0.817831", "text": "public final void rule__Not__Group_1_0__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15618:1: ( ( ( rule__Not__Group_1_0_1__0 )? ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15619:1: ( ( rule__Not__Group_1_0_1__0 )? )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15619:1: ( ( rule__Not__Group_1_0_1__0 )? )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15620:1: ( rule__Not__Group_1_0_1__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getNotAccess().getGroup_1_0_1()); \n }\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15621:1: ( rule__Not__Group_1_0_1__0 )?\n int alt93=2;\n int LA93_0 = input.LA(1);\n\n if ( (LA93_0==50) ) {\n alt93=1;\n }\n switch (alt93) {\n case 1 :\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15621:2: rule__Not__Group_1_0_1__0\n {\n pushFollow(FollowSets001.FOLLOW_rule__Not__Group_1_0_1__0_in_rule__Not__Group_1_0__1__Impl31959);\n rule__Not__Group_1_0_1__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n break;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getNotAccess().getGroup_1_0_1()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "f42ea4199768ec025c5532c9c07648f7", "score": "0.80944467", "text": "public final void rule__Not__Group_1__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15524:1: ( ( ( rule__Not__Group_1_0__0 ) ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15525:1: ( ( rule__Not__Group_1_0__0 ) )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15525:1: ( ( rule__Not__Group_1_0__0 ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15526:1: ( rule__Not__Group_1_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getNotAccess().getGroup_1_0()); \n }\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15527:1: ( rule__Not__Group_1_0__0 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15527:2: rule__Not__Group_1_0__0\n {\n pushFollow(FollowSets001.FOLLOW_rule__Not__Group_1_0__0_in_rule__Not__Group_1__0__Impl31774);\n rule__Not__Group_1_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getNotAccess().getGroup_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "4d629a5e8d12f8f4f19b5c6639bdab30", "score": "0.80874443", "text": "public final void rule__Not__Group_1_0_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15669:1: ( rule__Not__Group_1_0_1__0__Impl rule__Not__Group_1_0_1__1 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15670:2: rule__Not__Group_1_0_1__0__Impl rule__Not__Group_1_0_1__1\n {\n pushFollow(FollowSets001.FOLLOW_rule__Not__Group_1_0_1__0__Impl_in_rule__Not__Group_1_0_1__032053);\n rule__Not__Group_1_0_1__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets001.FOLLOW_rule__Not__Group_1_0_1__1_in_rule__Not__Group_1_0_1__032056);\n rule__Not__Group_1_0_1__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "5c2811f5e168370411ecf981a82ddd96", "score": "0.80357903", "text": "public final void rule__Not__Group_1_0_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15700:1: ( rule__Not__Group_1_0_1__1__Impl rule__Not__Group_1_0_1__2 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15701:2: rule__Not__Group_1_0_1__1__Impl rule__Not__Group_1_0_1__2\n {\n pushFollow(FollowSets001.FOLLOW_rule__Not__Group_1_0_1__1__Impl_in_rule__Not__Group_1_0_1__132115);\n rule__Not__Group_1_0_1__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets001.FOLLOW_rule__Not__Group_1_0_1__2_in_rule__Not__Group_1_0_1__132118);\n rule__Not__Group_1_0_1__2();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "7a88bc2d408908700c918160216e08a7", "score": "0.80069286", "text": "public final void rule__Not__Group_1_0_1_2__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15763:1: ( rule__Not__Group_1_0_1_2__0__Impl rule__Not__Group_1_0_1_2__1 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15764:2: rule__Not__Group_1_0_1_2__0__Impl rule__Not__Group_1_0_1_2__1\n {\n pushFollow(FollowSets001.FOLLOW_rule__Not__Group_1_0_1_2__0__Impl_in_rule__Not__Group_1_0_1_2__032239);\n rule__Not__Group_1_0_1_2__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets001.FOLLOW_rule__Not__Group_1_0_1_2__1_in_rule__Not__Group_1_0_1_2__032242);\n rule__Not__Group_1_0_1_2__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "3320fd36d17cfda88c6226f7aa6da3a4", "score": "0.79973817", "text": "public final void rule__Not__Group_1_0_1__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15740:1: ( ( ( rule__Not__Group_1_0_1_2__0 )? ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15741:1: ( ( rule__Not__Group_1_0_1_2__0 )? )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15741:1: ( ( rule__Not__Group_1_0_1_2__0 )? )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15742:1: ( rule__Not__Group_1_0_1_2__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getNotAccess().getGroup_1_0_1_2()); \n }\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15743:1: ( rule__Not__Group_1_0_1_2__0 )?\n int alt94=2;\n int LA94_0 = input.LA(1);\n\n if ( (LA94_0==40) ) {\n alt94=1;\n }\n switch (alt94) {\n case 1 :\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15743:2: rule__Not__Group_1_0_1_2__0\n {\n pushFollow(FollowSets001.FOLLOW_rule__Not__Group_1_0_1_2__0_in_rule__Not__Group_1_0_1__2__Impl32202);\n rule__Not__Group_1_0_1_2__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n break;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getNotAccess().getGroup_1_0_1_2()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "01c5fed5cd12e9a6eac312aca9a14251", "score": "0.7993356", "text": "public final void rule__Not__Group_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15512:1: ( rule__Not__Group_1__0__Impl rule__Not__Group_1__1 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15513:2: rule__Not__Group_1__0__Impl rule__Not__Group_1__1\n {\n pushFollow(FollowSets001.FOLLOW_rule__Not__Group_1__0__Impl_in_rule__Not__Group_1__031744);\n rule__Not__Group_1__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets001.FOLLOW_rule__Not__Group_1__1_in_rule__Not__Group_1__031747);\n rule__Not__Group_1__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "d8ffe193ac7ed061c261861b6e13bccb", "score": "0.7979548", "text": "public final void rule__Not__Group_1_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15606:1: ( rule__Not__Group_1_0__1__Impl rule__Not__Group_1_0__2 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15607:2: rule__Not__Group_1_0__1__Impl rule__Not__Group_1_0__2\n {\n pushFollow(FollowSets001.FOLLOW_rule__Not__Group_1_0__1__Impl_in_rule__Not__Group_1_0__131929);\n rule__Not__Group_1_0__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets001.FOLLOW_rule__Not__Group_1_0__2_in_rule__Not__Group_1_0__131932);\n rule__Not__Group_1_0__2();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "4783cb47a8e5ff2b3fb7809f53a80b53", "score": "0.79758364", "text": "public final void rule__Not__Group_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15449:1: ( rule__Not__Group_0__0__Impl rule__Not__Group_0__1 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15450:2: rule__Not__Group_0__0__Impl rule__Not__Group_0__1\n {\n pushFollow(FollowSets001.FOLLOW_rule__Not__Group_0__0__Impl_in_rule__Not__Group_0__031621);\n rule__Not__Group_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets001.FOLLOW_rule__Not__Group_0__1_in_rule__Not__Group_0__031624);\n rule__Not__Group_0__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "4865ff0e8b8b9a13f0973f3344a1c57d", "score": "0.794686", "text": "public final void rule__Not__Group_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15480:1: ( rule__Not__Group_0__1__Impl )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15481:2: rule__Not__Group_0__1__Impl\n {\n pushFollow(FollowSets001.FOLLOW_rule__Not__Group_0__1__Impl_in_rule__Not__Group_0__131683);\n rule__Not__Group_0__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "7d7f4e195aeac7ad383d2c1505eab851", "score": "0.7928326", "text": "public final void rule__Not__Group_1_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15587:1: ( ( '!(' ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15588:1: ( '!(' )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15588:1: ( '!(' )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15589:1: '!('\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getNotAccess().getExclamationMarkLeftParenthesisKeyword_1_0_0()); \n }\n match(input,78,FollowSets001.FOLLOW_78_in_rule__Not__Group_1_0__0__Impl31898); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getNotAccess().getExclamationMarkLeftParenthesisKeyword_1_0_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "01e872044a09546425ccc6bb9391a455", "score": "0.7850738", "text": "public final void rule__Not__Group_1_0_1_2__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15794:1: ( rule__Not__Group_1_0_1_2__1__Impl )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15795:2: rule__Not__Group_1_0_1_2__1__Impl\n {\n pushFollow(FollowSets001.FOLLOW_rule__Not__Group_1_0_1_2__1__Impl_in_rule__Not__Group_1_0_1_2__132301);\n rule__Not__Group_1_0_1_2__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "8ad07910b84af2f6c14b0a5de75fbfd4", "score": "0.7833612", "text": "public final void rule__Not__Group_1_0_1__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15729:1: ( rule__Not__Group_1_0_1__2__Impl )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15730:2: rule__Not__Group_1_0_1__2__Impl\n {\n pushFollow(FollowSets001.FOLLOW_rule__Not__Group_1_0_1__2__Impl_in_rule__Not__Group_1_0_1__232175);\n rule__Not__Group_1_0_1__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "7148205cdceb0d853ef8117441c01fe5", "score": "0.78253716", "text": "public final void rule__Not__Group_1_0__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15635:1: ( rule__Not__Group_1_0__2__Impl )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15636:2: rule__Not__Group_1_0__2__Impl\n {\n pushFollow(FollowSets001.FOLLOW_rule__Not__Group_1_0__2__Impl_in_rule__Not__Group_1_0__231990);\n rule__Not__Group_1_0__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "1cc7e88c7eb1509a990423ddbd8510ed", "score": "0.76542366", "text": "public final void rule__Not__Group_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15541:1: ( rule__Not__Group_1__1__Impl )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15542:2: rule__Not__Group_1__1__Impl\n {\n pushFollow(FollowSets001.FOLLOW_rule__Not__Group_1__1__Impl_in_rule__Not__Group_1__131804);\n rule__Not__Group_1__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "b5811a17219c3dd727bc00bf3ee7abde", "score": "0.76434827", "text": "public final void rule__Not__Group_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15461:1: ( ( '!' ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15462:1: ( '!' )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15462:1: ( '!' )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15463:1: '!'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getNotAccess().getExclamationMarkKeyword_0_0()); \n }\n match(input,77,FollowSets001.FOLLOW_77_in_rule__Not__Group_0__0__Impl31652); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getNotAccess().getExclamationMarkKeyword_0_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "428d0c7d4c24c13f7369168274626a2c", "score": "0.7561507", "text": "public final void rule__Not__Group_1__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15552:1: ( ( ')' ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15553:1: ( ')' )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15553:1: ( ')' )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15554:1: ')'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getNotAccess().getRightParenthesisKeyword_1_1()); \n }\n match(input,42,FollowSets001.FOLLOW_42_in_rule__Not__Group_1__1__Impl31832); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getNotAccess().getRightParenthesisKeyword_1_1()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "5041b7321e13dfa32d3269988c2ba0fb", "score": "0.7458843", "text": "public final void rule__Not__Group_1_0_1_2__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15775:1: ( ( ':' ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15776:1: ( ':' )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15776:1: ( ':' )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15777:1: ':'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getNotAccess().getColonKeyword_1_0_1_2_0()); \n }\n match(input,40,FollowSets001.FOLLOW_40_in_rule__Not__Group_1_0_1_2__0__Impl32270); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getNotAccess().getColonKeyword_1_0_1_2_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "1521abf13d6a7e1a630bc293d315d0db", "score": "0.74287313", "text": "public final void rule__ExprNot__Group_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalCompilation.g:3212:1: ( rule__ExprNot__Group_0__0__Impl rule__ExprNot__Group_0__1 )\n // InternalCompilation.g:3213:2: rule__ExprNot__Group_0__0__Impl rule__ExprNot__Group_0__1\n {\n pushFollow(FOLLOW_4);\n rule__ExprNot__Group_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__ExprNot__Group_0__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "abb3ecc99e244d9e55b162e230001872", "score": "0.7421225", "text": "public final void rule__Not__Group_1_0_1__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15681:1: ( ( '#ref' ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15682:1: ( '#ref' )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15682:1: ( '#ref' )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15683:1: '#ref'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getNotAccess().getRefKeyword_1_0_1_0()); \n }\n match(input,50,FollowSets001.FOLLOW_50_in_rule__Not__Group_1_0_1__0__Impl32084); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getNotAccess().getRefKeyword_1_0_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "fcd3b322fa6a266315135dda00515def", "score": "0.7417018", "text": "public final void rule__ExprNot__Group_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalCompilation.g:3239:1: ( rule__ExprNot__Group_0__1__Impl rule__ExprNot__Group_0__2 )\n // InternalCompilation.g:3240:2: rule__ExprNot__Group_0__1__Impl rule__ExprNot__Group_0__2\n {\n pushFollow(FOLLOW_15);\n rule__ExprNot__Group_0__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__ExprNot__Group_0__2();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "f8bddc2e29f75efa02644249b3a3c46a", "score": "0.7319385", "text": "public final void rule__ExprNot__Group_0__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalCompilation.g:3266:1: ( rule__ExprNot__Group_0__2__Impl )\n // InternalCompilation.g:3267:2: rule__ExprNot__Group_0__2__Impl\n {\n pushFollow(FOLLOW_2);\n rule__ExprNot__Group_0__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "2ca35e2e4fb47c75f9c3e26934d5f828", "score": "0.7119119", "text": "public final void rule__Trigger__Group_1_1__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:7257:1: ( ( 'not' ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:7258:1: ( 'not' )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:7258:1: ( 'not' )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:7259:1: 'not'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getTriggerAccess().getNotKeyword_1_1_0()); \n }\n match(input,47,FollowSets000.FOLLOW_47_in_rule__Trigger__Group_1_1__0__Impl15580); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getTriggerAccess().getNotKeyword_1_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "826bb2fbb09e808e2ab6c4ed49624e60", "score": "0.6593987", "text": "public final void rule__Exclusion__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:32544:1: ( rule__Exclusion__Group__0__Impl rule__Exclusion__Group__1 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:32545:2: rule__Exclusion__Group__0__Impl rule__Exclusion__Group__1\n {\n pushFollow(FollowSets002.FOLLOW_rule__Exclusion__Group__0__Impl_in_rule__Exclusion__Group__065184);\n rule__Exclusion__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets002.FOLLOW_rule__Exclusion__Group__1_in_rule__Exclusion__Group__065187);\n rule__Exclusion__Group__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "ba29d0022006b83154419332a381676c", "score": "0.6579187", "text": "public final void rule__Not__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:3985:1: ( ( ( rule__Not__Group_0__0 ) ) | ( ( rule__Not__Group_1__0 ) ) )\n int alt20=2;\n int LA20_0 = input.LA(1);\n\n if ( (LA20_0==77) ) {\n alt20=1;\n }\n else if ( (LA20_0==78) ) {\n alt20=2;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 20, 0, input);\n\n throw nvae;\n }\n switch (alt20) {\n case 1 :\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:3986:1: ( ( rule__Not__Group_0__0 ) )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:3986:1: ( ( rule__Not__Group_0__0 ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:3987:1: ( rule__Not__Group_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getNotAccess().getGroup_0()); \n }\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:3988:1: ( rule__Not__Group_0__0 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:3988:2: rule__Not__Group_0__0\n {\n pushFollow(FollowSets000.FOLLOW_rule__Not__Group_0__0_in_rule__Not__Alternatives8596);\n rule__Not__Group_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getNotAccess().getGroup_0()); \n }\n\n }\n\n\n }\n break;\n case 2 :\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:3992:6: ( ( rule__Not__Group_1__0 ) )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:3992:6: ( ( rule__Not__Group_1__0 ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:3993:1: ( rule__Not__Group_1__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getNotAccess().getGroup_1()); \n }\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:3994:1: ( rule__Not__Group_1__0 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:3994:2: rule__Not__Group_1__0\n {\n pushFollow(FollowSets000.FOLLOW_rule__Not__Group_1__0_in_rule__Not__Alternatives8614);\n rule__Not__Group_1__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getNotAccess().getGroup_1()); \n }\n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "76abe0285f0deb1d6c89898579001584", "score": "0.65788984", "text": "public final void rule__ExprOr__Group_0_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalCompilation.g:3089:1: ( ( ruleExprNot ) )\n // InternalCompilation.g:3090:1: ( ruleExprNot )\n {\n // InternalCompilation.g:3090:1: ( ruleExprNot )\n // InternalCompilation.g:3091:2: ruleExprNot\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getExprOrAccess().getExprNotParserRuleCall_0_0_0()); \n }\n pushFollow(FOLLOW_2);\n ruleExprNot();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getExprOrAccess().getExprNotParserRuleCall_0_0_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "005a56ed86de00c28099610932ffda2d", "score": "0.63848436", "text": "public final void synpred40_InternalMoCDsl_fragment() throws RecognitionException { \n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:4030:1: ( ( ( rule__IntSup__Group_0__0 ) ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:4030:1: ( ( rule__IntSup__Group_0__0 ) )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:4030:1: ( ( rule__IntSup__Group_0__0 ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:4031:1: ( rule__IntSup__Group_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getIntSupAccess().getGroup_0()); \n }\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:4032:1: ( rule__IntSup__Group_0__0 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:4032:2: rule__IntSup__Group_0__0\n {\n pushFollow(FollowSets003.FOLLOW_rule__IntSup__Group_0__0_in_synpred40_InternalMoCDsl8698);\n rule__IntSup__Group_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n\n }\n\n\n }\n }", "title": "" }, { "docid": "f388a9f3c12685a540eb4a1ce996f846", "score": "0.6366648", "text": "public final void rule__NonStrictPrecedence__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:33184:1: ( rule__NonStrictPrecedence__Group__0__Impl rule__NonStrictPrecedence__Group__1 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:33185:2: rule__NonStrictPrecedence__Group__0__Impl rule__NonStrictPrecedence__Group__1\n {\n pushFollow(FollowSets002.FOLLOW_rule__NonStrictPrecedence__Group__0__Impl_in_rule__NonStrictPrecedence__Group__066438);\n rule__NonStrictPrecedence__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets002.FOLLOW_rule__NonStrictPrecedence__Group__1_in_rule__NonStrictPrecedence__Group__066441);\n rule__NonStrictPrecedence__Group__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "d5c9173e90c41deac04da579dcb6fcd3", "score": "0.63544303", "text": "public final void ruleExclusion() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:3028:2: ( ( ( rule__Exclusion__Group__0 ) ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:3029:1: ( ( rule__Exclusion__Group__0 ) )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:3029:1: ( ( rule__Exclusion__Group__0 ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:3030:1: ( rule__Exclusion__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getExclusionAccess().getGroup()); \n }\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:3031:1: ( rule__Exclusion__Group__0 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:3031:2: rule__Exclusion__Group__0\n {\n pushFollow(FollowSets000.FOLLOW_rule__Exclusion__Group__0_in_ruleExclusion6414);\n rule__Exclusion__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getExclusionAccess().getGroup()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "2df289ba80a1d3d7baf40b6cdaaaee8a", "score": "0.6311484", "text": "public final void rule__Exclusion__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:32556:1: ( ( '_Exclusion' ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:32557:1: ( '_Exclusion' )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:32557:1: ( '_Exclusion' )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:32558:1: '_Exclusion'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getExclusionAccess().get_ExclusionKeyword_0()); \n }\n match(input,151,FollowSets002.FOLLOW_151_in_rule__Exclusion__Group__0__Impl65215); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getExclusionAccess().get_ExclusionKeyword_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "b9528f2c7f1eacc8e2d7b875d77c42fc", "score": "0.62892336", "text": "public final void rule__ExprNot__Group_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalCompilation.g:3224:1: ( ( '!' ) )\n // InternalCompilation.g:3225:1: ( '!' )\n {\n // InternalCompilation.g:3225:1: ( '!' )\n // InternalCompilation.g:3226:2: '!'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getExprNotAccess().getExclamationMarkKeyword_0_0()); \n }\n match(input,36,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getExprNotAccess().getExclamationMarkKeyword_0_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "3ef0ae9c3d6d1874fbceb46ad74ee663", "score": "0.6280296", "text": "public final void rule__Not__Group_0__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15491:1: ( ( ( rule__Not__OperandAssignment_0_1 ) ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15492:1: ( ( rule__Not__OperandAssignment_0_1 ) )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15492:1: ( ( rule__Not__OperandAssignment_0_1 ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15493:1: ( rule__Not__OperandAssignment_0_1 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getNotAccess().getOperandAssignment_0_1()); \n }\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15494:1: ( rule__Not__OperandAssignment_0_1 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15494:2: rule__Not__OperandAssignment_0_1\n {\n pushFollow(FollowSets001.FOLLOW_rule__Not__OperandAssignment_0_1_in_rule__Not__Group_0__1__Impl31710);\n rule__Not__OperandAssignment_0_1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getNotAccess().getOperandAssignment_0_1()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "4f7cf03f5fcb08cbebb682e554901dd5", "score": "0.626858", "text": "public final void rule__IntMinus__Group_0_1__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13786:1: ( rule__IntMinus__Group_0_1__2__Impl )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13787:2: rule__IntMinus__Group_0_1__2__Impl\n {\n pushFollow(FollowSets001.FOLLOW_rule__IntMinus__Group_0_1__2__Impl_in_rule__IntMinus__Group_0_1__228363);\n rule__IntMinus__Group_0_1__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "f4728478439dff135c5f69ec3a345019", "score": "0.626434", "text": "public final void rule__Exclusion__Group_2__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:32801:1: ( rule__Exclusion__Group_2__0__Impl rule__Exclusion__Group_2__1 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:32802:2: rule__Exclusion__Group_2__0__Impl rule__Exclusion__Group_2__1\n {\n pushFollow(FollowSets002.FOLLOW_rule__Exclusion__Group_2__0__Impl_in_rule__Exclusion__Group_2__065688);\n rule__Exclusion__Group_2__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets002.FOLLOW_rule__Exclusion__Group_2__1_in_rule__Exclusion__Group_2__065691);\n rule__Exclusion__Group_2__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "589a26fcc2fa2cffd554e91ed110b2cb", "score": "0.62587166", "text": "public final void rule__Guard__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:8860:1: ( ( () ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:8861:1: ( () )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:8861:1: ( () )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:8862:1: ()\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getGuardAccess().getGuardAction_0()); \n }\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:8863:1: ()\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:8865:1: \n {\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getGuardAccess().getGuardAction_0()); \n }\n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "63874b5dd10419978259deb5b947c2c3", "score": "0.62483263", "text": "public final void synpred35_InternalMoCDsl_fragment() throws RecognitionException { \n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:3920:1: ( ( ( rule__IntMinus__Group_0__0 ) ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:3920:1: ( ( rule__IntMinus__Group_0__0 ) )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:3920:1: ( ( rule__IntMinus__Group_0__0 ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:3921:1: ( rule__IntMinus__Group_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getIntMinusAccess().getGroup_0()); \n }\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:3922:1: ( rule__IntMinus__Group_0__0 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:3922:2: rule__IntMinus__Group_0__0\n {\n pushFollow(FollowSets003.FOLLOW_rule__IntMinus__Group_0__0_in_synpred35_InternalMoCDsl8443);\n rule__IntMinus__Group_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n\n }\n\n\n }\n }", "title": "" }, { "docid": "19ae731a0f2309635eea904928648c10", "score": "0.62335134", "text": "public final void rule__Exclusion__Group__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:32618:1: ( ( ( rule__Exclusion__Group_2__0 )? ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:32619:1: ( ( rule__Exclusion__Group_2__0 )? )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:32619:1: ( ( rule__Exclusion__Group_2__0 )? )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:32620:1: ( rule__Exclusion__Group_2__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getExclusionAccess().getGroup_2()); \n }\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:32621:1: ( rule__Exclusion__Group_2__0 )?\n int alt167=2;\n int LA167_0 = input.LA(1);\n\n if ( (LA167_0==112) ) {\n alt167=1;\n }\n switch (alt167) {\n case 1 :\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:32621:2: rule__Exclusion__Group_2__0\n {\n pushFollow(FollowSets002.FOLLOW_rule__Exclusion__Group_2__0_in_rule__Exclusion__Group__2__Impl65338);\n rule__Exclusion__Group_2__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n break;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getExclusionAccess().getGroup_2()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "e8ecdee9afc8ed1cf3fa85c6a19f0a7a", "score": "0.6213273", "text": "public final void rule__IntMinus__Group_0__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13578:1: ( ( ( rule__IntMinus__Group_0_1__0 )? ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13579:1: ( ( rule__IntMinus__Group_0_1__0 )? )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13579:1: ( ( rule__IntMinus__Group_0_1__0 )? )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13580:1: ( rule__IntMinus__Group_0_1__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getIntMinusAccess().getGroup_0_1()); \n }\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13581:1: ( rule__IntMinus__Group_0_1__0 )?\n int alt87=2;\n int LA87_0 = input.LA(1);\n\n if ( (LA87_0==50) ) {\n int LA87_1 = input.LA(2);\n\n if ( (LA87_1==RULE_ID) ) {\n int LA87_3 = input.LA(3);\n\n if ( (LA87_3==40) ) {\n int LA87_5 = input.LA(4);\n\n if ( (synpred167_InternalMoCDsl()) ) {\n alt87=1;\n }\n }\n }\n else if ( (LA87_1==109) ) {\n alt87=1;\n }\n }\n switch (alt87) {\n case 1 :\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13581:2: rule__IntMinus__Group_0_1__0\n {\n pushFollow(FollowSets001.FOLLOW_rule__IntMinus__Group_0_1__0_in_rule__IntMinus__Group_0__1__Impl27957);\n rule__IntMinus__Group_0_1__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n break;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getIntMinusAccess().getGroup_0_1()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "4e7c0ff81c2afebde695496e3b6c99c9", "score": "0.6190705", "text": "public final void rule__UnaryIntMinus__Group_0__6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12439:1: ( rule__UnaryIntMinus__Group_0__6__Impl )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12440:2: rule__UnaryIntMinus__Group_0__6__Impl\n {\n pushFollow(FollowSets001.FOLLOW_rule__UnaryIntMinus__Group_0__6__Impl_in_rule__UnaryIntMinus__Group_0__625727);\n rule__UnaryIntMinus__Group_0__6__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "d7a571498af7de0ebd09a6b88d75c13c", "score": "0.6187438", "text": "public final void rule__IntMinus__Group_0_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13726:1: ( rule__IntMinus__Group_0_1__0__Impl rule__IntMinus__Group_0_1__1 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13727:2: rule__IntMinus__Group_0_1__0__Impl rule__IntMinus__Group_0_1__1\n {\n pushFollow(FollowSets001.FOLLOW_rule__IntMinus__Group_0_1__0__Impl_in_rule__IntMinus__Group_0_1__028241);\n rule__IntMinus__Group_0_1__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets001.FOLLOW_rule__IntMinus__Group_0_1__1_in_rule__IntMinus__Group_0_1__028244);\n rule__IntMinus__Group_0_1__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "c7a634acd359150d802176c2473d807f", "score": "0.6140098", "text": "public final void rule__Exclusion__Group_2__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:32832:1: ( rule__Exclusion__Group_2__1__Impl )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:32833:2: rule__Exclusion__Group_2__1__Impl\n {\n pushFollow(FollowSets002.FOLLOW_rule__Exclusion__Group_2__1__Impl_in_rule__Exclusion__Group_2__165750);\n rule__Exclusion__Group_2__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "ad39fe838719693ecbd4412969fc3073", "score": "0.6121292", "text": "public final void rule__NonStrictPrecedence__Group_2__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:33441:1: ( rule__NonStrictPrecedence__Group_2__0__Impl rule__NonStrictPrecedence__Group_2__1 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:33442:2: rule__NonStrictPrecedence__Group_2__0__Impl rule__NonStrictPrecedence__Group_2__1\n {\n pushFollow(FollowSets002.FOLLOW_rule__NonStrictPrecedence__Group_2__0__Impl_in_rule__NonStrictPrecedence__Group_2__066942);\n rule__NonStrictPrecedence__Group_2__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets002.FOLLOW_rule__NonStrictPrecedence__Group_2__1_in_rule__NonStrictPrecedence__Group_2__066945);\n rule__NonStrictPrecedence__Group_2__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "c7d3082cf1218e669c9762930959cd2c", "score": "0.6117852", "text": "public final void rule__Not__Group_1_0__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15646:1: ( ( ( rule__Not__OperandAssignment_1_0_2 ) ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15647:1: ( ( rule__Not__OperandAssignment_1_0_2 ) )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15647:1: ( ( rule__Not__OperandAssignment_1_0_2 ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15648:1: ( rule__Not__OperandAssignment_1_0_2 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getNotAccess().getOperandAssignment_1_0_2()); \n }\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15649:1: ( rule__Not__OperandAssignment_1_0_2 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:15649:2: rule__Not__OperandAssignment_1_0_2\n {\n pushFollow(FollowSets001.FOLLOW_rule__Not__OperandAssignment_1_0_2_in_rule__Not__Group_1_0__2__Impl32017);\n rule__Not__OperandAssignment_1_0_2();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getNotAccess().getOperandAssignment_1_0_2()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "32e5de12ed268e992425285f1749b597", "score": "0.6091357", "text": "public final void rule__IntSup__Group_0__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:17551:1: ( ( ( rule__IntSup__Group_0_1__0 )? ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:17552:1: ( ( rule__IntSup__Group_0_1__0 )? )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:17552:1: ( ( rule__IntSup__Group_0_1__0 )? )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:17553:1: ( rule__IntSup__Group_0_1__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getIntSupAccess().getGroup_0_1()); \n }\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:17554:1: ( rule__IntSup__Group_0_1__0 )?\n int alt103=2;\n int LA103_0 = input.LA(1);\n\n if ( (LA103_0==50) ) {\n int LA103_1 = input.LA(2);\n\n if ( (LA103_1==RULE_ID) ) {\n int LA103_3 = input.LA(3);\n\n if ( (LA103_3==40) ) {\n int LA103_5 = input.LA(4);\n\n if ( (synpred183_InternalMoCDsl()) ) {\n alt103=1;\n }\n }\n }\n else if ( (LA103_1==109) ) {\n alt103=1;\n }\n }\n switch (alt103) {\n case 1 :\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:17554:2: rule__IntSup__Group_0_1__0\n {\n pushFollow(FollowSets001.FOLLOW_rule__IntSup__Group_0_1__0_in_rule__IntSup__Group_0__1__Impl35761);\n rule__IntSup__Group_0_1__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n break;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getIntSupAccess().getGroup_0_1()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "258a4bc28a1110ef205cde52bfc370c2", "score": "0.60894704", "text": "public final void rule__NonStrictPrecedence__Group_2__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:33472:1: ( rule__NonStrictPrecedence__Group_2__1__Impl )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:33473:2: rule__NonStrictPrecedence__Group_2__1__Impl\n {\n pushFollow(FollowSets002.FOLLOW_rule__NonStrictPrecedence__Group_2__1__Impl_in_rule__NonStrictPrecedence__Group_2__167004);\n rule__NonStrictPrecedence__Group_2__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "f7af699ffb604a32dc67aabc525a6293", "score": "0.6086874", "text": "public final void rule__IntMinus__Group_0_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13757:1: ( rule__IntMinus__Group_0_1__1__Impl rule__IntMinus__Group_0_1__2 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13758:2: rule__IntMinus__Group_0_1__1__Impl rule__IntMinus__Group_0_1__2\n {\n pushFollow(FollowSets001.FOLLOW_rule__IntMinus__Group_0_1__1__Impl_in_rule__IntMinus__Group_0_1__128303);\n rule__IntMinus__Group_0_1__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets001.FOLLOW_rule__IntMinus__Group_0_1__2_in_rule__IntMinus__Group_0_1__128306);\n rule__IntMinus__Group_0_1__2();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "c6759976d8ec01ecd2c1334b2d677b77", "score": "0.60834134", "text": "public final void rule__UnaryIntMinus__Group_1_1_2__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12865:1: ( rule__UnaryIntMinus__Group_1_1_2__1__Impl )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12866:2: rule__UnaryIntMinus__Group_1_1_2__1__Impl\n {\n pushFollow(FollowSets001.FOLLOW_rule__UnaryIntMinus__Group_1_1_2__1__Impl_in_rule__UnaryIntMinus__Group_1_1_2__126552);\n rule__UnaryIntMinus__Group_1_1_2__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "34bebe1d3a872bc919243932002e40f6", "score": "0.6078977", "text": "public final void rule__NonStrictPrecedence__Group__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:33258:1: ( ( ( rule__NonStrictPrecedence__Group_2__0 )? ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:33259:1: ( ( rule__NonStrictPrecedence__Group_2__0 )? )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:33259:1: ( ( rule__NonStrictPrecedence__Group_2__0 )? )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:33260:1: ( rule__NonStrictPrecedence__Group_2__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getNonStrictPrecedenceAccess().getGroup_2()); \n }\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:33261:1: ( rule__NonStrictPrecedence__Group_2__0 )?\n int alt169=2;\n int LA169_0 = input.LA(1);\n\n if ( (LA169_0==112) ) {\n alt169=1;\n }\n switch (alt169) {\n case 1 :\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:33261:2: rule__NonStrictPrecedence__Group_2__0\n {\n pushFollow(FollowSets002.FOLLOW_rule__NonStrictPrecedence__Group_2__0_in_rule__NonStrictPrecedence__Group__2__Impl66592);\n rule__NonStrictPrecedence__Group_2__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n break;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getNonStrictPrecedenceAccess().getGroup_2()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "1e867cdc7cd6df719469386af8ba4251", "score": "0.60657024", "text": "public final void rule__IntMinus__Group_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13566:1: ( rule__IntMinus__Group_0__1__Impl rule__IntMinus__Group_0__2 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13567:2: rule__IntMinus__Group_0__1__Impl rule__IntMinus__Group_0__2\n {\n pushFollow(FollowSets001.FOLLOW_rule__IntMinus__Group_0__1__Impl_in_rule__IntMinus__Group_0__127927);\n rule__IntMinus__Group_0__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets001.FOLLOW_rule__IntMinus__Group_0__2_in_rule__IntMinus__Group_0__127930);\n rule__IntMinus__Group_0__2();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "07bfbf3b2b3bfa0a549b9a0e5d7f3d59", "score": "0.60630506", "text": "public final void rule__UserExpressionDefinition_Impl__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:21858:1: ( rule__UserExpressionDefinition_Impl__Group__0__Impl rule__UserExpressionDefinition_Impl__Group__1 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:21859:2: rule__UserExpressionDefinition_Impl__Group__0__Impl rule__UserExpressionDefinition_Impl__Group__1\n {\n pushFollow(FollowSets001.FOLLOW_rule__UserExpressionDefinition_Impl__Group__0__Impl_in_rule__UserExpressionDefinition_Impl__Group__044209);\n rule__UserExpressionDefinition_Impl__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets001.FOLLOW_rule__UserExpressionDefinition_Impl__Group__1_in_rule__UserExpressionDefinition_Impl__Group__044212);\n rule__UserExpressionDefinition_Impl__Group__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "6ef64f27d224c7a1d7e62d478b98ccd7", "score": "0.605467", "text": "public final void rule__UnaryIntMinus__Group_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12257:1: ( rule__UnaryIntMinus__Group_0__0__Impl rule__UnaryIntMinus__Group_0__1 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12258:2: rule__UnaryIntMinus__Group_0__0__Impl rule__UnaryIntMinus__Group_0__1\n {\n pushFollow(FollowSets001.FOLLOW_rule__UnaryIntMinus__Group_0__0__Impl_in_rule__UnaryIntMinus__Group_0__025359);\n rule__UnaryIntMinus__Group_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets001.FOLLOW_rule__UnaryIntMinus__Group_0__1_in_rule__UnaryIntMinus__Group_0__025362);\n rule__UnaryIntMinus__Group_0__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "69b7578f06e651744102212e083bd362", "score": "0.60494345", "text": "public final void rule__UnaryIntMinus__Group_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12288:1: ( rule__UnaryIntMinus__Group_0__1__Impl rule__UnaryIntMinus__Group_0__2 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12289:2: rule__UnaryIntMinus__Group_0__1__Impl rule__UnaryIntMinus__Group_0__2\n {\n pushFollow(FollowSets001.FOLLOW_rule__UnaryIntMinus__Group_0__1__Impl_in_rule__UnaryIntMinus__Group_0__125421);\n rule__UnaryIntMinus__Group_0__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets001.FOLLOW_rule__UnaryIntMinus__Group_0__2_in_rule__UnaryIntMinus__Group_0__125424);\n rule__UnaryIntMinus__Group_0__2();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "dc13b75a574f6c39cf31d7bd5488fc93", "score": "0.6042296", "text": "public final void rule__IntMinus__Group_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13535:1: ( rule__IntMinus__Group_0__0__Impl rule__IntMinus__Group_0__1 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13536:2: rule__IntMinus__Group_0__0__Impl rule__IntMinus__Group_0__1\n {\n pushFollow(FollowSets001.FOLLOW_rule__IntMinus__Group_0__0__Impl_in_rule__IntMinus__Group_0__027865);\n rule__IntMinus__Group_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets001.FOLLOW_rule__IntMinus__Group_0__1_in_rule__IntMinus__Group_0__027868);\n rule__IntMinus__Group_0__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "9a2f91a28f59e8629fd8b1bff670f925", "score": "0.6026787", "text": "public final void rule__IntMinus__Group_1__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13865:1: ( ( ( rule__IntMinus__Group_1_1__0 )? ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13866:1: ( ( rule__IntMinus__Group_1_1__0 )? )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13866:1: ( ( rule__IntMinus__Group_1_1__0 )? )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13867:1: ( rule__IntMinus__Group_1_1__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getIntMinusAccess().getGroup_1_1()); \n }\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13868:1: ( rule__IntMinus__Group_1_1__0 )?\n int alt88=2;\n int LA88_0 = input.LA(1);\n\n if ( (LA88_0==50) ) {\n int LA88_1 = input.LA(2);\n\n if ( (LA88_1==109) ) {\n alt88=1;\n }\n else if ( (LA88_1==RULE_ID) ) {\n int LA88_4 = input.LA(3);\n\n if ( (LA88_4==63) ) {\n alt88=1;\n }\n }\n }\n switch (alt88) {\n case 1 :\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13868:2: rule__IntMinus__Group_1_1__0\n {\n pushFollow(FollowSets001.FOLLOW_rule__IntMinus__Group_1_1__0_in_rule__IntMinus__Group_1__1__Impl28520);\n rule__IntMinus__Group_1_1__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n break;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getIntMinusAccess().getGroup_1_1()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "397f6ff82517ca79b66a021a39025162", "score": "0.6023875", "text": "public final void rule__NegateFilter__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalVideoGen.g:2237:1: ( rule__NegateFilter__Group__1__Impl )\n // InternalVideoGen.g:2238:2: rule__NegateFilter__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__NegateFilter__Group__1__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "851048a7600753d6afd69c27498c7481", "score": "0.6012612", "text": "public final void rule__NonStrictSampling__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:36704:1: ( rule__NonStrictSampling__Group__0__Impl rule__NonStrictSampling__Group__1 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:36705:2: rule__NonStrictSampling__Group__0__Impl rule__NonStrictSampling__Group__1\n {\n pushFollow(FollowSets003.FOLLOW_rule__NonStrictSampling__Group__0__Impl_in_rule__NonStrictSampling__Group__073341);\n rule__NonStrictSampling__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets003.FOLLOW_rule__NonStrictSampling__Group__1_in_rule__NonStrictSampling__Group__073344);\n rule__NonStrictSampling__Group__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "68f433b8ec4e91cad8b5266324f21367", "score": "0.60119253", "text": "public final void rule__UnaryExpr__Group_0__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:18452:1: ( rule__UnaryExpr__Group_0__2__Impl )\n // InternalAgreeParser.g:18453:2: rule__UnaryExpr__Group_0__2__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__UnaryExpr__Group_0__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "6c47e441d7fe675cf7d69382049aa5f5", "score": "0.5977975", "text": "public final void rule__Validation__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMml.g:2248:1: ( rule__Validation__Group__0__Impl rule__Validation__Group__1 )\n // InternalMml.g:2249:2: rule__Validation__Group__0__Impl rule__Validation__Group__1\n {\n pushFollow(FOLLOW_26);\n rule__Validation__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Validation__Group__1();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "a5d9069146366713e8065740722ea60d", "score": "0.5963086", "text": "public final void synpred39_InternalMoCDsl_fragment() throws RecognitionException { \n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:4008:1: ( ( ( rule__IntInf__Group_0__0 ) ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:4008:1: ( ( rule__IntInf__Group_0__0 ) )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:4008:1: ( ( rule__IntInf__Group_0__0 ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:4009:1: ( rule__IntInf__Group_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getIntInfAccess().getGroup_0()); \n }\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:4010:1: ( rule__IntInf__Group_0__0 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:4010:2: rule__IntInf__Group_0__0\n {\n pushFollow(FollowSets003.FOLLOW_rule__IntInf__Group_0__0_in_synpred39_InternalMoCDsl8647);\n rule__IntInf__Group_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n\n }\n\n\n }\n }", "title": "" }, { "docid": "c8f4de7ba68c4231a58c07bebbbd8dca", "score": "0.5961538", "text": "public final void rule__IntMinus__Group_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13547:1: ( ( '(' ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13548:1: ( '(' )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13548:1: ( '(' )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13549:1: '('\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getIntMinusAccess().getLeftParenthesisKeyword_0_0()); \n }\n match(input,41,FollowSets001.FOLLOW_41_in_rule__IntMinus__Group_0__0__Impl27896); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getIntMinusAccess().getLeftParenthesisKeyword_0_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "9220be34316854ee395203e443289202", "score": "0.59482294", "text": "public final void rule__NonStrictPrecedence__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:33196:1: ( ( '_NonStrictPrecedence' ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:33197:1: ( '_NonStrictPrecedence' )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:33197:1: ( '_NonStrictPrecedence' )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:33198:1: '_NonStrictPrecedence'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getNonStrictPrecedenceAccess().get_NonStrictPrecedenceKeyword_0()); \n }\n match(input,153,FollowSets002.FOLLOW_153_in_rule__NonStrictPrecedence__Group__0__Impl66469); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getNonStrictPrecedenceAccess().get_NonStrictPrecedenceKeyword_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "5cf4a9497db2eb09392b2b30a50bc90d", "score": "0.594285", "text": "public final void rule__UnaryIntMinus__Group_1_1_2__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12834:1: ( rule__UnaryIntMinus__Group_1_1_2__0__Impl rule__UnaryIntMinus__Group_1_1_2__1 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12835:2: rule__UnaryIntMinus__Group_1_1_2__0__Impl rule__UnaryIntMinus__Group_1_1_2__1\n {\n pushFollow(FollowSets001.FOLLOW_rule__UnaryIntMinus__Group_1_1_2__0__Impl_in_rule__UnaryIntMinus__Group_1_1_2__026490);\n rule__UnaryIntMinus__Group_1_1_2__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets001.FOLLOW_rule__UnaryIntMinus__Group_1_1_2__1_in_rule__UnaryIntMinus__Group_1_1_2__026493);\n rule__UnaryIntMinus__Group_1_1_2__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "43719161fdbeabc1012b35d9acc54e50", "score": "0.593679", "text": "public final void rule__IntMinus__Group_1_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:14013:1: ( rule__IntMinus__Group_1_1__0__Impl rule__IntMinus__Group_1_1__1 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:14014:2: rule__IntMinus__Group_1_1__0__Impl rule__IntMinus__Group_1_1__1\n {\n pushFollow(FollowSets001.FOLLOW_rule__IntMinus__Group_1_1__0__Impl_in_rule__IntMinus__Group_1_1__028804);\n rule__IntMinus__Group_1_1__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets001.FOLLOW_rule__IntMinus__Group_1_1__1_in_rule__IntMinus__Group_1_1__028807);\n rule__IntMinus__Group_1_1__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "b294135a848acddf95d039de9dbd4bbf", "score": "0.59346753", "text": "public final void rule__ConditionalExpressionDefinition__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:22249:1: ( rule__ConditionalExpressionDefinition__Group__0__Impl rule__ConditionalExpressionDefinition__Group__1 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:22250:2: rule__ConditionalExpressionDefinition__Group__0__Impl rule__ConditionalExpressionDefinition__Group__1\n {\n pushFollow(FollowSets002.FOLLOW_rule__ConditionalExpressionDefinition__Group__0__Impl_in_rule__ConditionalExpressionDefinition__Group__044978);\n rule__ConditionalExpressionDefinition__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets002.FOLLOW_rule__ConditionalExpressionDefinition__Group__1_in_rule__ConditionalExpressionDefinition__Group__044981);\n rule__ConditionalExpressionDefinition__Group__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "70811a695fc845f7f30575b90aa91aa5", "score": "0.5930556", "text": "public final void rule__UnaryIntMinus__Group_0__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12319:1: ( rule__UnaryIntMinus__Group_0__2__Impl rule__UnaryIntMinus__Group_0__3 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12320:2: rule__UnaryIntMinus__Group_0__2__Impl rule__UnaryIntMinus__Group_0__3\n {\n pushFollow(FollowSets001.FOLLOW_rule__UnaryIntMinus__Group_0__2__Impl_in_rule__UnaryIntMinus__Group_0__225483);\n rule__UnaryIntMinus__Group_0__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets001.FOLLOW_rule__UnaryIntMinus__Group_0__3_in_rule__UnaryIntMinus__Group_0__225486);\n rule__UnaryIntMinus__Group_0__3();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "748821f72ae93aa72d381cacf4e1347b", "score": "0.5930383", "text": "public final void rule__Exclusion__Group_2__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:32813:1: ( ( 'name' ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:32814:1: ( 'name' )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:32814:1: ( 'name' )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:32815:1: 'name'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getExclusionAccess().getNameKeyword_2_0()); \n }\n match(input,112,FollowSets002.FOLLOW_112_in_rule__Exclusion__Group_2__0__Impl65719); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getExclusionAccess().getNameKeyword_2_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "187799669d957f576475747c52d3606d", "score": "0.59217566", "text": "public final void rule__UnaryIntMinus__Group_0__6__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12450:1: ( ( '}' ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12451:1: ( '}' )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12451:1: ( '}' )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12452:1: '}'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getUnaryIntMinusAccess().getRightCurlyBracketKeyword_0_6()); \n }\n match(input,28,FollowSets001.FOLLOW_28_in_rule__UnaryIntMinus__Group_0__6__Impl25755); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getUnaryIntMinusAccess().getRightCurlyBracketKeyword_0_6()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "1155eaacdd4cb93818fcefb5ab70ca38", "score": "0.5916463", "text": "public final void rule__Expression__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:24065:1: ( rule__Expression__Group__0__Impl rule__Expression__Group__1 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:24066:2: rule__Expression__Group__0__Impl rule__Expression__Group__1\n {\n pushFollow(FollowSets002.FOLLOW_rule__Expression__Group__0__Impl_in_rule__Expression__Group__048550);\n rule__Expression__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets002.FOLLOW_rule__Expression__Group__1_in_rule__Expression__Group__048553);\n rule__Expression__Group__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "7b1527f5ac0b559ccb53230a17f7a5b0", "score": "0.59120834", "text": "public final void rule__IntMinus__Group_1__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13834:1: ( ( '(' ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13835:1: ( '(' )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13835:1: ( '(' )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13836:1: '('\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getIntMinusAccess().getLeftParenthesisKeyword_1_0()); \n }\n match(input,41,FollowSets001.FOLLOW_41_in_rule__IntMinus__Group_1__0__Impl28459); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getIntMinusAccess().getLeftParenthesisKeyword_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "4265077e441940d6f0a17436dfd745eb", "score": "0.5909456", "text": "public final void rule__Guard__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:8848:1: ( rule__Guard__Group__0__Impl rule__Guard__Group__1 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:8849:2: rule__Guard__Group__0__Impl rule__Guard__Group__1\n {\n pushFollow(FollowSets000.FOLLOW_rule__Guard__Group__0__Impl_in_rule__Guard__Group__018681);\n rule__Guard__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_rule__Guard__Group__1_in_rule__Guard__Group__018684);\n rule__Guard__Group__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "6fff4a9842fb9eb23a8ec1430d4c6822", "score": "0.5908946", "text": "public final void rule__UnaryIntMinus__Group_1_1__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12800:1: ( rule__UnaryIntMinus__Group_1_1__2__Impl )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12801:2: rule__UnaryIntMinus__Group_1_1__2__Impl\n {\n pushFollow(FollowSets001.FOLLOW_rule__UnaryIntMinus__Group_1_1__2__Impl_in_rule__UnaryIntMinus__Group_1_1__226426);\n rule__UnaryIntMinus__Group_1_1__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "a5cc3b7c0d7ce9023b5b56764526a080", "score": "0.5906758", "text": "public final void rule__Sup__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:35936:1: ( rule__Sup__Group__0__Impl rule__Sup__Group__1 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:35937:2: rule__Sup__Group__0__Impl rule__Sup__Group__1\n {\n pushFollow(FollowSets003.FOLLOW_rule__Sup__Group__0__Impl_in_rule__Sup__Group__071835);\n rule__Sup__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets003.FOLLOW_rule__Sup__Group__1_in_rule__Sup__Group__071838);\n rule__Sup__Group__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "257e6832b0fdfd3640b169d28e2ad7ce", "score": "0.59032", "text": "public final void ruleUserExpressionDefinition_Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:1478:2: ( ( ( rule__UserExpressionDefinition_Impl__Group__0 ) ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:1479:1: ( ( rule__UserExpressionDefinition_Impl__Group__0 ) )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:1479:1: ( ( rule__UserExpressionDefinition_Impl__Group__0 ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:1480:1: ( rule__UserExpressionDefinition_Impl__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getUserExpressionDefinition_ImplAccess().getGroup()); \n }\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:1481:1: ( rule__UserExpressionDefinition_Impl__Group__0 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:1481:2: rule__UserExpressionDefinition_Impl__Group__0\n {\n pushFollow(FollowSets000.FOLLOW_rule__UserExpressionDefinition_Impl__Group__0_in_ruleUserExpressionDefinition_Impl3104);\n rule__UserExpressionDefinition_Impl__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getUserExpressionDefinition_ImplAccess().getGroup()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "a757531695a48285d12c12c4d74b74b3", "score": "0.59026706", "text": "public final void rule__IntMinus__Group_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13822:1: ( rule__IntMinus__Group_1__0__Impl rule__IntMinus__Group_1__1 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13823:2: rule__IntMinus__Group_1__0__Impl rule__IntMinus__Group_1__1\n {\n pushFollow(FollowSets001.FOLLOW_rule__IntMinus__Group_1__0__Impl_in_rule__IntMinus__Group_1__028428);\n rule__IntMinus__Group_1__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets001.FOLLOW_rule__IntMinus__Group_1__1_in_rule__IntMinus__Group_1__028431);\n rule__IntMinus__Group_1__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "52e460824f44f90218db6767a6d83a0d", "score": "0.5901381", "text": "public final void rule__IntMinus__Group_1_1__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:14133:1: ( rule__IntMinus__Group_1_1__4__Impl )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:14134:2: rule__IntMinus__Group_1_1__4__Impl\n {\n pushFollow(FollowSets001.FOLLOW_rule__IntMinus__Group_1_1__4__Impl_in_rule__IntMinus__Group_1_1__429048);\n rule__IntMinus__Group_1_1__4__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "639abe75d1d490efdc88dba8cac10bac", "score": "0.5895922", "text": "public final void synpred34_InternalMoCDsl_fragment() throws RecognitionException { \n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:3898:1: ( ( ( rule__IntPlus__Group_0__0 ) ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:3898:1: ( ( rule__IntPlus__Group_0__0 ) )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:3898:1: ( ( rule__IntPlus__Group_0__0 ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:3899:1: ( rule__IntPlus__Group_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getIntPlusAccess().getGroup_0()); \n }\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:3900:1: ( rule__IntPlus__Group_0__0 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:3900:2: rule__IntPlus__Group_0__0\n {\n pushFollow(FollowSets003.FOLLOW_rule__IntPlus__Group_0__0_in_synpred34_InternalMoCDsl8392);\n rule__IntPlus__Group_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n\n }\n\n\n }\n }", "title": "" }, { "docid": "1287d6cdb4586b24f62f4d671aba0acc", "score": "0.58718127", "text": "public final void rule__Exclusion__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:32575:1: ( rule__Exclusion__Group__1__Impl rule__Exclusion__Group__2 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:32576:2: rule__Exclusion__Group__1__Impl rule__Exclusion__Group__2\n {\n pushFollow(FollowSets002.FOLLOW_rule__Exclusion__Group__1__Impl_in_rule__Exclusion__Group__165246);\n rule__Exclusion__Group__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets002.FOLLOW_rule__Exclusion__Group__2_in_rule__Exclusion__Group__165249);\n rule__Exclusion__Group__2();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "7f330afbddd50746b0f066b1d5270f1c", "score": "0.5870625", "text": "public final void rule__UnaryIntMinus__Group_1_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12740:1: ( rule__UnaryIntMinus__Group_1_1__0__Impl rule__UnaryIntMinus__Group_1_1__1 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12741:2: rule__UnaryIntMinus__Group_1_1__0__Impl rule__UnaryIntMinus__Group_1_1__1\n {\n pushFollow(FollowSets001.FOLLOW_rule__UnaryIntMinus__Group_1_1__0__Impl_in_rule__UnaryIntMinus__Group_1_1__026304);\n rule__UnaryIntMinus__Group_1_1__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets001.FOLLOW_rule__UnaryIntMinus__Group_1_1__1_in_rule__UnaryIntMinus__Group_1_1__026307);\n rule__UnaryIntMinus__Group_1_1__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "f10bfa046012888c1f0077a6ddbb430c", "score": "0.5855521", "text": "public final void rule__NonStrictSampling__Group_2__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:37056:1: ( rule__NonStrictSampling__Group_2__1__Impl )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:37057:2: rule__NonStrictSampling__Group_2__1__Impl\n {\n pushFollow(FollowSets003.FOLLOW_rule__NonStrictSampling__Group_2__1__Impl_in_rule__NonStrictSampling__Group_2__174033);\n rule__NonStrictSampling__Group_2__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "f6987dc6820c999c072746a8e16d1b72", "score": "0.5854973", "text": "public final void rule__IntSup__Group_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:17520:1: ( ( '(' ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:17521:1: ( '(' )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:17521:1: ( '(' )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:17522:1: '('\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getIntSupAccess().getLeftParenthesisKeyword_0_0()); \n }\n match(input,41,FollowSets001.FOLLOW_41_in_rule__IntSup__Group_0__0__Impl35700); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getIntSupAccess().getLeftParenthesisKeyword_0_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "ce6ac1e8604309c0fd237b9327e158f5", "score": "0.5842748", "text": "public final void rule__NegateFilter__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalVideoGen.g:2210:1: ( rule__NegateFilter__Group__0__Impl rule__NegateFilter__Group__1 )\n // InternalVideoGen.g:2211:2: rule__NegateFilter__Group__0__Impl rule__NegateFilter__Group__1\n {\n pushFollow(FOLLOW_22);\n rule__NegateFilter__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__NegateFilter__Group__1();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "50916c6b53060c8dd9133f450e09709c", "score": "0.58331734", "text": "public final void rule__IntMinus__Group_1_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:14044:1: ( rule__IntMinus__Group_1_1__1__Impl rule__IntMinus__Group_1_1__2 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:14045:2: rule__IntMinus__Group_1_1__1__Impl rule__IntMinus__Group_1_1__2\n {\n pushFollow(FollowSets001.FOLLOW_rule__IntMinus__Group_1_1__1__Impl_in_rule__IntMinus__Group_1_1__128866);\n rule__IntMinus__Group_1_1__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets001.FOLLOW_rule__IntMinus__Group_1_1__2_in_rule__IntMinus__Group_1_1__128869);\n rule__IntMinus__Group_1_1__2();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "9db4e58c9a434fc70013d2cb426f3a4c", "score": "0.5831006", "text": "public final void rule__NonStrictPrecedence__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:33215:1: ( rule__NonStrictPrecedence__Group__1__Impl rule__NonStrictPrecedence__Group__2 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:33216:2: rule__NonStrictPrecedence__Group__1__Impl rule__NonStrictPrecedence__Group__2\n {\n pushFollow(FollowSets002.FOLLOW_rule__NonStrictPrecedence__Group__1__Impl_in_rule__NonStrictPrecedence__Group__166500);\n rule__NonStrictPrecedence__Group__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets002.FOLLOW_rule__NonStrictPrecedence__Group__2_in_rule__NonStrictPrecedence__Group__166503);\n rule__NonStrictPrecedence__Group__2();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "9e8c1220caac34ef8605af737f918613", "score": "0.5828244", "text": "public final void rule__NonStrictSampling__Group_2__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:37025:1: ( rule__NonStrictSampling__Group_2__0__Impl rule__NonStrictSampling__Group_2__1 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:37026:2: rule__NonStrictSampling__Group_2__0__Impl rule__NonStrictSampling__Group_2__1\n {\n pushFollow(FollowSets003.FOLLOW_rule__NonStrictSampling__Group_2__0__Impl_in_rule__NonStrictSampling__Group_2__073971);\n rule__NonStrictSampling__Group_2__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets003.FOLLOW_rule__NonStrictSampling__Group_2__1_in_rule__NonStrictSampling__Group_2__073974);\n rule__NonStrictSampling__Group_2__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "933e0da24418c5dfecba7fa3c55f7f96", "score": "0.5827093", "text": "public final void rule__UnaryIntMinus__Group_1__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12526:1: ( ( ( rule__UnaryIntMinus__Group_1_1__0 )? ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12527:1: ( ( rule__UnaryIntMinus__Group_1_1__0 )? )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12527:1: ( ( rule__UnaryIntMinus__Group_1_1__0 )? )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12528:1: ( rule__UnaryIntMinus__Group_1_1__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getUnaryIntMinusAccess().getGroup_1_1()); \n }\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12529:1: ( rule__UnaryIntMinus__Group_1_1__0 )?\n int alt83=2;\n int LA83_0 = input.LA(1);\n\n if ( (LA83_0==50) ) {\n alt83=1;\n }\n switch (alt83) {\n case 1 :\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12529:2: rule__UnaryIntMinus__Group_1_1__0\n {\n pushFollow(FollowSets001.FOLLOW_rule__UnaryIntMinus__Group_1_1__0_in_rule__UnaryIntMinus__Group_1__1__Impl25892);\n rule__UnaryIntMinus__Group_1_1__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n break;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getUnaryIntMinusAccess().getGroup_1_1()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "7c2da628662b42945f8527ac8648a56b", "score": "0.5818779", "text": "public final void rule__Boolean__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:30219:1: ( rule__Boolean__Group__0__Impl rule__Boolean__Group__1 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:30220:2: rule__Boolean__Group__0__Impl rule__Boolean__Group__1\n {\n pushFollow(FollowSets002.FOLLOW_rule__Boolean__Group__0__Impl_in_rule__Boolean__Group__060628);\n rule__Boolean__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets002.FOLLOW_rule__Boolean__Group__1_in_rule__Boolean__Group__060631);\n rule__Boolean__Group__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "e48d249a84e823ba8e38318c5c171430", "score": "0.5817784", "text": "public final void rule__Sup__Group__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:36010:1: ( ( ( rule__Sup__Group_2__0 )? ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:36011:1: ( ( rule__Sup__Group_2__0 )? )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:36011:1: ( ( rule__Sup__Group_2__0 )? )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:36012:1: ( rule__Sup__Group_2__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getSupAccess().getGroup_2()); \n }\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:36013:1: ( rule__Sup__Group_2__0 )?\n int alt176=2;\n int LA176_0 = input.LA(1);\n\n if ( (LA176_0==112) ) {\n alt176=1;\n }\n switch (alt176) {\n case 1 :\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:36013:2: rule__Sup__Group_2__0\n {\n pushFollow(FollowSets003.FOLLOW_rule__Sup__Group_2__0_in_rule__Sup__Group__2__Impl71989);\n rule__Sup__Group_2__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n break;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getSupAccess().getGroup_2()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "c4e15e2d323df31c3bcdd163a17047c5", "score": "0.5814252", "text": "public final void rule__UnaryIntMinus__Group_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12483:1: ( rule__UnaryIntMinus__Group_1__0__Impl rule__UnaryIntMinus__Group_1__1 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12484:2: rule__UnaryIntMinus__Group_1__0__Impl rule__UnaryIntMinus__Group_1__1\n {\n pushFollow(FollowSets001.FOLLOW_rule__UnaryIntMinus__Group_1__0__Impl_in_rule__UnaryIntMinus__Group_1__025800);\n rule__UnaryIntMinus__Group_1__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets001.FOLLOW_rule__UnaryIntMinus__Group_1__1_in_rule__UnaryIntMinus__Group_1__025803);\n rule__UnaryIntMinus__Group_1__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "d80e5159fe3c5c0ceb2fe0d17df425b4", "score": "0.5811663", "text": "public final void rule__IntMinus__Group_0__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13624:1: ( rule__IntMinus__Group_0__3__Impl rule__IntMinus__Group_0__4 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13625:2: rule__IntMinus__Group_0__3__Impl rule__IntMinus__Group_0__4\n {\n pushFollow(FollowSets001.FOLLOW_rule__IntMinus__Group_0__3__Impl_in_rule__IntMinus__Group_0__328048);\n rule__IntMinus__Group_0__3__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets001.FOLLOW_rule__IntMinus__Group_0__4_in_rule__IntMinus__Group_0__328051);\n rule__IntMinus__Group_0__4();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "125c243a58d48950c12c505bc5607f43", "score": "0.5804363", "text": "public final void rule__IntMinus__Group_0__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13595:1: ( rule__IntMinus__Group_0__2__Impl rule__IntMinus__Group_0__3 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:13596:2: rule__IntMinus__Group_0__2__Impl rule__IntMinus__Group_0__3\n {\n pushFollow(FollowSets001.FOLLOW_rule__IntMinus__Group_0__2__Impl_in_rule__IntMinus__Group_0__227988);\n rule__IntMinus__Group_0__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets001.FOLLOW_rule__IntMinus__Group_0__3_in_rule__IntMinus__Group_0__227991);\n rule__IntMinus__Group_0__3();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "843f2e2eb5435a6ead3fbb286275dfd4", "score": "0.58025444", "text": "public final void rule__UnaryIntMinus__Group_1_1__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12811:1: ( ( ( rule__UnaryIntMinus__Group_1_1_2__0 )? ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12812:1: ( ( rule__UnaryIntMinus__Group_1_1_2__0 )? )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12812:1: ( ( rule__UnaryIntMinus__Group_1_1_2__0 )? )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12813:1: ( rule__UnaryIntMinus__Group_1_1_2__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getUnaryIntMinusAccess().getGroup_1_1_2()); \n }\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12814:1: ( rule__UnaryIntMinus__Group_1_1_2__0 )?\n int alt84=2;\n int LA84_0 = input.LA(1);\n\n if ( (LA84_0==40) ) {\n alt84=1;\n }\n switch (alt84) {\n case 1 :\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12814:2: rule__UnaryIntMinus__Group_1_1_2__0\n {\n pushFollow(FollowSets001.FOLLOW_rule__UnaryIntMinus__Group_1_1_2__0_in_rule__UnaryIntMinus__Group_1_1__2__Impl26453);\n rule__UnaryIntMinus__Group_1_1_2__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n break;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getUnaryIntMinusAccess().getGroup_1_1_2()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "f18806cf749eb23c3249c1a3f2044969", "score": "0.580189", "text": "public final void rule__IntSup__Group_0_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:17699:1: ( rule__IntSup__Group_0_1__0__Impl rule__IntSup__Group_0_1__1 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:17700:2: rule__IntSup__Group_0_1__0__Impl rule__IntSup__Group_0_1__1\n {\n pushFollow(FollowSets001.FOLLOW_rule__IntSup__Group_0_1__0__Impl_in_rule__IntSup__Group_0_1__036045);\n rule__IntSup__Group_0_1__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets001.FOLLOW_rule__IntSup__Group_0_1__1_in_rule__IntSup__Group_0_1__036048);\n rule__IntSup__Group_0_1__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "ac51025b900e77d9d561500911d1d31a", "score": "0.5799594", "text": "public final void rule__UserExpressionDefinition_Impl__Group_6__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:22115:1: ( rule__UserExpressionDefinition_Impl__Group_6__0__Impl rule__UserExpressionDefinition_Impl__Group_6__1 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:22116:2: rule__UserExpressionDefinition_Impl__Group_6__0__Impl rule__UserExpressionDefinition_Impl__Group_6__1\n {\n pushFollow(FollowSets002.FOLLOW_rule__UserExpressionDefinition_Impl__Group_6__0__Impl_in_rule__UserExpressionDefinition_Impl__Group_6__044712);\n rule__UserExpressionDefinition_Impl__Group_6__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets002.FOLLOW_rule__UserExpressionDefinition_Impl__Group_6__1_in_rule__UserExpressionDefinition_Impl__Group_6__044715);\n rule__UserExpressionDefinition_Impl__Group_6__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "9b3ec15f5a5a3104d1aaf3034d60611c", "score": "0.5798345", "text": "public final void rule__UnaryIntMinus__Group_1__7() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12694:1: ( rule__UnaryIntMinus__Group_1__7__Impl )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12695:2: rule__UnaryIntMinus__Group_1__7__Impl\n {\n pushFollow(FollowSets001.FOLLOW_rule__UnaryIntMinus__Group_1__7__Impl_in_rule__UnaryIntMinus__Group_1__726229);\n rule__UnaryIntMinus__Group_1__7__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "12e691448d3f9e57f314c63e2a7136a3", "score": "0.5794822", "text": "public final void rule__UnaryIntMinus__Group_0__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12350:1: ( rule__UnaryIntMinus__Group_0__3__Impl rule__UnaryIntMinus__Group_0__4 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:12351:2: rule__UnaryIntMinus__Group_0__3__Impl rule__UnaryIntMinus__Group_0__4\n {\n pushFollow(FollowSets001.FOLLOW_rule__UnaryIntMinus__Group_0__3__Impl_in_rule__UnaryIntMinus__Group_0__325545);\n rule__UnaryIntMinus__Group_0__3__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets001.FOLLOW_rule__UnaryIntMinus__Group_0__4_in_rule__UnaryIntMinus__Group_0__325548);\n rule__UnaryIntMinus__Group_0__4();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "1347452f6035c7342295c86c0c8c855b", "score": "0.5789754", "text": "public final void ruleGuard() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:412:2: ( ( ( rule__Guard__Group__0 ) ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:413:1: ( ( rule__Guard__Group__0 ) )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:413:1: ( ( rule__Guard__Group__0 ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:414:1: ( rule__Guard__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getGuardAccess().getGroup()); \n }\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:415:1: ( rule__Guard__Group__0 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:415:2: rule__Guard__Group__0\n {\n pushFollow(FollowSets000.FOLLOW_rule__Guard__Group__0_in_ruleGuard822);\n rule__Guard__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getGuardAccess().getGroup()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "caef70aec33c3cdd1d203424f7a2c2ef", "score": "0.578851", "text": "public final void rule__Death__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:37856:1: ( rule__Death__Group__0__Impl rule__Death__Group__1 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:37857:2: rule__Death__Group__0__Impl rule__Death__Group__1\n {\n pushFollow(FollowSets003.FOLLOW_rule__Death__Group__0__Impl_in_rule__Death__Group__075600);\n rule__Death__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets003.FOLLOW_rule__Death__Group__1_in_rule__Death__Group__075603);\n rule__Death__Group__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "8778898fd946a2cc7ec6b26979e29b69", "score": "0.5784412", "text": "public final void rule__Assert__Group__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../expr.ui/src-gen/expr/ui/contentassist/antlr/internal/InternalExprDemo.g:1954:1: ( rule__Assert__Group__0__Impl rule__Assert__Group__1 )\r\n // ../expr.ui/src-gen/expr/ui/contentassist/antlr/internal/InternalExprDemo.g:1955:2: rule__Assert__Group__0__Impl rule__Assert__Group__1\r\n {\r\n pushFollow(FOLLOW_rule__Assert__Group__0__Impl_in_rule__Assert__Group__03982);\r\n rule__Assert__Group__0__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FOLLOW_rule__Assert__Group__1_in_rule__Assert__Group__03985);\r\n rule__Assert__Group__1();\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "bf42f450ed18a82e2f443de03989dfd6", "score": "0.5780522", "text": "public final void rule__IntSup__Group_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:17508:1: ( rule__IntSup__Group_0__0__Impl rule__IntSup__Group_0__1 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:17509:2: rule__IntSup__Group_0__0__Impl rule__IntSup__Group_0__1\n {\n pushFollow(FollowSets001.FOLLOW_rule__IntSup__Group_0__0__Impl_in_rule__IntSup__Group_0__035669);\n rule__IntSup__Group_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets001.FOLLOW_rule__IntSup__Group_0__1_in_rule__IntSup__Group_0__035672);\n rule__IntSup__Group_0__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "a886fb6bf1927693a0491e46e7ffe552", "score": "0.5775966", "text": "public final void rule__NegateFilter__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalVideoGen.g:2222:1: ( ( () ) )\n // InternalVideoGen.g:2223:1: ( () )\n {\n // InternalVideoGen.g:2223:1: ( () )\n // InternalVideoGen.g:2224:2: ()\n {\n before(grammarAccess.getNegateFilterAccess().getNegateFilterAction_0()); \n // InternalVideoGen.g:2225:2: ()\n // InternalVideoGen.g:2225:3: \n {\n }\n\n after(grammarAccess.getNegateFilterAccess().getNegateFilterAction_0()); \n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" } ]
25a5f60af9d951bbf899322e96fe686f
This method is used to compare an Hash with the one stored inside the User object
[ { "docid": "4194a7b5ef31d886b768736a67d2da37", "score": "0.0", "text": "public boolean checkPasswordHash(String passwordHash)\n\t{\n\t\treturn password != null && password.equals(passwordHash);\n\t}", "title": "" } ]
[ { "docid": "10219b83e2d4cdb0ce836029cc7cc8cd", "score": "0.76311755", "text": "public int compareHash(_User user1, String hash) throws RemoteException;", "title": "" }, { "docid": "c56e7ccaffb68a04c91101fd081ded53", "score": "0.6846027", "text": "@Override\n public boolean equals(Object o) {\n if (this == o) {\n return true;\n }\n if (!(o instanceof UserHash)) {\n return false;\n }\n return id != null && id.equals(((UserHash) o).id);\n }", "title": "" }, { "docid": "e5251ee777a741907832c30cbfa335ab", "score": "0.64628226", "text": "@Override\n public boolean equals(Object obj) {\n if (!(obj instanceof User)) {\n return false;\n }\n User user = (User) obj;\n return this.userId == (user.userId) && this.username.equals(user.username);\n }", "title": "" }, { "docid": "4742984ab4c0eb24823a9a4d8b0c143b", "score": "0.618965", "text": "@Override\n\tpublic int hashCode() {\n\t\treturn Objects.hash(userName);\n\t}", "title": "" }, { "docid": "1d95f139e648e827fd5fc2571b1aca80", "score": "0.61215514", "text": "@Test\n\tpublic void testHashCode() {\n\t\tUser u = userDAO.findByLogin(\"phil\");\n\t\tassertEquals(user.hashCode(), u.hashCode());\n\t}", "title": "" }, { "docid": "4182b91b9a6cad37f468854977e5f0cd", "score": "0.6093716", "text": "private boolean hasUser(){\r\n for (User user : allUsers.values()){\r\n if (user.equals(this) && user.hashCode() == this.hashCode()){\r\n return true;\r\n }\r\n }\r\n return false;\r\n }", "title": "" }, { "docid": "f88fd8da94c80fef87e98b7a318d792a", "score": "0.60236037", "text": "@Override\n public boolean equals(Object o) {\n if (this == o) {\n return true;\n }\n if (o == null || getClass() != o.getClass()) {\n return false;\n }\n User user = (User) o;\n return userName.equals(user.userName);\n }", "title": "" }, { "docid": "8aa3b0b9250403ec7f83d07c29cd33ad", "score": "0.5979865", "text": "@Override\n\tpublic boolean equals(Object obj) {\n\t\tif(this == obj) return true;\n\t\tif(obj == null) return false;\n\t\tif(getClass() != obj.getClass()) return false;\n\t\t\n\t\tUserPassword other = (UserPassword) obj;\n\t\t\n\t\tif(this.compareTo(other) != 0) return false;\n\t\t\n\t\treturn true;\n\t}", "title": "" }, { "docid": "b70d37972c6b05112d6095959485cd0d", "score": "0.5925591", "text": "@Override\n public boolean equals(Object o) {\n if (this == o) return true;\n if (o == null || getClass() != o.getClass()) return false;\n User user = (User) o;\n return Objects.equals(username, user.username);\n }", "title": "" }, { "docid": "da0078c03bbd09a72e77d3ea5ebd81ee", "score": "0.591898", "text": "@Override\n public boolean equals(Object obj) {\n if (obj.getClass() != this.getClass()) {\n return false;\n }\n Member other = (Member) obj;\n return other.getUsername().equals(username);\n }", "title": "" }, { "docid": "7a0a69e3141261ae86f9f1607ed4a2a5", "score": "0.59158075", "text": "@Override\n public boolean equals(Object that) {\n if (this == that) {\n return true;\n }\n if (that == null) {\n return false;\n }\n if (getClass() != that.getClass()) {\n return false;\n }\n User other = (User) that;\n return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))\n && (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))\n && (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))\n && (this.getCardId() == null ? other.getCardId() == null : this.getCardId().equals(other.getCardId()))\n && (this.getGender() == null ? other.getGender() == null : this.getGender().equals(other.getGender()))\n && (this.getEducation() == null ? other.getEducation() == null : this.getEducation().equals(other.getEducation()))\n && (this.getAddress() == null ? other.getAddress() == null : this.getAddress().equals(other.getAddress()))\n && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()));\n }", "title": "" }, { "docid": "c6c1c96e8c96db58b3b71a96c1d8e874", "score": "0.58844894", "text": "@Override\n\tpublic boolean equals(Object object){\n\t\tif(this.userName.equals(((UserPO)object).getUserName())&&\n\t\t\t\tthis.password.equals(((UserPO)object).getPassword())\n\t\t\t\t){\n\t\t\treturn true;\n\t\t}\n\t\telse{\n\t\t\treturn false;\n\t\t}\n\t\t\t\n\t}", "title": "" }, { "docid": "90448ff22074a818299e003e50dfa348", "score": "0.5865158", "text": "@Override\r\n public boolean equals(Object o) {\r\n if (this == o) return true;\r\n if (o == null || getClass() != o.getClass()) return false;\r\n User user = (User) o;\r\n return age == user.age &&\r\n Objects.equals(name, user.name) &&\r\n gender == user.gender;\r\n}", "title": "" }, { "docid": "d769308bb7f97fb85057a27820bb8ba2", "score": "0.5864866", "text": "@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof UserMockStock)) {\r\n return false;\r\n }\r\n UserMockStock other = (UserMockStock) object;\r\n// if ((this.userId == null && other.userId != null) || (this.userId != null && !this.userId.equals(other.userId))) {\r\n// return false;\r\n// }\r\n return true;\r\n }", "title": "" }, { "docid": "35fc5952f3338f96fae3d0cccb076d89", "score": "0.5845299", "text": "@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof UserInfo)) {\r\n return false;\r\n }\r\n UserInfo other = (UserInfo) object;\r\n if ((this.userId == null && other.userId != null)\r\n || (this.userId != null && !this.userId.equals(other.userId))) {\r\n return false;\r\n }\r\n return true;\r\n }", "title": "" }, { "docid": "43d255b40fcc862eda1ce34f702a1c88", "score": "0.5835596", "text": "@Override\n public boolean equals(Object obj) {\n\n if (obj == null || !(obj instanceof GoogleInfoKey)) {\n return false;\n }\n\n GoogleInfoKey other = (GoogleInfoKey) obj;\n return other.user.equals(this.user);\n }", "title": "" }, { "docid": "edf50e8e757e18e55feb71ee3d18421e", "score": "0.58163077", "text": "public int compareUser(_User user) throws RemoteException;", "title": "" }, { "docid": "1aaf196231857b4c456bd73ce265ace1", "score": "0.58063513", "text": "boolean hasHash();", "title": "" }, { "docid": "0b9f6c14395d1797b60225333bc8da7b", "score": "0.57969093", "text": "@Override\n public boolean areContentsTheSame(\n @NonNull Repository oldUser, @NonNull Repository newUser) {\n return oldUser.equals(newUser);\n }", "title": "" }, { "docid": "8e0e4e6be5a47d1f9fef401c63903079", "score": "0.5780144", "text": "@Override\r\n public boolean equals(Object that) {\r\n if (this == that) {\r\n return true;\r\n }\r\n if (!(that instanceof SysUser)) {\r\n return false;\r\n }\r\n SysUser other = (SysUser) that;\r\n return this.getUserId() == null ? other == null : this.getUserId().equals(other.getUserId())\r\n && this.getDeptId() == null ? other == null : this.getDeptId().equals(other.getDeptId())\r\n && this.getUserName() == null ? other == null : this.getUserName().equals(\r\n other.getUserName())\r\n && this.getUserPwd() == null ? other == null : this.getUserPwd().equals(other.getUserPwd())\r\n && this.getUserReal() == null ? other == null : this.getUserReal().equals(\r\n other.getUserReal())\r\n && this.getUserSex() == null ? other == null : this.getUserSex().equals(other.getUserSex())\r\n && this.getUserBirthday() == null ? other == null : this.getUserBirthday().equals(\r\n other.getUserBirthday())\r\n && this.getUserCardno() == null ? other == null : this.getUserCardno().equals(\r\n other.getUserCardno())\r\n && this.getUserPhone() == null ? other == null : this.getUserPhone().equals(\r\n other.getUserPhone())\r\n && this.getUserMphone() == null ? other == null : this.getUserMphone().equals(\r\n other.getUserMphone())\r\n && this.getUserIp() == null ? other == null : this.getUserIp().equals(other.getUserIp())\r\n && this.getUserLasttime() == null ? other == null : this.getUserLasttime().equals(\r\n other.getUserLasttime())\r\n && this.getUserSt() == null ? other == null : this.getUserSt().equals(other.getUserSt())\r\n && this.getUserRemark() == null ? other == null : this.getUserRemark().equals(\r\n other.getUserRemark())\r\n && this.getIsEnable() == null ? other == null : this.getIsEnable().equals(\r\n other.getIsEnable())\r\n && this.getCreateDate() == null ? other == null : this.getCreateDate().equals(\r\n other.getCreateDate())\r\n && this.getCreateUser() == null ? other == null : this.getCreateUser().equals(\r\n other.getCreateUser())\r\n && this.getUpdateDate() == null ? other == null : this.getUpdateDate().equals(\r\n other.getUpdateDate())\r\n && this.getUpdateUser() == null ? other == null : this.getUpdateUser().equals(\r\n other.getUpdateUser())\r\n && this.getUserAlias() == null ? other == null : this.getUserAlias().equals(\r\n other.getUserAlias());\r\n }", "title": "" }, { "docid": "bcec7804b793f86d02f61b20f400e50b", "score": "0.57598966", "text": "@Override\r\n public boolean equals(Object other) {\r\n if (!(other instanceof Usuario)) return false;\r\n return this.equalKeys(other) && ((Usuario)other).equalKeys(this);\r\n }", "title": "" }, { "docid": "34e6ceab2e139dfbd6e60f6af94c4cc5", "score": "0.5744554", "text": "@Override\n\tpublic boolean equals(Object obj) {\n\t\tif (this == obj)\n\t\t\treturn true;\n\t\tif (obj == null)\n\t\t\treturn false;\n\t\tif (getClass() != obj.getClass())\n\t\t\treturn false;\n\t\tUser other = (User) obj;\n\t\tif (username == null) {\n\t\t\tif (other.username != null)\n\t\t\t\treturn false;\n\t\t} else if (!username.equals(other.username))\n\t\t\treturn false;\n\t\treturn true;\n\t}", "title": "" }, { "docid": "a845bfa065df1604d2b6f2374be866e3", "score": "0.5727183", "text": "java.lang.String getHash();", "title": "" }, { "docid": "53c9e2253ec482ba6bc6095b9080411f", "score": "0.5713682", "text": "private boolean checkHashedPassword(String password, byte[] salt, byte[] hash) {\n byte[] hashed = this.hasher.createPasswordHash(password, salt);\n return Arrays.equals(hashed, hash);\n }", "title": "" }, { "docid": "e0b1c9376000065fccdeec6b05f03641", "score": "0.57064325", "text": "@Override\n public boolean equals(Object object) {\n if (!(object instanceof User)) {\n return false;\n }\n User other = (User) object;\n if ((this.iduser == null && other.iduser != null) || (this.iduser != null && !this.iduser.equals(other.iduser))) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "e0b1c9376000065fccdeec6b05f03641", "score": "0.57064325", "text": "@Override\n public boolean equals(Object object) {\n if (!(object instanceof User)) {\n return false;\n }\n User other = (User) object;\n if ((this.iduser == null && other.iduser != null) || (this.iduser != null && !this.iduser.equals(other.iduser))) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "b4a81142eaf549fac1840a690e9fc439", "score": "0.57023793", "text": "@Override\n public boolean equals(Object object) {\n if (!(object instanceof User)) {\n return false;\n }\n User other = (User) object;\n if ((this.userId == null && other.userId != null) || (this.userId != null && !this.userId.equals(other.userId))) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "d0032d5ad4d28ee785f14753c00969c4", "score": "0.56970906", "text": "@Override\n public boolean equals ( Object object ) {\n if ( !( object instanceof User ) ) {\n return false;\n }\n User other = (User) object;\n if ( ( this.userId == null && other.userId != null ) || ( this.userId\n != null\n && !this.userId\n .equals (\n other.userId ) ) ) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "b462c091be62db68e131c58b52b6ae09", "score": "0.569692", "text": "@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof Previoususer)) {\r\n return false;\r\n }\r\n Previoususer other = (Previoususer) object;\r\n if ((this.previoususerid == null && other.previoususerid != null) || (this.previoususerid != null && !this.previoususerid.equals(other.previoususerid))) {\r\n return false;\r\n }\r\n return true;\r\n }", "title": "" }, { "docid": "68933c6b22037c3e83ecf1e0287ad342", "score": "0.5674433", "text": "abstract public boolean equals(LibUsersAbstract aUser);", "title": "" }, { "docid": "8f946c8b40d825d6f486e2620b9a7f63", "score": "0.56630445", "text": "@Override\n public boolean equals(Object o) {\n if (o instanceof Admin) {\n Admin p = (Admin)o;\n return (this.getUsername()==(p.getUsername()));\n }\n return false;\n }", "title": "" }, { "docid": "283b420cd1bd0216daef3c5b708e7e99", "score": "0.5635394", "text": "@Override\n public boolean equals(Object o) {\n\n if (o == this)\n return true;\n if (!(o instanceof User2)) {\n return false;\n }\n User2 user = (User2) o;\n\n return new EqualsBuilder().append(age, user.age).append(name, user.name).append(passport, user.passport).isEquals();\n }", "title": "" }, { "docid": "86fdfad35efbb36e899d56c0e98f78ec", "score": "0.56353176", "text": "@Override\n public int hashCode() {\n int hash = 0;\n hash += (userID != null ? userID.hashCode() : 0);\n return hash;\n }", "title": "" }, { "docid": "4ee29db9b2e8e4e549d32c187af808c7", "score": "0.563377", "text": "@Override\n public boolean equals(Object obj) {\n boolean result = false;\n if (obj == this) {\n result = true;\n } else if (obj != null && obj.getClass() == this.getClass()) {\n User another = (User) obj;\n result = this.getName().equals(another.getName())\n && this.getChildren() == another.getChildren()\n && this.getBirthday().equals(another.getBirthday());\n }\n return result;\n }", "title": "" }, { "docid": "bf5edd170af9d7d3043dce6b09a2d12a", "score": "0.5621726", "text": "@Override\n\tpublic boolean equals(Object o) {\n\t\treturn this == o || o != null && o instanceof UserReference && Objects.equals(login, ((UserReference) o).login);\n\t}", "title": "" }, { "docid": "35afe910cacbbb60e8bed75197694a6b", "score": "0.56115943", "text": "private boolean equalKeys(Object other) {\r\n if (this==other) {\r\n return true;\r\n }\r\n if (!(other instanceof Usuario)) {\r\n return false;\r\n }\r\n Usuario that = (Usuario) other;\r\n if (this.getId() != that.getId()) {\r\n return false;\r\n }\r\n return true;\r\n }", "title": "" }, { "docid": "c22db706b0136a48d3c48673e8bb8924", "score": "0.5586154", "text": "@Override\n public int hashCode() {\n final int prime = 31;\n int result = 1;\n result = prime * result + Objects.hash(firstname, lastname, roles, username);\n return result;\n }", "title": "" }, { "docid": "c8164ac82b02cb97eb37f6df5e4ee5e9", "score": "0.55828625", "text": "@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof User)) {\r\n return false;\r\n }\r\n User other = (User) 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 }", "title": "" }, { "docid": "046cfcfcbb2e171aac138cbe0742dd6c", "score": "0.5582341", "text": "public static boolean compare(String possiblePassword, String encodedHash) {\n\n if (encodedHash.contains(possiblePassword))\n return true;\n else {\n return false;\n }\n }", "title": "" }, { "docid": "a49f628b54b0259080e0e337d7b68f65", "score": "0.5582221", "text": "@Override\r\n public boolean equals(Object that) {\r\n if (this == that) {\r\n return true;\r\n }\r\n if (that == null) {\r\n return false;\r\n }\r\n if (getClass() != that.getClass()) {\r\n return false;\r\n }\r\n TbSysUser other = (TbSysUser) that;\r\n return (this.getSid() == null ? other.getSid() == null : this.getSid().equals(other.getSid()))\r\n && (this.getLoginCode() == null ? other.getLoginCode() == null : this.getLoginCode().equals(other.getLoginCode()))\r\n && (this.getPasswd() == null ? other.getPasswd() == null : this.getPasswd().equals(other.getPasswd()))\r\n && (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))\r\n && (this.getNikeName() == null ? other.getNikeName() == null : this.getNikeName().equals(other.getNikeName()))\r\n && (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))\r\n && (this.getMobile() == null ? other.getMobile() == null : this.getMobile().equals(other.getMobile()))\r\n && (this.getVxin() == null ? other.getVxin() == null : this.getVxin().equals(other.getVxin()))\r\n && (this.getQq() == null ? other.getQq() == null : this.getQq().equals(other.getQq()))\r\n && (this.getTelPhone() == null ? other.getTelPhone() == null : this.getTelPhone().equals(other.getTelPhone()))\r\n && (this.getStatusCode() == null ? other.getStatusCode() == null : this.getStatusCode().equals(other.getStatusCode()))\r\n && (this.getCreateDt() == null ? other.getCreateDt() == null : this.getCreateDt().equals(other.getCreateDt()))\r\n && (this.getCreateBy() == null ? other.getCreateBy() == null : this.getCreateBy().equals(other.getCreateBy()))\r\n && (this.getUpdateDt() == null ? other.getUpdateDt() == null : this.getUpdateDt().equals(other.getUpdateDt()))\r\n && (this.getUpdateBy() == null ? other.getUpdateBy() == null : this.getUpdateBy().equals(other.getUpdateBy()))\r\n && (this.getVersionn() == null ? other.getVersionn() == null : this.getVersionn().equals(other.getVersionn()))\r\n && (this.getOrgSid() == null ? other.getOrgSid() == null : this.getOrgSid().equals(other.getOrgSid()));\r\n }", "title": "" }, { "docid": "4b7df934ca3bd3f74570a928aa4b9515", "score": "0.5569111", "text": "public boolean verifyUsersFromMaharashtra() throws BiffException, IOException {\n\t\tFileInputStream fis = new FileInputStream(\"C:\\\\Users\\\\PC\\\\eclipse-workspace\\\\JBKOfflineWebsite\\\\data.xls\");\n\t\tWorkbook workbook = Workbook.getWorkbook(fis);\n\t\tSheet sheet = workbook.getSheet(\"user\");\n\n\t\tHashMap<String, String> actual = new HashMap<String, String>();\n\t\tHashMap<String, String> expected = new HashMap<String, String>();\n\n\t\tfor (int i = 0; i < state.size(); i++) {\n\t\t\tString value = state.get(i).getText();\n\t\t\tString key = username.get(i).getText();\n\n\t\t\tif (value.equals(\"Maharashtra\")) {\n\t\t\t\tactual.put(key, value);\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < sheet.getRows(); i++) {\n\t\t\tfor (int j = 0; j < sheet.getColumns(); j++) {\n\t\t\t\tif (sheet.getCell(j, i).getContents().contains(\"Maharashtra\")) {\n\t\t\t\t\tString value = sheet.getCell(j, i).getContents();\n\t\t\t\t\tString key = sheet.getCell(1, i).getContents();\n\t\t\t\t\texpected.put(key, value);\n\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (actual.equals(expected)) {\n\t\t\tSystem.out.println(actual);\n\t\t\tSystem.out.println(expected);\n\t\t\treturn true;\n\t\t} else {\n\t\t\tSystem.out.println(actual);\n\t\t\tSystem.out.println(expected);\n\t\t\treturn false;\n\t\t}\n\n\t}", "title": "" }, { "docid": "d179921c9b4a04e0e71b2541917f7bcd", "score": "0.55666685", "text": "public static boolean checkAuthentication(SQLiteDatabase db, String email,\n String hashPassword) {\n SQLiteDatabase mDatabase = db;\n\n String queryUser = \"SELECT pkUser, loginName, hashPassword, email \" +\n \"FROM User \" +\n// \"WHERE loginName LIKE '\" + loginName + \"' \" +\n \"WHERE email LIKE '\" + email + \"' \" +\n \"AND hashPassword LIKE '\" + hashPassword + \"'\";\n\n Cursor cursorUser = mDatabase.rawQuery(queryUser, null);\n\n if (cursorUser.getCount() == 0) { return false; }\n\n cursorUser.close();\n\n return true;\n }", "title": "" }, { "docid": "d684c9184f32a0e49b2896a10560caaa", "score": "0.5544587", "text": "Hash(){}", "title": "" }, { "docid": "e3c31b429da04e07fc1d108c77e221a9", "score": "0.5535823", "text": "@Override\n public boolean equals(Object object) {\n if (!(object instanceof User)) {\n return false;\n }\n User other = (User) object;\n if ((this.userPK == null && other.userPK != null) || (this.userPK != null && !this.userPK.equals(other.userPK))) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "52ec004408f0019a321bede2cd5f6b9f", "score": "0.5530114", "text": "public void setHash(String hash) {\n this.hash = hash;\n }", "title": "" }, { "docid": "8150b126c020dd50ed527ee8a6666da0", "score": "0.5529978", "text": "public void setHash(String hash) {\n this.hash = hash;\n }", "title": "" }, { "docid": "35b93428331641522296bc92532ecbd4", "score": "0.5528754", "text": "@Override\n public boolean equals(Object object) {\n if (!(object instanceof Users)) {\n return false;\n }\n Users other = (Users) object;\n if ((this.idUser == null && other.idUser != null) || (this.idUser != null && !this.idUser.equals(other.idUser))) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "c85beb3ca0e45f0085ab549e19e147ec", "score": "0.55236894", "text": "public boolean equals(Object o) {\n if (o instanceof User) {\n if(((User) o).getUsername().equals(this.getUsername())){\n return true;\n }\n }\n return false;\n }", "title": "" }, { "docid": "275b308237de0d86baf0d208f75b3ee6", "score": "0.55235755", "text": "@Override\n public boolean equals(Object object) {\n if (!(object instanceof TRoleUser)) {\n return false;\n }\n TRoleUser other = (TRoleUser) object;\n if ((this.lgUSERROLEID == null && other.lgUSERROLEID != null) || (this.lgUSERROLEID != null && !this.lgUSERROLEID.equals(other.lgUSERROLEID))) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "5ce26b90823fdd1d1112cc09b116be62", "score": "0.55189663", "text": "public boolean isHashCode(String hash){\n return hashCode.equals(hash);\n }", "title": "" }, { "docid": "96a04c5bb100f5e8610165efa90081a4", "score": "0.55021244", "text": "@Override\n public boolean equals(Object o) {\n if (this == o) {\n return true;\n }\n if (!(o instanceof User1)) {\n return false;\n }\n return id != null && id.equals(((User1) o).id);\n }", "title": "" }, { "docid": "9e79d11a08bcb410263e43010b66bc87", "score": "0.5496626", "text": "@Override\n public boolean equals(Object object) {\n // TODO: Warning - this method won't work in the case the id fields are not set\n if (!(object instanceof User)) {\n return false;\n }\n User other = (User) object;\n if ((this.userID == null && other.userID != null) || (this.userID != null && !this.userID.equals(other.userID))) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "0606258f6acf7c789452d9c8103c2885", "score": "0.54879713", "text": "@Override\n public boolean equals(Object object) {\n if (!(object instanceof User)) {\n return false;\n }\n User other = (User) object;\n if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "ccc1967f7f52a892d6af86a9db003231", "score": "0.548695", "text": "@Override\n public boolean equals(Object object) {\n if (!(object instanceof Users)) {\n return false;\n }\n Users other = (Users) object;\n if ((this.userId == null && other.userId != null) || (this.userId != null && !this.userId.equals(other.userId))) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "bf0145f15480c215c95bf46ef3f41167", "score": "0.5475327", "text": "String getHash();", "title": "" }, { "docid": "bf0145f15480c215c95bf46ef3f41167", "score": "0.5475327", "text": "String getHash();", "title": "" }, { "docid": "8ce7e87e3667c8f519ac17c41fda7d27", "score": "0.5468566", "text": "@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof UserHasRole)) {\r\n return false;\r\n }\r\n UserHasRole other = (UserHasRole) object;\r\n return !((this.userHasRolePK == null && other.userHasRolePK != null)\r\n || (this.userHasRolePK != null\r\n && !this.userHasRolePK.equals(other.userHasRolePK)));\r\n }", "title": "" }, { "docid": "a1a756422fd10815daa70067537f2448", "score": "0.5463551", "text": "@Override\n public boolean areItemsTheSame(\n @NonNull Repository oldUser, @NonNull Repository newUser) {\n return oldUser.getId() == newUser.getId();\n }", "title": "" }, { "docid": "4026e855e719d5281ba9de155841b733", "score": "0.5458676", "text": "public String getHash() {\n return hash;\n }", "title": "" }, { "docid": "4026e855e719d5281ba9de155841b733", "score": "0.5458676", "text": "public String getHash() {\n return hash;\n }", "title": "" }, { "docid": "d35bae992b811387795444d729f12e95", "score": "0.545774", "text": "@Override\n public boolean equals(Object object) {\n if (!(object instanceof User)) {\n return false;\n }\n User other = (User) object;\n if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "d35bae992b811387795444d729f12e95", "score": "0.545774", "text": "@Override\n public boolean equals(Object object) {\n if (!(object instanceof User)) {\n return false;\n }\n User other = (User) object;\n if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "d35bae992b811387795444d729f12e95", "score": "0.545774", "text": "@Override\n public boolean equals(Object object) {\n if (!(object instanceof User)) {\n return false;\n }\n User other = (User) object;\n if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "d35bae992b811387795444d729f12e95", "score": "0.545774", "text": "@Override\n public boolean equals(Object object) {\n if (!(object instanceof User)) {\n return false;\n }\n User other = (User) object;\n if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "d35bae992b811387795444d729f12e95", "score": "0.545774", "text": "@Override\n public boolean equals(Object object) {\n if (!(object instanceof User)) {\n return false;\n }\n User other = (User) object;\n if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "d35bae992b811387795444d729f12e95", "score": "0.545774", "text": "@Override\n public boolean equals(Object object) {\n if (!(object instanceof User)) {\n return false;\n }\n User other = (User) object;\n if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "08e0c8d5df69b7f34460551e24df1011", "score": "0.54474163", "text": "@Override\n\tpublic boolean equals(Object user) {\n\n\t\tif (user == null) {\n\t\t\treturn false;\n\t\t}\n\n\t\tif (!this.username.equals(((User) user).username))\n\t\t\treturn false;\n\t\tif (!this.password.equals(((User) user).password))\n\t\t\treturn false;\n\t\tif (!this.fullName.equals(((User) user).fullName))\n\t\t\treturn false;\n\t\tif (!this.email.equals(((User) user).email))\n\t\t\treturn false;\n\n\t\treturn true;\n\t}", "title": "" }, { "docid": "bf5e4871c170d01804c313453fd4d972", "score": "0.5435574", "text": "private boolean examinePassword(DatastoreUser user, AuthToken authToken) {\n String storedPassword = user.getAuthenticatable().getPassword();\n String givenPassword = authToken.password;\n if (encoder != null) {\n return encoder.matches(givenPassword, storedPassword);\n } else {\n return storedPassword != null && storedPassword.equals(givenPassword);\n }\n }", "title": "" }, { "docid": "f9bfee5e4cedfcaed197bef11ab81595", "score": "0.54333234", "text": "private boolean passMatch (String user, String pass){\n String passFile = users.get(user);\n return passFile.equals(pass);\n }", "title": "" }, { "docid": "dd76816f60b403d9c50b86c7ec72db38", "score": "0.54194134", "text": "public boolean equals(Object obj) {\n if (this == obj) {\n return true;\n }\n if (obj instanceof UserTermsOfUseHistoryItem) {\n UserTermsOfUseHistoryItem otherItem = (UserTermsOfUseHistoryItem)obj;\n\n if (!objectEquals(this.getDate(), otherItem.getDate())) {\n return false;\n }\n if (!objectEqualsFK(this.getTermsOfUseVersion(), otherItem.getTermsOfUseVersion())) {\n return false;\n }\n if (!objectEqualsFK(this.getUser(), otherItem.getUser())) {\n return false;\n }\n\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "b9ef74d4936e8b691ae541e8d402ad2f", "score": "0.5417677", "text": "public boolean exists(String hash){\r\n \t\tboolean exists = sql.isDnw(hash)||sql.isHashed(hash);\r\n \t\treturn exists;\r\n \t}", "title": "" }, { "docid": "f374189d8919bbcf0d208a6b1a728061", "score": "0.5414089", "text": "public PasswordHash() throws UserAlreadyExists {\n\t\tuserpassword = new HashMap<String, String>();\n\t}", "title": "" }, { "docid": "a3eb249eb4a0d96c426f4805fa96b096", "score": "0.54110867", "text": "@Override\n public int hashCode() { return mHash; }", "title": "" }, { "docid": "142014c7f22d0bd0253ae11420fb688f", "score": "0.54083663", "text": "private boolean comparedProperties() {\r\n boolean isEqual = false;\r\n if (user.getFirstName().equals(currentUser.getFirstName())\r\n & user.getLastName().equals(currentUser.getLastName())\r\n & user.getComment().equals(currentUser.getComment())) {\r\n isEqual = true;\r\n }\r\n return isEqual;\r\n }", "title": "" }, { "docid": "e6da3e63438daadb9fea1157de034e1e", "score": "0.5401264", "text": "private void updateHash(){\n SharedPreferences sharedPreferences = getSharedPreferences(\"SHARED_PREFS\", MODE_PRIVATE);\n SharedPreferences.Editor edit = sharedPreferences.edit();\n String hash = crypto.digestString(crypto.digestString(newPassBox.getText().toString()+\"Immasaltyboi\"));\n edit.putString(\"password\", hash);\n edit.apply();\n }", "title": "" }, { "docid": "4c66259efd4db3cc1a4ad1e7cad03e44", "score": "0.5393947", "text": "@Override\n public boolean equals(Object object) {\n\tif (!(object instanceof Users)) {\n\t return false;\n\t}\n\tUsers other = (Users) object;\n\tif ((this.mailLogin == null && other.mailLogin != null) || (this.mailLogin != null && !this.mailLogin.equals(other.mailLogin))) {\n\t return false;\n\t}\n\treturn true;\n }", "title": "" }, { "docid": "e60f1136bc1ea5828ed2a849aa05d0bf", "score": "0.53912896", "text": "public boolean similar(Object other) {\n\t\tif (other instanceof User) {\n\t\t\tUser otherRes = (User) other;\n\t\t\treturn (this.user_id.equals(otherRes.user_id));\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "57cd29aacc50dd837bcc47fc0756e2cb", "score": "0.5377495", "text": "@Override\n public boolean equals(Object o) {\n if (this == o) {\n return true;\n }\n if (!(o instanceof DiscordUser)) {\n return false;\n }\n return id != null && id.equals(((DiscordUser) o).id);\n }", "title": "" }, { "docid": "f3849dd8d80ec08258b7612b4b90903a", "score": "0.53601235", "text": "public boolean validatePassword(String hash) {\n\t\treturn hash.equals(raw.getString(\"password\"));\n\t}", "title": "" }, { "docid": "bbcb2fe2abfa24657c3f7968a77fb631", "score": "0.53593224", "text": "public String getHash() {\n return hash;\n }", "title": "" }, { "docid": "bbcb2fe2abfa24657c3f7968a77fb631", "score": "0.53593224", "text": "public String getHash() {\n return hash;\n }", "title": "" }, { "docid": "0cfcfcd2288ba0505ce9cb667113befc", "score": "0.534984", "text": "@Nullable User authenticateUser(String username, String passwordHash) throws UserNotFoundException, UserAlreadyLoggedException, WrongPasswordException;", "title": "" }, { "docid": "dff01661a41c1fb068d48d3a1526168f", "score": "0.5346224", "text": "@Override\n public boolean equals(Object object) {\n if (!(object instanceof UserList)) {\n return false;\n }\n UserList other = (UserList) object;\n if ((this.username == null && other.username != null) || (this.username != null && !this.username.equals(other.username))) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "8ce09c185c73069f7059628ec9118ca1", "score": "0.53437304", "text": "@Override\n public boolean equals(Object o) {\n if (this == o) {\n return true;\n }\n if (!(o instanceof ExtendedUser)) {\n return false;\n }\n return id != null && id.equals(((ExtendedUser) o).id);\n }", "title": "" }, { "docid": "4c541b3e16ce3326f34263888a1165c6", "score": "0.53415084", "text": "@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof UserMasivian)) {\r\n return false;\r\n }\r\n UserMasivian other = (UserMasivian) 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 }", "title": "" }, { "docid": "569c43d1140c1c7a89b6a0a89cc496aa", "score": "0.5340831", "text": "String createValidityHash(long userId){\n\t\tString data = authenticationDAO.getPasswordHash(userId);\n\t\treturn DigestUtils.sha256Hex(data != null ? data : \"\");\n\t}", "title": "" }, { "docid": "8bd1b1007208a47a9029893f5364e505", "score": "0.5338128", "text": "public boolean isUniqueUser(String loigin);", "title": "" }, { "docid": "aca1f45be634d6d11e99dd5ab73b442b", "score": "0.5336908", "text": "public boolean equals(Object object) {\r\n \t\tIUser user = (IUser) object;\r\n \r\n \t\tif (this.name.equals(user.getName()) &&\r\n \t\t\t\t\r\n \t\tthis.userID.equals(user.getUserID())) {\r\n \t\t\treturn true;\r\n \t\t}\r\n \t\treturn false;\r\n \t}", "title": "" }, { "docid": "13b373e96ae4dd1e911a504080ab0240", "score": "0.53343505", "text": "public void calcSHAHash(String password)\n {\n\n CharSequence contraGuardada = \"normal\";\n\n String pswEnResFolder = \"\";\n pswEnResFolder = contraGuardada.toString();\n Context context = getApplicationContext();\n TaskDataBaseHelper mDbHelper = new TaskDataBaseHelper(context);\n SQLiteDatabase db = mDbHelper.getReadableDatabase();\n System.out.println(\" CHECK: \" + username);\n\n String selectQuery = \"SELECT * FROM \" + TaskDataBase.UserEntry.TABLE_NAME +\n \" WHERE \" + TaskDataBase.UserEntry.COLUMN_NAME_USERNAME + \" = '\" + username + \"'\";\n Cursor cursor = db.rawQuery(selectQuery, null);\n String storedPasswd = \"\";\n\n if (cursor.moveToFirst()) {\n do {\n storedPasswd = cursor.getString(3);\n } while (cursor.moveToNext());\n }\n\n cursor.close();\n //fetch this hash from database\n //pswEnResFolder = \"317b32c143692b9939c197f6a5df54f9698df9a4882fe8bf19608968662be4fa\";\n pswEnResFolder = storedPasswd;\n System.out.println(\" vamos a ver que pasa aqui: \" + pswEnResFolder);\n MessageDigest mdSha1 = null;\n try\n {\n mdSha1 = MessageDigest.getInstance(\"SHA-256\");\n mdSha1.update(password.toString().getBytes()); // obtenemos la secuencias de bytes\n } catch (NoSuchAlgorithmException e1) {\n Log.e(\"miApp\", \"Error initializing SHA1 message digest\");\n }\n byte[] data = mdSha1.digest(); // pasamos los digitos a un arreglo de bytes\n try {\n SHAHash = convertToHex(data);\n System.out.println(\" vamos a ver que pasa y aqui tambien: \" + SHAHash);\n if(SHAHash.equals(pswEnResFolder))\n {\n mEmailView.setText(\"\");\n mPasswordView.setText(\"\");\n Toast.makeText(getApplicationContext(), \"Correct credentials...\", Toast.LENGTH_LONG).show();\n Intent i=new Intent(\n LoginActivity_old.this,\n Home.class);\n startActivity(i);\n }\n else\n Toast.makeText(getApplicationContext(), \"Incorrect credentials...\", Toast.LENGTH_LONG).show();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "37ff7caf4a0661ee6c6f3291d676c30d", "score": "0.5319018", "text": "public int checkUser(String username, String passwordHash) throws InvaildUserNamePassword {\r\n\t\tint id = FAILED;\r\n\r\n\t\ttry {\r\n\t\t\tpasswordHash = AeSimpleSHA1.SHA1(username+passwordHash);\r\n\t\t} catch (NoSuchAlgorithmException e1) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te1.printStackTrace();\r\n\t\t} catch (UnsupportedEncodingException e1) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te1.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t\tStatement statement = db.getStatement();\r\n\t\tString sql = \"SELECT idUser from User \" + \"Where userName='\" + username\r\n\t\t\t\t+ \"' \" + \"AND userPasswordHash='\" + passwordHash + \"';\";\r\n\t\ttry {\r\n\t\t\tstatement = db.getStatement();\r\n\t\t\tResultSet rs = statement.executeQuery(sql);\r\n\t\t\tif (rs.next()) {\r\n\t\t\t\tid = rs.getInt(1);\r\n\t\t\t}\r\n\t\t\trs.close();\r\n\t\t\tstatement.close();\r\n\t\t} catch (SQLException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\r\n\t\tif (id == FAILED) {\r\n\t\t\tthrow new InvaildUserNamePassword(\"Username or password failed\");\r\n\t\t} else {\r\n\t\t\treturn id;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "a95a88adf7cb270daae234715344375d", "score": "0.5313863", "text": "@Override\n public boolean equals(Object object) {\n if (!(object instanceof AppUser)) {\n return false;\n }\n AppUser other = (AppUser) object;\n if ((this.userid == null && other.userid != null) || (this.userid != null && !this.userid.equals(other.userid))) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "43b33994270bcb7b511a9531268fcdd3", "score": "0.5310097", "text": "public byte[] getHash();", "title": "" }, { "docid": "c0bbfed6f8402e88afbf87897b1b3d00", "score": "0.5309581", "text": "@Override\n public boolean equals(Object that) {\n if (this == that) {\n return true;\n }\n if (that == null) {\n return false;\n }\n if (getClass() != that.getClass()) {\n return false;\n }\n Authentication other = (Authentication) that;\n return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))\n && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))\n && (this.getUserid() == null ? other.getUserid() == null : this.getUserid().equals(other.getUserid()))\n && (this.getIdentitytype() == null ? other.getIdentitytype() == null : this.getIdentitytype().equals(other.getIdentitytype()))\n && (this.getCredential() == null ? other.getCredential() == null : this.getCredential().equals(other.getCredential()))\n && (this.getIfverifiled() == null ? other.getIfverifiled() == null : this.getIfverifiled().equals(other.getIfverifiled()));\n }", "title": "" }, { "docid": "76ad43a18b37a004c1fd4f85ab754d2e", "score": "0.53054816", "text": "@Test\n void getUsers() {\n assertNotNull(UserDatabase.getUsers());\n\n //The key of the hashmap should be equal with the user's username\n assertEquals(user.getUsername(), UserDatabase.getUsers().get(user.getUsername()).getUsername());\n\n //The user retrieved from our hashmap should be the same user that we have created above\n assertSame(user, UserDatabase.getUsers().get(user.getUsername()));\n\n\n }", "title": "" }, { "docid": "a0ff35f1b93429308fc76f8033bf558f", "score": "0.5301059", "text": "@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof UsersUsergrupo)) {\r\n return false;\r\n }\r\n UsersUsergrupo other = (UsersUsergrupo) object;\r\n if ((this.usersUsergrupoPK == null && other.usersUsergrupoPK != null) || (this.usersUsergrupoPK != null && !this.usersUsergrupoPK.equals(other.usersUsergrupoPK))) {\r\n return false;\r\n }\r\n return true;\r\n }", "title": "" }, { "docid": "00570eda2806f83c92562957a6c54bf4", "score": "0.52999234", "text": "@Override\n\tpublic int compareTo(Object o) {\n\t\tUser us=(User)o;\n\t\treturn this.userName.compareToIgnoreCase(us.getUserName());\n\n\t}", "title": "" }, { "docid": "ef86690aa87136fa89b9c6cc1d82d2f0", "score": "0.5299015", "text": "public boolean hasHash() {\n return result.hasHash();\n }", "title": "" }, { "docid": "3941a81e037df18d1522fac1354646bc", "score": "0.529789", "text": "public boolean authUser(String user_ID, String password) throws SQLException {\n\n String passHash;\n String salt;\n try {\n //check if the user exits\n if(userExists(user_ID)){\n\n String query = \"select * from users where user_ID = ?\";\n PreparedStatement statement = dbConnection.prepareStatement(query);\n\n ResultSet results;\n\n try {\n statement.setString(1, user_ID);\n results = statement.executeQuery();\n try{\n while(results.next()) {\n\n passHash=results.getString(\"password_hash\");\n salt = results.getString(\"salt\");\n\n\n byte[] bSalt = base64ToByte(salt);\n byte[] bDigest = getHash(ITERATION_NUMBER,password,bSalt);\n String hashed_password = byteToBase64(bDigest);\n\n\n if(hashed_password.equals(passHash)){\n return true;\n }\n }\n }catch (Exception e){\n\n }\n\n }catch (Exception e){\n System.err.println(e);\n }\n\n }\n } catch (SQLException e) {\n e.printStackTrace();\n }\n //else return false\n return false;\n }", "title": "" }, { "docid": "beaf2ed8ad009500b022e8fe5b5f59a1", "score": "0.52956563", "text": "public boolean setPassword(String hash) {\n\t\tString oldPass = raw.getString(\"password\");\n\t\t\n\t\traw.put(\"password\", hash);\n\t\t\n\t\treturn oldPass.equals(hash);\n\t}", "title": "" }, { "docid": "2706b5cfed74314068fca087e80112fa", "score": "0.52905107", "text": "public void CheckHash(){\n\t\tif (!modified){\n\t\t\tlblOraingoegoera.setText(\"Aldaketa barik\");\n\t\t}else{\n\t\t\tlblOraingoegoera.setText(\"Datuak aldatuta\");\n\t\t}\n\t}", "title": "" }, { "docid": "080e0aaf6611d5045ab36102474998a1", "score": "0.5286477", "text": "@Override\n\tpublic int hashCode() {\n\t\treturn HashCodeBuilder.reflectionHashCode(this, \"username\",\"factoryname\",\"factoryaddr\",\"password\",\"email\");\n\t}", "title": "" } ]
ebe80800e08b29ac6258a5bd7f8daff0
Game name as ASCIIArt:
[ { "docid": "4eb61e7ea998362d95ad95491e84abd1", "score": "0.0", "text": "protected String header() {\r\n sb = new StringBuilder(\"\\n\");\r\n appendHeaderFrame();\r\n append(\"* ____ _ _ _ _ _ *\");\r\n append(\"* | _ \\\\ | | | | | | | | (_) *\");\r\n append(\"* | |_) | __ _| |_| |_| | ___ ___| |__ _ _ __ *\");\r\n append(\"* | _ < / _` | __| __| |/ _ \\\\/ __| '_ \\\\| | '_ \\\\ *\");\r\n append(\"* | |_) | (_| | |_| |_| | __/\\\\__ \\\\ | | | | |_) | *\");\r\n append(\"* |____/ \\\\__,_|\\\\__|\\\\__|_|\\\\___||___/_| |_|_| .__/ *\");\r\n append(\"* | | *\");\r\n append(\"* |_| *\");\r\n appendHeaderFrame();\r\n return sb.toString();\r\n }", "title": "" } ]
[ { "docid": "5b2a271497d9700d451462ac486ded62", "score": "0.717058", "text": "public String getGameName(){\n\t\treturn arcade.getGameName();\n\t}", "title": "" }, { "docid": "f27201229836a54be332a20219f83fc7", "score": "0.693627", "text": "public String playerGameName();", "title": "" }, { "docid": "b47ac73565ab4f7e66f36bb3be9d05cc", "score": "0.66118526", "text": "@Override\n\tpublic String getName() {\n\t\treturn \"伊露希亚天赋\";\n\t}", "title": "" }, { "docid": "3483d772d02bbebbbcc7a6012adea8df", "score": "0.66068274", "text": "public static String genName() {\r\n\t\tString ret = \"\";\r\n\t\tret += greekAlphabet[r.nextInt(greekAlphabet.length)] + \" \";\r\n\t\tret += r.nextInt(10) + \"\" + r.nextInt(10) + \": \";\r\n\t\tret += greekAlphabet[r.nextInt(greekAlphabet.length)] + \" \";\r\n\t\tret += r.nextInt(10) + \"\" + r.nextInt(10) + \"\" + r.nextInt(10);\r\n\t\treturn ret;\r\n\t}", "title": "" }, { "docid": "96cb41aca018cfb987d768a0b08689dd", "score": "0.65998375", "text": "public final String getGameName() {\n if (getGameId() == null || getGameId().length() == 0)\n return type.name();\n return getGameId();\n }", "title": "" }, { "docid": "d98e36922ca8e9ca82f8fa693d70534e", "score": "0.6597369", "text": "@Override\n\tpublic String getName() {\n\t\treturn \"奥托克拉托四世天赋\";\n\t}", "title": "" }, { "docid": "48c763d448129b4e58252b633d62949d", "score": "0.6589074", "text": "public static void ShowName()\n\t{\n\t\tAnalyze();\n\t\t\n\t\t//make a table to print all the data stored in the name array\n\t\tSystem.out.println(\"\\n Overview\");\n\t\tfinal Object[][] tableData = new String[numberOfGamers+1][];\t\t\n\t\ttableData[0] = new String[] {\"Gamer\",\"Number of Wins\"};\n\t\tfor (int i=0; i<numberOfGamers; i++)\n\t\t{\n\t\t\ttableData[i+1] = new String[] {name[i][0],name[i][1]};\n\t\t}\n\t\tfor (final Object[] row : tableData)\n\t\t{\n\t\t\tSystem.out.format(\"%20s%20s\\n\", row);\n\t\t}\n\t}", "title": "" }, { "docid": "6e15235ae74bea6e0f9ed5b05feb4c8b", "score": "0.6571831", "text": "public static String generateName()\n\t{\n\t\treturn \"AI Player \" + ++AIPlayer.numberOfAIPlayers;\n\t}", "title": "" }, { "docid": "ec39163bc89e0345788a3b565111d61d", "score": "0.6569524", "text": "java.lang.String getPlayerName();", "title": "" }, { "docid": "ec39163bc89e0345788a3b565111d61d", "score": "0.6569524", "text": "java.lang.String getPlayerName();", "title": "" }, { "docid": "8d74121e03f8b7a655e3936cd0911c86", "score": "0.6542929", "text": "@Override\n public String name() { return String.valueOf(w)+\",\"+String.valueOf(h)+\",\"+String.valueOf(k)+\"-game\"; }", "title": "" }, { "docid": "de21271b4c1b16ddc6eabded6c4fdef0", "score": "0.65407425", "text": "public String getName() {\n return name[rank%13];\n }", "title": "" }, { "docid": "5959615c2c211b114f744683a219c361", "score": "0.65354854", "text": "private void display_name(final Player player) {\n\n if (this.display_name.size() == 0) {\n return;\n }\n\n if(this.display_name.get(0).length() <= 0){\n return;\n }\n\n if (this.display_name.size() == 1) {\n this.gameprofile.name = ChatColor.translateAlternateColorCodes('&', this.display_name.get(0));\n return;\n }\n\n double height = -0.15;\n\n for (String text : this.display_name) {\n\n if (text.startsWith(\"$\")) {\n text = player.getMessage(text.replace(\"$\", \"\"));\n } else {\n text = ChatColor.translateAlternateColorCodes('&', text);\n }\n\n if (text.contains(\"%\")) {\n for (String keys : variables.keySet()) {\n final String to_search = \"%\" + keys + \"%\";\n\n if (text.contains(to_search)) {\n text = text.replace(to_search, \"\" + variables.get(keys));\n }\n }\n\n if (text.contains(\"%\")) {\n text = text.replaceAll(\"\\\\%(.*?)\\\\%\", \"N/A\");\n }\n }\n\n final Location new_loc = this.location.clone();\n\n final EntityArmorStand stand = new EntityArmorStand(((CraftWorld) new_loc.getWorld()).getHandle());\n\n new_loc.add(0.0, height, 0.0);\n stand.setLocation(new_loc.getX(), new_loc.getY(), new_loc.getZ(), new_loc.getYaw(), new_loc.getPitch());\n stand.setCustomNameVisible(true);\n stand.setCustomName(text);\n stand.setGravity(false);\n stand.setSmall(false);\n stand.setBasePlate(false);\n stand.setHealth(1.0f);\n stand.setInvisible(true);\n\n player.sendPacket(new PacketPlayOutSpawnEntityLiving(stand));\n\n amorstand_ids.add(stand.getId());\n\n height += 0.30;\n }\n }", "title": "" }, { "docid": "09d8dfaf5c12800d1300675c4d4c9228", "score": "0.6520328", "text": "public String getName() { return atlas + \"/\" + name; }", "title": "" }, { "docid": "71efe8deb9e0a7bf6fcdbd9383850b57", "score": "0.64828414", "text": "public String getPlayerName(String name);", "title": "" }, { "docid": "97ca561a870380395c00e7f9bd5bebcd", "score": "0.6420142", "text": "public String toString(){\r\n\t\treturn NAMEOFPLAYER;\r\n\t}", "title": "" }, { "docid": "fded4d2a6257fc56079a5c883f69733c", "score": "0.6418654", "text": "String getPlayerName();", "title": "" }, { "docid": "e71aaf2423d75d86e8549433acf024c8", "score": "0.6395763", "text": "public String getName()\n\t\t{\n\t\treturn new String(\"TicTacToe\");\n\t\t}", "title": "" }, { "docid": "9a20c5be8b67040bd53baaa916f6377f", "score": "0.63713527", "text": "@Override\n\tpublic String getName() {\n\t\treturn \"the_men_who_stare_at_goats Player\";\n\t}", "title": "" }, { "docid": "0ca3d786897b42e24e6934d14f829b99", "score": "0.6368419", "text": "@Override\n\t\t\tpublic String getName() {\n\t\t\t\treturn \"奥托克拉托四世天赋\";\n\t\t\t}", "title": "" }, { "docid": "f289a97bbe815c98d91b16ff2ec81e03", "score": "0.6355652", "text": "@Override\n\tpublic String getName() {\n\t\treturn \"sono un cane\";\n\t}", "title": "" }, { "docid": "a596456eb2f5e4de38b5c9f197a4d790", "score": "0.63208294", "text": "public static String getgameName() {\r\n\t\treturn gameName;\r\n\t}", "title": "" }, { "docid": "c4a1111453ee9067045c3691c5472146", "score": "0.62861973", "text": "public String GetGameTitle()\n\t{\n\t\treturn this.gameTitle;\n\t}", "title": "" }, { "docid": "5b996a173a271b30661a1cc1ae4a36c1", "score": "0.62800354", "text": "private String getEffectiveName() {\n return OpenBoard.ID_PREFIX_NAMETAG + name;\n }", "title": "" }, { "docid": "971d47522342c1c08b4f30a47816f433", "score": "0.626672", "text": "public String getPlayerName();", "title": "" }, { "docid": "418259742d76d680392c6f9f31c97a5c", "score": "0.62646776", "text": "@Override\r\n\tpublic String getShowName() {\n\treturn \"Super Macaroni Noodle Man\";\r\n\t}", "title": "" }, { "docid": "91cd2472b4b1ac4581282d4d52925393", "score": "0.6239057", "text": "public String toString ()\n {\n return faceName + \" of \" + suitName;\n }", "title": "" }, { "docid": "e0e77869b4809def87a8d82261e61105", "score": "0.6215267", "text": "@Override\n public String toString(){\n String value = String.format(\"%02d\",getName());\n return \"(\\u2665\" + value + \") \"\n + convertName(getName()) + \" of \" + this.getSuit();\n }", "title": "" }, { "docid": "a54a826f4a22fe0c7a2cf40509252aad", "score": "0.62044954", "text": "public String title(){\n \tint chance=(int)(Math.random()*100);\n \tif (chance<25){\n \t\treturn \"Space Invaders, Defenders of the Green Line\";\n \t}\n \telse if (chance>25 && chance<50){\n \t\treturn \"Space Invaders (They use bows and arrows!)\";\n \t}\n \telse if (chance>50 && chance<75){\n \t\treturn \"Space Invaders, Avengers of the Fallen Walls\";\n \t}\n \telse if (chance>75 && chance<99){\n \t\treturn \"Space Invaders\";\n \t}\n \telse{ //the 1 percent\n \t\treturn \"Space Invaders 2, Return of the Frank Gu\";\n \t}\n }", "title": "" }, { "docid": "d830660f35e5d208e27ded89455d4fd0", "score": "0.6178486", "text": "@Override\r\n\tpublic void makeASound() {\n\t\tSystem.out.print(getName() +\" \");\r\n\t\tSystem.out.println(\"Gauw Gauww \");\r\n\t}", "title": "" }, { "docid": "d4bcd2820900f0b44366e0874688b9a5", "score": "0.6171444", "text": "@Override\n public String getText(SwccgGame game) {\n return getPerformingPlayerId() + \" just looked at cards in own \" + getCardPile().getHumanReadable();\n }", "title": "" }, { "docid": "1d3649a33f742b9a855b165cd4227d19", "score": "0.61567706", "text": "public String getName() {\n if (girth == 30) {\n return \"Eraser\";\n } else if (girth == 5) {\n return \"PencilThin\";\n } else {\n return \"PencilThick\";\n }\n }", "title": "" }, { "docid": "7963dd4182d8a94fd5f5661f9ceef195", "score": "0.61349785", "text": "public static String name(){\n return \"06.Rahman.Sabiha\"; \n }", "title": "" }, { "docid": "34098530c222089c4bc953e0d79f4c0b", "score": "0.6108797", "text": "String name( String num) {\n\t\t\n\t\tString kon =\"\";\n\t\t\n\t\tfor (int i= num.length()-1; i>=0; i--) { kon+=num.charAt(i);}\n\t\t\n\t\treturn kon;\n\t}", "title": "" }, { "docid": "e797c4a815a0a23a8f62c2f772d80495", "score": "0.61069465", "text": "public String ascii_art() {\n\t\treturn \" \\\\`. \\r\\n\"\n\t\t\t\t+ \" .--------------.___________) \\\\ \\r\\n\"\n\t\t\t\t+ \" |//////////////|___________[ ] \\r\\n\"\n\t\t\t\t+ \" `--------------' ) ( \\r\\n\"\n\t\t\t\t+ \" '-' \\r\\n\"\n\t\t\t\t;\n\t}", "title": "" }, { "docid": "2f97cff6a95b74138e494f5e2b95ca36", "score": "0.61008006", "text": "public char getName(){\n\t\tchar r = '0';\n\t\tif(name == \"Montagne\"){\n\t\t\tr = 'M';\n\t\t}\n\t\tif(name == \"Littoral\"){\n\t\t\tr = 'L';\n\t\t}\n\t\tif(name == \"Plaine\"){\n\t\t\tr = 'P';\n\t\t}\n\t\tif(name == \"Desert\"){\n\t\t\tr = 'D';\n\t\t}\n\t\treturn r;\n\t}", "title": "" }, { "docid": "32b4370a128f3b94a9877434d1c1b723", "score": "0.60968465", "text": "@Override\n public String getName() {\n return \"Computer \" + this.getPlayerNumber();\n }", "title": "" }, { "docid": "18d90561db763a458c3a147a77825af5", "score": "0.6061306", "text": "String printName();", "title": "" }, { "docid": "18d90561db763a458c3a147a77825af5", "score": "0.6061306", "text": "String printName();", "title": "" }, { "docid": "b288d5b77ee0c09d52000f521b560ed0", "score": "0.6059178", "text": "public String toString() {\n return getName()+\" of \"+suit;\n }", "title": "" }, { "docid": "9ba2a863708d0f09a9079fa57ff81342", "score": "0.603383", "text": "public String recollirNomFigura() {\r\n String nom;\r\n nom = lector.next().toUpperCase();\r\n return nom;\r\n }", "title": "" }, { "docid": "9a2b40ea07d437bbda2453eff27f5bc1", "score": "0.60262877", "text": "public String getOgnl() {\r\n StringBuffer buffer = new StringBuffer();\r\n String[] tok = this.getName().split(\"_\");\r\n\r\n for (int i = 0; i < tok.length; i++) {\r\n String string = tok[i];\r\n if (i == 0) {\r\n buffer.append(string.toLowerCase());\r\n } else {\r\n buffer.append(StringUtils.capitalize(string.toLowerCase()));\r\n }\r\n }\r\n return buffer.toString();\r\n }", "title": "" }, { "docid": "36ef7ca8956fbec505d3c55b55402000", "score": "0.6021072", "text": "private static void printName(){\n\t\tint stringLength = 76;\r\n\t\t// 3 spaces on each side of the word and a bar on each side = -8\r\n\t\tstringLength = stringLength - 8 - databaseName.length();\t\t\r\n\t\tfor(int i = 0; i < (stringLength/2); i++){\r\n\t\t\tSystem.out.print(\"-\");\r\n\t\t}\t\t\r\n\t\t\r\n\t\r\n\t\tSystem.out.printf(\"| %s |\", databaseName);\r\n\t\t\r\n\t\tfor(int i = 0; i < (stringLength - (stringLength/2)); i++){\r\n\t\t\tSystem.out.print(\"-\");\r\n\t\t}\r\n\t\t\r\n\t\tSystem.out.println();\r\n\t\t\r\n\t}", "title": "" }, { "docid": "48ca508accdaac3fac5589a8b83b33d2", "score": "0.60199684", "text": "@Override\n public String getName() {\n return data.get(0).substring(6);\n }", "title": "" }, { "docid": "0548e151b01686bf44873d278adf79c9", "score": "0.60099405", "text": "public String getNameSong() {\n\t\treturn jtfNom.getText();\n\t}", "title": "" }, { "docid": "17e2def414644e16c1c11ed8d87c71f6", "score": "0.60098296", "text": "public String nombreToString() {\n\t\tString aux= super.toString();\n\t\taux=aux.substring(0, 1).toUpperCase() + aux.substring(1);\n\t\treturn aux;\n\t}", "title": "" }, { "docid": "3535caaa0df7a2c441303b516d311b55", "score": "0.60073215", "text": "public static String getFormattedGameName(String game, String platform, int number) {\n String name;\n\n if (game != null) {\n name = String.format(Locale.US, \"%s #%d - %s\", platform, number, game);\n } else {\n name = String.format(Locale.US, \"%s #%d\", platform, number);\n }\n return name;\n }", "title": "" }, { "docid": "3d2880abe8dee7512c274a5432dad135", "score": "0.60044575", "text": "public static String myName() {\r\n\r\n\t\treturn \"Ali Mojarrad\";\r\n\t}", "title": "" }, { "docid": "54ab0619c6bcddd6d53ddbff1f9c5730", "score": "0.59974277", "text": "abstract String algebraicName();", "title": "" }, { "docid": "7b059f7546758300a3c8b0b63ba1b5be", "score": "0.59702045", "text": "@Override\n public String toString() {\n String ranks = \"23456789TJQKA\";\n String suits = \"\\u2663\\u2666\\u2665\\u2660\"; //\"CDHS\";\n return ranks.charAt(rank) + \"\" + suits.charAt(suit);\n }", "title": "" }, { "docid": "3595d71703b5fbee4f0af2f2970fa16c", "score": "0.5955504", "text": "java.lang.String getDisplayName();", "title": "" }, { "docid": "3595d71703b5fbee4f0af2f2970fa16c", "score": "0.5955504", "text": "java.lang.String getDisplayName();", "title": "" }, { "docid": "3595d71703b5fbee4f0af2f2970fa16c", "score": "0.5955504", "text": "java.lang.String getDisplayName();", "title": "" }, { "docid": "3595d71703b5fbee4f0af2f2970fa16c", "score": "0.5955504", "text": "java.lang.String getDisplayName();", "title": "" }, { "docid": "3595d71703b5fbee4f0af2f2970fa16c", "score": "0.5955504", "text": "java.lang.String getDisplayName();", "title": "" }, { "docid": "3595d71703b5fbee4f0af2f2970fa16c", "score": "0.5955504", "text": "java.lang.String getDisplayName();", "title": "" }, { "docid": "3595d71703b5fbee4f0af2f2970fa16c", "score": "0.5955504", "text": "java.lang.String getDisplayName();", "title": "" }, { "docid": "3595d71703b5fbee4f0af2f2970fa16c", "score": "0.5955504", "text": "java.lang.String getDisplayName();", "title": "" }, { "docid": "3595d71703b5fbee4f0af2f2970fa16c", "score": "0.5955504", "text": "java.lang.String getDisplayName();", "title": "" }, { "docid": "3595d71703b5fbee4f0af2f2970fa16c", "score": "0.5955504", "text": "java.lang.String getDisplayName();", "title": "" }, { "docid": "3595d71703b5fbee4f0af2f2970fa16c", "score": "0.5955504", "text": "java.lang.String getDisplayName();", "title": "" }, { "docid": "3595d71703b5fbee4f0af2f2970fa16c", "score": "0.5955504", "text": "java.lang.String getDisplayName();", "title": "" }, { "docid": "3595d71703b5fbee4f0af2f2970fa16c", "score": "0.5955504", "text": "java.lang.String getDisplayName();", "title": "" }, { "docid": "2bd22ac82791bf8a0df288a721d80faa", "score": "0.59536535", "text": "private static void showMyName(){\n\n char[] nameArray = {'A','n','a'};\n System.out.println(\"You have selected to print out the name: \");\n for(char c : nameArray) System.out.println(c);\n\n }", "title": "" }, { "docid": "8e6a38f78c0f45865834deb0b4c9335a", "score": "0.5953299", "text": "public String findTitle(){\r\n\t\tString title = \"\";\r\n\t\t\r\n\t\tfor (Glyph g : this.glyphs){\r\n\t\t\tif(g.isBold()){\r\n\t\t\t\ttitle += g.getGl();\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn title;\r\n\t}", "title": "" }, { "docid": "0cd20c73e72157b406219d23ac948cea", "score": "0.5952648", "text": "public static String readPlayerName(char symbol) {\n\t\tSystem.out.println(\"Player \" + symbol + \" type your name:\");\n\t\treturn readName(sc, \"Name\");\n\t}", "title": "" }, { "docid": "347e0da55178734da5a9a684ca7d08ce", "score": "0.5947506", "text": "public String getName() { return \"@\" + name; }", "title": "" }, { "docid": "a126678c71a6e58fa0ecf59344cecd05", "score": "0.5947037", "text": "public String getGameTitle()\n\t{\n\t\treturn gameTitle;\n\t}", "title": "" }, { "docid": "9b2ce05e4f8766d46d9185e1676cff34", "score": "0.59338915", "text": "@Override\n public String toString() { // it is going to show us the name and the associated title\n return \"name='\" + name + '\\n' + //remove all the unnecessary apostrophe\n \", artist=\" + artist + '\\n' +\n \", releaseDate=\" + releaseDate + '\\n' +\n \", imageURL=\" + imageURL + '\\n';\n }", "title": "" }, { "docid": "9ead400d4d92a9da2e3407ad9a82e835", "score": "0.5931517", "text": "@Override\n\tpublic String getName() {\n\t\treturn this.playerName;\n\t}", "title": "" }, { "docid": "4f78146868a0ed0cef08842b020f1d6b", "score": "0.5924662", "text": "java.lang.String getPlayerNickName();", "title": "" }, { "docid": "03ec61763f044b603f6049aff098da7c", "score": "0.5916624", "text": "public String getName() {\r\n\t\treturn player_name;\r\n\t}", "title": "" }, { "docid": "5f62c0eca9dfae7fc5422c5a8641f6e4", "score": "0.5916132", "text": "@Override\n\tpublic String getName() {\n\t\treturn \"Play a card\";\n\t}", "title": "" }, { "docid": "ea2059db652c595613f33f2f56762b23", "score": "0.59105784", "text": "String name() ;", "title": "" }, { "docid": "c8ae6e36f87fc0c41015124dce7b1bf3", "score": "0.59091246", "text": "@SideOnly(Side.CLIENT)\n @Override\n public String getName() {\n return this.real.getName();\n }", "title": "" }, { "docid": "2dc4e37de63b78f6d80150045c74a23a", "score": "0.5908658", "text": "public static String getName() {\n\t\tdeinePizzaName += \"Deine Pizza \"+price+\"€ \\n\";\n\t\treturn deinePizzaName;\t\t\n\t}", "title": "" }, { "docid": "d763a0d400580151fc6c452633a840c9", "score": "0.5905875", "text": "public String toString() { return name; }", "title": "" }, { "docid": "48c1ac41668c38cb0475dd29b7e9655e", "score": "0.5902283", "text": "@Override\r\n\tpublic String getIntro() {\n\t\treturn \"Spearow is an avian Pok¨Śmon that is very small. It has rough, brown plumage on its head and three brown tail feathers. It has narrow, dark brown eyes with white pupils and a short, hooked beak. \";\r\n\t}", "title": "" }, { "docid": "92afd49b589d226f878b7ea7cd07eba4", "score": "0.58958536", "text": "String getDisplayName();", "title": "" }, { "docid": "92afd49b589d226f878b7ea7cd07eba4", "score": "0.58958536", "text": "String getDisplayName();", "title": "" }, { "docid": "92afd49b589d226f878b7ea7cd07eba4", "score": "0.58958536", "text": "String getDisplayName();", "title": "" }, { "docid": "92afd49b589d226f878b7ea7cd07eba4", "score": "0.58958536", "text": "String getDisplayName();", "title": "" }, { "docid": "92afd49b589d226f878b7ea7cd07eba4", "score": "0.58958536", "text": "String getDisplayName();", "title": "" }, { "docid": "311e0133abe249e9e3b3e0e43a85a054", "score": "0.58920795", "text": "public String toString() {\n \tString suffix = \"\";\n \tif(audioList.size() > 0 || spawnObjects.size() > 0) {\n \t\tsuffix = \" (\";\n \t\tif(spawnObjects.size() > 0) {\n \t\t\tsuffix += \"S\";\n \t\t}\n \t\tif(audioList.size() > 0) {\n \t\t\tsuffix += spawnObjects.size() > 0 ? \"|A\" : \"A\";\n \t\t}\n \t\tsuffix += \")\";\n \t}\n \treturn name + suffix;\n }", "title": "" }, { "docid": "99138dc327d6f34f0035b3b27e5afec5", "score": "0.58842605", "text": "@Override\n\tpublic String getName() {\n\t\treturn \"骑士精神\";\n\t}", "title": "" }, { "docid": "0962fe30cf36f68e0547ca7ed2d8cb11", "score": "0.5882322", "text": "public String toString(){\n\t\treturn Character.toString(this.player.getSymbol());\n\t}", "title": "" }, { "docid": "4499fc4d5236960dbde37970cb53d180", "score": "0.5876157", "text": "@Override\n String createName() {\n Collections.shuffle(carNames);\n StringBuilder sb = new StringBuilder(carNames.get(0));\n return sb.append(\" \").append(carNames.get(1)).toString();\n }", "title": "" }, { "docid": "c6c79f09ef410fe4daba389bf03f7276", "score": "0.5873407", "text": "public static String getName() {\r\n return \"Elephants and Rhinos\";\r\n }", "title": "" }, { "docid": "7c433cb322545053302829df3d423c35", "score": "0.5872828", "text": "public String toString()\r\n {\r\n String toReturn = \r\n \"PLAYER: <\" + name + \">\\n\" + \r\n \" (*)Piece = \" + whichPiece + \" <\" + Monopoly.tokens.getTokenName(whichPiece) + \">\" + \"\\n\" + \r\n \" (*)Money = $\" + money + \"\\n\" + \r\n \" (*)Doubles = \" + doubles + \"\\n\" + \r\n \" (*)In jail? = \" + inJail + \"\\n\";\r\n \r\n //if the player is in jail, print out how long it's been too\r\n if(inJail)\r\n toReturn += \" -How long? = \" + timeInJail + \"\\n\";\r\n \r\n toReturn += \" (*)Space = \" + space;\r\n \r\n return toReturn;\r\n }", "title": "" }, { "docid": "2f77d0796d0f2b83506f69bbb447a1ee", "score": "0.58703697", "text": "public String getName() {\r\n\t\treturn GCAssemblerUI.getText(UI_TEXT);\r\n\t}", "title": "" }, { "docid": "d88036c87464619d00bedcea9e0144bd", "score": "0.5869969", "text": "@NonNull\n @Override\n public String toString() {\n return name + \": The foe is struck with slender, whip-like vines.\";\n }", "title": "" }, { "docid": "caaf6016e52c07f77445626a09042cba", "score": "0.5864618", "text": "@AutoEscape\n\tpublic String getName();", "title": "" }, { "docid": "f233c5fdb03fd30746a6d0c2f3a9bf1d", "score": "0.5861945", "text": "private String generateAlbumTitle(String prefix, String name) {\n\t\treturn prefix + \"-\" + name.replaceAll(\" \",\"-\").toLowerCase(); //regex on name\n\t}", "title": "" }, { "docid": "e1eb0f5489a0d77058a6afa911455711", "score": "0.58551854", "text": "@AutoEscape\n public String getName();", "title": "" }, { "docid": "e1eb0f5489a0d77058a6afa911455711", "score": "0.58551854", "text": "@AutoEscape\n public String getName();", "title": "" }, { "docid": "83fa4f5a1d84862307874ec3b487033a", "score": "0.5853511", "text": "@Override\r\n\tvoid printName() {\n\t\tSystem.out.println(\"AK\");\r\n\t}", "title": "" }, { "docid": "f0ea71c81be4f795f0eaba84da198d0b", "score": "0.58533263", "text": "public String getName()\n {\n return \"My Second connectfour.player.Agent\";\n }", "title": "" }, { "docid": "2a76a9b0e05d65328b6db570246b0819", "score": "0.5852012", "text": "public String toString() \r\n {\r\n String contents = \"Surnames of the players: \";\r\n for(int i = 0; i < getPlayers().length; i++) \r\n {\r\n contents+= getPlayers()[i] + \" \";\r\n }\r\n contents+= \"\\nColour of the football kit: \" + getColour();\r\n contents+= \"\\nGoal difference: \" + getGoalDifference();\r\n contents+= \"\\nThe team is still in the challenge: \" + getInChallenge();\r\n return contents;\r\n }", "title": "" }, { "docid": "43b8b063423155d24929f5b9057dcc4b", "score": "0.58492225", "text": "public String getName()\r\n {\r\n return playerName;\r\n }", "title": "" }, { "docid": "979094111b09b0f1dfd72f795ed0dd1d", "score": "0.58473074", "text": "String getName() ;", "title": "" }, { "docid": "52a7f7ac17be57a1d0bd0f3fabae0d51", "score": "0.58423203", "text": "public void title() {\n System.out.println(\"Tic Tac Toe\\n\");\n }", "title": "" } ]
3c869a5d8f38c88c859dd007ea57edff
noop in GMS messages
[ { "docid": "d8ec62467ec8e37d8d5259fd4ba41c43", "score": "0.0", "text": "@Override\n public void setBytesRead(int amount) {\n }", "title": "" } ]
[ { "docid": "73e3dd7df94624fdfaed844fb0897621", "score": "0.657769", "text": "public void clearMessage() {\n setMessage(\"Ready.\");\n }", "title": "" }, { "docid": "0cf21fd7207062f1fced79a494a29080", "score": "0.6520685", "text": "protected void handleNonTxnlMessage ( BrowserMessage message ) {\r\n \r\n }", "title": "" }, { "docid": "00d63690088cae163e252ea0a91e66c3", "score": "0.64947957", "text": "public void clearMessages() {\n }", "title": "" }, { "docid": "6455034bf9cee6e5ea4bd7df3c63e3a3", "score": "0.64781404", "text": "@Override\r\n public void onMessage(Message message) {\n }", "title": "" }, { "docid": "78b5f46b8bcc2de000267464f5ef2b00", "score": "0.64235014", "text": "@Override\n\tpublic Object onMessage(String arg0, Object arg1) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "9b7649cd32e1dbb25552870fd5c2a82a", "score": "0.6392551", "text": "@Override\r\n\tpublic void onMessage(Message arg0) {\n\r\n\t}", "title": "" }, { "docid": "275eb07440682b039f653c08b84a278a", "score": "0.63800293", "text": "void onPreMessageSent();", "title": "" }, { "docid": "e52432809b6c2449107e5bca5cc100fa", "score": "0.63619494", "text": "@Override\n\tpublic void onMessage(Message arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "e1861f7f3f589d4abb620411fc1d163b", "score": "0.6330283", "text": "private void clearMessage() {\n \n message_ = getDefaultInstance().getMessage();\n }", "title": "" }, { "docid": "9f7a407535f2307523768d8275eb309a", "score": "0.63235164", "text": "@Override\n\tpublic void sendEmptyMessage(int what) {\n\t\tif (null != mBTHandler) {\n\t\t\tLogger.log(Level.INFO, TAG,\"**(Get Empty mesage)**\"+what);\n\t\t\tmBTHandler.sendEmptyMessage(what);\n\t\t}\n\t}", "title": "" }, { "docid": "7a7db689a900a8e63c7581c7ea191cce", "score": "0.63061106", "text": "@Override\n\t\t\tpublic void onMessage(String arg0) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "86079005d40725dd2f81ac825ad6be84", "score": "0.62144", "text": "@Override\n public void processMessage(IMessage t) {\n\n }", "title": "" }, { "docid": "1cf73b1ff3fe43bc59392861cb2e683b", "score": "0.6203002", "text": "@Override\n public void handleMessage(Message msg) {\n }", "title": "" }, { "docid": "7151847703c65307e11b54bbc687cbd5", "score": "0.61169744", "text": "@Override\n\tpublic boolean handleMessage(Telegram msg) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "15aefa1676baf3c0d15250664550a2f7", "score": "0.60969406", "text": "public void onRawMessage(IRCSendificator sendificator, String message) {\n // Do nothing by default\n return;\n }", "title": "" }, { "docid": "b4b07bd654a4ae689cccaee8f2ec2a3b", "score": "0.608435", "text": "public abstract void noFloodInfo(String key, String message);", "title": "" }, { "docid": "5b20caf0fa01cde34881c6d40750928a", "score": "0.6076068", "text": "@Override\r\n \tpublic void handleMessage(Message msgP) {\n \t\t\r\n \t}", "title": "" }, { "docid": "25ba4d295d5aa2580fb6379bcde392a9", "score": "0.60462195", "text": "@Override\n public void onSucceedToSendMessage() {\n mPublishToView.resetMessageEt();\n }", "title": "" }, { "docid": "3e3430f24ead994f349a5f6d6f67f3b7", "score": "0.60256255", "text": "@Override\r\n\tprotected void handleMessage(Message m) {\n\t\t\r\n\t}", "title": "" }, { "docid": "2f58ff6ef9902cafca24cf8a076b1eb7", "score": "0.60218406", "text": "void buildAlertMessageNoGps();", "title": "" }, { "docid": "4ba069757a296675d374763cf18bb0af", "score": "0.6005014", "text": "@Override\n public void handleMessage(Message msg) {\n }", "title": "" }, { "docid": "aa04199605eddb298d3812d8a9fc8a5a", "score": "0.5977627", "text": "@Override\r\n\tpublic void sms() {\n\t\tSystem.out.println(\"galaxy21s의 sms 기능을 실행합니다.\");\r\n\t}", "title": "" }, { "docid": "be7edda242593c0fad2989988d003c07", "score": "0.5958143", "text": "@Override\n public void OnMessage(final String msg) {\n\n }", "title": "" }, { "docid": "565d7a5f07d8b1aebfad7df76f8381df", "score": "0.5924639", "text": "@Override\n public void onMessageSent(String msgId) {\n }", "title": "" }, { "docid": "2674bca3c530bb135b39e6a155874576", "score": "0.5912338", "text": "public SCSubscribeMessage() {\r\n\t\tthis.noDataIntervalSeconds = Constants.DEFAULT_NO_DATA_INTERVAL_SECONDS;\r\n\t}", "title": "" }, { "docid": "92e6c0d58574e313a46e82993786bf2b", "score": "0.5904259", "text": "public void sendByeMessage() {\n\t\t\r\n\t}", "title": "" }, { "docid": "62bd9a120920992fcab1c49d1bf28040", "score": "0.5872963", "text": "@Test\n public void noop() throws Exception {\n BranchNotificationMessageSender noop = branchNotificationMessageSenders.getById(\"noop-1\");\n Assertions.assertThat(noop).isNotNull();\n }", "title": "" }, { "docid": "e2fe688b7d78c66fe9f517be21ce4cc4", "score": "0.58706063", "text": "private void sendNoPerms(CommandSender player) {\n String noPerms = Config.getNoPerms();\n noPerms = MessageUtil.translateMessageColors(noPerms);\n MessageUtil.sendMessage(player, noPerms);\n }", "title": "" }, { "docid": "1e55a2fc071c2f263217e98441296b5c", "score": "0.58551556", "text": "@Override\n public void onReceivePassThroughMessage(Context context, MiPushMessage message) {\n\n if (!TextUtils.isEmpty(message.getTopic())) {\n mTopic = message.getTopic();\n } else if (!TextUtils.isEmpty(message.getAlias())) {\n mAlias = message.getAlias();\n }\n\n /*Message msg = Message.obtain();\n msg.obj = log;\n DemoApplication.getHandler().sendMessage(msg);*/\n }", "title": "" }, { "docid": "a75c4c5b26ba64a83d2f46831403f34c", "score": "0.5850842", "text": "public void clear()\n\t{\n\t\tm_msg = null;\n\t}", "title": "" }, { "docid": "14eae32d55ff3c7f957996d9331d5c7d", "score": "0.58460855", "text": "@Override\n public void onEmptyResponse() {\n Log.d(TAG, \"Received empty VAST response.\");\n }", "title": "" }, { "docid": "f58a774aba68fa3810d8e6a515072abf", "score": "0.5827934", "text": "@Override\n public void onMessageSent(String msgId) {\n }", "title": "" }, { "docid": "8cb12b38fbc5b0a09efaf48b0d002c31", "score": "0.5827729", "text": "@Override\n\t\tpublic void handleMessage(Message msg) {\n\t\t\tsuper.handleMessage(msg);\n\t\t\t\n\t\t}", "title": "" }, { "docid": "4482c0d7fb07d85eab7abf148503ebbf", "score": "0.5824805", "text": "@Override\r\n\t\tpublic void doTaskAsNoNetWork(Message msg) throws Exception {\n\r\n\t\t}", "title": "" }, { "docid": "4482c0d7fb07d85eab7abf148503ebbf", "score": "0.5824805", "text": "@Override\r\n\t\tpublic void doTaskAsNoNetWork(Message msg) throws Exception {\n\r\n\t\t}", "title": "" }, { "docid": "4482c0d7fb07d85eab7abf148503ebbf", "score": "0.5824805", "text": "@Override\r\n\t\tpublic void doTaskAsNoNetWork(Message msg) throws Exception {\n\r\n\t\t}", "title": "" }, { "docid": "d3f5f735b174a6b0d73bedb7796531a8", "score": "0.5822953", "text": "public void broadcastUnreliableMessage(byte[] msg) {\n \tGames.getRealTimeMultiplayerClient(m_activity, GoogleSignIn.getLastSignedInAccount(m_activity))\n\t\t\t\t.sendUnreliableMessageToOthers(msg, m_room.getRoomId());\n\t}", "title": "" }, { "docid": "2a5342107b3c96a17e64d51f1775301c", "score": "0.5813725", "text": "public void noFloodInfo(String message){\n noFloodInfo(message, message);\n }", "title": "" }, { "docid": "eafc7daf236523e611c5b33d57767a8b", "score": "0.58073443", "text": "void mo51520a(Message message);", "title": "" }, { "docid": "c58be511db583019d9e706e1d68dbdb2", "score": "0.5805374", "text": "@Override\r\n\t\t\tpublic void handleMessage(Message m) {\n\t\t\t}", "title": "" }, { "docid": "54cd275f1a1046d13e1d4e76a613620f", "score": "0.5804329", "text": "@Override\n public void handleMessage(Message inputMessage) {\n }", "title": "" }, { "docid": "4ab327b01338b121c7bc946027dea5ca", "score": "0.5799192", "text": "public T caseACT_SpNoMsg(ACT_SpNoMsg object)\n {\n return null;\n }", "title": "" }, { "docid": "27c1b0eebcec7a59fe2c1917cda6b533", "score": "0.57887137", "text": "public void message(Object msg) {\n\t\t\n\t}", "title": "" }, { "docid": "e113ebda816ec828bb816fafade92840", "score": "0.5784157", "text": "@Override\n public void onEmptyOrError(String message) {\n\n }", "title": "" }, { "docid": "e113ebda816ec828bb816fafade92840", "score": "0.5784157", "text": "@Override\n public void onEmptyOrError(String message) {\n\n }", "title": "" }, { "docid": "e113ebda816ec828bb816fafade92840", "score": "0.5784157", "text": "@Override\n public void onEmptyOrError(String message) {\n\n }", "title": "" }, { "docid": "e113ebda816ec828bb816fafade92840", "score": "0.5784157", "text": "@Override\n public void onEmptyOrError(String message) {\n\n }", "title": "" }, { "docid": "e113ebda816ec828bb816fafade92840", "score": "0.5784157", "text": "@Override\n public void onEmptyOrError(String message) {\n\n }", "title": "" }, { "docid": "16043f3ad543b38e4096f596ce08cbdc", "score": "0.57786024", "text": "public final void mo31372c() {\n mo31373d();\n this.f34087c.sendEmptyMessageDelayed(1, 2000);\n }", "title": "" }, { "docid": "e15cf9e3a747a34485b98f3d3a4fdc37", "score": "0.5778017", "text": "public HitMissMessage() { }", "title": "" }, { "docid": "db3d580d0e9fe170fc81d96589ccb1dc", "score": "0.57644224", "text": "public dealMessage() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "1861577bd59c9b362f413dcee6534d52", "score": "0.5753265", "text": "private PrintMessage() {}", "title": "" }, { "docid": "363954f8381dcb0d4d0680324c337061", "score": "0.5750023", "text": "@Override\r\n\tpublic void onMessageAck() {\n\r\n\t}", "title": "" }, { "docid": "78c9586262e63ae23a5017da71a8b5c2", "score": "0.574088", "text": "@Override\n\tpublic boolean onApiMessage(ApiJob job) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "dc09fbecb155ab2200945a413a6c8c51", "score": "0.57335263", "text": "@Override\n public void onLost(Message message) {\n LessonMessage lessonMessage = LessonMessage.fromNearbyMessage(message);\n if (lessonMessage != null) {\n if (lessonMessage.getStudentMessage() == null) {\n if (lessonMessage.getQrParser() != null) {\n //this is is a Lec message\n //try to confirm attendance\n DoSnack.showShortSnackbar(AdvertClassActivity.this, \"Lecturer closed the network\");\n }\n }\n }\n }", "title": "" }, { "docid": "30779fad7195ba9cf49a9c9ec326ccd1", "score": "0.5732589", "text": "@Override\n\tpublic BaseMessageResponse sendMessage(BaseMessageRequest baseMessageRequest) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "5bb46a83b4efeda9fe5b7aecac2606f9", "score": "0.57212913", "text": "public void onPrivmsg(IRCSendificator sendificator, Message message) {\n // Do nothing by default\n return;\n }", "title": "" }, { "docid": "801a8d023bb8a90521d07862cb8e709b", "score": "0.5698419", "text": "protected void processMessage(Message msg) {\n Logger.info(\"Unrecognised message type: \" + msg);\n }", "title": "" }, { "docid": "e00cb38c0f4e8609b959cdd08b963d07", "score": "0.56953454", "text": "@Override\n public void Send(Object mensagem) {\n \n }", "title": "" }, { "docid": "bfd15273cd5d5d893562dd763c9eeb1a", "score": "0.56902456", "text": "@Override\n\tpublic int sendNotification(Message message) {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "d233e62bdde133335a0a33bf8b63a27c", "score": "0.56896305", "text": "public DefaultMessage() {\n _context = new DefaultContext();\n }", "title": "" }, { "docid": "eb4901e2aee8aa561629f66a2bbde5dd", "score": "0.56892234", "text": "@Override\n\tpublic void sendStrng(String msg) {\n\t\t\n\t}", "title": "" }, { "docid": "4aaf07008dd8fc422e1c27dd28ca1a51", "score": "0.5684343", "text": "@Override\n\t\t\tpublic void run() {\n\t\t\t\thandler.sendEmptyMessage(1);\n\t\t\t}", "title": "" }, { "docid": "707055e0236c86af6392f32bbddcbb3a", "score": "0.5683698", "text": "@Override\n public void handleMessage(Message msg) {\n super.handleMessage(msg);\n handleMyMessage(msg);\n }", "title": "" }, { "docid": "11c971ea99d6145e8cea36179db81797", "score": "0.5671185", "text": "private void noLastStateMessage() {\n _lvqBrowser.stop();\n _model.setSequenceStatus(SeqState.RECOVERING_FROM_FLOW);\n _appflow.start();\n }", "title": "" }, { "docid": "47aa2b77a5c36757fb3e2f413186f6e6", "score": "0.5667735", "text": "public Object onMessage(Message msg) {\n\t\tSystem.out.println(\"Message from \"+msg.getSenderAddress()\n\t\t\t\t+\": \"+new String(msg.getPayload()));\n\t\treturn null;\n\t}", "title": "" }, { "docid": "df02110844e276e1f58a302b18142bc5", "score": "0.566422", "text": "Message()\n {\n \tsuper((Session)null);\n }", "title": "" }, { "docid": "427477d43cd7b4950c4c3ada8d6b4d50", "score": "0.56524885", "text": "@Override\n\t\t\t\tpublic void processMessage(Chat chat, Message msg) {\t}", "title": "" }, { "docid": "5935ea2dc18969a7a6880c08b47bb82e", "score": "0.5651705", "text": "@Override\n\t\tpublic int onMessage(int srcId, int requestId, int subject, int cmd, Object payload) {\n\t\t\treturn 0;\n\t\t}", "title": "" }, { "docid": "b56333ff6464ed306dfb6005f632eb7e", "score": "0.5651455", "text": "public void onMessage(Message message);", "title": "" }, { "docid": "08a32b914e417789b14f17259ec1e7b6", "score": "0.5651207", "text": "void onMessage(Message message);", "title": "" }, { "docid": "c71a443272f426e06311d31d261f8d36", "score": "0.56502014", "text": "@Override\n public Message onSend(Message message) {\n\n MessageContent mMessageContent = message.getContent();\n if (mMessageContent instanceof TextMessage) {\n TextMessage mTextMsg = (TextMessage)mMessageContent;\n mTextMsg.setExtra(UUID.randomUUID().toString());\n }\n return message;\n }", "title": "" }, { "docid": "c8a3fa18688f4b14e9239ac667c8d4de", "score": "0.5644558", "text": "public void disableFacetsMessages() {\n LOGGER.info(\"Disable facets messages ...\");\n facetsCharacteristic.disableValueNotifications();\n }", "title": "" }, { "docid": "bc1ea32d018a99aaeba299fabd4dffd3", "score": "0.5635649", "text": "public void onSendMessage(EdgeMessage msg) throws Exception;", "title": "" }, { "docid": "29c7601c17456d37e615d54ba811e0d9", "score": "0.56319815", "text": "@Override\n public void Receive(Object mensagem) {\n \n \n }", "title": "" }, { "docid": "3096407a0daa50a951b28ea5823a2469", "score": "0.5628002", "text": "@Override\n\tpublic boolean handleMessage(Message arg0) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "f9ccbd88128d0b1a51d4da68136f8e6e", "score": "0.5627622", "text": "@Override\r\n\t\tpublic void run() {\n\t\t\tMessage msg = new Message();\r\n\t\t\tmsg.what = 0;\r\n\t\t\thandler.sendMessage(msg);\r\n\t\t}", "title": "" }, { "docid": "292629888aae6cf88ca57af42ed7232c", "score": "0.5623642", "text": "void sm(String message);", "title": "" }, { "docid": "91415853b4c5c854b925ff52eae7232e", "score": "0.5623418", "text": "@Override\n\tpublic void send(String msg) {\n\t\t\n\t}", "title": "" }, { "docid": "ba5e13234c428a7de8e0dcbcf12b9c65", "score": "0.56224084", "text": "private SpeechletResponse handleNoIntent(IntentRequest intentReq, Session session)\n\t{\n\t\tif((STATE_GET_EMAIL_PHONE.compareTo((Integer)session.getAttribute(SESSION_PROF_STATE)) == 0) || (STATE_GET_EMAIL.compareTo((Integer)session.getAttribute(SESSION_PROF_STATE)) == 0) || \n\t\t\t\t(STATE_GET_PHONE.compareTo((Integer)session.getAttribute(SESSION_PROF_STATE)) == 0))\n\t\t{\n\t\t\tcachedList = null;\n\n\t\t\treturn newTellResponse(\"<speak> No thank you? sheesh, last time i help you.</speak>\", true);\n\t\t}\n\t\tcachedList = null;\n\n\t\treturn newTellResponse(\"<speak> Please ask for professor information first.</speak>\", true);\n\t}", "title": "" }, { "docid": "ae7c55ad5648b00e4095ee61f2900860", "score": "0.56220543", "text": "@Override\n\tpublic boolean handler(String msgFlag, Message message) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "95d4c3a338be674f2693a8816860bd3a", "score": "0.5618102", "text": "public Builder clearMessage() {\n if (payloadCase_ == 4) {\n payloadCase_ = 0;\n payload_ = null;\n onChanged();\n }\n return this;\n }", "title": "" }, { "docid": "5ef7d1f13e2fa520021396f9abfaad93", "score": "0.56169236", "text": "private void m64154m() {\n if (this.f52760g != null) {\n Message obtain = Message.obtain();\n obtain.what = 1;\n this.f52760g.sendMessageDelayed(obtain, 1200);\n }\n }", "title": "" }, { "docid": "a5d49f1509e7fcfed165d97059451e16", "score": "0.5613017", "text": "public T caseOnMessage(OnMessage object) {\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "503068fd367b18a96421ce8875198b99", "score": "0.5612302", "text": "@Override\n public boolean handleMessage(android.os.Message msg) {\n return true;\n }", "title": "" }, { "docid": "da20e4e851dc01c34e376bea120abd02", "score": "0.56082445", "text": "public static void sendNoPhaseBegun(Channel channel, String s) {\n sendResponse(channel, s);\n }", "title": "" }, { "docid": "75624fe99d85a77cbb4c71d2bf2c516d", "score": "0.56071705", "text": "@Override\n public String start(String enteringMessage) {\n return null;\n }", "title": "" }, { "docid": "9d9efe420a252476282356399cf6bc7b", "score": "0.5586764", "text": "@Override\n\tprotected void sendMessage(String json) {\n\n\t}", "title": "" }, { "docid": "b5a88a1c2d0641fce479577b91396446", "score": "0.5576573", "text": "SimpleMessageBase() {}", "title": "" }, { "docid": "048dad3c8742ceb5d09c5c634db2858b", "score": "0.55740905", "text": "@Override\n \tpublic void aMessage(Object o) {\n \t\t\n \t\tif (state==ProtocolState.UNAUTHORIZED){\n //\t\t\tif ((challenge+\"\").equals((String)o)){\n //\t\t\t\tstate=ProtocolState.AUTHORIZED;\n //\t\t\t\tauthPrompt.authSuccess();\n //\t\t\t\tMain.control.stateServerConnected();\n //\t\t\t}else{\n //\t\t\t\tIORemoteImpl.getRemoteDevice().kickDevices();\n //\t\t\t\tauthPrompt.authFailed();\n //\t\t\t}\n \t\t}else{\n \t\t\tfor (IORemote r:remoteDevices){\n \t\t\t\tr.aMessage(o);\n \t\t\t}\n \t\t}\n \t}", "title": "" }, { "docid": "2a151de43406e17aba4e92bb4f970676", "score": "0.5571195", "text": "@OnMessage\n public void onMessage(String message, boolean messageNotNull) {\n if (messageNotNull) {\n JSONObject jsonMsg = new JSONObject(message);\n String type = (String) jsonMsg.get(\"type\");\n switch (type) {\n case \"snapshot\" -> {\n processSnapshot(jsonMsg);\n this.orderBook.printOrderBook(System.out);\n }\n case \"l2update\" -> {\n processL2Update(jsonMsg);\n this.orderBook.printOrderBook(System.out);\n }\n case \"error\" -> throw new InvalidRequestException((String) jsonMsg.get(\"reason\"));\n }\n\n }\n }", "title": "" }, { "docid": "ece1e6493d248cf1082d761f125ee9a3", "score": "0.5570823", "text": "@Override\n\tpublic void onMessage(String timestamp, String fromDevice, String msgId, String params) {}", "title": "" }, { "docid": "0feadb5dbf9da4a61cd57816cfbfedc8", "score": "0.5569246", "text": "public abstract void mo29022a(Message message);", "title": "" }, { "docid": "0b20ddeb710de473ac4f66247e3753b3", "score": "0.5557047", "text": "@Override\n public void onMessageReceived(RemoteMessage remoteMessage) {\n }", "title": "" }, { "docid": "e8ee220012a363c9f24140e332438d8b", "score": "0.5552152", "text": "void clearMsgsFor(String topic);", "title": "" }, { "docid": "e4f921f26bcdd4e2ab45e773dc890c4a", "score": "0.5548777", "text": "@Override\n public void onNdefPushComplete(NfcEvent event) {\n\n Log.i(\"NFC\", \"Message Sent!\");\n TextView textview = (TextView)findViewById(R.id.textView4);\n\n textview.setText(\"SENT MESSAGE\");\n messagesToSendArray.clear();\n }", "title": "" }, { "docid": "3b639054083f1dab5875641075a6f2e3", "score": "0.55401576", "text": "public void sendNoMsgToTarget( Object target ) {\n sendToTargetOrType( target.getClass(), null );\n }", "title": "" }, { "docid": "4552a1b7bb28b29a325312a0a15f0bbd", "score": "0.5539429", "text": "public Message() {\n super();\n this.obj = null;\n }", "title": "" }, { "docid": "3bba4e48c11d899d51196d74af75ef7e", "score": "0.5528429", "text": "void onMessageEnqueue();", "title": "" }, { "docid": "dc6bf5404d269a67786ba6b346f4d890", "score": "0.55277354", "text": "public String makeNoColorMsg(String msg) {\n return \"[\" + this + \"] \" + msg;\n }", "title": "" }, { "docid": "d17c8bdd5f540ac4d50d525a08479f4d", "score": "0.55196714", "text": "public abstract void noFloodDebug(String key, String message);", "title": "" } ]
8f4aa01ea6df0d9cf5633bef21fec7ab
Return the value associated with the column: tog4key
[ { "docid": "e3e3c87ffde4cb476e3d051dcd75aeef", "score": "0.7013431", "text": "public java.lang.String getTog4key () {\n\t\treturn tog4key;\n\t}", "title": "" } ]
[ { "docid": "a9d761dc736269638e7bc5ff12769859", "score": "0.68585783", "text": "public java.lang.String getFromg4key () {\n\t\treturn fromg4key;\n\t}", "title": "" }, { "docid": "dd8469d42cd5357e657752a1a52adca2", "score": "0.6600146", "text": "public java.lang.String getTog2key () {\n\t\treturn tog2key;\n\t}", "title": "" }, { "docid": "d286b0da32a1a4b9bcb1543fdea0e6da", "score": "0.6416247", "text": "public java.lang.String getFromg2key () {\n\t\treturn fromg2key;\n\t}", "title": "" }, { "docid": "cf5165df77f33bcee23c251b6421a800", "score": "0.6320906", "text": "yandex.cloud.api.mdb.postgresql.v1.PerfDiag.PrimaryKey getKey();", "title": "" }, { "docid": "da48082a2e632fb6422e9c361632c927", "score": "0.6264866", "text": "public java.lang.String getFromg3key () {\n\t\treturn fromg3key;\n\t}", "title": "" }, { "docid": "994466414bf29c5a56a56b7d89963c97", "score": "0.6204003", "text": "public void setTog4key (java.lang.String tog4key) {\n\t\tthis.tog4key = tog4key;\n\t}", "title": "" }, { "docid": "baf67ab486739244e04af036a765bd17", "score": "0.6189769", "text": "public java.lang.String getTog1key () {\n\t\treturn tog1key;\n\t}", "title": "" }, { "docid": "c8d04a6ea8e25b17fc593a8c956b6b8f", "score": "0.6112865", "text": "public java.lang.String getTog3key () {\n\t\treturn tog3key;\n\t}", "title": "" }, { "docid": "03f502b2a23ffe9db91d6e8ff2ff0f69", "score": "0.60775983", "text": "public java.lang.String getFromg1key () {\n\t\treturn fromg1key;\n\t}", "title": "" }, { "docid": "540e952182fe428e676c83fae2a437e2", "score": "0.59751517", "text": "protected T getDataValue(IModel<U> rowModel) {\n final U row = rowModel.getObject();\n final T result = column.getKey().of(row);\n return result;\n }", "title": "" }, { "docid": "e461582b934a622b2778624118843c31", "score": "0.5940785", "text": "public V get(K rowKey, K colKey);", "title": "" }, { "docid": "44d9057cf997e170d464dc55ff942820", "score": "0.5936766", "text": "@Override\n public String getKeyColumn() {\n return KEY;\n }", "title": "" }, { "docid": "76908f253d3bcbba59f4013f409a2909", "score": "0.5935502", "text": "String getKey2();", "title": "" }, { "docid": "0c0a8138585f2d9f2b62b93851f412d2", "score": "0.59008425", "text": "public int getKey();", "title": "" }, { "docid": "2cccafc68ec1435791c1b65784ef8eae", "score": "0.58985084", "text": "String getKey1();", "title": "" }, { "docid": "c7704b437edfa50dcbe68acbbee4d41d", "score": "0.5845815", "text": "public String getKey();", "title": "" }, { "docid": "c7704b437edfa50dcbe68acbbee4d41d", "score": "0.5845815", "text": "public String getKey();", "title": "" }, { "docid": "1abc3fa5e3fb73cc919d019a64094357", "score": "0.5836564", "text": "String getKey();", "title": "" }, { "docid": "1abc3fa5e3fb73cc919d019a64094357", "score": "0.5836564", "text": "String getKey();", "title": "" }, { "docid": "1abc3fa5e3fb73cc919d019a64094357", "score": "0.5836564", "text": "String getKey();", "title": "" }, { "docid": "1abc3fa5e3fb73cc919d019a64094357", "score": "0.5836564", "text": "String getKey();", "title": "" }, { "docid": "1abc3fa5e3fb73cc919d019a64094357", "score": "0.5836564", "text": "String getKey();", "title": "" }, { "docid": "1abc3fa5e3fb73cc919d019a64094357", "score": "0.5836564", "text": "String getKey();", "title": "" }, { "docid": "1abc3fa5e3fb73cc919d019a64094357", "score": "0.5836564", "text": "String getKey();", "title": "" }, { "docid": "ddc1c056fbf01e180527aaba1702780a", "score": "0.5835747", "text": "int getKey();", "title": "" }, { "docid": "1357e376466af1522edbff0bdd8d218b", "score": "0.58223623", "text": "com.mysql.cj.x.protobuf.PolarxExecPlan.GetExpr getKey();", "title": "" }, { "docid": "1357e376466af1522edbff0bdd8d218b", "score": "0.58223623", "text": "com.mysql.cj.x.protobuf.PolarxExecPlan.GetExpr getKey();", "title": "" }, { "docid": "4e13049795d07218953c561993fbe5d3", "score": "0.5790497", "text": "String getKeyString();", "title": "" }, { "docid": "2b9de6d07eea2a0dfbda01d5cd672b4a", "score": "0.5777768", "text": "java.lang.String getKey();", "title": "" }, { "docid": "2b9de6d07eea2a0dfbda01d5cd672b4a", "score": "0.5777768", "text": "java.lang.String getKey();", "title": "" }, { "docid": "2b9de6d07eea2a0dfbda01d5cd672b4a", "score": "0.5777768", "text": "java.lang.String getKey();", "title": "" }, { "docid": "2b9de6d07eea2a0dfbda01d5cd672b4a", "score": "0.5777768", "text": "java.lang.String getKey();", "title": "" }, { "docid": "2b9de6d07eea2a0dfbda01d5cd672b4a", "score": "0.5777768", "text": "java.lang.String getKey();", "title": "" }, { "docid": "2b9de6d07eea2a0dfbda01d5cd672b4a", "score": "0.5777768", "text": "java.lang.String getKey();", "title": "" }, { "docid": "2b9de6d07eea2a0dfbda01d5cd672b4a", "score": "0.5777768", "text": "java.lang.String getKey();", "title": "" }, { "docid": "2b9de6d07eea2a0dfbda01d5cd672b4a", "score": "0.5777768", "text": "java.lang.String getKey();", "title": "" }, { "docid": "2b9de6d07eea2a0dfbda01d5cd672b4a", "score": "0.5777768", "text": "java.lang.String getKey();", "title": "" }, { "docid": "2b9de6d07eea2a0dfbda01d5cd672b4a", "score": "0.5777768", "text": "java.lang.String getKey();", "title": "" }, { "docid": "2b9de6d07eea2a0dfbda01d5cd672b4a", "score": "0.5777768", "text": "java.lang.String getKey();", "title": "" }, { "docid": "2b9de6d07eea2a0dfbda01d5cd672b4a", "score": "0.5777768", "text": "java.lang.String getKey();", "title": "" }, { "docid": "2b9de6d07eea2a0dfbda01d5cd672b4a", "score": "0.5777768", "text": "java.lang.String getKey();", "title": "" }, { "docid": "2b9de6d07eea2a0dfbda01d5cd672b4a", "score": "0.5777768", "text": "java.lang.String getKey();", "title": "" }, { "docid": "3c37ea7a64aaf01534b48690d87b3a98", "score": "0.5686726", "text": "String getKey1Phonetic();", "title": "" }, { "docid": "d7d357c427d259ebe9f9f8e73ae4137e", "score": "0.56712145", "text": "com.google.protobuf.ByteString getColumnValue();", "title": "" }, { "docid": "09d2466028014d8035e3b69f59f7f1f5", "score": "0.56327295", "text": "public String getToKey() {\n return toKey;\n }", "title": "" }, { "docid": "a80d1fd49a9f250025ff2b8e769e675f", "score": "0.56300265", "text": "public String getKey() {\n\t\t}", "title": "" }, { "docid": "fccd7716ece252aa73f34f027746585c", "score": "0.5601951", "text": "io.bloombox.schema.base.ProductKey getKey();", "title": "" }, { "docid": "19ae0ef0b9c945403f7e15d454338464", "score": "0.56005615", "text": "public java.lang.String getPrimaryKey() {\n\t\treturn _t065baciudgene.getPrimaryKey();\n\t}", "title": "" }, { "docid": "7996a9b02196a7dbecea2b24e0cb0882", "score": "0.55841005", "text": "public abstract String getKey();", "title": "" }, { "docid": "7996a9b02196a7dbecea2b24e0cb0882", "score": "0.55841005", "text": "public abstract String getKey();", "title": "" }, { "docid": "7996a9b02196a7dbecea2b24e0cb0882", "score": "0.55841005", "text": "public abstract String getKey();", "title": "" }, { "docid": "05d91c5211019b33325655c28f728515", "score": "0.5578916", "text": "protected String getKey(T value) {\r\n return value.toString();\r\n }", "title": "" }, { "docid": "79ed93015d7b62ee1d38ab78a555f74e", "score": "0.5573129", "text": "public KeyType getKey();", "title": "" }, { "docid": "630aaad7cae9c777f59c0eca7994b362", "score": "0.5559574", "text": "public abstract Integer getKey();", "title": "" }, { "docid": "051c266bc394c34e8c93db4268b2cac8", "score": "0.5549636", "text": "String getKeyText();", "title": "" }, { "docid": "2b26a23737a6c16e6795c26da48159d5", "score": "0.5548517", "text": "@Override\n public TblVegeMappingInfo get(TblVegeMappingInfoPK key) {\n return (TblVegeMappingInfo) get(getReferenceClass(), key);\n }", "title": "" }, { "docid": "d9071eeb12121f1cacf9976ca4beb7bb", "score": "0.5540922", "text": "abstract public Tuple getValueForKey(int recno, Tuple key) throws SSException;", "title": "" }, { "docid": "5672bcd48cb7ba8fe857dba3657ed317", "score": "0.55331284", "text": "public String getKey() {\n\t\treturn id + \"\";\n\t}", "title": "" }, { "docid": "a0bdf283b7f8b8d875acc928caf1f779", "score": "0.5526245", "text": "public String getKey() { return this.key.get(); }", "title": "" }, { "docid": "e43ad043152ef058f82ae98c68bf3048", "score": "0.5503798", "text": "@Override\r\n\t\tpublic J getKey() {\n\t\t\treturn key;\r\n\t\t}", "title": "" }, { "docid": "f7c08c1530f3d9e729abbd15b9e2b387", "score": "0.54842603", "text": "public String toString() {return \"(\" + key + \",\" + value + \")\";}", "title": "" }, { "docid": "6b0c2219f13cb5d4e8de080cf7d17b49", "score": "0.54832953", "text": "@Override\n\tpublic String getKey() {\n\t\treturn \"4a9f2c433adcc2698ba7704faedeaf82\";\n\n\t}", "title": "" }, { "docid": "c86b2ad378af7deec3d069bbf2b502f3", "score": "0.5480974", "text": "public E getKey(){\n\t\treturn key;\n\t}", "title": "" }, { "docid": "f48d4d5eefe5831e3097d95e5f64de94", "score": "0.54801863", "text": "public Integer getKey_id() {\n return key_id;\n }", "title": "" }, { "docid": "694359a1161441b8bcbdc066ecba6a5d", "score": "0.5478364", "text": "public Comparable getColumnKey(int column) { return COLUMN_KEYS.get(column); }", "title": "" }, { "docid": "3afab114a6e4e5fd3b3400e160bc45bd", "score": "0.5475259", "text": "public String getCellPK() {\n\t\treturn col + \".\" + row;\n\t}", "title": "" }, { "docid": "a116bc218930999d1736d9376d97e27c", "score": "0.54534215", "text": "public int getKey() {\n\t\treturn associatedKey_;\n\t}", "title": "" }, { "docid": "e1adb521dae8e2b200176613834fdec4", "score": "0.5453083", "text": "public StrColumn getGoId() {\n return (StrColumn) (isText ? textFields.computeIfAbsent(\"go_id\", StrColumn::new) :\n getBinaryColumn(\"go_id\"));\n }", "title": "" }, { "docid": "be0884e6c64a8cca96c2af29154dfa40", "score": "0.54448384", "text": "public int getKey() {\r\n\t\t return this.key;\r\n\t }", "title": "" }, { "docid": "aa8115b71556d6434d4cf89887826ba2", "score": "0.54427034", "text": "public String getQueryKey()\n {\n if (getPrimaryKey() == null)\n {\n return \"\";\n }\n else\n {\n return getPrimaryKey().toString();\n }\n }", "title": "" }, { "docid": "2181dc9e45c62d19db4c5f5808366fe8", "score": "0.5439961", "text": "public String getValue(String key){\n\t\treturn rb.getString(key);\n\t}", "title": "" }, { "docid": "0b3740c7f88c4f58eb28bbf78cd24051", "score": "0.5426225", "text": "private String getGradeMapping(Double value) {\n\n if (gradeMap != null) {\n Iterator iter = gradeMap.keySet().iterator();\n while (iter.hasNext()) {\n String key = (String) iter.next();\n Double gradeValue = gradeMap.get(key);\n if(gradeValue.equals(value)) {\n return key;\n }\n }\n return null;\n }\n return null;\n }", "title": "" }, { "docid": "1e507117528f6b445ca765388252a15c", "score": "0.5406017", "text": "public int getKey(){\n return key;\n }", "title": "" }, { "docid": "ebe6130cf7d652056c999279350e062b", "score": "0.54035467", "text": "public String getKey() {\n \t\treturn this.key;\n \t}", "title": "" }, { "docid": "c02ba6675bdac746821d3090de51ec7e", "score": "0.539343", "text": "int getKey()\r\n {return key;}", "title": "" }, { "docid": "b140c938a0d5fdda19f2f99f263f3551", "score": "0.5391451", "text": "public String valueAtIdentifierOfRow(Row row) {\n\t\treturn valueAtIdentifierOfRow(row.getRowIndex());\n\t}", "title": "" }, { "docid": "3131e5911a5afd9001b51cf9327fcb48", "score": "0.53847784", "text": "protected String getKey() {\n/* 286 */ return this.key;\n/* */ }", "title": "" }, { "docid": "e6e7cbbb43c6fefa751613d71f0f03d5", "score": "0.53801256", "text": "@Override\n\tpublic Object getFieldValueByKey(String key){\n\t\tif(dbFieldMapping == null){\n\t\t\tdbFieldMapping = new HashMap<String, Method>();\n\t\t Class<? extends FlowInfo> cla=this.getClass();\t\t \n\t\t\ttry {\n\t\t\t\tdbFieldMapping.put(\"id\", cla.getDeclaredMethod(\"getId\"));\n\t\t\t\tdbFieldMapping.put(\"tableId\", cla.getDeclaredMethod(\"getTableId\"));\n\t\t\t\tdbFieldMapping.put(\"src_mac\", cla.getDeclaredMethod(\"getdataLayerSource\"));\n\t\t\t\tdbFieldMapping.put(\"dst_mac\", cla.getDeclaredMethod(\"getdataLayerDestination\"));\n\t\t\t\tdbFieldMapping.put(\"src_ip\", cla.getDeclaredMethod(\"getnetworkSource\"));\n\t\t\t\tdbFieldMapping.put(\"dst_ip\", cla.getDeclaredMethod(\"getnetworkDestination\"));\n\t\t\t\tdbFieldMapping.put(\"src_port\", cla.getDeclaredMethod(\"gettransportSource\"));\n\t\t\t\tdbFieldMapping.put(\"dst_port\", cla.getDeclaredMethod(\"gettransportDestination\"));\n\t\t\t\tdbFieldMapping.put(\"protocol\", cla.getDeclaredMethod(\"getnetworkProtocol\"));\n\t\t\t\tdbFieldMapping.put(\"byte_count\", cla.getDeclaredMethod(\"getByteCount\"));\n\t\t\t\tdbFieldMapping.put(\"pkg_count\", cla.getDeclaredMethod(\"getPacketCount\"));\n\t\t\t} catch (NoSuchMethodException | SecurityException e) {\n\t\t\t log.error(\"getFieldValueByKeys error: \"+e.getMessage());\n\t\t\t\treturn null;\n\t\t\t}\n\t\t}\n\t\tMethod m = dbFieldMapping.get(key);\t\t \n\t\ttry { \n\t\t\treturn m.invoke(this, new Object[0]);\n\t\t}catch(Exception e){\n\t\t\tlog.error(\"getFieldValueByKeys error: \"+e.getMessage());\n\t\t\treturn null;\n\t\t}\n\t}", "title": "" }, { "docid": "fe0bb526e36b15ce1454a5697a74987a", "score": "0.5374896", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.postgresql.v1.PerfDiag.PrimaryKey getKey() {\n return key_ == null ? yandex.cloud.api.mdb.postgresql.v1.PerfDiag.PrimaryKey.getDefaultInstance() : key_;\n }", "title": "" }, { "docid": "02d1a4f2eb68697da6f1a7ea8a152881", "score": "0.53718567", "text": "public String getRecordKey () throws MissingFieldException;", "title": "" }, { "docid": "0fac11f2484540777f041500c0833c6b", "score": "0.53658485", "text": "public String getValueField();", "title": "" }, { "docid": "3f223486c6699c565d0797dafd5fdf2e", "score": "0.5356159", "text": "public String getKey() {\n return \"\"; \n }", "title": "" }, { "docid": "7aabefbb6f51cc478a6fca86afe4b5c5", "score": "0.535513", "text": "@Override\n public int getKey() {\n return this.key;\n }", "title": "" }, { "docid": "e9356a8b572e911eceb4087141f59a86", "score": "0.5354852", "text": "@NonNull\n String getKey();", "title": "" }, { "docid": "093f71b22a1e8c96f838cb9b415786fe", "score": "0.5352925", "text": "public double getKey() {\n\t\treturn this.calculateKey();\n\t}", "title": "" }, { "docid": "f0bb72a9d7efeb26f7780c50ba54fca8", "score": "0.5345851", "text": "public byte[] getKeyColumnBytes() {\r\n\t\treturn getBytes(false);\r\n\t}", "title": "" }, { "docid": "e154e5cddef02322fd008e6bd4260ef6", "score": "0.53456765", "text": "@Override\n\tpublic String getMapKey()\n\t{\n\t\tsbTemp.delete(0, sbTemp.length());\n\t\tsbTemp.append(buildCellGrid.iECI);\n\t\tsbTemp.append(\"_\");\n\t\tsbTemp.append(buildCellGrid.iBuildingID);\n\t\tsbTemp.append(\"_\");\n\t\tsbTemp.append(buildCellGrid.iInterface);\n\t\tsbTemp.append(\"_\");\n\t\tsbTemp.append(buildCellGrid.kpiSet);\n\t\treturn sbTemp.toString();\n\t}", "title": "" }, { "docid": "b20e68f546d903d0e5e7130e5bf23945", "score": "0.5326244", "text": "public KEY getKey() {return key;}", "title": "" }, { "docid": "a9c9daca6bd2e6ab3b801cae703b43fb", "score": "0.5325087", "text": "java.lang.String getRoomKey();", "title": "" }, { "docid": "0ce7fc711c56af7ff94f8bd83e063ccf", "score": "0.53242624", "text": "private static String getVal(Cluster ClusterConn, String KeySpace, String tableName, String columnName, Row row) throws CassandraJoinsException\n {\n String ctype=getColumnType(ClusterConn,KeySpace,tableName, columnName);\n int valint=0;\n double valdouble=0;\n long vallong=0;\n BigInteger valbigint=null;\n boolean valbool=false;\n BigDecimal valdecimal=null;\n float valfloat=0;\n Date valdate=null;\n InetAddress valinet=null;\n ByteBuffer valbytes=null;\n\n switch(ctype)\n {\n case \"int\":\n valint=row.getInt(columnName);\n return new String(Integer.toString(valint));\n case \"bigint\":\n vallong=row.getLong(columnName);\n return new String(Long.toString(vallong));\n case \"varint\":\n valbigint=row.getVarint(columnName);\n return new String(valbigint.toString());\n case \"boolean\":\n valbool=row.getBool(columnName);\n return new String(Boolean.toString(valbool));\n case \"decimal\":\n valdecimal=row.getDecimal(columnName);\n return new String(valdecimal.toString());\n case \"float\":\n valfloat=row.getFloat(columnName);\n return new String(Float.toString(valfloat));\n case \"double\":\n valdouble=row.getDouble(columnName);\n return new String( Double.toString(valdouble));\n case \"blob\":\n valbytes=row.getBytes(columnName);\n return new String(Bytes.toHexString(valbytes));\n case \"ascii\":\n case \"text\":\n case \"varchar\":\n String val=row.getString(columnName);\n return new String(\"\\'\"+ val + \"\\'\");\n case \"inet\":\n valinet=row.getInet(columnName);\n return new String(\"\\'\" + valinet.toString().substring(1) + \"\\'\");\n case \"timestamp\":\n valdate=row.getDate(columnName);\n return new String(Long.toString(valdate.getTime()));\n case \"counter\":\n throw new CassandraJoinsException(\"Cannot Join tables with column type: counter. Keyspace:\"+ KeySpace + \" Table:\"+tableName+\" Column:\"+ columnName);\n default:\n if (!isCollectionType(ctype))\n throw new CassandraJoinsException(\"Unsupported type for Cassandra Joins. Keyspace:\"+ KeySpace + \" Table:\"+tableName+\" Column:\"+ columnName + \" Type:\"+ctype);\n\n if (ctype.startsWith(\"set\"))\n {\n String contenttype=ctype.substring(4,ctype.length()-1);\n boolean strliteral=false;\n\n if (contenttype.equals(\"text\") || contenttype.equals(\"ascii\") || contenttype.equals(\"varchar\") || contenttype.equals(\"inet\"))\n strliteral=true;\n\n Set<Object> valset=row.getSet(columnName, Object.class);\n Iterator<Object> si = valset.iterator();\n String result=\"{\";\n\n if (strliteral)\n result=result + \"\\'\" + si.next().toString() + \"\\'\";\n else\n result=result + si.next().toString();\n while (si.hasNext())\n {\n Object o= si.next();\n if (strliteral)\n result=result + \", \" + \"\\'\" + o.toString() + \"\\'\";\n else\n result=result + \", \" + o.toString();\n }\n return new String(result+\"}\");\n }\n else if (ctype.startsWith(\"list\"))\n {\n String contenttype=ctype.substring(5,ctype.length()-1);\n boolean strliteral=false;\n\n if (contenttype.equals(\"text\") || contenttype.equals(\"ascii\") || contenttype.equals(\"varchar\") || contenttype.equals(\"inet\"))\n strliteral=true;\n\n List<Object> vallist=row.getList(columnName, Object.class);\n Iterator<Object> li = vallist.iterator();\n String result=\"[\";\n\n if (strliteral)\n result=result + \"\\'\" + li.next().toString() + \"\\'\";\n else\n result=result + li.next().toString();\n while (li.hasNext())\n {\n Object o= li.next();\n if (strliteral)\n result=result + \", \" + \"\\'\" + o.toString() + \"\\'\";\n else\n result=result + \", \" + o.toString();\n }\n return new String(result+\"]\");\n }\n else if (ctype.startsWith(\"map\"))\n {\n String contenttype1=\"\";\n String contenttype2=\"\";\n int i=4;\n\n while ( (i<ctype.length()) && (ctype.charAt(i)!=','))\n {\n contenttype1+=ctype.charAt(i);\n i++;\n }\n\n i++;\n\n while ( (i<ctype.length()) && (ctype.charAt(i)!='>'))\n {\n contenttype2+=ctype.charAt(i);\n i++;\n }\n\n boolean strliteral1=false;\n boolean strliteral2=false;\n\n if (contenttype1.equals(\"text\") || contenttype1.equals(\"ascii\") || contenttype1.equals(\"varchar\") || contenttype1.equals(\"inet\"))\n strliteral1=true;\n\n if (contenttype2.equals(\"text\") || contenttype2.equals(\"ascii\") || contenttype2.equals(\"varchar\") || contenttype2.equals(\"inet\"))\n strliteral2=true;\n\n Map<Object,Object> valmap=row.getMap(columnName, Object.class, Object.class);\n Set<Map.Entry<Object,Object>> me = valmap.entrySet();\n String result=\"{\";\n Iterator<Map.Entry<Object,Object>> ei = me.iterator();\n Map.Entry<Object,Object> e=ei.next();\n\n if (strliteral1)\n result=result + \"\\'\" + e.getKey().toString() + \"\\'\";\n else\n result=result + e.getKey().toString();\n\n result+=\":\";\n\n if (strliteral2)\n result=result + \"\\'\" + e.getValue().toString() + \"\\'\";\n else\n result=result + e.getValue().toString();\n\n while (ei.hasNext())\n {\n e= ei.next();\n\n if (strliteral1)\n result=result + \", \" + \"\\'\" + e.getKey().toString() + \"\\'\";\n else\n result=result + \", \" + e.getKey().toString();\n\n result+=\":\";\n\n if (strliteral2)\n result=result + \"\\'\" + e.getValue().toString() + \"\\'\";\n else\n result=result + e.getValue().toString();\n }\n return new String(result+\"}\");\n }\n }\n return null;\n }", "title": "" }, { "docid": "bfea0f1fb3f3b26f37500ee22929eca7", "score": "0.5320479", "text": "public java.lang.String getTolocationkey () {\n\t\treturn tolocationkey;\n\t}", "title": "" }, { "docid": "4969ef6d9e35bc805ea5a90d8265bd07", "score": "0.5318712", "text": "String getKey2Phonetic();", "title": "" }, { "docid": "54c2a605cf4f31919e972aaa76e41507", "score": "0.5315368", "text": "protected abstract String getKeyPropertyId();", "title": "" }, { "docid": "7eb74b1f44297da19841874cb436f9f8", "score": "0.5314835", "text": "public String toString()\r\n {\r\n return key;\r\n }", "title": "" }, { "docid": "4617a9c52edeb22b02cf6dcc5d9a9e69", "score": "0.53136617", "text": "io.dstore.values.IntegerValue getFromRowNumber();", "title": "" }, { "docid": "05a8aea7b24f5c68835e210ec2925a7d", "score": "0.5311011", "text": "String getDatabaseColumn();", "title": "" }, { "docid": "792297a81b36957a96c374bda296f05f", "score": "0.5308828", "text": "public Key getKey(int rdr, int key);", "title": "" }, { "docid": "c90428b990d9ebede09eacbb288b9bb8", "score": "0.53041685", "text": "java.lang.String getKeyType();", "title": "" }, { "docid": "43bc477806f552d500526e89af765ecc", "score": "0.530293", "text": "yandex.cloud.api.mdb.postgresql.v1.PerfDiag.PrimaryKeyOrBuilder getKeyOrBuilder();", "title": "" }, { "docid": "c2d7fd7a559f19f5df0a70cd7c09d37b", "score": "0.5302721", "text": "private static String createKeyValue(Entity type) {\n StringBuffer value = new StringBuffer();\n int len = type.getPrimaryKeyColumns().length;\n for (int idx = 0; idx < len; ++idx) {\n if (idx > 0) {\n value.append(\"|\");\n }\n\n value.append(String.valueOf(idx));\n }\n\n return value.toString();\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "dfe7465933ad44ad61748ef36d700e5d", "score": "0.0", "text": "private void initWeb() {\n shoping_details_webview.getSettings().setJavaScriptEnabled(true);\n shoping_details_webview.getSettings().setSupportZoom(true);\n shoping_details_webview.getSettings().setLayoutAlgorithm(LayoutAlgorithm.SINGLE_COLUMN);\n shoping_details_webview.getSettings().setLoadWithOverviewMode(true);\n shoping_details_webview.getSettings().setUseWideViewPort(true);\n // http://115.28.69.240/boxing/app/shop_content.php?shop_id=1\n shoping_details_webview.loadUrl(Config.ip + Config.app\n + \"/shop_content.php?shop_id=\" + shop_id);\n\n }", "title": "" } ]
[ { "docid": "e5fa0eebc721dea67da872fd14413bc7", "score": "0.69744676", "text": "@Override\n\tpublic void formule() {\n\t\t\n\t}", "title": "" }, { "docid": "8b7f87c22e268a87686c66398c2c442b", "score": "0.6936331", "text": "@Override\r\n\t\t\tpublic void atras() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.6836411", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ec76ff8d70ced9d8135ad33b23353b4d", "score": "0.6624367", "text": "@Override\r\n\t\t\tpublic void adelante() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "82ab90ffadf9b8d43e60c8510a33beba", "score": "0.6623182", "text": "@Override\r\n\tpublic void morirse() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e3110a393bd4b870b4055aa9ed6efd87", "score": "0.66015315", "text": "@Override\n\tpublic void attaquer() {\n\t\t\n\t}", "title": "" }, { "docid": "a5f7a321f63abee65f0b9008f270490e", "score": "0.6594605", "text": "@Override\n\t\t\tpublic void competir() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65677965", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65677965", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65323734", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "7756cbf76fd6363807e17834db326bbc", "score": "0.6501866", "text": "@Override\n\t\t\tpublic void avanzar() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "bdceff0dc4130d850ab15d702b785449", "score": "0.63844895", "text": "@Override\n\tprotected void generate() {\n\t\t\n\t}", "title": "" }, { "docid": "14f6250e215aa66dcffb123fd6b7fd74", "score": "0.63381773", "text": "@Override\n\tpublic void entzünden() {\n\n\t}", "title": "" }, { "docid": "cd03efba12b5473dcc457b910fd92a0e", "score": "0.63222265", "text": "@Override\n\t\t\tpublic void sprout() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "070e1adb9bfd59cb643407a2dabe9b7a", "score": "0.6291592", "text": "private void hinzufügen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "469c90392fb12e4553574135278541f5", "score": "0.62385184", "text": "@Override\n\tpublic void attck() {\n\t\t\n\t}", "title": "" }, { "docid": "d3585587779dbdf33600e1670ca42099", "score": "0.6193195", "text": "@Override\n\tpublic void IngresoKromi() {\n\t}", "title": "" }, { "docid": "7c4f2f94b290de5507eb56a649c4fab9", "score": "0.61922914", "text": "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.61546874", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "093a096d6e96e05b160fe2406b1e8a2d", "score": "0.61053663", "text": "@Override\n\tpublic void parir() {\n\t\t\n\t}", "title": "" }, { "docid": "29cde3f10dab87cebafdd9412ef4b29f", "score": "0.6062187", "text": "@Override\r\n\tpublic void embala() {\n\t\t\r\n\t}", "title": "" }, { "docid": "7839d9b18f833d7ad1ccae8536c829da", "score": "0.60561824", "text": "@Override\r\n\tpublic void zielone_swiatlo() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0cd47ce21776ffa50dd678180ffe94e5", "score": "0.6003824", "text": "public void ayak() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c2c1f0ca9c7029b85142a2ab9536d708", "score": "0.5990595", "text": "@Override\n\tpublic void attaque() {\n\t\t\n\t}", "title": "" }, { "docid": "fa1a013b1df2f5f1062e1cc971135645", "score": "0.5987973", "text": "@Override\n\tpublic void mamar() {\n\t\t\n\t}", "title": "" }, { "docid": "70c63b539d1b6f883ad13008fbcaa6ce", "score": "0.59600407", "text": "@Override\n\tpublic void fiy(){\n\t\t\n\t}", "title": "" }, { "docid": "360bf42213adde0b962792c6cd6d8df7", "score": "0.5952374", "text": "@Override\r\n\t\tpublic void interg() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "6f1e0cfaa7350cf143896dace56978f5", "score": "0.59270483", "text": "@Override\n\tpublic void respirar() {\n\t\t\n\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59239364", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "dd66e8668788d27519d44caeb83b0c44", "score": "0.5923557", "text": "@Override\r\n\tpublic void operation() {\n\t\t\r\n\t}", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5902906", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5902906", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "9808ba3c113b79c3677f2c08c09e60a1", "score": "0.59020513", "text": "@Override\n\tpublic void resert() {\n\t\t\n\t}", "title": "" }, { "docid": "e05db3dd501cfaf4d9d1b128ca673f1b", "score": "0.58988667", "text": "@Override\n\tprotected void formRes() {\n\n\t}", "title": "" }, { "docid": "7f91c82c66ced12c5b193d3c89d68e4c", "score": "0.5883667", "text": "@Override\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "ea6be29351b2f6d99af3992f4a8fbd45", "score": "0.58685964", "text": "public void afficherEntreprise(){\r\n\t\t\r\n\t}", "title": "" }, { "docid": "3177b2be45c490e407b98d647e109c0d", "score": "0.58572376", "text": "@Override\n protected void initData()\n {\n\t\n }", "title": "" }, { "docid": "eea1284dac4ca57b790a13dcd1ad6bff", "score": "0.58401465", "text": "@Override\n protected void ucitaj() {\n //only because of 'extands rule'\n }", "title": "" }, { "docid": "e57f005733f2eb8590150b3f4542b844", "score": "0.5810564", "text": "@Override\n\tprotected void getData() {\n\t\t\n\t}", "title": "" }, { "docid": "af70f420bd21981aa44db6516064224d", "score": "0.58060104", "text": "@Override\n\tpublic int berechnen() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "ce91051d32625345f2bf3562abbb93de", "score": "0.5794177", "text": "@Override\n\tprotected void inicializar() {\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "94f32cdbe8afc400e05efbdb8d78c591", "score": "0.5788508", "text": "@Override\r\n\tpublic void borc_hesapla() {\n\t\t\r\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "aed26444304cfac4d695203c7d86e6c5", "score": "0.5769439", "text": "public void autTC05() {\r\n\r\n\t}", "title": "" }, { "docid": "9b56e05d631b1ea925ea2c139ee709ad", "score": "0.5763841", "text": "@Override\n\tpublic void adim7() {\n\n\t}", "title": "" }, { "docid": "5e6804b1ba880a8cc8a98006ca4ba35b", "score": "0.5761362", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57596046", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "a49b2d411619c6f2680e9b0e8c21a20f", "score": "0.57574755", "text": "private void erledigt() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8aac1da26498753495658c2bb9044b21", "score": "0.5751961", "text": "@Override\n public int getOrder() {\n return 0;\n }", "title": "" }, { "docid": "2bbeae4f0e92c95ecc07204851be4769", "score": "0.57508", "text": "@Override\n\tpublic void nyalakan() {\n\t\t\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8603393cbe27452fe30e396632c62eed", "score": "0.57415414", "text": "@Override\n\t\tpublic void postConstruct() {\n\t\t}", "title": "" }, { "docid": "37bf6e6ef01cf7dab163b5d3bedbc140", "score": "0.5740271", "text": "@Override\n\tpublic void som() {\n\t\t\n\t}", "title": "" }, { "docid": "92af0f4d75822a6723aebd9fcc92fafb", "score": "0.57394177", "text": "@Override\n protected void initData() {\n \n }", "title": "" }, { "docid": "c13e6a1b7c130afa9fb0f34225bea4ef", "score": "0.573645", "text": "protected void mo1555b() {\n }", "title": "" }, { "docid": "691b15fed469ddc176b9c9e6151dea65", "score": "0.5734636", "text": "@Override\n\tpublic void breathes()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "0f7672ee5ac14b05f31da4e1e34d7b49", "score": "0.5725253", "text": "@Override\r\n\tpublic void test8() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t}", "title": "" }, { "docid": "a22a3abb4b9b5de4ed8c054da445e9b0", "score": "0.5724528", "text": "@Override\r\n\tpublic void jugar() {\n\r\n\t}", "title": "" }, { "docid": "7fd3ef4778cae98af386c2c7c0aa5995", "score": "0.57231057", "text": "@Override\r\n\tpublic void nmi() {\n\t\t\r\n\t}", "title": "" }, { "docid": "90a583a9686287e3374351dca59e3033", "score": "0.5721244", "text": "@Override\r\n\tpublic void abrir() {\n\r\n\t}", "title": "" }, { "docid": "d629c4ad6266d296b13a93bb0c7f8c66", "score": "0.57099986", "text": "@Override\r\n public void init()\r\n {\n\r\n }", "title": "" }, { "docid": "7aadbda143e84de0144f7a8dadde423d", "score": "0.5701067", "text": "@Override\n protected void initData() {\n\n }", "title": "" }, { "docid": "7aadbda143e84de0144f7a8dadde423d", "score": "0.5701067", "text": "@Override\n protected void initData() {\n\n }", "title": "" }, { "docid": "f375646c5bc224c29261414f3cb81b04", "score": "0.56984305", "text": "@Override\n public int qualiteRelation() {\n return 0;\n }", "title": "" }, { "docid": "5592333c90e75bae58a686b24b05d894", "score": "0.5693882", "text": "@Override\n public String toString() {\n return null;\n }", "title": "" }, { "docid": "b2858312446172fa25a799c5367d2043", "score": "0.56896037", "text": "Smelting(){\r\n\r\n\t\t}", "title": "" }, { "docid": "9f7ae565c79188ee275e5778abe03250", "score": "0.56881124", "text": "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "title": "" }, { "docid": "20b42a0c3fee6c140a112d40354f4298", "score": "0.5686577", "text": "@Override\r\n\tpublic void prepara() {\n\t\t\r\n\t}", "title": "" }, { "docid": "92b8246d78d46bf0f60b46e17e797540", "score": "0.5685193", "text": "@Override\n\tpublic void init () {\n\t}", "title": "" }, { "docid": "57f5caef4402cc8ce13e81561eaa9e43", "score": "0.56787807", "text": "@Override\r\n\tpublic void pickUp() {\n\t\t\r\n\t}", "title": "" }, { "docid": "152818b619dcfcd5190a2f48bc75fa5f", "score": "0.56757474", "text": "@Override\n\tpublic void adim6() {\n\n\t}", "title": "" }, { "docid": "b6c641fa6ba40a5b14cc33cb07aa0671", "score": "0.5669649", "text": "@Override\n\tprotected void initData() {\n\t}", "title": "" }, { "docid": "b6c641fa6ba40a5b14cc33cb07aa0671", "score": "0.5669649", "text": "@Override\n\tprotected void initData() {\n\t}", "title": "" }, { "docid": "131c7dcebe8ac7fd010381a03bd0f405", "score": "0.5667569", "text": "@Override\r\n\tprotected void initActb() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "6392764d7ff297c1a478fc1669944649", "score": "0.5653691", "text": "@Override\n\tpublic void gostar_de_carne() {\n\t\t\n\t}", "title": "" }, { "docid": "2b53548295a92f80cb7814e7e3ead131", "score": "0.56503963", "text": "@Override\n\tString frighten() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "18c7036dd108c40b7a27469d8b92687c", "score": "0.5642345", "text": "@Override\n\tpublic void onLoadComplete() {\n\t\t\n\t}", "title": "" }, { "docid": "7b36e2fb2a778b8c30924f6f30758db2", "score": "0.56388146", "text": "private static void buscarId() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9bcd15a2298e73719d7c7326027b093b", "score": "0.56369984", "text": "@Override\n\tprotected void getData() {\n\n\t}", "title": "" } ]
cf9984729a80d36629600e0e0242f5c8
check if this number is in the largest form,
[ { "docid": "ab10c21c785af7b9d825f9bc8596c6d9", "score": "0.683073", "text": "public boolean check(int[] sequence){\n\t\tint temp=0; //if it is,output the number in inverted order\n\t\tfor(int i=sequence.length-1;i>=0;i--){\n\t\t\tif(sequence[i]<temp){\n\t\t\t\treturn true;\n\t\t\t}else{\n\t\t\t\ttemp=sequence[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"This is the largest number!\");\n\t\tfor(int j=sequence.length-1;j>=0;j--){\n\t\t\tSystem.out.print(sequence[j]);\n\t\t}\n\t\treturn false;\n\t}", "title": "" } ]
[ { "docid": "21016d9960e001c14c9bda3b93c2d269", "score": "0.64003736", "text": "private static int biggestNumber(int number) {\n List<Integer> digits = numbertoDigits(number);\n Collections.sort(digits);\n return digitToNumber(digits);\n }", "title": "" }, { "docid": "26237562f47ffbe893f39ac5bac5eac1", "score": "0.6349155", "text": "public boolean check(int number) {\n\t\treturn number <= max && !used[number];\n\t}", "title": "" }, { "docid": "79f9e87663c846de561d2b98830a4635", "score": "0.627754", "text": "public static void main(String[] args) {\n int [] nums= {200,30,-1,900,56,787,3000};\n \n int largest=nums[0];//200\n \n for(int n=1; n<nums.length; n++) {\n \t if (nums[n]>largest) {\n \t\t largest=nums[n];\n \t }\n System.out.println(\"largest num is \"+largest);\t \n}}", "title": "" }, { "docid": "3ccb3d5778fc4f84c1daf79835aa0bc5", "score": "0.62624955", "text": "public static void main(String[] args) {\n\t\tint myNUM1 = 10;\n\t\tint myNUM2 = 62;\n\t\tint myNUM3 = 61;\n\t\t\n\t\tif((myNUM1 > myNUM2) && (myNUM1 > myNUM3))\n\t\t{\n\t\t\tSystem.out.println(myNUM1 + \" is the biggest\");\n\t\t}\n\t\telse if((myNUM2 > myNUM3) && (myNUM2 > myNUM1))\n\t\t{\n\t\t\tSystem.out.println(myNUM2 + \" is the biggest\");\n\t\t}else \n\t\t{\n\t\t\tSystem.out.println(myNUM3 + \" is the biggest\");\n\t\t}\n\t}", "title": "" }, { "docid": "f87e014190eaa51023dbc161c83419b8", "score": "0.6260505", "text": "@Override\n\tpublic boolean heeftMaximum() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "c1c4608ed91e7e0863ea70ac18a4955d", "score": "0.6249161", "text": "static void ex7() {\n\t\tint max = 0;\n\t\tint[] array = { 1, 5, 3, 8, 2 };\n\n\t\tmax = array[0];\n\t\tfor (int i = 1; i < array.length; i++) {\n\t\t\tif (array[i] > max) {\n\t\t\t\tmax = array[i];\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(\"max : \" + max);\n\t}", "title": "" }, { "docid": "bea3ab4d281758aee204cdca524ac4fd", "score": "0.616242", "text": "public static boolean getLargestBadgerTest() {\r\n Sett test8 = new Sett();\r\n settFiller(test8); // the empty sett is filled with badgers of random sizes\r\n // checks whether the badger size for the largest badger is returned\r\n if (test8.getLargestBadger().getSize() != 67)\r\n return false;\r\n\r\n test8.settleBadger(96); // A badger larger than the current one is added\r\n // checks whether the method gets the largest badger of the updated BST\r\n if (test8.getLargestBadger().getSize() != 96)\r\n return false;\r\n return true; // true is returned if no errors are found\r\n }", "title": "" }, { "docid": "cb64045ffb9992f394ae9ef3cd6b4fa4", "score": "0.6136375", "text": "public boolean checkMaxDegree(int value)\n {\n return (value <= maxDegree || maxDegree == ROLE_CARDINALITY_INFINITY);\n }", "title": "" }, { "docid": "3495f771cd81a9118f1e75ccaba34375", "score": "0.61111796", "text": "public void testMaxJJ() {\n TestCase.assertEquals(\"Incorrect long max value\", 19088976000089L, Math.max((-19088976000089L), 19088976000089L));\n TestCase.assertEquals(\"Incorrect long max value\", 19088976000089L, Math.max(20, 19088976000089L));\n TestCase.assertEquals(\"Incorrect long max value\", (-20), Math.max((-20), (-19088976000089L)));\n }", "title": "" }, { "docid": "8eff2b409c26d68ceb8d8bc8326da84e", "score": "0.6048863", "text": "private static int nextGreaterNumber(int number) {\n List<Integer> digits = numbertoDigits(number);\n for (int i = digits.size() - 2; i >= 0; i--) {\n if (digits.get(i) < digits.get(i + 1)) {\n for (int j = digits.size() - 1; j > i; j--) {\n if (digits.get(j) > digits.get(i)) {\n int temp = digits.get(j);\n digits.set(j, digits.get(i));\n digits.set(i, temp);\n Collections.sort(digits.subList(i + 1, digits.size()));\n return digitToNumber(digits);\n }\n }\n }\n }\n return -1;\n }", "title": "" }, { "docid": "a264200f6441d1a472586815ee604c56", "score": "0.6045868", "text": "public boolean checkTriangleMax(long max, long x, long y)\n {\n \n \n return x + y > 0 && x + y <= max;\n \n }", "title": "" }, { "docid": "9bf3c2d87a24b110005b75129997dd2e", "score": "0.60320336", "text": "public int maxValue(){\r\n /*# YOUR CODE HERE */\r\n int maxnum = 0; // max number at 0\r\n for(int i = 0; i < allNumbers.length; i++){ //loops through all the numbers\r\n \r\n if(allNumbers[i] > maxnum){ //if i greater than max number then\r\n maxnum = allNumbers[i]; //set max num to i\r\n\r\n }\r\n\r\n }\r\n return maxnum; //returns maximum number in array\r\n\r\n }", "title": "" }, { "docid": "f811a5b4110ea71f6684c1c5007b4a5f", "score": "0.59959936", "text": "boolean isMaxend();", "title": "" }, { "docid": "3697cb877234365f5dd1578b1809cd52", "score": "0.5994016", "text": "int getMaxValue();", "title": "" }, { "docid": "fb195c425c166a5cecc53567df67c94f", "score": "0.5979275", "text": "public static int maxTest()\n\t{\n\t\tRandom r = new Random();\n\t\tboolean maxIsLast = true;\n\t\tfor (int i = 0; i < 100; i++)\n\t\t{\n\t\t\tint size = r.nextInt(99) + 2;\n\t\t\tint[] numbers = new int[size];\n\t\t\tint max = 0;\n\t\t\tfor (int j = 0; j < size; j++)\n\t\t\t{\n\t\t\t\tnumbers[j] = r.nextInt(100);\n\t\t\t\tif (numbers[j] > max)\n\t\t\t\t\tmax = numbers[j];\n\t\t\t}\n\t\t\t\n\t\t\tArrays.sort(numbers);\n\t\t\t\n\t\t\tif (numbers[size - 1] != max)\n\t\t\t{\n\t\t\t\tmaxIsLast = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (maxIsLast)\n\t\t\treturn 1;\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "6dc9021ac4f826f547db0b29df930aee", "score": "0.5967151", "text": "long getMax();", "title": "" }, { "docid": "55e96c19ec9f748d89cc37d83175a8ad", "score": "0.59634244", "text": "long max();", "title": "" }, { "docid": "4be212d660efe7a0beecba2798cbe39d", "score": "0.59631264", "text": "boolean hasUpperBound();", "title": "" }, { "docid": "ad9ec7021c97c3a0fd3af4f189dce9e3", "score": "0.59465814", "text": "public static int maximum(int x[]){\r\n int largest,i;\r\n largest=x[0];\r\n for(i=1; i<3; i++){\r\n if(x[i]>=largest){\r\n largest=x[i];\r\n }\r\n }\r\n return largest;\r\n }", "title": "" }, { "docid": "53595b6a0bf4ef075f3492e6ca2f0ef9", "score": "0.59410477", "text": "public boolean heeftMaximum()\n {\n return heeftMaximum;\n }", "title": "" }, { "docid": "fe44e085d5a0fe3658be28bea32274a4", "score": "0.5926628", "text": "public static void getNextLargestNumber(int number, int numOfDigits){\n\t\t\n\t}", "title": "" }, { "docid": "ba0b4516471f5353467715d499beabda", "score": "0.5923437", "text": "public static void findLargest(int arr[]){\n int larges = Integer.MIN_VALUE;\n int i = 0;\n for(; i<arr.length; i++){\n if(arr[i] > larges){\n larges = arr[i];\n }\n }\n System.out.println(\" largest element is: \"+ larges);\n }", "title": "" }, { "docid": "38002f7d8439eb1f30f934971256724f", "score": "0.5914794", "text": "public static boolean isOutLimit(int checkNum, int maxNum) {\r\n\t\tif (checkNum >= maxNum && checkNum > 0) {\r\n\t\t\treturn true;\r\n\t\t} else {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "fecb55b82654da0ec3815f8c75da01f4", "score": "0.59122556", "text": "public static long largestPrimeFactor(long input){\r\n\t\tLong[] pf = primeFactors(input);\r\n\t\tfor (int i=0; i<pf.length; i++){\r\n\t\t\t//System.out.println(pf[i]);\r\n\t\t}\r\n\t\treturn pf[pf.length-1];\r\n\t}", "title": "" }, { "docid": "a265522a9f55a5f60070c2df0d2b5b7d", "score": "0.5908305", "text": "public static void CheckLargest(int x, int y, int z) {\n\t\t\n\t\tif(x>y && x>z) {\n\t\t\tSystem.out.println(x + \" is greatest among \" + y + \" and \" + z);\n\t\t}\n\t\telse if (y>x && y>z) {\n\t\t\tSystem.out.println(y + \" is greatest among \" + x + \" and \" + z);\t\t\t\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(z + \" is greatest among \" + x + \" and \" + y);\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "42676d56914553e9c6031d1c3242f0fe", "score": "0.58983266", "text": "public static void main(String[] args) {\n int Num1=34;\n int Num2=45;\n int Num3=78;\n Scanner scan= new Scanner(System.in);\n System.out.println(\" Input the 1 st number:\");\n int num1 =scan.nextInt();\n\n System.out.println(\"Input the second number\");\n int num2=scan.nextInt();\n\n System.out.println( \"Input the third number\");\n int num3=scan.nextInt();\n\n if (num1>num2);\n if (num1>num3);\n System.out.println(\"Greatest number:\" + num1);\n\n if (num2>num1);\n if (num2>num3);\n System.out.println(\"Greatest number:\" + num2);\n\n if (num3>num1);\n if(num3>num2);\n System.out.println(\"Greatest number:\" +num3);\n\n\n\n }", "title": "" }, { "docid": "78fb51af38c69870d038f73aa5b5d52e", "score": "0.58963263", "text": "protected static int getMax(BlockStateInteger state) {\n/* 381 */ return state.max;\n/* */ }", "title": "" }, { "docid": "46f7218d761c5ab8a994afd9eb7c4788", "score": "0.587802", "text": "@Test\n public void getMaxNumberTest() {\n Max max = new Max();\n assertThat(15, is(max.getMaxNumber(15, 13)));\n }", "title": "" }, { "docid": "a7dc2beb6f01ab7d78ea01df23b8d708", "score": "0.5844277", "text": "private boolean ValidMax(double value){\r\n\t\treturn value > this._minValue;\r\n\t}", "title": "" }, { "docid": "a8de7d38ceb2439065912db4ceb780a4", "score": "0.5842469", "text": "public void testMaxII() {\n TestCase.assertEquals(\"Incorrect int max value\", 19088976, Math.max((-19088976), 19088976));\n TestCase.assertEquals(\"Incorrect int max value\", 19088976, Math.max(20, 19088976));\n TestCase.assertEquals(\"Incorrect int max value\", (-20), Math.max((-20), (-19088976)));\n }", "title": "" }, { "docid": "26762042522b8036b51ae8f1517e4bc3", "score": "0.5835333", "text": "@Test\n public void getMaxNumberTestFotThirdNumbers() {\n Max max = new Max();\n assertThat(17, is(max.getMaxNumber(15, 13, 17)));\n }", "title": "" }, { "docid": "7eb2f0793cf9d64c2fec7d7323e9f711", "score": "0.5834448", "text": "public static int getMaxValue(int[] numbers){\n int maxValue = numbers[0];\n for(int i=1;i<numbers.length;i++){\n if(numbers[i] > maxValue){\n maxValue = numbers[i];\n }\n }\n return maxValue;\n }", "title": "" }, { "docid": "477255ddc97ec240eb59c91700aca76d", "score": "0.58182234", "text": "public Number getMaxValue() {return max_value;}", "title": "" }, { "docid": "bf0c0909515e4a2b378cb9dc0f52d111", "score": "0.58161116", "text": "public static void main(String[] args) {\n\r\n\t\tint n1,n2,n3;\r\n\t\tScanner sc=new Scanner(System.in);\r\n\t\tSystem.out.println(\"Enter the value of number1 = \");\r\n\t\tn1=sc.nextInt();\r\n\t\t\r\n\t\tSystem.out.println(\"Enter the value of number2 = \");\r\n\t\tn2=sc.nextInt();\r\n\r\n\t\tSystem.out.println(\"Enter the value of number3 = \");\r\n\t\tn3=sc.nextInt();\r\n\t\t\r\n\t\t\r\n\t\tif(n1>n2 && n2>n3)\r\n\t\t{\r\n\t\t\tSystem.out.println(\"The number is largest number\" +n1);\r\n\t\t}\r\n\t\t\r\n\r\n\t\telse if(n2>n1 && n1>n3)\r\n\t\t{\r\n\t\t\tSystem.out.println(\"The number is largest number\" +n2);\r\n\t\t}\r\n\t\t\r\n\r\n\t\tif(n3>n1 && n1>n2)\r\n\t\t{\r\n\t\t\tSystem.out.println(\"The number is largest number\" +n3);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "8f7a0101bbb5a07427199c797f5d5f88", "score": "0.5813065", "text": "public int longestSequence(int num) {\n if (num == -1) {\n return Integer.BYTES;\n }\n int curLength = 0;\n int preLength = 0;\n int max = 1;\n while (num != 0) {\n if ((num & 1) == 1) { // current bit is a 1\n curLength++;\n } else if ((num & 1) == 0) { // current bit is a 0\n preLength = (num & 2) == 0 ? 0 : curLength;\n curLength = 0;\n }\n max = Math.max(max, preLength + 1 + curLength);\n num >>>= 1;\n }\n return max;\n\t}", "title": "" }, { "docid": "c177f745cdacff868f32850991ea06c9", "score": "0.58091277", "text": "public int max() {\n\t\tint maxNum = -12394917;\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\tif (array[i] > maxNum)\n\t\t\t\tmaxNum = array[i];\n\t\t}\n\t\treturn maxNum;\n\t}", "title": "" }, { "docid": "29750e40466312be512ce166dff18e56", "score": "0.5806604", "text": "public boolean hasMaxID() {\n\t\treturn getContainingSector(ID.valueOf(chordMax)) != null;\n\t}", "title": "" }, { "docid": "bc9b523c3feffdb9a7d503f9e13a353f", "score": "0.57998186", "text": "public static long largestPrimeFactor (ArrayList<Long> primes, long number)\r\n\t{\r\n\t\t\tlong result = 0;\r\n\t\t\tfor (int i=0; i<=9999; i++)\r\n\t\t\t{\r\n\t\t\t//\tSystem.out.print(number + \" divided by \" + primes.get(i));\r\n\t\t\t\tif (number % primes.get(i)==0)\r\n\t\t\t\tresult = primes.get(i);\t\t\t\t\r\n\t\t\t}\r\n\t\t\treturn result;\r\n\t}", "title": "" }, { "docid": "7868aa7d359ee57d451685c0cdc1ae2f", "score": "0.57883155", "text": "public static void main(String[] args) {\n\t\tScanner scan;\n\t\tint num1, num2, num3;\n\n\t\tscan = new Scanner(System.in);\n\t\tSystem.out.println(\"Enter 3 numbers please\");\n\t\tnum1 = scan.nextInt();\n\t\tnum2 = scan.nextInt();\n\t\tnum3 = scan.nextInt();\n\t\t//can be fixed with = sign\n\t\tif(num1>=num2&&num1>=num3) {\n\t\t\tSystem.out.println(num1+\" Is largest number\");\n\t\t}else if(num2>=num1&&num2>=num3) {\nSystem.out.println(num2+\" is largest number\");\n\t}else if (num3>=num2&&num3>=num1) {\n\t\tSystem.out.println(num3+\" is largest number\");\n\t}//else if(num1==num2&&num2==num3){\n\t\t//System.out.println(\"they are equal\");\n\t//}\n\tSystem.out.println(\"=====Another way========================\");\nif (num1==2&& num2==num3) {\n\tSystem.out.println(\"All number are equal\");\n}else {\n\tif(num1>=num2&&num1>=num3) {\n\t\tSystem.out.println(num1+\" Is largest number\");\n\t}else if(num2>=num1&&num2>=num3) {\nSystem.out.println(num2+\" is largest number\");\n}else if (num3>=num2&&num3>=num1) {\n\tSystem.out.println(num3+\" is largest number\");\n}\n}\n}", "title": "" }, { "docid": "b484ef0467f377d2aa9e596bfff9414e", "score": "0.5774856", "text": "public int getMaximum();", "title": "" }, { "docid": "1dc4afaa3bafc50f34f6820c6304a8ab", "score": "0.57742774", "text": "int getMax();", "title": "" }, { "docid": "1dc4afaa3bafc50f34f6820c6304a8ab", "score": "0.57742774", "text": "int getMax();", "title": "" }, { "docid": "77fd6ca75b0fa76fa77ee615f5057ef8", "score": "0.576907", "text": "public static void main(String[] args) {\n\n int product;\n int current;\n int greatestCurrent = 0;\n for (int i = 100; i <= 999; i++) {\n for (int j = 100; j <= 999; j++) {\n product = i * j;\n if (isPalindrome(Integer.toString(product))) {\n current = product;\n if (current > greatestCurrent) {\n greatestCurrent = current;\n }\n }\n }\n }\n System.out.println(\"Greatest palindrome is: \" + greatestCurrent);\n }", "title": "" }, { "docid": "4546b9be6bb09cc21d02a87938738911", "score": "0.5763079", "text": "static\nint\nisUgly(\nint\nno) \n\n{ \n\nno = maxDivide(no, \n2\n); \n\nno = maxDivide(no, \n3\n); \n\nno = maxDivide(no, \n5\n); \n\n\nreturn\n(no == \n1\n)? \n1\n: \n0\n; \n\n}", "title": "" }, { "docid": "301fa5be8bc38aeb0d7803df07f93fd1", "score": "0.57484037", "text": "private int findLargestValue(float[] data){\n float maximum = 0;\n int c, location = 0;\n maximum = data[0];\n\n for(c = 1; c < data.length; c++){\n if(Float.compare(data[c], maximum) > 0){\n maximum = data[c];\n location = c;\n }\n }\n\n return location;\n }", "title": "" }, { "docid": "8089e8827978f698ea33fd1a2c2f4661", "score": "0.57443833", "text": "public Number getMax()\n {\n return _max;\n }", "title": "" }, { "docid": "845d2104b3ff55740409bd8ab8789732", "score": "0.5741234", "text": "static int maximumNumber(int[] array) {\n\t\tSystem.out.println(\"\\\"the array maximum value is\\\"\");\n\t\tint maxValue = array[0];\n\t\tfor (int i = 0; i < array.length; i++)\n\t\t\tif (array[i] > maxValue) {\n\t\t\t\tmaxValue = array[i];\n\t\t\t}\n\t\treturn maxValue;\n\t}", "title": "" }, { "docid": "15ec19f6aa77bfb40fe5475a9af19ed4", "score": "0.57386583", "text": "public static void main(String args[]){\n int x, y, z;\n int largest;\n int smallest;\n Scanner input =new Scanner(System.in);\n \n System.out.println(\"Enter the three numbers\");\n x=input.nextInt();\n y=input.nextInt();\n z=input.nextInt();\n /*using 3= 123,132,213,231,312,321*/\n if(x>y && x>z){\n largest=x;\n }else if(y>z && y>x){\n largest=y;\n }else{\n largest=z;\n }\n \n System.out.println(\"The largest of the three numbers is \"+ largest); \n \n }", "title": "" }, { "docid": "395bfdde4921335fe36dc72fa7298dce", "score": "0.5735332", "text": "private int Maxx( int[] array ) {\n if ( array == null )\n return 0;\n int res = 0;\n\n for ( int i = 0; i < array.length; i++ )\n if ( array[ i ] > res )\n res = array[ i ];\n\n return res;\n\n }", "title": "" }, { "docid": "4972b3a108d55a023074781636b4f253", "score": "0.5725085", "text": "@Test\n public void givenThreeIntegers_FindMaxOfThem_ReturnMaximumThree() {\n Integer maxInteger = maxObject.checkMaximum(5,12,33,54);\n Assert.assertEquals((Integer) 54, maxInteger);\n }", "title": "" }, { "docid": "7c88132ab5411c3a260eb775cd9efa56", "score": "0.572181", "text": "private boolean checkIndex(int number)\n {\n if (number >= MAX_NUM_BOXES || number < 0)\n return false;\n return true;\n }", "title": "" }, { "docid": "9c449958317a6bc091a330b1f9163d13", "score": "0.57027394", "text": "int getMaxVal(){\n\t\tint max = 0;\n\n\t\t//Loop through each entry, if the entry's value is greater than the current max, set the current max to it\n\t\tfor(Entry<String, Integer> e : data.entrySet()){\n\t\t\tmax = (e.getValue() > max) ? e.getValue() : max;\n\t\t}\n\t\treturn max;\n\t}", "title": "" }, { "docid": "92925697d69637ddadd350f8a56f3a28", "score": "0.570114", "text": "public final boolean greaterThan(final fix32 other) {\n return this.val > other.val;\n }", "title": "" }, { "docid": "791b0026d0e974306604f6ae31b32680", "score": "0.56887853", "text": "public static int maxValue(int[] numbers){\n Arrays.sort(numbers);\n return numbers[numbers.length-1];\n }", "title": "" }, { "docid": "44260fbce6bb34510831ea3b30139012", "score": "0.5684099", "text": "static Float num_max(float[] numeros){\r\n if (numeros.length >0){\r\n Float mayor = numeros[0];\r\n \r\n for (Float n : numeros){\r\n if (n > mayor){\r\n mayor = n;\r\n }\r\n } \r\n return mayor;\r\n }else{\r\n return null;\r\n }\r\n }", "title": "" }, { "docid": "5a6ad8fd80860198f4d7d985e0d57bfb", "score": "0.5682774", "text": "public abstract long max();", "title": "" }, { "docid": "1c247b2f5be034662df467d51ca3b6a8", "score": "0.56796336", "text": "int maxOf(int a, int b) {\n return (a > b) ? a : b;\n }", "title": "" }, { "docid": "6cb4da3eba9ba6edc0be38a17df965f0", "score": "0.5676181", "text": "public int findMaxPrime( )\n {\n\t\treturn 0;\n }", "title": "" }, { "docid": "dd66be0d2913ead907588ca34d969846", "score": "0.56681883", "text": "@Test\n public void givenThreeIntegers_FindMaxOfThem_ReturnMaximumOne() {\n Integer maxInteger = maxObject.checkMaximum(5,2,1,3);\n Assert.assertEquals((Integer) 5, maxInteger);\n }", "title": "" }, { "docid": "ce6941f00f8d4afaf146e1d2f0e8547f", "score": "0.5661181", "text": "public boolean find132pattern(int[] nums) {\n int n = nums.length;\n Stack<Integer> st = new Stack<>();\n int secondMax = Integer.MIN_VALUE;\n\n for (int x = n - 1; x >= 0; x--) {\n if (nums[x] < secondMax)\n return true;\n\n while (!st.isEmpty() && st.peek() < nums[x])\n secondMax = Math.max(st.pop(), secondMax);\n\n st.push(nums[x]);\n }\n return false;\n }", "title": "" }, { "docid": "54a45614cd2448e7347af8de5cc89689", "score": "0.5658256", "text": "private static int getHighestSquareNumber() {\r\n\t\tint highestNumber = LOWEST_SQUARE_NUMBER;\r\n\t\tfor (Square square : SquaresData.squaresAll) {\r\n\t\t\tif (square.getNumber() > highestNumber) {\r\n\t\t\t\thighestNumber = square.getNumber();\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn highestNumber;\r\n\t}", "title": "" }, { "docid": "819068152f6891b7f7db535675ccdb29", "score": "0.5650427", "text": "public static boolean isUnderGameLimit(int value) {\n\n if (value > 21) {\n return false;\n } else {\n return true;\n }\n}", "title": "" }, { "docid": "850c5d87c7479c00fd8c48a8b2b67265", "score": "0.564801", "text": "private boolean check(int num) {\n if (num >= N || num < 0) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "340695bdb0011d61c4ee2f4aef1363c2", "score": "0.5640776", "text": "private static boolean canSplit(int[] nums, int currentMax, int m) {\n int noOfSubArr = 1;\n int curSum=0;\n\n for(int num:nums){\n curSum+=num;\n if(curSum>currentMax){\n noOfSubArr++;\n curSum = num;\n if(noOfSubArr>m){\n return false;\n }\n }\n\n\n }\n return true;\n }", "title": "" }, { "docid": "ca68cfe65a90fef1326888f9cd7c379d", "score": "0.56374884", "text": "public static int getLargestPrime(int number) {\n if (number < 0)\n return -1;\n int div = 2;\n int prime = -1;\n\n while (number > 1) {\n if (number % div == 0) {\n prime = number;\n number /= div;\n System.out.println(prime);\n if (number == 1) //podzielona przez sama siebie daje 1 jesli nie to znaczy ze jest wieksza\n {\n System.out.println(\"div = \" + div);\n break;\n }\n } else\n div++;\n }\n\n return prime;\n }", "title": "" }, { "docid": "0efa181bcdf4572aca51fe52c9ea6daf", "score": "0.5627032", "text": "@Test\n\tpublic void maxNumberAtFirstPos_ShouldReturnSame() {\n\t\tInteger num_arr[] = new Integer[] { 3, 2, 1 };\n\t\t//System.out.println(testObj.findMaximum(Arrays.stream(num_arr)).getClass().getName());\n\t\tassertEquals(3, (int)testObj.findMaximum(Arrays.stream(num_arr)));\n=======\n\t\tassertEquals(3, testObj.maxNumber(Arrays.stream(num_arr)));\n\t}", "title": "" }, { "docid": "dc2b806da4e747514dc5bbcdc939e8f1", "score": "0.56235665", "text": "int main()\n{\n int n,m;\n cin>>n>>m;\n int a[n][m];\n int i,j;\n for(i=0;i<n;i++)\n {\n for(j=0;j<m;j++)\n {\n cin>>a[i][j];\n }\n }\n int max;\n for(i=0;i<n;i++)\n {\n max=a[i][0];\n for(j=0;j<m;j++)\n {\n if(a[i][j]>max)\n max=a[i][j];\n }\n cout<<max<<\"\\n\";\n }\n \n}", "title": "" }, { "docid": "2dc1c7e5a24934dd6e24d08bf041cab5", "score": "0.56218135", "text": "@Test\n public void givenThreeIntegers_FindMaxOfThem_ReturnMaximumTwo() {\n Integer maxInteger = maxObject.checkMaximum(15,22);\n Assert.assertEquals((Integer) 22, maxInteger);\n }", "title": "" }, { "docid": "57444c7da3debf469a31a21ef623ceca", "score": "0.5617663", "text": "public Number getMaximum() {\n\t\treturn maximum;\n\t}", "title": "" }, { "docid": "5fb7588a202b30688b9b2555fd80ade6", "score": "0.56159645", "text": "public boolean greaterOrEquals(BigInteger t) {\n\t\treturn isNegative(subtract(t).value) ? false : true;\n\t}", "title": "" }, { "docid": "b4d2229b783263a7e91f74da52901c9e", "score": "0.5615122", "text": "int getMax() throws NoSuchElementException;", "title": "" }, { "docid": "0f5aba6987cc6637264682831cb35e60", "score": "0.5614477", "text": "public boolean powerOfThree(int num) {\n\t\t// consider the number which is highest power of 3 (3^19) in int range\n\t\tint maxPower = 1162261467;\n\n\t\t// return whether the given number completely divides maxpower number\n\t\treturn (num > 0) && (maxPower % num == 0);\n\t}", "title": "" }, { "docid": "d0430078fabfe19a0ee2430693d63dfa", "score": "0.5610454", "text": "public int findMax(int[] array){\n int largest = 0;\n for(int x : array){\n if (x > largest)\n largest = x;\n }\n return largest;\n }", "title": "" }, { "docid": "d6a773b3352d2d51dade6fdfdd570790", "score": "0.5607262", "text": "private HNode isNotMaxNumberInTheBlockAndIsMaxNotParent(HNode node) {\n try {\n int weight = node.getWeight();\n SortedArrayList<HNode> nodes = mapOfBlocks.get(weight);\n for (int i = nodes.size() - 1; i >= 0; i--) {\n HNode n = nodes.get(i);\n if (n.getOrder() <= node.getOrder())\n return null;\n if (n.getOrder() != node.getParent().getOrder())\n return n;\n }\n } catch (NullPointerException ignored) {\n\n }\n return null;\n }", "title": "" }, { "docid": "baf8b12dcf03eb181a3f3c58975074bd", "score": "0.56031764", "text": "private boolean isHpMaximum() {\n return getMaximumHp() == getCurrentHp();\n }", "title": "" }, { "docid": "f117b6fb13b3b90d1829ba378f7c95b0", "score": "0.56003374", "text": "private static long findMax(long[]array)\n\t{\n\t\tlong max = array[0];\n\t\tfor (int i =1;i<array.length;i++){\n\t\t\tif (array[i] > max){\n\t\t\t\tmax = array[i];\n\t\t\t}\n\t\t}\n\t\treturn max;\n\t}", "title": "" }, { "docid": "fe1ecd20a66b3955eb040dd7a81d28df", "score": "0.5597733", "text": "public static void arrayMaxNum(int[]arr) {\n\nint max=arr[0];\nfor(int each:arr){\n if(each>max){\n max=each;\n }\n}\n System.out.println(\"Maximum number is: \"+max);\n\n\n\n\n\n\n\n\n\n\n\n\n }", "title": "" }, { "docid": "6c126dcc62c1e2107481feed61ee230f", "score": "0.55944693", "text": "boolean hasMaxVersions();", "title": "" }, { "docid": "41bd550bb2f961a5d00def6b6ae80e94", "score": "0.55900455", "text": "int max(int a, int b) { return (a > b) ? a : b;}", "title": "" }, { "docid": "a17e7be451783cecfeb4977d6873b1a4", "score": "0.55876833", "text": "private boolean validateCapacity(int number) {\n return (number / 1000 != 0) && (number / 10000 == 0);\n }", "title": "" }, { "docid": "f053bfe13c49eb0a9c8da6e4e1507ed1", "score": "0.558588", "text": "public static int max (int[] tab) {\n \tint m = tab[0];\n \tfor (int i = 1; i < tab.length; i++) {\n \t\tif (tab[i] > m) {\n \t\t\tm = tab[i];\n \t\t}\n \t}\n \treturn m;\n }", "title": "" }, { "docid": "432a8d23b82c9625e0941bde8f372ce1", "score": "0.55844504", "text": "@Test\n public void givenThreeFloatNumber_FindMaxOfThem_ReturnMaximumOne() {\n Float maxFloat = maxObject.checkMaximum(55.36f,22.1f,3.54f,32.25f,27.35f);\n Assert.assertEquals((Float) 55.36f, maxFloat);\n }", "title": "" }, { "docid": "bb4b24f5f9d6e7b65d50c3d51c111670", "score": "0.5577822", "text": "public boolean isSetMax() {\n return EncodingUtils.testBit(__isset_bitfield, __MAX_ISSET_ID);\n }", "title": "" }, { "docid": "906b525d5c2ffcb20c3502e4da62e2b2", "score": "0.55772513", "text": "private boolean checkMaxHeight() {\n\t\tboolean b=false;\n\t\tfor(int i=0;i<width;i++) {\n\t\t\tif(maxHeight<heights[i]) {\n\t\t\t\treturn false;\n\t\t\t}else {\n\t\t\t\tif(heights[i]==maxHeight)\n\t\t\t\t\tb=true;\n\t\t\t}\n\t\t}\n\t\treturn b;\n\t}", "title": "" }, { "docid": "09cef16755ee61d46687b8b7ccf5ed94", "score": "0.5573353", "text": "public int largestPalindrome(int n) \n {\n if(n == 1)\n return 9;\n // if n = 3 then upperBound = 999 and lowerBound = 100\n int upperBound = (int) Math.pow(10, n) - 1;\n int lowerBound = (int) Math.pow(10, n - 1);\n \n // represents the first half of the maximum assumed palindrom.\n // e.g. if n = 3 then maxNumber = 999 x 999 = 998001 so firstHalf = 998\n long maxNumPossible = (long) upperBound * (long) upperBound;\n long firstHalf = maxNumPossible / (long) Math.pow(10, n);\n boolean found = false;\n long palindrome = 0;\n \n while(!found)\n {\n // creates maximum assumed palindrom\n // e.g. if n = 3 first time the maximum assumed palindrom will be 998 899\n palindrome = createPalindrome(firstHalf);\n \n // here i and palindrom/i forms the two factor of assumed palindrom\n for(long i = upperBound; i >= lowerBound; i--)\n {\n // if n= 3 none of the factor of palindrom can be more than 999 \n // or less than square root of assumed palindrom \n \n if((palindrome / i > maxNumPossible) || (palindrome > i * i))\n break;\n \n // if two factors found, where both of them are n-digits,\n \n if(palindrome % i == 0)\n {\n found = true;\n break;\n }\n }\n \n firstHalf--;\n } \n return (int) (palindrome % 1337);\n }", "title": "" }, { "docid": "d521461e78524776849fe948c40cf80d", "score": "0.55660176", "text": "public void findMax()\r\n {\r\n if(isEmpty())\r\n System.out.println(\"Empty\");\r\n else\r\n System.out.println(\"Max: \"+findMax(root));\r\n }", "title": "" }, { "docid": "6dd872e96e31bf3670d091059669223d", "score": "0.5564906", "text": "@Test\n public void givenThreeFloatNumber_FindMaxOfThem_ReturnMaximumTwo() {\n Float maxFloat = maxObject.checkMaximum(15.36f,22.1f);\n Assert.assertEquals((Float) 22.1f, maxFloat);\n }", "title": "" }, { "docid": "58331f1ce0960e773dd26f76dbf6e85b", "score": "0.556384", "text": "public int getMaxCardinality(int number) throws HL7Exception {\n\t\tif (number < 1 || number > length.size()) {\n\t\t\tthrow new HL7Exception(\"Can't retrieve cardinality of field \"\n\t\t\t\t\t+ number + \" from segment \" + this.getClass().getName()\n\t\t\t\t\t+ \" - there are only \" + fields.size() + \" fields.\");\n\t\t}\n\n\t\ttry {\n\t\t\treturn maxReps.get(number - 1); // fields #d from 1 to user\n\t\t} catch (Exception e) {\n\t\t\tthrow new HL7Exception(\"Can't retrieve max repetitions of field \"\n\t\t\t\t\t+ number + \": \" + e.getMessage());\n\t\t}\n\t}", "title": "" }, { "docid": "bdd73fdee2dd22912a35229404df3708", "score": "0.55596256", "text": "private int changeLargest(int largest, int num) {\r\n\t\t\r\n\t\tif (largest < num) {\r\n\t\t\tlargest = num;\r\n\t\t}\r\n\t\treturn largest;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "703db8071f329135d5a50e518943d0fb", "score": "0.5558886", "text": "public int max() {\n\t\tAPI_ABB arbol = this;\n\t\twhile(!arbol.raiz.hd.estaVacio()) {\n\t\t\tarbol = arbol.raiz.hd;\n\t\t}\n\t\tint nodoMin = arbol.raiz.getNumero();\n\t\treturn nodoMin;\n\t}", "title": "" }, { "docid": "70510632e0954b31d63bc625c5135933", "score": "0.5557389", "text": "private static int getMaxCount(int[] count) {\n\t\tint max = -100000000;\r\n\t\tfor(int i = 0 ; i < count.length ;i++ ) {\r\n\t\t\tif(max < count[i]) {\r\n\t\t\t\tmax = count[i];\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn max;\r\n\t}", "title": "" }, { "docid": "205cca4f5e5dc242607ac12e07b83734", "score": "0.5556488", "text": "String getMaxValue();", "title": "" }, { "docid": "035a1e5b39a9839a6530ecb27d439a0a", "score": "0.5555472", "text": "private static int mostDigitsIn(int[] arr) {\n int maxDigitsSoFar = 0;\n for (int num : arr) {\n int numDigits = (int) (Math.log10(num) + 1);\n if (numDigits > maxDigitsSoFar) {\n maxDigitsSoFar = numDigits;\n }\n }\n return maxDigitsSoFar;\n }", "title": "" }, { "docid": "cbf85fcf68f4902569c269961c0f437e", "score": "0.55536443", "text": "@Test\n\tpublic void testMaxInt() {\n\t\tInteger expected = 3;\n\t\tInteger actual1 = MaxOfThreeValues.findMax(3, 2, 1); // MAX INTEGER AT POSITION-1\n\t\tassertEquals(expected, actual1);\n\t\tInteger actual2 = MaxOfThreeValues.findMax(2, 3, 1); // MAX INTEGER AT POSITION-2\n\t\tassertEquals(expected, actual2);\n\t\tInteger actual3 = MaxOfThreeValues.findMax(1, 2, 3); // MAX INTEGER AT POSITION-3\n\t\tassertEquals(expected, actual3);\n\t}", "title": "" }, { "docid": "fd98551a85ac96de50ee9dfc518481b5", "score": "0.5543672", "text": "private int getMaxValue(Integer[] array){\r\n\t\tint min = array[0];\r\n\t\tfor (Integer elements : array) {\r\n\t\t\tif(elements > min)\r\n\t\t\t\tmin = elements;\r\n\t\t}\r\n\t\treturn min;\r\n\t}", "title": "" }, { "docid": "b2db76c694fbba71ca0c2e84d4bc5d4e", "score": "0.5537988", "text": "public static void main(String[] args) {\n\n int a[]={1,4,5,7,7,8};\n int max=a[0];\n for (int i =0;i<a.length;i++){\n if (a[i]>max){\n max=a[i];\n }\n }\n System.out.println(max);\n\n int Max=Integer.MIN_VALUE;\n\n for (int i=0;i<a.length;i++){\n if (a[i]>Max){\n Max=a[i];\n }\n }\n System.out.println(Max);\n\n\n }", "title": "" }, { "docid": "2101a8e833b78b497a11d967f2d5881b", "score": "0.55364066", "text": "static int max(int arr[])\n {\nint m=arr[0];\nfor(int i=0;i<arr.length;i++)\n{\nif(m<arr[i])\n{\n m=arr[i];\n}\n}\nreturn m;\n }", "title": "" }, { "docid": "48049da9a5a5a7bcb8d1aa761918e9eb", "score": "0.55347633", "text": "int getMaxValueOfData() {\r\n return biggestValueInArray;\r\n }", "title": "" }, { "docid": "ef7d8352a4a0fb9a7f95a9a76539ec4c", "score": "0.5529914", "text": "private int findLargest(List<Integer> allPlayersScores) {\n\t\tjava.util.Iterator<Integer> iterator = allPlayersScores.iterator();\n\t\tint theScore = 0;\n\t\twhile(iterator.hasNext()){\n\t\t\tint curScore = iterator.next();\n\t\t\tif(curScore>theScore){\n\t\t\t\ttheScore = curScore;\n\t\t\t}\n\t\t}\n\t\treturn theScore;\n\t}", "title": "" }, { "docid": "db9ad55c7443c22e10ee30cb70963055", "score": "0.55284154", "text": "protected abstract int getMax();", "title": "" } ]
6301b928ac0d93c304624d0e8344737c
Retrieves all songs that belong to the specified album.
[ { "docid": "1a196b0d9e14fa222490e6d207fb3d97", "score": "0.7661632", "text": "public static List<SongEntity> findByAlbum(EntityManager em,\r\n AlbumEntity album)\r\n {\r\n return findByAlbum(em, album.getId());\r\n }", "title": "" } ]
[ { "docid": "6ff06aeb7a951b4a758d84b4e8b2c6f6", "score": "0.7840476", "text": "List<Song> getSongs(String artist, String album);", "title": "" }, { "docid": "197923852a25d59282811dbf5aad4a8d", "score": "0.7413743", "text": "public static List<SongEntity> findByAlbum(EntityManager em, Long albumID)\r\n {\r\n @SuppressWarnings(\"unchecked\")\r\n List<SongEntity> songs =\r\n em.createNamedQuery(QUERY_FIND_BY_ALBUM)\r\n .setParameter(PARAM_ALBUM, albumID).getResultList();\r\n return songs;\r\n }", "title": "" }, { "docid": "a8bbf86dc13b9a592ba95b3793236d80", "score": "0.7190429", "text": "@Query(value = \"call FIND_SONGS_BY_ALBUM_ID(:albumId)\", nativeQuery = true)\n\tpublic List<Song> findSongsByAlbumSP(@Param(\"albumId\") Integer albumId);", "title": "" }, { "docid": "15adb7abf144aac55908938ecce07afd", "score": "0.7139654", "text": "@Query(value = \"select * from songs where Album_Id = :albumId\", nativeQuery = true)\n\tpublic List<Song> findAllByAlbumId(@Param(\"albumId\") Integer id);", "title": "" }, { "docid": "73dd823a9e8f3f6bb2122451b0bf671d", "score": "0.7071926", "text": "List<AlbumArtist> getAlbums(String artist);", "title": "" }, { "docid": "3881641f8f450ec685ea51cb636220f8", "score": "0.705682", "text": "@Query(\"SELECT s FROM Song s \" +\n\t\t\t\"INNER JOIN FETCH s.file \" +\n\t\t\t\"INNER JOIN FETCH s.album a \" +\n\t\t\t\"INNER JOIN FETCH a.artist \" +\n\t\t\t\"WHERE a.id = ?1\")\n\tpublic List<Song> findByAlbumId(Long aAlbumId, Sort aSort);", "title": "" }, { "docid": "c143366235985cda1d334743d7bb696c", "score": "0.695536", "text": "private void loadAlbums() {\n String selectStr = null;\n String[] selectArgs = {\"\"};\n\n if (mArtistId > 0) {\n selectStr = MediaStore.Audio.Media.ARTIST_ID + \" = ?\";\n selectArgs[0] = Long.toString(mArtistId);\n } else {\n selectArgs = null;\n }\n\n //get album name and ids\n String[] projection = {MediaStore.Audio.Media.ALBUM_ID,\n MediaStore.Audio.Media.ALBUM};\n\n //search for albums for all artists or just the passed on\n ContentResolver contentResolver = getContentResolver();\n Cursor cursor = contentResolver.query(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI,\n projection, selectStr, selectArgs, projection[1]);\n\n if (cursor != null && cursor.moveToFirst()) {\n int albumCol = cursor.getColumnIndex(android.provider.MediaStore.Audio.Media.ALBUM);\n int albumIdCol = cursor.getColumnIndex(android.provider.MediaStore.Audio.Media.ALBUM_ID);\n HashSet<Long> albumIds = new HashSet<Long>();\n\n do {\n //if this has already been added skip this round\n Long albumId = cursor.getLong(albumIdCol);\n if (albumIds.contains(albumId)) continue;\n\n albumIds.add(albumId);\n\n Album a = new Album();\n a.setId(albumId);\n a.setName(cursor.getString(albumCol));\n\n mAlbumList.add(a);\n\n } while (cursor.moveToNext());\n }\n }", "title": "" }, { "docid": "2ef09da4c5f40eba0d18cf01fe4f85f3", "score": "0.67377645", "text": "public List<Song> allSongs() {\n\t\treturn songRepo.findAll();\n\t}", "title": "" }, { "docid": "56017bc351b3444635f9b3915cd18e76", "score": "0.67086935", "text": "@Override\n\tpublic ArrayList<Song> getSongs() {\n\t\t// If albumTracks already contains songs, return the list.\n\t\tif (this._albumTracks != null && this._albumTracks.size() < 1) {\n\t\t\treturn this._albumTracks;\n\t\t}\n\t\tthis.PopulateSongs();\n\t\treturn this._albumTracks;\n\t}", "title": "" }, { "docid": "4a50b91aeab5d263114d132442c855d1", "score": "0.66877323", "text": "@Override\r\n\tpublic List<Album> getAlbum(String aId) {\n\t\treturn ad.getAlbum(aId);\r\n\t}", "title": "" }, { "docid": "4734292aadb3a15655219af3e84d3aa4", "score": "0.6604252", "text": "public List<Album> getAlbums() {\n\t\tArrayList<Album> albumList = new ArrayList<Album>();\r\n\t\tConnection conn = DatabaseInfo.getConnection();\r\n\t\t\r\n\t\tAlbum a;\r\n\t\tBandBean b = new BandBean();\r\n\t\t\r\n\t\tString query = \"SELECT AlbumTitle, b.BandName, AlbumYear, AlbumNumber, AlbumID FROM (Albums AS a JOIN Bands AS b ON a.BandID = b.BandID)\";\r\n\t\t\r\n\t\ttry{\r\n\t\t\tPreparedStatement ps = conn.prepareStatement(query);\r\n\t\t\tResultSet rs = ps.executeQuery();\r\n\t\t\t\r\n\t\t\tArrayList<String> songs = new ArrayList<String>();\r\n\t\t\twhile(rs.next()) {\r\n\t\t\t\ta = new Album(rs.getString(\"AlbumTitle\"), Integer.parseInt(rs.getString(\"AlbumYear\")), b.getBand(rs.getString(\"b.BandName\")), Integer.parseInt(rs.getString(\"AlbumNumber\")),Integer.parseInt(rs.getString(\"AlbumID\")) );\r\n\t\t\t\tint albumID = Integer.parseInt(rs.getString(\"AlbumID\"));\r\n\t\t\t\tString query2 = \"SELECT SongTitle FROM (Songs AS s JOIN AlbumSongs AS a ON s.SongID = a.SongID) WHERE a.AlbumID = ?\";\r\n\t\t\t\tps = conn.prepareStatement(query2);\r\n\t\t\t\tps.setInt(1, albumID);\r\n\t\t\t\tResultSet rs2 = ps.executeQuery();\r\n\t\t\t\twhile(rs2.next()) {\r\n\t\t\t\t\tsongs.add(rs2.getString(\"SongTitle\"));\r\n\t\t\t\t}\r\n\t\t\t\ta.setSongTitles(songs);\r\n\t\t\t\talbumList.add(a);\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\trs.close();\r\n\t\t\t\r\n\t\t}catch (SQLException e){\r\n\t\t\tSystem.out.println(\"SQLException: \");\r\n\t\t\te.printStackTrace();\r\n\t\t\tthrow new RuntimeException(e);\r\n\t\t}\r\n\t\t\r\n\t\treturn albumList;\r\n\t}", "title": "" }, { "docid": "4cc8b4ff966277cec472a5600244f196", "score": "0.657908", "text": "List<Song> findAll();", "title": "" }, { "docid": "7d94f42eb8c9f8d9a4321886eaaf5fac", "score": "0.6570965", "text": "public Iterable<MediaMetadataCompat> searchMusicByAlbum(String query) {\n return searchMusic(MediaMetadataCompat.METADATA_KEY_ALBUM, query);\n }", "title": "" }, { "docid": "4a2b369540ad29c2b2ad025ab8994f38", "score": "0.65489244", "text": "public List<MediaMetadataCompat> searchMusicByAlbum(String query) {\n return searchMusic(MediaMetadataCompat.METADATA_KEY_ALBUM, query);\n }", "title": "" }, { "docid": "f9adfd8394d1f039ad9d7ac7814dbb5f", "score": "0.6491215", "text": "public List<Song> retrieveSongs() throws IOException;", "title": "" }, { "docid": "c3f0376d96d38f61a39b0988ccbcbe1e", "score": "0.6445421", "text": "public static Query<PictureAlbum> all() {\n return Model.all(PictureAlbum.class);\n }", "title": "" }, { "docid": "f8a99ca006037bcfd29bc4ee5792ea7e", "score": "0.64410734", "text": "@Override\r\n\tpublic List<Album> findAll() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "fe32f196187f769ba35078c8110d4ac0", "score": "0.64307916", "text": "@Override\r\n\tpublic List<Album> findBy(String query) {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "cb80c8a043706a3485e7392435068cfd", "score": "0.639788", "text": "public ArrayList<MediaBrowserCompat.MediaItem> getAlbumMediaItems() {\n final Uri uri = MediaStore.Audio.Albums.EXTERNAL_CONTENT_URI;\n final String _ID = MediaStore.Audio.Albums._ID;\n final String ARTIST_COLUMN = MediaStore.Audio.Albums.ARTIST;\n final String NAME_COLUMN = MediaStore.Audio.Albums.ALBUM;\n\n final String[] cursorColumns={_ID, NAME_COLUMN, ARTIST_COLUMN};\n final String orderby = NAME_COLUMN + \" COLLATE NOCASE\";\n\n final String where = null;\n ContentResolver cr = context.getContentResolver();\n Cursor albumsCursor = cr.query(uri, cursorColumns, where, null, orderby);\n\n ArrayList<MediaBrowserCompat.MediaItem> mediaItems = new ArrayList<>();\n MediaBrowserCompat.MediaItem mediaItem;\n try {\n while (albumsCursor.moveToNext()) {\n String id = albumsCursor.getString(0);\n String name = albumsCursor.getString(1);\n String artist = albumsCursor.getString(2);\n MediaDescriptionCompat mediaDescription = new MediaDescriptionCompat.Builder()\n .setTitle(name)\n .setSubtitle(artist)\n .setMediaId(\"__ALBUM__\"+id)\n .build();\n\n int flags = MediaBrowserCompat.MediaItem.FLAG_PLAYABLE | MediaBrowserCompat.MediaItem.FLAG_BROWSABLE;\n\n mediaItem = new MediaBrowserCompat.MediaItem(mediaDescription, flags);\n mediaItems.add(mediaItem);\n }\n } finally {\n albumsCursor.close();\n }\n\n return mediaItems;\n }", "title": "" }, { "docid": "20feacfc1e063ed83fc5e84aacc1352e", "score": "0.63721514", "text": "public List<Song> getAllSongs(Context context) {\n List<Song> allSongs = new ArrayList<>();\n String selection = MediaStore.Audio.Media.IS_MUSIC + \" != 0\";\n final String sortOrder = MediaStore.Audio.AudioColumns.TITLE + \" COLLATE LOCALIZED ASC\";\n\n Cursor cursor = null;\n try {\n cursor = context.getContentResolver()\n .query(MEDIA_CONTENT_URI, PROJECTIONS, selection, null, sortOrder);\n if (cursor != null) {\n cursor.moveToFirst();\n while (!cursor.isAfterLast()) {\n allSongs.add(convertCursorToSong(cursor));\n\n cursor.moveToNext();\n }\n }\n\n } catch (Exception e) {\n Log.e(TAG, e.toString(), e);\n } finally {\n if (cursor != null) {\n cursor.close();\n }\n }\n\n return allSongs;\n }", "title": "" }, { "docid": "982fb849031e0f34211d42e2dae3d476", "score": "0.6324423", "text": "public Iterable<MediaMetadataCompat> getMusicsByAlbum(String albumId) {\n final Uri uri = MediaStore.Audio.Media.EXTERNAL_CONTENT_URI;\n\n final String _ID = MediaStore.Audio.Media._ID;\n final String TITLE = MediaStore.Audio.Media.TITLE;\n final String ARTIST = MediaStore.Audio.Albums.ARTIST;\n final String ALBUM = MediaStore.Audio.Albums.ALBUM;\n final String ALBUM_ID = MediaStore.Audio.Albums.ALBUM_ID;\n\n final String DURATION_IN_MS = MediaStore.Audio.Media.DURATION;\n final String TRACK_NO = MediaStore.Audio.Media.TRACK;\n\n final String[] cursorColumns={_ID,TITLE, ARTIST, ALBUM, DURATION_IN_MS, TRACK_NO};\n final String orderby = TITLE + \" COLLATE NOCASE\";\n\n String selection = ALBUM_ID + \"=? AND \" + DURATION_IN_MS + \" > ?\";;\n String[] selectionArgs = new String [2];\n selectionArgs[0] = albumId;\n selectionArgs[1] = Integer.toString(Settings.getMinDurationInSeconds(context));\n\n ContentResolver cr = context.getContentResolver();\n Cursor tracksCursor = cr.query(uri, cursorColumns, selection, selectionArgs, orderby);\n ArrayList<MediaMetadataCompat> tracks = new ArrayList<>();\n\n try {\n while (tracksCursor.moveToNext()) {\n String id = tracksCursor.getString(0);\n String title= tracksCursor.getString(1);\n String artist = tracksCursor.getString(2);\n String album = tracksCursor.getString(3);\n Long durationInMs = tracksCursor.getLong(4);\n Long trackNo = tracksCursor.getLong(5);\n\n tracks.add(buildMetadataFromProperties(id,title,artist, album, durationInMs, trackNo));\n }\n } finally {\n tracksCursor.close();\n }\n\n return tracks;\n\n }", "title": "" }, { "docid": "ed0cde9910df462e07ac41e074cee106", "score": "0.6253417", "text": "@Query(\"SELECT s FROM Song s \" +\n\t\t\t\"INNER JOIN FETCH s.file \" +\n\t\t\t\"INNER JOIN FETCH s.album a \" +\n\t\t\t\"INNER JOIN FETCH a.artist \" +\n\t\t\t\"WHERE a.artist.id = ?1\")\n\tpublic List<Song> findByAlbumArtistId(Long aArtistId, Sort aSort);", "title": "" }, { "docid": "37f7ae5eff2dac8b1e091a975abb9966", "score": "0.62166613", "text": "public List<Album> getAlbums(){\n return this.AlbumList;\n }", "title": "" }, { "docid": "a0fce670582f3d5676df518d6f8f230c", "score": "0.62110776", "text": "@RequestMapping(path = \"songs\", method = RequestMethod.GET)\n public ResponseEntity<?> findAllSongs() {\n List<Song> songs = new ArrayList<>();\n for (Song song : this.repository.findAll()) {\n songs.add(song);\n }\n return new ResponseEntity<>(songs, HttpStatus.OK);\n }", "title": "" }, { "docid": "6f24b0b3a685a0916d5e7dbaf726fd73", "score": "0.6190624", "text": "public List<Songs> getAllSongs() throws SQLException\n {\n List<Songs> songs = new ArrayList<>();\n try (Connection con = db.getConnection())\n {\n Statement statement = con.createStatement();\n ResultSet rs = statement.executeQuery(\"SELECT * FROM Songs;\");\n while (rs.next())\n {\n int songId = rs.getInt(\"songId\");\n String title = rs.getString(\"title\");\n String artist = rs.getString(\"artist\");\n String genre = rs.getString(\"genre\");\n String duration = rs.getString(\"duration\");\n String songPath = rs.getString(\"songPath\");\n \n Songs song = new Songs(songId, title, artist, genre, duration, songPath);\n songs.add(song);\n }\n } catch (SQLException ex)\n {\n ex.printStackTrace();\n }\n return songs;\n }", "title": "" }, { "docid": "2b218c4c0125f25be66f7ec2b0492ed8", "score": "0.61771804", "text": "private void loadSongs() {\n String selection = MediaStore.Audio.Media.IS_MUSIC + \" != 0\";\n ContentResolver contentResolver = getContentResolver();\n Uri uri = MediaStore.Audio.Media.EXTERNAL_CONTENT_URI;\n Cursor cursor = contentResolver.query(uri, null, selection, null, null);\n\n if (cursor != null) {\n if (cursor.moveToFirst()) {\n do {\n String id = cursor.getString(cursor.getColumnIndex(MediaStore.Audio.Media._ID));\n String name = cursor.getString(cursor.getColumnIndex(MediaStore.Audio.Media.TITLE));\n String artist = cursor.getString(cursor.getColumnIndex(MediaStore.Audio.Media.ARTIST));\n String url = cursor.getString(cursor.getColumnIndex(MediaStore.Audio.Media.DATA));\n String album = cursor.getString(cursor.getColumnIndex(MediaStore.Audio.Media.ALBUM));\n String duration = cursor.getString(cursor.getColumnIndex(MediaStore.Audio.Media.DURATION));\n String albumID = cursor.getString((cursor.getColumnIndex(MediaStore.Audio.Media.ALBUM_ID)));\n String dateAdded = cursor.getString(cursor.getColumnIndex(MediaStore.Audio.Media.DATE_ADDED));\n\n if (Pattern.matches(\".*\\\\.mp3\", name)) {\n name = name.substring(0, name.length() - 4);\n }\n\n SongInfo s = new SongInfo(id, name, artist, url, album, Long.parseLong(duration), albumID, dateAdded);\n loadedSongs.add(s);\n } while (cursor.moveToNext());\n }\n cursor.close();\n\n songManager.initDB(this, loadedSongs);\n\n setTitle(loadedSongs.size() == 0 ? \"Songs\" : \"Songs (\" + loadedSongs.size() + \")\");\n\n songListFragment.initRecycler(loadedSongs);\n }\n }", "title": "" }, { "docid": "867b66e4227628a8fd1a476a22cd08bb", "score": "0.6146837", "text": "Album getAlbumById(int id);", "title": "" }, { "docid": "ac898a9238b37b4f97317fec0d9ce151", "score": "0.6082049", "text": "ArrayList<AlbumModel> getAllAlbumData(Context context) {\n ArrayList<AlbumModel> allAlbumData = new ArrayList<>();\n LinkedHashSet<ArrayList> allAlbums = new LinkedHashSet<>();\n Cursor cursor;\n String selection = MediaStore.Audio.Media.IS_MUSIC + \" != 0\";\n String[] projection = {\n MediaStore.Audio.Media.DATA\n };\n cursor = context.getContentResolver().query(\n MediaStore.Audio.Media.EXTERNAL_CONTENT_URI,\n projection,\n selection,\n null,\n null);\n AudioFile f = null;\n if (cursor != null) {\n while (cursor.moveToNext()) {\n File file = new File(cursor.getString(0));\n try {\n f = AudioFileIO.read(file);\n } catch (CannotReadException | IOException | TagException | ReadOnlyFileException | InvalidAudioFrameException e) {\n e.printStackTrace();\n }\n\n if (f != null) {\n\n String album = f.getTag().getFirst(FieldKey.ALBUM); //get the album from the tags\n String artist = f.getTag().getFirst(FieldKey.ARTIST); //get the artist from the tags\n ArrayList<String> albumData = new ArrayList<>();\n if (album.equals(\"\")) {\n albumData.add(0, \"Unknown\");\n } else {\n albumData.add(0, album);\n }\n if (artist.equals(\"\")) {\n albumData.add(1, \"Unknown\");\n } else {\n albumData.add(1, artist);\n }\n allAlbums.add(albumData);\n\n }\n }\n }\n\n if (cursor != null) {\n cursor.close();\n }\n\n for (ArrayList albumData : allAlbums) {\n allAlbumData.add(new AlbumModel(albumData.get(0).toString(), albumData.get(1).toString()));\n }\n for (AlbumModel albumModel : allAlbumData) {\n try {\n for (Song s : this.getAllMusicData(context)) {\n if (albumModel.getAlbum().equals(s.album)) {\n albumModel.addSong(s);\n }\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n }\n\n return allAlbumData;\n }", "title": "" }, { "docid": "74a9b5f30f9ebcae92cfcc1719ec255c", "score": "0.607802", "text": "List<SongPlaylistDetailsBo> getSongsForPlaylist(Long playlist);", "title": "" }, { "docid": "a643e74afa736d5ca3bc663515c4cc6e", "score": "0.60449624", "text": "public void testFetchSongs() {\r\n\t\t\tMusicService service = new MusicService();\r\n\t\t\tList<Song>songs = service.fetchSongsByDuration(240);\r\n\t\t\tfor(Song a : songs) {\r\n\t\t\t\tSystem.out.println(a.getId());\r\n\t\t\t\tSystem.out.println(a.getDuration());\r\n\t\t\t\tSystem.out.println(a.getTitle());\r\n\t\t\t\tSystem.out.println(a.getSinger());\r\n\t\t\t\r\n\t\t}\r\n\t\t}", "title": "" }, { "docid": "08b4f23a11537fa10e5d4641b128ce4c", "score": "0.60340196", "text": "public void getSongList() {\r\n //retrieve song info\r\n ContentResolver musicResolver = getContentResolver();\r\n Uri musicUri = android.provider.MediaStore.Audio.Media.EXTERNAL_CONTENT_URI;\r\n Cursor musicCursor = musicResolver.query(musicUri, null, null, null, null);\r\n\r\n // If there's music stored on the device\r\n if(musicCursor!=null && musicCursor.moveToFirst()){\r\n //Gets column information for song information\r\n int idColumn = musicCursor.getColumnIndex(android.provider.MediaStore.Audio.Media._ID);\r\n int pathColumn = musicCursor.getColumnIndex(android.provider.MediaStore.Audio.Media.DATA);\r\n int titleColumn = musicCursor.getColumnIndex(android.provider.MediaStore.Audio.Media.TITLE);\r\n int artistColumn = musicCursor.getColumnIndex(android.provider.MediaStore.Audio.Media.ARTIST);\r\n\r\n // Adds songs to list\r\n do {\r\n long thisId = musicCursor.getLong(idColumn);\r\n String thisTitle = musicCursor.getString(titleColumn);\r\n String thisArtist = musicCursor.getString(artistColumn);\r\n String thisPath = musicCursor.getString(pathColumn);\r\n songList.add(new Song(thisId, thisTitle, thisArtist, thisPath));\r\n\r\n dbHelper.insertSong(thisPath, thisTitle, thisArtist);\r\n } while (musicCursor.moveToNext());\r\n }\r\n }", "title": "" }, { "docid": "4373cc756b02f0b3947f685f4dfc49cc", "score": "0.6015635", "text": "public java.util.List<com.example.music.AlbumsProtos.Album> getAlbumList() {\n return album_;\n }", "title": "" }, { "docid": "6917e2498352cc4af0b9e4942a2405c8", "score": "0.5990079", "text": "List<AlbumArtist.Artist> getArtists();", "title": "" }, { "docid": "24deba2869ce4b134e7def4c07fd4a6d", "score": "0.5988186", "text": "private static List<String> callGetTopAlbums(String artist) throws Exception {\n String url = Options.getAPIRootURL() +\n \"?method=artist.gettopalbums\" +\n \"&api_key=\" +\n Options.getAPIKey() +\n \"&artist=\" +\n artist.replaceAll(\" \", \"%20\") + \"&autocorrect[\" + Options.isAutoCorrect() + \"]\" +\n \"&limit=\" +\n Options.getSearchLimit() +\n \"&format=json\";\n\n // Server part\n String response = callRequest(url);\n\n //Read JSON response and print\n try {\n List<String> result = new ArrayList<>();\n int count = JsonPath.read(response, \"$.topalbums.album.length()\");\n for (int i = 0; i < count; i++) {\n result.add(JsonPath.read(response, \"$.topalbums.album.[\" + i + \"].name\"));\n }\n return result;\n\n } catch (Exception e) {\n if (e.getMessage().equals(\"Missing property in path $['topalbums']\"))\n System.out.println(\"Album not found.\");\n return null;\n }\n }", "title": "" }, { "docid": "6b1896f9e3fb09c9de415815cc86cf0d", "score": "0.5982769", "text": "public void getMusic() {\r\n ContentResolver contentResolver=getContentResolver();\r\n Uri songUri= MediaStore.Audio.Media.EXTERNAL_CONTENT_URI;\r\n Cursor songCursor=contentResolver.query(songUri,null,null,null,null);\r\n if(songCursor!=null && songCursor.moveToFirst()){\r\n do{\r\n String name=songCursor.getString(songCursor.getColumnIndex(MediaStore.Audio.Media.TITLE));\r\n String artist=songCursor.getString(songCursor.getColumnIndex(MediaStore.Audio.Media.ARTIST));\r\n String album=songCursor.getString(songCursor.getColumnIndex(MediaStore.Audio.Media.ALBUM));\r\n String url=songCursor.getString(songCursor.getColumnIndex(MediaStore.Audio.Media.DATA));\r\n Song s=new Song(artist,null,url,null);\r\n mSong.add(s);\r\n }while (songCursor.moveToNext());\r\n songCursor.close();\r\n mAdapter=new SongAdapter(this,mSong);\r\n }\r\n }", "title": "" }, { "docid": "a83e65630696f44a5e2d134225b2479b", "score": "0.59699005", "text": "public String[] getSongs(int start, int end);", "title": "" }, { "docid": "3a242154ec21cf773d1279543b282b28", "score": "0.59543616", "text": "java.util.List<com.example.music.AlbumsProtos.Album> \n getAlbumList();", "title": "" }, { "docid": "2c8c3fe74354d112251847e1f03a58ea", "score": "0.59495944", "text": "public void retrieveAllSongs(){\n\n // WILL COUNT THE AMOUNT OF SONGS IN THE PLAYLIST AND INITIALIZE \"amountOfSongs\"\n // WILL CLEAR THE BUFFER FOR NEXT SQL STATEMENT\n countSongsInLibrary();\n\n\n\n // WILL GET THE NAME OF THE SONGS IN THE PLAYLIST\n DB.selectSQL(\"select fldName from tblSong\");\n\n\n if (amountOfSongs>0){\n\n\n // WILL ONLY RETRIEVE THE SELECTED DATA WHICH IN THIS CASE IS EVERYTHING\n // UNDER NORMAL CIRCUMSTANCES THE CONTENT CAN VARY A LOT\n loadDataOfLibrary();\n\n } else {\n\n System.out.println(\"There's no songs in the library\");\n }\n\n }", "title": "" }, { "docid": "2e5ae18f93e6cb11dc756eed18257554", "score": "0.5927986", "text": "public ArrayList<Song> findByArtistContaining(String search);", "title": "" }, { "docid": "31f9c6407529ee42a967ffce15388706", "score": "0.5904368", "text": "public List<Album> getItems() {\r\n\t\treturn new ArrayList<>(items.keySet());\r\n\t}", "title": "" }, { "docid": "1bef0f41105d6c9a1ea819a06463b64f", "score": "0.5898282", "text": "public static List<SongEntity> findByArtist(EntityManager em,\r\n ArtistEntity artist)\r\n {\r\n return findByArtist(em, artist.getId());\r\n }", "title": "" }, { "docid": "cd33718bc75eca3999071ba3dab13d85", "score": "0.588484", "text": "private void GetSongFiles(){\n Songs.clear();\n String selection = MediaStore.Audio.Media.IS_MUSIC + \" != 0\";\n String[] projection = {\n MediaStore.Audio.Media.TITLE,\n MediaStore.Audio.Media.ARTIST,\n MediaStore.Audio.Media.ALBUM,\n MediaStore.Audio.Media.DATA,\n MediaStore.Audio.Media.DURATION,\n MediaStore.Audio.Media.ALBUM_ID\n\n };\n final String sortOrder = MediaStore.Audio.AudioColumns.TITLE + \" COLLATE LOCALIZED ASC\";\n\n Cursor cursor = null;\n try {\n Uri uri = android.provider.MediaStore.Audio.Media.EXTERNAL_CONTENT_URI;\n cursor = this.getContentResolver().query(uri, projection, selection, null, sortOrder);\n if( cursor != null){\n cursor.moveToFirst();\n while( !cursor.isAfterLast() ){\n\n String title = cursor.getString(0);//Get Title of song\n String artist = cursor.getString(1);//get artist name of song\n String albumName = cursor.getString(2);\n String path = cursor.getString(3);//get song path\n String songDuration = cursor.getString(4);//get song duration\n int albumID = Integer.parseInt(cursor.getString(5));\n\n\n //get album art bitmap\n Bitmap artwork = null;\n try {\n Uri albumArtUri = Uri.parse(\"content://media/external/audio/albumart\");\n Uri ArtUri = ContentUris.withAppendedId(albumArtUri, albumID);\n ContentResolver res = getContentResolver();\n InputStream in = res.openInputStream(ArtUri);\n artwork = BitmapFactory.decodeStream(in);\n }\n catch (Exception e)\n {\n\n }\n Song tempNewSong = new Song(title,artist,albumName,path,songDuration,artwork);\n Songs.add(tempNewSong);\n cursor.moveToNext();\n }\n\n }\n\n } catch (Exception e) {\n Log.d(\"AppTag\",e.toString());\n }finally{\n if( cursor != null){\n cursor.close();\n }\n }\n }", "title": "" }, { "docid": "a44dc05798dd74596a6c17578746a8b9", "score": "0.5854606", "text": "public ArrayList<Song> getSongs() {\n\t\treturn songs;\n\t}", "title": "" }, { "docid": "020bfdf1b6875920646695a2c207ccd1", "score": "0.58251274", "text": "public java.util.List<com.example.music.AlbumsProtos.Album> getAlbumList() {\n if (albumBuilder_ == null) {\n return java.util.Collections.unmodifiableList(album_);\n } else {\n return albumBuilder_.getMessageList();\n }\n }", "title": "" }, { "docid": "700bccfe66af0735d03191bc074551d7", "score": "0.5787076", "text": "public void getPhotos( Album album, Callbacks callback )\n {\n if ( DEBUGGING_ENABLED ) Log.d( LOG_TAG, \"getPhotos( photosCallback )\" );\n\n PhotosRequest photosRequest = new PhotosRequest( album, callback );\n\n executeRequest( photosRequest, true );\n }", "title": "" }, { "docid": "f443106238a44f110c536ae091c07816", "score": "0.57775795", "text": "public static List<Song> getSongListByArtist(String artist) {\n if (songList == null) {\n getSongList();\n }\n //List<Song> songListOfArtist = new ArrayList<Song>();\n Artist temp = artistMap.get(artist);\n sortSongByPinyin(temp.getSongListOfArtist());\n return temp.getSongListOfArtist();\n }", "title": "" }, { "docid": "479e137d65bd692ed78c3560a87ef2b3", "score": "0.5774125", "text": "public List<Track> getAllTracks() {\n\t\tLog.i(TAG, \"START: getAllTracks\");\n\t\tContentResolver contentResolver = this.context.getContentResolver();\n\n\t\tString[] columns = new String[] { MediaStore.Audio.Media.DATA };\n\n\t\tUri filesUri = MediaStore.Audio.Media.getContentUriForPath(Environment\n\t\t\t\t.getExternalStorageDirectory().getPath());\n\n\t\tString whereSentence = String.format(\n\t\t\t\t\"%1$s = \\\"audio/mpeg\\\" OR %1$s = \\\"audio/mp4\\\"\",\n\t\t\t\tMediaStore.Audio.Media.MIME_TYPE);\n\n\t\tCursor cursor = null;\n\t\ttry {\n\t\t\tcursor = contentResolver.query(filesUri, columns, whereSentence,\n\t\t\t\t\tnull, null);\n\n\t\t\tint pathColumnIndex = cursor\n\t\t\t\t\t.getColumnIndex(MediaStore.Audio.Media.DATA);\n\n\t\t\twhile (cursor.moveToNext()) {\n\t\t\t\tTrack track = this.getTrackByUri(cursor\n\t\t\t\t\t\t.getString(pathColumnIndex));\n\t\t\t\tif (track != null) {\n\t\t\t\t\tsongsList.add(track);\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\tif (cursor != null) {\n\t\t\t\tcursor.close();\n\t\t\t}\n\t\t}\n\n\t\tLog.i(TAG, \"END: getAllTracks - \" + songsList.size() + \" songs loaded\");\n\t\treturn songsList;\n\t}", "title": "" }, { "docid": "bf4182c288c850c5ef825f46ff2d433b", "score": "0.57668114", "text": "public static AlbumListInfo getAlbumList(Collection<Album> as, String artist) {\n List<AlbumInfo> albums = new ArrayList<AlbumInfo>();\n AlbumListInfo albumList = new LastFmAlbumList();\n for (Album a : as) {\n AlbumInfo album = LastFmAlbum.getAlbum(a, null);\n albums.add(album);\n }\n albumList.setAlbums(albums);\n return albumList;\n }", "title": "" }, { "docid": "7a4d2112ad4a25eb64df550a13848874", "score": "0.57467926", "text": "@Override\r\n\t@Transactional(propagation = Propagation.NOT_SUPPORTED,readOnly = true)\r\n\tpublic List<Music> findAll() {\n\t\treturn musicDao.findAll();\r\n\t}", "title": "" }, { "docid": "d0ff4ee92334351cef5cc16c2b86fae5", "score": "0.57387584", "text": "private static ArrayList<Song> getSongsList() {\n ArrayList<Song> songs = new ArrayList<>();\n //first song creation\n Song song1 = new Song();\n song1.setName(\"The road of Bones\");\n song1.setArtist(\"IQ\");\n song1.setAlbum(\"The road of Bones\");\n song1.setYear(\"2014\");\n songs.add(song1);\n //second song creation\n Song song2 = new Song();\n song2.setName(\"In the passing light of day\");\n song2.setArtist(\"Pain of salvation\");\n song2.setAlbum(\"In the passing light of day\");\n song2.setYear(\"2017\");\n songs.add(song2);\n return songs;\n }", "title": "" }, { "docid": "c9821700ffda809fc62e51ee9fe549d2", "score": "0.5717823", "text": "public List<MusicFile> getRandomAlbums(int count) throws IOException {\r\n List<MusicFile> result = new ArrayList<MusicFile>(count);\r\n \r\n if (!isIndexCreated() || isIndexBeingCreated() || cachedSongs == null || cachedSongs.isEmpty()) {\r\n return result;\r\n }\r\n \r\n // Ensure that index is read to memory.\r\n getIndex();\r\n \r\n // Note: To avoid duplicates, we iterate over more than the requested number of items.\r\n for (int i = 0; i < count * 20; i++) {\r\n int n = RANDOM.nextInt(cachedSongs.size());\r\n File file = cachedSongs.get(n).file;\r\n \r\n if (file.exists() && securityService.isReadAllowed(file)) {\r\n MusicFile album = musicFileService.getMusicFile(file.getParentFile());\r\n if (!album.isRoot() && !result.contains(album)) {\r\n result.add(album);\r\n \r\n // Enough items found?\r\n if (result.size() == count) {\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n \r\n return result;\r\n }", "title": "" }, { "docid": "badd84a7e15e96bf9fde075bbab23cfb", "score": "0.5706013", "text": "public Map<Album, List<Song>> getMappedSongs() {\n return songs;\n }", "title": "" }, { "docid": "d13dd988d01fbabe38a6bdee48e7e0a8", "score": "0.5668708", "text": "public void listSongs() {\n\t\tthis.songsLink.click();\n\t\t\n\t}", "title": "" }, { "docid": "6d490400ea360346ab657ae29ebae182", "score": "0.56331784", "text": "List<Album> findByUserId(int userId);", "title": "" }, { "docid": "b01415178f3299a57b9285a457542f5d", "score": "0.5609233", "text": "List<MusicType> getAll();", "title": "" }, { "docid": "5c1c9f23cd80591832d292eeb5bee67c", "score": "0.5598057", "text": "@Override\r\n\tpublic List<Music> findAllMusic() {\n\t\ttry {\r\n\t\t\tTypedQuery<Music> m = em.createQuery(\"SELECT m FROM Music m\", Music.class);\r\n\t\t\tList<Music> ListMusic = m.getResultList();\r\n\t\t\treturn ListMusic ;\r\n\t\t} catch (javax.persistence.NoResultException e) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "d07e221143aa246e10cd735a8a1fc87b", "score": "0.5586051", "text": "@Override\n\t@Transactional\n\tpublic List<SongList> getSongList() {\n\t\tSession currentSession = sessionFactory.getCurrentSession();\n\t\t\n\t\t// Create Query \n\t\tQuery<SongList> theQuery = currentSession.createQuery(\"from SongList\", SongList.class);\n\t\t\n\t\t// Execute Query and get results\n\t\tList<SongList> songList = theQuery.getResultList();\n\t\t\n\t\tSystem.out.println(\"Song List -> \" +songList);\n\t\t\n\t\treturn songList;\n\t}", "title": "" }, { "docid": "b8390d686627da31f335ddf0a0de2a68", "score": "0.55693793", "text": "public ArrayList<Artist> getAlbumArtist(){\n for(Track t : albumTrack){\n albumArtist.addAll(t.getArtist());\n }\n return albumArtist;\n }", "title": "" }, { "docid": "5df9297cd10e26d433639b4c272978fc", "score": "0.5551152", "text": "public Set<String> getSongs(String genre) {\n \t\t\t// Code it!!\n\t\t\t\t\n\t\t\t\n\t\t}", "title": "" }, { "docid": "3f6f7f16f8fabf400b191cc05bb8cc78", "score": "0.5548852", "text": "public List<MusicFile> getRandomSongs(RandomSearchCriteria criteria) throws IOException {\r\n int count = criteria.getCount();\r\n List<MusicFile> result = new ArrayList<MusicFile>(count);\r\n \r\n if (!isIndexCreated() || isIndexBeingCreated() || cachedSongs == null || cachedSongs.isEmpty()) {\r\n return result;\r\n }\r\n \r\n // Ensure that index is read to memory.\r\n getIndex();\r\n \r\n String genre = criteria.getGenre();\r\n Integer fromYear = criteria.getFromYear();\r\n Integer toYear = criteria.getToYear();\r\n String musicFolderPath = null;\r\n if (criteria.getMusicFolderId() != null) {\r\n MusicFolder musicFolder = settingsService.getMusicFolderById(criteria.getMusicFolderId());\r\n musicFolderPath = musicFolder.getPath().getPath().toUpperCase() + File.separator;\r\n }\r\n \r\n // Filter by genre, year and music folder, if required.\r\n List<Line> songs = cachedSongs;\r\n if (genre != null || fromYear != null || musicFolderPath != null) {\r\n songs = new ArrayList<Line>();\r\n \r\n String fromYearString = fromYear == null ? null : String.valueOf(fromYear);\r\n String toYearString = toYear == null ? null : String.valueOf(toYear);\r\n \r\n for (Line song : cachedSongs) {\r\n \r\n // Skip if wrong genre.\r\n if (genre != null && !genre.equalsIgnoreCase(song.genre)) {\r\n continue;\r\n }\r\n \r\n // Skip if wrong year.\r\n if (fromYearString != null) {\r\n if (song.year == null) {\r\n continue;\r\n }\r\n if (song.year.compareTo(fromYearString) < 0) {\r\n continue;\r\n }\r\n if (song.year.compareTo(toYearString) > 0) {\r\n continue;\r\n }\r\n }\r\n \r\n // Skip if wrong music folder.\r\n if (musicFolderPath != null) {\r\n String filePath = song.file.getPath().toUpperCase();\r\n if (!filePath.startsWith(musicFolderPath)) {\r\n continue;\r\n }\r\n }\r\n \r\n songs.add(song);\r\n }\r\n }\r\n \r\n if (songs.isEmpty()) {\r\n return result;\r\n }\r\n \r\n // Note: To avoid duplicates, we iterate over more than the requested number of songs.\r\n for (int i = 0; i < count * 10; i++) {\r\n int n = RANDOM.nextInt(songs.size());\r\n File file = songs.get(n).file;\r\n \r\n if (file.exists() && securityService.isReadAllowed(file)) {\r\n MusicFile musicFile = musicFileService.getMusicFile(file);\r\n if (!result.contains(musicFile)) {\r\n result.add(musicFile);\r\n \r\n // Enough songs found?\r\n if (result.size() == count) {\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n \r\n return result;\r\n }", "title": "" }, { "docid": "c39bbc6822ab87a995da83e4e3391e53", "score": "0.554872", "text": "private void printAlbums() {\n\t\tfor (Album a : listAlbums) {\n\t\t\tSystem.out.println(a.getName());\n\t\t}\n\t}", "title": "" }, { "docid": "a73533267b838540dbbee492ca9402dd", "score": "0.553574", "text": "private void loadAlbums() throws IOException {\n Path dir = FileSystems.getDefault().getPath(PATH_TO_PICS);\n DirectoryStream<Path> stream = Files.newDirectoryStream(dir);\n for (Path entry : stream) {\n File f = entry.toFile();\n if (f.isDirectory()) {\n Album newAlbum = new Album(entry.getName(entry.getNameCount() - 1).toString());\n photoMan.addAlbum(newAlbum);\n }\n }\n }", "title": "" }, { "docid": "200214fa7781114dc91a08500e04cf64", "score": "0.5522211", "text": "List<SongDTO> findByName(String name) throws ValidationException, ServiceException;", "title": "" }, { "docid": "eeb5f15191625157c94cd9750970bfc1", "score": "0.55094975", "text": "public com.example.music.AlbumsProtos.Album getAlbum(int index) {\n return album_.get(index);\n }", "title": "" }, { "docid": "5b148776d26372b87734eeda06803aca", "score": "0.55081064", "text": "ArrayList<ArtistModel> getAllArtistData(Context context) {\n ArrayList<ArtistModel> allArtistData = new ArrayList<>();\n LinkedHashSet<String> allArtists = new LinkedHashSet<>();\n Cursor cursor;\n String selection = MediaStore.Audio.Media.IS_MUSIC + \" != 0\";\n String[] projection = {\n MediaStore.Audio.Media.DATA\n };\n cursor = context.getContentResolver().query(\n MediaStore.Audio.Media.EXTERNAL_CONTENT_URI,\n projection,\n selection,\n null,\n null);\n AudioFile f = null;\n if (cursor != null) {\n while (cursor.moveToNext()) {\n File file = new File(cursor.getString(0));\n try {\n f = AudioFileIO.read(file);\n } catch (CannotReadException | IOException | TagException | ReadOnlyFileException | InvalidAudioFrameException e) {\n e.printStackTrace();\n }\n\n if (f != null) {\n String artist = f.getTag().getFirst(FieldKey.ARTIST);\n if (artist.equals(\"\")) {\n allArtists.add(\"Unknown\");\n } else {\n allArtists.add(artist);\n }\n\n }\n }\n }\n\n if (cursor != null) {\n cursor.close();\n }\n\n for (String artist : allArtists) {\n allArtistData.add(new ArtistModel(artist));\n }\n for (ArtistModel artistModel : allArtistData) {\n try {\n for (Song s : this.getAllMusicData(context)) {\n if (artistModel.getArtist().equals(s.artist)) {\n artistModel.addSong(s);\n }\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n }\n return allArtistData;\n }", "title": "" }, { "docid": "dcaed02aa1b214b28100e0193a9d2959", "score": "0.5506306", "text": "public List<Album> getPopulatedAlbumList(){\n List<Album> albums = new ArrayList<>();\n albums.add(new Album(R.string.album_1, R.drawable.album_one_cover, R.string.album_1_artist_name_bieber));\n albums.add(new Album(R.string.album_2, R.drawable.album_two_cover,R.string.album_2_artist_name_taylor));\n albums.add(new Album(R.string.album_3, R.drawable.album_three_cover,R.string.album_3_artist_name_ariana));\n albums.add(new Album(R.string.album_4, R.drawable.album_four_cover,R.string.album_4_artist_name_smith));\n albums.add(new Album(R.string.album_5, R.drawable.album_five_cover,R.string.album_5_artist_name_backstreet));\n albums.add(new Album(R.string.album_6, R.drawable.album_six_cover,R.string.album_6_artist_name_gaga));\n albums.add(new Album(R.string.album_7, R.drawable.album_seven_cover,R.string.album_7_artist_name_iglesias));\n albums.add(new Album(R.string.album_8, R.drawable.album_eight_cover,R.string.album_8_artist_name_eminem));\n albums.add(new Album(R.string.album_9, R.drawable.album_nine_cover,R.string.album_9_artist_name_onedirection));\n albums.add(new Album(R.string.album_10, R.drawable.album_ten_cover,R.string.album_10_artist_name_rihana));\n albums.add(new Album(R.string.album_11,R.drawable.album_eleven_cover,R.string.album_11_artist_name_beyonce));\n albums.add(new Album(R.string.album_12, R.drawable.album_twelve_cover,R.string.album_12_artist_name_maroon));\n\n return albums;\n\n\n }", "title": "" }, { "docid": "edfde77e037f8431001dde4cb42cbbbe", "score": "0.54859704", "text": "void loadSongs()\n {\n List<Song> loadedSongs = songManager.getAllSongs(); //undgå og throw\n\n songs.clear();\n songs.addAll(loadedSongs);\n }", "title": "" }, { "docid": "934c89ebbb5a9589f513135f6a0d5242", "score": "0.54779625", "text": "public static List<SongEntity> findByArtist(EntityManager em, Long artistID)\r\n {\r\n @SuppressWarnings(\"unchecked\")\r\n List<SongEntity> songs =\r\n em.createNamedQuery(QUERY_FIND_BY_ARTIST)\r\n .setParameter(PARAM_ARTIST, artistID).getResultList();\r\n return songs;\r\n }", "title": "" }, { "docid": "240c7b97a7957c9fd7ddba6244ea8ae1", "score": "0.54533947", "text": "public com.vh.locker.ejb.Album getAlbum();", "title": "" }, { "docid": "014696981b21dd1c5dd9c1c6010f066f", "score": "0.5447308", "text": "private void loadAudio() {\n ContentResolver contentResolver = getContentResolver();\n\n Uri uri = MediaStore.Audio.Media.EXTERNAL_CONTENT_URI;\n String selection = MediaStore.Audio.Media.IS_MUSIC + \"!= 0\";\n String sortOrder = MediaStore.Audio.Media.TITLE + \" ASC\";\n Cursor cursor = contentResolver.query(uri, null, selection, null, sortOrder);\n\n if (cursor != null && cursor.getCount() > 0) {\n audioList = new ArrayList<>();\n while (cursor.moveToNext()) {\n String data = cursor.getString(cursor.getColumnIndex(MediaStore.Audio.Media.DATA));\n String title = cursor.getString(cursor.getColumnIndex(MediaStore.Audio.Media.TITLE));\n String album = cursor.getString(cursor.getColumnIndex(MediaStore.Audio.Media.ALBUM));\n String artist = cursor.getString(cursor.getColumnIndex(MediaStore.Audio.Media.ARTIST));\n\n // Save to audioList\n audioList.add(new Audio(data, title, album, artist));\n }\n }\n cursor.close();\n }", "title": "" }, { "docid": "ee46a8c60019647cbea31258ef45265d", "score": "0.5423882", "text": "public ArrayList<Album> getCollection() {\n return Photos.getInstance().getCurrentUser().getAlbumList();\n }", "title": "" }, { "docid": "d03e53fa1b03a41304ffce2eb2befaa5", "score": "0.54188454", "text": "public List<Song> getSongsByID(Context context, List<Long> songsID) {\n List<Song> songs = new ArrayList<>();\n Song song = null;\n for (Long id : songsID) {\n song = getSongByID(context, id);\n if (song != null) {\n songs.add(song);\n }\n }\n return songs;\n }", "title": "" }, { "docid": "6750bef501fb6b66de72f587b40c3c00", "score": "0.54167926", "text": "java.util.List<com.example.music.AlbumsProtos.Album.Track> \n getTrackList();", "title": "" }, { "docid": "08f475f9dbf29699aed37b34819a1184", "score": "0.5412715", "text": "private void displayAlbumSong() {\n Library.Song song = library.getSong(receivedIntent.getStringExtra(\"song name\"), receivedIntent.getStringExtra(\"artist name\"));\n Library.Album album = library.getAlbum(song.getAlbum());\n playSongTitle.setText(song.getTitle());\n playArtistName.setText(song.getArtist());\n playAlbumName.setText(song.getAlbum());\n playAlbumCover.setImageResource(album.getImageId());\n playArtistImage.setImageResource(library.getArtist(album.getArtist()).getImageId());\n songs = album.getAlbumSongs();\n songPlaying = songs.indexOf(song);\n }", "title": "" }, { "docid": "17d23ac8e6b5fcfcc16dfa310c926a40", "score": "0.54118735", "text": "@Query(\"SELECT s FROM Song s \" +\n\t\t\t\"INNER JOIN FETCH s.file \" +\n\t\t\t\"INNER JOIN FETCH s.album a \" +\n\t\t\t\"INNER JOIN FETCH a.artist \" +\n\t\t\t\"WHERE s.id = ?1\")\n\tpublic Song findById(Long aId);", "title": "" }, { "docid": "59e2cf31007b8e3b3400299771be5233", "score": "0.54025245", "text": "protected void searchSongs(String searchText) {\n\n adapter.clear();\n// queryAllSongs(); // For now, just showing all songs in the Back4App database\n querySongs(searchText);\n }", "title": "" }, { "docid": "12063d36977a989f774c1bacf1b43167", "score": "0.5401472", "text": "public static ArrayList<Album> SearchForAlbums(String key) throws SQLException {\r\n ArrayList<Album> AlbumsResults = new ArrayList();\r\n try {\r\n \r\n String query = \"SELECT * FROM albums \"\r\n + \"WHERE title LIKE ? \"\r\n + \"OR id LIKE ? \"\r\n + \"OR status LIKE ? \"\r\n + \"OR language LIKE ? \"\r\n + \"OR releasedate LIKE ? \"\r\n + \"OR format LIKE ? \"\r\n + \"OR type LIKE ?\"; // our SQL SELECT query. \r\n \r\n \r\n PreparedStatement inserPrepState=con.prepareStatement(query);\r\n inserPrepState.setString(1,\"%\"+key+\"%\"); //we used the % wildcard for sql commands\r\n inserPrepState.setString(2,\"%\"+key+\"%\");\r\n inserPrepState.setString(3,\"%\"+key+\"%\");\r\n inserPrepState.setString(4,\"%\"+key+\"%\");\r\n inserPrepState.setString(5,\"%\"+key+\"%\");\r\n inserPrepState.setString(6,\"%\"+key+\"%\");\r\n inserPrepState.setString(7,\"%\"+key+\"%\");\r\n \r\n \r\n \r\n ResultSet rs = inserPrepState.executeQuery(); // execute the query, and get a java resultset\r\n \r\n int i=0; //used for accessing array's indexes\r\n while (rs.next()) {\r\n Album album = new Album();\r\n String id = rs.getString(\"id\");\r\n String title = rs.getString(\"title\");\r\n String status = rs.getString(\"status\");\r\n String language = rs.getString(\"language\");\r\n String releasedate = rs.getString(\"releasedate\");\r\n String format = rs.getString(\"format\");\r\n int trackcount=rs.getInt(\"trackcount\");\r\n String type = rs.getString(\"type\");\r\n album.setId(id);\r\n album.setDate(releasedate);\r\n album.setFormat(format);\r\n album.setTrack_count(trackcount);\r\n album.setLanguage(language);\r\n album.setStatus(status);\r\n album.setTitle(title);\r\n album.setType(type);\r\n AlbumsResults.add(i, album);\r\n i++;\r\n\r\n }\r\n \r\n\r\n } catch (SQLException e) {\r\n System.err.println(\"Got an exception! \");\r\n System.err.println(e.getMessage());\r\n }\r\n return AlbumsResults;\r\n }", "title": "" }, { "docid": "0ce337e9ea90b2ae6027ded4e30e126a", "score": "0.5394198", "text": "public Iterable<MediaMetadataCompat> searchMusicBySongTitle(String query) {\n return searchMusic(MediaMetadataCompat.METADATA_KEY_TITLE, query);\n }", "title": "" }, { "docid": "2851b7ea8d14638bfd686e554270a66d", "score": "0.5385769", "text": "@GetMapping(\"/get_all_artiste_album\")\n public List<AlbumResponse> getAllAlbumByArtisteId(@RequestParam(\"artiste_id\") String id){\n\n ModelMapper modelMapper = new ModelMapper();\n modelMapper.getConfiguration()\n .setMatchingStrategy(MatchingStrategies.STRICT);\n\n List<AlbumResponse> returnValue = new ArrayList<>();\n\n List<AlbumDto> albums = albumService.getAllAlbumByArtisteId(id);\n\n Type listType = new TypeToken<List<AlbumResponse>>() {}.getType();\n\n returnValue = modelMapper.map(albums, listType);\n\n return returnValue;\n }", "title": "" }, { "docid": "7af9e728b6af45595aafe657b3d93527", "score": "0.53768414", "text": "ListSong selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "3cfa05272bcd13f3b49f5689b588c3f8", "score": "0.5373754", "text": "private void loadPhotosForAlbum(Album album) throws IOException {\n Path dir = FileSystems.getDefault().getPath(PATH_TO_PICS + FILE_SEPARATOR + album.getName());\n DirectoryStream<Path> stream = Files.newDirectoryStream(dir);\n\n for (Path entry : stream) {\n File f = entry.toFile();\n if (f.isFile() && isJPEG(f)) {\n addPhotoFromFileToAlbum(album, f);\n }\n }\n }", "title": "" }, { "docid": "9233cb22d194bfa2ad51c9c1f606dc25", "score": "0.5365531", "text": "public List<MediaMetadataCompat> searchMusicBySongTitle(String query) {\n return searchMusic(MediaMetadataCompat.METADATA_KEY_TITLE, query);\n }", "title": "" }, { "docid": "3e33e4a62ddffe1f4f158fc117ffb569", "score": "0.5345643", "text": "com.example.music.AlbumsProtos.Album getAlbum(int index);", "title": "" }, { "docid": "6ddf5c49643fd47dc8ffcb8bdaf6d958", "score": "0.53430605", "text": "public List<SongEntity> getSongsByPartialName( String partialName );", "title": "" }, { "docid": "4ceeabd4a106b50bdf8e9cdcac7f5c06", "score": "0.5340359", "text": "@Override\n\tpublic List<?> findAll() {\n\t\treturn this.audiosDao.selectAll();\n\t}", "title": "" }, { "docid": "963306d115ff293ccbc3ffb738153e12", "score": "0.53357255", "text": "public SongEntity getSongBySongNameAndArtistNames( SongEntity songEntity );", "title": "" }, { "docid": "56c7a6da0a9859389ff90856eb2b5b6c", "score": "0.5307496", "text": "public String getSongsByArtist(String artist) {\r\n //New creation of ArrayList to hold songs\r\n List<Song> songList = new ArrayList<Song>();\r\n String result = \"\";\r\n\r\n //Put songs by artist in list\r\n for(Song a: songData) {\r\n if (a.getArtist().equalsIgnoreCase(artist)) {\r\n songList.add(a);\r\n }\r\n }\r\n //If no songs are found by artist return message\r\n if (songList.isEmpty()){\r\n System.out.println(\"There are no songs by this artist in the list.\");\r\n }\r\n\r\n //toString\r\n for (int i = 0; i < songList.size(); i++){\r\n result += toString(songList.get(i));\r\n }\r\n\r\n //Sort using songList and Comparator\r\n Collections.sort(songList, new SongComparator());\r\n //Collections.sort(songList, new SongTitleComparator());\r\n for (int i = 0; i < songList.size(); i++){\r\n String result2 = \"\";\r\n result2 += toString(songList.get(i));\r\n System.out.println(result2);\r\n }\r\n\r\n return result;\r\n }", "title": "" }, { "docid": "b6b01d965400086202f9b17c9588bec1", "score": "0.5302737", "text": "@Override\r\n\tpublic List<AlbumType> doQueryAlbumType() {\n\t\treturn ad.queryAlbumType();\r\n\t}", "title": "" }, { "docid": "147e4dce6d8596116cb6461b9834a652", "score": "0.5290955", "text": "public void populate() {\n musics.clear();\n musicResolver = getActivity().getContentResolver();\n Uri musicuri = MediaStore.Audio.Artists.EXTERNAL_CONTENT_URI;\n Cursor musicCursor = musicResolver.query(musicuri, null, null, null, \"LOWER(\" + MediaStore.Audio.Artists.ARTIST + \")ASC\");\n if (musicCursor != null) {\n int artist = musicCursor.getColumnIndex(MediaStore.Audio.Artists.ARTIST);\n int nosong = musicCursor.getColumnIndex(MediaStore.Audio.Artists.NUMBER_OF_TRACKS);\n int id = musicCursor.getColumnIndex(MediaStore.Audio.Artists._ID);\n\n while (musicCursor.moveToNext()) {\n ArrayList<String> tempmusic = new ArrayList<>();\n tempmusic.add(0, musicCursor.getString(artist));\n tempmusic.add(1, musicCursor.getString(nosong));\n tempmusic.add(2, musicCursor.getString(id));\n tempmusic.add(3, getAlbumArt(artist));\n musics.add(tempmusic);\n }\n musicCursor.close();\n }\n// Toast.makeText(getActivity(), Integer.toString(musics.size()), Toast.LENGTH_SHORT).show();\n artistAdapter.notifyDataSetChanged();\n }", "title": "" }, { "docid": "71f783fc80de1e7e1602e76e4a1464c3", "score": "0.52900964", "text": "List<Song> findByArtistContaining(String search);", "title": "" }, { "docid": "ba694e15398080a282d8f193f7696bad", "score": "0.52699727", "text": "private void prepareAlbums() {\r\n int[] covers = new int[]{\r\n R.drawable.battery,\r\n R.drawable.shock_absorber,\r\n R.drawable.sensor,\r\n R.drawable.ignition,\r\n R.drawable.break_pad,\r\n R.drawable.gasket,\r\n R.drawable.tires,\r\n R.drawable.oil_filter,\r\n R.drawable.door_mirror,\r\n R.drawable.sensor,\r\n R.drawable.ignition};\r\n\r\n Album a = new Album(\"Battery\", 13, covers[0]);\r\n albumList.add(a);\r\n\r\n a = new Album(\"Shock Absorber\", 8, covers[1]);\r\n albumList.add(a);\r\n\r\n a = new Album(\"Sensor\", 11, covers[2]);\r\n albumList.add(a);\r\n\r\n a = new Album(\"Ignition Module\", 12, covers[3]);\r\n albumList.add(a);\r\n\r\n a = new Album(\"Break pads\", 14, covers[4]);\r\n albumList.add(a);\r\n\r\n a = new Album(\"Top Gasket\", 1, covers[5]);\r\n albumList.add(a);\r\n\r\n a = new Album(\"Tires\", 11, covers[6]);\r\n albumList.add(a);\r\n\r\n a = new Album(\"Oil Filter\", 14, covers[7]);\r\n albumList.add(a);\r\n\r\n a = new Album(\"Door Mirror\", 11, covers[8]);\r\n albumList.add(a);\r\n\r\n a = new Album(\"Greatest Hits\", 17, covers[9]);\r\n albumList.add(a);\r\n\r\n adapter.notifyDataSetChanged();\r\n }", "title": "" }, { "docid": "cb8f9c5dbe20bc737ea2d61a60414619", "score": "0.52696896", "text": "public LiveData<List<PictureDetails>> getAlbum() {\n refreshAlbum();\n // Returns a LiveData object directly from the database.\n return albumDao.load();\n }", "title": "" }, { "docid": "24acab650b252f4aa80d39423d218b9b", "score": "0.52674687", "text": "public ArrayList<Song> getAllMusicData(Context context) {\n DatabaseHandler databaseHandler = new DatabaseHandler(context);\n\n if (databaseHandler.getAllSongs(DatabaseHandler.TABLE_SONGS, true).size() == 0 || needToUpdate) {\n Cursor cursor;\n //ArrayList<String> ids = new ArrayList<>(), artists = new ArrayList<>(), titles= new ArrayList<>(), paths= new ArrayList<>(), display_names= new ArrayList<>(), durations_ms= new ArrayList<>();\n String selection = MediaStore.Audio.Media.IS_MUSIC + \" != 0\";\n\n String[] projection = {\n MediaStore.Audio.Media._ID,\n MediaStore.Audio.Media.DATA,\n MediaStore.Audio.Media.DURATION\n\n };\n\n cursor = context.getContentResolver().query(\n MediaStore.Audio.Media.EXTERNAL_CONTENT_URI,\n projection,\n selection,\n null,\n null);\n ArrayList<Song> songs = new ArrayList<>();\n AudioFile f = null;\n if (cursor != null) {\n while (cursor.moveToNext()) {\n String id = cursor.getString(0);\n String loc = cursor.getString(1);\n String dur = cursor.getString(2);\n File file = new File(loc);\n try {\n f = AudioFileIO.read(file);\n } catch (CannotReadException | IOException | TagException | ReadOnlyFileException | InvalidAudioFrameException e) {\n e.printStackTrace();\n }\n assert f != null;\n Tag tag = f.getTag();\n String title = tag.getFirst(FieldKey.TITLE);\n String artist = tag.getFirst(FieldKey.ARTIST);\n String album = tag.getFirst(FieldKey.ALBUM);\n String defaultCover = \"drawable://\" + R.drawable.refresh_icon;\n songs.add(new Song(id, title, artist, album, defaultCover, dur, loc));\n }\n }\n if (cursor != null) {\n cursor.close();\n }\n\n DatabaseHandler db = new DatabaseHandler(context);\n try {\n db.deleteTable(\"TABLE_SONGS\");\n } catch (Exception e) {\n Log.d(\"Error\", e.toString());\n }\n\n for (Song song : songs) {\n db.addSong(song, DatabaseHandler.TABLE_SONGS);\n }\n return songs;\n\n } else {\n DatabaseHandler db = new DatabaseHandler(context);\n return db.getAllSongs(DatabaseHandler.TABLE_SONGS, true);\n }\n }", "title": "" }, { "docid": "f8d7687cb7055a0cacc3f0008cadf865", "score": "0.52539676", "text": "public ArrayList<Track> getAlbumTrack(){\n return albumTrack;\n\n }", "title": "" }, { "docid": "15c36d3296ab7a18524ecf54d33ed906", "score": "0.52532333", "text": "public java.util.List<? extends com.example.music.AlbumsProtos.AlbumOrBuilder> \n getAlbumOrBuilderList() {\n if (albumBuilder_ != null) {\n return albumBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(album_);\n }\n }", "title": "" }, { "docid": "33afb9e11162eb63a431d0233a055259", "score": "0.5251848", "text": "public void printAlbums() {\n\t\tif(AccessibleUsersList.masterUserList.getUsers() != null) {\n\t\t\tlistOfAlbums = FXCollections.observableList(AccessibleUsersList.masterUserList.userLoggedIn.getAlbumsList());\n\t\t\tforceListRefreshOn(albums);\n\t\t\tFXCollections.sort(listOfAlbums);\n\t\t\talbums.setItems(listOfAlbums);\n\t\t}\n\t}", "title": "" }, { "docid": "a724426200f5a74d440487596a704ce3", "score": "0.52444106", "text": "public ArrayList<MediaBrowserCompat.MediaItem> getArtistMediaItems() {\n final Uri uri = MediaStore.Audio.Artists.EXTERNAL_CONTENT_URI;\n final String _ID = MediaStore.Audio.Artists._ID;\n final String NAME_COLUMN = MediaStore.Audio.Artists.ARTIST;\n final String[] cursorColumns={_ID, NAME_COLUMN };\n final String orderby = NAME_COLUMN + \" COLLATE NOCASE\";\n final String where = null;\n\n ContentResolver cr = context.getContentResolver();\n Cursor artistsCursor = cr.query(uri, cursorColumns, where, null, orderby);\n ArrayList<MediaBrowserCompat.MediaItem> mediaItems = new ArrayList<>();\n MediaBrowserCompat.MediaItem mediaItem;\n try {\n while (artistsCursor.moveToNext()) {\n String id = artistsCursor.getString(0);\n String name = artistsCursor.getString(1);\n MediaDescriptionCompat mediaDescription = new MediaDescriptionCompat.Builder()\n .setTitle(name)\n .setSubtitle(\"Songs by \"+name)\n .setMediaId(\"__ARTIST__\"+id)\n .build();\n\n int flags = MediaBrowserCompat.MediaItem.FLAG_PLAYABLE | MediaBrowserCompat.MediaItem.FLAG_BROWSABLE;\n mediaItem = new MediaBrowserCompat.MediaItem(mediaDescription, flags);\n mediaItems.add(mediaItem);\n }\n } finally {\n artistsCursor.close();\n }\n\n return mediaItems;\n\n }", "title": "" }, { "docid": "ae2523f14345baad33d6c40ae738d5f7", "score": "0.5239842", "text": "public String getAlbum() {\n return album;\n }", "title": "" }, { "docid": "fd80fd3cae0b777acc1dd744ee49e6e1", "score": "0.523969", "text": "@GET(\"/search?term=rock&amp;media=music&amp;entity=song&amp;limit=50\")\n Call<DataResult>getRockMusic();", "title": "" }, { "docid": "a4c5cf4c602d21a985bb86f13ae2de41", "score": "0.52359456", "text": "public java.util.List<com.example.music.AlbumsProtos.Album.Track> getTrackList() {\n return track_;\n }", "title": "" } ]
3c2c082e5d4ff120231862cad3386b86
Performs the left rotation in the given string.
[ { "docid": "0f093c9ae0329d3f0b5a9bbcf742bae5", "score": "0.7390556", "text": "static String rotateLeft(String str, int d){\n d %= str.length();\n String ans = str.substring(d) + str.substring(0, d);\n return ans;\n }", "title": "" } ]
[ { "docid": "bf4663695db659822e04a811aff3cf0e", "score": "0.73614544", "text": "public String turnLeftRot() throws IOException ;", "title": "" }, { "docid": "f777d3ee03ca5a22af4319f3407936b3", "score": "0.720331", "text": "private static void rotateLeft() {\n\t\tint temp = getKeyNum(KEY_INDEX_ZERO);\n\t\t\n\t\tsetKey(getKeyNum(KEY_INDEX_ONE), KEY_INDEX_ZERO);\n\t\tsetKey(getKeyNum(KEY_INDEX_TWO), KEY_INDEX_ONE);\n\t\tsetKey(temp, KEY_INDEX_TWO);\n\t}", "title": "" }, { "docid": "b139da93d6e0b38fdedcf1203b6bfd32", "score": "0.70572716", "text": "private void rotateLeft() {\n this.angle -= this.rotationSpeed;\n this.angle %= 360;\n }", "title": "" }, { "docid": "b008aa50dc2a6e88124b21d83d9f1308", "score": "0.695629", "text": "private static StringAVLNode rotateLeft(StringAVLNode t) {\n\t\tStringAVLNode replacementNode;\n\t\treplacementNode = t.getRight();\n\t\tt.setRight(replacementNode.getLeft());\n\t\treplacementNode.setLeft(t);\n\t\treturn replacementNode;\n\t}", "title": "" }, { "docid": "ddff316de348346e951239026efb61db", "score": "0.6899134", "text": "public void rotateLeft() {\n if(this.type == PieceType.O){ //If square block, do nothing.\n return;\n }\n if(canRotateLeft()){\n \n this.erasePiece();\n this.eraseFromLogic();\n \n rotate(); //The default rotation is to the left so simply do one rotation.\n \n this.updatePositions();\n this.drawPiece();\n this.drawToLogic();\n }\n }", "title": "" }, { "docid": "1b9c8c115ad1b9fc7cb5d56a5a4fcd2c", "score": "0.6896697", "text": "private void rotateleft()\n {\n int tempY = left[0];\n int tempX = left[1];\n left[0] = back[0];\n left[1] = back[1];\n back[0] = right[0];\n back[1] = right[1];\n right[0] = front[0];\n right[1] = front[1];\n front[0] = tempY;\n front[1] = tempX;\n }", "title": "" }, { "docid": "7b66929cbb989f3e9259a606c649fab5", "score": "0.6814096", "text": "public void rotateLeft() {\n\t\trotateShape(Rotations.Clockwise);\n\t}", "title": "" }, { "docid": "432251fb6bba2b18e882edbc0d636fb6", "score": "0.64023685", "text": "private void rotateLeft(WAVLNode x){\r\n\t\tWAVLNode z = x.getParent();\r\n\t\tWAVLNode y = z.getParent();\r\n\t\tWAVLNode L = x.getLeft();\r\n\t\tsetParentAfterRotation(y,z,x); \r\n\t\tz.parent =x;\r\n\t\tx.left =z;\r\n\t\tz.right = L;\r\n\t\tif(L!= EXT_NODE) {L.parent = z;}\r\n\t\tdemote(z);\r\n\t\tupdateSizeParentAndChildren(x);\r\n\t}", "title": "" }, { "docid": "da6587c4ae22bde8af62f6e4efe64161", "score": "0.6302715", "text": "private void leftRotate(Node node) {\r\n\t\tNode right=node.getright();\r\n\t\tnode.setright(right.getleft());\r\n\t\tif(right.getleft()!=NIL){\r\n\t\t\tright.getleft().setparent(node);\r\n\t\t}\r\n\t\tright.setparent(node.getparent());\r\n\t\tif(node.getparent()==NIL){\r\n\t\t\troot=right;\r\n\t\t\troot.setparent(NIL);\r\n\t\t}\r\n\t\telse if(node==node.getparent().getleft()){\r\n\t\t\tnode.getparent().setleft(right);\r\n\t\t}\r\n\t\telse{\r\n\t\t\tnode.getparent().setright(right);\r\n\t\t}\r\n\t\tright.setleft(node);\r\n\t\tnode.setparent(right);\r\n\t}", "title": "" }, { "docid": "e49e7dc38c7229e34f8c5676933e24a7", "score": "0.62873524", "text": "public void leftRotate(Node<E> x){\n Node<E> y = x.getRightChild();\n x.setRightChild(y.getLeftChild());\n if(y.getLeftChild() != nil){\n y.getLeftChild().setParent(x);\n }\n y.setParent(x.getParent());\n if(x.getParent() == nil ){\n root = y;\n }\n else if(x == x.getParent().getLeftChild()){\n x.getParent().setLeftChild(y);\n }\n else {\n x.getParent().setRightChild(y);\n\n }\n y.setLeftChild(x);\n x.setParent(y);\n }", "title": "" }, { "docid": "5d585285102b293796ce5d0019551fbe", "score": "0.6277222", "text": "private Node rotateLeft(Node node) {\n\t\tNode rotate = node.getRchild();\n\t\tnode.setRchild(rotate.getLchild());\n\t\trotate.setLchild(node);\n\t\tnode.setHeight(Math.max(findHeight(node.getLchild()), findHeight(node.getRchild())) + 1);\n\t\trotate.setHeight(Math.max(findHeight(rotate.getLchild()), findHeight(rotate.getRchild())) + 1);\n\t\tnode.setSize(findSize(node.getLchild()) + findSize(node.getRchild()) + 1);\n\t\trotate.setSize(findSize(rotate.getLchild()) + findSize(rotate.getRchild()) + 1);\n\t\tnode.setBalanceFactor(findHeight(node.getLchild()) - findHeight(node.getRchild()));\n\t\trotate.setBalanceFactor(findHeight(rotate.getLchild()) - findHeight(rotate.getRchild()));\n\t\treturn rotate;\n\t}", "title": "" }, { "docid": "b5b1679673009d7b15384c6e18c6976d", "score": "0.6231348", "text": "private void leftRotate(WAVLNode node) {\n\n\t\tWAVLNode parent = node.getParent();\n\t\tWAVLNode grandParent = parent.getParent();\n\t\tWAVLNode left = node.getActualLeft();\n\t\t\n\t\tif (parent == root) {\n\t\t\troot = node;\n\t\t}\n\t\t\n\t\tif (grandParent != null) {\n\t\t\tif (grandParent.getActualRight() == parent) {\n\t\t\t\tgrandParent.setRight(node);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tgrandParent.setLeft(node);\n\t\t\t}\n\t\t}\n\t\t//updating pointers\n\t\tnode.setParent(grandParent);\n\t\tnode.setLeft(parent);\n\t\tparent.setParent(node);\n\t\tparent.setRight(left);\n\t\t\n\t\t\n\t\tif (left.isInnerNode()) {\n\t\t\tleft.setParent(parent);\n\t\t}\n\t\t\n\t\t//updating size\n\t\tparent.updateSubtreeSize();\n\t\tnode.updateSubtreeSize();\n\t\tif (grandParent != null) {\n\t\t\tgrandParent.updateSubtreeSize();\n\t\t}\n\t\tparent.setRank(parent.getRank()-1);\n\t\t}", "title": "" }, { "docid": "6ecedafa08b05e9fe6779474b99ab9e4", "score": "0.62134516", "text": "private void turnLeft(Position position) {\n if(position.getOrientationIndex() != 0) {\n position.setOrientationIndex(position.getOrientationIndex()-1);\n } else {\n position.setOrientationIndex(3);\n }\n }", "title": "" }, { "docid": "a70b6add361f8d936064bf0d7ad94093", "score": "0.6211641", "text": "public void handleRotateLeft()\n {\n // todo\n }", "title": "" }, { "docid": "7a1af5b211515be2f92b2c536208fd7c", "score": "0.6211301", "text": "public void setLeft(Rotor r) {\n _left = r;\n }", "title": "" }, { "docid": "55fbaa72cff3a42401d7b624c2ab8955", "score": "0.6136337", "text": "Node<Integer> leftRotate(Node<Integer> x) {\r\n\t\tNode<Integer> y = x.getRightChild();\r\n\t\tNode<Integer> T2 = y.getLeftChild();\r\n\r\n\t\t// Perform rotation\r\n\t\ty.setLeftChild(x);\r\n\t\tx.setRightChild(T2);\r\n\r\n\t\t// Update heights\r\n\t\tx.setHeight(max(height(x.getLeftChild()), height(x.getRightChild())) + 1);\r\n\t\ty.setHeight(max(height(y.getLeftChild()), height(y.getRightChild())) + 1);\r\n\r\n\t\t// Return new root\r\n\t\treturn y;\r\n\t}", "title": "" }, { "docid": "e84cc07987b63d69ec4c86a696025301", "score": "0.6117967", "text": "public void doRotateLeftCommand() {\r\n TMView view = getSelectedView();\r\n if (view != null) {\r\n view.getEditorCanvas().rotateSelectionCounterClockwise();\r\n }\r\n }", "title": "" }, { "docid": "a81c88388fdef387bc488f5e5b4bdbd2", "score": "0.6111539", "text": "public void turnLeft(){\r\n\t\tsetCurrentRobotOrientation(getCurrentRobotOrientation().getLeft());\r\n\t}", "title": "" }, { "docid": "5917d402ec7681380908af6a247eb1c0", "score": "0.6036955", "text": "public void rotate_left() {\n\t\t\t\tIIterator it = space_object_collection.getIterator();\n\t\t\t\twhile(it.hasNext()) {\n\t\t\t\t\tGameObject obj = it.getNext();\n\t\t\t\t\tif(obj instanceof PlayerShip) {\n\t\t\t\t\t\tPlayerShip PS = (PlayerShip)obj;\n\t\t\t\t\t\tPS.rotate_launcher(-15);\n\t\t\t\t\t\trl_sound.play();\n\t\t\t\t\t\tSystem.out.println(\"Launcher rotated left 15 degrees.\");\n\t\t\t\t\t\tthis.setChanged();\n\t\t\t\t\t\tthis.notifyObservers(new GameWorldProxy(this));\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"A player ship must be created first!\");\n\t}", "title": "" }, { "docid": "0b6966b835bbd7d945aa108a80e8e810", "score": "0.60275847", "text": "private static void rotateLeft(int[] ar, int rotations) {\n\t\tif(rotations <= 0)\n\t\t\treturn;\n\t\t\n\t\tfor(int i = 0; i < rotations; i++) {\n\t\t\tint temp = ar[0];\n\t\t\tfor(int j = 1; j < ar.length; j++) {\n\t\t\t\tar[j-1] = ar[j];\n\t\t\t}\n\t\t\tar[ar.length-1] = temp;\n\t\t}\n\t}", "title": "" }, { "docid": "33058827848b9654d2b7811181a311c2", "score": "0.6009231", "text": "private static int leftrotate(int x, int shift) {\n\t\treturn (x << shift) | (x >>> (32 - shift));\n\t}", "title": "" }, { "docid": "caf6e9c65da4d9a43dca84ea8cc901db", "score": "0.59747505", "text": "@Test\n public void test_StrRotate_3() {\n String str = \"IntelliJ\";\n int shift = 0;\n Assert.assertEquals(\"IntelliJ\", StringRotate.strRotate(str, shift));\n }", "title": "" }, { "docid": "6ab854f5169f283a737e0471f39cecdb", "score": "0.5971861", "text": "private Node rotateLeft(Node n) {\n\n Node temp = n.right;\n n.right = temp.left;\n temp.left = n; \n return temp;\n }", "title": "" }, { "docid": "eccf37512a0ecf4493f5e228ad366f72", "score": "0.59594744", "text": "public BinaryTreeNode<dataType> rotateLeft ( BinaryTreeNode<dataType> q )\n {\n BinaryTreeNode<dataType> p = q.right;\n q.right = p.left;\n p.left = q;\n fixHeight (q);\n fixHeight (p);\n return p;\n }", "title": "" }, { "docid": "38e1890d2dc80c22a2e53c5214e469bf", "score": "0.59558636", "text": "RBTreeNode<T> rotateLeft(RBTreeNode<T> node) {\n RBTreeNode saved = new RBTreeNode(false, node.item, node.left, node.right.left);\n node = new RBTreeNode(node.isBlack, node.right.item, saved, node.right.right);\n return node;\n }", "title": "" }, { "docid": "3b76dc849431527dd4f8b20dee22c182", "score": "0.59473324", "text": "private void leftRotate(RedBlackTreeNode x) {\n RedBlackTreeNode y = x.right();\n x.rightTo(y.left());\n if (y.left() != null) {\n (y.left()).parentTo(x);\n }\n y.parentTo(x.parent());\n\n if (x.parent() == null) {\n this.root = y;\n } else {\n if (x == (x.parent()).left()) {\n (x.parent()).leftTo(y);\n } else {\n (x.parent()).rightTo(y);\n }\n }\n\n y.leftTo(x);\n x.parentTo(y);\n }", "title": "" }, { "docid": "1590d796cb3a1cabdc2f8431d941ac2f", "score": "0.5932481", "text": "@Test\n public void test_StrRotate_6() {\n String str = \"\";\n int shift = -1;\n Assert.assertEquals(\"invalid_string\",\n StringRotate.strRotate(str, shift));\n }", "title": "" }, { "docid": "3221b8753624d30f88f1568a54a6e3d0", "score": "0.5927777", "text": "private Node rotateLeftThenRight(Node node) {\n\t\tnode.setLchild(rotateLeft(node.getLchild()));\n\t\treturn rotateRight(node);\n\t}", "title": "" }, { "docid": "3e3a499222b33f227cb0da847e0621ac", "score": "0.5923419", "text": "public void rotateLeft(){\n\t\tProcessBuilder pb = new ProcessBuilder(\"/home/pi/arm_driver\", \"00\", \"02\", light ? \"01\" : \"00\"); \n\t\ttry {\n\t\t\tpb.start();\n\t\t\tThread.sleep(SLEEPTIME); \n\t\t\tpb = new ProcessBuilder(\"/home/pi/arm_driver\", \"00\", \"00\", light ? \"01\" : \"00\");\n\t\t\tpb.start();\n\t\t} catch (IOException | InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "2de19b2203a781ab2003b1a9ea459db8", "score": "0.5922283", "text": "public String rotate(String string) {\n\t\t\tStringBuilder sb = new StringBuilder();\n\t for (int i = 0; i < string.length(); i++) {\n\t char ch = string.charAt(i);\n\t if (ch >= 'A' && ch <= 'Z') {\n\t sb.append( (char) ('A' + ((ch - 'A') + key) % 26) );\n\t } else if (ch >= 'a' && ch <= 'z') {\n\t sb.append( (char) ('a' + ((ch - 'a') + key) % 26) );\n\t } else {\n\t sb.append(ch);\n\t }\n\t }\n\t \n\t return sb.toString();\n\t\t}", "title": "" }, { "docid": "9d954ef21d17c0334c93726ce07c0ea0", "score": "0.5901209", "text": "public String rotate(String string) {\n\t\t\t\n\t\t\tStringBuilder rotString = new StringBuilder();\n\t\t\tchar[] cString = string.toCharArray();\n\t\t\tfor (char c : cString) {\n\t\t\t\tif (Character.isLetter(c))\n\t\t\t\t\trotString.append(letterString.charAt((letterString.indexOf(c) + key * 2) % 52));\n\t\t\t\telse\n\t\t\t\t\trotString.append(c);\n\t\t\t}\n\n\t\t\treturn rotString.toString();\n\t\t}", "title": "" }, { "docid": "29ecaacdd7120c92afac0fb98e3400d0", "score": "0.58912265", "text": "private Void doubleRotateLeft(WAVLNode node) {\n\t\t\n\t\trightRotate(node);\n\t\tleftRotate(node);\n\t\tnode.setRank(node.getRank()+1); //fixes rank of node from the rotations.\n\t\treturn null;\n\t}", "title": "" }, { "docid": "712558dd3a5bd9e6df4d259261dba989", "score": "0.58757263", "text": "static Node leftRotate(Node root) {\n Node newRoot = root.right;\n root.right = newRoot.left;\n newRoot.left = root;\n root.ht = setHeight(root);\n newRoot.ht = setHeight(newRoot);\n return newRoot;\n }", "title": "" }, { "docid": "c7085bfdd0c9e92b497a3ca4a9ad9981", "score": "0.58742374", "text": "@Test\n public void test_StrRotate_1() {\n String str = \"String\";\n int shift = 3;\n Assert.assertEquals(\"ingStr\",\n StringRotate.strRotate(str, shift));\n }", "title": "" }, { "docid": "d7dec11775a149e0cbc1ae88756888c4", "score": "0.5873282", "text": "NodeImp leftRotate(NodeImp x)\r\n\t {\r\n\t \tNodeImp y = x.right;\r\n\t \tNodeImp T2 = y.left;\r\n\t \r\n\t // Perform rotation\r\n\t y.left = x;\r\n\t x.right = T2;\r\n\t \r\n\t // Update heights\r\n\t x.height = max(height(x.left), height(x.right)) + 1;\r\n\t y.height = max(height(y.left), height(y.right)) + 1;\r\n\t \r\n\t // Return new root\r\n\t return y;\r\n\t }", "title": "" }, { "docid": "9358db759f7437c5d280123ecf16d6ef", "score": "0.58669245", "text": "private TreeNode rotateLeft(TreeNode node){\r\n \tTreeNode parent = node.p;\r\n \tTreeNode child = node.r;\r\n \t//change N of the rotating nodes.\r\n \tnode.N=1;//counting itself.\r\n \tif(node.l != null){\r\n \t\tnode.N = node.N + node.l.N;\r\n \t}\r\n \tif(child.l != null){\r\n \t\tnode.N = node.N + child.l.N;\r\n \t}\r\n \tchild.N= 1 + node.N; //counting itself + its left child.\r\n \tif(child.r != null){\r\n \t\tchild.N = child.N + child.r.N;\r\n \t}\r\n \t\r\n \tif(parent==null){\r\n \t\thead=child;\r\n \t}else if(parent.l==node){\r\n \t\tparent.l = child;\r\n \t}else{\r\n \t\tparent.r = child;\r\n \t}\r\n \tchild.p = node.p;\r\n \tnode.p = child;\r\n \tnode.r = child.l;\r\n \tif(child.l != null) child.l.p = node;\r\n \tchild.l = node;\r\n \treturn child;\r\n\r\n }", "title": "" }, { "docid": "5206851ef55f71bb7033042b4eda9a89", "score": "0.58654696", "text": "public Piece leftRotation() {\n return next;\n }", "title": "" }, { "docid": "b22d42b9a2a8b25c77fd59196a403674", "score": "0.5863824", "text": "public void turnLeft() {\n\t\tturn(dir.relativeDir(3));\n\t}", "title": "" }, { "docid": "7deffa30bc6f73ea31fba0f03cf631e5", "score": "0.58632153", "text": "private RBNode<K, V> rotateLeft() {\n throw new UnsupportedOperationException();\n }", "title": "" }, { "docid": "8fb76ee514350aac7eabaa85b0b15aba", "score": "0.58540934", "text": "private Node<K, E> rotateLeft(Node<K, E> root) {\n Node<K, E> node = root.right;\n\n if (root.parent != null) {\n // Check if left or right node.\n if (root.parent.right == root) {\n root.parent.right = node;\n } else {\n root.parent.left = node;\n }\n }\n node.parent = root.parent;\n root.parent = node;\n root.right = node.left;\n if (root.right != null) {\n root.right.parent = root;\n }\n node.left = root;\n\n if (node.parent == null) {\n this.root = node;\n }\n\n /* Adjust heights for nodes from base. */\n changeHeight(root);\n changeHeight(node);\n return node;\n }", "title": "" }, { "docid": "92858e69229842a397d2fd9b80ecf34c", "score": "0.58505416", "text": "public String turnRightRot() throws IOException ;", "title": "" }, { "docid": "c03e72a34d18535c16ad3c0f0dc12545", "score": "0.58427095", "text": "private BSTNode<T> leftRotation(BSTNode<T> rotatingNode){\n\t\tBSTNode<T> temp = rotatingNode.right;\n\t\ttemp.parent = rotatingNode.parent;\n\t\t\n\t\t\n\t\tif(temp.left != null){\n\t\t\trotatingNode.right = temp.left;\n\t\t\trotatingNode.left.parent = rotatingNode;\n\t\t}\n\t\telse{\n\t\t\trotatingNode.right = null;\n\t\t}\n\t\t\n\t\ttemp.left = rotatingNode;\n\t\trotatingNode.parent = temp;\n\t\t\n\t\tif(temp.parent != null){\n\t\t\tif(temp.parent.right == rotatingNode){\n\t\t\t\ttemp.parent.right = temp;\n\t\t\t}\n\t\t\telse if(temp.parent.left == rotatingNode){\n\t\t\t\ttemp.parent.left = temp;\n\t\t\t}\n\t\t}\n\t\t\n\t\tbalanceFactor(rotatingNode);\n\t\tbalanceFactor(temp);\n\t\t\n\t\treturn temp;\n\t}", "title": "" }, { "docid": "bf1065bbe6596e95e625e5aac58a2846", "score": "0.58085036", "text": "public static int leftRotate(int n){\n\t\t\n\t\t// your code goes here\n\t\tint numOfD = numberOfDigits(n),ans;\n int quotient,remainder;\n quotient = (int)(n/Math.pow(10,numOfD-1));\n remainder = (int)(n-(quotient * Math.pow(10,numOfD-1)));\n ans = (remainder*10) + quotient;\n return ans;\n\t\t\n\t}", "title": "" }, { "docid": "39f1298beda81f10e04fa4c9924a7451", "score": "0.57973695", "text": "private Node rotateLeft(Node n) {\n Node rootRC = n.right;\n n.right = rootRC.left;\n rootRC.left = n;\n\n n.height = Math.max(height(n.left), height(n.right)) + 1;\n rootRC.height = Math.max(height(rootRC.left), height(rootRC.right)) + 1;\n\n return rootRC;\n }", "title": "" }, { "docid": "01a64e40e6f0490b116603cea5dbbd6a", "score": "0.57963645", "text": "private BinaryNode<T> rotateLeft(BinaryNode<T> nodeN){\n\t\tBinaryNode<T> nodeC = nodeN.getRightChild();\n\t\tnodeN.setRightChild(nodeC.getLeftChild());\n\t\tnodeC.setLeftChild(nodeN);\n\t\treturn nodeC;\n\t}", "title": "" }, { "docid": "4bedb800d2054d98cc766d8a53c52ac4", "score": "0.5795035", "text": "public boolean rotateLeft()\r\n\t{\r\n\t\tif (type == BlockType.Square)\r\n\t\t\treturn true;\r\n\r\n\t\t// Setup the next locations.\r\n\t\tupdateNext();\r\n\t\t// Rotate the squares now based on the center\r\n\t\tPoint c = getCenter();\r\n\t\tnext[0].set((next[0].y - c.y) + c.x, -(next[0].x - c.x) + c.y);\r\n\t\tnext[1].set((next[1].y - c.y) + c.x, -(next[1].x - c.x) + c.y);\r\n\t\tnext[2].set((next[2].y - c.y) + c.x, -(next[2].x - c.x) + c.y);\r\n\t\tnext[3].set((next[3].y - c.y) + c.x, -(next[3].x - c.x) + c.y);\r\n\t\t// Try to move to the next positions\r\n\t\treturn attemptMove();\r\n\t}", "title": "" }, { "docid": "c94241e5752d26eb3c8758fa3676c60b", "score": "0.57876575", "text": "public void testLeft() {\r\n \r\n assertEquals(\"\", StringUtil.left(null, ' ', 0));\r\n assertEquals(\"\", StringUtil.left(\"\", ' ', 0));\r\n assertEquals(\"\", StringUtil.left(\"test\", ' ', 0));\r\n assertEquals(\" \", StringUtil.left(null, ' ', 1));\r\n assertEquals(\"tes\", StringUtil.left(\"test\", 's', 3));\r\n assertEquals(\"testss\", StringUtil.left(\"test\", 's', 6));\r\n \r\n }", "title": "" }, { "docid": "fa85eef55a462d64a29ebdd054739c1b", "score": "0.5779517", "text": "public static String left(String text, int len) {\r\n \t//TODO-AssertUtil.assertNotNull(text, \"text\");\r\n \t//TODO-AssertUtil.assertTrue(len >= 0, \"len\");\r\n\r\n int length = text.length();\r\n\r\n if (length <= len) {\r\n return text;\r\n }\r\n\r\n char[] chars = text.toCharArray();\r\n\r\n return new String(chars, 0, Math.min(len, length));\r\n }", "title": "" }, { "docid": "fd5fa5ff1eb0ad03cfe0bc9ca3486e6b", "score": "0.5772196", "text": "@Test\n public void test_StrRotate_4() {\n String str = \"NegativeScenario\";\n int shift = -3;\n Assert.assertEquals(\"invalid_int\", StringRotate.strRotate(str, shift));\n }", "title": "" }, { "docid": "e59bcb48e6584dfc65dd8db511d9108a", "score": "0.5765398", "text": "private static String transposeLeft(String sentence, int transposeWith) {\n if (sentence == null || transposeWith < 0) {\n throw new IllegalArgumentException(\"The string is empty or the int parameter is negative!\");\n }\n //breaking the string up to a char array\n char[] charArr = sentence.toCharArray();\n String transposed = null;\n //calculating the difference between the length of the array and the\n //number to rotate with in order to avoid pointless transpositions\n int difference = charArr.length - transposeWith % charArr.length;\n if (difference > 0) {\n //creating a temporary array, same as original\n char[] temp = charArr.clone();\n //from left to right\n for (int i = 0; i < charArr.length; i++) {\n //place every element on its calculated new position\n int j = ((i + (charArr.length - difference)) % charArr.length);\n charArr[i] = temp[j];\n }\n }\n transposed = new String(charArr);\n return transposed;\n }", "title": "" }, { "docid": "723f1014f9142d0169c2f0b98572e46e", "score": "0.57501", "text": "public void rotateLeft() {\n Node tem = head;\n head = head.next;\n tem.next = null;\n Node n;\n for(n=head; n.next!= null; n= n.next){\n }\n n.next=tem;\n }", "title": "" }, { "docid": "0141c014f5b3f3612b0401578bee66a3", "score": "0.5750095", "text": "@Override\n\tpublic Cell[] rotateLeft() {\n\t\treturn getPosition(rotation);\n\t}", "title": "" }, { "docid": "ef4efff2819a1d1ce67f799bc4f6f2ca", "score": "0.57489544", "text": "public void left( float degrees ) { lt( degrees ); }", "title": "" }, { "docid": "2b5279027ff8f6ec59e1d5e73f682d39", "score": "0.5745856", "text": "void left() {\n\t\tdirection = Direction.values()[direction.ordinal() == 0 ? 3 : direction.ordinal() - 1];\n\t}", "title": "" }, { "docid": "a1b1180b3b7981ce881917ffd466fc61", "score": "0.57390624", "text": "private static String rotateString(String inputString, int rotateByNbr) {\n\t\tint i = INT_ZERO;\n\t\tif (inputString != null)\n\t\t\ti = inputString.length();\n\t\treturn inputString.substring(i - rotateByNbr, i) + inputString.substring(INT_ZERO, i - rotateByNbr);\n\t}", "title": "" }, { "docid": "d8ad2976019fb554a451933e5f9392d1", "score": "0.5736835", "text": "private void rotColumnLeft(char matrix[][], int column)\n\t{\n\t\tchar aux = matrix[0][column];\n\n\t\tfor(int i = 1; i < MATRIX_ORDER; ++i) {\n\t\t\tmatrix[i - 1][column] = matrix[i][column];\n\t\t}\n\n\t\tmatrix[MATRIX_ORDER - 1][column] = aux;\n\t}", "title": "" }, { "docid": "ef67ada0a4c4ff6486f0753842777d38", "score": "0.57289284", "text": "static String rotateRight(String str, int d){\n d %= str.length();\n return rotateLeft(str, str.length() - d);\n }", "title": "" }, { "docid": "f8058f52b22759cd8ed174abea9e0185", "score": "0.57243043", "text": "public void spinLeft() {\n fl.setPower(BACK);\n fr.setPower(FORWARD);\n bl.setPower(BACK);\n br.setPower(FORWARD);\n }", "title": "" }, { "docid": "63f3dc8715b0f2474a8bd4063180844c", "score": "0.5723913", "text": "private void Mid_rotate() {\n if (count == inner.length()) {\n char last = middle.charAt(middle.length() - 1);\n middle = last + middle.substring(0, middle.length() - 1);\n count = 0;\n }\n }", "title": "" }, { "docid": "e971575a20bd93929397378d1a7394c3", "score": "0.57093894", "text": "public void spinLeft();", "title": "" }, { "docid": "582cd42bac155346c39c8129a24f2add", "score": "0.5702592", "text": "private AVLNode doubleRotateLeft(AVLNode k3)\n\t{\n\t\tk3.left = rightRotate(k3.left);\n\t\treturn leftRotate(k3);\n\t}", "title": "" }, { "docid": "e76bd44f0c62ffd605cd88582117d2c1", "score": "0.57011926", "text": "private Node rotateRightLeft(Node n) {\n\n n.right = rotateRight(n.right);\n n = rotateLeft(n);\n return n;\n }", "title": "" }, { "docid": "86c96b7c388a6eb919d6d0cae33ef375", "score": "0.56901693", "text": "public void spinLeft(){\n fl.setPower(BACK);\n fr.setPower(FORWARD);\n bl.setPower(BACK);\n br.setPower(FORWARD);\n }", "title": "" }, { "docid": "7f02524db87d761d8aca4cd2fa3c6a5b", "score": "0.5687502", "text": "private BSTNode<T> rightLeftRotation(BSTNode<T> targetNode){\n\t\ttargetNode.right = rightRotation(targetNode.right);\n\t\treturn leftRotation(targetNode);\n\t}", "title": "" }, { "docid": "9009d418abcf2489e68b67884928aec6", "score": "0.5671113", "text": "public void makeLeftTurn()\r\n {\r\n turnLeft();\r\n move();\r\n turnLeft();\r\n }", "title": "" }, { "docid": "f11efab0c64625c07c90c4497dd2d67f", "score": "0.56644547", "text": "private void rotate_left(Node n){\n Node ns_parent = n.parent;\n Node n_rights_leftchild = n.right.left;\n setLeftChild(ns_parent,n.right);\n if (ns_parent == null) this.root = n.right;\n setLeftChild(n.right,n);\n setRightChild(n,n_rights_leftchild);\n n.updateHeight();\n n.parent.updateHeight();\n if (ns_parent != null) ns_parent.updateHeight();\n }", "title": "" }, { "docid": "dc4128f05257796e45f5a531aa957140", "score": "0.5658342", "text": "@Test\n public void test_StrRotate_7() {\n String str = \" \";\n int shift = 0;\n Assert.assertEquals(\" \",\n StringRotate.strRotate(str, shift));\n }", "title": "" }, { "docid": "1b9b650cedc5c34bc6646267593ce7d4", "score": "0.5638568", "text": "public static String left(String str, int len) {\n if (str == null) {\n return null;\n }\n if (len < 0) {\n return \"\";\n }\n if (str.length() <= len) {\n return str;\n } else {\n return str.substring(0, len);\n }\n }", "title": "" }, { "docid": "d3468d29621f27cf99041594c33ffc7e", "score": "0.5623733", "text": "protected RedBlack<T> rotateLeft(RedBlack<T> a) {\n val b = a.right();\n a.right(b.left());\n b.left(a);\n b.color(a.color());\n a.color(RedBlack.RED);\n b.parent(a.parent());\n if (a.isLeftChildOfItsParent())\n a.parent().left(b);\n else\n a.parent().right(b);\n a.parent(b);\n return b;\n }", "title": "" }, { "docid": "e83b468ffe89070383b7aea506f1e894", "score": "0.56175935", "text": "public String turnLeft() throws IOException;", "title": "" }, { "docid": "23b7678e9a43bb31007bae59e3631140", "score": "0.55720645", "text": "private BSTNode<T> leftRightRotation(BSTNode<T> targetNode){\n\t\ttargetNode.left = leftRotation(targetNode.left);\n\t\treturn rightRotation(targetNode);\n\t}", "title": "" }, { "docid": "038b192e5aabe05f0b143a2e9379bf9a", "score": "0.5570279", "text": "private void rotateLeftDelete(WAVLNode x){\r\n\t\tpromote(x);\r\n\t\trotateLeft(x);\r\n\t}", "title": "" }, { "docid": "44dc9fbcf2559bfb94eec764cbdc4d00", "score": "0.5566548", "text": "public void setLeft(StringAVLNode pt)\n {\n this.left = pt;\n }", "title": "" }, { "docid": "7828b158fa56bbfac748c097953f8dfb", "score": "0.5556978", "text": "public Direction turnLeft() {\n\t\treturn turn(90.0);\n\t}", "title": "" }, { "docid": "998aed7530bef4d2a435776b47165c7e", "score": "0.55531996", "text": "private Node<T> rightLeftRotate(Node<T> nodeN) {\n Node<T> nodeC = nodeN.getRight();\n nodeN.setRight(rightRotate(nodeC));\n return leftRotate(nodeN);\n }", "title": "" }, { "docid": "d0a064d361adee8617015c7c33d991cd", "score": "0.5551847", "text": "@Test\n public void test_StrRotate_2() {\n String str = null;\n int shift = 3;\n Assert.assertEquals(\"invalid_string\", StringRotate.strRotate(str, shift));\n }", "title": "" }, { "docid": "dce44baeb5f842e76735ffe08d2b6439", "score": "0.5547106", "text": "private void rotateLeft(Node<K, V> root) {\n/* 402 */ Node<K, V> left = root.left;\n/* 403 */ Node<K, V> pivot = root.right;\n/* 404 */ Node<K, V> pivotLeft = pivot.left;\n/* 405 */ Node<K, V> pivotRight = pivot.right;\n/* */ \n/* */ \n/* 408 */ root.right = pivotLeft;\n/* 409 */ if (pivotLeft != null) {\n/* 410 */ pivotLeft.parent = root;\n/* */ }\n/* */ \n/* 413 */ replaceInParent(root, pivot);\n/* */ \n/* */ \n/* 416 */ pivot.left = root;\n/* 417 */ root.parent = pivot;\n/* */ \n/* */ \n/* 420 */ root.height = Math.max((left != null) ? left.height : 0, (pivotLeft != null) ? pivotLeft.height : 0) + 1;\n/* */ \n/* 422 */ pivot.height = Math.max(root.height, (pivotRight != null) ? pivotRight.height : 0) + 1;\n/* */ }", "title": "" }, { "docid": "dafc35f6245c7309f5b2c9f71f67c280", "score": "0.55393124", "text": "private Node rotateRightThenLeft(Node node) {\n\t\tnode.setRchild(rotateRight(node.getRchild()));\n\t\treturn rotateLeft(node);\n\t}", "title": "" }, { "docid": "196f9228cfc5f92228b46bcfcbacbd64", "score": "0.55208254", "text": "public static int rotateLeft(int i, int distance) {\n\t}", "title": "" }, { "docid": "3e6e995c9a74f666c8f8599313bfc329", "score": "0.5509523", "text": "static int[] rotLeft(int[] a, int d) {\n \tInteger fisrt = a[0]; \n \t\n \tfor (int i = 1; i < a.length; i++) {\n \t\ta[i -1 ] = a[i]; \n\t\t}\n \ta[a.length -1] = fisrt; \n \td--; \n \tif (d > 0) {\n\t\t\treturn rotLeft(a, d );\n\t\t}\n \t\t\t\n\t\treturn a; \n }", "title": "" }, { "docid": "94b239790660a69d2d1bb81b73634f3b", "score": "0.54970247", "text": "public void moveLeft() {\n\t\tif(!invertido) {\n\t\t\tint[] valores= posicion.getCordenadas();\n\t\t\tint temporal= valores[0]-2;\n\t\t\tchangePosition(temporal,valores[1]);\n\t\t\thitBox.setLocation(posicion.getCordenadas()[0], posicion.getCordenadas()[1]);\n\t\t\tif(movimiento) {\n\t\t\t\tsetEstado(\"2\");\n\t\t\t\tmovimiento=false;\n\t\t\t}else {\n\t\t\t\tsetEstado(\"3\");\n\t\t\t\tmovimiento=true;\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tmoveRigthInvertido();\n\t\t}\n\t}", "title": "" }, { "docid": "8548aa3a13635cc89cce14b3b769272a", "score": "0.5488033", "text": "public void moveLeft() {\n allStop();\n this.dx = -this.speed;\n this.direction = \"LEFT\";\n }", "title": "" }, { "docid": "d1f2a0ecdbbe6e746dd685d8ef54a756", "score": "0.5487903", "text": "private void leftRotate (Tree degTree) {\n System.out.println(\"3\");\r\n\t\tTree rightChild = degTree.getRightChild(),\r\n\t\t\t parent = degTree.getParent(),\r\n\t\t\t leftGrandson = rightChild.getLeftChild();\r\n\r\n\t\tdegTree.setParent(rightChild);\r\n\t\tdegTree.setRightChild(rightChild.getLeftChild());\r\n\t\t\r\n\t\tif (leftGrandson != null) {\r\n\t\t\tleftGrandson.setParent(degTree);\r\n\t\t}\r\n\r\n\t\trightChild.setParent(parent);\r\n\t\trightChild.setLeftChild(degTree);\r\n\r\n\t\tif (parent != null){\r\n\t\t\tif (parent.getValue() > rightChild.getValue()) {\r\n\t\t\t\tparent.setLeftChild(rightChild);\r\n\t\t\t} else {\r\n\t\t\t\tparent.setRightChild(rightChild);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\r\n\t\r\n\t\tTree tmpTree = degTree; \r\n\t\twhile (tmpTree != null) {\r\n\t\t\trecalcHeight(tmpTree);\r\n\t\t\ttmpTree = tmpTree.getParent();\r\n\t\t}\r\n\r\n\t\tif (parent == null) {\r\n\t\t\ttree = degTree.getParent();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "39160fa0c7cd6861fe03da9cddd1bb29", "score": "0.54874974", "text": "private Node leftRotation(Node currentNode) {\n\n root = currentNode.right; //-- the right node becomes the new parent node\n Node middleNode = root.left; //-- variable to store left node of right child\n\n root.left = currentNode; //-- the current node becomes the left node of new parent node\n currentNode.right = middleNode; //-- the left node of right child becomes right node\n\n currentNode.height = Math.max(getHeight(currentNode.left), getHeight(currentNode.right)) + 1; //-- re-adjusting the height of AVL tree after rotation\n root.height = Math.max(getHeight(root.left), getHeight(root.right)); //-- re-adjusting the height of new parent node after rotation\n\n postOrderTraversal(root); //-- calling postOrderTraversal method to update the heights of left and right sub trees\n\n System.out.println(\"Height of left subtree after left rotation: \" + root.leftSubtreeHeight);\n\n System.out.println(\"Height of right subtree after left rotation: \" + root.rightSubtreeHeight);\n return root;\n }", "title": "" }, { "docid": "db9e3a880989de01e24fddb9b6b6d000", "score": "0.5481312", "text": "@Test\n public void test_StrRotate_5() {\n String str = \"My String\";\n int shift = 5;\n Assert.assertEquals(\"tringMy S\",\n StringRotate.strRotate(str, shift));\n }", "title": "" }, { "docid": "a22b7ce1e78df5e9269cb385ebbc9640", "score": "0.54767305", "text": "public void moveLeft(){\n \n if(canMoveLeft()){\n this.erasePiece();\n this.eraseFromLogic();\n \n xCord--;\n \n this.updatePositions();\n this.drawPiece();\n this.drawToLogic();\n }\n }", "title": "" }, { "docid": "6abf41a9e90981e5cf76f1a974578ccd", "score": "0.54715174", "text": "private Node rotateLeftRight(Node n) {\n\n n.left = this.rotateLeft(n.left);\n n = rotateRight(n);\n return n; \n }", "title": "" }, { "docid": "3c2e8ea710d34a2fa14aa945dc912df5", "score": "0.5462773", "text": "private static StringAVLNode rotateRight(StringAVLNode t) {\n\t\tStringAVLNode replacementNode;\n\t\treplacementNode = t.getLeft();\n\t\tt.setLeft(replacementNode.getRight());\n\t\treplacementNode.setRight(t);\n\t\treturn replacementNode;\n\t}", "title": "" }, { "docid": "ea8c0fe3985e2c8203f76314e115e5b4", "score": "0.5457309", "text": "public Position Left_turn(Position p) {\n Position t = new Position();\n t.present = p.present;\n switch (p.orientation) {\n case WEST:\n t.orientation = SOUTH;\n break;\n case EAST:\n t.orientation = NORTH;\n break;\n case NORTH:\n t.orientation = WEST;\n break;\n case SOUTH:\n t.orientation = EAST;\n break;\n } //send command to bot.\n return t;\n }", "title": "" }, { "docid": "2900d481f1ac1850a51d18c13ea8445f", "score": "0.5455552", "text": "public String getCodeNormalRotor(String x) {\n return rotor0.get(x);\n }", "title": "" }, { "docid": "473d0b5eae01d7b89f90d1a43ec73666", "score": "0.5454276", "text": "@Override\n public void goLeft() {\n System.out.println(\"goLeft\");\n snakeGameLogic.changeDir(Direction.left);\n }", "title": "" }, { "docid": "6b01ec05073e6235922906ac4a622771", "score": "0.5441251", "text": "public final void moveLeft(){\n move(listR, listL);\n }", "title": "" }, { "docid": "e5dc057627c6b8ef2106d85cde91d4b6", "score": "0.54368776", "text": "private Node<T> leftRightRotate(Node<T> nodeN) {\n Node<T> nodeC = nodeN.getLeft();\n nodeN.setLeft(leftRotate(nodeC));\n return rightRotate(nodeN);\n }", "title": "" }, { "docid": "93560ea1e4dfcabb14d981b94f0b78e3", "score": "0.54213893", "text": "private void Inner_rotate() {\n char last = inner.charAt(inner.length() - 1);\n inner = last + inner.substring(0, inner.length() - 1);\n count++;\n Mid_rotate();\n }", "title": "" }, { "docid": "1516034d8c3375d79c6c1b55fe908245", "score": "0.5419549", "text": "private TreeLink rotateLeft(TreeLink target){\n\t\tTreeLink subRight = target.getRightSon();\n\t\tif (subRight.getLeftSon().isEmpty()){\n\t\t\ttarget.setRightSon(null);\n\t\t}\n\t\telse {\n\t\t\ttarget.setRightSon(subRight.getLeftSon());\n\t\t}\n\t\tsubRight.setLeftSon(target);\n\t\ttarget.heightCorrection();\n\t\tsubRight.heightCorrection();\n\t\treturn subRight;\n\t}", "title": "" }, { "docid": "942ac19eb8e6fa6482aa15ca8cadb491", "score": "0.5405896", "text": "void left();", "title": "" }, { "docid": "942ac19eb8e6fa6482aa15ca8cadb491", "score": "0.5405896", "text": "void left();", "title": "" }, { "docid": "3b15c6dd6192d9b65336afcd30d67d8f", "score": "0.5396443", "text": "public static void rotateString(String inputString,int num) {\r\n\t\tString res = \"\";\r\n\t\t/*identifying the prefix & suffix of the rotated string, by taking the substring*/\r\n\t\tString prefix = inputString.substring(inputString.length()-(num%inputString.length()), inputString.length());\r\n\t\tString suffix = inputString.substring(0,inputString.length()-(num%inputString.length()));\r\n\t\t\r\n\t\tres = prefix+suffix;\r\n\t\t\r\n\t\tSystem.out.println(res);\r\n\t}", "title": "" }, { "docid": "475a4dfefc21e4f6eb69ca39599db93f", "score": "0.53949696", "text": "private BinaryNode<T> rotateRightLeft(BinaryNode<T> nodeN){\n\t\tBinaryNode<T> nodeC = nodeN.getRightChild();\n\t\tnodeN.setRightChild(rotateRight(nodeC));\n\t\treturn rotateLeft(nodeN);\n\t}", "title": "" }, { "docid": "320868541ab20504ba69ccc8abd206e3", "score": "0.5388587", "text": "public void moveLeft() {\r\n setState(MovingState.MOVING_LEFT);\r\n }", "title": "" } ]
d7480500015933f201d9bc2e0ee6ed53
File file = new File("E:\\cache"); File[] files = file.listFiles(); System.out.println(files[4].getName());
[ { "docid": "f4141163404c62eef4e929eb3e505599", "score": "0.0", "text": "@Test\n public void test4() throws IOException {\n String indexDir = \"E:\\\\cache\\\\test\\\\ctx\";\n String beginDatetime = \"2017-04-26 14:01\";\n String endDatetime = \"2017-04-26 14:03\";\n List<File> fileList = IndexCacheScanner.scan(beginDatetime, endDatetime, indexDir, IndexFormat.CONTEXT);\n for (File file : fileList) {\n deleteDir(file, IndexType.CONTEXT);\n }\n\n }", "title": "" } ]
[ { "docid": "d9f5c4b70fd7b09ca6e66c3f7c984224", "score": "0.65175784", "text": "List<File> mo118063c();", "title": "" }, { "docid": "c50f8a2c9248ce0ce36ef903c467060d", "score": "0.6436172", "text": "List<Path> getFiles();", "title": "" }, { "docid": "7a3de1e7d04de77a5f1e04421458ac6d", "score": "0.64359707", "text": "public ArrayList<File> mo41464a() {\n ArrayList<File> arrayList = new ArrayList<>();\n File file = new File(this.f11321a.getFilesDir() + \"/crash\");\n if (!file.exists()) {\n file.mkdirs();\n return arrayList;\n }\n File[] listFiles = file.listFiles();\n for (int i = 0; i < listFiles.length; i++) {\n String[] split = listFiles[i].getName().split(Constants.COLON_SEPARATOR);\n if (split.length >= 2 && Integer.parseInt(split[1]) >= 1 && listFiles[i].isFile()) {\n arrayList.add(listFiles[i]);\n }\n }\n return arrayList;\n }", "title": "" }, { "docid": "f256e494cce2ad9628bc42892213cd24", "score": "0.63951534", "text": "private String list(String filename){\n\t\tFile file = new File(filename);\n\t\tif(file.isDirectory()){\n\t\t\tStringBuffer buffer = new StringBuffer();\n\t\t\tfor(File f: file.listFiles()){\n\t\t\t\tif(!f.isHidden() && !f.getName().startsWith(\".\"))\n\t\t\t\t\tbuffer.append(f.getName()+((f.isDirectory())?\"/\":\"\")+\"\\n\");\n\t\t\t}\n\t\t\treturn buffer.toString();\n\t\t}\n\t\treturn \"error\";\n\t}", "title": "" }, { "docid": "9a46cf80a94c39d925cd9cdc17ea91a7", "score": "0.637471", "text": "private String dir (String fileStorage){\n String files =\"\";\n File folder = new File(fileStorage);\n File[] listOfFiles = folder.listFiles();\n for (File listOfFile : listOfFiles) {\n if (listOfFile.isFile()) {\n files +=(\"File \" + listOfFile.getName()+\"\\n\");\n } else if (listOfFile.isDirectory()) {\n files += (\"Directory \" + listOfFile.getName()+\"\\n\");\n }\n }\n return files;\n }", "title": "" }, { "docid": "bf64692b14abde6b99b8e09017656022", "score": "0.6271963", "text": "public static List<String> getFileNames()\n {\n String sUserDir=System.getProperty(\"user.dir\");\n String sFilePath= sUserDir+File.separator+\"resources\"+File.separator;\n File sPath = new File(sFilePath);\n /**making sure that the directory exists else altering the path such that it works**/\n if (!sPath.isDirectory()) {\n sFilePath = sUserDir.substring(0, sUserDir.length() - 4) + File.separator + \"resources\" + File.separator;\n }\n //System.out.println(\"sUserDir::::::\"+sUserDir);\n //System.out.println(\"sFilePath::::::\"+sFilePath);\n List<String> listOfFilePaths = new ArrayList<String>();\n File[] files = new File(sFilePath).listFiles();\n for (File file : files)\n listOfFilePaths.add(file.getAbsolutePath());\n\n return listOfFilePaths;\n }", "title": "" }, { "docid": "7149a8e92c153e83848f84d41cf706cc", "score": "0.62296295", "text": "public void showAllFiles() {\n\t System.out.println(\"List of Files \");\r\n\t\ttry {\r\n\t File file = new File(\"D:\\\\test\");\r\n\r\n\t // returns an array of all files\r\n\t String[] fileList = file.list();\r\n\r\n\t for(String str : fileList) {\r\n\t System.out.println(str);\r\n\t }\r\n\t }\t\r\n\t catch(Exception e) {\r\n\t \te.printStackTrace();\r\n\t }\r\n\r\n\t}", "title": "" }, { "docid": "b233465494f866ee2eb06c9f0cf40d80", "score": "0.6199597", "text": "public File[] getFilesInfo(String filePath) {\r\n\t\t//String filePath = System.getProperty(\"user.dir\") + \"\\\\Data\";\r\n\t\t//System.out.println(filePath);\r\n\t\t\r\n\t\tFile folder = new File(filePath);\r\n\t\tFile[] listOfFiles = folder.listFiles();\r\n\r\n\t\treturn listOfFiles;\r\n\t}", "title": "" }, { "docid": "c381dcc0b7e3c42725e4f0afd3bd87ab", "score": "0.61959344", "text": "static void fileFolderList() {\r\n\t\tFile folder = new File(\".\");\r\n\t\tFile[] fList = folder.listFiles();\r\n\r\n\t\tfor (File file: fList) {\r\n\t\t\tif(file.isDirectory()) {\r\n\t\t\t\tSystem.out.println(\"[\"+file.getName()+\"]\");\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tSystem.out.println(file.getName());\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "c7203ea5d9682fa0d9991d7cea40e26a", "score": "0.61956596", "text": "public void datosDirecorio(String nombre){\n archivo=new File(nombre);\r\n if(archivo.isDirectory()){ //si el archivo es un directorio lo ejecuta \r\n for (int i = 0; i < archivo.listFiles().length; i++) {\r\n System.out.println(archivo.listFiles()[i] ); \r\n \r\n }\r\n \r\n }\r\n \r\n }", "title": "" }, { "docid": "4ea6bec827a8376a557994f6534802d2", "score": "0.61066055", "text": "List<File> getClasspathFiles();", "title": "" }, { "docid": "2ebd9f2d57c2ce92344750b4746e07f0", "score": "0.60755676", "text": "public File[] getFiles(String path)\n\t{//This method is used to obtain the list of files in a directory\n\t\ttry\n\t\t{\n\t\t\tfile = new File(path);\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn file.listFiles();\n\t}", "title": "" }, { "docid": "304ac2759810129f45a68407deb92687", "score": "0.602545", "text": "public File[] mo1132d() {\n return this.f14682a.listFiles();\n }", "title": "" }, { "docid": "2da869bc3daeb2a4147c6a2a9c22fcc1", "score": "0.60193723", "text": "public String getCacheFileListImage(String fileName)\n\t{\n\t\tif(ParamsApp.SYSTEM_REDIS == 1) {\n\t\t\t\n\t\t\tString returnData = \"\";\n\t\t\t\n\t\t\t// Cache on Redis Server\n\t\t\tRedisInterface redis = new RedisInterface();\n\t\t\tRedisCacheData dataRedis = new RedisCacheData();\n\t\t\t\n\t\t\ttry {\n\t\t\t\t\n\t\t\t\t//find key in Redis Server\n\t\t\t\tif (redis.existKeyCache(fileName)) {\n\t\t\t\t\t//return any value. Emply = no exist, if is diferent of emply exit\n\t\t\t\t\treturnData= \"findedKey\";\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\tcatch(Exception e) {\n\t\t\t\tSystem.out.println(\"ERROR: getImageEmpleadoBase64 (mode Redis server) :\" + e.getMessage());\n\t\t\t}\n\t\t\tfinally {\n\t\t\t\tredis = null;\n\t\t\t\tdataRedis = null;\n\t\t\t}\n\t\t\t\n\t\t\treturn returnData;\n\t\t}\n\t\telse {\n\t\t\t//Mode Cache on Disk\n\t\t\n\t\t\t//le pasamos el identificador \"sin extension\".\n\t\t\t File[] fileList = getFileListImage(fileName);\n\t\n\t\t\t if (fileList == null){\n\t\t\t\t return \"\";\n\t\t\t }\n\t\t if (fileList.length > 0)\n\t\t {\n\t\t \tFile file = fileList[0]; \n\t\t \treturn CacheDir + \"files\" + getPathByOperSystem() + file.getName();\n\t\t }\n\t\t else\n\t\t {\n\t\t \t return \"\";\n\t\t \t \n\t\t }\n\t\t} \n\t}", "title": "" }, { "docid": "6626a5adcf8c0a0637aac27d0576fd51", "score": "0.60183704", "text": "public String [] getFilesInCurrentDirectory();", "title": "" }, { "docid": "348fa8236bfb770ac73495a124626b36", "score": "0.60019153", "text": "public String [] fileList() {\t\n\t// TODO maybe someday add walking subdirectories\n\ttry {\n\t return Files.list(storeFolder)\n\t .map(Path::getFileName)\n\t .map(Path::toString)\n\t .collect(Collectors.toList())\n\t .toArray(new String[]{});\n\t} catch (IOException e) {\n\t System.err.println(\"Exception during listing files \" + e);\n\t}\n\treturn new String[]{};\n }", "title": "" }, { "docid": "38fd413162dfd9746568023fcec66d5d", "score": "0.599706", "text": "public scala.collection.Seq<java.lang.String> listFiles () { throw new RuntimeException(); }", "title": "" }, { "docid": "0473071e81e72f4c460e4644261948dd", "score": "0.59780234", "text": "public ArrayList<String> listFile(){\n\t\tArrayList<String> fics = new ArrayList<String>();\n\t\tfics.addAll(Arrays.asList(this.directory.list()));\n\t\treturn fics;\n\t\t\n\t}", "title": "" }, { "docid": "d5dabca13d71ce00c2947c27f4806d74", "score": "0.597795", "text": "private static File[] getAllFiles(String directory) {\n\t\tFile folder = new File(directory);\n\t\tFile[] listOfFiles = folder.listFiles();\n\t\t// System.out.println(\"Number of files : \" + listOfFiles.length);\n\t\treturn listOfFiles;\n\t}", "title": "" }, { "docid": "3caeec14f8ddaf9033fbd3cbe2b8c24c", "score": "0.59684116", "text": "public List<String> listFiles() throws IOException;", "title": "" }, { "docid": "005cc81588d0806d51116fe3ac342a4c", "score": "0.5954513", "text": "List<File> mo118057a(int i);", "title": "" }, { "docid": "1b4a1e754a2e8fbce61e359103e9f994", "score": "0.59042734", "text": "private File[] getFileListImage( String fileName) {\n\t File dir = new File(CacheDir+\"files\"+ getPathByOperSystem() ); \n\t final String xname = fileName;\n\t File[] fileList = dir.listFiles(new FilenameFilter() {\n\t public boolean accept(File dir, String name) {\n\t \n\t // if ( name.startsWith(xname) && (name.toLowerCase().endsWith(\"png\")|| name.toLowerCase().endsWith(\"jpg\") || name.toLowerCase().endsWith(\"bmp\")))\n\t if ( name.startsWith(xname))\n\t \t {\n\t \t return true;\n\t }\n\t return false;\n\t }\n\t });\n\t return fileList;\n\t }", "title": "" }, { "docid": "0784d888cb18e7f0fdba88f28f606d28", "score": "0.5897817", "text": "public ArrayList<String> getFiles(String parent) throws JSchException, IOException{\r\n\t\t ArrayList<String> files = new ArrayList<String>();\r\n\t\t Channel channel = sesConnection2.openChannel(\"exec\");\r\n\t\t \r\n\t\t ChannelExec ch = (ChannelExec) channel;\r\n\t\t ch.setCommand(\"cd \"+parent+\";\"+\"ls\");\r\n\t\t \r\n\t\t ch.connect();\r\n\r\n\t\t BufferedReader in=new BufferedReader(new InputStreamReader(ch.getInputStream()));\r\n\t\t String msg=null;\r\n\t\t while((msg=in.readLine())!=null){\r\n\t\t\t files.add(msg);\r\n\t\t }\r\n\r\n\t return files;\r\n\t }", "title": "" }, { "docid": "ed82d25a0b6bae014dbe4d642fb3fbd1", "score": "0.58842105", "text": "String[] list(String path) throws IOException;", "title": "" }, { "docid": "c48975546cfc636a3bc26d35668965ec", "score": "0.5876174", "text": "public static void test(){\n String fileName = \"src\";\n\n Path path = Paths.get(fileName);\n\n if(Files.exists(path)){\n try {\n System.out.println(path.getFileName());\n System.out.println(\"Is directory: \"+Files.isDirectory(path));\n System.out.println(\"Is absolute: \"+path.isAbsolute());\n System.out.println(\"Size: \"+Files.size(path));\n System.out.println(\"Path: \"+path);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n if(Files.isDirectory(path)){\n try {\n DirectoryStream<Path> directoryStream =\n Files.newDirectoryStream(path);\n for(Path p:directoryStream){\n System.out.println(p);\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n// System.out.println(fileName);\n// System.out.println(path.toUri().getPath());\n }", "title": "" }, { "docid": "f75a3d7557a09fad6ea39b7a25679549", "score": "0.58484834", "text": "public void loadSavedFiles(){\n File sdCardRoot = Environment.getExternalStorageDirectory();\n filessofar = new ArrayList<>();\n File yourDir = new File(sdCardRoot, \"Microphone_Recordings\");\n if (yourDir.listFiles() != null) {\n for (File f : yourDir.listFiles()) {\n if (f.isFile())\n filessofar.add(f.getName());\n }\n }\n }", "title": "" }, { "docid": "b419fe68ba9c1b0b02aa774584c95ac1", "score": "0.5790858", "text": "@Override\n public List<RemoteFileInfo> readDir(String fullPath) {\n return null;\n }", "title": "" }, { "docid": "eb66341b4c49ccff1d8c0b9e62f609f4", "score": "0.57890874", "text": "public static List<String> readDir(String arg){\n List<String> files = new ArrayList<>();\n File folder = new File(arg);\n File[] listOfFiles = folder.listFiles();\n for (File file : listOfFiles) {\n if (file.isFile()) {\n if(file.getName().endsWith(\".java\")){\n files.add(file.getPath());\n }\n }\n else if(file.isDirectory()) {\n files.addAll(readDir(file.getPath()));\n }\n }\n return files;\n }", "title": "" }, { "docid": "4808156c2dc13c84247a01fb68492b5f", "score": "0.5780966", "text": "protected void loadFileList() {\n File mPath = new File(Environment.getExternalStorageDirectory() + \"/\" + getString(R.string.storageFolder) + \"/keyframes/\");\n if(mPath.exists()) {\n FilenameFilter filter = new FilenameFilter() {\n\n @Override\n public boolean accept(File dir, String filename) {\n File sel = new File(dir, filename);\n return filename.contains(FTYPE) || sel.isDirectory();\n }\n\n };\n mFileList = mPath.list(filter);\n }\n else {\n mFileList= new String[0];\n }\n }", "title": "" }, { "docid": "d47fb5ee705221e82cbd0b413396ae62", "score": "0.576762", "text": "@DISPID(10002) //= 0x2712. The runtime will prefer the VTID if present\r\n @VTID(26)\r\n wsh.IFileCollection files();", "title": "" }, { "docid": "53d0acf41f763da86a3d4b8fbf674d6b", "score": "0.575105", "text": "List<String> list(String path) throws IOException;", "title": "" }, { "docid": "1f171b38325d349f722a761ee7d184fe", "score": "0.5737344", "text": "public List<String> list(String folder);", "title": "" }, { "docid": "d6ae82f340af9eb37fc8715d39dca0ab", "score": "0.5718712", "text": "public static void main(String[] args) {\n \t\t\n \t\tfinal File dir = new File(\"E:/Data_Backup/ID22-ODA-Complete\");\n \t\t\n \t\tlong start, end;\n \t\tObject[] fa;\n \t\t\n \t\tstart = System.currentTimeMillis();\n \t\tfa = dir.listFiles();\n \t\tend = System.currentTimeMillis();\t\t\n \t\tSystem.out.print(\"Time to listFiles(): \"+(end-start)+\"\\n\");\n \n \t\tstart = System.currentTimeMillis();\n \t\tfa = dir.list();\n \t\tend = System.currentTimeMillis();\t\t\n \t\tSystem.out.print(\"Time to list(): \"+(end-start)+\"\\n\");\n \n \t\t\n \t\t\n \n \t}", "title": "" }, { "docid": "42842105d022b2ce9eac18100deb078d", "score": "0.5718072", "text": "public int cachedFilesCount() {\n\t\treturn cache.size();\n\t}", "title": "" }, { "docid": "d15bdc3e7ab9c7ca774b2d926e129b80", "score": "0.57108", "text": "static public void showFiles(){\r\n //Get the current working directory\r\n String directory;\r\n File file = new File(\".\");\r\n directory = file.getAbsolutePath();\r\n file = new File(directory);\r\n File[] listOfFiles = file.listFiles();\r\n\r\n System.out.println(\"\\nAvailable Mazes:\");\r\n \r\n //Display all of the current memories in the working directory\r\n for (int i = 0; i < listOfFiles.length; i++) {\r\n if (listOfFiles[i].isFile() && listOfFiles[i].toString().contains(\".txt\")) {\r\n System.out.println(listOfFiles[i].getName());\r\n } \r\n }\r\n }", "title": "" }, { "docid": "0e07f6ad52ce549223f0e9fde0ed788a", "score": "0.5702413", "text": "public List<String> getAll() {\n final File[] files = root.listFiles();\n return new AbstractList<String>() {\n public String get(int index) {\n return files[index].getName();\n }\n\n public int size() {\n return files.length;\n }\n };\n }", "title": "" }, { "docid": "d3c06581dbe6291475d53440623f1966", "score": "0.5696606", "text": "com.google.wireless.android.sdk.stats.EmulatorAvdFile getFiles(int index);", "title": "" }, { "docid": "144fa83c9c67820ea9f02802f7ba1d61", "score": "0.5692768", "text": "java.lang.String getFilepath();", "title": "" }, { "docid": "144fa83c9c67820ea9f02802f7ba1d61", "score": "0.5692768", "text": "java.lang.String getFilepath();", "title": "" }, { "docid": "144fa83c9c67820ea9f02802f7ba1d61", "score": "0.5692768", "text": "java.lang.String getFilepath();", "title": "" }, { "docid": "f4013fc6114831d037d2cccc0b7da410", "score": "0.56885666", "text": "@Override\n\tpublic void listFiles(String folder) {\n\t\t\n\t}", "title": "" }, { "docid": "e7aa23e434eadea1da729e357875d311", "score": "0.567889", "text": "List<File> find(File basedir, FileFilter fileFilter);", "title": "" }, { "docid": "171147740c7fdc17bea4647cff945a8d", "score": "0.5659807", "text": "public ArrayList<File> filesToPlay();", "title": "" }, { "docid": "85aeab6fa220eb169b67d65028cb3917", "score": "0.56583375", "text": "@Override\n public List<String> listFiles(String path) {\n if (!config.isUseSFTP()) return super.listFiles(path);\n\n List<String> filenames = new LinkedList<>();\n try {\n @SuppressWarnings(\"rawtypes\")\n Vector vector = channel.ls((path == null) ? \".\" : path);\n for (Object o : vector) {\n String file = o.toString();\n file = file.substring(file.lastIndexOf(' ') + 1);\n if (!file.startsWith(\".\")) {\n filenames.add(file);\n }\n }\n } catch (SftpException e) {\n log.debug(String.format(\"Error listing files with path [%s] on server [%s]. Error: %s\", path, config.getAddress(), ExceptionToString.format(e)));\n }\n return filenames;\n }", "title": "" }, { "docid": "c554ccee0fb102fcf97b0a0b3bdca4f0", "score": "0.5656046", "text": "@Nullable private File[] listFiles0(IgfsPath path) {\n File f = fileForPath(path);\n\n if (!f.exists())\n throw new IgfsPathNotFoundException(\"Failed to list files (path not found): \" + path);\n else\n return f.listFiles();\n }", "title": "" }, { "docid": "8b3fcc1c91d6f9525c25fa01cb96fada", "score": "0.56553155", "text": "public static File[] listDir (File source){\n File[] files = source.listFiles();\n return files;\n }", "title": "" }, { "docid": "5f73f5fa7ba7ed42a69784d7a09b3c98", "score": "0.564862", "text": "public abstract NSArray directoryContentsAtPath(String path);", "title": "" }, { "docid": "6202a7a24a1d0f68ca1481cce38d0064", "score": "0.56443846", "text": "public List<HStoreFile> getLevel0Files();", "title": "" }, { "docid": "ab1f11451288b1164a0538feda0d5934", "score": "0.5638654", "text": "private List<File> getFiles() {\n\t\tArrayList<File> files = new ArrayList<>();\n\t\tif (!rootFile.isDirectory()) {\n\t\t\tfiles.add(rootFile);\n\t\t\treturn files;\n\t\t} else {\n\t\t\tfiles.addAll(filesAux(rootFile));\n\t\t\treturn files;\n\t\t}\n\t}", "title": "" }, { "docid": "81e178c29bbc4b89fe866fc1791ce50a", "score": "0.5621412", "text": "String[] list(Path path);", "title": "" }, { "docid": "7ec82334b907a8bbb65ef195b540b8f7", "score": "0.5619774", "text": "private String [] getDirFiles(String localDir) throws Exception\n {\n File temp = new File(localDir); \n String [] listOfFiles = temp.list();\n \n if(listOfFiles != null) \n {\n return listOfFiles;\n }\n else \n {\n return null;\n }\n }", "title": "" }, { "docid": "720332a6ce7d256c38d44e07d19b4059", "score": "0.5616801", "text": "java.util.List<com.google.wireless.android.sdk.stats.EmulatorAvdFile>\n getFilesList();", "title": "" }, { "docid": "75e598fd36f6abf6b64c041e7e7b5ee1", "score": "0.5615809", "text": "default ArrayList<File> getFiles() {\n\t\tfinal var files = f(listFiles(java.io.File::isFile));\n\t\treturn new ArrayList<>(Arrays.asList(files));\n\t}", "title": "" }, { "docid": "469052fe82eb56f0ee96529498dfc28c", "score": "0.5615745", "text": "java.lang.String getFile();", "title": "" }, { "docid": "469052fe82eb56f0ee96529498dfc28c", "score": "0.5615745", "text": "java.lang.String getFile();", "title": "" }, { "docid": "469052fe82eb56f0ee96529498dfc28c", "score": "0.5615745", "text": "java.lang.String getFile();", "title": "" }, { "docid": "136fc15ad699753c125ac0835b3da8b5", "score": "0.56051105", "text": "public static List<String> listFiles() {\n List<String> list = new ArrayList<>();\n File scsHome = new File(SAVE_PATH);\n if (scsHome.isDirectory()) {\n for (File f : scsHome.listFiles(new FilenameFilter() {\n @Override\n public boolean accept(File dir, String name) {\n return name.endsWith(EXTENSION);\n }\n })) {\n String fileName = f.getName();\n list.add(fileName.substring(\n 0, fileName.length() - EXTENSION.length()));\n }\n }\n return list;\n }", "title": "" }, { "docid": "98284ce21844b43d3b3585167904a194", "score": "0.56035346", "text": "private File getCacheDirectory() {\n \t\tAgentLocation agentLocation = (AgentLocation) ServiceHelper.getService(Activator.getContext(), AgentLocation.class.getName());\n \t\tURL dataArea = agentLocation.getDataArea(Activator.ID + \"/cache/\"); //$NON-NLS-1$\n \t\treturn URLUtil.toFile(dataArea);\n \t}", "title": "" }, { "docid": "e9e8e1709f36f07669a6505313de7c81", "score": "0.5599038", "text": "public static String[] file_list() throws IOException, GeneralSecurityException {\n\t\tfinal NetHttpTransport HTTP_TRANSPORT = GoogleNetHttpTransport.newTrustedTransport();\n\t\tDrive service = new Drive.Builder(HTTP_TRANSPORT, JSON_FACTORY, getCredentials(HTTP_TRANSPORT))\n\t\t\t\t.setApplicationName(APPLICATION_NAME).build();\n\t\tString[] file_detail = new String[20];\n\n\t\t// Print the names and IDs for up to 10 files.\n\t\tFileList result = service.files().list()\n\t\t\t\t.setQ(\"'root' in parents and mimeType != 'application/vnd.google-apps.folder' and trashed = false\")\n\t\t\t\t.setSpaces(\"drive\").setPageSize(20).setFields(\"nextPageToken, files(id, name)\").execute();\n\t\tList<File> files = result.getFiles();\n\t\tif (files == null || files.isEmpty()) {\n\t\t\tSystem.out.println(\"No files found.\");\n\t\t} else {\n\t\t\tSystem.out.println(\"Files:\");\n\t\t\tint i = 0;\n\n\t\t\tfor (File file : files) {\n\t\t\t\tSystem.out.printf(\"%s\\n\", file.getName());\n\t\t\t\tfile_detail[i] = file.getName();\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\t\treturn file_detail;\n\t}", "title": "" }, { "docid": "6a760e512487af3bbe5acd2b3982b429", "score": "0.5592886", "text": "private List<File> getListFiles(File parentDir) {\n\n ArrayList<File> inFiles = new ArrayList<>(); // stores the mFiles in arraylist\n File[] files = parentDir.listFiles();\n try {\n if (isStoragePermissionGranted()) {\n for (File file : files) {\n if (file.isDirectory()) {\n inFiles.addAll(getListFiles(file)); // if file is directory then move to the mNext file\n } else {\n if (file.getName().endsWith(\".mp3\") && (file.length() / 1024) >= 500) { // gets only \".mp3\" mFiles with size greater than 500kb\n inFiles.add(file); // adding mFiles to the ArrayList\n mSongs.add(file.getName()); // adding file names in the list(gets song name)\n }\n }\n }\n }\n } catch (NullPointerException e) {\n Toast.makeText(this, \"No file found\", Toast.LENGTH_SHORT).show();\n }\n return inFiles;\n }", "title": "" }, { "docid": "8b3162a229885bf0772c6f192a426d36", "score": "0.558177", "text": "public File getMcFolder();", "title": "" }, { "docid": "1705b2b50a2fa55c3e32c996d8601252", "score": "0.55716634", "text": "public static File[] readFolder(String dir){\n\t\tFile folder = new File(dir);\n\t\tFile[] list = folder.listFiles();\n\t\treturn list;\n\t}", "title": "" }, { "docid": "fae2122f565861938b4947984ce92ae7", "score": "0.55682874", "text": "private void listFiles() {\r\n\r\n //File array to store the paths of the different files\r\n File[] paths;\r\n\r\n //Gets the files in the current directory\r\n File currentFiles = new File(\".\");\r\n\r\n //Assigns all file paths to the paths[] array\r\n paths = currentFiles.listFiles();\r\n\r\n /*\r\n * Iterates through every file path and checks if it a txt file that is not the ReadMe and displays it,\r\n * does not display the \"./\" at the front of the path\r\n */\r\n for (File path: paths) {\r\n if (path.toString().endsWith(\".txt\") && path.toString().substring(2) != (\"ReadMe.txt\")) {\r\n System.out.println(path.toString().substring(2));\r\n }\r\n }\r\n }", "title": "" }, { "docid": "47e705499e4e8279eb0c3a50a2fe5ab4", "score": "0.55664074", "text": "long getFilesRenamed();", "title": "" }, { "docid": "93bdab532d2a717f863aa5270d88da66", "score": "0.55625737", "text": "private void printSavedFiles() {\n Context context = getApplicationContext();\n System.out.println(context.getFilesDir().getAbsolutePath());\n String[] fList = context.fileList();\n System.out.println(Arrays.toString(fList) + \"$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\");\n Log.d(\"TAG\", \"files:\" + Arrays.toString(fList));\n files+=Arrays.toString(fList) + \"$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\\n\";\n }", "title": "" }, { "docid": "f809d69797752fef747aa12991180513", "score": "0.5561147", "text": "@Test\n public void getListForDir() throws Exception {\n final ClassLoader classLoader = FileTreeTableProviderTest.class.getClassLoader();\n final URL url = classLoader.getResource(SessionConstants.LOCAL_FOLDER);\n final File filePath ;\n if (url != null) {\n filePath = new File(url.getFile());\n final Stream<FileTreeModel> listForDir = new FileTreeTableProvider(new DateTimeUtils(DateTimeFormatter.ISO_LOCAL_DATE_TIME)).getListForDir(new FileTreeModel(filePath.toPath(), FileTreeModel.Type.Directory, 0, 0, \"\"));\n Assert.assertEquals(filePath.list().length, listForDir.collect(Collectors.toList()).size());\n }\n else {\n Assert.fail(\"File Path not found\");\n }\n }", "title": "" }, { "docid": "4469c183016276004004d3cf85c5ff39", "score": "0.55458784", "text": "protected String[] a(File f) {\n/* 55 */ ArrayList<String> list = new ArrayList<String>();\n/* 56 */ while (f != null) {\n/* 57 */ list.add(f.getName());\n/* 58 */ f = f.getParentFile();\n/* */ } \n/* */ \n/* 61 */ int i = list.size();\n/* 62 */ String[] tmp = new String[i];\n/* 63 */ for (String n : list) tmp[--i] = n;\n/* */ \n/* 65 */ return tmp;\n/* */ }", "title": "" }, { "docid": "7eb84a7de26bb2c0f6c14b32b1b711fb", "score": "0.5510749", "text": "public static File[] getFiles() {\n return files;\n }", "title": "" }, { "docid": "952e544ac0c49687986f9d422a1d56a1", "score": "0.55106664", "text": "public List<File> get_files() {\n return File.find_by_parent(this);\n }", "title": "" }, { "docid": "f33811b8306532e5db2bd16dbe5864fa", "score": "0.5509821", "text": "public List<File> getFiles() {\n\t\treturn files;\n\t}", "title": "" }, { "docid": "995cf0ca35dcfeefeb4e744335cf52b5", "score": "0.55059636", "text": "private String[] getDataFiles(File dir) {\n\t\tFilenameFilter filter = new FilenameFilter() {\n\t public boolean accept(File dir, String name) {\n\t \t\t \tString site = apiContext.getSite().toString();\n\t return name.startsWith(FILE_PREFIX+ \"_\" + site) &&\n\t name.endsWith(FILE_EXTENSION);\n\t }\n\t };\n\t String [] files = dir.list(filter);\n\t return files;\n\t}", "title": "" }, { "docid": "840107c03bc470ae42b94cec7f0a51fb", "score": "0.5503453", "text": "public FileObject getCachefolder() {\n return cachefolder;\n }", "title": "" }, { "docid": "8dd1c9ebfc4f04641d7f74ce482342fa", "score": "0.54931605", "text": "public List<String> getFiles() {\r\n\t\treturn files;\r\n\t}", "title": "" }, { "docid": "da4c0b97fce37689f68ca9b9ce972a7f", "score": "0.5486805", "text": "public String[] getFileList(String path) throws IOException\r\n {\r\n connect();\r\n /* \r\n FTPFile ftp_files[]=ftpClient.listFiles(path);\r\n if(ftp_files.length>0)\r\n {\r\n String files[]=new String[ftp_files.length];\r\n for(int i=0;i<ftp_files.length;i++)\r\n {\r\n files[i]=ftp_files[i].getName();\r\n }\r\n return files;\r\n }\r\n return null;\r\n */\r\n return ftpClient.listNames(path);\r\n }", "title": "" }, { "docid": "441d3edcaa6a731441d242a9c5466df4", "score": "0.5486301", "text": "public static void main(String[] args) {\n\t\tFile f = new File(args[0]);\n\t\tif(f.isFile()){\n\t\t\tSystem.out.println(f.exists());\n\t\t\tSystem.out.println(f.getName());\n\t\t\tSystem.out.println(f.length());\n\t\t\tSystem.out.println(new Date(f.lastModified()));\n\t\t}else{\n\t\t\tSystem.out.println(f.listFiles());\n\t\t}\n\t}", "title": "" }, { "docid": "5537c5a8afc0e8943e36e203bd13360b", "score": "0.5482776", "text": "public List<String> getFiles() throws IOException {\n\t\tList<String> listFiles = new LinkedList<String>();\n\t\tBufferedReader br = new BufferedReader(new FileReader(new File(packageFile,\n\t\t\t\tlist_files)));\n\t\tString line = null;\n\t\twhile ((line = br.readLine()) != null) {\n\t\t\tlistFiles.add(line);\n\t\t}\n\n\t\tbr.close();\n\t\treturn listFiles;\n\t}", "title": "" }, { "docid": "be8595289988eca33e1824e95a329ed1", "score": "0.5473544", "text": "public void listFiles(File f)\r\n\t{\r\n\t\tfor (File input : f.listFiles())\r\n\t\t{\r\n\t\t\tif(input.isDirectory())\r\n\t\t\t\tlistFiles(input);\r\n\t\t\telse\r\n\t\t\t\tSystem.out.println(input.getPath());\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "cc48f8c38ee268047e6505e7e153ab45", "score": "0.5466306", "text": "public boolean canUseCacheFile() {\n/* 128 */ return false;\n/* */ }", "title": "" }, { "docid": "f10a2386235f517f666c078084cf992c", "score": "0.54569864", "text": "protected List<File> nextAvailableFile() \n {\n File result = new File(storeDir, getStoreFilename(new Date()));\n storeFiles.add(result);\n return storeFiles;\n }", "title": "" }, { "docid": "81d27ae83579da5ef03c2059288cd857", "score": "0.54558414", "text": "@Override\n\tpublic List<File> findAllFiles() {\n\t\treturn (List<File>) fileRepository.findAll();\n\t}", "title": "" }, { "docid": "e40344543013315228bd8c446a3deb1d", "score": "0.5454036", "text": "static ArrayList<String> getDirFiles(File aFile) {\r\n ArrayList<String> dirFiles = new ArrayList<>();\r\n if (aFile.isDirectory()) {\r\n File[] listOfFiles = aFile.listFiles();\r\n if(listOfFiles!=null) {\r\n for (File listOfFile : listOfFiles) dirFiles.add(listOfFile.getName());\r\n }\r\n }\r\n return dirFiles;\r\n }", "title": "" }, { "docid": "0ed0408aeb2ae5d38d0b608ff80ec15e", "score": "0.54513335", "text": "java.util.List<java.lang.String>\n getFileNamesList();", "title": "" }, { "docid": "ff8bfd383ca991abe5b0f756e57ce3d2", "score": "0.5446589", "text": "private List<String> getAllFile() {\n List<String> temp = new ArrayList<>();\n System.out.println(Installer.projects);\n FileObject projectDirectory = ProjectInformation.getCurrentProject().getProjectDirectory();\n FileObject te = projectDirectory.getFileObject(\"input\");\n for (FileObject children : te.getChildren()) {\n if (children.isData()) {\n temp.add(children.getName() + \".\" + children.getExt());\n }\n }\n return temp;\n }", "title": "" }, { "docid": "c8e0456b897e4cbb58eb4967e2f3e93f", "score": "0.54444736", "text": "private File getCacheFileName() {\n\n return new File(getTempFolder() + \"/html.data\");\n }", "title": "" }, { "docid": "4c34744b5ef863cdceff19c8f6d2b08e", "score": "0.54439366", "text": "public static String[] getFileList(String path) {\t\t\t\r\n\t\tArrayList<String> list = new ArrayList<String>();\r\n\t\t\r\n\t\t//Here we actually trim away the slash if needed\r\n\t\tif(path.startsWith(\"/\")) path = path.substring(1);\r\n\t\t\r\n\t\ttry \r\n\t\t{\r\n\t\t\t//Load files from the JAR file\r\n\t\t\tJarInputStream jarFile = getJarFile();\r\n\t\t\tif(jarFile != null)\r\n\t\t\t{\r\n\t\t\t\tJarEntry file;\r\n\t\t\t\t\r\n\t\t\t\twhile ((file = jarFile.getNextJarEntry()) != null)\r\n\t\t\t\t{\r\n\t\t\t\t\tif( file.isDirectory() ) continue;\r\n\t\t\t\t\tString fileName = file.getName();\r\n\t\t\t\t\tif( !fileName.startsWith(path) ) continue;\r\n\t\t\t\t\tlist.add(\"/\" + fileName);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t//That did not work, let's try to load them as local files instead...\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\t//Local directories use a different path\r\n\t\t\t\tFile dir = new File(\"src/\" + path);\r\n\t\t\t\tif(!dir.exists()) throw new Exception(\"Directory was not found: src/\" + path);\r\n\t\t\t\t\r\n\t\t\t\tFile[] fileList = dir.listFiles(); \r\n\t\t\t\tfor(File f : fileList)\r\n\t\t\t\t{\r\n\t\t\t\t\tif( !f.isFile() ) continue;\r\n\t\t\t\t\tlist.add( \"/\" + path + f.getName() );\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (Exception e) \r\n\t\t{\r\n\t\t\tLog.warning(\"Could not get file list (\" + path + \"): \"+ e);\r\n\t\t}\r\n\t\t\r\n\t\t//Convert the list to a String array and return it\r\n\t\tString retval [] = new String[list.size()];\r\n\t\treturn list.toArray(retval);\r\n\t}", "title": "" }, { "docid": "08a22b0f19bdc9ae2cf51eb30b72432e", "score": "0.54377645", "text": "public void listFiles(String s) {\n File f = new File(s);\n if (!f.exists()) {\n return;\n }\n if (f.isFile())\n processFile(f);\n else if (f.isDirectory()) {\n String objects[] = f.list();\n\n for (int i = 0; i < objects.length; i++)\n listFiles(s + f.separator + objects[i]);\n } else\n System.err.println(\"Unknown: \" + s);\n }", "title": "" }, { "docid": "d2b8fc125c3071ed9a94f1ade2275756", "score": "0.5437358", "text": "public FoldersNFiles(){\n contents = new String[10][2];\n for(int i=0;i<10;i++){\n for(int j=0;j<2;j++){\n contents[i][j]=\"\";\n }\n }\n name = \"\";\n start = 0;\n end = 0;\n size = 0;\n type = 0;\n dir = \"\";\n }", "title": "" }, { "docid": "37d935d196d78ecc9d56d63af6855768", "score": "0.5434636", "text": "public static List<String> getFiles(File folder){\n\t\tList<String> fileList = new ArrayList<>();\n\t\tfor(File fileEntry : folder.listFiles()) {\n\t\t\tfileList.add(fileEntry.getName());\n\t\t}\n\t\treturn fileList;\n\t}", "title": "" }, { "docid": "abdb0c3e855d3c3f834b22097bcf0849", "score": "0.5416146", "text": "private String listRecursive(String filename, String prefix){\n\t\tFile file = new File(filename);\n\t\tif(file.isDirectory()){\n\t\t\tStringBuffer buffer = new StringBuffer();\n\t\t\tfor(File f: file.listFiles()){\n\t\t\t\tif(!f.isHidden() && !f.getName().startsWith(\".\")){\n\t\t\t\t\tif(f.isDirectory()){\n\t\t\t\t\t\tbuffer.append(listRecursive(f.getAbsolutePath(),prefix+f.getName()+\"/\"));\n\t\t\t\t\t}else\n\t\t\t\t\t\tbuffer.append(prefix+f.getName()+\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn buffer.toString();\n\t\t}\n\t\treturn \"error\";\n\t}", "title": "" }, { "docid": "f7173847bdd3a09d0d771ec8893f91ae", "score": "0.5415946", "text": "public List<String> getFiles() {\n return files;\n }", "title": "" }, { "docid": "4e02311df8fdc7ab5d60331ca96a05e8", "score": "0.5413299", "text": "List<String> getOtherFiles(){\n\t\tList<String> dir = new LinkedList<String>();\n\t\tfor (File tempf: f.getAbsoluteFile().getParentFile().listFiles()) {\n\t\t\tdir.add(tempf.getName());\n\t\t}\n\t\treturn dir;\n\t}", "title": "" }, { "docid": "7688915b1b38f4e58b7a3d5670521d94", "score": "0.54096633", "text": "int getFilesCount();", "title": "" }, { "docid": "7678e70a0522a03a8d522ab113fc0d55", "score": "0.5405539", "text": "int getFile();", "title": "" }, { "docid": "837f391955647b4c925f8c7e77327801", "score": "0.5405355", "text": "public List<String> listarArchivos() {\n archivo = new File(ruta);\n archivos = archivo.listFiles();\n List<String> lista = new ArrayList<>();\n\n for (File arch : archivos) {\n if (arch.isFile()) {\n lista.add(arch.getName());\n }\n }\n return lista;\n\n }", "title": "" }, { "docid": "dcfadd78030895af3284732d303860bc", "score": "0.54033923", "text": "File[] read();", "title": "" }, { "docid": "e89ab64f11ff402bc855e163479faf3b", "score": "0.54013175", "text": "public List<File> getLastOpenedFiles() {\n\t\treturn lastOpenedFiles;\n\t}", "title": "" }, { "docid": "1a7059bca050dc468c6c2df80f75ed3a", "score": "0.5400326", "text": "public List<File> getUserFiles(String username) {\n Integer userId = userService.getUser(username).getUserId();\n return fileMapper.getUserFiles(userId);\n }", "title": "" }, { "docid": "3c7c446b83f6280a801d2eaf6856fdab", "score": "0.5399641", "text": "boolean isFileCached();", "title": "" }, { "docid": "d4b81341eb0d342ee4f09a7d3794b42e", "score": "0.5397695", "text": "private List<String> getImageFiles()\n {\n List<String> imagePaths = new ArrayList<String>();\n\n String imgDir = FileUtil.openPath(\"USER/ICONLIB\");\n String sysImgDir = FileUtil.openPath(\"SYSTEM/ICONLIB\");\n if(imgDir !=null) {\n // Put stuff into imagePaths\n listPath(new File(imgDir), imagePaths);\n }\n if (sysImgDir != null) {\n // Put more stuff into imagePaths\n listPath(new File(sysImgDir), imagePaths);\n }\n if (imgDir == null && sysImgDir == null) {\n System.out.println(\"Icon library not found\");\n }\n return imagePaths;\n }", "title": "" }, { "docid": "2ec87fa9a084ca2a0411252bac50d6a7", "score": "0.5394723", "text": "public File getDiskCacheDir() {\n return mRestVolleyImageCache.getDiskCacheDir();\n }", "title": "" }, { "docid": "65c1f9ed015198a89c41f36723171e33", "score": "0.53927577", "text": "public static void main(String[] args) {\n\t\tFile f = new File(\"F:/ee\");\n\t\tString[] allFileName=f.list();\n\t\tSystem.out.println(allFileName);\n\n\t}", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "c24375fd1a03c1329f9be4b7bb96e398", "score": "0.0", "text": "public void actionPerformed(ActionEvent e) {\n\t\tObject o = e.getSource();\n\t\t\n\t\tif( o == button_send)\n\t\t{\t\n\t\t}\n\t\telse if(o == button_run)\n\t\t{\n\t\t\tacceepserver.startServer();\n\t\t}\n\t\n\t}", "title": "" } ]
[ { "docid": "663ac6f718361fb243bf093a1c7ded6a", "score": "0.66285414", "text": "@Override\r\n\tprotected void Goukakyuu() {\n\t\t\r\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65323734", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65323734", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "5f8d37aee09bc1e9959f768d6eb0183c", "score": "0.6481211", "text": "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "title": "" }, { "docid": "7679fd1b623986eeedb64db808e99029", "score": "0.64387834", "text": "@Override\n\t\t\tpublic void fahre() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "646377f9a04958a6eeea1118fddba04e", "score": "0.64340436", "text": "@Override\n\tpublic void refuel() {\n\n\t}", "title": "" }, { "docid": "8484f1b37a8db0941e2722db3c988008", "score": "0.6240345", "text": "public void refuel() {\n\t\t\n\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1010f244e972c0ea26ed77a119296c6c", "score": "0.62359196", "text": "@Override\r\n\tprotected void Mokuton() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1e56eb875969a40be9b73939843db26f", "score": "0.6213003", "text": "public void starteWuerfelaktion() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ccaf5f7aff0d6de105f523c68f63383c", "score": "0.6207747", "text": "private void cathc() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d65d6c17fb978c0d576ada2c03cd49fe", "score": "0.61387193", "text": "@Override\n\tpublic void apagar() {\n\t\t\n\t}", "title": "" }, { "docid": "a1f605ca3e07976447a751ccd937b4db", "score": "0.61104095", "text": "@Override public int ataque(){\n return 0;\n }", "title": "" }, { "docid": "c8ceec30e6f3ebd2fb8cab39b477d3f3", "score": "0.61064756", "text": "private static void sapxep() {\n\t\t\n\t}", "title": "" }, { "docid": "67e1a422c8d1e74f6601c8a6d1aaa237", "score": "0.6071615", "text": "@Override\n\tpublic void apagar() {\n\n\t}", "title": "" }, { "docid": "cce15f647f795017e06f2ca544477ccd", "score": "0.6063628", "text": "@Override\n\tpublic void chamCong() {\n\n\t}", "title": "" }, { "docid": "5602bebd0acaf2caa678957a2c24842b", "score": "0.6060216", "text": "@Override\r\n\tpublic void overAll() {\n\r\n\t}", "title": "" }, { "docid": "b1cf16017c8057c0255a9ad368ecaee5", "score": "0.60185045", "text": "@Override\r\n\tprotected void init() {\n\r\n\t}", "title": "" }, { "docid": "a6c2db17f79f35f8fc3b8e99eee9ab48", "score": "0.60124713", "text": "@Override\r\n\tprotected void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d04504187907e1d84ed24fc616f45486", "score": "0.60087866", "text": "@Override\r\n\tpublic void inteface() {\n\t\t\r\n\t}", "title": "" }, { "docid": "428377dd8e49bc1cf5ac0e5d064029b3", "score": "0.6004459", "text": "@Override\r\n\tpublic void preco() {\n\r\n\t}", "title": "" }, { "docid": "4c743a5e5106c55466224d75f817448a", "score": "0.5945002", "text": "@Override\r\n\t\tpublic void ustSoyut() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "825fd65cd166afe72a9eff8424570f29", "score": "0.5943726", "text": "@Override\n\tpublic void setingInicial() {\n\n\t}", "title": "" }, { "docid": "19006c0661c5e3b653400b5da2beb934", "score": "0.59422", "text": "@Override\n\tpublic void pintar() {\n\t\t\n\t}", "title": "" }, { "docid": "19006c0661c5e3b653400b5da2beb934", "score": "0.59422", "text": "@Override\n\tpublic void pintar() {\n\t\t\n\t}", "title": "" }, { "docid": "ea4341d488d9be09cc755218b65fadf5", "score": "0.5906771", "text": "@Override\n public void preRetrieving() {\n }", "title": "" }, { "docid": "2fff6ed2c85a2b41abbe75775d352730", "score": "0.5904324", "text": "@Override\n\tpublic void contaminate() {\n\t\t// TODO Auto-generated method stub\t\n\t}", "title": "" }, { "docid": "4f4340003331db95a2feee0084056a02", "score": "0.59033096", "text": "@Override\n\tprotected void inicializar() {\n\n\t}", "title": "" }, { "docid": "9c48473814fa377ca395f7395203f48c", "score": "0.58910286", "text": "@Override\n\tprotected void dataAcquisition() {\n\n\t}", "title": "" }, { "docid": "1c143d94a2852990351338ba13e5399d", "score": "0.5888907", "text": "@Override\n\t\t\tvoid mothed() {\n\t\t\t}", "title": "" }, { "docid": "7f91c82c66ced12c5b193d3c89d68e4c", "score": "0.5883667", "text": "@Override\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "8ac2c16a1254157c46ed1cdb437fe4f0", "score": "0.5880522", "text": "@Override\r\n\t\tpublic void ustSoyut2() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "712966778e94b206218092a51b836bb7", "score": "0.58803016", "text": "@Override\n\tpublic void tata() {\n\t\t\n\t}", "title": "" }, { "docid": "18d768f6f48ac88822b7bb8bccfac09e", "score": "0.5862438", "text": "public void mo18903b() {\n }", "title": "" }, { "docid": "c5ce5c6476f6c0a0be2e0ff930a7950e", "score": "0.58619136", "text": "@Override public int defensa(){\n return 0;\n }", "title": "" }, { "docid": "0e87d402221278c3889063822e567959", "score": "0.58611584", "text": "protected void sift() {\n\t\t\r\n\t}", "title": "" }, { "docid": "4967494f628119c8d3a4740e09278944", "score": "0.5857751", "text": "@Override\r\n\tprotected void initData() {\n\r\n\t}", "title": "" }, { "docid": "677e1bcc5ce2d0f98ae32478866994ca", "score": "0.5838853", "text": "@Override\n\tpublic void communiquer() {\n\t\t\n\t}", "title": "" }, { "docid": "fab6f4103beb4667b90da1eb3672a4fa", "score": "0.5821835", "text": "@Override\n\tprotected void update() {\n\n\t}", "title": "" }, { "docid": "45ec6548b6e93f86b574cc156cb7b6e8", "score": "0.5820645", "text": "@Override\r\n\t\t\tpublic void initData()\r\n\t\t\t{\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "9a618b27fbeac32212f9b2e740d96efb", "score": "0.58155555", "text": "@Override\r\n\tpublic void 계산하다() {\n\r\n\t}", "title": "" }, { "docid": "d1236089c8974701d0acd37b2cad6d5b", "score": "0.5809914", "text": "@Override\n\tpublic void init(){\n\t\t\n\t}", "title": "" }, { "docid": "6a181a924bbab2aef67a83a2090b6fe5", "score": "0.5800962", "text": "@Override\n\t\tpublic void freshStart() {\n\t\t\t// TODO Auto-generated method stub\n\t\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "06012d51723afddd7b9003b92d7d49c3", "score": "0.5783461", "text": "protected void mo1734a() {\n }", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "cfdf25944086a38f063107aad70f2f0b", "score": "0.5766042", "text": "@Override\r\n\tprotected void visit() {\n\t}", "title": "" }, { "docid": "5e6804b1ba880a8cc8a98006ca4ba35b", "score": "0.5761362", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57596046", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "ec8745d1f613de3522e52b19973434de", "score": "0.5755148", "text": "@Override\n protected void initialize()\n {\n\n }", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.57512486", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b6c53604ad2f38e9cacf958a442de4cf", "score": "0.57409", "text": "@Override\n\tprotected void initAfterData() {\n\n\t}", "title": "" }, { "docid": "a6f30265b22f810fdcc712e54cb1e81c", "score": "0.57399535", "text": "@Override\n\tpublic void byby() {\n\t\t\n\t}", "title": "" }, { "docid": "734b1972ec29b58535c294e3962d017d", "score": "0.5736822", "text": "@Override\n\tpublic void generar() {\n\t\t\n\t}", "title": "" }, { "docid": "17781c799f004311d8f8ad31648157ed", "score": "0.57339567", "text": "private void identify(){\r\n\t\t\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "90a583a9686287e3374351dca59e3033", "score": "0.5721244", "text": "@Override\r\n\tpublic void abrir() {\n\r\n\t}", "title": "" }, { "docid": "1c4063058b784c69f3e491b8fe1c5d87", "score": "0.57200766", "text": "@Override\r\n\tpublic void vivir() {\n\t\t\r\n\t}", "title": "" }, { "docid": "3725f6f559f3adf4f03ebc1fb569a203", "score": "0.57187486", "text": "public void afficher(){\r\n\t\t\r\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "41872c9e2437abffdf2c5c6f8635bf62", "score": "0.5714925", "text": "@Override\n public void generate()\n {\n }", "title": "" }, { "docid": "fda8f619b8e2eb741dec9fcd5bf2e54c", "score": "0.5705268", "text": "@Override\r\n\tpublic void 念经() {\n\t\t\r\n\t}", "title": "" }, { "docid": "937f11d6d748f7b358f71d8d4239cafc", "score": "0.57020056", "text": "@Override\n\tpublic void afisareEl() {\n\t\t\n\t}", "title": "" }, { "docid": "7aadbda143e84de0144f7a8dadde423d", "score": "0.5701067", "text": "@Override\n protected void initData() {\n\n }", "title": "" }, { "docid": "39132efb6b42f8ec625d96ff6226d80b", "score": "0.56991017", "text": "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "title": "" }, { "docid": "15568346f60c78b5a5c404fbb6d1e685", "score": "0.5693754", "text": "@Override\n\tvoid affiche() {\n\t\t\n\t}", "title": "" }, { "docid": "9e8299e02e2afca4b347ab5022949b84", "score": "0.56936175", "text": "@Override\n public void rest() {\n \n }", "title": "" }, { "docid": "9f7ae565c79188ee275e5778abe03250", "score": "0.56881124", "text": "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "title": "" }, { "docid": "706722a65afe51ea925901f584f25118", "score": "0.5672425", "text": "@Override\n\tpublic void morir() {\n\t}", "title": "" }, { "docid": "fe16626444a6279379e0f9633775ecc4", "score": "0.5671583", "text": "@Override\r\n\tpublic void 撞钟() {\n\t\t\r\n\t}", "title": "" }, { "docid": "6c7f3bb62b62ab0efc25de23710ee029", "score": "0.5669814", "text": "@Override\n\tpublic void concentrarse() {\n\t\t\n\t}", "title": "" }, { "docid": "a71f185dfaf7230b8e77ee6f6a04d21b", "score": "0.5665494", "text": "@Override\n\tvoid rr() {\n\t\t\n\t}", "title": "" }, { "docid": "fb842ef1f250aaba4286c185df305a9b", "score": "0.5657007", "text": "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "c0eeb7bb899cafc556cf19801d318ce5", "score": "0.5647088", "text": "@Override\n\tprotected void initFiled() {\n\t\t\n\t}", "title": "" }, { "docid": "011174700bb7f7659f04c634fa0372f8", "score": "0.5644147", "text": "@Override\n\tpublic void arrancar() {\n\t\t\n\t}", "title": "" }, { "docid": "95be4fdee6d995b424f0a4e840e2c875", "score": "0.56325483", "text": "@Override\r\n\tpublic void init()\r\n\t{\r\n\t}", "title": "" }, { "docid": "da4fa7e263bb2e6d703854259aaf6363", "score": "0.5630819", "text": "@Override\n\tprotected void initialize() \n\t{\n\t\t\n\t}", "title": "" }, { "docid": "e41e83e59c632c7e6180786a0238f944", "score": "0.56188065", "text": "@Override\r\n\tpublic void cry() {\n\t\t\r\n\t}", "title": "" }, { "docid": "f74fdb4945ba76b9dd3ab3b908142716", "score": "0.561768", "text": "@Override\r\n\tpublic void create() {\n\t\t\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "43f6d8e11245e9c1f9ec60b758a00a74", "score": "0.56113946", "text": "@Override\n\t\t\tpublic void abst_drink() {\n\t\t\t}", "title": "" }, { "docid": "57fad36f1e9515178fdc8e8afc8cc63c", "score": "0.56095", "text": "protected boolean method_2502() {\r\n return true;\r\n }", "title": "" }, { "docid": "b086aa458043018db12ea6c8dbfcc7c2", "score": "0.5587534", "text": "@Override\r\n\tprotected void processInit() {\n\r\n\t}", "title": "" }, { "docid": "b086aa458043018db12ea6c8dbfcc7c2", "score": "0.5587534", "text": "@Override\r\n\tprotected void processInit() {\n\r\n\t}", "title": "" }, { "docid": "7d7ee874da61c3db33c0d972ef288fe7", "score": "0.5578719", "text": "@Override\r\n\tpublic int discourse() {\n\t\treturn 75;\r\n\t}", "title": "" } ]
7e8f69d71e61b096ddc38a59d61eb432
Method to hide the picture display
[ { "docid": "4f760e9abf2ee8e6919caca3b0d298a6", "score": "0.80565363", "text": "public void hide()\n {\n if (pictureFrame != null)\n pictureFrame.setVisible(false);\n }", "title": "" } ]
[ { "docid": "c8ecf1d63609b44dadeefd470f30c5c4", "score": "0.82247674", "text": "public void hide()\r\n {\r\n if (pictureFrame != null) pictureFrame.setVisible(false);\r\n }", "title": "" }, { "docid": "824ce1d9335a42a79d9dd7733bd06f7d", "score": "0.790518", "text": "public void hide();", "title": "" }, { "docid": "f8241498277195de7c0a34306f018373", "score": "0.7759156", "text": "void hide();", "title": "" }, { "docid": "38c36a7bd327b785d6f2c53bb84fb9b4", "score": "0.7650514", "text": "public void hide() {\n hide(false);\n }", "title": "" }, { "docid": "fef845cba0629fa6f2073785159a0ca9", "score": "0.7578143", "text": "public void hide() {\n if (displayed()) {\n System.out.print(\"hide\");\n my_display = false;\n }\n }", "title": "" }, { "docid": "faab8abc2e92c87596491a9b6e3ddc0e", "score": "0.75377166", "text": "@Override\r\n\tpublic void hide() {\n\t\t\r\n\t}", "title": "" }, { "docid": "faab8abc2e92c87596491a9b6e3ddc0e", "score": "0.75377166", "text": "@Override\r\n\tpublic void hide() {\n\t\t\r\n\t}", "title": "" }, { "docid": "faab8abc2e92c87596491a9b6e3ddc0e", "score": "0.75377166", "text": "@Override\r\n\tpublic void hide() {\n\t\t\r\n\t}", "title": "" }, { "docid": "faab8abc2e92c87596491a9b6e3ddc0e", "score": "0.75377166", "text": "@Override\r\n\tpublic void hide() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8b103fe2450ff91b3fb07f22260981cf", "score": "0.75310504", "text": "@Override\n \tpublic void hide() {\n \n \t}", "title": "" }, { "docid": "824737e1e35f640a69014f54909a95dc", "score": "0.75044566", "text": "@Override\n public void hide() {\n \n }", "title": "" }, { "docid": "a053896e67f5389614d1a4a3e3db57b3", "score": "0.7487376", "text": "@Override\n\tpublic void hide() {\n\t\t\n\t}", "title": "" }, { "docid": "a053896e67f5389614d1a4a3e3db57b3", "score": "0.7487376", "text": "@Override\n\tpublic void hide() {\n\t\t\n\t}", "title": "" }, { "docid": "a053896e67f5389614d1a4a3e3db57b3", "score": "0.7487376", "text": "@Override\n\tpublic void hide() {\n\t\t\n\t}", "title": "" }, { "docid": "a053896e67f5389614d1a4a3e3db57b3", "score": "0.7487376", "text": "@Override\n\tpublic void hide() {\n\t\t\n\t}", "title": "" }, { "docid": "a053896e67f5389614d1a4a3e3db57b3", "score": "0.7487376", "text": "@Override\n\tpublic void hide() {\n\t\t\n\t}", "title": "" }, { "docid": "a053896e67f5389614d1a4a3e3db57b3", "score": "0.7487376", "text": "@Override\n\tpublic void hide() {\n\t\t\n\t}", "title": "" }, { "docid": "a053896e67f5389614d1a4a3e3db57b3", "score": "0.7487376", "text": "@Override\n\tpublic void hide() {\n\t\t\n\t}", "title": "" }, { "docid": "a053896e67f5389614d1a4a3e3db57b3", "score": "0.7487376", "text": "@Override\n\tpublic void hide() {\n\t\t\n\t}", "title": "" }, { "docid": "a053896e67f5389614d1a4a3e3db57b3", "score": "0.7487376", "text": "@Override\n\tpublic void hide() {\n\t\t\n\t}", "title": "" }, { "docid": "a053896e67f5389614d1a4a3e3db57b3", "score": "0.7487376", "text": "@Override\n\tpublic void hide() {\n\t\t\n\t}", "title": "" }, { "docid": "a053896e67f5389614d1a4a3e3db57b3", "score": "0.7487376", "text": "@Override\n\tpublic void hide() {\n\t\t\n\t}", "title": "" }, { "docid": "a053896e67f5389614d1a4a3e3db57b3", "score": "0.7487376", "text": "@Override\n\tpublic void hide() {\n\t\t\n\t}", "title": "" }, { "docid": "a053896e67f5389614d1a4a3e3db57b3", "score": "0.7487376", "text": "@Override\n\tpublic void hide() {\n\t\t\n\t}", "title": "" }, { "docid": "a053896e67f5389614d1a4a3e3db57b3", "score": "0.7487376", "text": "@Override\n\tpublic void hide() {\n\t\t\n\t}", "title": "" }, { "docid": "a053896e67f5389614d1a4a3e3db57b3", "score": "0.7487376", "text": "@Override\n\tpublic void hide() {\n\t\t\n\t}", "title": "" }, { "docid": "a053896e67f5389614d1a4a3e3db57b3", "score": "0.7487376", "text": "@Override\n\tpublic void hide() {\n\t\t\n\t}", "title": "" }, { "docid": "a053896e67f5389614d1a4a3e3db57b3", "score": "0.7487376", "text": "@Override\n\tpublic void hide() {\n\t\t\n\t}", "title": "" }, { "docid": "a053896e67f5389614d1a4a3e3db57b3", "score": "0.7487376", "text": "@Override\n\tpublic void hide() {\n\t\t\n\t}", "title": "" }, { "docid": "a053896e67f5389614d1a4a3e3db57b3", "score": "0.7487376", "text": "@Override\n\tpublic void hide() {\n\t\t\n\t}", "title": "" }, { "docid": "a053896e67f5389614d1a4a3e3db57b3", "score": "0.7487376", "text": "@Override\n\tpublic void hide() {\n\t\t\n\t}", "title": "" }, { "docid": "a053896e67f5389614d1a4a3e3db57b3", "score": "0.7487376", "text": "@Override\n\tpublic void hide() {\n\t\t\n\t}", "title": "" }, { "docid": "a053896e67f5389614d1a4a3e3db57b3", "score": "0.7487376", "text": "@Override\n\tpublic void hide() {\n\t\t\n\t}", "title": "" }, { "docid": "de612506c90563951e40eaa31c496ba8", "score": "0.74732727", "text": "@Override\r\n\tpublic void hide() {\r\n\t\tdispose();\r\n\t}", "title": "" }, { "docid": "6c1e254bbc8f0f56557dec1cde03b2aa", "score": "0.74701697", "text": "@Override\n\tpublic void hide() {\n\t\tdispose();\n\t}", "title": "" }, { "docid": "32ae8da7e57fea05dc856605ebb9362c", "score": "0.74671155", "text": "@Override\n\tpublic void hide() {\n\n\t}", "title": "" }, { "docid": "32ae8da7e57fea05dc856605ebb9362c", "score": "0.74671155", "text": "@Override\n\tpublic void hide() {\n\n\t}", "title": "" }, { "docid": "32ae8da7e57fea05dc856605ebb9362c", "score": "0.74671155", "text": "@Override\n\tpublic void hide() {\n\n\t}", "title": "" }, { "docid": "32ae8da7e57fea05dc856605ebb9362c", "score": "0.74671155", "text": "@Override\n\tpublic void hide() {\n\n\t}", "title": "" }, { "docid": "32ae8da7e57fea05dc856605ebb9362c", "score": "0.74671155", "text": "@Override\n\tpublic void hide() {\n\n\t}", "title": "" }, { "docid": "32ae8da7e57fea05dc856605ebb9362c", "score": "0.74671155", "text": "@Override\n\tpublic void hide() {\n\n\t}", "title": "" }, { "docid": "32ae8da7e57fea05dc856605ebb9362c", "score": "0.74671155", "text": "@Override\n\tpublic void hide() {\n\n\t}", "title": "" }, { "docid": "32ae8da7e57fea05dc856605ebb9362c", "score": "0.74671155", "text": "@Override\n\tpublic void hide() {\n\n\t}", "title": "" }, { "docid": "32ae8da7e57fea05dc856605ebb9362c", "score": "0.74671155", "text": "@Override\n\tpublic void hide() {\n\n\t}", "title": "" }, { "docid": "32ae8da7e57fea05dc856605ebb9362c", "score": "0.74671155", "text": "@Override\n\tpublic void hide() {\n\n\t}", "title": "" }, { "docid": "32ae8da7e57fea05dc856605ebb9362c", "score": "0.74671155", "text": "@Override\n\tpublic void hide() {\n\n\t}", "title": "" }, { "docid": "4ebc083a9d8aa0e5832840cce0e796ee", "score": "0.74419665", "text": "@Override\r\n\tpublic void hide()\r\n\t{\n\r\n\t}", "title": "" }, { "docid": "4ebc083a9d8aa0e5832840cce0e796ee", "score": "0.74419665", "text": "@Override\r\n\tpublic void hide()\r\n\t{\n\r\n\t}", "title": "" }, { "docid": "98150d419ae2ac363a960c9e84b117b0", "score": "0.73778975", "text": "@Override\n\tpublic void hide() {\n\t}", "title": "" }, { "docid": "98150d419ae2ac363a960c9e84b117b0", "score": "0.73778975", "text": "@Override\n\tpublic void hide() {\n\t}", "title": "" }, { "docid": "3192a12a899298d96de49bfbd29187bf", "score": "0.73719984", "text": "@Override\n public void hide() {\n }", "title": "" }, { "docid": "3192a12a899298d96de49bfbd29187bf", "score": "0.73719984", "text": "@Override\n public void hide() {\n }", "title": "" }, { "docid": "3192a12a899298d96de49bfbd29187bf", "score": "0.73719984", "text": "@Override\n public void hide() {\n }", "title": "" }, { "docid": "25a144a0610542a8de1de4aeb6ce2ff8", "score": "0.7371647", "text": "@Override\n\tprotected void hide() {\n\t}", "title": "" }, { "docid": "e3f4f7de7a55116c0dc14c2cff3dcc34", "score": "0.7333405", "text": "@Override\n public void hide() {\n\n }", "title": "" }, { "docid": "e3f4f7de7a55116c0dc14c2cff3dcc34", "score": "0.7333405", "text": "@Override\n public void hide() {\n\n }", "title": "" }, { "docid": "80850b4f40abe8f4f09ce08f3dde13a0", "score": "0.7306307", "text": "@Override\r\n\tpublic void hide() {\n\r\n\t}", "title": "" }, { "docid": "3fe16ac7308b804f9d6dd81f224c1991", "score": "0.7156959", "text": "public void hide() {\n if (isShow) {\n scaleAnimation(1.0f, 0.0f, 200);\n isShow = false;\n }\n }", "title": "" }, { "docid": "a7387c52ed395dcba06b16b0a6f38b55", "score": "0.7122632", "text": "public void hide( ) {\n\t\tcontrolWindow.hide( );\n\t}", "title": "" }, { "docid": "407c390c618f4298c8ccaba016f9d4cb", "score": "0.70280004", "text": "default void hide() {\n\t}", "title": "" }, { "docid": "1a7de2a1e04c689ac25768dc07a0d809", "score": "0.7002514", "text": "public void hide() {\n this.setVisibility(View.GONE);\n }", "title": "" }, { "docid": "510a7065f407e723a6fd0309283d31f9", "score": "0.6939665", "text": "private void hideControlScheme() {\n transition.setByY(-image.getHeight());\n transition.play();\n controlsVisible = false;\n }", "title": "" }, { "docid": "b8d7f8ea13269db6993fe36b4f992a1f", "score": "0.69152564", "text": "public void hide() {\r\n\t\tmContentView.setVisibility(View.GONE);\r\n\t}", "title": "" }, { "docid": "c57622997619893f3cf0af6964e7557d", "score": "0.6911001", "text": "public void hide() \n\t{\n\t\tclearMapsPlayed();\n\t}", "title": "" }, { "docid": "6746e7c6fe5d22af8971d9abfeb0d572", "score": "0.68369216", "text": "@Override\r\n\tpublic void hideView() {\n\r\n\t}", "title": "" }, { "docid": "632061a88f718edec9215bcebfefc8ff", "score": "0.6822276", "text": "public void hideDurationDisplay(boolean trueFalse){\n if (trueFalse) {\n durationDisplay.getImage().setTransparency(0);\n } else {\n durationDisplay.getImage().setTransparency(255);\n }\n }", "title": "" }, { "docid": "f63dd59926e89553a7c9cc868386d457", "score": "0.68027586", "text": "public void hideCards() {\r\n\t\tfaceUp = false;\r\n\t}", "title": "" }, { "docid": "8eb3ed5cec0e741305e3e9881a484d68", "score": "0.6790612", "text": "public void onHideScreenShot() {\n\t\t\tMessage msg = mVideoStatHandler.obtainMessage(Constants.CAPTURED_SCREEN_HIDE);\r\n\t\t\tmsg.sendToTarget();\r\n\t\t}", "title": "" }, { "docid": "f94de82bc5fbac795306239676eacde7", "score": "0.6724975", "text": "public void hide() {\n if (mAnchor == null)\n return;\n\n if (mShowing) {\n try {\n mHandler.removeMessages(SHOW_PROGRESS);\n// mWindowManager.removeView(mDecor);\n } catch (IllegalArgumentException ex) {\n Log.w(\"MediaController\", \"already removed\");\n }\n mShowing = false;\n }\n }", "title": "" }, { "docid": "d1830fc00179cbb900575ae8c305c6b8", "score": "0.6699248", "text": "public void hide() {\n\t\tGLFW.glfwHideWindow( windowHandle );\n\t}", "title": "" }, { "docid": "0a4968cdb5a6acc3b904f75f777a44cc", "score": "0.66299284", "text": "public void hide(boolean h)\n {\n hiding = h;\n }", "title": "" }, { "docid": "0c1bf1e310150e792121d1b4c6ca9e4c", "score": "0.6612323", "text": "public void disappear() {\r\n isAppleEaten = true;\r\n appleImage = new ImageIcon(\"blacksquare.png\").getImage();\r\n }", "title": "" }, { "docid": "f96b3a83ee1b0032a3cfc3c69b2a4149", "score": "0.6610429", "text": "public void hide_media_buttons(){\n\n }", "title": "" }, { "docid": "f105abd5a9a629de9537fe5d0e15babc", "score": "0.6604256", "text": "private void showProductImage() {\n networkError.setVisibility(View.GONE);\n imgArea.setVisibility(View.VISIBLE);\n\n }", "title": "" }, { "docid": "74b7155ed1b7ea93ab4aca5db581ec8a", "score": "0.65791833", "text": "public void hide() {\n myFrame.setVisible(false);\n }", "title": "" }, { "docid": "1ff3e1688d66296143211ffe844c952e", "score": "0.65688264", "text": "public void stopDrawingImage(){\n\t\tviewPanel.stopDrawingImage();\n\t}", "title": "" }, { "docid": "b7f4f6d2776d32d39282e3c4d73d2e32", "score": "0.65669274", "text": "@Override\n public void hide() {\n this.dispose();\n new AssetManager().dispose();\n mWaitGame.remove();\n mBackgroundGame.remove();\n }", "title": "" }, { "docid": "2ad029af2d314e992b7947a2eff775e1", "score": "0.6533073", "text": "public void hideShield() {\n\t\tthis.setVisible(false);\n\t}", "title": "" }, { "docid": "2d5a4df7c512c2ad3741d92fbe90e9bf", "score": "0.65198827", "text": "public void hide() {\n\t\tfor(int i=0; i<4; i++) {\n\t\t\t_board.darkenBlock(_currentX[i], _currentY[i]);\n\t\t}\n\t}", "title": "" }, { "docid": "f20dbd9c0a5a937f5e3502e0940c007f", "score": "0.6514425", "text": "public void hide() {\n // This method used to be synchronized, presumably so that it could be safely called off\n // the UI thread; however, the referenced fields were still accessed both on and off the\n // UI thread, e.g. not thread-safe. Now we hand-off everything to the UI thread.\n post(this::hideOnUiThread);\n }", "title": "" }, { "docid": "5774d9629c5ea5781cd82bf1f9e49fca", "score": "0.65143853", "text": "public boolean showAvatar() {\r\n return false;\r\n }", "title": "" }, { "docid": "5774d9629c5ea5781cd82bf1f9e49fca", "score": "0.65143853", "text": "public boolean showAvatar() {\r\n return false;\r\n }", "title": "" }, { "docid": "f6d5c3f392e1e3dfadc6ef65cd1ac6cd", "score": "0.6439057", "text": "public void toggleHide() {\n if (!hide()) unhide();\n }", "title": "" }, { "docid": "020605332731cebd8a86a06e2f674c27", "score": "0.6403191", "text": "@Override\n\tpublic void hideView(int view) {\n\n\t}", "title": "" }, { "docid": "50866fa11f6c994b354daff9fc39dce5", "score": "0.6402406", "text": "public void hideWindows() {\n }", "title": "" }, { "docid": "640dea24fb6b3bb94d017e58b2c32512", "score": "0.6371701", "text": "public void ocultar() {\n this.setVisible(false);\n }", "title": "" }, { "docid": "f38337241faf27f243c57f3d40482aeb", "score": "0.6368636", "text": "public void hideStat(){\n\t\tif( isShown ){\n\t\t\tboard = manager.getNewScoreboard();\n\t\t\tgetPlayer().setScoreboard(board);\n\t\t\tisShown = false;\n\t\t}\n\t}", "title": "" }, { "docid": "e72c8e0b30e8206e7b7078b5ab5e2923", "score": "0.63643205", "text": "public void hideForEditing () {\n findViewById(R.id.sheet_2).setVisibility(View.GONE);\n findViewById(R.id.lv_historic_main).setVisibility(View.GONE);\n findViewById(R.id.frm_topbar).setVisibility(View.GONE);\n }", "title": "" }, { "docid": "082b825ea0572bd41ff939060854b5c4", "score": "0.6352789", "text": "public void hide() {\n LayoutParams lp = (LayoutParams) mContentView\n .getLayoutParams();\n lp.height = 0;\n mContentView.setLayoutParams(lp);\n }", "title": "" }, { "docid": "2adaa20c0e47c12905a672ec98e81515", "score": "0.634573", "text": "public void hide() {\n if (mHider == null) return;\n mHider.run();\n mHider = null;\n }", "title": "" }, { "docid": "042b0c48c476c607b92e2cb982087f6d", "score": "0.63271344", "text": "public void hideSheet() {\n\t\tsuper.setVisible(false);\n\t}", "title": "" }, { "docid": "ae9dbcee40ad8ba78f4757ca5a913e31", "score": "0.63265383", "text": "public void hideMe(){\r\n \tif(animState != ME_STANDING){\r\n \t\tt.stop();\r\n \t}\r\n \tanimState = ME_HIDING;\r\n \tsetInitialPosition(ME_HIDING);\r\n \tt.start();\r\n }", "title": "" }, { "docid": "d274a542acf62b7e3c48c7c9d9776a52", "score": "0.6326156", "text": "void hideProgress();", "title": "" }, { "docid": "d274a542acf62b7e3c48c7c9d9776a52", "score": "0.6326156", "text": "void hideProgress();", "title": "" }, { "docid": "d274a542acf62b7e3c48c7c9d9776a52", "score": "0.6326156", "text": "void hideProgress();", "title": "" }, { "docid": "e9ae8a25b642dfc67bbec20fa9847d0a", "score": "0.6323743", "text": "public void showNotif(){\n //Get reference to image view, show image and bring to front\n ImageView congrats = (ImageView) findViewById(R.id.congratsImage);\n congrats.setVisibility(View.VISIBLE);\n congrats.bringToFront();\n\n //Set onclick function for imageview\n congrats.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n //Hide imageview on click\n v.setVisibility(View.INVISIBLE);\n }\n });\n WeekviewActivity.showNotif = false;\n }", "title": "" }, { "docid": "9bcb61eddd7cdabea65805ad95d2a928", "score": "0.6313651", "text": "@Override\n public void hide()\n {\n if(menuMusic.isPlaying())\n menuMusic.pause();\n }", "title": "" }, { "docid": "e4deb0f7e8b1aabba45cd8581a05d3f7", "score": "0.62967044", "text": "@Override\n\tpublic void hideDialog()\n\t{\n\t\tthis.setVisible(false);\n\t}", "title": "" }, { "docid": "466b889bc8919ef9a110f5ddbc506cd6", "score": "0.6284803", "text": "protected void hideConnecting()\n\t{\n\t\tviewStatusBar.startAnimation(animSlideOut);\n\t\tviewProgress.setVisibility(View.INVISIBLE);\n\t}", "title": "" }, { "docid": "e6b9e6150ec3a8d570e9112a1ec14922", "score": "0.62791973", "text": "void hideSheet();", "title": "" } ]
98ae94e6f22b81c226084719bf161e18
Set sleep mode status.
[ { "docid": "fcd888fceb5d08043e0ea67ebc19cd14", "score": "0.71604526", "text": "private void setSleepEnabled(boolean enabled) {\n try {\n I2Cdev.writeBit(i2cDevice, MPU6050_RA_PWR_MGMT_1, MPU6050_PWR1_SLEEP_BIT, enabled);\n } catch (IOException e) {\n throw new IllegalStateException(\"Unable to set sleep enabled\", e);\n }\n }", "title": "" } ]
[ { "docid": "e3ea89e75af67a715f08cae33dbf2284", "score": "0.6874087", "text": "public final void setSleep(final boolean sleepValue) {\n // Show debug info, but only once per sleep-cycle;\n if (sleepValue && !mSleeping) {\n AppLogger.print(mClassName, \"JobManager is sleeping because the display is off!\", 0);\n }\n this.mPrevSleeping = mSleeping;\n this.mSleeping = sleepValue;\n }", "title": "" }, { "docid": "38da985b701a290b29f62e055497eaf7", "score": "0.68707865", "text": "public void sleep() {\n\n\t\tthis.isAwake = false;\n\n\t}", "title": "" }, { "docid": "2997ce4dbc3ca39b1262dedcdc208c61", "score": "0.67682856", "text": "public void sleep() {\n\t\tthis.sleepinessLevel -= 5;\n\t\tthis.isAsleep = true;\n\t}", "title": "" }, { "docid": "9e61ff508bb53fe0bf68af3f999a7d02", "score": "0.66172385", "text": "public static void onOffMode() {\r\n\t\tmode = Mode.ONOFF;\r\n\t\tSystem.out.println(\"Sleeping\");\r\n\t}", "title": "" }, { "docid": "436914b3171f0c8377cc200e03471348", "score": "0.6392963", "text": "public void sleep() {\n // printing sleeping\n System.out.println(\"Sleeping\");\n }", "title": "" }, { "docid": "0377ecea029b09c3eb0f1a69535b5ef4", "score": "0.6365882", "text": "@momomo.com.annotations.informative.Development\n public static void sleep() {\n sleep(Randoms.Long(Configurable.SLEEP_RANDOM_MIN, Configurable.SLEEP_RANDOM_MAX));\n }", "title": "" }, { "docid": "6bf536e7c16652262a4891128ebf4df8", "score": "0.6270576", "text": "public Response setSleep(Integer sleep) throws IOException {\r\n return zoneFacade.setSleep(sleep);\r\n }", "title": "" }, { "docid": "8f9f4cd318010510405fbda675597f71", "score": "0.6244178", "text": "public void sleep();", "title": "" }, { "docid": "d703a314efb96f5f09456f845d3ad30b", "score": "0.62189394", "text": "@HdmiAnnotations.ServiceThreadOnly\n public void standby() {\n assertRunOnServiceThread();\n if (canGoToStandby()) {\n this.mStandbyMessageReceived = true;\n this.mPowerManager.goToSleep(SystemClock.uptimeMillis(), 5, 0);\n }\n }", "title": "" }, { "docid": "608b1f5e6188b8b21c51f77eea2f1df8", "score": "0.61957896", "text": "public double setSleep(double new) {\n\tdouble old = sleep;\n\tsleep = new;\n\treturn old;\n }", "title": "" }, { "docid": "601ab2e626643dba271dbb674c45fbd2", "score": "0.6194327", "text": "@Override\r\n public void setSleepingIgnored(boolean isSleeping){\n\r\n }", "title": "" }, { "docid": "86da69e21eeeaf8b36a3f67263b100b8", "score": "0.6116846", "text": "public void setStatus (Status sts){\n \n switch (sts){\n \n case STOPPED:\n startbt.setDisable(false);\n stopbt.setDisable(true);\n pausebt.setDisable(true);\n break;\n case RUNNING:\n startbt.setDisable(true);\n stopbt.setDisable(false);\n pausebt.setDisable(false);\n break; \n case PAUSED:\n startbt.setDisable(false);\n stopbt.setDisable(false);\n pausebt.setDisable(true);\n break; \n case TEST:\n startbt.setDisable(false);\n stopbt.setDisable(false);\n pausebt.setDisable(false);\n break;\n case CLEAR:\n startbt.setDisable(true);\n stopbt.setDisable(true);\n pausebt.setDisable(true);\n break; \n }\n \n }", "title": "" }, { "docid": "dfa5ed589f3c133ce9fdb79a7b9e553b", "score": "0.61017084", "text": "private void sleep() {\n try {\n Thread.sleep(17);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "6c338eae5ab0a0c41d53e0fcec1f1042", "score": "0.609763", "text": "public void putToSleep(){\n try {\n synchronized(this) {\n this.wait(); // TODO: Rykten om att den här är otillförlitlig.\n }\n }catch(InterruptedException e){\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "17c9cbb2efa5bc7522ea2a460a42a45d", "score": "0.607645", "text": "@Override\n public void sleep() {\n }", "title": "" }, { "docid": "077a571901dd181b416cb210a254372f", "score": "0.6027281", "text": "private void sleep() {\n\t\ttry {\n\t\t\tTimeUnit.SECONDS.sleep(DefaultParameter.TWO_SEC.getCode());\n\t\t} catch (InterruptedException e) {\n\t\t\tlogger.error(BiDiMessageSender.class.getName() + \" \"\n\t\t\t\t\t+ e.getMessage());\n\t\t}\n\t}", "title": "" }, { "docid": "fba85b3f5fa0faa124b0818ef24c2dfd", "score": "0.5983344", "text": "public void setStandbyMode(boolean isStandbyModeOn) {\n assertRunOnServiceThread();\n if (isPowerOnOrTransient() && isStandbyModeOn) {\n this.mPowerManager.goToSleep(SystemClock.uptimeMillis(), 5, 0);\n if (playback() != null) {\n playback().sendStandby(0);\n }\n } else if (isPowerStandbyOrTransient() && !isStandbyModeOn) {\n this.mPowerManager.wakeUp(SystemClock.uptimeMillis(), 8, \"android.server.hdmi:WAKE\");\n if (playback() != null) {\n oneTouchPlay(new IHdmiControlCallback.Stub() {\n /* class com.android.server.hdmi.HdmiControlService.AnonymousClass4 */\n\n public void onComplete(int result) {\n if (result != 0) {\n Slog.w(HdmiControlService.TAG, \"Failed to complete 'one touch play'. result=\" + result);\n }\n }\n });\n }\n }\n }", "title": "" }, { "docid": "bd463ac0d806f1c80260c0f2551c87f0", "score": "0.5942021", "text": "private void schedulerSleep() {\n\n try {\n if (level == 1)\n Thread.sleep(8);\n if (level == 2)\n Thread.sleep(10);\n if (level == 3)\n Thread.sleep(40);\n } catch (InterruptedException e) {\n }\n }", "title": "" }, { "docid": "393c814d4ebac11d103ab8076c8e73b6", "score": "0.5885147", "text": "public void sleep()\r\n\t{\n\t\tSystem.out.println(this + \" sleep\");\r\n\r\n\t}", "title": "" }, { "docid": "0da529fc3354cd51c5037ab07c711d6f", "score": "0.58837044", "text": "public long sleep();", "title": "" }, { "docid": "da0c4ab5c31e07299c05d50e3e72cbd7", "score": "0.5873296", "text": "private void setSleepTimer() {\n Intent serviceIntent = new Intent(this, BackgroungService.class);\n this.startService(serviceIntent);\n\n // The filter's action is BROADCAST_ACTION\n IntentFilter mStatusIntentFilter = new IntentFilter();\n\n // Registers the receiver with the new filter\n LocalBroadcastManager.getInstance(this).registerReceiver(\n new AlarmHandler(),\n mStatusIntentFilter);\n }", "title": "" }, { "docid": "93b3f877d723acd68a727a47ee33d10b", "score": "0.5782017", "text": "public void sleepTime(int value) {\n\t\ttry {\n\t\t\tThread.sleep(value);\n\t\t} catch (InterruptedException e) {\n\t\t\tSystem.err.println(e.getMessage());\n\t\t}\n\t}", "title": "" }, { "docid": "fd3921c50744108323caedbba3f44fa4", "score": "0.57388145", "text": "@RequiresPermission(android.Manifest.permission.ACCESS_VR_MANAGER)\n public void setStandbyEnabled(boolean standby) {\n try {\n mService.setStandbyEnabled(standby);\n } catch (RemoteException e) {\n e.rethrowFromSystemServer();\n }\n }", "title": "" }, { "docid": "cf66789ec908d4baec9f27032119c56c", "score": "0.5711157", "text": "public void setWait(int wait){this.waitTime = wait;}", "title": "" }, { "docid": "3b49341cf327b43ca8939d51e92565e3", "score": "0.5708103", "text": "public void setPaused() {\n state = FeedMonitorStatus.Paused;\r\n runFlashingPlayer();\r\n alarm.runAlarmPlayer();\r\n }", "title": "" }, { "docid": "9dc415672fcdcb98d469831df4752bd4", "score": "0.570412", "text": "@Override\n protected void sleep() {\n System.out.println(\"Tom is SLEEPING\");\n System.out.println(\"Tom will wake up after 5 hour\");\n }", "title": "" }, { "docid": "511c5a8bfde63f73b14b3099e36c5c3e", "score": "0.5699567", "text": "@Override\r\n public boolean isSleeping(){\n return false;\r\n }", "title": "" }, { "docid": "0d4fa540ec65bca38c6d73823790277e", "score": "0.56987303", "text": "public final boolean getSleepState() {\n return mSleeping;\n }", "title": "" }, { "docid": "97618b05c18a41e31c3eff3fe78ed298", "score": "0.56931424", "text": "public void fallAsleep() {\n\t\tsleeping=true;\n\t}", "title": "" }, { "docid": "54f06bcce25058c62c611d27afbdd363", "score": "0.56493586", "text": "boolean updateSleep(long dateStartSleep, long duration);", "title": "" }, { "docid": "79d3256e79e5571d91a482d019f51d91", "score": "0.56404716", "text": "public void awakeFromSleepingLocked() {\n for (int taskNdx = this.mTaskHistory.size() - 1; taskNdx >= 0; taskNdx--) {\n ArrayList<ActivityRecord> activities = this.mTaskHistory.get(taskNdx).mActivities;\n for (int activityNdx = activities.size() - 1; activityNdx >= 0; activityNdx--) {\n activities.get(activityNdx).setSleeping(false);\n }\n }\n if (this.mPausingActivity != null) {\n Flog.i((int) PAUSE_TIMEOUT_MSG, \"Previously pausing activity \" + this.mPausingActivity.shortComponentName + \" state : \" + this.mPausingActivity.getState());\n activityPausedLocked(this.mPausingActivity.appToken, true);\n }\n }", "title": "" }, { "docid": "a1b6c75e1afef85510cc38fd35d5afb0", "score": "0.5624309", "text": "public void sleep() {\n\t\tLib.assertTrue(conditionLock.isHeldByCurrentThread());\n\n\t\t// First, we need to disable machine interrupts\n\t\tboolean status = Machine.interrupt().disable();\n\n\t\t// Now, access the waitQueue\n\t\twaitQueue.add(KThread.currentThread());\n\n\t\t// Next, the lock is released\n\t\tconditionLock.release();\n\n\t\t// Sleep the current thread\n\t\tKThread.sleep();\n\n\t\t// restore the machine's state\n\t\tconditionLock.acquire();\n\t\tMachine.interrupt().restore(status);\n\t}", "title": "" }, { "docid": "b482ea333ac5e94ba3ce4d2a9f460bee", "score": "0.56205803", "text": "public boolean isSleeping();", "title": "" }, { "docid": "1e5c2911cf3451ce8710c11e0436f03a", "score": "0.5617783", "text": "private void forcedSleepAsTheToggleTakeTimeToExpand() {\n try {\n Thread.sleep(5000l);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "cc396a01d45d16d77781d8acaa2e8984", "score": "0.5583228", "text": "public void suspender() {\n this.Estado = \"Suspendido\";\n }", "title": "" }, { "docid": "70f5d6b75744df541dc3587a7b1fa00a", "score": "0.557914", "text": "public void goToSleep() {\n ensureActivitiesVisibleLocked(null, 0, false);\n for (int taskNdx = this.mTaskHistory.size() - 1; taskNdx >= 0; taskNdx--) {\n ArrayList<ActivityRecord> activities = this.mTaskHistory.get(taskNdx).mActivities;\n for (int activityNdx = activities.size() - 1; activityNdx >= 0; activityNdx--) {\n ActivityRecord r = activities.get(activityNdx);\n if (r.isState(ActivityState.STOPPING, ActivityState.STOPPED, ActivityState.PAUSED, ActivityState.PAUSING)) {\n r.setSleeping(true);\n }\n }\n }\n }", "title": "" }, { "docid": "38d016cf24b43a19d1466331edadf777", "score": "0.55766517", "text": "void sleep(long meanTime) throws GrinderException;", "title": "" }, { "docid": "cbf8a008d2c15a1e9d5097cae82ac750", "score": "0.5576406", "text": "public void setSleepPeriod(int sleepPeriod) {\n\t\tsimulation.setSleepPeriod(sleepPeriod);\n\t}", "title": "" }, { "docid": "62fda05303ccbc0a6c4bc5b959d8314d", "score": "0.55598783", "text": "@Override\n\t\t\tpublic void run() {\n\t\t\t\tSystem.out.println(\"before\");\n\t\t\t\ttry {\n\t\t\t\t\tTimeUnit.SECONDS.sleep(10);\n\t\t\t\t\tSystem.out.println(\"wake\");\n\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t} \n\t\t\t}", "title": "" }, { "docid": "009cba07f1f1516e76c9614caebb3e08", "score": "0.551723", "text": "private static void sleep() {\n try {\r\n int tempoEspera = new Random().nextInt(6);\r\n tempoEspera++;\r\n Thread.sleep(1000 * tempoEspera);\r\n } catch (InterruptedException e) {\r\n Thread.currentThread().interrupt();\r\n e.printStackTrace();\r\n }\r\n }", "title": "" }, { "docid": "8324bdbc8777ad3104814c340b3f3a44", "score": "0.5499826", "text": "@Test\n @SetSystemProperty(key = BacklogDebugger.SUSPEND_MODE_SYSTEM_PROP_NAME, value = \"true\")\n public void testSuspendModeConfiguredWithSystemProperty() throws Exception {\n testSuspendMode();\n }", "title": "" }, { "docid": "672782e63c66a061d602d4eee1c1be6c", "score": "0.5473547", "text": "private void sleep(int i) {\n\t\t\r\n\t}", "title": "" }, { "docid": "5ba53bba72a520e7a292729da748221b", "score": "0.5470756", "text": "@Test\n public void testOnButtonDelay() {\n System.out.println(\"onButtonDelay\");\n int ms = 1;\n try {\n testButton.enableButton.set(false);\n testButton.onButtonDelay(ms);\n Thread.sleep(50);\n } catch (InterruptedException ex) {\n System.err.println(ex.getMessage());\n }\n assertTrue(testButton.enableButton.get());\n }", "title": "" }, { "docid": "390d7f41e8e2f2257124cd27a5fa2d3d", "score": "0.5469546", "text": "public void testDrive(int seconds){\n try {\n L.setPower(0.5);\n wait(seconds * 1000);\n L.setPower(0);\n R.setPower(0.5);\n wait(seconds * 1000);\n R.setPower(0);\n }catch(Exception e){}\n }", "title": "" }, { "docid": "01c7d20a9e748f75d78a01fa03803d96", "score": "0.546866", "text": "public Response setAutoPowerStandby(Boolean enable) throws IOException {\r\n return systemFacade.setAutoPowerStandby(enable);\r\n }", "title": "" }, { "docid": "e47090040017140e8aa5c6bd03fe49ac", "score": "0.5456061", "text": "public void setPauseState(){\n this.isPaused = !isPaused;\n }", "title": "" }, { "docid": "cbaf6b9395f1da1d911a3bdd98348376", "score": "0.54536", "text": "@Override\n\tpublic void sleep() {\n\t\tSystem.out.println(\"잘잔다\");\n\t}", "title": "" }, { "docid": "08d92a4e4bde283c3b459f8ec4d84128", "score": "0.5453039", "text": "public void isSleeping (){\r\n System.out.println(\"The lady of the house is sleeping, waiting for her show to start.\");\r\n }", "title": "" }, { "docid": "2ab33f0970f5616b0651189fd985eacf", "score": "0.5444085", "text": "public void changeStatus() {\n \tif (status) {\n \t\tstatus = false;\n \t}else {\n \t\tstatus = true;\n \t}\n }", "title": "" }, { "docid": "0041d70501112eb74e874ad7962ee46a", "score": "0.5440912", "text": "void setTestMode( boolean turnOn ) ;", "title": "" }, { "docid": "6462dbfea28df55b9893b072c19ba6c0", "score": "0.5438529", "text": "public static void sleep_(int n) {\r\n //TADADADA\r\n }", "title": "" }, { "docid": "c7bb752d0d7ba244095f4a9300661a62", "score": "0.5436285", "text": "public void changeStatus() {\n status = \"sending\";\n }", "title": "" }, { "docid": "9bf92990bbfa3f53f7c10a9253d61b5a", "score": "0.54150194", "text": "public void taskSleep() {\n try {\n LOG.info(\"Rejuvenating for ten seconds...\");\n TimeUnit.SECONDS.sleep(10);\n } catch (Exception e) {\n LOG.error(\"An error occurred during thread sleep.\" + e);\n }\n }", "title": "" }, { "docid": "e1162652ea130096a2bd4c6bb483a444", "score": "0.54098296", "text": "public void suspend() {\n isSuspended.set(true);\n }", "title": "" }, { "docid": "028aa2172ad5ca9dcffa869e5e630a3a", "score": "0.5394523", "text": "public void setPowerStatus(boolean powerStatus) {\n\t this.powered = powerStatus;\n\t if(!powered){\n\t\t resetStatus();\n\t }\n }", "title": "" }, { "docid": "cfb970d2148c84f043c6ba06610ea538", "score": "0.5393886", "text": "public void pause() {\r\n try {\r\n Thread.sleep(50);\r\n } catch (InterruptedException err) {\r\n err.printStackTrace();\r\n }\r\n }", "title": "" }, { "docid": "b1765936e080be03b001e16cdbb0a653", "score": "0.53929204", "text": "@SpyPoint\n void sleep(int seconds) throws InterruptedException {\n Thread.sleep(1000 * seconds);\n\n }", "title": "" }, { "docid": "3a838a34ea8153583496869deb3c9ba6", "score": "0.53922313", "text": "void Sleep();", "title": "" }, { "docid": "02f1189633d5f86fb26d95c3ea255c1b", "score": "0.53732145", "text": "public void testSetMode() {\n\t\tLog.printAndLog(this, \"testSetMode()\");\n\t\ttry {\n\t\t\tthis.bop.setMode(1);\n\t\t\tassertEquals(1, this.bop.currentMode());\n\t\t} catch (Exception e) {\n\t\t\tassertTrue(false);\n\t\t}\n\t\tLog.printAndLog(this, \"done...\");\n\t}", "title": "" }, { "docid": "45d9045fc2313a7504374ab61d7b06ff", "score": "0.5369698", "text": "public void setToAuto() {\n\t\tSettings.System.putInt(context.getContentResolver(),Settings.System.SCREEN_BRIGHTNESS, (int)brightness*255); \n\t\twindow = ((MainActivity) context).getWindow();\n\t\tWindowManager.LayoutParams lp = window.getAttributes();\n\t\tlp.screenBrightness = brightness;\n\t\twindow.setAttributes(lp);\n\t\tSettings.System.putInt(context.getContentResolver(),\n\t\t\t\tSettings.System.SCREEN_BRIGHTNESS_MODE,\n\t\t\t\tSettings.System.SCREEN_BRIGHTNESS_MODE_AUTOMATIC);\n\t}", "title": "" }, { "docid": "f12ef53cfaf062bb3c1be759d3f1a6df", "score": "0.53682405", "text": "@Test\n @SetEnvironmentVariable(key = BacklogDebugger.SUSPEND_MODE_ENV_VAR_NAME, value = \"true\")\n @SetSystemProperty(key = BacklogDebugger.SUSPEND_MODE_SYSTEM_PROP_NAME, value = \"false\")\n public void testSuspendModeConfiguredWithBoth() throws Exception {\n testSuspendMode();\n }", "title": "" }, { "docid": "4388375a24525fa8c0030574d5402dce", "score": "0.5365856", "text": "void changeStatus(boolean status);", "title": "" }, { "docid": "c8e3cd8a4bab7e451bb750fb01ba886f", "score": "0.53612304", "text": "public void setSuspended(boolean suspended){\r\n if(isSuspended()==suspended)return;\r\n will.setSuspended(suspended);\r\n }", "title": "" }, { "docid": "aa85199d521de1418ae95394c2583434", "score": "0.5354521", "text": "@Test\n public void testOffButtonDelay() {\n System.out.println(\"offButtonDelay\");\n int ms = 1;\n Thread thread = new Thread(){\n @Override \n public void run(){\n for (int i = 0; i < 1000;i++){\n //Do nothing\n }\n }\n };\n try {\n testButton.enableButton.set(false);\n testButton.offButtonDelay(ms, thread);\n Thread.sleep(500);\n } catch (InterruptedException ex) {\n System.err.println(ex.getMessage());\n }\n assertTrue(testButton.enableButton.get());\n }", "title": "" }, { "docid": "09b4117d69f7ba25b25952604a43ce29", "score": "0.5353851", "text": "void setDelay(int delay);", "title": "" }, { "docid": "92008c460d38a040bb87c9f5910b7041", "score": "0.53474706", "text": "public void pause(boolean pause){this.pause=pause;}", "title": "" }, { "docid": "51e802888d169f17ba81d63719b39c70", "score": "0.53461546", "text": "public void wakeUp() {\n\t\tsleeping=false;\n\t}", "title": "" }, { "docid": "4619bbb9eb8c667043693a529cf39cf6", "score": "0.5330429", "text": "private void setMode(Mode mode) {\n\tthis.mode = mode;\n\tswitch(mode) {\n\tcase AUTO_RUN_REPLAYABLE:\n\tcase START_PAUSED_REPLAYABLE:\n\tcase START_PAUSED_SELECTABLE:\n\t keep = true;\n\t break;\n\tdefault:\n\t keep = false;\n\t}\n }", "title": "" }, { "docid": "9b032148c581f65c4ed10cde94abdf6f", "score": "0.53238493", "text": "private void status(int status) {\n this.status = status;\n }", "title": "" }, { "docid": "8d461b6e20e4305ed4ab58d3ecadcd55", "score": "0.5322886", "text": "public void setNormal() {\r\n state = FeedMonitorStatus.Normal;\r\n updateMsg();\r\n }", "title": "" }, { "docid": "c5565c1b49b4beffd560cd668bcae899", "score": "0.53182757", "text": "private void maybePausePeriod () {\n\t\t\t\twhile (frame.getServicePanel ().periodPaused ()) {\n\t\t\t\t\tframe.setStatusText (\"Periodic testing disabled\");\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "f4d8b8b2c04201d37e1b180a124bc2de", "score": "0.5317797", "text": "public void SetStatusIdle()\n {\n \tsetStatusLabel(\"Idle\");\n }", "title": "" }, { "docid": "d3f2ebde224ec5fdfdb77df9f75e626a", "score": "0.5308558", "text": "synchronized void setPollSuspended() {\n poll.getVoteTally().setStateSuspended();\n }", "title": "" }, { "docid": "5b70b8ccb4437622b7c7ac0b9c2248e1", "score": "0.53071153", "text": "public synchronized void setSensorStatus(boolean status) {\n mIsSensorsLaunched = status;\n }", "title": "" }, { "docid": "f5e724ff82ec4f8b57f55b3e966f904e", "score": "0.530479", "text": "public void setState(int mode) {\n synchronized (monitor) {\n setState(mode, null);\n }\n }", "title": "" }, { "docid": "e289dcb166f719738ed6bb5a4bd179d3", "score": "0.5295391", "text": "void setCpuActive(Process p);", "title": "" }, { "docid": "0ddbf06dac60c0cd3419738dcb54c7b2", "score": "0.5288633", "text": "public void wake() {\n\t\tthis.isAsleep = false;\n\t}", "title": "" }, { "docid": "9af7c83693e135d8aae98e1c9c2a0101", "score": "0.52591383", "text": "private void sleep(long sleeptime) {\n try {\n Thread.sleep(sleeptime);\n } catch (InterruptedException e) {}\n }", "title": "" }, { "docid": "70ae690775ae9135286ab6a728eb57ed", "score": "0.52586126", "text": "private void sleep() {\n \n try {\n Thread.currentThread().sleep(SLEEP_LENGTH);\n } catch (InterruptedException ie) {\n //go away\n }\n \n \n \n //runs faster -uncomment for production use\n \n try {\n //jf.getTreeLock().wait();\n SwingUtilities.invokeAndWait(new Runnable() {\n public void run() {\n System.currentTimeMillis();\n }\n });\n //jf.getTreeLock().wait();\n SwingUtilities.invokeAndWait(new Runnable() {\n public void run() {\n System.currentTimeMillis();\n }\n });\n } catch (Exception e) {\n }\n \n \n }", "title": "" }, { "docid": "5779deaf2c46bfa37bbb54f5e402de68", "score": "0.52566975", "text": "public void Suspend() {\r\n paused = true;\r\n counter = _refreshRate / 1000;\r\n super.suspend();\r\n }", "title": "" }, { "docid": "c6b8552cbf08c69c7b4d92c03776011b", "score": "0.5252741", "text": "public void sleep(){\n System.out.println(\"The dog is sleeping..\");\n }", "title": "" }, { "docid": "6b6bcafac2aebd46fe53312104486076", "score": "0.52357703", "text": "public void setMaintSleep(long maintSleep) {\r\n\t\tthis.maintSleep = maintSleep;\r\n\t}", "title": "" }, { "docid": "6fdfb041716f7b75647d2ebafebb35b8", "score": "0.52236503", "text": "public void setBtnStatus(int type) {\n myStatus = type;\r\n myBtn.setEnabled(true);\r\n updateBtn();\r\n }", "title": "" }, { "docid": "43a32286cf2f04e949249274b6d3127b", "score": "0.5219942", "text": "public void setWifiPowerMode(short mode) throws TimeoutException, NotConnectedException {\n\t\tByteBuffer bb = ipcon.createRequestPacket((byte)9, FUNCTION_SET_WIFI_POWER_MODE, this);\n\n\t\tbb.put((byte)mode);\n\n\t\tsendRequest(bb.array());\n\t}", "title": "" }, { "docid": "0ece147a142c243f3839582f67114788", "score": "0.5217093", "text": "public void setSickStatus(boolean status) {\n\t\tthis.currentlySick = status;\n\t}", "title": "" }, { "docid": "258840fbbf4a796300f439f096d174ea", "score": "0.5195975", "text": "public void suspendStudent() {\n\t\tthis.goodStanding = false;\n\t}", "title": "" }, { "docid": "90e163aaada994e40fa296db824efefa", "score": "0.51927584", "text": "public boolean isSleeping() {\n\t\treturn sleeping;\n\t}", "title": "" }, { "docid": "e75c7d562f6a8a710a9127a68f7a3a43", "score": "0.518548", "text": "@Override\n\tpublic void setStatus(String status) {\n\t\tbuffer.putCommand(\":SET STATUS: \" + Command.encode(status) + \";\");\n\n\t}", "title": "" }, { "docid": "ab901a7cc67fa35409daebd300c51f2a", "score": "0.51820683", "text": "private void sleepDelay(int delay) {\n long sInterval = (long) delay;\n\n try {\n Thread.sleep(sInterval);\n } catch (InterruptedException ex) {\n Logger.getLogger(MouseOperator.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "title": "" }, { "docid": "3c8eb9fcd2cbfaa3c7d98fe41b856b72", "score": "0.5181617", "text": "private static void toggleIdleMode() {\n setActionStatus(getActionStatus() == ActionStatus.IDLE ? ActionStatus.LOGGING : ActionStatus.IDLE);\n\n lastKeyPressed = new LastKeyPressed(LocalTime.now(), NativeKeyEvent.VC_F11);\n Utils.updateTitle(mainStage, TITLE, actionStatus, actionsDone);\n if (getActionStatus() == ActionStatus.LOGGING)\n stopResume.setText(stopResumeLabel[1][0]);\n else\n stopResume.setText(stopResumeLabel[2][0]);\n System.out.println(\"Status: \"+getActionStatus().name()+\"!\");\n }", "title": "" }, { "docid": "1629ab8e3a3a2e09955f470820cab40b", "score": "0.5177983", "text": "public void setStatusPaused() {\n\t\ttrackStatus.setText(\"Status: Paused\");\n\t\tactionButton.setText(\"Play\");\n\t}", "title": "" }, { "docid": "71c9c35a455ca610b18594088fabd96e", "score": "0.51743054", "text": "@Override\n public void onClick(View view) {\n startSleeping();\n }", "title": "" }, { "docid": "38b0fc53b114eb48852e6cb5ee3d5589", "score": "0.51602614", "text": "@HdmiAnnotations.ServiceThreadOnly\n @VisibleForTesting\n public void onStandby(final int standbyAction) {\n assertRunOnServiceThread();\n this.mPowerStatus = 3;\n invokeVendorCommandListenersOnControlStateChanged(false, 3);\n final List<HdmiCecLocalDevice> devices = getAllLocalDevices();\n if (isStandbyMessageReceived() || canGoToStandby()) {\n disableDevices(new HdmiCecLocalDevice.PendingActionClearedCallback() {\n /* class com.android.server.hdmi.HdmiControlService.AnonymousClass3 */\n\n @Override // com.android.server.hdmi.HdmiCecLocalDevice.PendingActionClearedCallback\n public void onCleared(HdmiCecLocalDevice device) {\n Slog.v(HdmiControlService.TAG, \"On standby-action cleared:\" + device.mDeviceType);\n devices.remove(device);\n if (devices.isEmpty()) {\n HdmiControlService.this.onStandbyCompleted(standbyAction);\n }\n }\n });\n return;\n }\n this.mPowerStatus = 1;\n for (HdmiCecLocalDevice device : devices) {\n device.onStandby(this.mStandbyMessageReceived, standbyAction);\n }\n }", "title": "" }, { "docid": "4674fc02373982c4d7e06bdff83ebc1d", "score": "0.51535887", "text": "public void setStopped() {\n state = FeedMonitorStatus.Stopped;\r\n runFlashingPlayer();\r\n alarm.runAlarmPlayer();\r\n }", "title": "" }, { "docid": "8455fa920fdb3d0b28322624cfb5bf39", "score": "0.51472354", "text": "public void setStatus(int value) {\n this.status = value;\n }", "title": "" }, { "docid": "5a1fa306ef875e29569bb5500117b48e", "score": "0.5145138", "text": "private void enablePeriodic(){\n \tstandardMode=false; // reset our standard mode ....\n \tint period=1000;\n \ttimer.scheduleAtFixedRate(new TimerTask() {\n \t\t@Override\n \t\t\tpublic void run() {\n \t\t\t\ttry {\n\t\t\t\t\t\tsocket.send(sendMessage);\n\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\tSystem.out.println(\"Unable to send message\");\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n \t\t\t}}\n \t\t\t, 3000, period);\n }", "title": "" }, { "docid": "c9e171fa365a4f7fda7e121607b19859", "score": "0.5144012", "text": "private void suspended(int detail) {\r\n\t\tfireSuspendEvent(detail);\r\n\t\tsetSuspended(true);\r\n\t}", "title": "" }, { "docid": "c7ce82622ba5d55f466048426af5eee4", "score": "0.51379544", "text": "@HdmiAnnotations.ServiceThreadOnly\n private void onStandbyCompleted(int standbyAction) {\n assertRunOnServiceThread();\n Slog.v(TAG, \"onStandbyCompleted\");\n if (this.mPowerStatus == 3) {\n this.mPowerStatus = 1;\n for (HdmiCecLocalDevice device : this.mCecController.getLocalDeviceList()) {\n device.onStandby(this.mStandbyMessageReceived, standbyAction);\n }\n this.mStandbyMessageReceived = false;\n if (!isAudioSystemDevice()) {\n this.mCecController.setOption(3, false);\n this.mMhlController.setOption(104, 0);\n }\n }\n }", "title": "" }, { "docid": "26862b5cd4b8f636550e54c1bac4fba8", "score": "0.513736", "text": "public void setActiveStatus(int value) {\n this.activeStatus = value;\n }", "title": "" }, { "docid": "0eccd69bc3139112e8fa02b6ab0ad0c2", "score": "0.51254237", "text": "public void setStatus(String s) {\n\t\tthis.status = s;\n\t}", "title": "" } ]
e4e1a95bd15b6836f905914835adfcb7
for json and deep copy
[ { "docid": "05247fad2c955bafe1bfec156003ebfa", "score": "0.0", "text": "private Property() {\n identifier = null;\n name = null;\n type = null;\n }", "title": "" } ]
[ { "docid": "5c6138c74e9483e19e4531ef78ecab33", "score": "0.6632258", "text": "public GenericJson clone() {\n return this.clone();\n }", "title": "" }, { "docid": "a6ef0c57c2f8bada2917987ece8db97a", "score": "0.6489135", "text": "protected abstract COSObject copyDeep(Map copied);", "title": "" }, { "docid": "205e2a35bc06b835bce6788950505ce2", "score": "0.63845366", "text": "public ObjectNode deepCopy()\n/* */ {\n/* 49 */ ObjectNode ret = new ObjectNode(this._nodeFactory);\n/* */ \n/* 51 */ for (Map.Entry<String, JsonNode> entry : this._children.entrySet()) {\n/* 52 */ ret._children.put(entry.getKey(), ((JsonNode)entry.getValue()).deepCopy());\n/* */ }\n/* 54 */ return ret;\n/* */ }", "title": "" }, { "docid": "4c834a2e75b712f01eac812552acefd0", "score": "0.6225553", "text": "@Override\n public final JsonMultiPoint copy() {\n JsonMultiPoint result = new JsonMultiPoint();\n result.copyProperties(this);\n return result;\n }", "title": "" }, { "docid": "d21159018d1c8d2829f0b3b90101e31f", "score": "0.6136555", "text": "JsonValue shallowCopy() {\n JsonValue newKeyValue = new JsonValue(valueType);\n newKeyValue.objValue = objValue;\n newKeyValue.jsonValue = jsonValue;\n return newKeyValue;\n }", "title": "" }, { "docid": "8751df3f2f06d76fc2091ac22d68fab4", "score": "0.60913396", "text": "private JsonObject copyWithContext(JsonObject jsonObj, int context) {\n JsonObject copy = new JsonObject();\n for (Map.Entry<String, JsonElement> entry : jsonObj.entrySet()) {\n String field = entry.getKey();\n if (!field.equals(Utils.CHILDREN_PROP)) {\n copy.add(field, entry.getValue());\n }\n }\n copy.addProperty(CONTEXT_PROP, Integer.valueOf(context));\n return copy;\n }", "title": "" }, { "docid": "524806b32cdeca904f08eb67c83cb020", "score": "0.60583687", "text": "@Override\n public final void copyProperties(JsonMultiPoint other) {\n super.setSpatialReference(other.getSpatialReference());\n this.points = ArrayUtils.copy3(other.getPoints());\n }", "title": "" }, { "docid": "6cd7e9d4fc5cdf6efe56e6f613b1ad6b", "score": "0.60470897", "text": "@Test\r\n\tpublic void testRoundTrip() throws JSONObjectAdapterException{\n\t\tProduct sample = new Product();\r\n\t\tsample.setId(new Long(123));\r\n\t\tsample.setName(\"myName\");\r\n\t\tsample.setPrice(2.34);\r\n\t\tsample.setTags(Arrays.asList(new String[]{\"tag1\", \"tag2\"}));\r\n\t\t// Now make sure we can go to JSON and back\r\n\t\tString json = EntityFactory.createJSONStringForEntity(sample);\r\n\t\tassertNotNull(json);\r\n\t\tSystem.out.println(json);\r\n\t\t// Now make clone from the json\r\n\t\tProduct clone = EntityFactory.createEntityFromJSONString(json, Product.class);\r\n\t\tassertNotNull(clone);\r\n\t\t// The clone should match the new object\r\n\t\tassertEquals(sample, clone);\r\n\t}", "title": "" }, { "docid": "22deb3cf7b2b35d67fc9a903f8653abb", "score": "0.60165787", "text": "public <T> T clone(T resource) {\n // if full serialization seems too expensive, there is also\n //return (T) JSON_MAPPER.convertValue(resource, resource.getClass());\n try {\n return (T) mapper.readValue(\n mapper.writeValueAsString(resource), resource.getClass());\n } catch (JsonProcessingException e) {\n throw new IllegalStateException(e);\n }\n }", "title": "" }, { "docid": "b2ac94b84d9c8fdc357d75d2ba17f859", "score": "0.5886684", "text": "@Override\n public Object deepCopy(Object value) {\n\n return value;\n }", "title": "" }, { "docid": "aecc5003851cb12b7e68297c880116ae", "score": "0.5872251", "text": "Object clone();", "title": "" }, { "docid": "aecc5003851cb12b7e68297c880116ae", "score": "0.5872251", "text": "Object clone();", "title": "" }, { "docid": "5b14a485c4f52e840d26ecec12d4fdcc", "score": "0.58617914", "text": "protected abstract T deepClone( T _node ) throws Exception;", "title": "" }, { "docid": "ef792a0493bc8465c14948dca8084787", "score": "0.58001775", "text": "@Test\n public void testCloneGoodCase()\n {\n String jsonString = \"{\\\"deviceId\\\":\\\"XXX\\\",\\\"generationId\\\":\\\"generation1\\\",\\\"etag\\\":\\\"abcdefg\\\",\\\"connectionState\\\":\\\"Disconnected\\\",\\\"status\\\":\\\"enabled\\\",\\\"statusReason\\\":null,\\\"connectionStateUpdatedTime\\\":\\\"0001-01-01T00:00:00\\\",\\\"statusUpdatedTime\\\":\\\"0001-01-01T00:00:00\\\",\\\"lastActivityTime\\\":\\\"0001-01-01T00:00:00\\\",\\\"cloudToDeviceMessageCount\\\":0,\\\"authentication\\\":{\\\"symmetricKey\\\":{\\\"primaryKey\\\":\\\"Si1l8OZpfSdhTF5Cq5APrg3HThsRFhWciDS8alRsJmU=\\\",\\\"secondaryKey\\\":\\\"11BUdSwTcsDhiJoRMmQFF58qTaaq01CAVLroYq1GVAk=\\\"}}}\";\n Device device1 = Device.createFromJson(jsonString);\n\n Device device2 = Device.createFromId(\"YYY\");\n device2.clone(device1);\n \n assertEquals(device1.getId(), device2.getId());\n assertEquals(device1.getGenerationId(), device2.getGenerationId());\n assertEquals(device1.geteTag(), device2.geteTag());\n assertEquals(device1.getPrimaryKey(), device2.getPrimaryKey());\n assertEquals(device1.getSecondaryKey(), device2.getSecondaryKey());\n assertEquals(device1.getStatus(), device2.getStatus());\n assertEquals(device1.getStatusReason(), device2.getStatusReason());\n assertEquals(device1.getStatusUpdatedTime(), device2.getStatusUpdatedTime());\n assertEquals(device1.getConnectionState(), device2.getConnectionState());\n assertEquals(device1.getStatusUpdatedTime(), device1.getStatusUpdatedTime());\n assertEquals(device1.getConnectionStateUpdatedTime(), device1.getConnectionStateUpdatedTime());\n assertEquals(device1.getLastActivityTime(), device2.getLastActivityTime());\n assertEquals(device1.getCloudToDeviceMessageCount(), device2.getCloudToDeviceMessageCount());\n }", "title": "" }, { "docid": "00fa2634cb36e3ccbe8021b40306ba1f", "score": "0.5701412", "text": "public Json with(Json object) { throw new UnsupportedOperationException(); }", "title": "" }, { "docid": "40d76e1d66ef58b61be0f740457b3a42", "score": "0.5700717", "text": "public Object serialize(Json json);", "title": "" }, { "docid": "82c2e939e39f809179c4b6a2e78a1e60", "score": "0.5694717", "text": "private Object getJsonObj() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "fbd5928bc5c87974db3e206bc1b709f3", "score": "0.56921154", "text": "@Override\n public ThisNode deepCopy(BsjNodeFactory factory);", "title": "" }, { "docid": "d896c210417d598fcbacbc010e8c4921", "score": "0.56896734", "text": "@Nullable\n public static JSONObject JSONClone(JSONObject json)\n {\n try\n {\n return new JSONObject(json.toString());\n }\n catch (JSONException ex)\n {\n OopsService.log(LOGTAG, ex);\n }\n\n return null;\n }", "title": "" }, { "docid": "82f30b1dc6192734e205e12d450a4ecf", "score": "0.5674169", "text": "@Override\n public ClavaNode copy() {\n return copy(false);\n }", "title": "" }, { "docid": "64cc37671131531322a7e8734a35b645", "score": "0.56478626", "text": "@Override\r\n\tpublic String[] updateJsonProperties() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "ec76b3966643dbef4faed76f8ef2209e", "score": "0.5645611", "text": "private static Object deepCopy(final Object oldValue) throws IOException, ClassNotFoundException {\n\t\tSerializable newValue = null;\n\t\tByteArrayOutputStream bout = new ByteArrayOutputStream();\n\t\tObjectOutputStream oos = null;\n\t\tObjectInputStream ois = null;\n\t\ttry {\n\t\t\toos = new ObjectOutputStream(bout);\n\t\t\toos.writeObject(oldValue);\n\t\t\tByteArrayInputStream bin = new ByteArrayInputStream(bout.toByteArray());\n\t\t\tois = new ObjectInputStream(bin);\n\t\t\tnewValue = (Serializable) ois.readObject();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif (oos != null) {\n\t\t\t\t\toos.close();\n\t\t\t\t}\n\t\t\t\tif (ois != null) {\n\t\t\t\t\tois.close();\n\t\t\t\t}\n\t\t\t} catch (Exception e) {\n\t\t\t\tLOG.error(\"Error closing Stream\");\n\t\t\t}\n\t\t}\n\t\treturn newValue;\n\t}", "title": "" }, { "docid": "e1953f8b2c5162d72660f932467e3f72", "score": "0.56373525", "text": "public CopySafe copy();", "title": "" }, { "docid": "405aa3f13990ad45c4bde2b8033eabe6", "score": "0.5625918", "text": "public Item(Item src) {\n if (src.jsonObject != null) {\n this.jsonObject = com.clover.sdk.v3.JsonHelper.deepCopy(src.getJSONObject());\n }\n }", "title": "" }, { "docid": "4e0287134d5ced3041c5b7f010555963", "score": "0.5613678", "text": "@Override\n\tprotected void fillJson(JSONObject json) {\n\t}", "title": "" }, { "docid": "bcff294f96a8a7544a8d8c7981fdafa7", "score": "0.56093633", "text": "public RestObject materialize(RestObject oldObject);", "title": "" }, { "docid": "52582253baa339b9260fd87e594313a5", "score": "0.55916387", "text": "JsonNode asJson();", "title": "" }, { "docid": "840be392454d4dad6f0d631ff7aa1372", "score": "0.5589053", "text": "void mo105065a(JSONObject jSONObject);", "title": "" }, { "docid": "b08590bce3850a7fc294f75b823cfcc0", "score": "0.5576806", "text": "private void separateFromOriginal() {\n if (isCloned) {\n final SetlHashMap<Value> members = new SetlHashMap<Value>();\n for (final Entry<String, Value> entry: this.members.entrySet()) {\n members.put(entry.getKey(), entry.getValue().clone());\n }\n this.members = members;\n this.isCloned = false;\n }\n }", "title": "" }, { "docid": "3ae912cbbcacbf9090771803015b3446", "score": "0.55651337", "text": "@Override\n protected ClavaNode copyPrivate() {\n // return newInstance(getClass(), Collections.emptyList());\n return copyPrivate(false);\n }", "title": "" }, { "docid": "3688a38ea4815ee6487e9e7ea67e33e6", "score": "0.55629355", "text": "JSONObject castToJsonObject ();", "title": "" }, { "docid": "1dddca02003e6c9d7e9bc758c30d7913", "score": "0.55625784", "text": "@Override\n public synchronized void doCopy() {\n super.doCopy();\n }", "title": "" }, { "docid": "800640e15474878e3dfe2ba471e89d14", "score": "0.55609244", "text": "public abstract void copy();", "title": "" }, { "docid": "e96e2c4ec73147bec0492dc384af7d6f", "score": "0.55594546", "text": "public void DataBack(String json);", "title": "" }, { "docid": "f1e42c4173fa528f99f1a60bc18df8ad", "score": "0.5530051", "text": "private void decodeJson()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "394fe39c04098a6595521dab61fc9b35", "score": "0.552851", "text": "zzdmu(android.util.JsonReader r74) {\n /*\n r73 = this;\n r0 = r73\n r73.<init>()\n java.util.List r1 = java.util.Collections.emptyList()\n java.util.List r2 = java.util.Collections.emptyList()\n java.util.List r3 = java.util.Collections.emptyList()\n java.util.List r4 = java.util.Collections.emptyList()\n java.util.List r5 = java.util.Collections.emptyList()\n java.util.Collections.emptyList()\n java.util.List r6 = java.util.Collections.emptyList()\n java.util.List r7 = java.util.Collections.emptyList()\n java.util.List r8 = java.util.Collections.emptyList()\n java.util.List r9 = java.util.Collections.emptyList()\n java.util.List r10 = java.util.Collections.emptyList()\n java.util.List r11 = java.util.Collections.emptyList()\n java.util.List r12 = java.util.Collections.emptyList()\n java.util.List r13 = java.util.Collections.emptyList()\n org.json.JSONObject r14 = new org.json.JSONObject\n r14.<init>()\n org.json.JSONObject r15 = new org.json.JSONObject\n r15.<init>()\n org.json.JSONObject r16 = new org.json.JSONObject\n r16.<init>()\n org.json.JSONObject r17 = new org.json.JSONObject\n r17.<init>()\n org.json.JSONObject r18 = new org.json.JSONObject\n r18.<init>()\n org.json.JSONObject r19 = new org.json.JSONObject\n r19.<init>()\n r74.beginObject()\n r20 = r1\n r21 = -1\n r22 = 0\n java.lang.String r1 = \"\"\n r23 = r2\n r32 = r1\n r33 = r32\n r37 = r33\n r38 = r37\n r39 = r38\n r40 = r39\n r42 = r40\n r53 = r42\n r58 = r53\n r60 = r58\n r65 = r60\n r67 = r65\n r24 = r14\n r25 = r15\n r26 = r16\n r27 = r17\n r28 = r18\n r29 = r19\n r34 = r22\n r36 = r34\n r41 = r36\n r62 = r41\n r64 = r62\n r69 = r64\n r30 = 0\n r31 = 0\n r35 = 0\n r43 = 0\n r44 = 0\n r45 = 0\n r46 = 0\n r47 = 0\n r48 = 0\n r49 = 0\n r50 = -1\n r51 = 0\n r52 = 0\n r54 = 0\n r55 = 0\n r56 = 0\n r57 = 0\n r59 = -1\n r61 = 0\n r63 = 1\n r66 = 0\n r68 = 0\n r14 = r12\n r15 = r13\n r12 = r10\n r13 = r11\n r10 = r8\n r11 = r9\n r8 = r6\n r9 = r7\n r6 = r4\n r7 = r5\n r4 = r23\n r5 = r3\n r3 = r20\n L_0x00d2:\n boolean r16 = r74.hasNext()\n if (r16 == 0) goto L_0x0759\n java.lang.String r16 = r74.nextName()\n if (r16 != 0) goto L_0x00e1\n r17 = r1\n goto L_0x00e3\n L_0x00e1:\n r17 = r16\n L_0x00e3:\n r17.hashCode()\n int r16 = r17.hashCode()\n r18 = 7\n r19 = 5\n r20 = 4\n r23 = 3\n r70 = 2\n r71 = 6\n switch(r16) {\n case -1980587809: goto L_0x0513;\n case -1965512151: goto L_0x0504;\n case -1812055556: goto L_0x04f5;\n case -1662989631: goto L_0x04e6;\n case -1620470467: goto L_0x04d7;\n case -1440104884: goto L_0x04c8;\n case -1439500848: goto L_0x04b7;\n case -1428969291: goto L_0x04a6;\n case -1403779768: goto L_0x0494;\n case -1375413093: goto L_0x0482;\n case -1360811658: goto L_0x0470;\n case -1306015996: goto L_0x045e;\n case -1303332046: goto L_0x044c;\n case -1289032093: goto L_0x043a;\n case -1240082064: goto L_0x0428;\n case -1234181075: goto L_0x0416;\n case -1181000426: goto L_0x0404;\n case -1168140544: goto L_0x03f2;\n case -1152230954: goto L_0x03e0;\n case -1146534047: goto L_0x03ce;\n case -1115838944: goto L_0x03bc;\n case -1081936678: goto L_0x03aa;\n case -1078050970: goto L_0x0398;\n case -1051269058: goto L_0x0386;\n case -982608540: goto L_0x0374;\n case -776859333: goto L_0x0362;\n case -544216775: goto L_0x0350;\n case -437057161: goto L_0x033e;\n case -404433734: goto L_0x032c;\n case -404326515: goto L_0x031a;\n case -397704715: goto L_0x0308;\n case -388807511: goto L_0x02f6;\n case -369773488: goto L_0x02e4;\n case -213424028: goto L_0x02d2;\n case -154616268: goto L_0x02c0;\n case -29338502: goto L_0x02ae;\n case 3107: goto L_0x029c;\n case 3355: goto L_0x028a;\n case 3076010: goto L_0x0278;\n case 63195984: goto L_0x0266;\n case 107433883: goto L_0x0254;\n case 230323073: goto L_0x0242;\n case 418392395: goto L_0x0230;\n case 549176928: goto L_0x021e;\n case 597473788: goto L_0x020c;\n case 673261304: goto L_0x01fa;\n case 754887508: goto L_0x01e8;\n case 791122864: goto L_0x01d6;\n case 1010584092: goto L_0x01c4;\n case 1100650276: goto L_0x01b2;\n case 1321720943: goto L_0x01a0;\n case 1637553475: goto L_0x018e;\n case 1638957285: goto L_0x017c;\n case 1686319423: goto L_0x016a;\n case 1688341040: goto L_0x0158;\n case 1799285870: goto L_0x0146;\n case 1839650832: goto L_0x0134;\n case 1875425491: goto L_0x0122;\n case 2068142375: goto L_0x0110;\n case 2072888499: goto L_0x00fe;\n default: goto L_0x00f9;\n }\n L_0x00f9:\n r72 = r15\n L_0x00fb:\n r2 = -1\n goto L_0x0522\n L_0x00fe:\n java.lang.String r2 = \"manual_tracking_urls\"\n r72 = r15\n r15 = r17\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x010c\n goto L_0x051f\n L_0x010c:\n r2 = 59\n goto L_0x0522\n L_0x0110:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"rule_line_external_id\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x011e\n goto L_0x051f\n L_0x011e:\n r2 = 58\n goto L_0x0522\n L_0x0122:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"is_analytics_logging_enabled\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x0130\n goto L_0x051f\n L_0x0130:\n r2 = 57\n goto L_0x0522\n L_0x0134:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"renderers\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x0142\n goto L_0x051f\n L_0x0142:\n r2 = 56\n goto L_0x0522\n L_0x0146:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"use_third_party_container_height\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x0154\n goto L_0x051f\n L_0x0154:\n r2 = 55\n goto L_0x0522\n L_0x0158:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"video_reward_urls\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x0166\n goto L_0x051f\n L_0x0166:\n r2 = 54\n goto L_0x0522\n L_0x016a:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"ad_network_class_name\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x0178\n goto L_0x051f\n L_0x0178:\n r2 = 53\n goto L_0x0522\n L_0x017c:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"video_start_urls\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x018a\n goto L_0x051f\n L_0x018a:\n r2 = 52\n goto L_0x0522\n L_0x018e:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"bid_response\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x019c\n goto L_0x051f\n L_0x019c:\n r2 = 51\n goto L_0x0522\n L_0x01a0:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"allow_pub_owned_ad_view\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x01ae\n goto L_0x051f\n L_0x01ae:\n r2 = 50\n goto L_0x0522\n L_0x01b2:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"rewards\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x01c0\n goto L_0x051f\n L_0x01c0:\n r2 = 49\n goto L_0x0522\n L_0x01c4:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"transaction_id\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x01d2\n goto L_0x051f\n L_0x01d2:\n r2 = 48\n goto L_0x0522\n L_0x01d6:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"impression_type\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x01e4\n goto L_0x051f\n L_0x01e4:\n r2 = 47\n goto L_0x0522\n L_0x01e8:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"container_sizes\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x01f6\n goto L_0x051f\n L_0x01f6:\n r2 = 46\n goto L_0x0522\n L_0x01fa:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"reward_granted_urls\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x0208\n goto L_0x051f\n L_0x0208:\n r2 = 45\n goto L_0x0522\n L_0x020c:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"debug_dialog_string\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x021a\n goto L_0x051f\n L_0x021a:\n r2 = 44\n goto L_0x0522\n L_0x021e:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"presentation_error_timeout_ms\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x022c\n goto L_0x051f\n L_0x022c:\n r2 = 43\n goto L_0x0522\n L_0x0230:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"is_closable_area_disabled\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x023e\n goto L_0x051f\n L_0x023e:\n r2 = 42\n goto L_0x0522\n L_0x0242:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"ad_load_urls\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x0250\n goto L_0x051f\n L_0x0250:\n r2 = 41\n goto L_0x0522\n L_0x0254:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"qdata\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x0262\n goto L_0x051f\n L_0x0262:\n r2 = 40\n goto L_0x0522\n L_0x0266:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"render_test_label\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x0274\n goto L_0x051f\n L_0x0274:\n r2 = 39\n goto L_0x0522\n L_0x0278:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"data\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x0286\n goto L_0x051f\n L_0x0286:\n r2 = 38\n goto L_0x0522\n L_0x028a:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"id\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x0298\n goto L_0x051f\n L_0x0298:\n r2 = 37\n goto L_0x0522\n L_0x029c:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"ad\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x02aa\n goto L_0x051f\n L_0x02aa:\n r2 = 36\n goto L_0x0522\n L_0x02ae:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"allow_custom_click_gesture\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x02bc\n goto L_0x051f\n L_0x02bc:\n r2 = 35\n goto L_0x0522\n L_0x02c0:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"is_offline_ad\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x02ce\n goto L_0x051f\n L_0x02ce:\n r2 = 34\n goto L_0x0522\n L_0x02d2:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"watermark\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x02e0\n goto L_0x051f\n L_0x02e0:\n r2 = 33\n goto L_0x0522\n L_0x02e4:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"is_close_button_enabled\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x02f2\n goto L_0x051f\n L_0x02f2:\n r2 = 32\n goto L_0x0522\n L_0x02f6:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"content_url\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x0304\n goto L_0x051f\n L_0x0304:\n r2 = 31\n goto L_0x0522\n L_0x0308:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"ad_close_time_ms\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x0316\n goto L_0x051f\n L_0x0316:\n r2 = 30\n goto L_0x0522\n L_0x031a:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"render_timeout_ms\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x0328\n goto L_0x051f\n L_0x0328:\n r2 = 29\n goto L_0x0522\n L_0x032c:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"rtb_native_required_assets\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x033a\n goto L_0x051f\n L_0x033a:\n r2 = 28\n goto L_0x0522\n L_0x033e:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"imp_urls\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x034c\n goto L_0x051f\n L_0x034c:\n r2 = 27\n goto L_0x0522\n L_0x0350:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"safe_browsing\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x035e\n goto L_0x051f\n L_0x035e:\n r2 = 26\n goto L_0x0522\n L_0x0362:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"click_urls\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x0370\n goto L_0x051f\n L_0x0370:\n r2 = 25\n goto L_0x0522\n L_0x0374:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"valid_from_timestamp\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x0382\n goto L_0x051f\n L_0x0382:\n r2 = 24\n goto L_0x0522\n L_0x0386:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"active_view\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x0394\n goto L_0x051f\n L_0x0394:\n r2 = 23\n goto L_0x0522\n L_0x0398:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"video_complete_urls\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x03a6\n goto L_0x051f\n L_0x03a6:\n r2 = 22\n goto L_0x0522\n L_0x03aa:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"allocation_id\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x03b8\n goto L_0x051f\n L_0x03b8:\n r2 = 21\n goto L_0x0522\n L_0x03bc:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"fill_urls\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x03ca\n goto L_0x051f\n L_0x03ca:\n r2 = 20\n goto L_0x0522\n L_0x03ce:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"is_scroll_aware\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x03dc\n goto L_0x051f\n L_0x03dc:\n r2 = 19\n goto L_0x0522\n L_0x03e0:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"ad_type\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x03ee\n goto L_0x051f\n L_0x03ee:\n r2 = 18\n goto L_0x0522\n L_0x03f2:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"presentation_error_urls\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x0400\n goto L_0x051f\n L_0x0400:\n r2 = 17\n goto L_0x0522\n L_0x0404:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"is_augmented_reality_ad\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x0412\n goto L_0x051f\n L_0x0412:\n r2 = 16\n goto L_0x0522\n L_0x0416:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"allow_pub_rendered_attribution\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x0424\n goto L_0x051f\n L_0x0424:\n r2 = 15\n goto L_0x0522\n L_0x0428:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"ad_event_value\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x0436\n goto L_0x051f\n L_0x0436:\n r2 = 14\n goto L_0x0522\n L_0x043a:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"extras\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x0448\n goto L_0x051f\n L_0x0448:\n r2 = 13\n goto L_0x0522\n L_0x044c:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"test_mode_enabled\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x045a\n goto L_0x051f\n L_0x045a:\n r2 = 12\n goto L_0x0522\n L_0x045e:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"adapters\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x046c\n goto L_0x051f\n L_0x046c:\n r2 = 11\n goto L_0x0522\n L_0x0470:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"ad_sizes\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x047e\n goto L_0x051f\n L_0x047e:\n r2 = 10\n goto L_0x0522\n L_0x0482:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"ad_cover\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x0490\n goto L_0x051f\n L_0x0490:\n r2 = 9\n goto L_0x0522\n L_0x0494:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"showable_impression_type\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x04a2\n goto L_0x051f\n L_0x04a2:\n r2 = 8\n goto L_0x0522\n L_0x04a6:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"enable_omid\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x04b4\n goto L_0x051f\n L_0x04b4:\n r2 = 7\n goto L_0x0522\n L_0x04b7:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"orientation\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x04c5\n goto L_0x051f\n L_0x04c5:\n r2 = 6\n goto L_0x0522\n L_0x04c8:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"is_custom_close_blocked\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x04d5\n goto L_0x051f\n L_0x04d5:\n r2 = 5\n goto L_0x0522\n L_0x04d7:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"backend_query_id\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x04e4\n goto L_0x051f\n L_0x04e4:\n r2 = 4\n goto L_0x0522\n L_0x04e6:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"is_interscroller\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x04f3\n goto L_0x051f\n L_0x04f3:\n r2 = 3\n goto L_0x0522\n L_0x04f5:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"play_prewarm_options\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x0502\n goto L_0x051f\n L_0x0502:\n r2 = 2\n goto L_0x0522\n L_0x0504:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"omid_settings\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x0511\n goto L_0x051f\n L_0x0511:\n r2 = 1\n goto L_0x0522\n L_0x0513:\n r72 = r15\n r15 = r17\n java.lang.String r2 = \"debug_signals\"\n boolean r2 = r15.equals(r2)\n if (r2 != 0) goto L_0x0521\n L_0x051f:\n goto L_0x00fb\n L_0x0521:\n r2 = 0\n L_0x0522:\n switch(r2) {\n case 0: goto L_0x0751;\n case 1: goto L_0x0749;\n case 2: goto L_0x0724;\n case 3: goto L_0x071e;\n case 4: goto L_0x0718;\n case 5: goto L_0x0712;\n case 6: goto L_0x06ec;\n case 7: goto L_0x06e6;\n case 8: goto L_0x06e0;\n case 9: goto L_0x06da;\n case 10: goto L_0x06d4;\n case 11: goto L_0x06ce;\n case 12: goto L_0x06c8;\n case 13: goto L_0x06c2;\n case 14: goto L_0x06b8;\n case 15: goto L_0x06b2;\n case 16: goto L_0x06ac;\n case 17: goto L_0x06a6;\n case 18: goto L_0x0654;\n case 19: goto L_0x064c;\n case 20: goto L_0x0644;\n case 21: goto L_0x063c;\n case 22: goto L_0x0634;\n case 23: goto L_0x0628;\n case 24: goto L_0x0620;\n case 25: goto L_0x0618;\n case 26: goto L_0x060c;\n case 27: goto L_0x0604;\n case 28: goto L_0x05fc;\n case 29: goto L_0x05f4;\n case 30: goto L_0x05ec;\n case 31: goto L_0x05e4;\n case 32: goto L_0x05dc;\n case 33: goto L_0x05d4;\n case 34: goto L_0x05cc;\n case 35: goto L_0x05c4;\n case 36: goto L_0x05b8;\n case 37: goto L_0x05b2;\n case 38: goto L_0x05ac;\n case 39: goto L_0x05a6;\n case 40: goto L_0x05a0;\n case 41: goto L_0x059a;\n case 42: goto L_0x0594;\n case 43: goto L_0x058e;\n case 44: goto L_0x0588;\n case 45: goto L_0x0583;\n case 46: goto L_0x057d;\n case 47: goto L_0x056d;\n case 48: goto L_0x0568;\n case 49: goto L_0x055f;\n case 50: goto L_0x055a;\n case 51: goto L_0x0555;\n case 52: goto L_0x0550;\n case 53: goto L_0x054b;\n case 54: goto L_0x0546;\n case 55: goto L_0x0541;\n case 56: goto L_0x0539;\n case 57: goto L_0x0534;\n case 58: goto L_0x052f;\n case 59: goto L_0x052a;\n default: goto L_0x0525;\n }\n L_0x0525:\n r74.skipValue()\n r15 = 1\n goto L_0x053d\n L_0x052a:\n java.util.List r12 = com.google.android.gms.ads.internal.util.zzbk.zza((android.util.JsonReader) r74)\n goto L_0x053d\n L_0x052f:\n java.lang.String r65 = r74.nextString()\n goto L_0x053d\n L_0x0534:\n boolean r54 = r74.nextBoolean()\n goto L_0x053d\n L_0x0539:\n java.util.List r3 = com.google.android.gms.ads.internal.util.zzbk.zza((android.util.JsonReader) r74)\n L_0x053d:\n r15 = r72\n goto L_0x00d2\n L_0x0541:\n boolean r61 = r74.nextBoolean()\n goto L_0x053d\n L_0x0546:\n java.util.List r8 = com.google.android.gms.ads.internal.util.zzbk.zza((android.util.JsonReader) r74)\n goto L_0x053d\n L_0x054b:\n java.lang.String r67 = r74.nextString()\n goto L_0x053d\n L_0x0550:\n java.util.List r7 = com.google.android.gms.ads.internal.util.zzbk.zza((android.util.JsonReader) r74)\n goto L_0x053d\n L_0x0555:\n java.lang.String r53 = r74.nextString()\n goto L_0x053d\n L_0x055a:\n boolean r44 = r74.nextBoolean()\n goto L_0x053d\n L_0x055f:\n org.json.JSONArray r2 = com.google.android.gms.ads.internal.util.zzbk.zzd(r74)\n com.google.android.gms.internal.ads.zzava r34 = com.google.android.gms.internal.ads.zzava.zza(r2)\n goto L_0x053d\n L_0x0568:\n java.lang.String r32 = r74.nextString()\n goto L_0x053d\n L_0x056d:\n int r2 = r74.nextInt()\n r15 = 1\n if (r2 == 0) goto L_0x057a\n if (r2 != r15) goto L_0x0577\n goto L_0x057a\n L_0x0577:\n r31 = 0\n goto L_0x053d\n L_0x057a:\n r31 = r2\n goto L_0x053d\n L_0x057d:\n r15 = 1\n java.util.List r13 = com.google.android.gms.internal.ads.zzdmx.m8424a(r74)\n goto L_0x053d\n L_0x0583:\n r15 = 1\n com.google.android.gms.ads.internal.util.zzbk.zza((android.util.JsonReader) r74)\n goto L_0x053d\n L_0x0588:\n r15 = 1\n java.lang.String r42 = r74.nextString()\n goto L_0x053d\n L_0x058e:\n r15 = 1\n int r35 = r74.nextInt()\n goto L_0x053d\n L_0x0594:\n r15 = 1\n boolean r49 = r74.nextBoolean()\n goto L_0x053d\n L_0x059a:\n r15 = 1\n java.util.List r6 = com.google.android.gms.ads.internal.util.zzbk.zza((android.util.JsonReader) r74)\n goto L_0x053d\n L_0x05a0:\n r15 = 1\n java.lang.String r39 = r74.nextString()\n goto L_0x053d\n L_0x05a6:\n r15 = 1\n boolean r46 = r74.nextBoolean()\n goto L_0x053d\n L_0x05ac:\n r15 = 1\n org.json.JSONObject r24 = com.google.android.gms.ads.internal.util.zzbk.zzc(r74)\n goto L_0x053d\n L_0x05b2:\n r15 = 1\n java.lang.String r38 = r74.nextString()\n goto L_0x053d\n L_0x05b8:\n r15 = 1\n com.google.android.gms.internal.ads.zzdnb r2 = new com.google.android.gms.internal.ads.zzdnb\n r15 = r74\n r2.<init>(r15)\n r36 = r2\n goto L_0x053d\n L_0x05c4:\n r15 = r74\n boolean r45 = r74.nextBoolean()\n goto L_0x053d\n L_0x05cc:\n r15 = r74\n boolean r68 = r74.nextBoolean()\n goto L_0x053d\n L_0x05d4:\n r15 = r74\n java.lang.String r58 = r74.nextString()\n goto L_0x053d\n L_0x05dc:\n r15 = r74\n boolean r63 = r74.nextBoolean()\n goto L_0x053d\n L_0x05e4:\n r15 = r74\n java.lang.String r69 = r74.nextString()\n goto L_0x053d\n L_0x05ec:\n r15 = r74\n int r59 = r74.nextInt()\n goto L_0x053d\n L_0x05f4:\n r15 = r74\n int r51 = r74.nextInt()\n goto L_0x053d\n L_0x05fc:\n r15 = r74\n org.json.JSONObject r29 = com.google.android.gms.ads.internal.util.zzbk.zzc(r74)\n goto L_0x053d\n L_0x0604:\n r15 = r74\n java.util.List r5 = com.google.android.gms.ads.internal.util.zzbk.zza((android.util.JsonReader) r74)\n goto L_0x053d\n L_0x060c:\n r15 = r74\n org.json.JSONObject r2 = com.google.android.gms.ads.internal.util.zzbk.zzc(r74)\n com.google.android.gms.internal.ads.zzawp r41 = com.google.android.gms.internal.ads.zzawp.zzg(r2)\n goto L_0x053d\n L_0x0618:\n r15 = r74\n java.util.List r4 = com.google.android.gms.ads.internal.util.zzbk.zza((android.util.JsonReader) r74)\n goto L_0x053d\n L_0x0620:\n r15 = r74\n java.lang.String r33 = r74.nextString()\n goto L_0x053d\n L_0x0628:\n r15 = r74\n org.json.JSONObject r2 = com.google.android.gms.ads.internal.util.zzbk.zzc(r74)\n java.lang.String r40 = r2.toString()\n goto L_0x053d\n L_0x0634:\n r15 = r74\n java.util.List r9 = com.google.android.gms.ads.internal.util.zzbk.zza((android.util.JsonReader) r74)\n goto L_0x053d\n L_0x063c:\n r15 = r74\n java.lang.String r37 = r74.nextString()\n goto L_0x053d\n L_0x0644:\n r15 = r74\n java.util.List r10 = com.google.android.gms.ads.internal.util.zzbk.zza((android.util.JsonReader) r74)\n goto L_0x053d\n L_0x064c:\n r15 = r74\n boolean r55 = r74.nextBoolean()\n goto L_0x053d\n L_0x0654:\n r15 = r74\n java.lang.String r2 = r74.nextString()\n java.lang.String r15 = \"banner\"\n boolean r15 = r15.equals(r2)\n if (r15 == 0) goto L_0x0666\n r30 = 1\n goto L_0x053d\n L_0x0666:\n java.lang.String r15 = \"interstitial\"\n boolean r15 = r15.equals(r2)\n if (r15 == 0) goto L_0x0672\n r30 = 2\n goto L_0x053d\n L_0x0672:\n java.lang.String r15 = \"native_express\"\n boolean r15 = r15.equals(r2)\n if (r15 == 0) goto L_0x067e\n r30 = 3\n goto L_0x053d\n L_0x067e:\n java.lang.String r15 = \"native\"\n boolean r15 = r15.equals(r2)\n if (r15 == 0) goto L_0x068a\n r30 = 4\n goto L_0x053d\n L_0x068a:\n java.lang.String r15 = \"rewarded\"\n boolean r15 = r15.equals(r2)\n if (r15 == 0) goto L_0x0696\n r30 = 5\n goto L_0x053d\n L_0x0696:\n java.lang.String r15 = \"app_open_ad\"\n boolean r2 = r15.equals(r2)\n if (r2 == 0) goto L_0x06a2\n r30 = 6\n goto L_0x053d\n L_0x06a2:\n r30 = 0\n goto L_0x053d\n L_0x06a6:\n java.util.List r11 = com.google.android.gms.ads.internal.util.zzbk.zza((android.util.JsonReader) r74)\n goto L_0x053d\n L_0x06ac:\n boolean r57 = r74.nextBoolean()\n goto L_0x053d\n L_0x06b2:\n boolean r43 = r74.nextBoolean()\n goto L_0x053d\n L_0x06b8:\n org.json.JSONObject r2 = com.google.android.gms.ads.internal.util.zzbk.zzc(r74)\n com.google.android.gms.internal.ads.zzvp r64 = com.google.android.gms.internal.ads.zzvp.zza(r2)\n goto L_0x053d\n L_0x06c2:\n org.json.JSONObject r26 = com.google.android.gms.ads.internal.util.zzbk.zzc(r74)\n goto L_0x053d\n L_0x06c8:\n boolean r47 = r74.nextBoolean()\n goto L_0x053d\n L_0x06ce:\n java.util.List r14 = com.google.android.gms.ads.internal.util.zzbk.zza((android.util.JsonReader) r74)\n goto L_0x053d\n L_0x06d4:\n java.util.List r15 = com.google.android.gms.internal.ads.zzdmx.m8424a(r74)\n goto L_0x00d2\n L_0x06da:\n org.json.JSONObject r28 = com.google.android.gms.ads.internal.util.zzbk.zzc(r74)\n goto L_0x053d\n L_0x06e0:\n int r56 = r74.nextInt()\n goto L_0x053d\n L_0x06e6:\n boolean r52 = r74.nextBoolean()\n goto L_0x053d\n L_0x06ec:\n java.lang.String r2 = r74.nextString()\n java.lang.String r15 = \"landscape\"\n boolean r15 = r15.equalsIgnoreCase(r2)\n if (r15 == 0) goto L_0x06ff\n com.google.android.gms.ads.internal.zzp.zzks()\n r50 = 6\n goto L_0x053d\n L_0x06ff:\n java.lang.String r15 = \"portrait\"\n boolean r2 = r15.equalsIgnoreCase(r2)\n if (r2 == 0) goto L_0x070e\n com.google.android.gms.ads.internal.zzp.zzks()\n r50 = 7\n goto L_0x053d\n L_0x070e:\n r50 = -1\n goto L_0x053d\n L_0x0712:\n boolean r48 = r74.nextBoolean()\n goto L_0x053d\n L_0x0718:\n java.lang.String r60 = r74.nextString()\n goto L_0x053d\n L_0x071e:\n boolean r66 = r74.nextBoolean()\n goto L_0x053d\n L_0x0724:\n org.json.JSONObject r2 = com.google.android.gms.ads.internal.util.zzbk.zzc(r74)\n if (r2 != 0) goto L_0x072f\n r17 = r14\n r62 = r22\n goto L_0x0745\n L_0x072f:\n java.lang.String r15 = \"enable_prewarming\"\n r17 = r14\n r14 = 0\n boolean r15 = r2.optBoolean(r15, r14)\n java.lang.String r14 = \"prefetch_url\"\n java.lang.String r2 = r2.optString(r14, r1)\n com.google.android.gms.internal.ads.zzaro r14 = new com.google.android.gms.internal.ads.zzaro\n r14.<init>(r15, r2)\n r62 = r14\n L_0x0745:\n r14 = r17\n goto L_0x053d\n L_0x0749:\n r17 = r14\n org.json.JSONObject r27 = com.google.android.gms.ads.internal.util.zzbk.zzc(r74)\n goto L_0x053d\n L_0x0751:\n r17 = r14\n org.json.JSONObject r25 = com.google.android.gms.ads.internal.util.zzbk.zzc(r74)\n goto L_0x053d\n L_0x0759:\n r17 = r14\n r72 = r15\n r74.endObject()\n r0.zzhgo = r3\n r2 = r30\n r0.zzhgp = r2\n r0.zzdls = r4\n r0.zzdlt = r5\n r0.zzhgr = r6\n r2 = r31\n r0.zzhgq = r2\n r0.zzdvc = r7\n r0.zzdvd = r8\n r0.zzhgs = r9\n r1 = r32\n r0.zzdli = r1\n r1 = r33\n r0.zzdlj = r1\n r1 = r34\n r0.zzdvb = r1\n r0.zzhgt = r10\n r0.zzhgu = r11\n r0.zzdup = r12\n r2 = r35\n r0.zzhgv = r2\n r0.zzhgw = r13\n r2 = r36\n r0.zzhgx = r2\n r0.zzhgy = r14\n r0.zzhgz = r15\n r1 = r37\n r0.zzdkx = r1\n r14 = r24\n r0.zzhha = r14\n r1 = r38\n r0.f15787id = r1\n r1 = r39\n r0.zzdly = r1\n r1 = r40\n r0.zzduv = r1\n r1 = r41\n r0.zzhhb = r1\n r1 = r42\n r0.zzdus = r1\n r15 = r25\n r0.zzhhc = r15\n r1 = r26\n r0.zzhhd = r1\n r2 = r43\n r0.zzdmf = r2\n r2 = r44\n r0.zzdmg = r2\n r2 = r45\n r0.zzdmh = r2\n r2 = r46\n r0.zzdxi = r2\n r2 = r47\n r0.zzhhf = r2\n r2 = r48\n r0.zzfsc = r2\n r2 = r49\n r0.zzbpc = r2\n r1 = r50\n r0.zzhhg = r1\n r2 = r51\n r0.zzhhh = r2\n r2 = r52\n r0.zzdvl = r2\n r1 = r53\n r0.zzetp = r1\n com.google.android.gms.ads.nonagon.transaction.omid.OmidSettings r1 = new com.google.android.gms.ads.nonagon.transaction.omid.OmidSettings\n r2 = r27\n r1.<init>(r2)\n r0.zzhhi = r1\n r2 = r54\n r0.zzdvo = r2\n r2 = r55\n r0.zzdvp = r2\n r2 = r56\n r0.zzhhj = r2\n r2 = r57\n r0.zzerh = r2\n r1 = r58\n r0.zzdnt = r1\n r1 = r59\n r0.zzfsa = r1\n r1 = r60\n r0.zzfxo = r1\n r2 = r61\n r0.zzhhk = r2\n r1 = r62\n r0.zzhhl = r1\n r1 = r63\n r0.zzfsb = r1\n r1 = r64\n r0.zzhhm = r1\n r1 = r65\n r0.zzhhn = r1\n r2 = r66\n r0.zzhho = r2\n r1 = r28\n r0.zzhhp = r1\n r1 = r67\n r0.zzhhe = r1\n r2 = r68\n r0.zzhhq = r2\n r1 = r29\n r0.zzhhr = r1\n r1 = r69\n r0.zzche = r1\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.ads.zzdmu.<init>(android.util.JsonReader):void\");\n }", "title": "" }, { "docid": "a12feed813452ec049003a4285c7abc6", "score": "0.55284107", "text": "private void m15412a(JSONObject jSONObject) {\n be beVar = new be(jSONObject);\n bc.f19434b = beVar.f19439a;\n bc.f19435c = beVar.f19440b;\n bc.f19436d = beVar.f19441c;\n }", "title": "" }, { "docid": "87b34a1e89da9d1be8158bb915702601", "score": "0.55066305", "text": "private JsonObject json() {\n try (JsonReader reader = Json.createReader(new ByteArrayInputStream(this.source))) {\n return reader.readObject();\n }\n }", "title": "" }, { "docid": "639cd7d614d6d82191ec2f90700a3328", "score": "0.5494891", "text": "@Override\n public Object clone(){\n return new Person(\n names.clone(),\n (Address) address.clone()); // incorrect - both names and address are references\n }", "title": "" }, { "docid": "e72d6745bad98b041cc9efe1aab71c04", "score": "0.5484472", "text": "public Object clone();", "title": "" }, { "docid": "e72d6745bad98b041cc9efe1aab71c04", "score": "0.5484472", "text": "public Object clone();", "title": "" }, { "docid": "e72d6745bad98b041cc9efe1aab71c04", "score": "0.5484472", "text": "public Object clone();", "title": "" }, { "docid": "e72d6745bad98b041cc9efe1aab71c04", "score": "0.5484472", "text": "public Object clone();", "title": "" }, { "docid": "06b749b1cfd2bf68a149f2d7845edc72", "score": "0.5482865", "text": "public static Json object()\t{ return factory().object();\t}", "title": "" }, { "docid": "fdd54bd759441cf8088c6954819bddc7", "score": "0.54758024", "text": "private JSONObject mergeObjects(JSONObject base, JSONObject merge) throws JSONException {\r\n // Clone the initial object (JSONObject doesn't support \"clone\").\r\n\r\n JSONObject clone = new JSONObject(base, JSONObject.getNames(base));\r\n // Walk parameter list for the merged object and merge recursively.\r\n String[] fields = JSONObject.getNames(merge);\r\n for (String field : fields) {\r\n Object existing = clone.opt(field);\r\n Object update = merge.get(field);\r\n if (JSONObject.NULL.equals(existing) || JSONObject.NULL.equals(update)) {\r\n // It's new custom config, not referenced in the prototype, or\r\n // it's removing a pre-configured value.\r\n clone.put(field, update);\r\n } else {\r\n // Merge if object type is JSONObject.\r\n if (update instanceof JSONObject && existing instanceof JSONObject) {\r\n clone.put(field, mergeObjects((JSONObject) existing, (JSONObject) update));\r\n } else {\r\n // Otherwise we just overwrite it.\r\n clone.put(field, update);\r\n }\r\n }\r\n }\r\n return clone;\r\n }", "title": "" }, { "docid": "7f4fe93d5d51083c5614f92a608e81a2", "score": "0.547464", "text": "String shadowAsJsonString();", "title": "" }, { "docid": "1cf1d0661ffc7c43dea5377823746182", "score": "0.54619765", "text": "public void mo1517b(JSONObject jSONObject) {\n }", "title": "" }, { "docid": "5172468dc11a2035093d8678f2bea91a", "score": "0.544533", "text": "@Mapper\n public interface YSubFlowCloner {\n YSubFlowCloner INSTANCE = Mappers.getMapper(YSubFlowCloner.class);\n\n @Mapping(target = \"YFlow\", ignore = true)\n @Mapping(target = \"flow\", ignore = true)\n void copyWithoutFlows(YSubFlowData source, @MappingTarget YSubFlowData target);\n\n /**\n * Performs deep copy of entity data.\n */\n default YSubFlowData deepCopy(YSubFlowData source, YFlow targetFlow) {\n YSubFlowDataImpl result = new YSubFlowDataImpl();\n copyWithoutFlows(source, result);\n result.setYFlow(targetFlow);\n result.setFlow(new Flow(source.getFlow()));\n return result;\n }\n }", "title": "" }, { "docid": "66407ff58b40c771dca98e029b11b901", "score": "0.5440778", "text": "public BaseType makeCopy (java.lang.Object[] newArgs) { throw new RuntimeException(); }", "title": "" }, { "docid": "2be718d76ccdd1cbf2904f27d2624887", "score": "0.54317385", "text": "private void copy(Node value){\n\t}", "title": "" }, { "docid": "d2ef67f596d746bb8258477516701ede", "score": "0.5426544", "text": "Object read_copy() throws SerealException {\n\n\t\tint originalPosition = (int) read_varint();\n\t\tint currentPosition = data.position(); // remember where we parked\n\n\t\t// note: you might think you'd like to use mark() and reset(), but setting position(..) discards the mark\n\t\tdata.position( originalPosition );\n\t\tObject copy = readSingleValue();\n\t\tdata.position( currentPosition ); // go back to where we were\n\n\t\treturn copy;\n\t}", "title": "" }, { "docid": "da1bde5b0ffdb8a23e73b7f35ba58214", "score": "0.542131", "text": "@Override\n protected Object clone() throws CloneNotSupportedException {\n return super.clone();\n }", "title": "" }, { "docid": "460cbd7a95e9f9a70854e5dd5f2d8a7a", "score": "0.54209685", "text": "public Object getCurrentObjectAndPutToMap(JsonReader reader ) ;", "title": "" }, { "docid": "726426f4a47d828abe1031c04a3f0254", "score": "0.5418876", "text": "public ClavaNode deepCopy() {\n return deepCopy(false);\n }", "title": "" }, { "docid": "eedc0090187b7cac8ffd8fb36bc7afa5", "score": "0.5416671", "text": "@Override\r\n\tpublic void merge(JsonElement o) throws JsonException {\n\t\t\r\n\t}", "title": "" }, { "docid": "a662a34945764be756d07e31e9617087", "score": "0.54136723", "text": "@Test(timeout = 4000)\n public void test023() throws Throwable {\n JSONObject jSONObject0 = new JSONObject();\n LinkedList<JSONObject> linkedList0 = new LinkedList<JSONObject>();\n JSONObject jSONObject1 = jSONObject0.put(\"-\", (Collection) linkedList0);\n JSONArray jSONArray0 = jSONObject1.getJSONArray(\"-\");\n assertEquals(0, jSONArray0.length());\n }", "title": "" }, { "docid": "a6f633d1de1e7e6c1f8c9adae05fc8f1", "score": "0.5397022", "text": "@Test(timeout = 4000)\n public void test086() throws Throwable {\n JSONObject jSONObject0 = new JSONObject();\n JSONArray jSONArray0 = new JSONArray();\n JSONArray jSONArray1 = jSONObject0.toJSONArray(jSONArray0);\n assertNull(jSONArray1);\n }", "title": "" }, { "docid": "6b228601cc3ea763ec86fccac94660c5", "score": "0.53960896", "text": "public void copy( )\r\n\t{\n\t\tGraph copy = new Graph( \"copy\", this.graph.areLoopsAllowed, this.graph.areDirectedEdgesAllowed, this.graph.areMultipleEdgesAllowed, this.graph.areCyclesAllowed );\r\n\t\t\r\n\t\tfor( Vertex vertex : this.graph.getSelectedVertices( ) )\r\n\t\t\tcopy.vertices.add( vertex );\r\n\t\t\r\n\t\tfor( Edge edge : this.graph.getSelectedEdges( ) )\r\n\t\t\tif( edge.from.isSelected.get( ) && edge.to.isSelected.get( ) )\r\n\t\t\t\tcopy.edges.add( edge );\r\n\t\t\r\n\t\tfor( Caption caption : this.graph.getSelectedCaptions( ) )\r\n\t\t\tcopy.captions.add( caption );\r\n\t\t\r\n\t\t// Send the JSON to the clipboard\r\n\t\tStringSelection stringSelection = new StringSelection( copy.toString( ) );\r\n\t\tClipboard clipboard = Toolkit.getDefaultToolkit( ).getSystemClipboard( );\r\n\t\tclipboard.setContents( stringSelection, new ClipboardOwner( )\r\n\t\t{\r\n\t\t\t@Override\r\n\t\t\tpublic void lostOwnership( Clipboard c, Transferable t )\r\n\t\t\t{\r\n\t\t\t// Ignore?\r\n\t\t\t}\r\n\t\t} );\r\n\t}", "title": "" }, { "docid": "6ed9e648f083b75fed9843322d41f5cf", "score": "0.53905183", "text": "@Override\n public Spatial deepClone(){\n Geometry geomClone = clone();\n geomClone.mesh = mesh.deepClone();\n return geomClone;\n }", "title": "" }, { "docid": "721fbfff61618c3a7d7a4ea5fff9ff20", "score": "0.5384591", "text": "public abstract void mo31652a(Object obj, JsonGenerator gVar, SerializerProvider zVar) throws Exception;", "title": "" }, { "docid": "ef8dfb89d4bc8b0d63fa5091dc87f44a", "score": "0.5366396", "text": "public interface JSONFriendlyObject<T> {\r\n\t/**\r\n\t * konvert object ke dalam json\r\n\t **/\r\n\tpublic JSONValue translateToJSON(); \r\n\t\r\n\t\r\n\t\r\n\t/**\r\n\t * instantiate data dengan json data\r\n\t **/\r\n\tpublic T instantiateFromJSON(JSONValue jsonValueRef); \r\n\r\n}", "title": "" }, { "docid": "61f62df3d47f580eb29b0bc58d6bea7c", "score": "0.5356298", "text": "public abstract void mo31903b(Object obj, JsonGenerator gVar, SerializerProvider zVar) throws Exception;", "title": "" }, { "docid": "def6f2fed7e7177e0f6879591444d389", "score": "0.53544337", "text": "@Override\n public boolean canCopy() {\n return false;\n }", "title": "" }, { "docid": "91b60cf87a62b5af4b40e881a5f303d6", "score": "0.53527135", "text": "@Override\n public void copy() {\n // No-op\n }", "title": "" }, { "docid": "524ceaec63a466d11295db6c0e750a17", "score": "0.53476185", "text": "private XMLNode copy(XMLNode node) {\n return new XMLNode(node.getUserObject());\n }", "title": "" }, { "docid": "2f94f796a299b6e14a2ebaaa9ea1a1ed", "score": "0.5346764", "text": "static JsonObject getData(final JsonObject original, final IxModule module) {\n final KJoin connect = module.getConnect();\n /*\n * Remove primary key, it will generate new.\n */\n final JsonObject inputData = original.copy();\n final KPoint target = connect.procTarget(original);\n connect.procFilters(original, target, inputData);\n return inputData;\n }", "title": "" }, { "docid": "d88777ebafe33f1363df753773bec0b5", "score": "0.53467405", "text": "private JsonConverter() { }", "title": "" }, { "docid": "2b7e3a22665d50b43e148a226d2ab0c6", "score": "0.5342576", "text": "public static JsonObjectBuilder object(JsonObject object, boolean copy) {\n Objects.requireNonNull(object, \"object\");\n\n if (copy) {\n return object().addAll(object, true);\n } else {\n return new JsonObjectBuilderImpl(object);\n }\n }", "title": "" }, { "docid": "2dbb0fe9b6e3ea35025ffe8e0340b1eb", "score": "0.5337699", "text": "private Object getJsonStringFromObject() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "52405b298d0f0769aabfc6c64cb7338d", "score": "0.5320269", "text": "@Test(timeout = 4000)\n public void test18() throws Throwable {\n HashMap<Boolean, JSONObject> hashMap0 = new HashMap<Boolean, JSONObject>(2979);\n Boolean boolean0 = new Boolean(\"zlBX'\");\n Boolean.logicalAnd(true, true);\n JSONObject jSONObject0 = new JSONObject();\n JSONObject jSONObject1 = new JSONObject((Object) hashMap0);\n hashMap0.clone();\n jSONObject0.names();\n jSONObject0.optBoolean(\"'P<Ha4EiD\");\n Integer integer0 = new Integer((-25));\n Integer.getInteger(\"'P<Ha4EiD\");\n JSONObject jSONObject2 = jSONObject0.accumulate(\"zlBX'\", integer0);\n jSONObject0.optJSONObject(\"zlBX'\");\n jSONObject0.names();\n LinkedList<Integer> linkedList0 = new LinkedList<Integer>();\n linkedList0.toArray();\n jSONObject1.put(\"zlBX'\", (Collection) linkedList0);\n JSONObject.doubleToString(2979);\n Byte byte0 = new Byte((byte) (-101));\n JSONObject.getNames((Object) linkedList0);\n JSONObject.valueToString(linkedList0, 3108, (-1030));\n StringWriter stringWriter0 = new StringWriter(1731);\n stringWriter0.append((CharSequence) \"'P<Ha4EiD\");\n LinkedList<Long> linkedList1 = new LinkedList<Long>();\n jSONObject2.put(\"'P<Ha4EiD\", (Collection) linkedList1);\n assertEquals(2, jSONObject0.length());\n }", "title": "" }, { "docid": "5cd01cfd154c8c4a318fd0dd0e4d69d3", "score": "0.5317272", "text": "@Test\n public void test(){\n Jsonb jsonb = JsonbBuilder.create();\n Primitives primitives=new Primitives();\n String result = jsonb.toJson(primitives);\n\n Primitives p0 = jsonb.fromJson(result, Primitives.class);\n assertThat(p0, samePropertyValuesAs(primitives));\n\n }", "title": "" }, { "docid": "a0db14a78e3f3224668228aec4703d43", "score": "0.53101355", "text": "public static Object deepCopy(Object orig) {\n\tObject obj = null;\n\ttry {\n\t // Write the object out to a byte array\n\t FastByteArrayOutputStream fbos =\n\t\t new FastByteArrayOutputStream();\n\t ObjectOutputStream out = new ObjectOutputStream(fbos);\n\t out.writeObject(orig);\n\t out.flush();\n\t out.close();\n\n\t // Retrieve an input stream from the byte array and read\n\t // a copy of the object back in.\n\t ObjectInputStream in =\n\t\t new ObjectInputStream(fbos.getInputStream());\n\t obj = in.readObject();\n\t} catch (IOException e) {\n\t e.printStackTrace();\n\t} catch (ClassNotFoundException cnfe) {\n\t cnfe.printStackTrace();\n\t}\n\treturn obj;\n }", "title": "" }, { "docid": "53db2bd98b522bce65ac695860ac7c51", "score": "0.5302275", "text": "@Override\n\t\t\tprotected Object clone() throws CloneNotSupportedException {\n\t\t\t\treturn super.clone();\n\t\t\t}", "title": "" }, { "docid": "6e8fb9b4226d396db78ed14faaa5c419", "score": "0.53019196", "text": "public JsonElement a()\r\n/* 24: */ {\r\n/* 25:25 */ JsonArray localJsonArray = new JsonArray();\r\n/* 26:27 */ for (String str : this) {\r\n/* 27:28 */ localJsonArray.add(new JsonPrimitive(str));\r\n/* 28: */ }\r\n/* 29:31 */ return localJsonArray;\r\n/* 30: */ }", "title": "" }, { "docid": "fc5ee17e47b537fd885a3f1e0660adc2", "score": "0.52866536", "text": "T copy();", "title": "" }, { "docid": "939de1a1ceb8ca108cae962d5fbbb1d3", "score": "0.52814543", "text": "@Test\n public void oldJsonOrgViaJackson() throws IOException\n {\n ObjectMapper mapper = JsonUtil.DEFAULT_MAPPER;\n\n final Date d = new GregorianCalendar(2011, Calendar.DECEMBER, 3).getTime();\n\n JSONObject obj = new JSONObject();\n obj.put(\"str\", \"hello\");\n obj.put(\"arr\", new JSONArray(Arrays.asList(\"one\", null, 3, new JSONObject(Collections.singletonMap(\"four\", 4)))));\n obj.put(\"nul\", (Object)null);\n obj.put(\"d\", d);\n\n // Verify serializing org.json.old.JSONObject via Jackson is equivalent\n String jacksonToString = mapper.writeValueAsString(obj);\n String jsonOrgToString = obj.toString();\n assertEquals(jsonOrgToString, jacksonToString);\n\n // Verify deserializing org.json.old.JSONObject via Jackson is equivalent\n // NOTE: In both cases, the date value is deserialized as a string because JSON sucks\n JSONObject jsonOrgRoundTrip = new JSONObject(jacksonToString);\n JSONObject jacksonRoundTrip = mapper.readValue(jacksonToString, JSONObject.class);\n assertEquals(jsonOrgRoundTrip, jacksonRoundTrip);\n }", "title": "" }, { "docid": "1cb59d179f95fb377eb9c39847c068a4", "score": "0.5278158", "text": "protected Vaisseaux copyInto(Vaisseaux copyObj, boolean deepcopy) throws TorqueException\n {\n copyObj.setNom(nom);\n copyObj.setType(type);\n\n copyObj.setNom((String)null);\n\n if (deepcopy)\n {\n\n\n List vPartiesVaisseauxs = getPartiesVaisseauxs();\n if (vPartiesVaisseauxs != null)\n {\n for (int i = 0; i < vPartiesVaisseauxs.size(); i++)\n {\n PartiesVaisseaux obj = (PartiesVaisseaux) vPartiesVaisseauxs.get(i);\n copyObj.addPartiesVaisseaux(obj.copy());\n }\n }\n else\n {\n copyObj.collPartiesVaisseauxs = null;\n }\n }\n return copyObj;\n }", "title": "" }, { "docid": "1d84d30c9453ef877f78b07e4aa91291", "score": "0.5270553", "text": "@Override\n\tpublic void fromJSON(HashMap<String, Object> json) {\n\t}", "title": "" }, { "docid": "86cdcd327980a49d5329177678303afd", "score": "0.52617544", "text": "@Override\n protected Object clone() throws CloneNotSupportedException {\n return super.clone();\n }", "title": "" }, { "docid": "f2aeb08cbedca0725b0554704a03b4ed", "score": "0.52508396", "text": "Object clone() throws CloneNotSupportedException;", "title": "" }, { "docid": "afe905e467c14b974ce6850cb6a82bab", "score": "0.5239758", "text": "protected abstract void writeJsonData();", "title": "" }, { "docid": "697c7169fd3914ca2340f65a37c45b25", "score": "0.5236994", "text": "public static Object deepCopy (Object originalObject) {\n Object newObject = null;\n try {\n ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();\n ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteArrayOutputStream);\n objectOutputStream.writeObject(originalObject);\n objectOutputStream.flush();\n objectOutputStream.close();\n\n ObjectInputStream inputStream =\n new ObjectInputStream(new ByteArrayInputStream(\n byteArrayOutputStream\n .toByteArray()));\n newObject = inputStream.readObject();\n }\n catch (IOException ioE) {\n ioE.printStackTrace();\n }\n catch (ClassNotFoundException notFoundE) {\n notFoundE.printStackTrace();\n }\n return newObject;\n }", "title": "" }, { "docid": "5e0a4301276010174918f50bda198d6c", "score": "0.5234797", "text": "public List<Object> processJsonToObjects() throws InstantiationException, IllegalAccessException,\n\t\t\tNoSuchMethodException, SecurityException, IllegalArgumentException, InvocationTargetException {\n\t\tMapping responseMapping = mainConfig.getResponseMapping();\n\n\t\tJsonArray source = Utiles.seletor(RESULT_SOURCE, jestResult.getJsonObject()).getAsJsonArray();\n\t\t////// System.out.println(responseMapping.getBeanClass());\n\t\t/////// System.out.println(source);\n\t\tProperties mapping = responseMapping.getMapping();\n\t\tIterator<Entry<Object, Object>> mappingIter = mapping.entrySet().iterator();\n\t\tList<Object> result = new LinkedList<Object>();\n\n\t\tfor (int i = 0; i < source.size(); i++)\n\t\t\tresult.add(responseMapping.getBeanClass().newInstance());\n\n\t\twhile (mappingIter.hasNext()) {\n\t\t\tEntry<Object, Object> entry = mappingIter.next();\n\t\t\tString key = (String) entry.getKey();\n\t\t\tString methodeName = \"set\" + key.substring(0, 1).toUpperCase() + key.substring(1);\n\t\t\tIterator<JsonElement> sourceIter = source.iterator();\n\t\t\tString value = (String) entry.getValue();\n\t\t\tString selector = (value.substring(0, 2).equals(\"$$\")) ? \"_source::\" + value.substring(2) : value;\n\n\t\t\tif (sourceIter.hasNext()) {\n\t\t\t\tJsonObject jo = sourceIter.next().getAsJsonObject();\n\n\t\t\t\tJsonElement sourceValue = Utiles.seletor(selector, jo);\n\t\t\t\tClass<?> c = null;\n\t\t\t\tJsonPrimitive jop = sourceValue.getAsJsonPrimitive();\n\t\t\t\tif (jop.isString())\n\t\t\t\t\tc = String.class;\n\t\t\t\tif (jop.isNumber())\n\t\t\t\t\tc = Number.class;\n\t\t\t\tif (jop.isBoolean())\n\t\t\t\t\tc = Boolean.class;\n\n\t\t\t\tMethod method = responseMapping.getBeanClass().getMethod(methodeName, c);\n\t\t\t\tint i = 0;\n\t\t\t\tif (c == String.class)\n\t\t\t\t\tmethod.invoke(result.get(i++), sourceValue.getAsString());\n\t\t\t\tif (c == Number.class)\n\t\t\t\t\tmethod.invoke(result.get(i++), sourceValue.getAsNumber());\n\t\t\t\tif (c == Boolean.class)\n\t\t\t\t\tmethod.invoke(result.get(i++), sourceValue.getAsBoolean());\n\t\t\t\twhile (sourceIter.hasNext()) {\n\t\t\t\t\tjo = sourceIter.next().getAsJsonObject();\n\n\t\t\t\t\tsourceValue = Utiles.seletor(selector, jo);\n\t\t\t\t\t// System.out.println(result.get(i++));\n\t\t\t\t\t// System.out.println(sourceValue);\n\t\t\t\t\tif (c == String.class)\n\t\t\t\t\t\tmethod.invoke(result.get(i++), sourceValue.getAsString());\n\t\t\t\t\tif (c == Number.class)\n\t\t\t\t\t\tmethod.invoke(result.get(i++), sourceValue.getAsNumber());\n\t\t\t\t\tif (c == Boolean.class)\n\t\t\t\t\t\tmethod.invoke(result.get(i++), sourceValue.getAsBoolean());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}", "title": "" }, { "docid": "791a8e0e1f89d52ddc37c53ad324ef81", "score": "0.522726", "text": "@Override\r\n\tprotected Object clone() throws CloneNotSupportedException {\n\t\treturn super.clone();\r\n\t}", "title": "" }, { "docid": "791a8e0e1f89d52ddc37c53ad324ef81", "score": "0.522726", "text": "@Override\r\n\tprotected Object clone() throws CloneNotSupportedException {\n\t\treturn super.clone();\r\n\t}", "title": "" }, { "docid": "791a8e0e1f89d52ddc37c53ad324ef81", "score": "0.522726", "text": "@Override\r\n\tprotected Object clone() throws CloneNotSupportedException {\n\t\treturn super.clone();\r\n\t}", "title": "" }, { "docid": "e2cc43fdbfd3c7fe200eb25a4b04fba4", "score": "0.52227783", "text": "@Override\n\tpublic Layer<?> deepCopy() throws IOException, ClassNotFoundException {\n\t\tByteArrayOutputStream baos = new ByteArrayOutputStream();\n\t\tObjectOutputStream oos = new ObjectOutputStream(baos);\n\t\toos.writeObject(this);\n\t\tByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());\n\t\tObjectInputStream ois = new ObjectInputStream(bais);\n\t\treturn (Layer<?>) ois.readObject();\n\t}", "title": "" }, { "docid": "0872ff3f77ae828549c68bd6ccac5be0", "score": "0.52179295", "text": "@Override\n\tpublic void parseJson(JSONObject json) {\n\n\t}", "title": "" }, { "docid": "75f0a3277f13d436d4180d0f9ee56e44", "score": "0.5197797", "text": "@Test\n\tpublic void testJsonObjects(){\n\t\tJsonObject jsonObj = new JsonObject();\n\t\tjsonObj.addProperty(\"http://coralcea.ca/demo/wardId\", \"Wing-5-Floor-3-Ward-4\");\n\t\tjsonObj.addProperty(\"http://coralcea.ca/demo/data\", \"some-data\");\n\t\tjsonObj.addProperty(\"http://coralcea.ca/demo/more/data\", \"more-data\");\n\t\tjsonObj.addProperty(\"non-uri\", \"should not be in context\");\n\t\t\n\t\tJsonElement parsedResponse = classUnderTest.parseResponse(jsonObj);\n\t\tTestCase.assertNotNull(parsedResponse);\n\t\tTestCase.assertTrue(parsedResponse.getAsJsonObject().get(\"@context\").toString().length() > 2);\n\t\t// Check that the one item that did not contain 'http://' does not end up in the context\n\t\tTestCase.assertFalse(parsedResponse.getAsJsonObject().get(\"@context\").toString().contains(\"non-uri\"));\n\t\t\n\t\t// JsonObject with embedded arrays\n\t\tJsonArray primitiveArr = new JsonArray();\n\t\tJsonElement prim1 = jParser.parse(\"one\");\n\t\tJsonElement prim2 = jParser.parse(\"two\");\n\t\tprimitiveArr.add(prim1);\n\t\tprimitiveArr.add(prim2);\n\t\t\n\t\tJsonArray jsonArr = new JsonArray();\n\t\tMap<String,String> map = new HashMap<String,String>();\n\t\tGson gson = new Gson();\n\t\tmap.put(\"http://coralcea.ca/demo/bpm\", \"52\");\n\t\tmap.put(\"http://coralcea.ca/demo/timestamp\", \"2014-04-16\");\n\t\tmap.put(\"http://coralcea.ca/demo/patient/id\", \"http://pid01\");\n\t\tmap.put(\"http://coralcea.ca/demo/sensor/id\", \"srID02\");\n\t\t\n\t\tJsonElement jsonTree = gson.toJsonTree(map, Map.class);\n\t\tjsonArr.add(jsonTree);\n\t\tmap.put(\"http://coralcea.ca/demo/bpm\", \"99\");\n\t\tmap.put(\"http://coralcea.ca/demo/timestamp\", \"2014-04-17\");\n\t\tmap.put(\"http://coralcea.ca/demo/patient/id\", \"http://pid99\");\n\t\tmap.put(\"http://coralcea.ca/demo/sensor/id\", \"srID03\");\n\t\tjsonTree = gson.toJsonTree(map, Map.class);\n\t\tjsonArr.add(jsonTree);\n\t\tjsonObj.add(\"http://coralcea.ca/demo/patient/primitive/array\", primitiveArr);\n\t\tjsonObj.add(\"http://coralcea.ca/demo/patient/complex/array\", jsonArr);\n\t\t\n\t\tparsedResponse = classUnderTest.parseResponse(jsonObj);\n\t\tTestCase.assertNotNull(parsedResponse);\n\t}", "title": "" }, { "docid": "564a22be30ea925accabd38a40624837", "score": "0.5196834", "text": "protected static SharedLibraryBean getLibraryBeanFromV1Share(final JsonNode src_json) throws JsonParseException, JsonMappingException, IOException, ParseException {\n\n\t\tfinal String[] description_lines = Optional.ofNullable(safeJsonGet(\"description\", src_json).asText())\n\t\t\t\t\t\t\t\t\t\t\t.orElse(\"unknown\").split(\"\\r\\n?|\\n\");\n\t\t\n\t\tfinal String _id = \"v1_\" + safeJsonGet(\"_id\", src_json).asText();\n\t\tfinal String created = safeJsonGet(\"created\", src_json).asText();\n\t\tfinal String modified = safeJsonGet(\"modified\", src_json).asText();\n\t\tfinal String display_name = safeJsonGet(\"title\", src_json).asText();\n\t\tfinal String path_name = display_name;\n\t\t\n\t\tfinal List<String> description_lines_list = Arrays.asList(description_lines);\n\t\t\n\t\t// Find possible JSON config\n\t\tOptional<Tuple2<Integer, Integer>> json_config =\n\t\t\t\tIntStream.range(1, description_lines.length).boxed().filter(i -> description_lines[i].trim().startsWith(\"{\")).findFirst()\n\t\t\t\t\t.<Tuple2<Integer, Integer>>map(start -> {\n\t\t\t\t\t\treturn IntStream.range(start+1, description_lines.length).boxed()\n\t\t\t\t\t\t\t\t.filter(i -> !description_lines[i].matches(\"^\\\\s*[{}\\\"'].*\"))\n\t\t\t\t\t\t\t\t.findFirst()\n\t\t\t\t\t\t\t\t.<Tuple2<Integer, Integer>>map(end -> Tuples._2T(start, end))\n\t\t\t\t\t\t\t.orElse(Tuples._2T(start, description_lines.length));\n\t\t\t\t\t})\n\t\t\t\t\t;\n\t\t\n\t\t@SuppressWarnings(\"unchecked\")\n\t\tfinal Optional<Map<String, Object>> json = json_config\n\t\t\t\t\t\t\t\t.map(t2 ->description_lines_list.stream()\n\t\t\t\t\t\t\t\t\t.limit(t2._2())\n\t\t\t\t\t\t\t\t\t.skip(t2._1())\n\t\t\t\t\t\t\t\t\t.collect(Collectors.joining(\"\\n\")))\n\t\t\t\t\t\t\t\t.map(Lambdas.wrap_u(s -> _mapper.readTree(s)))\n\t\t\t\t\t\t\t\t.<Map<String, Object>>map(j -> (Map<String, Object>) _mapper.convertValue(j, Map.class));\n\t\t\t\t\t\t\t\t;\n\n\t\tfinal Set<String> tags = safeTruncate(description_lines[description_lines.length - 1], 5).toLowerCase().startsWith(\"tags:\")\n\t\t\t\t? new HashSet<String>(Arrays.asList(\n\t\t\t\t\t\tdescription_lines[description_lines.length - 1]\n\t\t\t\t\t\t\t\t.replaceFirst(\"(?i)tags:\\\\s*\", \"\")\n\t\t\t\t\t\t\t\t.split(\"\\\\s*,\\\\s*\")))\n\t\t\t\t: Collections.emptySet(); \n\t\t\t\t\t\t\t\t\n\t\tfinal String description = description_lines_list.stream()\n\t\t\t\t.limit(Optional.of(description_lines.length) \n\t\t\t\t\t\t\t\t.map(n -> tags.isEmpty() ? n : n-1) // skip over the tags if any\n\t\t\t\t\t\t\t\t.get()\n\t\t\t\t\t\t) \n\t\t\t\t.skip(json_config.map(Tuple2::_2).orElse(1))\n\t\t\t\t.collect(Collectors.joining(\"\\n\"));\n\t\t\n\t\tfinal LibraryType type = LibraryType.misc_archive;\n\t\tfinal String owner_id = safeJsonGet(\"_id\", safeJsonGet(\"owner\", src_json)).asText();\n\t\t//final JsonNode comm_objs = safeJsonGet(\"communities\", src_json); // collection of { _id: $oid } types\n\t\tfinal String misc_entry_point = description_lines[0];\n\t\t\n\t\tfinal SharedLibraryBean bean = BeanTemplateUtils.build(SharedLibraryBean.class)\n\t\t\t\t\t\t\t\t\t\t\t\t\t.with(SharedLibraryBean::_id, _id)\n\t\t\t\t\t\t\t\t\t\t\t\t\t.with(SharedLibraryBean::created, parseJavaDate(created))\n\t\t\t\t\t\t\t\t\t\t\t\t\t.with(SharedLibraryBean::modified, parseJavaDate(modified))\n\t\t\t\t\t\t\t\t\t\t\t\t\t.with(SharedLibraryBean::display_name, display_name)\n\t\t\t\t\t\t\t\t\t\t\t\t\t.with(SharedLibraryBean::path_name, path_name)\n\t\t\t\t\t\t\t\t\t\t\t\t\t.with(SharedLibraryBean::description, description)\n\t\t\t\t\t\t\t\t\t\t\t\t\t.with(SharedLibraryBean::tags, tags)\n\t\t\t\t\t\t\t\t\t\t\t\t\t.with(SharedLibraryBean::type, type)\n\t\t\t\t\t\t\t\t\t\t\t\t\t.with(SharedLibraryBean::misc_entry_point, misc_entry_point)\n\t\t\t\t\t\t\t\t\t\t\t\t\t.with(SharedLibraryBean::owner_id, owner_id)\n\t\t\t\t\t\t\t\t\t\t\t\t\t.with(SharedLibraryBean::library_config, json.orElse(null))\n\t\t\t\t\t\t\t\t\t\t\t\t\t.done().get();\n\t\t\n\t\treturn bean;\t\t\n\t}", "title": "" }, { "docid": "a383dba1ddf99b9bba21c13f5a5ebcca", "score": "0.519529", "text": "@Override\n public String adaptToJson(T original) {\n return original.getValue().orElse(null);\n }", "title": "" }, { "docid": "0e5929007d7845b7078f4cfbd9a97719", "score": "0.5191107", "text": "protected Vaisseaux copyInto(Vaisseaux copyObj, boolean deepcopy, Connection con) throws TorqueException\n {\n copyObj.setNom(nom);\n copyObj.setType(type);\n\n copyObj.setNom((String)null);\n\n if (deepcopy)\n {\n\n\n List vPartiesVaisseauxs = getPartiesVaisseauxs(con);\n if (vPartiesVaisseauxs != null)\n {\n for (int i = 0; i < vPartiesVaisseauxs.size(); i++)\n {\n PartiesVaisseaux obj = (PartiesVaisseaux) vPartiesVaisseauxs.get(i);\n copyObj.addPartiesVaisseaux(obj.copy(con), con);\n }\n }\n else\n {\n copyObj.collPartiesVaisseauxs = null;\n }\n }\n return copyObj;\n }", "title": "" }, { "docid": "9ec8e8ea0bd7bffd2c9e5f31705f27dd", "score": "0.5190777", "text": "public abstract AExp copy();", "title": "" }, { "docid": "b455e49afc623d36b28b6fe49d18c685", "score": "0.5184276", "text": "private static void m137903a(JSONObject jSONObject) {\n if (C29096c.m95445b()) {\n for (Entry entry : C29096c.m95443a().entrySet()) {\n try {\n jSONObject.put((String) entry.getKey(), (String) entry.getValue());\n } catch (JSONException unused) {\n }\n }\n }\n }", "title": "" }, { "docid": "97a9c81c7fb9513143856b5ea645e526", "score": "0.5183839", "text": "@Contract(pure = true)\r\n JSONDocument toJSON();", "title": "" }, { "docid": "42cc83877f21653a851f600d81d508f9", "score": "0.5181557", "text": "ResultElement copy();", "title": "" }, { "docid": "a8c3ab7d973a8e39a4d267f9715beedd", "score": "0.51803356", "text": "@Override\n\tprotected Object clone() throws CloneNotSupportedException {\n\treturn super.clone();\n\t}", "title": "" }, { "docid": "3c05ef165bfb718237c7b93ac38a2960", "score": "0.5178364", "text": "@Override\n\tpublic void visit(JsonOperator arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "4574b18ac704d1c2321f8c51d3806586", "score": "0.5177321", "text": "private void copyData(T from, T to) {\n/* 88 */ BlockPosition pos = to.getPosition();\n/* 89 */ NBTTagCompound nbtTagCompound = from.save(new NBTTagCompound());\n/* 90 */ to.load(getHandle(), nbtTagCompound);\n/* */ \n/* */ \n/* 93 */ to.setPosition(pos);\n/* */ }", "title": "" }, { "docid": "0993313abe215a4ea1598ebdb50cf792", "score": "0.5172546", "text": "Clone createClone();", "title": "" }, { "docid": "96268b5d04d13f2aaf8b16d5553b806f", "score": "0.51616204", "text": "public Coord copy(Copyable.Context context)\r\n/* 135: */ {\r\n/* 136:240 */ return ((Coord)this.object).copy(context);\r\n/* 137: */ }", "title": "" } ]
3797b45b0757a83b086f7242a198d5bc
Adds the account to the database.
[ { "docid": "89c8478cbf2340cd108ade77dccc9e6f", "score": "0.7749621", "text": "private void addAccount(Account account)\n\t {\n\t\t if(accountExists(account)) return;\n\t\t \n\t\t ContentValues values = new ContentValues();\n\t\t values.put(DatabaseContract.AccountContract.COLUMN_NAME_USERNAME, account.getUsername());\n\t\t values.put(DatabaseContract.AccountContract.COLUMN_NAME_BALANCE, account.getBalance());\n\t\t values.put(DatabaseContract.AccountContract.COLUMN_NAME_AUTH_TOKEN, account.getAuthenticationToken());\n\t\t \n\t\t db.insert(DatabaseContract.AccountContract.TABLE_NAME,\n\t\t\t\t null,\n\t\t\t\t values);\n\t\t \n\t }", "title": "" } ]
[ { "docid": "88f7e9898dd6f2a529e117910856919c", "score": "0.741338", "text": "void addAccount(Accounts account) {\n SQLiteDatabase db = this.getWritableDatabase();\n\n ContentValues values = new ContentValues();\n values.put(KEY_NAME, account.getName());\n values.put(KEY_PASSWORD, account.getPassword());\n values.put(KEY_PH_NO, account.getPhoneNumber());\n values.put(KEY_EMAIL, account.getEmail());\n\n // Inserting Row\n db.insert(TABLE_ACCOUNTS, null, values);\n //2nd argument is String containing nullColumnHack\n db.close(); // Closing database connection\n }", "title": "" }, { "docid": "32876423f466367b8f93356941b745ee", "score": "0.7362185", "text": "AccountModel add(AccountModel account) throws AccountException;", "title": "" }, { "docid": "ae9bd6636b4ca6ec0dd09c49a92e3f20", "score": "0.70867246", "text": "public boolean addAccount() {\r\n String update = \"INSERT INTO LOGIN VALUES('\" + this.username + \"', '\" + new MD5().md5(this.password) + \"', '\" + this.codeID + \"', N'\" + this.fullname + \"')\";\r\n return model.ConnectToSql.update(update);\r\n }", "title": "" }, { "docid": "bddf6671299775c19c013a65a4e95e65", "score": "0.704394", "text": "@Override\n\tpublic void addToUserAccountTable(int accountId,String username) throws SQLException {\n\t\tConnection connect = db.getConnection();\n\t\tString insertQuery = \"insert into user_account values(?, ?)\";\n\t\tPreparedStatement prepStmt = connect.prepareStatement(insertQuery);\n \n\t\t\tprepStmt.setString(1, username);\n\t\t\tprepStmt.setInt(2, accountId);\n\t\t\tprepStmt.executeUpdate();\n\t}", "title": "" }, { "docid": "0289be67eb5fc2a9ba9b5b5cb3789e6e", "score": "0.69775325", "text": "@Override\n\tpublic boolean addAccount(Account account) {\n\t\taccount.setStatus(-1);\n\t\t//String passwd = new UU\n\t\treturn accountDAO.addAccount(account);\n\t}", "title": "" }, { "docid": "64878ddb493995a0cd52dce60dc6be65", "score": "0.6923905", "text": "public void addAccount(String user, String password);", "title": "" }, { "docid": "d0ffb67d44d79b3a0bf8ec2f17189429", "score": "0.6835767", "text": "@Override\n\tpublic int addAccount(Account account) throws SQLException {\n\t\tConnection connect = db.getConnection();\n\t\tString selectQuery = \"insert into accounts values(default, ?, ?) returning id\";\n\t\tPreparedStatement prepStmt = connect.prepareStatement(selectQuery);\n\t\tprepStmt.setString(1, account.getType());\n\t\tprepStmt.setDouble(2, account.getBalance());\n\t\tResultSet rs = prepStmt.executeQuery();\n\t\tint id = 0;\n\t\twhile(rs.next()) {\n\t\t\tid = rs.getInt(1);\n\t\t}\n\t\treturn id;\n\t}", "title": "" }, { "docid": "962d9d474e0dcc7e6b688b7e97defb25", "score": "0.68284726", "text": "public void addAccount() {\n\t\t\n\t\ttry {\n\t\t\tlog.log(Level.INFO, \"Please enter name\");\n String custName = scan.next();\n validate.checkName(custName);\n \t\tlog.log(Level.INFO, \"Select Account Type: \\n 1 for Savings \\n 2 for Current \\n 3 for FD \\n 4 for DEMAT\");\n\t\t\tint bankAccType = Integer.parseInt(scan.next());\n\t\t\tvalidate.checkAccType(bankAccType);\n\t\t\tlog.log(Level.INFO, \"Please Enter your Aadar Card Number\");\n\t\t\tString aadarNumber = scan.next();\n\t\t\tlog.log(Level.INFO, \"Please Enter Phone Number: \");\n\t\t\tString custMobileNo = scan.next();\n\t\t\tvalidate.checkPhoneNum(custMobileNo);\n\t\t\tlog.log(Level.INFO, \"Please Enter Customer Email Id: \");\n\t\t\tString custEmail = scan.next();\n\t\t\tvalidate.checkEmail(custEmail);\n\t\t\tbankop.add(accountNumber, custName, bankAccType, custMobileNo, custEmail, aadarNumber);\n\t\t\taccountNumber();\n\t\t\n\t\t} catch (AccountDetailsException message) {\n\t\t\tlog.log(Level.INFO, message.getMessage()); \n }\n\n\t}", "title": "" }, { "docid": "c7c5a44f51b7c40243e17b41ef706fce", "score": "0.67462677", "text": "public void addUser(String username, String password, String name, String phone, String email, String address, Date dob) throws AccountException {\n accounts.add(new Account(username, getMd5(password), name, phone, email, address, dob));\n }", "title": "" }, { "docid": "9e805b811c8c9984045708dd3d6755bd", "score": "0.67405057", "text": "public void addAccount(AccountModel newAccount) {\n accounts.add(newAccount);\n }", "title": "" }, { "docid": "36fe6c2a9a88041f8f9dd28ba03b5fb0", "score": "0.6724815", "text": "public void insertAccount(Account account){\n\t\tSession s=sf.openSession();\n\t\tTransaction tx=s.beginTransaction();\n\t\ts.save(account);\n\t\ttx.commit();\n\t\ts.close();\n\t\t}", "title": "" }, { "docid": "e10bfe92c6001a2d594e8ad06138bc5f", "score": "0.6705453", "text": "@Override\n\tpublic void registerAccount(AccountVO account) {\n\tsession.insert(\"account.registerAccount\",account);\n\t\t\n\t}", "title": "" }, { "docid": "f83b06970652ac5657fa33ef71b1b6a0", "score": "0.6651311", "text": "public void addAccount(Account account,Person person);", "title": "" }, { "docid": "80d19a839bc2d0f4bd359f3efea93f0b", "score": "0.66420764", "text": "public void addAccount(Account account){\n if(accounts == null){\n accounts = new HashSet<>();\n }\n accounts.add(account);\n }", "title": "" }, { "docid": "3f1e9473445b9d5d20990e5e4f0b82c8", "score": "0.6616324", "text": "@Override\n public void insertAccount() throws Exception {\n\n }", "title": "" }, { "docid": "bad94890363cf3dc27c3c1be2b962f81", "score": "0.6608425", "text": "@Override\r\n\tpublic int insertAccount(Account account) {\n\t\treturn this.accountMapper.insertAccount(account);\r\n\t}", "title": "" }, { "docid": "943d7509018d48f3b85cc4dae2d287ce", "score": "0.6606214", "text": "public static void addAccount(Account newAccount) throws SQLIntegrityConstraintViolationException{\n try(Statement statement = connection.createStatement()){\n String username = newAccount.getUsername(), password = newAccount.getPassword(), firstName = newAccount.getFirstName(), lastName = newAccount.getLastName();\n int age = newAccount.getAge();\n System.out.println(\"Username: \" + username);\n // INSERT INTO login_accounts VALUES(username, password, firstName, lastName, age)\n String db_operation = \"INSERT INTO login_accounts VALUES('\" + username + \"','\" + password + \"','\" + firstName + \"','\" + lastName + \"',\" + age + \")\";\n statement.execute(db_operation);\n }catch (SQLIntegrityConstraintViolationException exc){\n throw exc;\n }\n catch (SQLException exc){\n Logger.getLogger(Database.class.getName()).log(Level.SEVERE, \"Attempting to add account.\", exc);\n }\n }", "title": "" }, { "docid": "cf27b5d4d7a7af17da8ff66bff9cf5e5", "score": "0.6576549", "text": "private void createNewAccount() {\n\n // if user has not provided valid data, do not create an account and return from method\n if (!validateData()) {\n return;\n }\n\n // If flag value is false, that means email provided by user doesn't exists in database\n // so initialize the loader to create a new account\n if (!mEmailExistsFlag) {\n getLoaderManager().initLoader(CREATE_NEW_ACCOUNT_LOADER_ID, null, this);\n } else {\n // If flag is true, that means email provided by user already exists in database\n // so restart the loader and allow user to enter new email address for account\n getLoaderManager().restartLoader(CREATE_NEW_ACCOUNT_LOADER_ID, null, this);\n }\n\n }", "title": "" }, { "docid": "a5d1fdaa1d4209e2e58ec6821fb92ceb", "score": "0.65191007", "text": "@Override\n\tpublic int addAccount(AccountUser au) {\n\t\tau.setName(au.getUsername());\n\t\tau.setStatus(1);\n\t\tau.setPwd(\"666666\");\n\t\tau.setSalt(CommTool.getSalt());\n\t\tau.setPwd(PasswordUtil.generate(au.getPwd(), au.getSalt()));\n\t\treturn auMapper.addAccount(au);\n\t}", "title": "" }, { "docid": "d97b05e6f6a393d091208d26a31a6f2b", "score": "0.6497885", "text": "public void createAccount(Account account) \n\t\t\tthrows SQLException, RegisterAccountDBException {\n\t\t\n\t\tString msg =\"Could not create account\";\n\t\tint updateRows=0;\n\t\t\n\t\ttry {\n\t\t\t//if(!accountExist(account.getPersonnr())) {\n\t\t\tif(getStudentInfo(account.getPersonnr())==null) {\n\t\t\tString personnr = account.getPersonnr();\n\t\t\tcreateAccountStmt.setString(1, personnr);\n\t\t updateRows = createAccountStmt.executeUpdate();\n\t\t if(updateRows!=1) {\n\t\t \thandleException(msg, null);\n\t\t }\n\t\t\tconnection.commit();\n\t\t }\n\t\t}catch (SQLException ex) {\n\t\t\thandleException(msg , ex);\t\n\t\t}\n\t}", "title": "" }, { "docid": "547fc4b2e9234e592936df8552506852", "score": "0.64697945", "text": "private void createAccount()\n {\n // check for blank or invalid inputs\n if (Utils.isEmpty(edtFullName))\n {\n edtFullName.setError(\"Please enter your full name.\");\n return;\n }\n\n if (Utils.isEmpty(edtEmail) || !Utils.isValidEmail(edtEmail.getText().toString()))\n {\n edtEmail.setError(\"Please enter a valid email.\");\n return;\n }\n\n if (Utils.isEmpty(edtPassword))\n {\n edtPassword.setError(\"Please enter a valid password.\");\n return;\n }\n\n // check for existing user\n AppDataBase database = AppDataBase.getAppDataBase(this);\n User user = database.userDao().findByEmail(edtEmail.getText().toString());\n\n if (user != null)\n {\n edtEmail.setError(\"Email already registered.\");\n return;\n }\n\n user = new User();\n user.setId(database.userDao().findMaxId() + 1);\n user.setFullName(edtFullName.getText().toString());\n user.setEmail(edtEmail.getText().toString());\n user.setPassword(edtPassword.getText().toString());\n\n database.userDao().insert(user);\n\n Intent intent = new Intent(this, LoginActivity.class);\n intent.putExtra(\"user\", user);\n startActivity(intent);\n }", "title": "" }, { "docid": "66991037f43e0385100dbda2a1fecdde", "score": "0.6463574", "text": "public void createUserAccount(UserAccount account);", "title": "" }, { "docid": "b304e7daca1f0faef8bb261e427e5072", "score": "0.6427666", "text": "String addAccount(UserInfo userInfo);", "title": "" }, { "docid": "6d204b66c8ba6d332ca24a52ce3aae0a", "score": "0.6412077", "text": "public void addAccount(BankAccount newAccount) { \n accounts.add(newAccount); // Insere no final do vetor.\n }", "title": "" }, { "docid": "14e266d7e294ad7c1a79902bff4dd48a", "score": "0.64081854", "text": "private void addToDB(String CAlias, String CPwd, String CFirstName,\n String CLastName, String CStreet, String CZipCode, String CCity,\n String CEmail)\n {\n con.driverMysql();\n con.dbConnect();\n \n try \n {\n sqlStatement=con.getDbConnection().createStatement();\n sqlString=\"INSERT INTO customer (CAlias, CFirstName, CLastName, CPwd, \"\n + \"CStreetHNr, CZipCode, CCity, CEmail, CAccessLevel)\"\n + \" VALUES\"\n + \"('\" + CAlias + \"', '\" + CFirstName + \"', '\" + CLastName\n + \"', '\" + CPwd + \"', '\" + CStreet + \"', '\" \n + CZipCode + \"', '\" + CCity + \"', '\" + CEmail + \"', 1);\";\n \n sqlStatement.executeUpdate(sqlString);\n sqlString=null;\n con.getDbConnection().close();\n } \n catch (Exception ex) \n {\n error=ex.toString();\n }\n }", "title": "" }, { "docid": "e2bc098f4b32f14e89cfa055bd9fa848", "score": "0.6368542", "text": "public boolean add(Account entity) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "63afc3afd00fab48e1278d5f47c0fbef", "score": "0.6367872", "text": "@Override\r\n\tpublic boolean create(Account newAccount) {\n\t\treturn daoref.create(newAccount);\r\n\t}", "title": "" }, { "docid": "9cee0ed8fbc08e103a73f7201bcbdff5", "score": "0.63474363", "text": "public boolean add(Account account) {\n\t\t\n\t\tif (find(account) != -1 || !account.getDateOpen().isValid()) {\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < accounts.length; i++) {\n\t\t\tif (accounts[i] == null) {\n\t\t\t\taccounts[i] = account;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tsize++;\n\t\t\n\t\t// Check whether the account database is full or not\n\t\tif (size%5 == 0) {\n\t\t\tgrow();\n\t\t}\n\t\t\n\t\treturn true;\n\t\n\t}", "title": "" }, { "docid": "ef453601f93702cb2771e513e194889e", "score": "0.63303393", "text": "void add(User user) throws SQLException;", "title": "" }, { "docid": "b5d7a95224241ea43b1bac0da5d722b3", "score": "0.6323054", "text": "@Override\r\n\tpublic boolean createAccount(Account account) {\n\t\treturn dao.createAccount(account);\r\n\t}", "title": "" }, { "docid": "a293c1834ca16c51ee017121e8909161", "score": "0.62887084", "text": "public void addAccount(Person p, Account a);", "title": "" }, { "docid": "4846bae3d0c1eb5d56a00e64f303e7da", "score": "0.6284519", "text": "int insert(Account record);", "title": "" }, { "docid": "4846bae3d0c1eb5d56a00e64f303e7da", "score": "0.6284519", "text": "int insert(Account record);", "title": "" }, { "docid": "df4fa2ec1afb7989621f66785977bf06", "score": "0.62635124", "text": "public void createAccount(String acctId, String pass, String cardNo, String email) {\n accountId = acctId;\n password = pass;\n cardNumber = cardNo;\n customerEmail = email;\n \n try {\n //conect to database\n Class.forName(\"com.mysql.jdbc.Driver\");\n con = DriverManager.getConnection(\"jdbc:mysql://localhost:3306/make_order_request\", \"root\", \"admin\");\n Statement mystmt = con.createStatement();\n\n //write SQL query to update code in database\n String query = \"INSERT INTO customer_account(account_id, password, card_no, customer_email) VALUES (?,?,?,?)\";\n PreparedStatement ps = con.prepareStatement(query);\n ps.setString(1, accountId);\n ps.setString(2, password);\n ps.setInt(3, Integer.parseInt(cardNumber));\n ps.setString(4, customerEmail);\n\n ps.executeUpdate();\n\n return;\n\n } catch (Exception e) {\n e.printStackTrace();\n \n }\n\n }", "title": "" }, { "docid": "64e3e6d8fe201dfa82dcda645a1cfac8", "score": "0.6252556", "text": "public static void addAccount(Account account) throws Exception\n\t{\n\t\tif(Application.getAccountLibrary().getAccount(account.getUsername()) == null)\n\t\t{\n\t\t\tif(!Application.getAccountLibrary().addAcount(account))\n\t\t\t{\n\t\t\t\tthrow new Exception(\"Failed to add account\");\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tthrow new Exception(\"Username already taken\");\n\t\t}\n\t}", "title": "" }, { "docid": "bbcfe302563e21c29e432f7069e72b00", "score": "0.62086374", "text": "@Override\r\n\tpublic UserAccount add(UserAccount userAccount) {\n\t\tConnection con = MysqlDatabase.getInstance().getConnection();\r\n\t\tUserAccount ua = null;\r\n\t\ttry {\r\n\t\t\tPreparedStatement ps = con.prepareStatement(Add, PreparedStatement.RETURN_GENERATED_KEYS);\r\n\t\t\tps.setInt(1, userAccount.getUser().getId());\r\n\t\t\tps.setInt(2, userAccount.getAccount().getId());\r\n\t\t\tps.setString(3, userAccount.getPassword());\r\n\t\t\tps.setInt(4, userAccount.getRole());\r\n\t\t\tint cnt = ps.executeUpdate();\r\n\t\t\tif (cnt > 0) {\r\n\t\t\t\tResultSet rs = ps.getGeneratedKeys();\r\n\t\t\t\tif (rs.next()) {\r\n\t\t\t\t\tua = get(rs.getInt(1));\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tcon.close();\r\n\t\t} catch (SQLException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn ua;\r\n\t}", "title": "" }, { "docid": "cb48568862e382eeaa33003735c57291", "score": "0.6203338", "text": "public boolean add(String username, String password, String email) {\n Accounts a = new Accounts(username, password, email);\n return crudInterface.add(a);\n\n }", "title": "" }, { "docid": "7039813264285e8518af11e928d417d2", "score": "0.6177978", "text": "public void addAccount(Account acct){\n int i = numberOfAccounts++; // Each time we addAccount..\n accounts[i] = acct; //..we store it to the account array.\n \n }", "title": "" }, { "docid": "cfb3c47b6ec71a5e3437d9907bee2704", "score": "0.61643153", "text": "@Override\r\n\tpublic boolean createAccount(Account account) throws Exception {\n\t\tboolean flag = false;\r\n\t\ttry {\r\n\t\t\tflag = this.dao.createAccount(account);\r\n\t\t}catch(Exception e) {\r\n\t\t\tthrow e;\r\n\t\t}finally {\r\n\t\t\tthis.dbc.close();\r\n\t\t}\r\n\t\treturn flag;\r\n\t}", "title": "" }, { "docid": "45dda82f8d7407f46a7329b23bf31786", "score": "0.6164311", "text": "public void addUser() throws AccountException {\n System.out.println(\"----------------- Add User -----------------\");\n System.out.print(\"Account: \");\n String username = this.checkUsername(); // Call method to check input of username\n\n System.out.print(\"Password: \");\n String password = this.checkEmpty(\"Password\"); // Call method to check input of password\n\n System.out.print(\"Name: \");\n String name = this.checkEmpty(\"Name\"); // Call method to check input of name\n\n System.out.print(\"Phone: \");\n String phone = this.checkPhone(); // Call method to check nput of phone\n\n System.out.print(\"Email: \");\n String email = this.checkEmail(); // Call method to check input of email\n\n System.out.print(\"Address: \");\n String address = this.checkEmpty(\"Address\"); // Call method to check input of address\n\n System.out.print(\"DOB: \");\n Date dob = this.checkDate(); // Call method to check input of dob\n\n // Add new user and print success if created\n this.addUser(username, password, name, phone, email, address, dob);\n System.out.println(\"Create account success.\");\n }", "title": "" }, { "docid": "4b8decd7741ea5303d09d921792c4a27", "score": "0.61585003", "text": "boolean save(Account account);", "title": "" }, { "docid": "ba58516934ae10e535fa8ffb2909c080", "score": "0.61534804", "text": "public void add(CarerAccount acc) {\n CarerAccounts.add(acc);\n }", "title": "" }, { "docid": "2eb74bdb9f4707db2aa2ce4e75457b08", "score": "0.6146803", "text": "@RequestMapping(value = \"/addAccount\", method = RequestMethod.POST)\n public AccountCredentials addAccount(@RequestBody AccountCredentials acc) {\n accDB.save(acc);\n\n return acc;\n }", "title": "" }, { "docid": "dfa6fd14e1385f7689e1e95974ccfd11", "score": "0.61421525", "text": "public boolean add(Account account) { \r\n\t\t// Accounts is full, increase the size\r\n\t\tif ( size == accounts.length ) {\r\n\t\t\tgrow(); \r\n\t\t}\r\n\t\t\r\n\t\t//add the account to the array\r\n\t\tfor ( int i = 0; i < accounts.length; i++) {\r\n\t\t\tif ( accounts[i] == null ) {\r\n\t\t\t\taccounts[i] = account;\r\n\t\t\t\tsize++; \r\n\t\t\t\tbreak;\r\n\t\t\t} else if ( accounts[i].equals(account) ) {\r\n\t\t\t\tSystem.out.println(\"Account is already in the database.\");\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "4e9164085fdc85a5d8a297e2d4777c2d", "score": "0.6126533", "text": "@Override\n\tpublic void addTransactionToDatabase(Transaction trans) throws SQLException {\n\t\tConnection connect = db.getConnection();\n\t\tString insertQuery = \"insert into transaction_history values(default, ?, ?, ?, now())\";\n\t\tPreparedStatement prepStmt = connect.prepareStatement(insertQuery);\n \n\t\t\tprepStmt.setInt(1, trans.getAccountId());\n\t\t\tprepStmt.setString(2, trans.getUsername());\n\t\t\tprepStmt.setDouble(3, trans.getAmount());\n\t\t\tprepStmt.executeUpdate();\n\t}", "title": "" }, { "docid": "b1dec7bf458c59c3c68d98aa34ca88a6", "score": "0.61090547", "text": "AccountModel addByCustomer(AccountModel account,String customerId) throws AccountException, CustomerException;", "title": "" }, { "docid": "27495fee2ed2fb87a5253f439554770e", "score": "0.61019874", "text": "void save(Account account);", "title": "" }, { "docid": "1d5c6265c2027a1a5ff50014b86a604b", "score": "0.60959995", "text": "Account save(Account account);", "title": "" }, { "docid": "3235c9e63639bc92d6cd2eb1f765fbe2", "score": "0.60917974", "text": "@Override\r\n\tpublic int addAccntDao(Account ac) {\n\t\treturn dao.accountCreation(ac);\r\n\t}", "title": "" }, { "docid": "e6a7691acc91bee6e89619de46c677aa", "score": "0.6078997", "text": "void addNewAccountToFile(Account newAccount);", "title": "" }, { "docid": "7b78026ea4224102072ee0cf76240a00", "score": "0.60773903", "text": "@Override\n\tpublic void createAccount(Account p) {\n\t\t\n\t\ttry {\n\t\t\tConnection con = conUtil.getConnection();\n\t\t\t//To use our functions/procedure we need to turn off autocommit\n\t\t\tcon.setAutoCommit(false);\n\t\t\t\n\t\t\tString deleteFromTable = \"DELETE FROM accounts WHERE owner_id='8'\";\n\t try (Connection conn = conUtil.getConnection();\n\t PreparedStatement pstmt = conn.prepareStatement(deleteFromTable)) {\n\n\t // set the corresponding param\n\t pstmt.setInt(1, p.getOwner_id());\n\t // execute the delete statement\n\t pstmt.executeUpdate();\n\n\t } catch (SQLException e) {\n\t System.out.println(e.getMessage());\n\t }\n\t\t\t\n\t\t\tString sql = \"insert into accounts( owner_id, balance ) values (?,?)\";\n\t\t\tCallableStatement cs = con.prepareCall(sql);\n\t\t\t\n\t\t\tcs.setInt(1, p.getOwner_id());\n\t\t\tcs.setDouble(2, p.getBalance());\n\t\t\t\n\t\t\tcs.execute();\n\t\t\t\n\t\t\tcon.setAutoCommit(true);\n\t\t\t\n\t\t} catch(SQLException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "c5764f8f67620ac1745bda98b7207ee0", "score": "0.60729533", "text": "Account create();", "title": "" }, { "docid": "7b64f167611bf13cf0a1b32a9f9151df", "score": "0.6059739", "text": "public void addAccount(String accountNumber, String owner, BigDecimal startBalance) throws SQLException {\r\n\r\n\t\ttry (Connection connection = dbAdministration.getConnection();\r\n\t\t\t\tPreparedStatement preparedStatement = connection\r\n\t\t\t\t\t\t.prepareStatement(\"INSERT INTO account VALUES (?,?,?)\")) {\r\n\t\t\tint id = dbAdministration.getEntryCount(\"account\") + 1;\r\n\t\t\tpreparedStatement.setInt(1, id);\r\n\t\t\tpreparedStatement.setString(2, owner);\r\n\t\t\tpreparedStatement.setString(3, accountNumber);\r\n\t\t\t// Datensatz in die Datenbanktabelle schreiben\r\n\t\t\tpreparedStatement.execute();\r\n\t\t\tlogger.info(\"SQL-Statement ausgeführt: \" + \"INSERT INTO account VALUES (\" + id + \", \" + owner + \", \"\r\n\t\t\t\t\t+ accountNumber + \")\");\r\n\t\t\tlogger.info(\"Neues Konto angelegt. Besitzer: \" + owner + \", Kontonr.: \" + accountNumber + \", Startkapital: \"\r\n\t\t\t\t\t+ startBalance);\r\n\t\t\tif (startBalance.compareTo(BigDecimal.ZERO) == 1) {\r\n\t\t\t\t// Wenn das angeforderte Startguthaben > 0 ist, wird es dem\r\n\t\t\t\t// Konto überwiesen\r\n\t\t\t\tdaTransaction.addTransaction(\"0000\", accountNumber, startBalance, \"STARTGUTHABEN\");\r\n\t\t\t}\r\n\t\t\t// Die reservierte Nummer gehört jetzt zu einem Konto, daher\r\n\t\t\t// kann die Reservierung aufgehoben werden\r\n\t\t\treservedNumbers.remove(accountNumber);\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(e);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "33739bf19e7ad15f204b7866f64d61cd", "score": "0.60562205", "text": "public void insertUser() {}", "title": "" }, { "docid": "0b82d10f015c4f004ac39bfa71596633", "score": "0.60495096", "text": "@Override\n\tpublic void addAccount(Bank bank, Account account) {\n\t\t\n\t\tbank.addAccount(account);\n\t}", "title": "" }, { "docid": "3994a025d1f063b457cb0a945410f147", "score": "0.60290354", "text": "void addUser(User user);", "title": "" }, { "docid": "3994a025d1f063b457cb0a945410f147", "score": "0.60290354", "text": "void addUser(User user);", "title": "" }, { "docid": "f981345f3a30830bf42c57c9763ac03a", "score": "0.60262114", "text": "@Override\n public void addAccount(Account account) throws DuplicateAccountException {\n if (accounts.containsValue(account)) {\n throw new DuplicateAccountException(account.id());\n }\n else {\n accounts.put(account.id(), account);\n }\n }", "title": "" }, { "docid": "492d35aada760b3948942771ef1cfa6b", "score": "0.60203534", "text": "@Path(\"account\")\n @Service({\"account\"})\n public ResponseMessage addAccount(Account account) {\n return asi.addAccount(account);\n }", "title": "" }, { "docid": "ed03092ebcdafa503f1110e1a6bc9926", "score": "0.6014814", "text": "@Override\n\tpublic Account createAccount(Account account) {\n\t\tif(account != null) {\n\t\t\taccountList.add(account);\n\t\t\treturn account;\n\t\t}\n\t\t\n\t\treturn null;\n\t}", "title": "" }, { "docid": "9675c7ed57e0c72db200988d10923c7e", "score": "0.60139376", "text": "public void addUser(User user);", "title": "" }, { "docid": "980f74531d5f4e0b7e3f10fa225afdbb", "score": "0.6000297", "text": "@Override\n public void createOnlineAccount(String name, \n String ssn, String id, String psw)\n {\n final String url = \n \"jdbc:mysql://mis-sql.uhcl.edu/<username>?useSSL=false\";\n \n Connection connection = null;\n Statement statement = null;\n ResultSet resultSet = null;\n \n try\n {\n \n //connect to the databse\n connection = DriverManager.getConnection(url, \n db_id, db_password);\n connection.setAutoCommit(false);\n //crate the statement\n statement = connection.createStatement();\n \n //do a query\n resultSet = statement.executeQuery(\"Select * from onlineAccount \"\n + \"where id = '\" + id + \"' or ssn = '\"\n + ssn + \"'\");\n \n if(resultSet.next())\n {\n //either the ssn is used or the id is used\n System.out.println(\"Account creation failed\");\n }\n else\n {\n //insert a record into onlineAccount\n int r = statement.executeUpdate(\"insert into onlineAccount values\"\n + \"('\" + name + \"', '\" + id + \"', '\" + ssn + \"', '\"\n + psw +\"')\");\n System.out.println(\"Account creation successful!\");\n System.out.println();\n }\n connection.commit();\n connection.setAutoCommit(true);\n \n }\n catch (SQLException e)\n {\n System.out.println(\"Something wrong during the creation process!\");\n e.printStackTrace();\n }\n finally\n {\n //close the database\n try\n {\n resultSet.close();\n statement.close();\n connection.close();\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n }\n \n }", "title": "" }, { "docid": "d75bf4f3525eff1584a761589cef63c4", "score": "0.59963655", "text": "public void saveOrUpdate(Account account) {\n accountRepository.save(account);\n }", "title": "" }, { "docid": "ebabaaa46a629feb202dab21ae87712e", "score": "0.59938115", "text": "private void insert() {//将数据录入数据库\n\t\tUser eb = new User();\n\t\tUserDao ed = new UserDao();\n\t\teb.setUsername(username.getText().toString().trim());\n\t\tString pass = new String(this.pass.getPassword());\n\t\teb.setPassword(pass);\n\t\teb.setName(name.getText().toString().trim());\n\t\teb.setSex(sex1.isSelected() ? sex1.getText().toString().trim(): sex2.getText().toString().trim());\t\n\t\teb.setAddress(addr.getText().toString().trim());\n\t\teb.setTel(tel.getText().toString().trim());\n\t\teb.setType(role.getSelectedIndex()+\"\");\n\t\teb.setState(\"1\");\n\t\t\n\t\tif (ed.addUser(eb) == 1) {\n\t\t\teb=ed.queryUserone(eb);\n\t\t\tJOptionPane.showMessageDialog(null, \"帐号为\" + eb.getUsername()\n\t\t\t\t\t+ \"的客户信息,录入成功\");\n\t\t\tclear();\n\t\t}\n\n\t}", "title": "" }, { "docid": "c4b0ba7ca04f2da1eb12e50c828f4ada", "score": "0.5990351", "text": "String insertClientAccount(ClientAccount account) throws ServiceException;", "title": "" }, { "docid": "ba7358ce68c185503082ee8e80905944", "score": "0.59757245", "text": "public void AddToAccountInfo();", "title": "" }, { "docid": "6ebf1dacb949d53b45aa07d89d01c270", "score": "0.5958093", "text": "public static void addAccount(String accType, float balance, String fName, String lName, float interest) {\n\t\tStatement stmt;\n\t\ttry {\n\t\t\tstmt = con.getConnection().createStatement();\n\t\t\t// insert the data\n\t\t\t\n\t\t\tjava.sql.Date currentDate = new java.sql.Date(Calendar.getInstance().getTime().getTime());\n\n\t\t\t\n\t\t\tstmt.executeUpdate(\"INSERT INTO ser322.account \" + \"VALUES (NULL, '\" + accType + \"', \" + balance + \", '\" + currentDate + \"'); \" +\n\t\t\t\"SET @last_id_in_account = Last_INSERT_ID();\" + \n\t\t\t\"INSERT INTO interest_rate VALUES(@last_id_in_account, (SELECT accType FROM account WHERE accID = @last_id_in_account),\" + interest + \");\");\n\t\t\t\n\t\t} catch (SQLException e) {\n\t\t\tSystem.out.println(\"[ERROR] - Add Account Error\");\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\tAccountsManager.populateFromSQL();\n\t\tAccountsPanel.refreshTabel(); \n\t \n\n\t}", "title": "" }, { "docid": "d1f3ccc52d002600ba755252c6c0aba0", "score": "0.59543705", "text": "public static String addUser(String name, String pass, String email, String fname, String lname, String account){\n String sql = \"insert into users(u_name,u_pass,u_email,u_fname,u_lname,u_accountnum) values ('\" + name + \"'\" + \",'\" + pass + \"'\" + \",'\"\n + email + \"'\" + \",'\" + fname + \"'\" + \",'\" + lname + \"'\" + \",'\" + account + \"')\";\n return sql;\n }", "title": "" }, { "docid": "34d42d33b74d79cac7919030fbbc2488", "score": "0.5946616", "text": "@Override\n\tpublic void createSavingAccount(Account as) {\n\t\ttry {\n\t\t\tConnection con = conUtil.getConnection();\n\t\t\t//To use our functions/procedure we need to turn off autocommit\n\t\t\tcon.setAutoCommit(false);\n\t\t\tString saving = \"insert into savings( owner_id, balance) values (?,?)\";\n\t\t\tCallableStatement chaccount = con.prepareCall(saving);\n\t\t\n\t\t\tchaccount.setInt(1,as.getOwner_id() );\n\t\t\tchaccount.setDouble(2, as.getBalance());\n\t\t\tchaccount.execute();\n\t\t\t\n\t\t\tcon.setAutoCommit(true);\n\t\t\t\n\t\t} catch(SQLException e) {\n\t\t\t\n\t\t\tSystem.out.println(\"In CheckingDaoDB Exception\");\n\t\t\te.printStackTrace();\n\t\t}\n}", "title": "" }, { "docid": "c32a460b9b2f2246c844ce2d9befb6d4", "score": "0.5944918", "text": "public void insert() {\n\t\tSession session = DBManager.getSession();\n\t\tsession.beginTransaction();\n\t\tsession.save(this);\n\t\tsession.getTransaction().commit();\n\t}", "title": "" }, { "docid": "23c74abd026b7c4b880013f34077d79b", "score": "0.5942215", "text": "public void saveAccount() {\n\n }", "title": "" }, { "docid": "5bc25ba48e7fbd01e2f6bb12b1e0e034", "score": "0.59412104", "text": "@Override\n public void addAccount(Account account) throws DuplicateAccountException {\n if (accounts.containsKey(account.getId()))\n throw new DuplicateAccountException(account.getId());\n accounts.put(account.getId(),account);\n }", "title": "" }, { "docid": "7c9f0c80799346c2f612a33ba5b78617", "score": "0.5937131", "text": "public boolean createUser(Account account, Enrollee enrollee) throws DBException {\n boolean result = true;\n PreparedStatement statement = null;\n ResultSet resultSet;\n try {\n connection = DBManager.getConnection();\n connection.setAutoCommit(false);\n connection.setTransactionIsolation(Connection.TRANSACTION_READ_COMMITTED);\n\n statement = connection.prepareStatement(CREATE_ACCOUNT);\n statement.setString(1, account.getEmail());\n statement.setString(2, account.getPassword());\n statement.setInt(3, account.getRole_id().ordinal());\n statement.setBoolean(4, account.is_banned());\n statement.executeUpdate();\n\n statement = connection.prepareStatement(GET_ACCOUNT_ID_BY_EMAIL);\n statement.setString(1, account.getEmail());\n resultSet = statement.executeQuery();\n if (resultSet.next()) {\n account.setId(resultSet.getLong(Field.ID));\n }\n\n statement = connection.prepareStatement(CREATE_ENROLLEE);\n statement.setString(1, enrollee.getFirst_name());\n statement.setString(2, enrollee.getLast_name());\n statement.setString(3, enrollee.getPatronymic());\n statement.setInt(4, enrollee.getCertificate_score());\n statement.setLong(5, account.getId());\n statement.setLong(6, enrollee.getLevel_id());\n statement.executeUpdate();\n connection.commit();\n } catch (SQLException e) {\n DBManager.rollback(connection);\n LOG.error(e.getMessage(), e);\n throw new DBException(e.getMessage(), e);\n } finally {\n DBManager.closeStatement(statement);\n DBManager.closeConnection(connection);\n }\n return result;\n }", "title": "" }, { "docid": "87043e80e00ffb8c35d9c8df171b98b8", "score": "0.59140086", "text": "public void insertDB() {\n //defines Connection con as null\n Connection con = MainWindow.dbConnection();\n try {\n //tries to create a SQL statement to insert values of a User object into the database\n String query = \"INSERT INTO User VALUES ('\" + userID + \"','\" + password + \"','\" + firstName + \"','\" +\n lastName + \"');\";\n Statement statement = con.createStatement();\n statement.executeUpdate(query);\n //shows a message that a new user has been added successfully\n System.out.println(\"new user has been added into the data base successfully\");\n } catch (Exception e) {\n //catches exceptions and show message about them\n System.out.println(e.getMessage());\n Message errorMessage = new Message(\"Error\", \"Something wrong happened, when there was a attempt to add user into the database. Try again later.\");\n }//end try/catch\n //checks if Connection con is equaled null or not and closes it.\n MainWindow.closeConnection(con);\n }", "title": "" }, { "docid": "42757fbef8ee966f58151be92d0bf43a", "score": "0.59127074", "text": "int insert(FinanceAccount record);", "title": "" }, { "docid": "03c46eb7bd3f6369da07665c2bd56b03", "score": "0.5910211", "text": "@Override\r\n\tpublic void add() {\n\t\tif(alreadyAdded()) {\r\n\t\t\tJOptionPane.showMessageDialog(null, \"Member is already added\");\r\n\t\t}else {\r\n\t\t\t\r\n\t\t\t\ttry(Connection connection= db.getConnection();) {\r\n\t \t\r\n\t\t\t\t\r\n\t\t\t\tString addString=\"INSERT INTO members VALUES(?,?,?,?)\";\r\n\t\t\t\tpreparedStatement=connection.prepareStatement(addString);\r\n\t\t\t\tpreparedStatement.setString(1, super.getIdString());\r\n\t\t\t\tpreparedStatement.setString(2, super.getNameString());\r\n\t\t\t\tpreparedStatement.setString(3, super.getSurnameString());\r\n\t\t\t\tpreparedStatement.setString(4, super.getEmailString());\r\n\t\t\t\t\r\n\t\t\t\tpreparedStatement.executeUpdate();\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t} catch (SQLException e) {\r\n\t\t\t\tJOptionPane.showMessageDialog(null, \"Something went wrong\");\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t}\r\n\t\t \r\n\t\t\r\n\t}", "title": "" }, { "docid": "a76ff6f57ba056503e658ae165316989", "score": "0.5896736", "text": "@RequestMapping(method = RequestMethod.POST, value = \"/branch/{branchCode}/accounts\")\n public void addNewAccount(@RequestBody Account account, @PathVariable int branchCode){\n accountService.addNewAccount(account, branchCode);\n }", "title": "" }, { "docid": "c5c6b573f9f5913f1004b0369418877b", "score": "0.5887598", "text": "public static void addAccount (int customerId, int accountId, Database d)\r\n\t{\r\n\r\n\t\tCustomer c = d.getCustomer(customerId);\r\n\r\n\t\tc.AccountList.add(accountId);\r\n\r\n\t}", "title": "" }, { "docid": "fd4fc12a9ac85bf4770c4d195f4bc1fe", "score": "0.5866741", "text": "private void createAccount() {\n mAuth.createUserWithEmailAndPassword(mTextEmail.getText().toString(), mTextPassword.getText().toString()).addOnCompleteListener(this, new OnCompleteListener<AuthResult>() {\n @Override\n public void onComplete(@NonNull Task<AuthResult> task) {\n Log.d(TAG, \"createUserWithEmail:onComplete:\" + task.isSuccessful());\n\n if(!task.isSuccessful()){\n Toast.makeText(SignInActivity.this, \"Account creation failed!\", Toast.LENGTH_SHORT).show();\n } else {\n Toast.makeText(SignInActivity.this, \"Account creation success!\", Toast.LENGTH_SHORT).show();\n }\n }\n });\n }", "title": "" }, { "docid": "939230ea702768db42fa6b5b687a99ac", "score": "0.5849279", "text": "public abstract void createAccount(final GDataAccount account)\n throws ServiceException;", "title": "" }, { "docid": "713cc7bb1501737c339b5cbe9bd1f598", "score": "0.58475643", "text": "com.soa.SolicitarCreditoDocument.SolicitarCredito addNewSolicitarCredito();", "title": "" }, { "docid": "6204b30e39ac506f50e67ee7b13aef38", "score": "0.58437794", "text": "void insert(CusBankAccount record);", "title": "" }, { "docid": "66515000835082e656212f2a2df71f76", "score": "0.58425957", "text": "int insert(ShopAccount record);", "title": "" }, { "docid": "334c401dcf730ad5f08f52642cedd04a", "score": "0.5832337", "text": "private void addUserToDatabase( DatabaseReference postRef) {\n\n // check username, password cannot be null and may not have spaces\n final String usernameChecked = checkNullString(usernameText.getText().toString());\n final String password = checkNullString(passwordText.getText().toString());\n final String confirmPassword = checkNullString(confirmPasswordText.getText().toString());\n\n if (usernameChecked == null || password == null) {\n Toast.makeText(this, \"Entries may not be null, and may not have spaces!\", Toast.LENGTH_LONG).show();\n return;\n }\n\n if (!password.equals(confirmPassword)){\n Toast.makeText(this, \"Passwords do not match!\", Toast.LENGTH_LONG).show();\n return;\n }\n\n if (users.contains(usernameChecked)){\n Toast.makeText(this, \"Username is already taken\", Toast.LENGTH_LONG).show();\n return;\n }\n\n // initialize data for SentCount\n postRef\n .child(\"Users\")\n .child(usernameChecked)\n .runTransaction(new Transaction.Handler() {\n\n @NonNull\n @Override\n public Transaction.Result doTransaction(@NonNull MutableData currentData) {\n User newUser = new User(usernameChecked, password);\n currentData.setValue(newUser);\n return Transaction.success(currentData);\n }\n\n @Override\n public void onComplete(@Nullable DatabaseError error, boolean committed,\n @Nullable DataSnapshot currentData) {\n Log.d(TAG, \"postTransaction:onComplete:\" + currentData);\n Toast.makeText(getApplicationContext(), \"Sign up successful!\", Toast.LENGTH_LONG);\n finish();\n }\n });\n }", "title": "" }, { "docid": "87ce1d39385cb3af870b265fc3ef3f88", "score": "0.58266526", "text": "void addBankAccount(Klant klant) throws SessionExpiredException, IllegalArgumentException, RemoteException;", "title": "" }, { "docid": "98a840db701f2470fae010d1cad51c3b", "score": "0.5819961", "text": "@Test\r\n\tpublic void addToDb() {\r\n\t\tservice.save(opinion);\r\n\t\tassertNotEquals(opinion.getId(), 0);\r\n\t\tassertTrue(service.exists(opinion.getId()));\r\n\t}", "title": "" }, { "docid": "b4291637e4eb7e640659767c8e006302", "score": "0.58140486", "text": "public int addCreditAccount(long pNr) throws SQLException {\r\n\t\tint accountId = -1;\r\n\r\n\t\t_db.connect();\r\n\r\n\t\tCustomer _cust = _db.findCustomer(pNr);\r\n\t\tif (_cust != null) {\r\n\t\t\tAccount _ac = new CreditAccount(0, 0.5, 7, 5000);\r\n\t\t\taccountId = _db.addAccount(_ac, pNr);\r\n\t\t}\r\n\r\n\t\t_db.disconnect();\r\n\r\n\t\treturn accountId;\r\n\t}", "title": "" }, { "docid": "8d38c7869d7c43b8ebd3b8ab5b2cd840", "score": "0.5810098", "text": "public boolean add(BankAccount newAccount) {\n\t\tString name = newAccount.getName();\n\t\tint number = newAccount.getAccountNumber();\n\n\t\t// Checking if account name already exists\n\t\tif(lookUp(name) == null)\n\t\t\treturn false;\n\n\t\t// Checking if account number already exists\n\t\tif(lookUp(number) == null)\n\t\t\treturn false;\n\n\t\t// Inserting the account to both trees\n\t\tnamesTree.insert(newAccount);\n\t\taccountNumbersTree.insert(newAccount);\n\t\treturn true;\n\n\t}", "title": "" }, { "docid": "53fc3b217274448898f03766684541db", "score": "0.58046275", "text": "public static void registerAccount(Account account) {\r\n accounts.put(account.getAccountId(), account);\r\n }", "title": "" }, { "docid": "21cef03ccf0f715c0b52ed18f9c45e4f", "score": "0.58016664", "text": "@Test\n\tpublic void addAccountTestSuccess() {\n\t\tAccount account = new Account();\n\t\taccount.setName(\"Vikas\");\n\t\taccount.setAmount(2000);\n\t\tString requestBody = gson.toJson(account);\n\n\t\tRequestSpecification request = RestAssured.given();\n\t\trequest.body(requestBody);\n\t\tResponse response = request.post(\"/account\");\n\t\tAssertions.assertNotNull(response.asString());\n\t}", "title": "" }, { "docid": "ba44704ec4ef7b151e9c8051d454ef3f", "score": "0.58010507", "text": "@Override\n public void addAccount(Account account) throws DuplicateAccountException {\n\n if(accountMap.keySet().contains(account.getId())){\n throw new DuplicateAccountException(account.getId());\n }\n accountMap.put(account.getId(), account);\n }", "title": "" }, { "docid": "7d692a36fe193c368779d80c73840e09", "score": "0.5797467", "text": "public void createAccount() {\n\t\tSystem.out.print(\"Enter Name: \");\n\t\tString name = nameCheck(sc.next());\n\t\tSystem.out.print(\"Enter Mobile No.: \");\n\t\tlong mobNo = mobCheck(sc.nextLong());\n\t\tlong accNo = mobNo - 1234;\n\t\tSystem.out.print(\"Enter Balance: \"); \n\t\tfloat balance = amountCheck(sc.nextFloat());\n\t\tuserBean BeanObjCreateAccountObj = new userBean(accNo, name, mobNo, balance);\n\t\tSystem.out.println(\"Account created with Account Number: \" +accNo);\n\t\tServiceObj.bankAccountCreate(BeanObjCreateAccountObj);\n\t\t\n\t\n\t}", "title": "" }, { "docid": "c6c77557c8bc3f6308422f5c17da1707", "score": "0.5793779", "text": "public static void addNewUser(String name, String email, int accountLevel)\n\t{\n\t\tString[] names = name.split(\" \");\n\t\tString fname = names[0];\n\t\tString lname = names[1];\n\t\tString sql = \"INSERT INTO UserInfo (firstname, lastname, email, accountlevel) \"\n\t\t\t\t+ \"VALUES (?, ?, ?, ?)\";\n\t\ttry(Connection conn = DriverManager.getConnection(db, user, pwd);\n\t\t\t\tPreparedStatement ps = conn.prepareStatement(sql);)\n\t\t{\n\t\t\tps.setString(1, fname);\n\t\t\tps.setString(2, lname);\n\t\t\tps.setString(3, email);\n\t\t\tps.setInt(4, accountLevel);\n\t\t\tps.executeUpdate();\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "e013bb6a07350704335d35805d02d561", "score": "0.57904136", "text": "public void addMember(Account account) {\n\t\tthis.members.add(account);\n\t}", "title": "" }, { "docid": "de0bb1baebab229a682cdbd1dc5ffd9c", "score": "0.5789822", "text": "void addNewUser(User user, int roleId) throws DAOException;", "title": "" }, { "docid": "d2b26b85a83176eea298db0c2c8ef999", "score": "0.57891166", "text": "public void createAccount(){\n System.out.println(\"vi skal starte \");\n }", "title": "" }, { "docid": "79b217352356575891c2ced87840a62a", "score": "0.57875746", "text": "void addUser(BlogUser user) throws DAOException;", "title": "" }, { "docid": "848e39ce8257f593176868455a34c475", "score": "0.57851493", "text": "public static void addAccount(String user, String password)\r\n\t\t\tthrows IOException {\n\r\n\t\tFile file = getAccountFile();\r\n\r\n\t\tFileWriter fw = new FileWriter(file, true);\r\n\t\tBufferedWriter writer = new BufferedWriter(fw);\r\n\r\n\t\twriter.newLine();\r\n\t\twriter.write(user);\r\n\r\n\t\twriter.newLine();\r\n\t\twriter.write(password);\r\n\r\n\t\twriter.close();\r\n\t\tfw.close();\r\n\t\tfile = null;\r\n\t}", "title": "" }, { "docid": "8cbce39a0690aada086b1fad24fb9331", "score": "0.5782861", "text": "public boolean saveAccount(Account account)\n {\n PreparedStatement preparedStatement = null;\n try\n {\n preparedStatement = connection.prepareStatement(\n String.format(\"UPDATE %s.accounts SET balance=? WHERE id = ?;\",\n simpleEconomy.getConfig().getString(\"db.database\")));\n preparedStatement.setDouble(1, account.getBalance());\n preparedStatement.setInt(2, account.getId());\n preparedStatement.execute();\n return true;\n }\n catch (SQLException e)\n {\n e.printStackTrace();\n }\n return false;\n }", "title": "" }, { "docid": "463a32f61803c262d70fa7c46d018531", "score": "0.57807726", "text": "int createAccount(Account account);", "title": "" } ]
feb3b6a5c642ff94f69b68376bac33fb
Write values saved in this class out to DataOutput
[ { "docid": "15d511bd09b7c58bff0b794ba32d60d3", "score": "0.0", "text": "public void write(DataOutput out) throws IOException {\n //Write doc\n out.writeLong(getDocCount());\n out.writeLong(getFreq());\n out.writeDouble(getFreqSquared());\n out.writeDouble(getMean());\n out.writeDouble(getVariance());\n out.writeDouble(getSd());\n out.writeLong(getMin());\n out.writeLong(getMax());\n out.writeInt(getWordLength());\n }", "title": "" } ]
[ { "docid": "7ed42672c769d4dc3db76285a6e69262", "score": "0.7165075", "text": "@Override\r\n public String writeData() {\r\n return super.writeData() + \",\" + getNumGuns() + \",\" + getNumTorpedoes() + \",\" + getAircraft();\r\n }", "title": "" }, { "docid": "94af97ca0f665d45e713ac51a4e30d21", "score": "0.70053077", "text": "@Override\n public void write(DataOutput out) {\n }", "title": "" }, { "docid": "f995a8130a0cfc2cae5b022b25518ef1", "score": "0.6939124", "text": "@Override\n\tpublic void write(DataOutput arg0) throws IOException {\n\n\t}", "title": "" }, { "docid": "463a337aa481eaaa35ec82f1c170347c", "score": "0.6874932", "text": "@Override\n public void write(DataOutput out) throws IOException {\n out.writeDouble(this._currentValue);\n out.writeInt(this._valuesCombinedCount);\n }", "title": "" }, { "docid": "53f705692da74ec526da53caac09a45b", "score": "0.6778713", "text": "@Override\n\tpublic void write(DataOutput out) throws IOException {\n\n\t}", "title": "" }, { "docid": "dd88d6ecca35d5e1bc6e787dd98e3913", "score": "0.6680779", "text": "@Override\n\tpublic void writeOutput() {\n\t}", "title": "" }, { "docid": "5366cf5f17c66d76c24f6ead67529ece", "score": "0.6680436", "text": "@Override\n public void writeTo(DataOutputStream output) throws IOException {\n }", "title": "" }, { "docid": "21f097acd3640f31f884f11a5f9e093d", "score": "0.66107696", "text": "private void exportData(){\n writeData = false;\n\n //System.out.println(stationData[currentBacklog-1][currentStation-1][6]);\n FileWriter.addMeasurements(stationData[currentBacklog]);\n //FileWriter.addMeasurements(stationData[writeBacklog].clone());\n }", "title": "" }, { "docid": "25ac6e278612af9fc7c5d614461beec6", "score": "0.65149087", "text": "protected abstract void serializeData(RedoLogOutput out) throws IOException;", "title": "" }, { "docid": "d6faafc00df5229799e6394de3265587", "score": "0.64693356", "text": "protected void writeData(DataOutput output) throws IOException {\n output.write(getOperationStatus());\n output.writeInt(getListSize());\n\n for (int i = 0; i < names.length; i++)\n output.writeUTF(names[i]);\n }", "title": "" }, { "docid": "1b2de03ba42394e75c5d49389788bba3", "score": "0.64590585", "text": "public void writeValuesData(DataOutputStream dos, ObjectOutputStream oos) {\n\t\t\ttry {\n\n\t\t\t} finally {\n\t\t\t}\n\n\t\t}", "title": "" }, { "docid": "e997b10b329b8486bcedb4d43d9a15b1", "score": "0.64477146", "text": "public void write(DataOutput arg0) throws IOException {\n\n\t}", "title": "" }, { "docid": "21d754ca22b8e41b0fb185bb10811ad6", "score": "0.64368844", "text": "public void writeTo(DataOutputStream output) throws IOException {\n output.writeShort(type.getValue());\n output.writeFloat(x);\n output.writeFloat(y);\n output.writeFloat(rotation);\n }", "title": "" }, { "docid": "7c70e03cd9ae362ba7769a2d4f1a0024", "score": "0.64084256", "text": "void write(DataOutput out) throws IOException;", "title": "" }, { "docid": "9655c7985f66d37c2a5aa10ab822c631", "score": "0.6376472", "text": "public void write(DataOutput out) throws IOException {\n\t\tBytes.writeByteArray(out, this.value);\n\t}", "title": "" }, { "docid": "2b508d5d4e8ae0efdf4e09e3f874faec", "score": "0.6373055", "text": "public void save(DataOutput out) throws IOException {\r\n out.writeInt(cur_A);\r\n out.writeInt(max_A);\r\n out.writeInt(full_A);\r\n }", "title": "" }, { "docid": "9b267b495bb558b1ebd4e7976f3edc53", "score": "0.6366028", "text": "default void write(DataOutput out) throws IOException {store(out);}", "title": "" }, { "docid": "eb7d23f55f72cc9f3a696d50927c15dd", "score": "0.63449144", "text": "@Override\n public void write(DataOutput d) throws IOException {\n d.writeInt(true_count);\n d.writeInt(false_count);\n d.writeFloat(percentTrue);\n d.writeFloat(percentFalse);\n }", "title": "" }, { "docid": "884a50e37320fd191f6563bc2edebe4d", "score": "0.6317725", "text": "@Override\n\t\tpublic void write(DataOutput out) throws IOException {\n\t\t\tout.writeDouble(m_mean);\n\t\t\tout.writeDouble(m_std);\n\t\t}", "title": "" }, { "docid": "36c97d6ed7d05b2f3bdd4f397575ce6b", "score": "0.6311003", "text": "public abstract void toStream(DataOutput out) throws IOException;", "title": "" }, { "docid": "a765e031e9e88bdba03453223ad0e42f", "score": "0.63009226", "text": "public DataOutputStream output() {\r\n\t\treturn this.out;\r\n\t}", "title": "" }, { "docid": "215ff2b569a7df77628252202744a47a", "score": "0.6256933", "text": "void serialize(DataOutput out) throws IOException;", "title": "" }, { "docid": "7700c457efbd9749d6f3cc4d12af45f7", "score": "0.62327397", "text": "private void writeDataInternal() {\n\n try {\n\n FileOutputStream file = openFileOutput( \"PId_\" + pid + \"_2D_Fitts_Detailed_Trial_Data_Internal.csv\", Context.MODE_APPEND | Context.MODE_WORLD_READABLE);\n OutputStreamWriter out = new OutputStreamWriter(file);\n\n try {\n\n // some data do not include here so \" \" is used to fill in the blank\n out.write(\" \"+\",\"+pid + \",\" + \" \" + \",\" + \" \" + \",\" + \" \" + \",\"+ \" \"+ \",\" + \" \" + \",\" + \" \" + \",\"+\" \"+\",\"+\" \"+\",\"+ \" \"+\",\"+\" \"+\",\"+\" \"+\",\"+\" \"+\",\"+\" \"+\",\"+\" \"+\",\"+\" \"+\",\"+\" \"+\",\"+\" \"+\",\"+\" \" +\",\"+pressure + \",\" + targetX+ \",\" +targetY + \",\" + touchDownX + \",\" + RelativeTouchDownXfromTarget + \",\" + touchDownY + \",\" + RelativeTouchDownYfromTarget + \",\" +liftUpX + \",\" + \" \" + \",\" + RelativeLiftUpXfromTarget + \",\" + liftUpY + \",\" + \" \" + \",\" + RelativeLiftUpYfromTarget + \",\" + \" \"+ \",\" +\" \"+ \",\" + \" \" + \",\" + \" \" + \",\" + touchDownTimeStamp + \",\" + liftUpTimeStamp+ \",\" + \" \" + \",\"+ \" \" +\",\" + \" \" +\",\" + \" \" );\n out.write('\\n');\n out.close();\n\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n\n } catch (FileNotFoundException e) {\n\n e.printStackTrace();\n\n }\n }", "title": "" }, { "docid": "f22abca2c50fc3645fa05f1a03bded19", "score": "0.62198377", "text": "@Override\n public void writeTo(DataOutputStream stream) throws IOException {\n }", "title": "" }, { "docid": "e0e00015e626a7e2de4ad8e6469bec96", "score": "0.6196328", "text": "@Override\n\tpublic void write(DataOutput out) throws IOException {\n\t\tout.writeInt(value);\n\t}", "title": "" }, { "docid": "2a040462550d42a6697546c604bc5806", "score": "0.61594623", "text": "@Override\n\tpublic void write(DataOutput out) throws IOException {\n\t\tlastname.write(out);\n\t\tbirthyear.write(out);\n\t}", "title": "" }, { "docid": "ab9151c05854493113a13a1fa8b722e4", "score": "0.6136519", "text": "public static void WriteData() {\r\n if(recordingsData == null) return;\r\n FileOutputStream fos = null;\r\n ObjectOutputStream oos = null;\r\n try{\r\n fos = MainActivity.instance.openFileOutput(RECORDING_FILE, Context.MODE_PRIVATE);\r\n oos = new ObjectOutputStream(fos);\r\n oos.writeObject(recordingsData);\r\n oos.close();\r\n } catch (IOException e) { }\r\n }", "title": "" }, { "docid": "f225f5c83fc68b8650d6e6b406022f3b", "score": "0.61295146", "text": "@Override\r\n public void exportOriginalData() {\n try (PrintWriter writer = new PrintWriter(this.inputFile, \"UTF-8\")) {\r\n boolean FLAG = false;\r\n \r\n for(int i = 0 ; i < columnNames.length ; i ++){\r\n if (FLAG == false){\r\n writer.print(columnNames[i]);\r\n FLAG = true;\r\n }\r\n else{\r\n writer.print(\",\"+columnNames[i]);\r\n }\r\n\r\n }\r\n writer.println();\r\n \r\n for(int i=0; i<this.sizeOfRows; i++){\r\n for(int j=0; j<this.sizeOfCol; j++){\r\n if (colNamesType.get(j).equals(\"double\")){\r\n if (Double.isNaN(dataSet[i][j])){\r\n writer.print(\"\");\r\n }\r\n else{\r\n Object a = dataSet[i][j];\r\n writer.print( dataSet[i][j]);\r\n }\r\n }\r\n else if (colNamesType.get(j).equals(\"int\")){\r\n if (dataSet[i][j] == 2147483646.0){\r\n writer.print(\"\");\r\n }\r\n else{\r\n writer.print( Integer.toString((int)dataSet[i][j])+\"\");\r\n }\r\n }\r\n else{\r\n String str = dictionary.getIdToString((int)dataSet[i][j]);\r\n if(str == null){\r\n str = this.dictHier.getIdToString((int)dataSet[i][j]);\r\n }\r\n // DictionaryString dict = dictionary.get(j);\r\n // String str = dict.getIdToString((int)dataSet[i][j]);\r\n\r\n if (str.equals(\"NaN\")){\r\n writer.print(\"\");\r\n }\r\n else{\r\n writer.print(str);\r\n }\r\n }\r\n \r\n if(j!=this.sizeOfCol-1){\r\n writer.print(\",\");\r\n }\r\n }\r\n writer.println();\r\n }\r\n \r\n }catch(FileNotFoundException | UnsupportedEncodingException ex) {\r\n System.out.println(\"mexssage \"+ex.getMessage());\r\n }\r\n System.out.println(\"done orgiginal data\");\r\n }", "title": "" }, { "docid": "a435ab711cfe3f5ed007b4df51c3a556", "score": "0.61282194", "text": "public static void write() {\n wire.writeBulk(writeData);\r\n }", "title": "" }, { "docid": "34591a3e8123d876d2e97515d2ab873f", "score": "0.612159", "text": "public void write(StorableOutput dw);", "title": "" }, { "docid": "42f2fa0b69943eb53f63ada334a12780", "score": "0.6104353", "text": "public void write(){\n\t\t\n\t\tUtils.persist(this);\n\t\t\n\t\tfor(PersonDynamicStandardized pd: getDynamicDataOfPersonStandardized()){\n\t\t\tpd.write();\n\t\t}\n\t\tfor(PersonDynamicStandardized pd: getToAll()){\n\t\t\tpd.write();\n\t\t}\n\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "a544f78484724d10b1112ac744aa5cde", "score": "0.6104079", "text": "public void writeTo(DataOutputPlus output) throws IOException\n {\n ByteBufferUtil.writeWithShortLength(column, output);\n operator.writeTo(output);\n ByteBufferUtil.writeWithShortLength(value, output);\n }", "title": "" }, { "docid": "eacc0cf4a2d267ce9ac923bee0b5df9e", "score": "0.6087895", "text": "@Override\n\tpublic void writeExternal(ObjectOutput out) throws IOException {\n\t\tsuper.writeExternal(out);\n\t\tout.writeObject(punctDistance);\n\t\tout.writeObject(verbDistance);\n\t}", "title": "" }, { "docid": "88b406cfce5bbbcf7ed2ab583b53e7e8", "score": "0.60623574", "text": "@Override\n public void write(DataOutput dout) throws IOException {\n dout.writeUTF(SubRedditID);\n dout.writeDouble(RatingperUserandSubredditID);\n dout.writeDouble(RatingsperUser);\n }", "title": "" }, { "docid": "8b965abce92b2edd26f26580941fc702", "score": "0.60501796", "text": "@Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeLong(mId);\n dest.writeString(incomeName);\n dest.writeDouble(incomeValue);\n }", "title": "" }, { "docid": "9ac64beab106967e50ec2b483a746e01", "score": "0.60472745", "text": "private void writeOutput() throws IOException {\r\n currRunCount += handle.writeNextBlock(outputBuffer);\r\n outputBuffer = new KeyValue[1024];\r\n }", "title": "" }, { "docid": "71c387127d83b6d5f5dcf95fcbf7c735", "score": "0.60419124", "text": "public void save() {\n System.out.println(\"saving\");\n xStreamer.save(data);\n }", "title": "" }, { "docid": "27b757d306a75be2166c76adaa8ce906", "score": "0.60388404", "text": "public abstract void save(IntDoublesCol col, DataOutputStream output) throws IOException;", "title": "" }, { "docid": "b59b36ca0bb7defd65355d3b5820f532", "score": "0.6018466", "text": "public void storeData(DataOutputStream dout) throws IOException\n\t\t\t{\n\t\t\t\tsuper.storeData(dout);\n\t\t\t\tlabel = onlComponent.getLabel();\n\t\t\t\tONLComponent.PortInterface linkedTo = null;\n\t\t\t\tONL.NCCPWriter wrtr = new ONL.NCCPWriter(dout);\n\t\t\t\tif (onlComponent instanceof GigEDescriptor)\n\t\t\t\t{\n\t\t\t\t\twrtr.writeString(((GigEDescriptor)onlComponent).getIPAddr().toString());\n\t\t\t\t\twrtr.writeInt(0);//write reboot params\n\t\t\t\t\twrtr.writeInt(0);//write init params\n\t\t\t\t\twrtr.writeInt(1);//cores\n\t\t\t\t\twrtr.writeInt(1);//memory\n\t\t\t\t\twrtr.writeInt(0);//numports\n\t\t\t\t\twrtr.writeInt(0);//interface bw\n\t\t\t\t}\n\t\t\t\tif (onlComponent instanceof Hardware)\n\t\t\t\t{\n\t\t\t\t\twrtr.writeString(onlComponent.getProperty(Hardware.IPBASEADDR));\n\t\t\t\t\t((Hardware)onlComponent).writeRebootParams(wrtr);//wrtr.writeInt(0);//write reboot params\n\t\t\t\t\t((Hardware)onlComponent).writeInitParams(wrtr);//wrtr.writeInt(0);//write init params\n\t\t\t\t\twrtr.writeInt(((Hardware)onlComponent).getCores());\t\n\t\t\t\t\twrtr.writeInt(((Hardware)onlComponent).getMemory());\n\t\t\t\t\twrtr.writeInt(((Hardware)onlComponent).getNumPorts());\n\t\t\t\t\twrtr.writeInt(((Hardware)onlComponent).getPortBandwidth());\t\t\t\t\n\t\t\t\t}\n\t\t\t\t//write cluster info if component belongs to a cluster\n\t\t\t\tonlComponent.setCommittedLabel(label);\n\t\t\t\tif (getOp() == ExpDaemon.NCCP_Operation_ReservationComponent) onlComponent.getExpCoordinator().addToProgressBar(onlComponent);\n\t\t\t}", "title": "" }, { "docid": "94f1947f9abf7cddca9cc6363681d8b9", "score": "0.6005562", "text": "public static void output()\n {\n try\n {\n DataOutputStream output = new DataOutputStream(\n new FileOutputStream(\"App_Data/temp.data\") );\n\n System.out.print(\"Enter student first name==> \");\n String firstName = reader.next();\n\n while ( ! firstName.equalsIgnoreCase(\"0\") )\n {\n\n System.out.print(\"Enter student last name==> \");\n String lastName = reader.next();\n\n System.out.print(\"Enter student grade==> \");\n String grade = reader.next();\n\n System.out.print(\"Enter number of credits==> \");\n int credits = reader.nextInt();\n\n output.writeUTF(firstName);\n output.writeUTF(lastName);\n output.writeUTF(grade);\n output.writeInt(credits);\n\n System.out.print(\"Enter student first name==> \");\n firstName = reader.next();\n }\n\n output.close();\n }\n\n catch (IOException ex)\n {\n System.out.println(\"File operation error\");\n }\n\n catch (InputMismatchException ex)\n {\n System.out.println(\"Non-numeric or non-integer input\");\n }\n\n catch (Exception ex)\n {\n System.out.println(ex);\n }\n }", "title": "" }, { "docid": "14ba4021aba89bfbb970e02b0814e5e6", "score": "0.5980784", "text": "@Override\n public void write(DataOutput dataOutput) throws IOException {\n WritableUtils.writeStr(dataOutput, getJobId());\n WritableUtils.writeStr(dataOutput, getType());\n WritableUtils.writeStr(dataOutput, getId());\n WritableUtils.writeStr(dataOutput, getCreatedConf());\n WritableUtils.writeStr(dataOutput, getStatus().toString());\n dataOutput.writeInt(getActionNumber());\n WritableUtils.writeStr(dataOutput, getRunConf());\n WritableUtils.writeStr(dataOutput, getExternalStatus());\n WritableUtils.writeStr(dataOutput, getTrackerUri());\n WritableUtils.writeStr(dataOutput, getConsoleUrl());\n WritableUtils.writeStr(dataOutput, getErrorCode());\n WritableUtils.writeStr(dataOutput, getErrorMessage());\n dataOutput.writeLong((getCreatedTime() != null) ? getCreatedTime().getTime() : -1);\n dataOutput.writeLong((getLastModifiedTime() != null) ? getLastModifiedTime().getTime() : -1);\n }", "title": "" }, { "docid": "dc821150159d927a0f83866cc6566e42", "score": "0.59728414", "text": "private void outputToDataSet (int ct, DataSet d) {\r\n\t\td.storeOutput(ct, 0, output);\t\t\t// just store output there\r\n\t}", "title": "" }, { "docid": "ef91688eaf3d24973b03a9eac35537eb", "score": "0.59704405", "text": "public void writeInfo(DataOutput dout) throws Exception\n {\n dout.write(info);\n }", "title": "" }, { "docid": "48923e4b712fac999e1eb87c8fb15d66", "score": "0.59616554", "text": "public double getOutData() {\n\t\treturn outData;\n\t}", "title": "" }, { "docid": "1b20f94f0dad48655ea309961dd0930a", "score": "0.59611607", "text": "@Override\n\tpublic void write() {\n\n\t}", "title": "" }, { "docid": "1b20f94f0dad48655ea309961dd0930a", "score": "0.59611607", "text": "@Override\n\tpublic void write() {\n\n\t}", "title": "" }, { "docid": "8f7f3816a6bdde6885120945dc0947b7", "score": "0.59317183", "text": "public List<T> outputData ();", "title": "" }, { "docid": "ffab3c149fff591f38891cffa300e527", "score": "0.59267086", "text": "public void write(){\n\t\t\n\t}", "title": "" }, { "docid": "22bdc62644d84fcddaa5943dab127484", "score": "0.591698", "text": "public void write(DataOutput arg0) throws IOException {\n arg0.writeInt(first);\n arg0.writeInt(second);\n\n }", "title": "" }, { "docid": "7cc9d545f4414133ac7e45fe8b2c5379", "score": "0.5912666", "text": "@Override\n public void write(DataOutput d) throws IOException {\n d.writeUTF(carrierName);\n d.writeInt(year);\n \n }", "title": "" }, { "docid": "8e7f5456d92c201f76daac3024e481e4", "score": "0.58994836", "text": "@Override\n public void writeTo(StreamOutput out) throws IOException {\n }", "title": "" }, { "docid": "d2646b0feb32e02d131cb2904715edce", "score": "0.5895164", "text": "public void writeFinalData() {\n\t\treportProgress();\n\t\twriteImages();\n\t}", "title": "" }, { "docid": "6b414c35ec76af29fda3a6d3cefc4abe", "score": "0.5884272", "text": "public static void write() {\n BufferedWriter writer = null;\n try {\n File savedData = new File(\"data.txt\");\n writer = new BufferedWriter(new FileWriter(savedData));\n\n // arrData global variable with saved inputs\n for (String s : arrData) {\n writer.write(s + \"\\r\\n\");\n }\n writer.close();\n }\n catch (Exception e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "477b8885f5fc222e23095dd4c743654e", "score": "0.5884176", "text": "public Set<AbstractOutput> get_data(){\n Set<AbstractOutput> x = new HashSet<>();\n for(AbstractOutput output : myapi.scenario.outputs)\n if(!output.write_to_file)\n x.add(output);\n return x;\n }", "title": "" }, { "docid": "8129585751365c4111e9600dc169b73f", "score": "0.5873316", "text": "private void writeToDataSet(BufferedWriter out, double[] v) {\n\n\t\ttry {\n\t\t\tout.write(new String(\"+1\\t\"));\n\t\t\tfor (int i = 0; i < v.length; i++) {\n\t\t\t\t//sua day\n\t\t\t\t\n\t\t\t\tint g_index = General.getInstance().getIndex();\n\t\t\t\tout.write(new String((g_index + i + 1) + \":\" + v[i] + \"\\t\"));\n\t\t\t\t//General.getInstance().incIndex();\n\t\t\t}\n\t\t\tout.write(\"\\r\\n\");\n\t\t} catch (Exception e) {\n\t\t\tSystem.err.println(\"Exception in DataSetFactory.writeToDataSet: \"\n\t\t\t\t\t+ e);\n\t\t}\n\t}", "title": "" }, { "docid": "7f42677d020a5ab7176030e2cae6e9f7", "score": "0.5872522", "text": "@Override\n\tpublic void writeExternal(final ObjectOutput out) throws IOException {\n\t\tout.writeObject(_myNormal);\n\t\tout.writeDouble(constant());\n\t}", "title": "" }, { "docid": "e4395155ef85bf79a64536613738fbdb", "score": "0.58697605", "text": "@Override\r\n\tpublic void save(OutputStream output) {\n\r\n\t}", "title": "" }, { "docid": "e009b67450a7d53d2d39993466901d0b", "score": "0.58681923", "text": "public String write() {\n\t\treturn (name+\", \"+mass+\",\"+position.getX()+\",\"+position.getY()+\",\"+speedX+\",\"+speedY);\n\t}", "title": "" }, { "docid": "039ee96d768f1e0a5c201befdeeb309c", "score": "0.5865739", "text": "public static void writeOutputs()\r\n {\r\n for(PeriodicIO periodicIO : allPeriodicIO)\r\n periodicIO.writePeriodicOutputs();\r\n }", "title": "" }, { "docid": "1bb9e1257a90fe948f75eb8088037aec", "score": "0.5865379", "text": "public void SaveFile(ObjectOutputStream out)\n/* */ {\n/* 947 */ int[] interpara = new int[5];\n/* */ \n/* 949 */ interpara[0] = this.step;\n/* 950 */ interpara[1] = this.row;\n/* 951 */ interpara[2] = this.col;\n/* 952 */ interpara[3] = this.equation;\n/* 953 */ interpara[4] = this.result;\n/* */ try {\n/* 955 */ out.writeObject(this.state);\n/* 956 */ out.writeObject(interpara);\n/* 957 */ out.writeObject(this.opseq);\n/* 958 */ out.writeObject(this.selcell);\n/* */ }\n/* */ catch (Exception e1) {\n/* 961 */ e1.printStackTrace();\n/* 962 */ System.out.println(\"Save fails\");\n/* */ }\n/* */ }", "title": "" }, { "docid": "f483ba2a0068d3ab3ce7c2378fd76b1f", "score": "0.58613425", "text": "public void saveData() {\n\t\tSystem.out.println(\"saving myout.qz\");\n\t\tString text = getQuestionsAsString();\n\t\tString fileName = \"myout.qz\";\n\t\ttry {\n\t\t\tFiles.write(Paths.get(fileName), text.getBytes());\n\t\t} catch (IOException exc) {\n\t\t\tSystem.out.println(\"writeFile exc:\" + exc);\n\t\t}\t\t\t\t\n\t}", "title": "" }, { "docid": "28793f86ec9f5ba8506dae02dac9b019", "score": "0.58480126", "text": "@Override\n protected void doWrite(final DataOutputExtended output, final char[] values) throws IOException {\n try {\n final StringBuilder buf = new StringBuilder();\n final DataOutputStream outputStream = output.getDataOutputStream();\n outputStream.writeInt(values.length);\n if (log.isDebugEnabled()) {\n buf.append(\"length: \").append(values.length);\n }\n\n for (int i = 0; i < values.length; i++) {\n outputStream.writeChar(values[i]);\n if (log.isDebugEnabled()) {\n buf.append(i == 0 ? \": \" : \", \");\n buf.append(values[i]);\n }\n }\n if (log.isDebugEnabled()) {\n log(this, buf);\n }\n } finally {\n if (log.isDebugEnabled()) {\n unlog(this);\n }\n }\n }", "title": "" }, { "docid": "9e417044aa48e0b0362d92a516a9f24a", "score": "0.5846821", "text": "public void write(final DataOutput out) throws IOException {\n // write some int\n out.writeInt(hashTableSize);\n out.writeInt(projDim);\n out.writeInt(hashVecBitWidth);\n // write some double\n out.writeDouble(maxShiftedProj);\n\n // write projVector\n for (int i = 0; i < hashTableSize; i++) {\n for (int j = 0; j < projDim; j++) {\n for (int k = 0; k < dim; k++) {\n out.writeDouble(projVector[i][j][k]);\n }\n }\n }\n // write shift\n for (int i = 0; i < hashTableSize; i++) {\n for (int j = 0; j < projDim; j++) {\n out.writeDouble(shift[i][j]);\n }\n }\n // write standardHash\n for (int i = 0; i < projDim; i++) {\n out.writeInt(standardHash[i]);\n }\n }", "title": "" }, { "docid": "399fc630f8801fb85c70207f32c92f4c", "score": "0.5837777", "text": "public void saveData() {\n\t\tString fileName = \"CarData.txt\";\n\t\tPrintWriter outputStream = null;\n\t\t\n\t\ttry {\n\t\t\toutputStream = new PrintWriter(new FileOutputStream(fileName, false));\n\t\t\toutputStream.write(toStringSave());\n\t\t\tSystem.out.println(\"System - Successfuly saved existing data to file...\");\n\t\t}catch(FileNotFoundException e) {\n\t\t\tSystem.out.println(e);\n\t\t}catch(IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t\t\n\t\toutputStream.close();\n\t}", "title": "" }, { "docid": "add42657bf8e1d7020a58273cd915094", "score": "0.5810726", "text": "public void printData() {\n super.printData();\n }", "title": "" }, { "docid": "f91bf74fb291881686e2885b764eb93f", "score": "0.58088386", "text": "public void write(DataOutput out) throws IOException {\n\t\tvec.write(out);\n\t}", "title": "" }, { "docid": "81d16acd6e988e8636ecd4a81ea03cc7", "score": "0.5796657", "text": "private void writeData() {\n try (FileWriter f = new FileWriter(\"data.txt\")) {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < CattlesInfolist.size(); i++) {\n sb.append(CattlesInfolist.get(i).getcattleID() + \",\" + CattlesInfolist.get(i).getweight() + \",\" + CattlesInfolist.get(i).getbreedType() \n + CattlesInfolist.get(i).getdateRegister() + \"-\");\n }\n f.write(sb.toString());\n f.close();\n } catch (IOException e) {\n return;\n }\n dtm.setRowCount(0); //update table content\n for (int i = 0; i < CattlesInfolist.size(); i++) {//populate table using object list\n Object[] objs = {CattlesInfolist.get(i).getcattleID(), CattlesInfolist.get(i).getweight(), CattlesInfolist.get(i).getbreedType(),\n CattlesInfolist.get(i).getdateRegister()};\n dtm.addRow(objs);\n }\n }", "title": "" }, { "docid": "a125aeae0f68cb01ab24420441c369bc", "score": "0.5780138", "text": "@Override\n\tpublic void write(DataOutput out) throws IOException {\n\t\tout.writeUTF(wordA);\n\t\tout.writeUTF(wordB);\n\t\t\n\t}", "title": "" }, { "docid": "9ab65f1982c1e2fc8e130853a35d25ae", "score": "0.57720464", "text": "@Override\n public void writeExternal(ObjectOutput out) throws IOException {\n }", "title": "" }, { "docid": "45a73f3f1cd071f5df5d3ea33bccfe6f", "score": "0.5771765", "text": "@Override\r\n public void writeAttributeValues(IROutput out) throws IOException {\r\n //VersionedStructure vs = IRChunkVersionedStructure.get(getChunk());\r\n //VersionedStructureFactory.pushVS(vs);\r\n Version.saveVersion();\r\n try {\r\n Version.setVersion(version);\r\n super.writeAttributeValues(out);\r\n } finally {\r\n Version.restoreVersion();\r\n //VersionedStructureFactory.popVS();\r\n }\r\n }", "title": "" }, { "docid": "2cb4193a345d55a20ff3c4d11b9ba8d6", "score": "0.57583606", "text": "public void Write();", "title": "" }, { "docid": "b420ce0761c9cd3f278af0e7a5df8df1", "score": "0.57510513", "text": "public void write(DataOutput out) throws IOException {\n\t\tquater.write(out);\n\t\tvolume.write(out);\n\t}", "title": "" }, { "docid": "8353145c6ea08dcf579af57f149d2abc", "score": "0.573735", "text": "@Override\n\tpublic void writeExternal(ObjectOutput os) throws IOException {\n\t\twrite(os);\n\t}", "title": "" }, { "docid": "bb89ee3ec4980456d0da8a04711e993a", "score": "0.57366204", "text": "@Override\n\tpublic void writeToParcel(Parcel dest, int flags) {\n\t\t\n\t\tdest.writeString(getName());\n\t\tdest.writeFloat(getDegree());\n\t\tdest.writeInt(getHumiditiy());\n\t\tdest.writeInt(getPressure());\n\t\tdest.writeInt(getBattery_level());\n\n\t}", "title": "" }, { "docid": "83fd07bc5726b37a8c0bf43ee7dcf2de", "score": "0.57358164", "text": "@Override\r\n\tpublic void write() {\n\t\tSystem.out.println(\"UÅÌдÊý¾Ý£º\"+str);\r\n\t}", "title": "" }, { "docid": "01ef41afc062a2f5957a70189f12cfce", "score": "0.5735385", "text": "@Override\r\n\tpublic void writeExternal(ObjectOutput out) throws IOException {\n\t\tSystem.out.println(\"In writeExternal..\");\r\n\t\tout.writeObject(name);\r\n\t\tout.writeObject(city);\r\n\t\t\r\n\t}", "title": "" }, { "docid": "6e0812b3612e26f1756ff6543f4465f4", "score": "0.5728199", "text": "public void write(DataOutput output) throws IOException{\n\t\toutput.writeUTF(this.flightCode);\n\t\toutput.writeInt(this.month);\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "d9f425b7254fa1e862c7e8dc5a2c7bd0", "score": "0.5727533", "text": "private void logData() {\n\t\tLog.i(TAG, \"[MAINACTIVITY] logData()\");\n\t\tif (logData) {\n\t\t\tif (generation == 0) {\n\t\t\t\tlogTime = System.currentTimeMillis();\n\t\t\t}\n\n\t\t\tlog += System.getProperty(\"line.separator\");\n\t\t\tlog += generation++ + \",\";\n\t\t\tlog += System.currentTimeMillis() - logTime + \",\";\n\n\t\t\tlog += acceleration[0] + \",\";\n\t\t\tlog += acceleration[1] + \",\";\n\t\t\tlog += acceleration[2] + \",\";\n\n\t\t\tlog += lpfWikiOutput[0] + \",\";\n\t\t\tlog += lpfWikiOutput[1] + \",\";\n\t\t\tlog += lpfWikiOutput[2] + \",\";\n\n\t\t\tlog += lpfAndDevOutput[0] + \",\";\n\t\t\tlog += lpfAndDevOutput[1] + \",\";\n\t\t\tlog += lpfAndDevOutput[2] + \",\";\n\n\t\t\tlog += meanFilterOutput[0] + \",\";\n\t\t\tlog += meanFilterOutput[1] + \",\";\n\t\t\tlog += meanFilterOutput[2] + \",\";\n\t\t}\n\t}", "title": "" }, { "docid": "70f0115072d70ef3c1e79c314531f7c3", "score": "0.57273215", "text": "public void dumpAllData() {\n }", "title": "" }, { "docid": "e88637c469fc6fc22aea240bdaf3b37c", "score": "0.5725176", "text": "public void writeOutput() throws Exception{\r\n\t\tobject.print();\t\t\t\t\t\t\t\t\t\t\t\t\t\t//Calls to write all phone book info to .csv output file\r\n\t}", "title": "" }, { "docid": "17e4550ba78b14a3bf250b0c0579dd8a", "score": "0.5713502", "text": "public void save() {\n\t\ttry {\n\t\t\tfiCurOutFile = new FileOutputStream(strFileName);\n\t\t\tObjectOutputStream oos = new ObjectOutputStream(fiCurOutFile);\n\t\t\toos.writeObject(this);\n\t\t\toos.close();\n\t\t\tfiCurOutFile.close();\n\t\t}\n\t\tcatch(IOException i)\n\t\t{\n\t\t\ti.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "25551c003f4980b47deb5654b4313f51", "score": "0.5712975", "text": "private void writeHeight() {\n\t\tObjectOutputStream outputStream = null;\n\n\t\ttry {\n\n\t\t\t// create Android FileOutputStream, private file for this app only\n\t\t\tFileOutputStream fos = openFileOutput(FILENAME,\n\t\t\t\t\tContext.MODE_PRIVATE);\n\n\t\t\t// Construct the output stream\n\t\t\toutputStream = new ObjectOutputStream(fos);\n\t\t\toutputStream.writeDouble(height);\n\t\t\t//System.out.println(\"height written to \" + FILENAME + \" \" + height); \n\t\t\t\n\t\t} catch (FileNotFoundException ex) {\n\t\t\tSystem.out.println(\"file not found\");\n\t\t\tex.printStackTrace();\n\t\t} catch (IOException ex) {\n\t\t\tSystem.out.println(\"i/o exception\");\n\t\t\tex.printStackTrace();\n\t\t} finally {\n\t\t\t// Close the ObjectOutputStream\n\t\t\ttry {\n\t\t\t\tSystem.out.println(\"closing \" + FILENAME);\n\n\t\t\t\tif (outputStream != null) {\n\t\t\t\t\toutputStream.flush();\n\t\t\t\t\toutputStream.close();\n\t\t\t\t}\n\t\t\t} catch (IOException ex) {\n\t\t\t\tex.printStackTrace();\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "e3db1cb102208527c31d7f961dc48b24", "score": "0.5702088", "text": "public abstract void save(LongDoublesCol col, DataOutputStream output) throws IOException;", "title": "" }, { "docid": "052279bcaf80a1993d5872a9ec262943", "score": "0.5679924", "text": "@Override\n\tpublic void write(DataOutput out) throws IOException {\n\t\tout.writeBoolean(flag);\n\t\tout.writeByte(vertifyType);\n\t\tout.writeInt(fansVSum);\n\t\tout.writeInt(fansNum);\n\t}", "title": "" }, { "docid": "96f1791bdcdcafcf8cf5c0156f90e824", "score": "0.56776446", "text": "public void save()\n\t{\n\t\ttry\n\t\t{\n\t\t\tFileWriter writer = new FileWriter(\"Data/data.csv\");\n\t\t\tfor(int i = 0; i < events.size(); i++)\n\t\t\t{\n\t\t\t\tEvent event = events.get(i);\n\t\t\t\t\n\t\t\t\tString str = event.getEventName() + \",\";\n\t\t\t\tstr += event.getEventLocation() + \",\";\n\t\t\t\tstr += event.getFreq() + \",\" + event.getEventStart() + \",\";\n\t\t\t\tstr += event.getEventEnd() + \",\";\n\t\t\t\tstr += event.getColor().toString() + \",\";\n\t\t\t\tstr += event.getDescription() + \"\\n\";\n\t\t\t\t\n\t\t\t\twriter.write( str );\n\t\t\t}\n\t\t\twriter.close();\n\t\t}catch( IOException e){\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "36f45410d4dc8ee4eb17b23097187978", "score": "0.56660557", "text": "private void writeObject(ObjectOutputStream out) throws IOException {\r\n\t\tout.writeObject(tableDef);\r\n\t\tout.writeObject(fieldDef);\r\n\t}", "title": "" }, { "docid": "cc5d6599c3ed94a1139d760c4c804770", "score": "0.5665835", "text": "public void write(DataOutput out) throws IOException {\r\n\t\tsuper.write(out);\r\n\t\tout.writeLong(this.fileLogId);\r\n\t\tout.writeBoolean(this.isDeleteBeforeData);\r\n\t}", "title": "" }, { "docid": "3d051d7dcca1462793bba42d105ab337", "score": "0.5658236", "text": "public static void saveFile()\n\t{\n\t\ttry( ObjectOutputStream output = new ObjectOutputStream(\n\t\t\tnew FileOutputStream( \"data/data.dta\" ) ) )\n\t\t{\n\t\t\toutput.writeObject( registry );\n\t\t\toutput.writeObject( validations );\n\t\t\toutput.writeObject(cardregistry);\n\t\t\toutput.writeInt( Person.readNext() );\n\t\t\toutput.writeInt( Card.readNext() );\n\t\t\t\n\t\t\ts.statusTxt.setText( \"alt ble lagret\" );\n\t\t\tunsaved = false; \n\n\t\t}\n\t\tcatch( NotSerializableException nse )\n\t\t{\n\t\t\tJOptionPane.showMessageDialog(null, \"Objektet er ikke serialisert\", \"Feil!\", JOptionPane.ERROR_MESSAGE );\n\t\t\tnse.printStackTrace( System.out );\n\t\t}\n\t\tcatch( IOException ioe )\n\t\t{\n\t\t\tJOptionPane.showMessageDialog(null, \"Feil ved skriving til fil\", \"Feil!\", JOptionPane.ERROR_MESSAGE );\n\t\t}\n\t}", "title": "" }, { "docid": "5790235d0f88b3de071474e716ec02f5", "score": "0.5657827", "text": "@Override\n protected void toBinary(DataOutputStream out) throws IOException {\n super.toBinary(out);\n\n out.writeInt(grid.getCols());\n out.writeInt(grid.getRows());\n out.writeDouble(grid.getCellSize());\n out.writeDouble(grid.getWest());\n out.writeDouble(grid.getNorth());\n\n float[][] g = grid.getGrid();\n for (float[] row : g) {\n for (float v : row) {\n out.writeFloat(v);\n }\n }\n\n out.flush();\n }", "title": "" }, { "docid": "ce502085c5da83db7b8de40509f61a3a", "score": "0.564421", "text": "@Override\r\n\tpublic void write(DataOutput arg0) throws IOException {\n\t\targ0.writeUTF(VideoEncodingProcessPath);\r\n\t}", "title": "" }, { "docid": "0b58093deff06bb4777edbfec9238445", "score": "0.56419426", "text": "public void write(OutputBuffer out) {\n\t\tout.writeInt(value);\n\t}", "title": "" }, { "docid": "7d8827c9c76e2363e7d92d83819f56dd", "score": "0.5639677", "text": "public void writeData() {\n // create the file to be written to\n File file = new File(\"world.txt\");\n FileWriter fr = null;\n try {\n // start writing to the file.\n fr = new FileWriter(file);\n // first, write the world information to the file\n fr.write(\"World Name: \" + this.getWorldName() + \"\\n\");\n fr.write(\"Total world size X: \" + this.getSizeX() + \"\\n\");\n fr.write(\"Total world size Y: \" + this.getSizeY() + \"\\n\");\n fr.write(\"Total world size Z: \" + this.getSizeZ() + \"\\n\");\n fr.write(\"===== STARTING ISLAND INFO =====\" + \"\\n\");\n // Loop over each island writing out information to each one.\n for(int i = 0; i < worldIslands.size(); i++) {\n Island tmp = worldIslands.get(i);\n fr.write(\"Island num: \" + i + \"\\n\");\n fr.write(\"Island name: \" + tmp.getIslandName() + \"\\n\");\n fr.write(\"Island size X: \" + tmp.getSizeX() + \"\\n\");\n fr.write(\"Island size Y: \" + tmp.getSizeY() + \"\\n\");\n fr.write(\"Island size Z: \" + tmp.getSizeZ() + \"\\n\");\n }\n\n } catch(IOException e) {\n System.out.println(\"Exception while writing World data to file\");\n e.printStackTrace();\n } finally {\n // now close the FileWriter, an exception is thrown if an error occurs\n try {\n fr.close();\n } catch(Exception e) {\n System.out.println(\"Error while closing FileWriter\");\n e.printStackTrace();\n }\n }\n }", "title": "" }, { "docid": "d3d8cc1b79ab85f47722baf0a8896487", "score": "0.563641", "text": "public void writeExternal(DataOutput out, Object o)\n throws IOException\n {\n writeDoubleArray(out, (double[]) o);\n }", "title": "" }, { "docid": "9455fe2c0dd7ef8166f3abdbbc43e095", "score": "0.5618419", "text": "@Override\n\tpublic void write(DataOutput out) throws IOException {\n\t\tWritableUtils.writeVInt(out, buffer.length);\n\t\tout.write(buffer);\n\t}", "title": "" }, { "docid": "02cc14cd1dbe8eaa5339240a62c25f99", "score": "0.56078917", "text": "public void dump(DataOutputStream dos) throws IOException {\n dos.writeByte(type);\n dos.writeShort(idx);\n }", "title": "" }, { "docid": "ba22fbba2ecf3c60c7690833877a8395", "score": "0.56077653", "text": "@Override\n\tpublic void write(DataOutput out) throws IOException {\n\t\tout.writeUTF(ban);\n\t\tout.writeUTF(count);\n\t\tout.writeUTF(name);\n\t\tout.writeInt(sum);\n\t}", "title": "" }, { "docid": "47e3e3d0261266c008b8241312a7ffc9", "score": "0.5607722", "text": "public abstract void save(IntIntsCol col, DataOutputStream output) throws IOException;", "title": "" }, { "docid": "bbb8067dad0e20cbcf8685f04ec33bfd", "score": "0.5605065", "text": "@Override\n\tpublic void writeExternal(ObjectOutput out) throws IOException {\n\t\tout.writeObject(\"pooja\");\n\t\tout.writeInt(20);\n\t\t\n\t}", "title": "" }, { "docid": "7dbae60a360f21f6e9caf2bbfc3c1f0a", "score": "0.55997354", "text": "private void writeObject(ObjectOutputStream output) throws IOException { \r\n output.writeObject(this.getEmail());\r\n output.writeObject(this.getPassword());\r\n output.writeObject(matricola);\r\n }", "title": "" }, { "docid": "98d73098f161330b863ee390209bea94", "score": "0.55932665", "text": "public abstract void save(IntFloatsCol col, DataOutputStream output) throws IOException;", "title": "" }, { "docid": "7314db3888488e3834f8eb57ecb14530", "score": "0.55866706", "text": "public String getOutputs() {\n return this.outputs;\n }", "title": "" } ]
4b3ba8ccfe774142d32c6675846cf0df
This method is responsible for processing of all the OWL concepts.
[ { "docid": "cd692b39ae217702ea4cf2fdc036425c", "score": "0.6980078", "text": "protected void processAllConceptsAndProperties(Snapshot snap) {\r\n int count = 0;\r\n \r\n // The idea is to iterate through all the OWL classes, and register them\r\n // as well as find out any associations or restrictions they have to\r\n // other OWL classes (including anonymous ones).\r\n messages_.info(\"Processing concepts: \");\r\n for (Iterator namedClasses = owlModel_.getUserDefinedRDFSNamedClasses().iterator(); namedClasses.hasNext();) {\r\n RDFSNamedClass namedClass = (RDFSNamedClass) namedClasses.next();\r\n resolveConcept(namedClass);\r\n count++;\r\n if (count % 5000 == 0) {\r\n messages_.info(\"OWL classes processed: \" + count);\r\n }\r\n }\r\n messages_.info(\"Total OWL classes processed: \" + count);\r\n // Now, process all the relationships/associations the\r\n // concept has with other concepts. Also, process all\r\n // the restrictions the concept has.\r\n messages_.info(\"Concepts converted to EMF\");\r\n snap = SimpleMemUsageReporter.snapshot();\r\n messages_.info(\"Read Time : \" + SimpleMemUsageReporter.formatTimeDiff(snap.getTimeDelta(null))\r\n + \" Heap Usage: \" + SimpleMemUsageReporter.formatMemStat(snap.getHeapUsage()) + \" Heap Delta:\"\r\n + SimpleMemUsageReporter.formatMemStat(snap.getHeapUsageDelta(null)));\r\n \r\n // If we found at least one, register the supported entity type.\r\n if (count > 0) {\r\n String name = EntityTypes.CONCEPT.toString();\r\n lgSupportedMappings_.registerSupportedEntityType(name, null, name, false);\r\n }\r\n \r\n }", "title": "" } ]
[ { "docid": "25ed5167dd89f6e76bdcc9466f2a71db", "score": "0.7305969", "text": "protected void processOWL() throws LgConvertException {\r\n \r\n messages_.info(\"Before OWL Processing\");\r\n Snapshot snap = SimpleMemUsageReporter.snapshot();\r\n messages_.info(\"Read Time : \" + SimpleMemUsageReporter.formatTimeDiff(snap.getTimeDelta(null))\r\n + \" Heap Usage: \" + SimpleMemUsageReporter.formatMemStat(snap.getHeapUsage()) + \" Heap Delta:\"\r\n + SimpleMemUsageReporter.formatMemStat(snap.getHeapUsageDelta(null)));\r\n \r\n // Step 1:\r\n // Iterate through object classes and generate EMF concepts\r\n // Resolve all concepts before working on relations, since we need to\r\n // ensure all concept codes are correctly resolved (sometimes buried\r\n // in class definition) before setting source and target references.\r\n \r\n // procesAnnotationProperties();\r\n messages_.info(\"Processing OWL Classes.....\");\r\n processAllConceptsAndProperties(snap);\r\n \r\n // Step 2: Process OWL individuals. Essentially, determine to which\r\n // classes these instances belong to, as well as, relations between\r\n // the individuals themselves (e.g., differentFrom)?\r\n \r\n messages_.info(\"Processing OWL Individuals.....\");\r\n processAllInstanceAndProperties(snap);\r\n \r\n // Step 3: Process all the concept relations\r\n processAllConceptsRelations();\r\n \r\n // Step 4: Process all the instance relations\r\n processAllInstanceRelations();\r\n \r\n // Step 5: Process the OWL Object properties. Essentially, determine\r\n // the domain and ranges for the properties and relationships to other\r\n // properties.\r\n \r\n messages_.info(\"Processing OWL Object Properties.....\");\r\n processOWLObjectProperties(snap);\r\n \r\n // Step 6: Process the OWL Datatype properties. Essentially, determine\r\n // the domain and data ranges for the properties and relationships to\r\n // other properties.\r\n \r\n messages_.info(\"Processing OWL Datatype Properties.....\");\r\n processOWLDatatypeProperties(snap);\r\n \r\n }", "title": "" }, { "docid": "f8faeb0a6a148d61cee8fc4b2890abd2", "score": "0.7197204", "text": "protected void processConcepts(Snapshot snap) {\r\n int count = 0;\r\n \r\n // The idea is to iterate through all the OWL classes, and register them\r\n // as well as find out any associations or restrictions they have to\r\n // other OWL classes (including anonymous ones).\r\n messages_.info(\"Processing concepts: \");\r\n for (Iterator namedClasses = owlModel_.getUserDefinedRDFSNamedClasses().iterator(); namedClasses.hasNext();) {\r\n RDFSNamedClass namedClass = (RDFSNamedClass) namedClasses.next();\r\n resolveConcept(namedClass);\r\n count++;\r\n if (count % 5000 == 0) {\r\n messages_.info(\"OWL classes processed: \" + count);\r\n }\r\n }\r\n messages_.info(\"Total OWL classes processed: \" + count);\r\n // Now, process all the relationships/associations the\r\n // concept has with other concepts. Also, process all\r\n // the restrictions the concept has.\r\n messages_.info(\"Concepts converted to EMF\");\r\n snap = SimpleMemUsageReporter.snapshot();\r\n messages_.info(\"Read Time : \" + SimpleMemUsageReporter.formatTimeDiff(snap.getTimeDelta(null))\r\n + \" Heap Usage: \" + SimpleMemUsageReporter.formatMemStat(snap.getHeapUsage()) + \" Heap Delta:\"\r\n + SimpleMemUsageReporter.formatMemStat(snap.getHeapUsageDelta(null)));\r\n \r\n messages_.info(\"Processing concept relationships ...\");\r\n \r\n for (Iterator namedClasses = owlModel_.getUserDefinedRDFSNamedClasses().iterator(); namedClasses.hasNext();) {\r\n RDFSNamedClass namedClass = (RDFSNamedClass) namedClasses.next();\r\n String lgConceptCode = resolveConceptID(namedClass);\r\n if (lgConceptCode != null) {\r\n AssociationSource source = CreateUtils.createAssociationSource(lgConceptCode, entityCode2NameSpace_\r\n .get(lgConceptCode));\r\n resolveEquivalentClassRelations(source, namedClass);\r\n resolveSubClassOfRelations(source, namedClass);\r\n resolveDisjointWithRelations(source, namedClass);\r\n resolveComplementOfRelations(source, namedClass);\r\n resolveOWLObjectPropertyRelations(source, namedClass);\r\n }\r\n }\r\n \r\n // If we found at least one, register the supported entity type.\r\n if (count > 0) {\r\n String name = EntityTypes.CONCEPT.toString();\r\n lgSupportedMappings_.registerSupportedEntityType(name, null, name, false);\r\n }\r\n }", "title": "" }, { "docid": "aad4b816594824303deccd4bc054b415", "score": "0.6578705", "text": "private void doConcepts(DocumentPojo partialDoc) throws ExtractorDocumentLevelException, ExtractorDailyLimitExceededException {\r\n\t\tif ((null != partialDoc.getMetadata()) && partialDoc.getMetadata().containsKey(\"AlchemyAPI_concepts\")) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t\tString json_doc = null;\r\n\t\ttry\r\n\t\t{\r\n\t\t\tjson_doc = _alch.TextGetRankedConcepts(partialDoc.getFullText());\r\n\t\t\tcheckAlchemyErrors(json_doc, partialDoc.getUrl());\r\n\t\t}\r\n\t\tcatch ( InfiniteEnums.ExtractorDocumentLevelException ex )\r\n\t\t{\r\n\t\t\tthrow ex;\r\n\t\t}\r\n\t\tcatch ( InfiniteEnums.ExtractorDailyLimitExceededException ex )\r\n\t\t{\r\n\t\t\tthrow ex;\r\n\t\t}\r\n\t\tcatch (Exception e) {\r\n\t\t\t//Collect info and spit out to log\r\n\t\t\tString strError = \"Exception Message (5): doc=\" + partialDoc.getUrl() + \" error=\" + e.getMessage();\r\n\t\t\tlogger.error(strError, e);\r\n\t\t\tthrow new InfiniteEnums.ExtractorDocumentLevelException(strError);\t\t\t\r\n\t\t}\r\n\t\ttry {\r\n\t\t\t// Turn concepts into metadata:\r\n\t\t\tGson gson = new Gson();\r\n\t\t\tAlchemyPojo sc = gson.fromJson(json_doc,AlchemyPojo.class);\r\n\t\t\tif (null != sc.concepts) {\r\n\t\t\t\tpartialDoc.addToMetadata(\"AlchemyAPI_concepts\", sc.concepts.toArray(new AlchemyConceptPojo[sc.concepts.size()]));\r\n\t\t\t}\r\n\t\t}\t\t\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\t//Collect info and spit out to log\r\n\t\t\tString strError = \"Exception Message (6): doc=\" + partialDoc.getUrl() + \" error=\" + e.getMessage();\r\n\t\t\tlogger.error(strError, e);\r\n\t\t\tthrow new InfiniteEnums.ExtractorDocumentLevelException(strError);\r\n\t\t}\t\r\n\t}", "title": "" }, { "docid": "d01f1d37518b4f5a37fac3b9d0923680", "score": "0.65297866", "text": "public static void manageOntologies() throws FileNotFoundException{\n \n OntModel m =ModelFactory.createOntologyModel(OntModelSpec.OWL_MEM_RULE_INF);\n m.read((new FileInputStream(ontopath3)), null); \n // m.write(System.out, \"TURTLE\");\n\n OntClass uConcC = m.getOntClass(uncertainConcept);\n \n\n List<? extends OntResource> uConcs= uConcC.listInstances().toList();\n //just get the first one - for now only one exists anyway\n for (OntResource uConc: uConcs){\n uncertainConcept uC = new uncertainConcept(uConc);\n uC.reasonAndUpdateModel();\n } \n // m.write(System.out,\"TURTLE\");\n \n String rules =\n \t \"[r1: (?a http://hetinffusion/ontologies/anomalies#associatedWith ?s), (?s http://hetinffusion/ontologies/anomalies#locatedAt ?X) ->\" +\n \t \" [(?t http://hetinffusion/ontologies/roads#linksWith ?a) <- (?t http://hetinffusion/ontologies/belief#is_either ?X)] ]\";\n String testRule =\n \t\t \"[r1: (?a http://hetinffusion/ontologies/anomalies#associatedWith ?s), (?s http://hetinffusion/ontologies/anomalies#locatedAt ?X) -> (?X http://hetinffusion/ontologies/roads#linksWith ?a)]\";\n GenericRuleReasoner reasoner = new GenericRuleReasoner(Rule.parseRules(rules));\n reasoner.setOWLTranslation(true);\n reasoner.setMode(GenericRuleReasoner.HYBRID);\n reasoner.setTransitiveClosureCaching(true);\n Property temp = ResourceFactory.createProperty(\"temp:x\");\n InfModel inf = ModelFactory.createInfModel(reasoner, m);\n OntResource road = m.getOntResource(\"http://hetinffusion/ontologies/roads#Road2Bridge\");\n OntResource road2 = m.getOntResource(\"http://hetinffusion/ontologies/anomalies#Road2Bridge\");\n Property p = m.getProperty(\"http://hetinffusion/ontologies/roads#linksWith\");\n/*\n road.listProperties().forEachRemaining(t -> System.out.println(t.toString()));\n road2.listProperties().forEachRemaining(t -> System.out.println(t.toString()));*/\n \n if (road.isSameAs(road2)){\n \tSystem.out.println(\"true\");\n }\n StmtIterator i = inf.listStatements(null, p, (RDFNode)null);\n while (i.hasNext()) {\n System.out.println(\" - \" + PrintUtil.print(i.nextStatement()));\n }\n /* StmtIterator i2 = inf.listStatements(null, r, (RDFNode)null);\n while (i2.hasNext()) {\n System.out.println(\" - \" + PrintUtil.print(i2.nextStatement()));\n }*/\n }", "title": "" }, { "docid": "cec1b6161371f161ff5582b302292365", "score": "0.6526401", "text": "public void init() {\n \t/** Sets the context of this ontology concept */\n \tthis._setClassContext(\"smoolcore\", CLASS_IRI);\n\n \t/** Sets the individual context */\n \tthis._setDefaultIndividualContext();\n \n \n \t// Creates the dataID property\n \tString dataIDIRI = \"http://com.tecnalia.smool/core/smoolcore#dataID\";\n \tString dataIDPrefix = \"smoolcore\";\n\n \tFunctionalDatatypeSlot < String > dataIDSlot= new FunctionalDatatypeSlot<String>(String.class);\n \tdataIDSlot._setIRI(dataIDIRI);\n \tdataIDSlot._setPrefix(dataIDPrefix);\n \tdataIDSlot.setRange(\"xsd:String\");\n \tthis._addProperty(dataIDSlot);\n \t \n \t \n \t// Creates the number property\n \tString numberIRI = \"http://com.tecnalia.smool/core/smoolcore#number\";\n \tString numberPrefix = \"smoolcore\";\n\n \tFunctionalDatatypeSlot < String > numberSlot= new FunctionalDatatypeSlot<String>(String.class);\n \tnumberSlot._setIRI(numberIRI);\n \tnumberSlot._setPrefix(numberPrefix);\n \tnumberSlot.setRange(\"xsd:String\");\n \tthis._addProperty(numberSlot);\n \t \n \t \n \t// Creates the timestamp property\n \tString timestampIRI = \"http://com.tecnalia.smool/core/smoolcore#timestamp\";\n \tString timestampPrefix = \"smoolcore\";\n\n \tFunctionalDatatypeSlot < String > timestampSlot= new FunctionalDatatypeSlot<String>(String.class);\n \ttimestampSlot._setIRI(timestampIRI);\n \ttimestampSlot._setPrefix(timestampPrefix);\n \ttimestampSlot.setRange(\"xsd:String\");\n \tthis._addProperty(timestampSlot);\n \t \n \t \n \t// Creates the logicalLoc property\n \tString logicalLocIRI = \"http://com.tecnalia.smool/core/smoolcore#logicalLoc\";\n \tString logicalLocPrefix = \"smoolcore\";\n\n \tFunctionalObjectSlot < LogicalLocation > logicalLocSlot= new FunctionalObjectSlot<LogicalLocation>(LogicalLocation.class);\n \tlogicalLocSlot._setIRI(logicalLocIRI);\n \tlogicalLocSlot._setPrefix(logicalLocPrefix);\n \t\n \tthis._addProperty(logicalLocSlot);\n \t \n \t}", "title": "" }, { "docid": "c3b55fad80ba4ae1f1e185357b319a88", "score": "0.65089923", "text": "private void fixConcepts() {\n\t}", "title": "" }, { "docid": "e827ea8c5f649078886d1f1cc472f27a", "score": "0.6036213", "text": "protected void processOWLObjectProperties(Snapshot snap) {\r\n snap = SimpleMemUsageReporter.snapshot();\r\n messages_.info(\"Read Time : \" + SimpleMemUsageReporter.formatTimeDiff(snap.getTimeDelta(null))\r\n + \" Heap Usage: \" + SimpleMemUsageReporter.formatMemStat(snap.getHeapUsage()) + \" Heap Delta:\"\r\n + SimpleMemUsageReporter.formatMemStat(snap.getHeapUsageDelta(null)));\r\n messages_.info(\"Processing OWL Object Properties ...\");\r\n \r\n for (Iterator props = owlModel_.getUserDefinedOWLObjectProperties().iterator(); props.hasNext();) {\r\n RDFProperty prop = (RDFProperty) props.next();\r\n // Modified on 01/19/2009 (Jyoti): I think this is what Satya meant\r\n // when saying that creating Concepts for ObjectProperties should be\r\n // handled\r\n // later in the code(Refer to his email dated: 01/14/2009).\r\n if (prefManager.isProcessConceptsForObjectProperties()) {\r\n Entity concept = resolveConcept(prop);\r\n }\r\n \r\n // ///////////////////////////////////\r\n // /// Process Domain and Ranges /////\r\n // //////////////////////////////////\r\n \r\n // Get the appropriate association name initialized earlier\r\n // (initSupportedObjectProperties)\r\n String propertyName = getRDFResourceLocalName(prop);\r\n AssociationWrapper lgAssoc = assocManager.getAssociation(propertyName);\r\n String nameSpace = getNameSpace(prop.getNamespace());\r\n AssociationSource source = CreateUtils.createAssociationSource(lgAssoc.getAssociationEntity()\r\n .getEntityCode(), nameSpace);\r\n \r\n // The idea is to create a new association called \"domain\", whose\r\n // LHS will be the OWLObjectProperty and RHS will be the domain.\r\n if (prop.getDomains(false).size() != 0) {\r\n for (Iterator domains = prop.getDomains(false).iterator(); domains.hasNext();) {\r\n RDFResource domain = (RDFResource) domains.next();\r\n if (domain instanceof OWLUnionClass) {\r\n for (Iterator domainList = ((OWLUnionClass) domain).listOperands(); domainList.hasNext();) {\r\n RDFSNamedClass domainClass = (RDFSNamedClass) domainList.next();\r\n relateAssocSourceWithRDFResourceTarget(EntityTypes.CONCEPT, assocManager.getDomain(),\r\n source, domainClass);\r\n }\r\n }// end of OWLUnionClass\r\n else {\r\n relateAssocSourceWithRDFResourceTarget(EntityTypes.CONCEPT, assocManager.getDomain(), source,\r\n domain);\r\n }\r\n }\r\n }\r\n \r\n // The idea is to create a new association called \"range\", whose\r\n // LHS will be the OWLObjectProperty and RHS will be the range.\r\n if (prop.getRanges(false).size() != 0) {\r\n \r\n for (Iterator ranges = prop.getRanges(false).iterator(); ranges.hasNext();) {\r\n RDFResource range = (RDFResource) ranges.next();\r\n if (range instanceof OWLUnionClass) {\r\n for (Iterator rangeList = ((OWLUnionClass) range).listOperands(); rangeList.hasNext();) {\r\n RDFSNamedClass rangeClass = (RDFSNamedClass) rangeList.next();\r\n relateAssocSourceWithRDFResourceTarget(EntityTypes.CONCEPT, assocManager.getRange(),\r\n source, rangeClass);\r\n }\r\n \r\n } else { // end of OWLUnionClass\r\n relateAssocSourceWithRDFResourceTarget(EntityTypes.CONCEPT, assocManager.getRange(), source,\r\n range);\r\n }\r\n }\r\n \r\n }\r\n \r\n // //////////////////////////////////////////////////\r\n // /// Process Property Hierarchy/Relationships /////\r\n // /////////////////////////////////////////////////\r\n \r\n // Step 1: process subPropertyOf: here also we create\r\n // an association between associations.\r\n \r\n for (Iterator superProperties = prop.getSuperproperties(false).iterator(); superProperties.hasNext();) {\r\n RDFProperty superProp = (RDFProperty) superProperties.next();\r\n relateAssocSourceWithRDFResourceTarget(EntityTypes.ASSOCIATION, assocManager.getSubPropertyOf(),\r\n source, superProp);\r\n }\r\n \r\n // Step 2: process inverseProperties\r\n if (prop.getInverseProperty() != null) {\r\n relateAssocSourceWithRDFResourceTarget(EntityTypes.ASSOCIATION, assocManager.getInverseOf(), source,\r\n prop.getInverseProperty());\r\n }\r\n \r\n // Step 3: process equivalentProperties\r\n for (Iterator equivProperties = prop.getEquivalentProperties().iterator(); equivProperties.hasNext();) {\r\n OWLObjectProperty equivalent = (OWLObjectProperty) equivProperties.next();\r\n relateAssocSourceWithRDFResourceTarget(EntityTypes.ASSOCIATION, assocManager.getEquivalentProperty(),\r\n source, equivalent);\r\n }\r\n\r\n // Step 4: process functional, inverse functional and transitive properties\r\n for (Iterator iter = prop.getRDFTypes().iterator(); iter.hasNext();) {\r\n RDFSClass rdfType = (RDFSClass) iter.next();\r\n relateAssocSourceWithRDFResourceTarget(EntityTypes.ASSOCIATION, assocManager.getRdfType(), source,\r\n rdfType);\r\n }\r\n } // end of for.\r\n }", "title": "" }, { "docid": "4e466e92bd24c372734517c727dc9412", "score": "0.59178686", "text": "private void processConcept() {\n currentConcept = concepts.takeOut(); \n \n //System.out.println(\" * Selected Concept: \" + currentConcept.getTerm());\n \n if (currentConcept != null) {\n currentTerm = currentConcept.getTerm();\n recorder.append(\" * Selected Concept: \" + currentTerm + \"\\n\");\n //System.out.println(\" * Selected Concept: \" + currentTerm + \"\\n\");\n concepts.putBack(currentConcept); // current Concept remains in the bag all the time\n //generalInfoReport(\"Concept selected: \" + currentConcept.toStringBrief());\n currentConcept.fire(); // a working workCycle\n }\n }", "title": "" }, { "docid": "5582fd3f1fdf7a5da09ccda56caabf70", "score": "0.5873386", "text": "private static List<Pair<String, Integer>> wordConcepts(Trend trend,\n\t List<List<String>> tweets) {\n\tif (DEBUG) {\n\t System.out.println(\" ~~~~ Tweets on which we run the concepts extractor ~~~~ \");\n\t for (List<String> tweet : tweets) {\n\t\tfor (String word : tweet) {\n\t\t System.out.print(word + \" \");\n\t\t}\n\t\tSystem.out.println();\n\t }\n\t}\n\n\tWordCounter wordCounter = new WordCounter();\n\tfor (List<String> tweet : tweets) {\n\t wordCounter.addSentence(tweet);\n\t}\n\n\tPair<String, Integer>[] orderedWords = wordCounter.getOrderedWordsAndCount();\n\tPair<List<String>, Integer>[] orderedBiGrams = wordCounter.getOrderedNGramsAndCount(2);\n\tHashMap<String, Integer> wordCount = new HashMap<String, Integer>();\n\tList<Pair<String, Integer>> concepts = new ArrayList<Pair<String, Integer>>();\n\tHashSet<String> removeFromSingleWordConcepts = new HashSet<String>();\n\n\tif (orderedBiGrams == null && orderedWords == null) {\n\t return concepts;\n\t}\n\n\tif (orderedBiGrams != null) {\n\t for (int i = 0; i < orderedWords.length; i++) {\n\t\twordCount.put(orderedWords[i].getKey(), orderedWords[i].getValue());\n\t }\n\t for (int i = 0; i < orderedBiGrams.length; i++) {\n\t\tString word1 = orderedBiGrams[i].getKey().get(0);\n\t\tString word2 = orderedBiGrams[i].getKey().get(1);\n\t\tif (100 * orderedBiGrams[i].getValue() >= MERGE_BI_GRAMS_PERCENTAGE *\n\t\t\tMath.max(wordCount.get(word1), wordCount.get(word2))) {\n\t\t concepts.add(new Pair<String, Integer>(word1 + \" \" + word2,\n\t\t\t wordCount.get(word1) + wordCount.get(word2)\n\t\t\t - orderedBiGrams[i].getValue() / 2));\n\t\t removeFromSingleWordConcepts.add(word1);\n\t\t removeFromSingleWordConcepts.add(word2);\n\t\t} else {\n\t\t concepts.add(new Pair<String, Integer>(word1 + \" \" + word2,\n\t\t\t orderedBiGrams[i].getValue()));\n\t\t}\n\t }\n\t}\n\n\tfor (int i = 0; i < orderedWords.length; i++) {\n\t if (!removeFromSingleWordConcepts.contains(orderedWords[i].getKey())) {\n\t\tconcepts.add(orderedWords[i]);\n\t }\n\t}\n\n\treturn concepts;\n }", "title": "" }, { "docid": "ba3ae4847098ebe255307318b83791f5", "score": "0.5857702", "text": "public static void main(String[] args) throws OWLOntologyCreationException, OWLOntologyStorageException, IOException {\n File inFile = new File(\"/Users/siiraa/000_EBIwork/ProjWorkSpace/localEFO/efo_ordo_module.owl\");\n\n OWLOntologyManager manager = OWLManager.createOWLOntologyManager();\n OWLDataFactory df = manager.getOWLDataFactory();\n\n OWLAnnotationProperty omimDefCite = df.getOWLAnnotationProperty(IRI.create(\"http://www.ebi.ac.uk/efo/OMIM_definition_citation\"));\n\n OWLOntology moduleOnt = manager.loadOntologyFromOntologyDocument(inFile);\n System.out.println(\".......loading from: \" + moduleOnt);\n\n List<AddAxiom> annotationToAdd = new ArrayList<AddAxiom>();\n\n\n //reading input file, each line is URI \\t OMIM ID string\n //FileInputStream input = new FileInputStream(\"/Users/siiraa/000_EBIwork/ProjWorkSpace/localEFO/insert_OMIM_xRef_EFO.txt\");\n FileInputStream input = new FileInputStream(\"/Users/siiraa/000_EBIwork/ProjWorkSpace/localEFO/insert_OMIM_xRef_ORDO.txt\");\n BufferedReader br = new BufferedReader(new InputStreamReader(input));\n String strLine;\n\n Map<String, List<String>> iri2omims = new HashMap<String, List<String>>();\n while((strLine = br.readLine()) != null){\n String[] splitLine = strLine.split(\"\\\\t\");\n //System.out.println(splitLine[0] + \" || \" + splitLine[1]);\n String efoIRI =splitLine[0];\n String omim = splitLine[1];\n List<String> omims = iri2omims.get(efoIRI);\n if(omims != null){\n omims.add(omim);\n }else{\n omims = new ArrayList<String>();\n omims.add(omim);\n }\n iri2omims.put(efoIRI, omims);\n }\n\n\n Set<OWLClass> owlClasses = moduleOnt.getClassesInSignature();\n System.out.println(\"owlClasses = \" + owlClasses.size());\n System.out.println(\"#classes to add OMIM to \" + iri2omims.size());\n //System.out.println(iri2omims);\n //{http://www.ebi.ac.uk/efo/EFO_0000224=[OMIM:612376], http://www.ebi.ac.uk/efo/EFO_0000588=[OMIM:156240], http://www.ebi.ac.uk/efo/EFO_0000621=[OMIM:256700\n\n\n for(OWLClass owlClass : owlClasses){\n List<String> omims = iri2omims.get(owlClass.getIRI().toString());\n\n //if omims is null, go to the next owlClass\n if(omims == null){\n continue;\n }\n\n for(String omim : omims){\n //add omim annotation property to owlClass\n OWLLiteral newVal = df.getOWLLiteral(omim);\n OWLAnnotationAssertionAxiom newAx = df.getOWLAnnotationAssertionAxiom(omimDefCite, owlClass.getIRI(), newVal);\n annotationToAdd.add(new AddAxiom(moduleOnt, newAx));\n\n System.out.println(newAx);\n }\n }\n\n br.close();\n manager.applyChanges(annotationToAdd);\n manager.saveOntology(moduleOnt);\n System.out.println(\"ontology is updated...\");\n\n\n }", "title": "" }, { "docid": "e70f1cd88e270b6c08720a67c91f4e24", "score": "0.5824145", "text": "public interface Semantics extends WrappedIndividual {\n\n /* ***************************************************\n * Property http://www.semanticweb.org/Automation-I4.0-Ontology#ensures\n */\n \n /**\n * Gets all property values for the ensures property.<p>\n * \n * @returns a collection of values for the ensures property.\n */\n Collection<? extends Interoperability> getEnsures();\n\n /**\n * Checks if the class has a ensures property value.<p>\n * \n * @return true if there is a ensures property value.\n */\n boolean hasEnsures();\n\n /**\n * Adds a ensures property value.<p>\n * \n * @param newEnsures the ensures property value to be added\n */\n void addEnsures(Interoperability newEnsures);\n\n /**\n * Removes a ensures property value.<p>\n * \n * @param oldEnsures the ensures property value to be removed.\n */\n void removeEnsures(Interoperability oldEnsures);\n\n\n /* ***************************************************\n * Property http://www.semanticweb.org/Automation-I4.0-Ontology#formalizes\n */\n \n /**\n * Gets all property values for the formalizes property.<p>\n * \n * @returns a collection of values for the formalizes property.\n */\n Collection<? extends WrappedIndividual> getFormalizes();\n\n /**\n * Checks if the class has a formalizes property value.<p>\n * \n * @return true if there is a formalizes property value.\n */\n boolean hasFormalizes();\n\n /**\n * Adds a formalizes property value.<p>\n * \n * @param newFormalizes the formalizes property value to be added\n */\n void addFormalizes(WrappedIndividual newFormalizes);\n\n /**\n * Removes a formalizes property value.<p>\n * \n * @param oldFormalizes the formalizes property value to be removed.\n */\n void removeFormalizes(WrappedIndividual oldFormalizes);\n\n\n /* ***************************************************\n * Common interfaces\n */\n\n OWLNamedIndividual getOwlIndividual();\n\n OWLOntology getOwlOntology();\n\n void delete();\n\n}", "title": "" }, { "docid": "c04deaa676ebcfd60dc52bd239ebc8d2", "score": "0.57370293", "text": "OWLOntology loadOntology();", "title": "" }, { "docid": "17a9a544aaafd44e817bb8261f62a1eb", "score": "0.570417", "text": "@Override\n\tpublic void initialize() throws Exception {\n\t\tstorage.initialize();\n\t\tint thing = storage.getID(InstanceExpressionVisitor.OP_THING), //nothing = storage.getIDForNothing(),\n\t\t\ttoptype = storage.getID(Literals.TOP_DATATYPE), bottype = storage.getID(Literals.BOTTOM_DATATYPE);\n\t\t// make sure that important vocabulary elements have a fixed low id, even if not needed here:\n\t\tstorage.getID(InstanceExpressionVisitor.OP_NOTHING);\n\t\tstorage.getID(InstanceExpressionVisitor.OP_BOTTOM_OBJECT_PROPERTY);\n\t\tstorage.getID(InstanceExpressionVisitor.OP_BOTTOM_DATA_PROPERTY);\n\t\t\t//storage.getID(InstanceExpressionVisitor.OP_TOP_OBJECT_PROPERTY);\n\t\t\t//storage.getID(InstanceExpressionVisitor.OP_TOP_DATA_PROPERTY);\n\t\t// use thing as the default instance of itself (punning):\n\t\tstorage.makePredicateAssertion(\"inst\",thing,thing);\n\t\tstorage.makePredicateAssertion(\"real\",thing);\n\t\tstorage.makePredicateAssertion(\"dinst\",toptype,toptype);\n\t\tstorage.makePredicateAssertion(\"dreal\",toptype);\n\n\t\t// axiomatize basic datatype dependencies:\n\t\tint owlReal = storage.getID(Literals.OWL_real);\n\t\tint owlRational = storage.getID(Literals.OWL_rational);\n\t\tint xsdDecimal = storage.getID(Literals.XSD_decimal);\n\t\tint xsdInteger = storage.getID(Literals.XSD_integer);\n\t\tint xsdNonNegativeInteger = storage.getID(Literals.XSD_nonNegativeInteger);\n\t\tint xsdNegativeInteger = storage.getID(Literals.XSD_negativeInteger);\n\t\tint xsdNonPositiveInteger = storage.getID(Literals.XSD_nonPositiveInteger);\n\t\tint xsdPositiveInteger = storage.getID(Literals.XSD_positiveInteger);\n\t\tint xsdLong = storage.getID(Literals.XSD_long);\n\t\tint xsdInt = storage.getID(Literals.XSD_int);\n\t\tint xsdShort = storage.getID(Literals.XSD_short);\n\t\tint xsdByte = storage.getID(Literals.XSD_byte);\n\t\tint xsdUnsignedLong = storage.getID(Literals.XSD_unsignedLong);\n\t\tint xsdUnsignedInt = storage.getID(Literals.XSD_unsignedInt);\n\t\tint xsdUnsignedShort = storage.getID(Literals.XSD_unsignedShort);\n\t\tint xsdUnsignedByte = storage.getID(Literals.XSD_unsignedByte);\n\t\tSimpleLiteral zero = Literals.makeSimpleLiteral(\"0\",Literals.XSD_byte);\n\t\tString zerokey = InstanceExpressionVisitor.visitSimpleLiteral(zero, storage, InstanceExpressionVisitor.Action.WRITEHEAD);\n\t\tint zeroid = storage.getID(zerokey);\n\t\t\n\t\tstorage.makePredicateAssertion(\"dsubc\",owlRational,owlReal);\n\t\tstorage.makePredicateAssertion(\"dsubc\",xsdDecimal,owlRational);\n\t\tstorage.makePredicateAssertion(\"dsubc\",xsdInteger,xsdDecimal);\n\t\tstorage.makePredicateAssertion(\"dsubc\",xsdNonNegativeInteger,xsdInteger);\n\t\tstorage.makePredicateAssertion(\"dsubc\",xsdPositiveInteger,xsdNonNegativeInteger);\n\t\tstorage.makePredicateAssertion(\"dsubc\",xsdNonPositiveInteger,xsdInteger);\n\t\tstorage.makePredicateAssertion(\"dsubc\",xsdNegativeInteger,xsdNonPositiveInteger);\n\t\tstorage.makePredicateAssertion(\"dsubc\",xsdLong,xsdInteger);\n\t\tstorage.makePredicateAssertion(\"dsubc\",xsdInt,xsdLong);\n\t\tstorage.makePredicateAssertion(\"dsubc\",xsdShort,xsdInt);\n\t\tstorage.makePredicateAssertion(\"dsubc\",xsdByte,xsdShort);\n\t\tstorage.makePredicateAssertion(\"dsubc\",xsdUnsignedLong,xsdNonNegativeInteger);\n\t\tstorage.makePredicateAssertion(\"dsubc\",xsdUnsignedInt,xsdUnsignedLong);\n\t\tstorage.makePredicateAssertion(\"dsubc\",xsdUnsignedShort,xsdUnsignedInt);\n\t\tstorage.makePredicateAssertion(\"dsubc\",xsdUnsignedByte,xsdUnsignedShort);\n\t\tstorage.makePredicateAssertion(\"dsubcon\",xsdLong,xsdNonNegativeInteger,xsdUnsignedLong);\n\t\tstorage.makePredicateAssertion(\"dsubcon\",xsdInt,xsdUnsignedLong,xsdUnsignedInt);\n\t\tstorage.makePredicateAssertion(\"dsubcon\",xsdShort,xsdUnsignedInt,xsdUnsignedShort);\n\t\tstorage.makePredicateAssertion(\"dsubcon\",xsdByte,xsdUnsignedShort,xsdUnsignedByte);\n\t\tstorage.makePredicateAssertion(\"dsubcon\",xsdNonNegativeInteger,xsdNegativeInteger,bottype);\n\t\tstorage.makePredicateAssertion(\"dsubcon\",xsdNonPositiveInteger,xsdPositiveInteger,bottype);\n\t\tstorage.makePredicateAssertion(\"dsubcon\",xsdNonPositiveInteger,xsdNonNegativeInteger,zeroid);\n\t\t\n\t\tList<String> eltypes = Literals.getELDatatypeURIs();\n\t\tfor (int i=0; i<eltypes.size(); i++) {\n\t\t\tstorage.makePredicateAssertion(\"eltype\",storage.getID(eltypes.get(i)));\n\t\t}\n\t\tList<String> numerictypes = Literals.getNumericDatatypeURIs(), othertypes = Literals.getOtherDatatypeURIs();\n\t\tfor (int i=0; i<numerictypes.size(); i++) {\n\t\t\tint ntypeid = storage.getID(numerictypes.get(i));\n\t\t\tInstanceExpressionVisitor.createDatarangeTautologies(ntypeid,storage);\n\t\t\tstorage.makePredicateAssertion(\"dinst\",ntypeid,ntypeid);\n\t\t\tstorage.makePredicateAssertion(\"dreal\",ntypeid);\n\t\t\tfor (int j=0; j<othertypes.size(); j++) {\n\t\t\t\tint otypeid = storage.getID(othertypes.get(j));\n\t\t\t\tstorage.makePredicateAssertion(\"dsubcon\",ntypeid,otypeid,bottype);\n\t\t\t}\n\t\t}\n\t\tfor (int i=0; i<othertypes.size(); i++) {\n\t\t\tint otypeid1 = storage.getID(othertypes.get(i));\n\t\t\tInstanceExpressionVisitor.createDatarangeTautologies(otypeid1,storage);\n\t\t\tstorage.makePredicateAssertion(\"dinst\",otypeid1,otypeid1);\n\t\t\tstorage.makePredicateAssertion(\"dreal\",otypeid1);\n\t\t\tfor (int j=i+1; j<othertypes.size(); j++) {\n\t\t\t\tint otypeid2 = storage.getID(othertypes.get(j));\n\t\t\t\tstorage.makePredicateAssertion(\"dsubcon\",otypeid1,otypeid2,bottype);\n\t\t\t}\n\t\t}\n\t\tstorage.commit();\n\t}", "title": "" }, { "docid": "5a98e3fb352554135d4592d4bbbfe798", "score": "0.56004536", "text": "@Override\r\n \tprotected void validateSemantics(ISession session) throws ThinklabException {\n \t\tif (context != null)\r\n \t\t\tfor (IModel m : context) {\r\n \t\t\t\t((DefaultAbstractModel)m).validateConcepts(session);\r\n \t\t\t}\r\n \t\t\r\n \t\tif (models != null)\r\n \t\t\tfor (IModel m : models) {\r\n \t\t\t\t((DefaultAbstractModel)m).validateConcepts(session);\r\n \t\t\t}\r\n \t}", "title": "" }, { "docid": "8558e2b1652c268eb582f187fd9a3a65", "score": "0.5584202", "text": "public void preprocessOntology(Collection<AxiomWrapper> axioms) {\n for (AxiomWrapper ax : axioms) {\n processAx(ax);\n }\n }", "title": "" }, { "docid": "6426823563e8ddb216f4f6a4b611595a", "score": "0.5579462", "text": "private static void addConceptIntoModel(OncotreeConcept concept, Model model){\n\t\tResIterator it = model.listResourcesWithProperty(SKOS.prefLabel, concept.getPrimary().substring(0, concept.getPrimary().indexOf(\"(\")));\r\n\r\n\t\tif(concept.getIdx() == 1 && !it.hasNext()){\r\n\t\t\tString conceptURI = createConceptId();\r\n\t\t\tResource c = model.createResource(conceptURI)\r\n\t\t\t\t\t.addProperty(SKOS.broader, \"http://data.mskcc.org/ontologies/oncotree/ONC000001\");\r\n\t\t\tmodel.getResource(\"http://data.mskcc.org/ontologies/oncotree/ONC000001\")\r\n\t\t\t\t.addProperty(SKOS.narrower, c);\r\n\t\t\taddLabels(c, concept.getPrimary());\r\n\t\t}\r\n\t\t\r\n\t\tString conceptURI = createConceptId();\r\n\t\tResource c = model.createResource(conceptURI);\r\n\t\tc.addProperty(RDF.type, model.getResource(\"http://data.mskcc.org/ontologies/oncotree/Oncotree_Concept\"));\r\n\t\tif(concept.getColor()!=null && !StringUtils.isEmpty(concept.getColor())){\r\n\t\t\tc.addProperty(COLOR_P, concept.getColor());\r\n\t\t}\r\n\t\t\r\n\t\tif(concept.getMainType()!=null && !StringUtils.isEmpty(concept.getMainType())){\r\n\t\t\tc.addProperty(MAIN_TYPE_P, concept.getMainType());\r\n\t\t}\r\n\t\t\r\n\t\tif(concept.getNccn()!=null && !StringUtils.isEmpty(concept.getNccn())){\r\n\t\t\tc.addProperty(NCCN_P, concept.getNccn());\r\n\t\t}\r\n\t\t\r\n\t\tif(concept.getNci()!=null && !StringUtils.isEmpty(concept.getNci())){\r\n\t\t\tc.addProperty(NCI_P, concept.getNci());\r\n\t\t}\r\n\t\t\r\n\t\tif(concept.getUmls()!=null && !StringUtils.isEmpty(concept.getUmls())){\r\n\t\t\tc.addProperty(UMLS_P, concept.getUmls());\r\n\t\t}\r\n\r\n\t\taddParentAndChildren(c, concept, model);\r\n\t}", "title": "" }, { "docid": "677049860ae76c4acafa6bf2f52b8e53", "score": "0.55757993", "text": "public ItemVector<iConcept> getConcepts() { return concepts; }", "title": "" }, { "docid": "0957ffebaeab3ef7d113bfeae5589ae7", "score": "0.5575787", "text": "public interface OntologyService\n{\n String conceptCodeConceptURI = \"http://www.labkey.org/types#conceptCode\";\n\n void registerProvider(OntologyProvider provider);\n\n default List<Ontology> getOntologies(Container c)\n {\n throw new NotImplementedException(\"todo\");\n }\n\n Concept resolveCode(String code);\n\n /* handle concept lookup columns in a DataIterator based insert/update*/\n DataIteratorBuilder getConceptLookupDataIteratorBuilder(DataIteratorBuilder in, TableInfo target);\n\n /* handle concept lookup columns in a non-DataIterator based insert/update */\n Function<Map<String,Object>, Map<String,Object>> getConceptUpdateHandler(TableInfo t) throws ValidationException;\n\n static OntologyService get()\n {\n return ServiceRegistry.get().getService(OntologyService.class);\n }\n\n static void setInstance(OntologyService impl)\n {\n ServiceRegistry.get().registerService(OntologyService.class, impl);\n }\n\n void parseXml(ColumnType xmlCol, MutableColumnConceptProperties col);\n\n void writeXml(ColumnRenderProperties col, ColumnType colXml);\n\n void parseXml(PropertyDescriptorType xmlProp, MutableColumnConceptProperties domainProp);\n\n void writeXml(DomainProperty domainProp, PropertyDescriptorType xProp);\n\n interface ConceptInfo\n {\n String getLabelColumn();\n String getImportColumn();\n String getSubClassOfPath();\n }\n\n interface OntologyAnnotations\n {\n @NotNull ConceptInfo getConceptInfo();\n @Nullable String getPrincipalConceptCode();\n }\n}", "title": "" }, { "docid": "493317b9bf71413e19be8d95b5d367c9", "score": "0.55578727", "text": "protected void initSupportedDatatypeProperties() {\r\n // Initialize OWL to EMF mapping structures ...\r\n owlDatatypeName2label_ = new HashMap<String, String>();\r\n owlDatatypeName2lgPropClass_ = new HashMap<String, String>();\r\n \r\n int dataTypePropertyCounter = 0;\r\n \r\n for (Iterator props = owlModel_.getRDFProperties().iterator(); props.hasNext();) {\r\n RDFProperty prop = (RDFProperty) props.next();\r\n String propertyName = getRDFResourceLocalName(prop);\r\n // Correlate first assigned label to the primary ID.\r\n String label = resolveLabel(prop);\r\n if (isNoopNamespace(label))\r\n continue;\r\n // For NCI we do not want the A type properties i.e Properties that\r\n // are both an\r\n // annotation property and an Object Property to be treated as a\r\n // property.\r\n // They are associations that go into the association container\r\n if (prop.isAnnotationProperty() && !(prop instanceof OWLObjectProperty)) {\r\n addToSupportedPropertyAndMap(label, propertyName, prop);\r\n owlDatatypeName2label_.put(propertyName, label);\r\n } else if (prop instanceof OWLDatatypeProperty) {\r\n \r\n if (prefManager.getDataTypePropertySwitch().equals(\"both\")\r\n || prefManager.getDataTypePropertySwitch().equals(\"association\")) {\r\n // Create and register a new association ...\r\n AssociationWrapper aw = new AssociationWrapper();\r\n \r\n aw.setAssociationName(label);\r\n aw.setEntityCode(propertyName);\r\n \r\n aw.setIsTransitive(Boolean.FALSE);\r\n String nameSpace = getNameSpace(((OWLDatatypeProperty) prop).getNamespace());\r\n aw.setEntityCodeNamespace(nameSpace);\r\n aw = assocManager.addAssociation(lgRelationsContainer_Roles, aw);\r\n \r\n // Add to supported associations ...\r\n lgSupportedMappings_.registerSupportedAssociation(propertyName, prop.getNamespace() + propertyName,\r\n propertyName, propertyName, nameSpace, true);\r\n \r\n resolveAssociationProperty(aw.getAssociationEntity(), prop);\r\n }\r\n \r\n if (prefManager.getDataTypePropertySwitch().equals(\"both\")\r\n || prefManager.getDataTypePropertySwitch().equals(\"conceptProperty\")) {\r\n addToSupportedPropertyAndMap(label, propertyName, prop);\r\n }\r\n \r\n owlDatatypeName2label_.put(propertyName, label);\r\n }\r\n }\r\n \r\n }", "title": "" }, { "docid": "e4d8e1bb96409aeb3fdf7d5abfcc341b", "score": "0.55362093", "text": "@Override\n\t//Rewrite R(a,b) + DEFEASIBLE\n\tpublic void visit(OWLObjectPropertyAssertionAxiom axiom) {\n\t\t\n\t\taddFact(CKRRewritingVocabulary.TRIPLEA, //\n\t\t\t\taxiom.getSubject().asOWLNamedIndividual().getIRI(),\n \t\t\t\taxiom.getProperty().asOWLObjectProperty().getIRI(),\n\t\t\t\taxiom.getObject().asOWLNamedIndividual().getIRI(),\n\t\t\t\tcontextID,\n\t\t\t\tIRI.create(MAIN)//\n\t\t);\n\t\t\n\t\t//add fact for def.axiom\n\t if(isDefeasible(axiom)){\n\t \t//System.out.println(\"D( R(a,b) ): \" + axiom.getAxiomWithoutAnnotations());\n\t \t\n//\t\t\tTerm subjectTerm = getConstant(axiom.getSubject().asOWLNamedIndividual().getIRI());\n//\t\t\tTerm propertyTerm = getConstant(axiom.getProperty().asOWLObjectProperty().getIRI());\n//\t\t\tTerm objectTerm = getConstant(axiom.getObject().asOWLNamedIndividual().getIRI());\n//\n//\t\t\tLiteral ovrtriplea = getLiteral(true, CKRRewritingVocabulary.OVRTRIPLEA, \n//\t\t\t\t\t subjectTerm, propertyTerm, objectTerm, contextTerm);\n//\t\t\tLiteral ntripled = getLiteral(false, CKRRewritingVocabulary.TRIPLED, \n//\t\t\t\t\t subjectTerm, propertyTerm, objectTerm, contextTerm);\n//\t\t\tLiteral prec = getLiteral(true, CKRRewritingVocabulary.PREC, \n//\t\t\t\t\t contextTerm, globalTerm);\n//\t\t\taddRule(ovrtriplea, ntripled, prec);\n\t \t\n\t\t\taddFact(CKRRewritingVocabulary.DEF_TRIPLEA, //\n\t\t\t\t\taxiom.getSubject().asOWLNamedIndividual().getIRI(),\n\t \t\t\t\taxiom.getProperty().asOWLObjectProperty().getIRI(),\n\t\t\t\t\taxiom.getObject().asOWLNamedIndividual().getIRI()//\n\t\t\t);\n\t }\t\t\n\t}", "title": "" }, { "docid": "7d79598c9fdf66cef1182cec2fc70615", "score": "0.5512645", "text": "protected void processAllInstanceAndProperties(Snapshot snap) {\r\n snap = SimpleMemUsageReporter.snapshot();\r\n messages_.info(\"Read Time : \" + SimpleMemUsageReporter.formatTimeDiff(snap.getTimeDelta(null))\r\n + \" Heap Usage: \" + SimpleMemUsageReporter.formatMemStat(snap.getHeapUsage()) + \" Heap Delta:\"\r\n + SimpleMemUsageReporter.formatMemStat(snap.getHeapUsageDelta(null)));\r\n messages_.info(\"Processing OWL Individuals ...\");\r\n \r\n int count = 0;\r\n owlInstanceName2code_ = new HashMap();\r\n \r\n // The idea is to iterate through all the OWL individuals, and register\r\n // them\r\n // as well as find out additional associations (e.g,. From)\r\n for (Iterator individuals = owlModel_.getOWLIndividuals().iterator(); individuals.hasNext();) {\r\n OWLIndividual individual = (OWLIndividual) individuals.next();\r\n Entity lgInstance = resolveIndividual(individual);\r\n if (lgInstance != null) {\r\n addEntity(lgInstance);\r\n }\r\n if (count % 1000 == 0)\r\n messages_.info(\"OWL individuals processed: \" + count);\r\n count++;\r\n }\r\n messages_.info(\"Total OWL individuals processed: \" + count);\r\n // Now, process all the relationships/associations the\r\n // concept has with other concepts. Also, process all\r\n // the restrictions the concept has.\r\n messages_.info(\"Instances converted to EMF\");\r\n snap = SimpleMemUsageReporter.snapshot();\r\n messages_.info(\"Read Time : \" + SimpleMemUsageReporter.formatTimeDiff(snap.getTimeDelta(null))\r\n + \" Heap Usage: \" + SimpleMemUsageReporter.formatMemStat(snap.getHeapUsage()) + \" Heap Delta:\"\r\n + SimpleMemUsageReporter.formatMemStat(snap.getHeapUsageDelta(null)));\r\n \r\n // If we found at least one, register the supported entity type.\r\n if (!owlInstanceName2code_.isEmpty()) {\r\n String name = EntityTypes.INSTANCE.toString();\r\n lgSupportedMappings_.registerSupportedEntityType(name, null, name, false);\r\n }\r\n }", "title": "" }, { "docid": "acb913e95ffec11e3302a6d9fd2b2428", "score": "0.54890263", "text": "@VisibleForTesting\n static void extractConcepts(Trend trend, List<Status> tweetsBatch) {\n trend.addConcept(new Pair<String, Integer>(trend.getParsedName(),\n \ttweetsBatch == null ? 1 : 1 + 2 * tweetsBatch.size()));\n\n if (tweetsBatch == null) {\n return;\n }\n\n List<String> unique = removeDuplicates(tweetsBatch);\n List<List<String>> tweetsSplitted = filter(unique);\n tweetsSplitted = hashTagConcepts(trend, tweetsSplitted);\n List<Pair<String, Integer>> wordConcepts = wordConcepts(trend, tweetsSplitted);\n\n for (int i = 0; i < wordConcepts.size(); i++) {\n String conceptText = wordConcepts.get(i).getKey();\n int conceptCount = wordConcepts.get(i).getValue();\n int count = 0;\n for (String tweet : unique) {\n \tif (tweet.toLowerCase().contains(conceptText.toLowerCase())) {\n \t count++;\n \t}\n }\n wordConcepts.set(i, new Pair<String, Integer>(conceptText,\n \t Integer.max(conceptCount, count)));\n }\n\n Collections.sort(wordConcepts, new Comparator<Pair<String, Integer>>() {\n @Override\n public int compare(Pair<String, Integer> o1, Pair<String, Integer> o2) {\n // sort them such that o2 comes before o1 if o2 > o1, otherwise sort\n return o2.getValue().compareTo(o1.getValue());\n }\n });\n\n for (int i = 0; i < wordConcepts.size(); i++) {\n\t Pair<String, Integer> concept = wordConcepts.get(i);\n\t if (i < 5 || 100 * concept.getValue() >=\n\t\t CONCEPT_THRESHOLD_PERCENTAGE * unique.size()) {\n\t\ttrend.addConcept(concept);\n\t }\n\t}\n }", "title": "" }, { "docid": "c9c4f040c77efcf69049933cb6679c3b", "score": "0.54789144", "text": "public static String term2OWL(File file) {\n\t\tString ontology = BEGINFILE;\n\n\t\tString line;\n\t\tString previous;\n\t\tString next;\n\t\tString owlPackage = \"\"; //will be used to define subclass\n\t\tString owlDataProp=\"\";\n\t\tString owlClass=\"\";\n\t\tString owlObjectProp=\"\";\n\t\t\n\t\ttry (final Scanner scanner = new Scanner(file)) {\n\t\t\twhile (scanner.hasNextLine()) {\n\t\t\t\tline = scanner.nextLine();\n\t\t\t\tprevious = line;\n\t\t\t\tif(line.trim().equals(\"package\")) {\n\t\t\t\t\t// Read the next line which is the name of the package (identified by\n\t\t\t\t\t// the meta-data package)\n\t\t\t\t\towlPackage = scanner.nextLine();\n\t\t\t\t\t//Create a new owl:class\n\t\t\t\t\tontology += OWLHelper.genClassDeclarations(owlPackage);\n\t\t\t\t\t//All the class contains in this package are define as subclass of \n\t\t\t\t\t//this package\n\t\t\t\t\tif (scanner.hasNextLine()) {\n\t\t\t\t\t\tprevious = line;\n\t\t\t\t\t\tline = scanner.nextLine();\n\t\t\t\t\t}\n\t\t\t\t\telse break;\n\t\t\t\t\tif (line.trim().equals(\"class\")) {\n\t\t\t\t\t\t//Define a new class that is the subclass of the package\n\t\t\t\t\t\towlClass=scanner.nextLine();\n\t\t\t\t\t\tontology += OWLHelper.genSubClasses(owlPackage, owlClass);\n\t\t\t\t\t\t// Pass to the next line - all the elements after the class and before the\n\t\t\t\t\t\t// next class are properties and methods of the current class\n\t\t\t\t\t\tif (scanner.hasNextLine())\n\t\t\t\t\t\t\tline = scanner.nextLine();\n\t\t\t\t\t\telse break;\n\t\t\t\t\t\twhile (!line.contains(\"class\")) {\n\t\t\t\t\t\t\t//If we got a DataProperty\n\t\t\t\t\t\t\tif(Arrays.asList(rangeDataProperty).contains(line.trim())) {\n\t\t\t\t\t\t\t\t//The next term is a DataProperty\n//\t\t\t\t\t\t\t\tprevious = line;\n\t\t\t\t\t\t\t\towlDataProp=scanner.nextLine();\n\t\t\t\t\t\t\t\tontology += OWLHelper.genDataPropertiesDeclaration(owlDataProp);\n\t\t\t\t\t\t\t\tontology += OWLHelper.genDataPropertiesDomain(owlDataProp, owlClass);\n\t\t\t\t\t\t\t\tontology += OWLHelper.genDataPropertiesRange(owlDataProp, line);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif(!Arrays.asList(rangeDataProperty).contains(line.trim())&&\n\t\t\t\t\t\t\t\t\t!Arrays.asList(rangeDataProperty).contains(previous.trim())) {\n//\t\t\t\t\t\t\t\tprevious = line;\n\t\t\t\t\t\t\t\t//The next term is an ObjectProperty\n\t\t\t\t\t\t\t\towlObjectProp=scanner.nextLine();\n\t\t\t\t\t\t\t\tontology += OWLHelper.genObjectPropertiesDeclaration(owlObjectProp);\n\t\t\t\t\t\t\t\t//Get the cardinality\n\t\t\t\t\t\t\t\tif(line.contains(\"<List>\")) {\n\t\t\t\t\t\t\t\t\tontology += OWLHelper.genObjectPropertiesDomain(owlDataProp, owlClass);\n\t\t\t\t\t\t\t\t\tontology += OWLHelper.\n\t\t\t\t\t\t\t\t\tgenObjectPropertiesRangeAllValFrom(owlObjectProp, owlClass);\n\t\t\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\t\tontology += OWLHelper.genObjectPropertiesDomain(owlDataProp, owlClass);\n\t\t\t\t\t\t\t\t\tontology += OWLHelper.genObjectPropertiesRange(owlDataProp, owlClass);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// Next time, generate the objectOpropertyRange and data property\n\t\t\t\t\t\t\tif (scanner.hasNextLine()) {\n\t\t\t\t\t\t\t\tprevious=line;\n\t\t\t\t\t\t\t\tline = scanner.nextLine();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\t// Add the end of the file to the terms translated\n\t\tontology += ENDFILE;\n\t\t//Return the terms translated\n\t\t//Next time, this will be wrote to a file\n\t\treturn ontology;\n\t}", "title": "" }, { "docid": "9d35da44300a2bcc6b2e76c7bb2fdc54", "score": "0.54550457", "text": "private void findConceptsForInstances() {\n\t\tSet<String> temp = new HashSet<String>();\n\n\t\tfor (String s : taskInput)\n\t\t\ttemp.add(taxonomyMap.get(s).parents.get(0).value);\n\t\ttaskInput.clear();\n\t\ttaskInput.addAll(temp);\n\n\t\ttemp.clear();\n\t\tfor (String s : taskOutput)\n\t\t\ttemp.add(taxonomyMap.get(s).parents.get(0).value);\n\t\ttaskOutput.clear();\n\t\ttaskOutput.addAll(temp);\n\n\t\tfor (Node s : serviceMap.values()) {\n\t\t\ttemp.clear();\n\t\t\tSet<String> inputs = s.getInputs();\n\t\t\tfor (String i : inputs)\n\t\t\t\ttemp.add(taxonomyMap.get(i).parents.get(0).value);\n\t\t\tinputs.clear();\n\t\t\tinputs.addAll(temp);\n\n\t\t\ttemp.clear();\n\t\t\tSet<String> outputs = s.getOutputs();\n\t\t\tfor (String o : outputs)\n\t\t\t\ttemp.add(taxonomyMap.get(o).parents.get(0).value);\n\t\t\toutputs.clear();\n\t\t\toutputs.addAll(temp);\n\t\t}\n\t}", "title": "" }, { "docid": "b441e2f9250cce56787388561ac5da9d", "score": "0.54393804", "text": "@Override\r\n public void runTest()\r\n throws Exception\r\n {\n runTest( getOntModel( OntModelSpec.OWL_MEM ), m_inOWL );\r\n\r\n m_owlLiteLang = true;\r\n\r\n runTest( getOntModel( OntModelSpec.OWL_LITE_MEM ), m_inOWLLite );\r\n\r\n // now DAML\r\n m_owlLang = false;\r\n m_owlLiteLang = false;\r\n m_damlLang = true;\r\n\r\n runTest( getOntModel( OntModelSpec.DAML_MEM ), m_inDAML );\r\n\r\n // now RDFS\r\n\r\n m_rdfsLang = true;\r\n m_damlLang = false;\r\n runTest( getOntModel( OntModelSpec.RDFS_MEM ), m_inRDFS);\r\n }", "title": "" }, { "docid": "b52af3236b1f732c265f895aae5b1e54", "score": "0.54365075", "text": "OntologicalConcept getOntolgicalConcept();", "title": "" }, { "docid": "f2de5309e6aa1b9421b63e562b8f56d8", "score": "0.5394068", "text": "protected abstract OWLOntology loadOntology() throws OWLOntologyCreationException;", "title": "" }, { "docid": "5bb9fa9210c6d2807062fd84151e27ad", "score": "0.5384199", "text": "protected void processAllInstanceRelations() {\r\n \r\n // Process the associations (e.g.,\r\n // rdf:type, DifferentFrom, SameAs, ObjectProperties)\r\n for (Iterator individuals = owlModel_.getOWLIndividuals().iterator(); individuals.hasNext();) {\r\n OWLIndividual individual = (OWLIndividual) individuals.next();\r\n String nameSpace = getNameSpace(individual.getNamespace());\r\n String lgCode = resolveInstanceID(individual);\r\n if (lgCode != null) {\r\n AssociationSource source = CreateUtils.createAssociationSource(lgCode, nameSpace);\r\n resolveRdfTypeRelations(source, individual);\r\n resolveDifferentFromRelations(source, individual);\r\n resolveSameAsRelations(source, individual);\r\n resolveOWLObjectPropertyRelations(source, individual);\r\n resolveAnnotationPropertyRelations(source, individual);\r\n // resolveDatatypePropertyRelations(source, individual);\r\n }\r\n }\r\n \r\n // Updated on 07/29/2008:\r\n // Process OWL:AllDifferent, which is not the same\r\n // as processing OWL:differentFrom. We need a separate logic\r\n // for this (e.g., Pizza ontology uses OWL:AllDifferent). Since\r\n // we need to create an association. Cui Tao suggested that we\r\n // stick in the browser text, and she will do custom processing. So,\r\n // the AssociationSource will be the browser text, and the\r\n // associationTarget will be null.\r\n for (Iterator diffIndi = owlModel_.getOWLAllDifferents().iterator(); diffIndi.hasNext();) {\r\n OWLAllDifferent allDifferent = (OWLAllDifferent) diffIndi.next();\r\n String nameSpace = getNameSpace(allDifferent.getNamespace());\r\n AssociationSource source = CreateUtils.createAssociationSource(allDifferent.getBrowserText(), nameSpace);\r\n String nameSpaceTarget = getNameSpace(allDifferent.getNamespace());\r\n AssociationTarget target = CreateUtils.createAssociationTarget(allDifferent.getBrowserText(),\r\n nameSpaceTarget);\r\n relateAssociationSourceTarget(assocManager.getAllDifferent(), source, target);\r\n }\r\n \r\n }", "title": "" }, { "docid": "0d34149356e9445a27e0669e5ee58b6e", "score": "0.5377306", "text": "private void addConcepts(Map nouns, String phrases) {\n Iterator iter=nouns.keySet().iterator();\n while(iter.hasNext()){\n String conceptName=(String)iter.next();\n String conceptPosition=nouns.get(conceptName).toString();\n Map conceptInfo=new HashMap();\n conceptInfo.put(\"position\",conceptPosition);\n conceptInfo.put(\"weight\",1);\n this.orginalConcepts.put(conceptName,conceptInfo);\n }\n \n \n StringTokenizer sts=new StringTokenizer(phrases,\"#\");\n while(sts.hasMoreTokens()){\n String onePhrase=sts.nextToken();\n String [] onePharseArr=onePhrase.split(\":\");\n Map conceptInfo=new HashMap();\n conceptInfo.put(\"position\",onePharseArr[1]);\n conceptInfo.put(\"weight\",1);\n this.orginalConcepts.put(onePharseArr[0],conceptInfo);\n }\n }", "title": "" }, { "docid": "218eae448d3aa460064001db3289433f", "score": "0.5368967", "text": "protected void processOWLDatatypeProperties(Snapshot snap) {\r\n snap = SimpleMemUsageReporter.snapshot();\r\n messages_.info(\"Read Time : \" + SimpleMemUsageReporter.formatTimeDiff(snap.getTimeDelta(null))\r\n + \" Heap Usage: \" + SimpleMemUsageReporter.formatMemStat(snap.getHeapUsage()) + \" Heap Delta:\"\r\n + SimpleMemUsageReporter.formatMemStat(snap.getHeapUsageDelta(null)));\r\n messages_.info(\"Processing OWL Datatype Properties ...\");\r\n \r\n for (Iterator props = owlModel_.getUserDefinedOWLDatatypeProperties().iterator(); props.hasNext();) {\r\n OWLDatatypeProperty prop = (OWLDatatypeProperty) props.next();\r\n // Check if the data type property is an annotation property. We do\r\n // not treat annotation properties as associations.\r\n if (prop.isAnnotationProperty()) {\r\n continue;\r\n }\r\n resolveAssociation(prop);\r\n // ///////////////////////////////////\r\n // /// Process Domain and Ranges /////\r\n // //////////////////////////////////\r\n \r\n // Get the appropriate association name initialized earlier\r\n // (initSupportedObjectProperties)\r\n String propertyName = getRDFResourceLocalName(prop);\r\n AssociationWrapper lgAssoc = assocManager.getAssociation(propertyName);\r\n String nameSpace = getNameSpace(prop.getNamespace());\r\n AssociationSource source = CreateUtils.createAssociationSource(lgAssoc.getAssociationEntity()\r\n .getEntityCode(), nameSpace);\r\n \r\n // The idea is to create a new association called \"hasDomain\", whose\r\n // LHS will be the OWLDatatyeProperty and RHS will be the\r\n // RDFSDatatype.\r\n if (prop.getDomain(false) != null) {\r\n for (Iterator domains = prop.getDomains(false).iterator(); domains.hasNext();) {\r\n RDFResource domain = (RDFResource) domains.next();\r\n relateAssocSourceWithRDFResourceTarget(EntityTypes.CONCEPT, assocManager.getDomain(), source,\r\n domain);\r\n }\r\n }\r\n \r\n if (prop.getRangeDatatype() != null) {\r\n AssociationData data = CreateUtils.createAssociationTextData(owlDatatypeName2lgDatatype_\r\n .get(propertyName));\r\n relateAssociationSourceData(assocManager.getDatatype(), source, data);\r\n }\r\n \r\n // //////////////////////////////////////////////////\r\n // /// Process Property Hierarchy/Relationships /////\r\n // /////////////////////////////////////////////////\r\n \r\n // Step 1: process subPropertyOf relationships\r\n for (Iterator superProperties = prop.getSuperproperties(false).iterator(); superProperties.hasNext();) {\r\n OWLDatatypeProperty superProp = (OWLDatatypeProperty) superProperties.next();\r\n relateAssocSourceWithRDFResourceTarget(EntityTypes.ASSOCIATION, assocManager.getSubPropertyOf(),\r\n source, superProp);\r\n }\r\n \r\n // Step 2: process inverseProperties\r\n if (prop.getInverseProperty() != null) {\r\n relateAssocSourceWithRDFResourceTarget(EntityTypes.ASSOCIATION, assocManager.getInverseOf(), source,\r\n prop.getInverseProperty());\r\n }\r\n \r\n // Step 3: process equivalentProperties\r\n for (Iterator equivProperties = prop.getEquivalentProperties().iterator(); equivProperties.hasNext();) {\r\n OWLDatatypeProperty equivalent = (OWLDatatypeProperty) equivProperties.next();\r\n relateAssocSourceWithRDFResourceTarget(EntityTypes.ASSOCIATION, assocManager.getEquivalentProperty(),\r\n source, equivalent);\r\n }\r\n } // end of for\r\n }", "title": "" }, { "docid": "f62524fcb38d9e12a83011cc537395b3", "score": "0.5349811", "text": "public void doSemanticAnalysis(){\r\n\t\tIterator<String> iter=UniqueLabels.iterator();\r\n\t\tString Temp;\r\n\t\t// Passing first time to calculate all the dimensions \r\n\t\twhile(iter.hasNext()){\r\n\t\t\tTemp=iter.next();\r\n//\t\t\tWordModel.commonWordNet.getSentenceFeatureVector(Temp);\r\n\t\t\t}\r\n\t\t// Passing Second time to create the Features \r\n\t\titer=UniqueLabels.iterator();\r\n\t\tFeature tempFeature;\r\n\t\tArrayList<Feature> AllFeature=new ArrayList<Feature>();\r\n\t\twhile(iter.hasNext()){\r\n\t\t\tTemp=iter.next();\r\n\t//\t\tLabelsFeature.add(WordModel.commonWordNet.getSentenceFeatureVector(Temp));\r\n\t//\t\ttempFeature=new Feature(Temp,WordModel.commonWordNet.getSentenceFeatureVector(Temp));\r\n\t//\t\tAllFeature.add(tempFeature);\r\n\t\t}\r\n\t\t// Removing Duplicate Feature and populating the UniqueFeatures and the DuplicateFeatures based on feature Vector\r\n\t\tremoveDuplicateFeature(AllFeature);\t\t\r\n\t\t// Creating Labels for DuplicateFeature and adding to the UniqueFeature\r\n\t\tconDuplicateFeature();\r\n\t\t\r\n\t}", "title": "" }, { "docid": "cab8b0af0670aa74e53cc782db630fda", "score": "0.5346351", "text": "public static void shouldLoad() throws Exception {\n // return;\n // Get hold of an ontology manager\n OWLOntologyManagerNoSQL manager = OWLManagerNoSQL.createOWLOntologyManager();\n\n // Remove the ontology so that we can load a local copy.\n OWLOntology localTest = loadTest(manager);\n// Reasoner hermit = new Reasoner(localTest);\n manager.saveOntologyMongoDB(localTest);\n manager.saveOntology(localTest);\n return;\n //org.semanticweb.HermiT.model.\n // boolean consistent2 = hermit.isConsistent();\n // System.out.println(hermit.isConsistent());\n //OWLDataFactory factory = manager.getOWLDataFactory();\n // We can always obtain the location where an ontology was loaded from;\n // for this test, though, since the ontology was loaded from a string,\n // this does not return a file\n IRI documentIRI = manager.getOntologyDocumentIRI(localTest);\n System.out.println(documentIRI);\n // Remove the ontology again so we can reload it later\n //manager.removeOntology(localTest);\n // In cases where a local copy of one of more ontologies is used, an\n // ontology IRI mapper can be used to provide a redirection mechanism.\n // This means that ontologies can be loaded as if they were located on\n // the web. In this example, we simply redirect the loading from\n // http://owl.cs.manchester.ac.uk/co-ode-files/ontologies/pizza.owl to\n // our local copy\n // above.\n // iri and file here are used as examples\n /*IRI iri = IRI\n .create(\"http://owl.cs.manchester.ac.uk/co-ode-files/ontologies/pizza.owl\");\n File file = folder.newFile();\n manager.getIRIMappers().add(new SimpleIRIMapper(iri, IRI.create(file)));\n // Load the ontology as if we were loading it from the web (from its\n // ontology IRI)\n IRI pizzaOntologyIRI = IRI\n .create(\"http://owl.cs.manchester.ac.uk/co-ode-files/ontologies/pizza.owl\");\n OWLOntology redirectedPizza = manager.loadOntology(pizzaOntologyIRI);\n IRI pizza = manager.getOntologyDocumentIRI(redirectedPizza);*/\n // Note that when imports are loaded an ontology manager will be\n // searched for mappings\n\n OWLReasonerFactory reasonerFactory2 = new StructuralReasonerFactory();\n OWLReasoner reasoner2 = reasonerFactory2.createReasoner(localTest);\n // Ask the reasoner to do all the necessary work now\n reasoner2.precomputeInferences(InferenceType.DATA_PROPERTY_ASSERTIONS);\n // We can determine if the ontology is actually consistent (in this\n // case, it should be).\n boolean consistent = reasoner2.isConsistent();\n System.out.println(consistent);\n Node<OWLClass> bottomNode = reasoner2.getUnsatisfiableClasses();\n // This node contains owl:Nothing and all the classes that are\n // equivalent to owl:Nothing - i.e. the unsatisfiable classes. We just\n // want to print out the unsatisfiable classes excluding owl:Nothing,\n // and we can used a convenience method on the node to get these\n Set<OWLClass> unsatisfiable = bottomNode.getEntitiesMinusBottom();\n if (!unsatisfiable.isEmpty()) {\n // System.out.println(\"The following classes are unsatisfiable: \");\n for (OWLClass cls : unsatisfiable) {\n System.out.println(\" \" + cls);\n }\n } else {\n System.out.println(\"There are no unsatisfiable classes\");\n }\n\n // OWLDataFactory fac = manager.getOWLDataFactory();\n //OWLClass vegPizza;\n // vegPizza = fac.getOWLClass(IRI\n // .create(\"http://swat.cse.lehigh.edu/onto/univ-bench.owl#Person\"));\n // Now use the reasoner to obtain the subclasses of vegetarian. We can\n // ask for the direct subclasses of vegetarian or all of the (proper)\n // subclasses of vegetarian. In this case we just want the direct ones\n // (which we specify by the \"true\" flag).\n //NodeSet<OWLClass> subClses = reasoner.getSubClasses(vegPizza, true);\n // Set<OWLClass> clses = subClses.getFlattened();\n // System.out.println(\"Subclasses: \");\n // for (OWLClass cls : clses) {\n // System.out.println(\" \" + cls);\n // }\n OWLDataFactory fac = manager.getOWLDataFactory();\n\n OWLClass toppingCls = fac.getOWLClass(IRI.create(\"http://swat.cse.lehigh.edu/onto/univ-bench.owl#ResearchAssistant\"));\n Set<OWLEntity> sig = new HashSet<OWLEntity>();\n sig.add(toppingCls);\n // We now add all subclasses (direct and indirect) of the chosen\n // classes. Ideally, it should be done using a DL reasoner, in order to\n // take inferred subclass relations into account. We are using the\n // structural reasoner of the OWL API for simplicity.\n\n Set<OWLEntity> seedSig = new HashSet<OWLEntity>();\n OWLReasoner reasoner = new StructuralReasoner(localTest,\n new SimpleConfiguration(), BufferingMode.NON_BUFFERING);\n for (OWLClass c : localTest.getClassesInSignature()) {\n if (c.getIRI().getFragment().equals(\"ResearchAssistant\")) {\n NodeSet<OWLNamedIndividual> instances = reasoner.getInstances(c, false);\n System.out.println(c.getIRI());\n for (OWLNamedIndividual i : instances.getFlattened()) {\n System.out.println(i.getIRI());\n }\n }\n }\n System.out\n .println(\"Extracting the module for the seed signature consisting of the following entities:\");\n for (OWLEntity ent : seedSig) {\n System.out.println(\" \" + ent);\n }\n System.out.println(\"Some statistics of the original ontology:\");\n System.out.println(\" \" + localTest.getSignature().size()\n + \" entities\");\n System.out.println(\" \" + localTest.getLogicalAxiomCount()\n + \" logical axioms\");\n System.out.println(\" \"\n + (localTest.getAxiomCount() - localTest.getLogicalAxiomCount())\n + \" other axioms\");\n\n OWLDataFactory df = OWLManagerNoSQL.getOWLDataFactory();\n\n OWLClass clazz = df.getOWLThing();\n System.out.println(\"Class : \" + clazz);\n OWLReasoner reasoner3 = new StructuralReasoner(localTest,\n new SimpleConfiguration(), BufferingMode.NON_BUFFERING);\n new TestOWL().printHierarchy(reasoner3, clazz, 1, new HashSet<OWLClass>(), localTest);\n // NodeSet<OWLClass> subClses = reasoner3.getSubClasses(clazz, true);\n // Set<OWLClass> clses = subClses.getFlattened();\n // System.out.println(\"Subclasses: \");\n // for (OWLClass cls : clses) {\n // System.out.println(\" \" + cls);\n // }\n\n }", "title": "" }, { "docid": "93c5e578588c57a13f76af3651d57706", "score": "0.53210354", "text": "public interface OntologyDocument {\n\n OWLOntologyID getOntologyId();\n\n ChangeResult setOntologyId(OWLOntologyID ontologyId);\n\n ChangeResult addAxiom(OWLAxiom axiom);\n\n ChangeResult removeAxiom(OWLAxiom axiom);\n\n ChangeResult addAnnotation(OWLAnnotation annotation);\n\n ChangeResult removeAnnotation(OWLAnnotation annotation);\n\n Iterable<OWLAxiom> findAxioms();\n\n Long countAxioms();\n\n Iterable<OWLLogicalAxiom> findLogicalAxioms();\n\n Long countLogicalAxioms();\n\n Iterable<OWLAxiom> findAxiomsBySubject(OWLEntity subject);\n\n <A extends OWLAxiom> Iterable<A> findAxiomsByAxiomType(AxiomType<A> axiomType);\n\n Long countAxiomsByAxiomType(AxiomType<?> axiomType);\n\n <A extends OWLAxiom> Iterable<A> findAxiomsByTypeAndSubject(AxiomType<A> axiomType, OWLEntity subject);\n\n <A extends OWLAxiom> Iterable<A> findAxiomsByTypeAndSignature(AxiomType<A> axiomType, OWLEntity signature);\n\n Iterable<OWLAxiom> findAxiomsBySignature(OWLEntity signature);\n\n Long countAxiomsBySignature(OWLEntity signature);\n\n Iterable<OWLEntity> getSignature();\n\n <E extends OWLEntity> Iterable<E> getSignature(EntityType<E> entityType);\n\n boolean containsInSignature(OWLEntity entity);\n\n Long getSignatureSize();\n\n <E extends OWLEntity> Long getSignatureSize(EntityType<E> entityType);\n}", "title": "" }, { "docid": "0bed1ec09137d9a48b64ce4888aaa3e5", "score": "0.5295933", "text": "private void expandTerm(String concept,String conceptPosition,String conceptWeight){\n \n \n \n String termOntology = olsClient.geTermOntology(concept);\n //the term is contained into one medical ontology at least\n if (!termOntology.equals(\"\")) {\n if( ! MultiOntology.multiOntology){\n HashMap allTermInfo = olsClient.getAllTermInfo(concept, conceptPosition,termOntology,conceptWeight);\n this.orginalConcepts.replace(concept, allTermInfo);\n }else\n {\n JOptionPane.showMessageDialog(null,\"more than one ontology :\"+termOntology+\" concept is :\"+concept); \n }\n \n }\n else// the term is not contained into any of medical ontologies so we will search in wordnet about it\n {\n HashMap allTermInfo=WordNetManager.getAllTermInfo(concept, conceptPosition,\"WN\",conceptWeight);\n this.orginalConcepts.replace(concept, allTermInfo);\n }\n }", "title": "" }, { "docid": "003f18b7bab809e12d2f4df6bd4009c3", "score": "0.52902967", "text": "public String readAllConcepts()\n\t\t\t\t{\n\t\t\t\t\tString output = \"\";\n\t\t\t\t\ttry\n\t\t\t\t\t{\n\t\t\t\t\t\tConnection con = dbConnect.connect();\n\t\t\t\t\t\tif (con == null)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\treturn \"Error while connecting to database!\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t// Displaying the read concepts\n\t\t\t\t\t\toutput = \"<table border='1'><tr><th>Concept Code</th>\"\n\t\t\t\t\t\t+\"<th>Researcher ID</th><th>Concept Name</th><th>Concept Description</th>\"\n\t\t\t\t\t\t+ \"<th>Start Date</th><th>Deadline</th>\"\n\t\t\t\t\t\t+ \"<th>Pledge Goal</th><th>Reward</th>\"\n\t\t\t\t\t\t+ \"<th>Pledged Amount</th>\"\n\t\t\t\t\t\t+ \"<th>Status</th><th>Work Update</th>\"\n\t\t\t\t\t\t+ \"<th>Support</th></tr>\";\n\t\t\t\t\t\t\n\t\t\t\t\t\t// retrieving all the concept details\n\t\t\t\t\t\tString query = \"select c.conceptID, c.conceptCode, hn.nKey as conceptName, hd.nKey as conceptDesc, c.startDate, c.deadline, c.pledgeGoal, c.reward, c.status, c.workUpdt, c.researcherID from concept c, hconceptname hn, hconceptdesc hd where c.conceptName = hn.Value and c.conceptDesc = hd.Value \";\n\t\t\t\t\t\tStatement stmt = con.createStatement();\n\t\t\t\t\t\tResultSet rs = stmt.executeQuery(query);\n\t\t\t\t\t\t\n\t\t\t\t\t\t// Iterate through the rows in the result set\n\t\t\t\t\t\twhile (rs.next())\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tString conceptID = Integer.toString(rs.getInt(\"conceptID\"));\n\t\t\t\t\t\t\tString conceptCode = rs.getString(\"conceptCode\");\n\t\t\t\t\t\t\tString conceptName = rs.getString(\"conceptName\");\n\t\t\t\t\t\t\tString conceptDesc = rs.getString(\"conceptDesc\");\n\t\t\t\t\t\t\tString startDate = rs.getString(\"startDate\");\n\t\t\t\t\t\t\tString deadline = rs.getString(\"deadline\");\n\t\t\t\t\t\t\tString pledgeGoal = Double.toString(rs.getDouble(\"pledgeGoal\"));\n\t\t\t\t\t\t\tString reward = rs.getString(\"reward\");\n\t\t\t\t\t\t\tString status = rs.getString(\"status\");\n\t\t\t\t\t\t\tString workUpdt = rs.getString(\"workUpdt\");\n\t\t\t\t\t\t\tString researcherID = rs.getString(\"researcherID\");\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t/** -- Calling the stored function to retrieve the total pledged amount for concept -- **/\n\t\t\t\t\t\t\t//Preparing a CallableStatement to call a function\n\t\t\t\t\t\t CallableStatement cstmt = con.prepareCall(\"{? = call funcGetAmount(?)}\");\n\t\t\t\t\t\t \n\t\t\t\t\t\t //Registering the out parameter of the function (return type)\n\t\t\t\t\t\t cstmt.registerOutParameter(1, Types.DOUBLE);\n\t\t\t\t\t\t \n\t\t\t\t\t\t //Setting the input parameters of the function\n\t\t\t\t\t\t cstmt.setString(2, conceptCode);\n\t\t\t\t\t\t \n\t\t\t\t\t\t //Executing the statement\n\t\t\t\t\t\t cstmt.execute();\n\t\t\t\t\t\t \n\t\t\t\t\t\t //Set the value returned by function to a variable\n\t\t\t\t\t\t String pledgedAmount = cstmt.getString(1); \n\t\t\t\t\t\t /*** End of function execution ***/\n\t\t\t\t\t\t \n\t\t\t\t\t\t //If no values returned set the total as 0.00\n\t\t\t\t\t\t if(pledgedAmount == null) {\n\t\t\t\t\t\t \tpledgedAmount = \"0.00\";\n\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t\t\t// Add a row into the HTML table\n\t\t\t\t\t\t\toutput += \"<tr><td>\" + conceptCode + \"</td>\";\n\t\t\t\t\t\t\toutput += \"<td>\" + researcherID + \"</td>\";\n\t\t\t\t\t\t\toutput += \"<td>\" + conceptName + \"</td>\";\n\t\t\t\t\t\t\toutput += \"<td>\" + conceptDesc + \"</td>\";\n\t\t\t\t\t\t\toutput += \"<td>\" + startDate + \"</td>\";\n\t\t\t\t\t\t\toutput += \"<td>\" + deadline + \"</td>\";\n\t\t\t\t\t\t\toutput += \"<td>\" + pledgeGoal + \"</td>\";\n\t\t\t\t\t\t\toutput += \"<td>\" + reward + \"</td>\";\n\t\t\t\t\t\t\toutput += \"<td>\" + pledgedAmount + \"</td>\";\n\t\t\t\t\t\t\toutput += \"<td>\" + status + \"</td>\";\n\t\t\t\t\t\t\toutput += \"<td>\" + workUpdt + \"</td>\";\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t// button for backing a concept\n\t\t\t\t\t\t\toutput += \"<td><input name='btnBacks' type='button' value='Back the project' \"\n\t\t\t\t\t\t\t\t\t+ \"class='btnBacks btn btn-success' data-conceptcode='\" + conceptCode + \"'></td></tr>\";\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcon.close();\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t// Completion of the HTML table\n\t\t\t\t\t\t\toutput += \"</table>\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcatch (Exception e)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\toutput = \"Error while retrieving the concepts!\";\n\t\t\t\t\t\t\tSystem.err.println(e.getMessage());\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn output;\n\t\t\t\t}", "title": "" }, { "docid": "40b27b8caab84cca9239d1785e7aeac8", "score": "0.52887726", "text": "public static void main(String args[])\n\t\n\t\t{\n\t\t try {\n\t\t\t\tfh = new FileHandler(\"Logs.txt\");\n\t\t\t} catch (SecurityException e1) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te1.printStackTrace();\n\t\t\t} catch (IOException e1) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te1.printStackTrace();\n\t\t\t} \n//\t\t logger.addHandler(fh);\n\t\t\t//Contains Object Property Assertions for all Patients\n\t\t\t Map<OWLNamedIndividual , ArrayList<OWLNamedIndividual>> Patient_ObjProp_Map = new HashMap<OWLNamedIndividual , ArrayList<OWLNamedIndividual>>();\n\t\t\t Set<OWLNamedIndividual> Patients = null;\t\t\t\n\n\t\t\t\t//get all FILE INDIVIDUALS , which are the patients.\n\t\t\t File file = new File(\"/Users/Ani/Dropbox/YaoNotes Project/Research/SoftwareDevelopment/OwlFiles/EEG_Summary_Dev.owl\");\n\t\t\t//OWLOntology EEGOwl = OWLFileLoad(\"/Users/Ani/Dropbox/YaoNotes Project/Research/SoftwareDevelopment/OwlFiles/EEG_Summary_Dev.owl\");\n\t\t\t\t\n\t\t\tCountAlgoCall DataCollected = new CountAlgoCall(EEGOwl);\n\t\t\t\n\t\t\ttry {\n\t\t\t\tDataCollected.CountAllFileIndsinProj();\n\t\t\t} catch (OWLOntologyCreationException 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\t\tPatients = DataCollected.getAllFileindividuals();\n//Object Properties of all annotated Files or Patients\t\t\n\t\t\tObjectPropAssertions OPA = new ObjectPropAssertions();\n\t\t\tOPA.GetPropertiesofFile(EEGOwl, Patients);\n\t\t\tPatient_ObjProp_Map = OPA.getPatient_ObjProp_Map();\n\t\t\t\n//Convert Object Property to Vector\n\t\t\t EEG_GoldStdVariables eeg_GoldStdVariables = new EEG_GoldStdVariables();\n\t\t\tConvertObjProptoVector(Patient_ObjProp_Map);\n\t\t\t\n\t\t\tOWLOntologyManager man = OWLManager.createOWLOntologyManager();\n\t\t String base = \"http://www.owl-ontologies.com/unnamed.owl\";\n\t\t \n\t\t try {\n\t\t\t\tOWLOntology ont = man.createOntology(IRI.create(base));\n\t\t\t} catch (OWLOntologyCreationException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t OWLDataFactory dataFactory = man.getOWLDataFactory();\n\n\t\t OWLClass Complex = dataFactory.getOWLClass(IRI.create(base\n\t\t + \"#Complex\"));\n\t\t \n\t\t\t Map<String,ArrayList<OWLNamedIndividual>> GoldStd_NormalPatterns_PropMap = new HashMap<String,ArrayList<OWLNamedIndividual>>();\n\t\t\t // Add Properties of All Normal Patterns as ArrayList here:\n//\t\t GoldStd_NormalPatterns_PropMap.put(\"AlphaRhythm\", AlphaRhythm);\n\n\n\t\t\t \n//\t\t Set<OWLNamedIndividual> L_NormalPatternList = eeg_GoldStdVariables.getGoldStd_NormalPatterns_PropMap().keySet();\n\t\t\t \n//\t\t System.out.println(\"ArrayList names: \"+ L_NormalPatternList);\n\t\t\t \n\t\t\t \n\n//\t\t for(OWLNamedIndividual pat1 : Patients)\n//\t\t {\n//\t\t\t Patient_VectorList.put(pat1, EEG_GoldStdVariables.NormalPattern_Vector_Init);\n//\t\t }\n\t\t\t \n\t\t\t \n\t\t\t for(OWLNamedIndividual pat1 : Patients)\n\t\t\t {\n\t\t\t\t Patient_VectorList.put(pat1, EEG_GoldStdVariables.NormalPattern_Vector_Init);\n\t\t\t }\n\t\t\t \n\t\t\t \n\t\t\t //Calculate cosine similarities with all EEG concepts and give out the most closely matched\n\t\tfor(OWLNamedIndividual pat : Patients)\n\t\t{\n\t\t\t\t System.out.println(\"***********************************\");\n\t\t\t\t System.out.println(\"Patient under consideration : \"+ pat);\n\t\t\t\t \n\t\t\t\t double MaxCosineSimilarity = 0;\n\t\t\t\t ArrayList<Double> CosineSimilarityList = new ArrayList<Double>();\n\t\t\t\t HashMap<String , Double> CosineSimilarityMap = new HashMap<String, Double>();\n\t\t\t\t String MatchingVectorKey = null;\n\t\t\t\t \n\t\t\t\t //for every element in Normal pattern check commonality\n\t\t\t for(String everyConcept : eeg_GoldStdVariables.ConceptVectorMap.keySet() )\n\t\t\t {\n\t\t\t\t ArrayList<Atomic_Vector> common = new ArrayList<Atomic_Vector>();\n\t\t\t\t //Gets the concept vector\n\t\t\t\t common.addAll(eeg_GoldStdVariables.ConceptVectorMap.get(everyConcept));\n\t\t\t\t \n\t\t\t\t for(Atomic_Vector aV : common)\n\t\t\t\t\t logger.debug(\"Concept contains : \" + aV.getName());\n\n\t\t\t\t for(Atomic_Vector aV: patientVectorMap.get(pat))\n\t\t\t\t\t logger.debug(\"PatientVectorMap contains : \" + aV.getName());\n\n\t\t\t\t System.out.println(\"Patient Prop are :\" + patientVectorMap.get(pat));\n\t\t\t\n\t\t\t //Dot product ; finding common elements with gold standard and given vector\n\t\t\t common.retainAll(patientVectorMap.get(pat));\n\t\t\t \n\t\t\n\t\t\t for(Atomic_Vector i :common )\n\t\t\t {\n\t\t\t\t logger.debug(\"Common Atomic Vectors : \" + i.getName());\n\t\t\t }\n\t\t\t \n\t\t\t// double MagnitudeofPatientVector = MagnitudeofVector(Patient_ObjProp_Map.get(pat).size());\n\t\t\t double MagnitudeofPatientVector = MagnitudeofVector(patientVectorMap.get(pat).size());\n\t\t\t logger.debug(\" Magnitude of Patient Vector: \" + MagnitudeofPatientVector );\n\t\t\t \n//\t\t\t double MagnitudeofAlphaRhtymVector = MagnitudeofVector(eeg_GoldStdVariables.getGoldStd_NormalPatterns_PropMap().get(goldstd_NormalPattern).size());\n\t\t\t \n\t\t\t double MagnitudeofthisConceptVector = MagnitudeofVector(eeg_GoldStdVariables.ConceptVectorMap.get(everyConcept).size());\n\t\t\t logger.debug(\"Magnitude of this Concept Vector \" + MagnitudeofthisConceptVector );\n\t\t\t double CosineSimilarity = 0;\n\t\t\t \n\t\t\t if(MagnitudeofPatientVector!=0)\n\t\t\t {\n\t\t\t\t CosineSimilarity = ((double)common.size())/(MagnitudeofPatientVector*MagnitudeofthisConceptVector) ;\n\t\t\t\t CosineSimilarityList.add(CosineSimilarity);\n\t\t\t\t CosineSimilarityMap.put(everyConcept, CosineSimilarity);\n\t\t\t }\n\t\t\t else\n\t\t\t {\n\t\t\t\t continue;\n\t\t\t }\n\t\t\t \n\t\t\t \n\t\t\t \n\t\t\t logger.debug(\"Cosine Similarity is : \" + CosineSimilarity +\" with Concept:\" + everyConcept);\n\t\t\t //Max logic \n\t\t\t if(CosineSimilarity>MaxCosineSimilarity)\n\t\t\t {\n\t\t\t\t MaxCosineSimilarity = CosineSimilarity ; \n\t\t\t\t //Use this while assigning\n\t\t\t\t MatchingVectorKey = everyConcept;\n\t\t\t }\n\t\t }\n\t\t\t Collections.sort(CosineSimilarityList , Collections.reverseOrder());\n\t\t\t \n\t\t\t logger.debug(\"Descending Sorted CosineSimilarityList is : \" + CosineSimilarityList);\n\t\t\t \n\t\t\t logger.debug(\"CSR values for Patient : \" + pat.getIRI().getFragment() + \" is :\" + CosineSimilarityMap );\n\t\t\t //Create Top ObjectProperties\n\t\t\t HashMap<String , OWLObjectProperty> topObjectPropertiesMap = new HashMap<String, OWLObjectProperty>();\n\t\t\t for(int i = 1 ; i <= 10 ; i ++)\n\t\t\t {\n\t\t\t\t String key = \"hasNormalPattern\" + \"_\"+ i ;\n\t\t\t\t String keyIRI = base + \"#\" +key ;\n\t\t\t\t topObjectPropertiesMap.put( key , dataFactory.getOWLObjectProperty(IRI.create(keyIRI)));\n\t\t\t }\n\t\t\t \n\t\t\t //Get top 10 matches\n\t\t\t for(int i = 0 ; i <10 ; i++)\n\t\t\t {\n\t\t\t\t logger.debug(\"Entered Top 10 Property Assignment ... \");\n\t\t\t\t if( i+1 <= CosineSimilarityList.size())\n\t\t\t\t {\n\t\t\t\t try\n\t\t\t\t {\n\t\t\t\t double thisCSR = CosineSimilarityList.get(i);\n\t\t\t\t System.out.println(\"Entered Assertion area ...\");\n\t\t\t // obj property to Assert \n\t\t\t\t int rank = i + 1 ;\n\t\t\t\t String thisTopProperty = \"hasNormalPattern_\"+ rank ;\n\t\t\t\t OWLObjectProperty thisObjectProperty = topObjectPropertiesMap.get(thisTopProperty);\n\t\t\t \n\t\t\t\t //get key for this value of CosineSimilarity\n\t\t\t\t String conceptName = null;\n\t\t\t\t for(String keys : CosineSimilarityMap.keySet())\n\t\t\t\t {\n\t\t\t\t\t if(thisCSR == CosineSimilarityMap.get(keys))\n\t\t\t\t\t {\n\t\t\t\t\t\t conceptName = keys;\n\t\t\t\t\t }\n\t\t\t\t }\n\t\t\t\t OWLNamedIndividual owlNamedIndividualofMatchingVector = dataFactory.getOWLNamedIndividual(IRI.create(base\n\t\t\t +\"#\" +conceptName));\n\n\t\t\t \n\t\t\t\t logger.debug(\"thisObjectProperty : \" + thisObjectProperty);\n\t\t\t\t logger.debug(\"Patient Under Consideration : \" + pat);\n\t\t\t\t logger.debug(\" Matching Vector : \" + owlNamedIndividualofMatchingVector);\n\t\t\t\t OWLObjectPropertyAssertionAxiom propertyAssertion = dataFactory\n\t\t\t .getOWLObjectPropertyAssertionAxiom(thisObjectProperty, pat, owlNamedIndividualofMatchingVector);\n\t\t\t\t \n\t\t\t\t AddAxiom addAx = new AddAxiom(EEGOwl , propertyAssertion);\n\t\t\t\t man.applyChange(addAx);\n\t\t\t man.addAxiom(EEGOwl, propertyAssertion);\n\t\t\t \n\t\t\t try {\n\t\t\t \tman.saveOntology(EEGOwl, IRI.create(file.toURI()));\n\t\t\t\t \t\n\t\t\t\t\t} catch (OWLOntologyStorageException e) {\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t }\n\t\t\t\t catch (java.lang.IndexOutOfBoundsException e)\n\t\t\t\t {\n\t\t\t\t\t e.printStackTrace();\n\t\t\t\t }\n\t\t\t\t }\n\t\t\t }\n\t\t\t \n\t\t\t\t if(MaxCosineSimilarity != 0)\n\t\t\t\t {\n\t\t\t\t\t \n\t\t\t\t\t System.out.println(\"Entered Assertion area ...\");\n\t\t\t\t //create obj property\n\t\t\t\t OWLObjectProperty hasNormalPattern = dataFactory.getOWLObjectProperty(IRI.create(base\n\t\t\t\t + \"#hasNormalPattern\"));\n\t\t\t\t \n//\t\t\t\t\t //Assert this patient to MatchingVector\n\t\t\t\t \n\t\t\t\t\t OWLNamedIndividual owlNamedIndividualofMatchingVector = dataFactory.getOWLNamedIndividual(IRI.create(base\n\t\t\t\t +\"#\" +MatchingVectorKey));\n\t\n\t\t\t\t \n\t\t\t\t\t OWLObjectPropertyAssertionAxiom propertyAssertion = dataFactory\n\t\t\t\t .getOWLObjectPropertyAssertionAxiom(hasNormalPattern, pat, owlNamedIndividualofMatchingVector);\n\t\t\t\t\t \n\t\t\t\t\t AddAxiom addAx = new AddAxiom(EEGOwl , propertyAssertion);\n\t\t\t\t\t man.applyChange(addAx);\n\t\t\t\t man.addAxiom(EEGOwl, propertyAssertion);\n\t\t\t\t \n\t\t\t\t try {\n\t\t\t\t \tman.saveOntology(EEGOwl, IRI.create(file.toURI()));\n\t\t\t\t\t \t\n\t\t\t\t\t\t} catch (OWLOntologyStorageException e) {\n\t\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\t}\n//\t\t\t\t\t\t Generate_Patient_EEG_Vector( pat , MatchingVector );\n\t\t\t\t }\n\t\t\t \n\t\t\t }\n\t\t\t \n\t\t\t\t\n\t\t\n\t}", "title": "" }, { "docid": "ee51d643341e1c0fb024fc980c5a7b96", "score": "0.5280517", "text": "private TaxonomyFromOpenCyc() {\n try {\n ocyc = new OpenCycOwl();\n ocycReasoner = OpenCycReasoner.get();\n concepts = getConcepts();\n } catch (IOException | OWLOntologyCreationException ex) {\n Logger.getLogger(TaxonomyFromOpenCyc.class.getName()).log(Level.SEVERE, null, ex);\n throw new RuntimeException(\"Unable to create OpenCyc taxonomy\" + ex);\n }\n }", "title": "" }, { "docid": "0f3d49a3089e005d0ca2140b7f706f08", "score": "0.5277022", "text": "@Test\n\tpublic void testConceptTagging() {\n\t\tSystem.setProperty(JoyceSymbolConstants.GAZETTEER_CONFIG, \"bioportal.gazetteer.test.properties\");\n\t\tIConceptTaggingService service = registry.getService(IConceptTaggingService.class);\n\n\t\tString input = \"I have no idea what an accessory lung might be. Perhaps it has some connection with accessory mamillas or accessory mammary tissue? But perhaps an accessory lung is something else.\";\n\t\tMultiset<String> foundConceptIds = service.findConcepts(input);\n\t\tSystem.out.println(input + \"the number of concepts:\\t\" + foundConceptIds.size());\n\t\tIterator<String> it = foundConceptIds.iterator();\n\t\twhile (it.hasNext()) {\n\t\t\tString term = (String) it.next();\n\t\t\tSystem.out.println(\"the concepts:\\t\" + term);\n\n\t\t}\n\t\tassertEquals(8, foundConceptIds.size());\n\t\t// IDs for \"accessory lung\"; all have been found twice because the\n\t\t// concept is mentioned twice in the test\n\t\t// string.\n\t\tassertEquals(2, foundConceptIds.count(\"http://purl.bioontology.org/ontology/RCD/P86y0\"));\n\t\tassertEquals(2, foundConceptIds.count(\"http://purl.bioontology.org/ontology/SNMI/D4-28400\"));\n\t\tassertEquals(2, foundConceptIds.count(\"http://purl.bioontology.org/ontology/SNOMEDCT/52579008\"));\n\t\t// IDs for \"acessory mamilla(s)\n\t\tassertEquals(1, foundConceptIds.count(\"http://purl.obolibrary.org/obo/HP_0002558\"));\n\t\t// IDs for \"acessory mammary tissue\n\t\tassertEquals(1, foundConceptIds.count(\"http://purl.obolibrary.org/obo/DERMO_0003491\"));\n\t}", "title": "" }, { "docid": "c1f6b7a8b96bca8ac277bdf41d8b7dec", "score": "0.5262313", "text": "public void postInit() throws TermServerScriptException {\n\t\tLOGGER.info (\"Mapping current descriptions\");\n\t\tfor (Concept c : subHierarchy.getDescendents(NOT_SET)) {\n\t\t\tfor (Description d : c.getDescriptions(Acceptability.BOTH, DescriptionType.SYNONYM, ActiveState.ACTIVE)) {\n\t\t\t\tString term = removeStopWords(d.getTerm());;\n\t\t\t\tString[] words = term.split(SPACE);\n\t\t\t\t\n\t\t\t\t//Have we see this first word before\n\t\t\t\tMap<String, Description> termMap = termsByFirstWord.get(words[0]);\n\t\t\t\tif (termMap == null) {\n\t\t\t\t\ttermMap = new HashMap<>();\n\t\t\t\t\ttermsByFirstWord.put(words[0], termMap);\n\t\t\t\t}\n\t\t\t\tif (termMap.containsKey(term)) {\n\t\t\t\t\t//What have we seen before? If it's the same concept, don't worry\n\t\t\t\t\tDescription existingDesc = termMap.get(term);\n\t\t\t\t\tif (!existingDesc.getConceptId().equals(d.getConceptId())) {\n\t\t\t\t\t\tLOGGER.warn(\"Duplicate term between \" + existingDesc + \" and \" + d);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\ttermMap.put(term, d);\n\t\t\t\t\n\t\t\t\t//Populate the map of all words used\n\t\t\t\tfor (String word : words) {\n\t\t\t\t\tSet<Concept> thisWordConcepts = conceptsUsingWord.get(word);\n\t\t\t\t\tif (thisWordConcepts == null) {\n\t\t\t\t\t\tthisWordConcepts = new HashSet<>();\n\t\t\t\t\t\tconceptsUsingWord.put(word, thisWordConcepts);\n\t\t\t\t\t}\n\t\t\t\t\tthisWordConcepts.add(c);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tLOGGER.info (\"Description map complete\");\n\t\tsuper.postInit();\n\t}", "title": "" }, { "docid": "dd5d86e57261ab2c06301157da3b46e2", "score": "0.52539617", "text": "String getConcept();", "title": "" }, { "docid": "8f9993a986a6a5dbb16cb490d75fd5cc", "score": "0.52531344", "text": "public static void addEquivalentConcepts(OWLOntology ontology) {\n\t\tOWLOntologyManager manager = OWLManager.createOWLOntologyManager();\n\t\tOWLDataFactory factory = manager.getOWLDataFactory();\n\t\t\n\t\t// get the Set of the common Concepts\n\t\tSet<String> commonConcepts = OntologyData.getSameNameConceptsAsString(ontology);\n\t\t\n\t\t// Perform equivalences\n\t\tif(!commonConcepts.isEmpty()) {\n\t\t\tfor(String commonConcept : commonConcepts) {\n\t\t\t\t// get the common Concepts as Classes\n\t\t\t\tSet<OWLClass> commonClasses = OntologyData.getParticularNameClasses(commonConcept, ontology);\n\t\t\t\t// Relate the common Classes from the Set\n\t\t\t\tOWLEquivalentClassesAxiom equivalenceAxiom = factory.getOWLEquivalentClassesAxiom(commonClasses);\n\t\t\t\tmanager.applyChange(new AddAxiom(ontology, equivalenceAxiom));\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "122d4053742e93ab9cc8917410219896", "score": "0.5244822", "text": "@Override\n\tpublic void setAxioms() {\n\t\tthis.addTypeAxiom(this.vocabulary_ELSEWEB.getOWLClass_WCSCoverageDataset());\n\t\taddDistribution();\n\t\taddDuration();\n\t\taddMeasurement();\n\t\taddRegion();\n\t\taddID();\n\t}", "title": "" }, { "docid": "c2ee2d7e049f00e3a583aa451ac1e090", "score": "0.52365583", "text": "protected void initSupportedObjectProperties() {\r\n int objectPropertyCounter = 0;\r\n \r\n // Iterate through available OWL object properties and register\r\n // associations for later reference ...\r\n for (Iterator props = owlModel_.getUserDefinedOWLObjectProperties().iterator(); props.hasNext();) {\r\n OWLObjectProperty owlProp = (OWLObjectProperty) props.next();\r\n String propertyName = getRDFResourceLocalName(owlProp);\r\n // Correlate all assigned labels to the primary ID.\r\n // String label = propertyName;\r\n Collection rdfLabels = owlProp.getLabels();\r\n if (rdfLabels.size() == 0) {\r\n rdfLabels = new ArrayList();\r\n rdfLabels.add(propertyName);\r\n }\r\n \r\n String label = rdfLabels.iterator().next().toString();\r\n label = getFromLastIndexOfColonOrHash(label);\r\n // Create and register a new association ...\r\n AssociationWrapper aw = new AssociationWrapper();\r\n \r\n aw.setEntityCode(propertyName);\r\n aw.setAssociationName(label);\r\n aw.setForwardName(getAssociationLabel(label, true));\r\n aw.setReverseName(getAssociationLabel(label, false));\r\n aw.setIsTransitive(owlProp.isTransitive());\r\n String nameSpace = getNameSpace(owlProp.getNamespace());\r\n aw.setEntityCodeNamespace(nameSpace);\r\n // Register as role or association and, if applicable,\r\n // create a target of owl:AnnotationProperty.\r\n if (owlProp.getRDFTypes().contains(annotationType_)) {\r\n aw = assocManager.addAssociation(lgRelationsContainer_Assoc, aw);\r\n } else {\r\n aw = assocManager.addAssociation(lgRelationsContainer_Roles, aw);\r\n }\r\n \r\n // Add to supported associations ...\r\n \r\n lgSupportedMappings_.registerSupportedAssociation(propertyName, owlProp.getNamespace() + propertyName,\r\n label, propertyName, nameSpace, true);\r\n \r\n // Update 05/13/2008: I am adding this, even though\r\n // mostly supportedProperties\r\n // only contain information about datatype properties.\r\n // Pradip: taking it out.....not sure why we need to add this to\r\n // supportedProperties\r\n // lgSupportedMappings_.registerSupportedProperty(propertyName,\r\n // prop.getNamespace() + propertyName,\r\n // propertyName, false);\r\n \r\n resolveAssociationProperty(aw.getAssociationEntity(), owlProp);\r\n }\r\n }", "title": "" }, { "docid": "7088c0fd088c37ee4ce9aaccdb8bac9e", "score": "0.5232128", "text": "public void getExplanation(OWLClass _axiom){\n factory=new Reasoner.ReasonerFactory() {\n protected OWLReasoner createHermiTOWLReasoner(Configuration configuration,OWLOntology ontology){\n configuration.throwInconsistentOntologyException=false;\n return new Reasoner(configuration,ontology);\n }\n };\n\n BlackBoxExplanation bbExp=new BlackBoxExplanation(this.ontology,factory,this.reasoner);\n HSTExplanationGenerator expGenerator= new HSTExplanationGenerator(bbExp);\n Set<Set<OWLAxiom>> explanations=expGenerator.getExplanations(_axiom);\n for (Set<OWLAxiom> axiomSet : explanations){\n for (OWLAxiom axiom: axiomSet){\n this.revisionModule.addUnSatAxiom(axiom);\n // System.out.println(axiom.getAxiomType().toString());\n }\n }\n }", "title": "" }, { "docid": "35e26a2b8f69268e94b535f5dbe6c33f", "score": "0.52260906", "text": "public interface Ontology {\r\n boolean hasTerms();\r\n\r\n OntologyTerm search( String id );\r\n\r\n Collection getRoots();\r\n\r\n Collection getOntologyTerms();\r\n\r\n Collection<OntologyTerm> getObsoleteTerms();\r\n}", "title": "" }, { "docid": "0f144e2b9474e3df7ff3ef8b134f36ba", "score": "0.51951694", "text": "private static Concept concept(String conceptId) {\n JSONObject body = get(ENDPOINT + \"concepts/\" + conceptId);\n\n Concept concept = new Concept();\n concept.label = cleanUpString(body.getString(\"label\"));\n\n JSONArray synonymsJson = body.getJSONArray(\"synonyms\");\n for(int i = 0; i < synonymsJson.length(); i++) {\n concept.synonyms.add(cleanUpString(synonymsJson.get(i).toString()));\n }\n\n return concept;\n }", "title": "" }, { "docid": "b41164c374a47bc8fb6cd386973d3020", "score": "0.51758325", "text": "private void checkConceptWordClass(Map<String, List<Attribute>> properties, ConstraintValidatorContext context){\n final var wordClass = \"wordClass\";\n //Check if wordClass is one of the available options, since wordClass is optional we only check when it exists\n if(properties.containsKey(wordClass) && !properties.get(wordClass).isEmpty()\n && properties.get(wordClass).stream()\n .anyMatch(d -> !d.getValue().isEmpty()\n && !d.getValue().equals(\"adjective\")\n && !d.getValue().equals(\"verb\"))\n ){\n addConstraintViolation(context, INVALID_VALUE, wordClass);\n }\n }", "title": "" }, { "docid": "bfca677aa32a55d7807fb6778a845e95", "score": "0.5172958", "text": "public static void main(String[] args)\n {\n String dir \t= \"/Users/tonyveale/Desktop/Lexical Resources/\";\n\n String moodDir \t= dir + \"Moods/\";\n\n BucketTable entryConds = new BucketTable(\"entry conditions\");\n\n entryConds.loadTable(moodDir + \"stereotype exit conditions.idx\");\n\n entryConds = entryConds.invertTable();\n\n Vector actions = entryConds.getKeyList();\n\n System.out.println(actions.size());\n\n for (int i = 1500; i < actions.size(); i++)\n {\n String action = (String)actions.elementAt(i);\n String verb = action.substring(0, action.indexOf((int)':'));\n String noun = action.substring(verb.length()+1);\n\n System.out.println(action + \"\\t\" + verb + \"\\t\" + noun);\n }\n\n if (actions != null) System.exit(0);\n\n BucketTable antoModel = new BucketTable(\"properties to antonyms\");\n\n antoModel.loadTable(moodDir + \"ADJ opposites.idx\");\n\n BucketTable antoInvert = antoModel.invertTable();\n\n antoModel.mergeWith(antoInvert).saveTable(moodDir + \"ADJ opposites merged.idx\");\n\n\n\n BucketTable stereoModel = new BucketTable(\"stereos to properties\");\n BucketTable propertyModel = new BucketTable(\"properties to stereos\");\n\n stereoModel.loadTable(moodDir + \"stereotype model.idx\");\n propertyModel.loadTable(moodDir + \"stereotype properties.idx\");\n\n BucketTable stereoInvert = stereoModel.invertTable();\n BucketTable propertyInvert = propertyModel.invertTable();\n\n System.out.println(stereoInvert.get(\"black\").size() + \":\" + stereoInvert.get(\"black\"));\n\n stereoModel.mergeWith(propertyInvert).saveTable(moodDir + \"stereotype model merged.idx\");\n propertyModel.mergeWith(stereoInvert).saveTable(moodDir + \"stereotype properties merged.idx\");\n\t\t\n\t\t/*\n\t\tBucketTable states = new BucketTable(\"states to properties\");\n\t\t\n\t\tstates.loadTable(dir + \"Categories/Fingerprints/states of properties.idx\");\n\t\t\n\t\tVector keys = states.getKeyList();\n\t\t\n\t\tfor (int i = 1500; i < keys.size(); i++) \n\t\t\tSystem.out.println(keys.elementAt(i));\n\t\t\n\t\t*/\n\n }", "title": "" }, { "docid": "3745452306b4a6efd303abc8ded1aeab", "score": "0.5161591", "text": "@Override\n\tpublic void visit(OWLDeclarationAxiom ax) {\n\t}", "title": "" }, { "docid": "c7c30025209d3c1a27e346ed65fa11f6", "score": "0.5160633", "text": "private void loadConcepts(String path) {\n\t\tFileReader reader = new FileReader();\n\t\treader.openFile(path);\n\t\tString[] parts = reader.readLine().split(\"[\\\\t]\");\n\t\tif ((parts.length != 5) || (parts[0].compareTo(\"id\") != 0)\n\t\t\t\t|| (parts[1].compareTo(\"effectiveTime\") != 0)\n\t\t\t\t|| (parts[2].compareTo(\"active\") != 0)\n\t\t\t\t|| (parts[3].compareTo(\"moduleId\") != 0)\n\t\t\t\t|| (parts[4].compareTo(\"definitionStatusId\") != 0)) {\n\t\t\tthrow new RuntimeException(\"Invalid header line to concept file\");\n\t\t}\n\n\t\tRF2ConceptGroup conceptGroup = null;\n\t\twhile (true) {\n\t\t\tString line = reader.readLine();\n\t\t\tif (line == null) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tRF2Concept concept = RF2Concept.parse(this, line);\n\t\t\tif (concept != null) {\n\t\t\t\t/*\n\t\t\t\t * Relationships in a common group are usually grouped together,\n\t\t\t\t * so check last relationship to see if it is same group first.\n\t\t\t\t */\n\t\t\t\tif ((conceptGroup != null) && (conceptGroup.getId() != concept.getId())) {\n\t\t\t\t\tconceptGroup = null;\n\t\t\t\t}\n\t\t\t\tif ((conceptGroup == null)\n\t\t\t\t\t\t&& (!this.conceptGroups.containsKey(concept.getId()))) {\n\t\t\t\t\tconceptGroup = this.conceptGroups.get(concept.getId());\n\t\t\t\t\tconceptGroup = null;\n\t\t\t\t} else {\n\t\t\t\t\tconceptGroup = this.conceptGroups.get(concept.getId());\n\t\t\t\t}\n\n\t\t\t\tif (conceptGroup == null) {\n\t\t\t\t\tconceptGroup = new RF2ConceptGroup();\n\t\t\t\t\tconceptGroup.setParser(this);\n\t\t\t\t\tconceptGroup.setId(concept.getId());\n\n\t\t\t\t\tif (this.conceptGroups.containsKey(concept.getId())) {\n\t\t\t\t\t\tthrow new RuntimeException(\n\t\t\t\t\t\t\t\t\"Error adding concept to dictionary\");\n\t\t\t\t\t}\n\t\t\t\t\t{\n\t\t\t\t\t\tthis.conceptGroups.put(conceptGroup.getId(), conceptGroup);\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t\tconceptGroup.addConcept(concept);\n\t\t\t}\n\t\t}\n\t\tFileReader.closeFile();\n\t}", "title": "" }, { "docid": "329f4139c2f8e24a1c985fd1d5a6ea03", "score": "0.5153065", "text": "protected void processInstances(Snapshot snap) {\r\n snap = SimpleMemUsageReporter.snapshot();\r\n messages_.info(\"Read Time : \" + SimpleMemUsageReporter.formatTimeDiff(snap.getTimeDelta(null))\r\n + \" Heap Usage: \" + SimpleMemUsageReporter.formatMemStat(snap.getHeapUsage()) + \" Heap Delta:\"\r\n + SimpleMemUsageReporter.formatMemStat(snap.getHeapUsageDelta(null)));\r\n messages_.info(\"Processing OWL Individuals ...\");\r\n \r\n int count = 0;\r\n owlInstanceName2code_ = new HashMap();\r\n \r\n // The idea is to iterate through all the OWL individuals, and register\r\n // them\r\n // as well as find out additional associations (e.g,. From)\r\n for (Iterator individuals = owlModel_.getOWLIndividuals().iterator(); individuals.hasNext();) {\r\n OWLIndividual individual = (OWLIndividual) individuals.next();\r\n Entity lgInstance = resolveIndividual(individual);\r\n if (lgInstance != null) {\r\n addEntity(lgInstance);\r\n }\r\n if (count % 1000 == 0)\r\n messages_.info(\"OWL individuals processed: \" + count);\r\n count++;\r\n }\r\n messages_.info(\"Total OWL individuals processed: \" + count);\r\n // Now, process all the relationships/associations the\r\n // concept has with other concepts. Also, process all\r\n // the restrictions the concept has.\r\n messages_.info(\"Instances converted to EMF\");\r\n snap = SimpleMemUsageReporter.snapshot();\r\n messages_.info(\"Read Time : \" + SimpleMemUsageReporter.formatTimeDiff(snap.getTimeDelta(null))\r\n + \" Heap Usage: \" + SimpleMemUsageReporter.formatMemStat(snap.getHeapUsage()) + \" Heap Delta:\"\r\n + SimpleMemUsageReporter.formatMemStat(snap.getHeapUsageDelta(null)));\r\n \r\n // Pradip: This is not needed anymore...replaced with\r\n // resolveRdfTypeRelations. We decided\r\n // to stop using the manufactured relation instanceOf and substitute\r\n // that with rdf:type\r\n // Step 1: once the instances have been registered, associate them to\r\n // specific classes.\r\n // for (Iterator namedClasses =\r\n // owlModel_.getUserDefinedOWLNamedClasses().iterator();\r\n // namedClasses.hasNext();) {\r\n // RDFSClass namedClass = (RDFSClass) namedClasses.next();\r\n //\r\n // String sourceCode = resolveConceptID(namedClass);\r\n // String nameSpace = getNameSpace(namedClass.getNamespace());\r\n //\r\n // AssociationSource source =\r\n // EMFCreateUtils.createAssociationSource(sourceCode, nameSpace);\r\n //\r\n // for (Iterator instances = namedClass.getInstances(false).iterator();\r\n // instances.hasNext();) {\r\n // RDFResource instance = (RDFResource) instances.next();\r\n // relateAssocSourceWithRDFResourceTarget(EntityTypes.INSTANCE_LITERAL,\r\n // assocManager.getRdfType(),\r\n // source, instance);\r\n // }\r\n //\r\n // }\r\n \r\n // Step 2: for every individual, we also need to have associations\r\n // with other individuals depending on the definition of the class.\r\n // Here is an example class:\r\n // <owl:Class rdf:ID=\"Country\">\r\n // <owl:DatatypeProperty rdf:ID=\"hasShortName\">\r\n // <rdfs:domain rdf:resource=\"#Country\"/>\r\n // <rdfs:range rdf:resource=\"http://www.w3.org/2001/XMLSchema#string\"/>\r\n // </owl:DatatypeProperty>\r\n // This is the instance:\r\n // <Country rdf:ID=\"America\">\r\n // <hasShortName xml:lang=\"en\">USA</hasShortName>\r\n // </Country>\r\n // Thus, we have to associate \"America\" to \"USA\" via the association\r\n // \"hasShortName\".\r\n \r\n /**\r\n * UPDATED 05/28/2008: Check the \"resolveIndividualProperties\" method\r\n * for this. We will handle them as individualProperties as opposed to\r\n * associations.\r\n */\r\n /**\r\n * Updated 02/25/2010: Replaced \"resolveIndividualProperties\" method\r\n * with resolveEntityProperties.\r\n */\r\n \r\n // Process the associations (e.g.,\r\n // rdf:type, DifferentFrom, SameAs, ObjectProperties)\r\n for (Iterator individuals = owlModel_.getOWLIndividuals().iterator(); individuals.hasNext();) {\r\n OWLIndividual individual = (OWLIndividual) individuals.next();\r\n String nameSpace = getNameSpace(individual.getNamespace());\r\n String lgCode = resolveInstanceID(individual);\r\n if (lgCode != null) {\r\n AssociationSource source = CreateUtils.createAssociationSource(lgCode, nameSpace);\r\n resolveRdfTypeRelations(source, individual);\r\n resolveDifferentFromRelations(source, individual);\r\n resolveSameAsRelations(source, individual);\r\n resolveOWLObjectPropertyRelations(source, individual);\r\n }\r\n }\r\n \r\n // Updated on 07/29/2008:\r\n // Process OWL:AllDifferent, which is not the same\r\n // as processing OWL:differentFrom. We need a separate logic\r\n // for this (e.g., Pizza ontology uses OWL:AllDifferent). Since\r\n // we need to create an association. Cui Tao suggested that we\r\n // stick in the browser text, and she will do custom processing. So,\r\n // the AssociationSource will be the browser text, and the\r\n // associationTarget will be null.\r\n for (Iterator diffIndi = owlModel_.getOWLAllDifferents().iterator(); diffIndi.hasNext();) {\r\n OWLAllDifferent allDifferent = (OWLAllDifferent) diffIndi.next();\r\n String nameSpace = getNameSpace(allDifferent.getNamespace());\r\n AssociationSource source = CreateUtils.createAssociationSource(allDifferent.getBrowserText(), nameSpace);\r\n String nameSpaceTarget = getNameSpace(allDifferent.getNamespace());\r\n AssociationTarget target = CreateUtils.createAssociationTarget(allDifferent.getBrowserText(),\r\n nameSpaceTarget);\r\n relateAssociationSourceTarget(assocManager.getAllDifferent(), source, target);\r\n }\r\n \r\n // If we found at least one, register the supported entity type.\r\n if (!owlInstanceName2code_.isEmpty()) {\r\n String name = EntityTypes.INSTANCE.toString();\r\n lgSupportedMappings_.registerSupportedEntityType(name, null, name, false);\r\n }\r\n }", "title": "" }, { "docid": "e39f2d1b6fca5914722065e102f6ab7f", "score": "0.5151972", "text": "public static void addEquivalentConcepts(OWLOntology sourceOntology1, OWLOntology sourceOntology2, OWLOntology targetOntology) {\n\t\tOWLOntologyManager manager = OWLManager.createOWLOntologyManager();\n\t\tOWLDataFactory factory = manager.getOWLDataFactory();\n\t\t\n\t\t// get the Set of the common Concepts\n\t\tSet<String> commonConcepts = OntologyData.getSameNameConceptsAsString(sourceOntology1, sourceOntology2);\n\t\t\n\t\t// Perform equivalences\n\t\tif(!commonConcepts.isEmpty()) {\n\t\t\t// get 1st Ontology Namespace\n\t\t\tOWLXMLDocumentFormat owlFormat = new OWLXMLDocumentFormat();\n\t\t\tOWLOntologyXMLNamespaceManager namespaceManager = new OWLOntologyXMLNamespaceManager(sourceOntology1, owlFormat);\n\t\t\tString sourceOntology1Namespace = namespaceManager.getDefaultNamespace();\n\t\t\t\n\t\t\t// get 2nd Ontology Namespace\n\t\t\tnamespaceManager = new OWLOntologyXMLNamespaceManager(sourceOntology2, owlFormat);\n\t\t\tString sourceOntology2Namespace = namespaceManager.getDefaultNamespace();\n\t\t\t\n\t\t\t// Relate the common Concepts from the Set\n\t\t\tfor(String commonConcept : commonConcepts) {\n\t\t\t\t// get the IRIs for the Concept in both Ontologies\n\t\t\t\tIRI ontology1Concept = IRI.create(sourceOntology1Namespace + commonConcept), ontology2Concept = IRI.create(sourceOntology2Namespace + commonConcept);\n\t\t\t\t\n\t\t\t\t// Relate both concepts on the Target Ontology\n\t\t\t\tOWLClass ontology1Class = factory.getOWLClass(ontology1Concept), ontology2Class = factory.getOWLClass(ontology2Concept);\n\t\t\t\tOWLEquivalentClassesAxiom equivalenceAxiom = factory.getOWLEquivalentClassesAxiom(ontology1Class, ontology2Class);\t\t\t\n\t\t\t\tmanager.applyChange(new AddAxiom(targetOntology, equivalenceAxiom));\t\t\t\t\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "ff01b0653fc5f9fe4fe49cd293ed1886", "score": "0.5138317", "text": "public void addToTheoryFromDiscussionVector()\n {\n System.out.println(\"started addToTheoryFromDiscussionVector\");\n System.out.println(\"personal_discussion_vector is \" + personal_discussion_vector);\n System.out.println(\"my conjectures so far are:\");\n window.writeToFrontEnd(\"my conjectures so far are:\");\n for(int i=0;i<hr.theory.conjectures.size();i++)\n {\n Conjecture conjecture = (Conjecture)hr.theory.conjectures.elementAt(i);\n System.out.println(conjecture.id + \": \" +conjecture.writeConjecture());\n window.writeToFrontEnd(conjecture.id + \": \" +conjecture.writeConjecture());\n }\n System.out.println(\"end of my conjectures\");\n System.out.println(\"\\n ---------------\");\n window.writeToFrontEnd(\"end of my conjectures\");\n window.writeToFrontEnd(\"\\n ---------------\");\n\n\n\n window.writeToFrontEnd(\"my concepts are:\");\n for(int i=0;i<hr.theory.concepts.size();i++)\n {\n Concept concept = (Concept)hr.theory.concepts.elementAt(i);\n\n window.writeToFrontEnd(concept.id + \": \" + concept.writeDefinition());\n }\n\n\n window.writeToFrontEnd(\"end of my new concepts\");\n window.writeToFrontEnd(\"\\n --------------------\");\n\n\n\n for(int i=0;i<personal_discussion_vector.size();i++)\n {\n if(personal_discussion_vector.elementAt(i) instanceof Response)\n {\n Response response = (Response)personal_discussion_vector.elementAt(i);\n\n for(int j=0;j<response.response_vector.size();j++)\n {\n if(response.response_vector.elementAt(j) instanceof Conjecture)\n {\n Conjecture conj = (Conjecture)response.response_vector.elementAt(j);\n System.out.println(conj.id + \": \" + conj.writeConjecture() + \" is a conj\");\n\n //check to see if it's in theory already\n boolean theory_contains_conj = conj.theoryContainsConjecture(hr.theory.conjectures);\n System.out.println(\"theory_contains_conj is \" + theory_contains_conj);\n\n //if not then calculate its interestingness nad\n //add into the approporiate place in the agenda.\n\n if(!theory_contains_conj)\n {\n //Integer int = new Integer(hr.theory.conjectures.size());\n //conj.id = int.toString();\n\n conj.id = (new Integer(hr.theory.conjectures.size())).toString();\n\n\n\n //calculating the interestingness of the conj\n //-- does this affect anything???\n hr.theory.measure_conjecture.measureConjecture(conj, hr.theory);\n\n if(conj.interestingness >= hr.theory.lakatos.threshold_to_add_conj_to_theory)\n {\n //here -- doesn't seem to work. get addEntityToTheory to work and then\n //try again\n\n Conjecture reconstructed_conj = conj.reconstructConjecture(hr.theory, window);\n\n Vector v = hr.theory.addConjectureToTheory(reconstructed_conj);\n //hr.theory.addConjectureToTheory(conj);\n }\n }\n response.response_vector.removeElementAt(j);\n j--;\n break; //check\n }\n\n //arla dis need testing man.\n if(response.response_vector.elementAt(j) instanceof Concept)\n {\n Concept concept = (Concept)response.response_vector.elementAt(j);\n System.out.println(concept.writeDefinition() + \" is a concept\");\n\n\n //check to see if it's in theory already\n boolean theory_contains_concept = concept.theoryContainsConcept(hr.theory.concepts);\n System.out.println(\"theory_contains_concept is \" + theory_contains_concept);\n\n //if not then calculate its interestingness nad\n //add into the approporiate place in the agenda.\n\n if(!theory_contains_concept)\n {\n //Integer int = new Integer(hr.theory.conjectures.size());\n //conj.id = int.toString();\n\n concept.id = (new Integer(hr.theory.concepts.size())).toString();\n\n\n\n //calculating the interestingness of the conj\n //-- does this affect anything???\n\n\n //calculating the interestingness of the concept --\n //if concept is new:\n System.out.println(\"(concept.interestingness is \" + concept.interestingness);\n\n\n hr.theory.measure_concept.measureConcept(concept, hr.theory.concepts, true);\n\n System.out.println(\"(concept.interestingness is NOW \" + concept.interestingness);\n\n // //else:\n // \t\t else\n // \t\t {\n // \t\t\thr.theory.measure_concept.measureConcept(concept, hr.theory.concepts, false);\n\n // \t\t }\n\n\n\n if(concept.interestingness >= hr.theory.lakatos.threshold_to_add_concept_to_theory)\n {\n //Concept reconstructed_concept = concept.reconstructConcept(hr.theory, window);\n concept.dont_develop = false;//we want to develop if it's interesting\n hr.theory.addConceptToTheory(concept);\n System.out.println(\"concept over threshold\");\n\n }\n }\n response.response_vector.removeElementAt(j);\n j--;\n break;\n }\n\n\n personal_discussion_vector.removeElementAt(i);\n i--;\n }\n }\n }\n\n\n System.out.println(\"my conjectures NOW are:\");\n window.writeToFrontEnd(\"my conjectures NOW are:\");\n for(int i=0;i<hr.theory.conjectures.size();i++)\n {\n Conjecture conjecture = (Conjecture)hr.theory.conjectures.elementAt(i);\n System.out.println(conjecture.id + \": \" +conjecture.writeConjecture());\n window.writeToFrontEnd(conjecture.id + \": \" +conjecture.writeConjecture());\n }\n System.out.println(\"end of my new conjectures\");\n System.out.println(\"\\n ---------------\");\n window.writeToFrontEnd(\"end of my new conjectures\");\n window.writeToFrontEnd(\"\\n ---------------\");\n\n //print out concepts\n\n window.writeToFrontEnd(\"my concepts NOW are:\");\n for(int i=0;i<hr.theory.concepts.size();i++)\n {\n Concept concept = (Concept)hr.theory.concepts.elementAt(i);\n\n window.writeToFrontEnd(concept.id + \": \" + concept.writeDefinition());\n }\n\n\n window.writeToFrontEnd(\"end of my new concepts\");\n window.writeToFrontEnd(\"\\n --------------------\");\n\n\n\n System.out.println(\"personal_discussion_vector is now \" + personal_discussion_vector);\n System.out.println(\"finished addToTheoryFromDiscussionVector\");\n System.out.println(\"\\n\\n\\n\");\n }", "title": "" }, { "docid": "e73180f296f4876a35a2cafdbd90b7b0", "score": "0.51266336", "text": "public void parse(String ontoFile){\r\n\t\t\r\n\t\tFile goFile = new File(ontoFile);\r\n\t\ttry {\r\n\t\t\tInputStreamReader read = new InputStreamReader(new FileInputStream(goFile));\r\n\t\t\tBufferedReader br = new BufferedReader(read);\r\n\r\n\t\t\tthis.termMap = new HashMap();\r\n\t\t\t\r\n\t\t\tString curTid = null; //termId;\r\n\t\t\t//read the file by line\r\n\t\t\tString line = null;\r\n\t\t\tbr.readLine();\r\n\t\t\tbr.readLine();\r\n\t\t\tint termid = 1;\r\n\t\t\twhile ((line = br.readLine()) != null) {\r\n\t\t\t\tString[] fields = line.split(\"\\\\|\");\r\n\t\t\t\tString classId = fields[0].trim();\r\n\t\t\t\tString name = fields[1].trim();\r\n\t\t\t\tString uniqueName = fields[2].trim();\r\n\t\t\t\tString nameClass = fields[3].trim();\r\n\t\t\t\t\r\n\t\t\t\tname = removeWildCat(name);\r\n\t\t\t\t\r\n//\t\t\t\tif(\"scientific name\".equals(nameClass)){\r\n//\t\t\t\t\tOntologyTerm term = new OntologyTerm(); \r\n//\t\t\t\t\tterm.setClassId(classId);\r\n//\t\t\t\t\tterm.setPreferredName(name);\r\n//\t\t\t\t\tthis.termMap.put(classId, term);\r\n//\t\t\t\t}else{\r\n\t\t\t\t\r\n\t\t\t\t\tOntologyTerm term = this.termMap.get(classId);\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(term==null){\r\n\t\t\t\t\t\tterm = new OntologyTerm(); \r\n\t\t\t\t\t\tterm.setClassId(classId);\r\n\t\t\t\t\t\tterm.setPreferredName(name);\r\n\t\t\t\t\t\tthis.termMap.put(classId, term);\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\tString[] synonyms = term.getSynonyms();\r\n\t\t\t\t\t\t//if(\"synonym\".equals(nameClass)){\r\n\t\t\t\t\t\t\tif(synonyms==null){\r\n\t\t\t\t\t\t\t\tsynonyms = new String[]{name};\r\n\t\t\t\t\t\t\t\tterm.setSynonyms(synonyms);\r\n\t\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\t\tString[] synonymsNew = new String[synonyms.length+1];\r\n\t\t\t\t\t\t\t\tfor(int i=0;i<synonyms.length;i++){\r\n\t\t\t\t\t\t\t\t\tsynonymsNew[i]=synonyms[i];\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tsynonymsNew[synonymsNew.length-1] = name;\r\n\t\t\t\t\t\t\t\tterm.setSynonyms(synonymsNew);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t//}\r\n\t\t\t\t\t}\r\n//\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tSystem.out.println(\"In sum:\"+this.termMap.size());\r\n\t\t} catch (FileNotFoundException e) {\r\n\t\t\tSystem.err.print(\"The file [\"+ontoFile+\"] does not exist!\");\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "de2f881d7fc4bab7731dfc90aaa8424a", "score": "0.51066256", "text": "private Concept(){\n super();\n }", "title": "" }, { "docid": "f18cba4657b75412759b4b8766806a31", "score": "0.51057726", "text": "public OWLOntology buildOntology() throws AnnoteaException {\n\t\tOWLOntology ontology = null;\n\t\ttry {\n\t\t\t// create new ontology\n\t\t\tURI ont_uri = new URI(\"\");\n\t\t\tOWLBuilder builder = new OWLBuilder();\n\t\t\tbuilder.createOntology(ont_uri, ont_uri);\n\t\t\tontology = builder.getOntology();\n\t\t\tOntologyChange change = null;\n\t\t\t\n\t\t\t// import standard annotea ontology\n\t\t\tchange = new AddImport(ontology, Annotea.annoteaOntology, null);\n\t\t\tchange.accept((ChangeVisitor) ontology);\n\t\t\t\n\t\t\t// create a new OWL instance\n\t\t\tOWLDataFactory dataFact = ontology.getOWLDataFactory();\n\t\t\tOWLIndividual annotInstance = dataFact.getOWLIndividual(new URI(\"#Inst\"));\n\t\t\tchange = new AddEntity(ontology, annotInstance, null);\n\t\t\tchange.accept((ChangeVisitor) ontology);\n\t\t\t\n\t\t\t// set instance type as annotea:Annotation\n\t\t\tOWLClass annotClass = (OWLClass) Annotea.annoteaMap.get(\"Annotation\");\n\t\t\tchange = new AddIndividualClass(ontology, annotInstance, annotClass, null);\n\t\t\tchange.accept((ChangeVisitor) ontology);\n\t\t\t\n\t\t\t// add properties to annotation instance\t\t\t\n\t\t\t// add annotates\n\t\t\tif (annotates!=null) {\n\t\t\t\tfor (int i=0; i<annotates.length; i++) {\t\t\t\t\t\n\t\t\t\t\tOWLIndividual annotatesInd = dataFact.getOWLIndividual(annotates[i]);\n\t\t\t\t\tthis.addAnnotationProperty(\"annotates\", 2, annotatesInd, null, ontology, annotInstance);\n\t\t\t\t}\n\t\t\t}\n\t\t\t// add author\n\t\t\tif (author!=null) {\n\t\t\t\tthis.addAnnotationProperty(\"author\", 1, author, \"string\", ontology, annotInstance);\n\t\t\t}\n\t\t\t// add created\n\t\t\tif (created!=null) {\n\t\t\t\tthis.addAnnotationProperty(\"created\", 1, created, \"string\", ontology, annotInstance);\n\t\t\t}\n\t\t\t// add annotation type\n\t\t\tif (annotationType!=null) {\n\t\t\t\tchange = new AddIndividualClass(ontology, annotInstance, annotationType, null);\n\t\t\t\tchange.accept((ChangeVisitor) ontology);\n\t\t\t}\n\t\t\t// add entity definition string\n\t\t\tif (annotatedEntityDefinition!=null) {\n\t\t\t\tthis.addAnnotationProperty(\"entityDefinition\", 1, annotatedEntityDefinition, \"string\", ontology, annotInstance);\n\t\t\t}\n\t\t\t\n\t\t\t// add ontology change set\t\t\t\n\t\t\tif (ontologyChangeSet!=null) {\n\t\t\t\t\n\t\t\t\tif (SwoopModel.changeSharingMethod==SwoopModel.JAVA_SER) {\n\t\t\t\t\t// Serialize java object representing change set \n\t\t\t\t\t// and encode it to base-64 string. finally, put it as value\n\t\t\t\t\t// of a dataproperty AnnoteaNS+\"hasChangeSet\"\n\t\t\t\t\tByteArrayOutputStream byteStream = new ByteArrayOutputStream();\n\t\t\t\t\tObjectOutputStream out = new ObjectOutputStream(byteStream);\t\t\t\t\n\t\t\t\t\tout.writeObject(ontologyChangeSet);\n\t\t\t\t\tout.close();\n\t\t\t\t\tString changeSetStr = Base64.encode(byteStream.toByteArray());\n\t\t\t\t\t// System.out.println(\"Change set size:\"+changeSetStr.length());\n\t\t\t\t\tthis.addAnnotationProperty(\"hasChangeSetJAVA\", 1, changeSetStr, \"string\", ontology, annotInstance);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\t// SERIALIZE CHANGE LOGS IN RDF/XML USING OWLAPI ONTOLOGY\n\t\t\t\t\tOntologyChangeRenderer changeRenderer = new OntologyChangeRenderer(new ChangeLog(null, null));\n\t\t\t\t\tOWLOntology owlapiOntology = changeRenderer.serializeOntologyChanges(ontologyChangeSet);\n\t\t\t\t\t\n\t\t\t\t\tCorrectedRDFRenderer rdfRenderer = new CorrectedRDFRenderer();\n\t\t\t\t\tStringWriter st = new StringWriter();\n\t\t\t\t\trdfRenderer.renderOntology(owlapiOntology, st);\n\t\t\t\t\tString rdfxml = st.toString();\t\t\t\t\n\t\t\t\t\t// TESTING:\n\t//\t\t\t\tSystem.out.println(\"OWL ChangeSet Ontology:---\");\n\t//\t\t\t\tSystem.out.println(rdfxml);\n\t\t\t\t\trdfxml = this.stripHTML(rdfxml);\n\t\t\t\t\tthis.addAnnotationProperty(\"hasChangeSetRDF\", 1, rdfxml, \"string\", ontology, annotInstance);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\t// now create an anonymous instance for the body\n\t\t\t//OWLIndividual bodyInstance = dataFact.getOWLIndividual(null);\n\t\t\tRandom r = new Random(System.currentTimeMillis());\n\t\t\tOWLIndividual bodyInstance = dataFact.getAnonOWLIndividual(new URI(\"http://\" + Long.toString(r.nextLong())));\n\t\t\tchange = new AddEntity(ontology, bodyInstance, null);\n\t\t\tchange.accept((ChangeVisitor) ontology);\n\t\t\t\n\t\t\t// add httpBody value = html text from body\n\t\t\tif (body!=null) {\n\t\t\t\tthis.addAnnotationProperty(\"Body\", 1, body, \"string\", ontology, bodyInstance);\t\t\t\t\n\t\t\t}\n\t\t\t// add httpContentType\n\t\t\tif (bodyType!=null) {\n\t\t\t\tthis.addAnnotationProperty(\"ContentType\", 1, bodyType, \"string\", ontology, bodyInstance);\n\t\t\t}\n\t\t\t// add httpContentLength\n\t\t\tif (body!=null) {\n\t\t\t\tthis.addAnnotationProperty(\"ContentLength\", 1, String.valueOf(body.length()), \"int\", ontology, bodyInstance);\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\t// set annotInstance.body = httpBody\n\t\t\tthis.addAnnotationProperty(\"body\", 2, bodyInstance, null, ontology, annotInstance);\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\tthrow new AnnoteaException(e);\n\t\t}\n\t\treturn ontology;\n\t}", "title": "" }, { "docid": "88c3d0e17956c42a27812b0120744757", "score": "0.51004547", "text": "private void setWordFields(String cgWord) {\r\n\t\tname = getName(cgWord).replaceAll(\"=\", \" \");\r\n\t\tbaseWord = getBaseWord(cgWord).replaceAll(\"=\", \" \");\r\n\t\tString[] lexicalTags = getLexicalTags(cgWord);\r\n\t\tString[] syntacticTags = getSyntacticTags(cgWord);\r\n\t\tsetHeuristic(syntacticTags);\r\n\t\tsetContraction(syntacticTags);\r\n\t\t\r\n\t\t//System.out.println(Arrays.asList(lexicalTags) + \" \" + Arrays.asList(syntacticTags));\r\n\t\t\r\n\t\tswitch (lexicalTags[0]) {\r\n\t\t\r\n\t\t\t// es sustantivo (cargo tipo, genero y numero)\r\n\t\t\tcase \"N\":\r\n\t\t\t\ttype = WordTypes.Type.NOUN;\r\n\t\t\t\tsetGender(lexicalTags[1]);\r\n\t\t\t\tsetNumber(lexicalTags[2]);\r\n\t\t\t\tbreak;\r\n\t\t\t\t\r\n\t\t\t// es adjetivo (cargo tipo, genero y numero)\r\n\t\t\tcase \"ADJ\":\r\n\t\t\t\ttype = WordTypes.Type.ADJECTIVE;\r\n\t\t\t\tsetGender(lexicalTags[1]);\r\n\t\t\t\tsetNumber(lexicalTags[2]);\r\n\t\t\t\tbreak;\r\n\t\t\t\t\r\n\t\t\t// es verbo (cargo tipo, modo, tiempo y persona)\r\n\t\t\tcase \"V\":\r\n\t\t\t\ttype = WordTypes.Type.VERB;\r\n\t\t\t\tsetModeTenseAndPerson(lexicalTags);\r\n\t\t\t\tbreak;\r\n\t\t\t\t\r\n\t\t\t// es nombre propio (cargo tipo, genero y numero)\r\n\t\t\tcase \"PROP\":\r\n\t\t\t\ttype = WordTypes.Type.PROPER_NAME;\r\n\t\t\t\tsetGender(lexicalTags[1]);\r\n\t\t\t\tsetNumber(lexicalTags[2]);\r\n\t\t\t\tbreak;\r\n\t\t\t\r\n\t\t\t// es preposicion (solo cargo el tipo)\r\n\t\t\tcase \"PRP\":\r\n\t\t\t\ttype = WordTypes.Type.PREPOSITION;\r\n\t\t\t\tbreak;\r\n\t\t\t\r\n\t\t\t// es numerico (cargo tipo, genero y numero)\r\n\t\t\tcase \"NUM\":\r\n\t\t\t\ttype = WordTypes.Type.NUMERIC;\r\n\t\t\t\tif (lexicalTags.length > 2) {\r\n\t\t\t\t\tsetGender(lexicalTags[1]);\r\n\t\t\t\t\tsetNumber(lexicalTags[2]);\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tsetNumber(lexicalTags[1]);\r\n\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\t\t\t\r\n\t\t\t// es interjeccion (solo cargo el tipo)\r\n\t\t\tcase \"IN\":\r\n\t\t\t\ttype = WordTypes.Type.INTERJECTION;\r\n\t\t\t\tbreak;\r\n\t\t\t\r\n\t\t\t// es conjuncion coordinada (cargo tipo y subtipo)\r\n\t\t\tcase \"KC\":\r\n\t\t\t\ttype = WordTypes.Type.CONJUNCTION;\r\n\t\t\t\tsubType = WordTypes.Type.ConjunctionSubtype.COORDINATING;\r\n\t\t\t\tbreak;\r\n\t\t\t\t\r\n\t\t\t// es conjuncion subodinada (cargo tipo y subtipo)\r\n\t\t\tcase \"KS\":\r\n\t\t\t\ttype = WordTypes.Type.CONJUNCTION;\r\n\t\t\t\tsubType = WordTypes.Type.ConjunctionSubtype.SUBORDINATING;\r\n\t\t\t\tbreak;\r\n\t\t\t\t\r\n\t\t\t// es pronombre personal (cargo tipo y subtipo)\r\n\t\t\tcase \"PERS\":\r\n\t\t\t\ttype = WordTypes.Type.PERSONAL_PRONOUN;\r\n\t\t\t\tsetPersonalPronounSubtype(lexicalTags);\r\n\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t// es pronombre no personal o articulo (cargo tipo, subtipo, genero y numero)\r\n\t\t\tcase \"DET\":\r\n\t\t\tcase \"INDP\":\r\n\t\t\t\tsetPronounAndArticlesSubtype(lexicalTags, syntacticTags);\r\n\t\t\t\tbreak;\r\n\t\t\t\t\r\n\t\t\t// es pronombre no personal o articulo (cargo tipo, subtipo, genero y numero)\r\n\t\t\tcase \"ADV\":\r\n\t\t\t\tsetAdverbSubtype(syntacticTags);\r\n\t\t\t\tbreak;\r\n\t\t\t\r\n\t\t\t// si no es nada de lo anterior, que Dios nos ampare.\r\n\t\t\tdefault:\r\n\t\t\t\ttype = WordTypes.UNKNOWN;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "882b92a74d8bf2b8b7787077fc762428", "score": "0.5066845", "text": "private void expandPlagTerm(String concept,String conceptPosition,String conceptWeight){\n \n \n \n String termOntology = olsClient.geTermOntology(concept);\n //the term is contained into one medical ontology at least\n if (!termOntology.equals(\"\")) {\n if( ! MultiOntology.multiOntology){\n HashMap allTermInfo = olsClient.getAllTermInfo(concept, conceptPosition,termOntology,conceptWeight);\n this.plagConcepts.replace(concept, allTermInfo);\n }else\n {\n JOptionPane.showMessageDialog(null,\"more than one ontology :\"+termOntology+\" concept is :\"+concept); \n }\n \n }\n else// the term is not contained into any of medical ontologies so we will search in wordnet about it\n {\n HashMap allTermInfo=WordNetManager.getAllTermInfo(concept, conceptPosition,\"WN\",conceptWeight);\n this.plagConcepts.replace(concept, allTermInfo);\n }\n }", "title": "" }, { "docid": "c697e0d7550f000b10d29ec6ca4d3dd1", "score": "0.50594515", "text": "public static void addEquivalentAdHocRelations(OWLOntology ontology) {\n\t\tOWLOntologyManager manager = OWLManager.createOWLOntologyManager();\n\t\tOWLDataFactory factory = manager.getOWLDataFactory();\n\t\t\n\t\t// get the Set of the common AdHocRelations\n\t\tSet<String> commonAdHocRelations = OntologyData.getSameNameAdHocRelationsAsString(ontology);\n\t\t\n\t\t// Perform equivalences\n\t\tif(!commonAdHocRelations.isEmpty()) {\n\t\t\tfor(String commonConcept : commonAdHocRelations) {\n\t\t\t\t// get the common AdHocRelations as Object Properties\n\t\t\t\tSet<OWLObjectProperty> commonObjectProperties = OntologyData.getParticularNameObjectProperties(commonConcept, ontology);\n\t\t\t\t// Relate the common Object Properties from the Set\n\t\t\t\tOWLEquivalentObjectPropertiesAxiom equivalenceAxiom = factory.getOWLEquivalentObjectPropertiesAxiom(commonObjectProperties);\n\t\t\t\tmanager.applyChange(new AddAxiom(ontology, equivalenceAxiom));\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "c3b7a4887a2afc7660fbba810d0966aa", "score": "0.5058984", "text": "public void initializeMappingSet() {\n\t\t\n\t\t/*Anniversary, City, Company, Continent, Country, Currency, EmailAddress,\n\t\tEntertainmentAwardEvent, Facility, FaxNumber, Holiday, IndustryTerm, MarketIndex,\n\t\tMedicalCondition, MedicalTreatment, Movie, MusicAlbum, MusicGroup, NaturalFeature,\n\t\tOperatingSystem, Organization, Person, PhoneNumber, PoliticalEvent, Position, Product,\n\t\tProgrammingLanguage, ProvinceOrState, PublishedMedium, RadioProgram, RadioStation, \n\t\tRegion, SportsEvent, SportsGame, SportsLeague, Technology, TVShow, TVStation, URL\n\t\t\n\t\t*\n\t\t*\n\t\t*\n\t\t*\n\t\tAnniversary\n\t\tEmailAddress\n\t\tFaxNumber\n\t\tPhoneNumber\n\t\tHoliday\n\t\tProduct\n\t\tMarketIndex\n\t\tTechnology\n\t\t\n\t\t\n\t\tProgrammingLanguage\n\t\t\n\t\tFacility mapped to two classes\n\t\tIndustryTerm mapped to a property\n\t\t\n\t\t*\n\t\t*/\n\t\t\n\t\t//1\n\t\t/*CategoryList.addLast(\"Anniversary\");\n\t\tdbpediaIRIList.addLast(\"\");\n\t\tTypeList.add(Constants.TYPE_CLASS);*/\n\t\t\n\t\t//2\n\t\tCategoryList.addLast(\"City\");\n\t\tdbpediaIRIList.addLast(\"http://dbpedia.org/ontology/PopulatedPlace\");\n\t\tTypeList.add(Constants.TYPE_CLASS);\n\t\t\n\t\t//3\n\t\tCategoryList.addLast(\"Company\");\n\t\tdbpediaIRIList.addLast(\"http://dbpedia.org/ontology/Company\");\n\t\tTypeList.add(Constants.TYPE_CLASS);\n\t\t\n\t\t//4\n\t\tCategoryList.addLast(\"Continent\");\n\t\tdbpediaIRIList.addLast(\"http://dbpedia.org/ontology/Continent\");\n\t\tTypeList.add(Constants.TYPE_CLASS);\n\t\t\n\t\t//5\n\t\tCategoryList.addLast(\"Country\");\n\t\tdbpediaIRIList.addLast(\"http://dbpedia.org/ontology/Country\");\n\t\tTypeList.add(Constants.TYPE_CLASS);\n\t\t\n\t\t//6\n\t\tCategoryList.addLast(\"Currency\");\n\t\tdbpediaIRIList.addLast(\"http://dbpedia.org/ontology/Currency\");\n\t\tTypeList.add(Constants.TYPE_CLASS);\n\t\t\n\t\t//7\n\t\tCategoryList.addLast(\"EntertainmentAwardEvent\");\n\t\tdbpediaIRIList.addLast(\"http://dbpedia.org/ontology/Award\");\n\t\tTypeList.add(Constants.TYPE_CLASS);\n\t\t\n\t\t//8\n\t\tCategoryList.addLast(\"MedicalCondition\");\n\t\tdbpediaIRIList.addLast(\"http://dbpedia.org/ontology/Disease\");\n\t\tTypeList.add(Constants.TYPE_CLASS);\n\t\t\n\t\t//9\n\t\tCategoryList.addLast(\"MedicalTreatment\");\n\t\tdbpediaIRIList.addLast(\"http://dbpedia.org/ontology/Drug\");\n\t\tTypeList.add(Constants.TYPE_CLASS);\n\t\t\n\t\t//10\n\t\tCategoryList.addLast(\"Movie\");\n\t\tdbpediaIRIList.addLast(\"http://dbpedia.org/ontology/Film\");\n\t\tTypeList.add(Constants.TYPE_CLASS);\n\t\t\n\t\t//11\n\t\tCategoryList.addLast(\"MusicAlbum\");\n\t\tdbpediaIRIList.addLast(\"http://dbpedia.org/ontology/MusicalWork\");\n\t\tTypeList.add(Constants.TYPE_CLASS);\n\t\t\n\t\t//12\n\t\tCategoryList.addLast(\"MusicGroup\");\n\t\tdbpediaIRIList.addLast(\"http://dbpedia.org/ontology/Band\");\n\t\tTypeList.add(Constants.TYPE_CLASS);\n\t\t\n\t\t//13\n\t\tCategoryList.addLast(\"NaturalFeature\");\n\t\tdbpediaIRIList.addLast(\"http://dbpedia.org/ontology/Place\");\n\t\tTypeList.add(Constants.TYPE_CLASS);\n\t\t\n\t\t//14\n\t\tCategoryList.addLast(\"OperatingSystem\");\n\t\tdbpediaIRIList.addLast(\"http://dbpedia.org/ontology/Software\");\n\t\tTypeList.add(Constants.TYPE_CLASS);\n\t\t\n\t\t//15\n\t\tCategoryList.addLast(\"Organization\");\n\t\tdbpediaIRIList.addLast(\"http://dbpedia.org/ontology/Organisation\");\n\t\tTypeList.add(Constants.TYPE_CLASS);\n\t\t\n\t\t//16\n\t\tCategoryList.addLast(\"Person\");\n\t\tdbpediaIRIList.addLast(\"http://dbpedia.org/ontology/Person\");\n\t\tTypeList.add(Constants.TYPE_CLASS);\n\t\t\n\t\t//17\n\t\tCategoryList.addLast(\"ProvinceOrState\");\n\t\tdbpediaIRIList.addLast(\"http://dbpedia.org/ontology/PopulatedPlace\");\n\t\tTypeList.add(Constants.TYPE_CLASS);\n\t\t\n\t\t//18\n\t\tCategoryList.addLast(\"PublishedMedium\");\n\t\tdbpediaIRIList.addLast(\"http://dbpedia.org/ontology/Work\");\n\t\tTypeList.add(Constants.TYPE_CLASS);\n\t\t\n\t\t//19\n\t\tCategoryList.addLast(\"RadioProgram\");\n\t\tdbpediaIRIList.addLast(\"http://dbpedia.org/ontology/Work\");\n\t\tTypeList.add(Constants.TYPE_CLASS);\n\t\t\n\t\t//20\n\t\tCategoryList.addLast(\"RadioStation\");\n\t\tdbpediaIRIList.addLast(\"http://dbpedia.org/ontology/Organisation\");\n\t\tTypeList.add(Constants.TYPE_CLASS);\n\t\t\n\t\t//21\n\t\tCategoryList.addLast(\"Region\");\n\t\tdbpediaIRIList.addLast(\"http://dbpedia.org/ontology/Place\");\n\t\tTypeList.add(Constants.TYPE_CLASS);\n\t\t\n\t\t//22\n\t\tCategoryList.addLast(\"SportsEvent\");\n\t\tdbpediaIRIList.addLast(\"http://dbpedia.org/ontology/SportsEvent\");\n\t\tTypeList.add(Constants.TYPE_CLASS);\n\t\t\n\t\t//23\n\t\tCategoryList.addLast(\"SportsGame\");\n\t\tdbpediaIRIList.addLast(\"http://dbpedia.org/ontology/Activity\");\n\t\tTypeList.add(Constants.TYPE_CLASS);\n\t\t\n\t\t//24\n\t\tCategoryList.addLast(\"SportsLeague\");\n\t\tdbpediaIRIList.addLast(\"http://dbpedia.org/ontology/Organisation\");\n\t\tTypeList.add(Constants.TYPE_CLASS);\n\t\t\n\t\t//25\n\t\t/*CategoryList.addLast(\"Technology\");\n\t\tdbpediaIRIList.addLast(\"\");\n\t\tTypeList.add(Constants.TYPE_CLASS);*/\n\t\t\n\t\t//26\n\t\tCategoryList.addLast(\"TVShow\");\n\t\tdbpediaIRIList.addLast(\"http://dbpedia.org/ontology/Work\");\n\t\tTypeList.add(Constants.TYPE_CLASS);\n\t\t\n\t\t//27\n\t\tCategoryList.addLast(\"TVStation\");\n\t\tdbpediaIRIList.addLast(\"http://dbpedia.org/ontology/Organisation\");\n\t\tTypeList.add(Constants.TYPE_CLASS);\n\t\t\n\t\t//28\n\t\tCategoryList.addLast(\"URL\");\n\t\tdbpediaIRIList.addLast(\"http://dbpedia.org/ontology/Website\");\n\t\tTypeList.add(Constants.TYPE_CLASS);\n\t\t\n\t\t//29\n\t\tCategoryList.addLast(\"PoliticalEvent\");\n\t\tdbpediaIRIList.addLast(\"http://dbpedia.org/ontology/Event\");\n\t\tTypeList.add(Constants.TYPE_CLASS);\n\t\t\n\t\t//30\n\t\tCategoryList.addLast(\"Position\");\n\t\tdbpediaIRIList.addLast(\"http://dbpedia.org/ontology/Person\");\n\t\tTypeList.add(Constants.TYPE_CLASS);\n\t\t\n\t\t//31\n\t\tCategoryList.addLast(\"Facility\");\n\t\tdbpediaIRIList.addLast(\"http://dbpedia.org/ontology/Organisation\");\n\t\tTypeList.add(Constants.TYPE_CLASS);\n\t\t\n\t\t//32\n\t\tCategoryList.addLast(\"Facility\");\n\t\tdbpediaIRIList.addLast(\"http://dbpedia.org/ontology/Place\");\n\t\tTypeList.add(Constants.TYPE_CLASS);\n\t\t\n\t\t\n\t\t//32\n\t\tCategoryList.addLast(\"IndustryTerm\");\n\t\tdbpediaIRIList.addLast(\"http://dbpedia.org/ontology/industry\");\n\t\tTypeList.add(Constants.TYPE_PROPERTY);\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "3e269ef97360969e52eafb2261fb99ec", "score": "0.50373715", "text": "public interface OWLIndividual extends OWLEntity, OWLValue {\r\n\t/**\r\n\t * Return true if a value for the given property exists.\r\n\t *\r\n\t * @param prop\r\n\t * @return\r\n\t */\r\n\tpublic boolean hasProperty(OWLProperty prop);\r\n\r\n\t/**\r\n\t * Return true if the given value for the property exists.\r\n\t *\r\n\t * @param prop\r\n\t * @param value\r\n\t * @return\r\n\t */\r\n\tpublic boolean hasProperty(OWLProperty prop, OWLValue value);\r\n\r\n\t/**\r\n\t * Get the value for the given object property. If the resource has more\r\n\t * than one value for this property a random one will be returned.\r\n\t *\r\n\t * @param prop\r\n\t * @return\r\n\t */\r\n\tpublic OWLIndividual getProperty(OWLObjectProperty prop);\r\n\r\n\r\n\t/**\r\n\t * Get all the values for the given object property.\r\n\t *\r\n\t * @param prop\r\n\t * @return\r\n\t */\r\n\tpublic OWLIndividualList<?> getProperties(OWLObjectProperty prop);\r\n\r\n\t/**\r\n\t * Get the value for the given data type property. If the resource has more\r\n\t * than one value for this property with different language identifiers than\r\n\t * the returned value will be determined according to the settings defined\r\n\t * in {@link org.mindswap.owl.OWLConfig#DEFAULT_LANGS OWLConfig}\r\n\t *\r\n\t * @param prop\r\n\t * @return\r\n\t */\r\n\tpublic OWLDataValue getProperty(OWLDataProperty prop);\r\n\r\n\t/**\r\n\t * Get the value for the given property URI with the specified language\r\n\t * identifier. If the value for the given language does not exist return\r\n\t * <code>null</code> even if a value is found for another language.\r\n\t * Use {@link #getProperty(OWLDataProperty)} to be more flexible.\r\n\t *\r\n\t * @param prop\r\n\t * @param lang\r\n\t * @return\r\n\t */\r\n\tpublic OWLDataValue getProperty(OWLDataProperty prop, String lang);\r\n\r\n\t/**\r\n\t * Get all the values for the given data property.\r\n\t *\r\n\t * @param prop\r\n\t * @return\r\n\t */\r\n\tpublic List<OWLDataValue> getProperties(OWLDataProperty prop);\r\n\r\n\t/**\r\n\t * Get all the properties asserted about this individual.\r\n\t */\r\n\tpublic Map<OWLProperty, List<OWLValue>> getProperties();\r\n\r\n\t/**\r\n\t * @see OWLModel#getIncomingProperty(OWLObjectProperty, OWLIndividual)\r\n\t */\r\n\tpublic OWLIndividual getIncomingProperty(OWLObjectProperty prop);\r\n\r\n\t/**\r\n\t * @see OWLModel#getIncomingProperties(OWLObjectProperty, OWLIndividual)\r\n\t */\r\n\tpublic OWLIndividualList<?> getIncomingProperties(OWLObjectProperty prop);\r\n\r\n\t/**\r\n\t * @see OWLModel#getIncomingProperties(OWLIndividual)\r\n\t */\r\n\tpublic OWLIndividualList<?> getIncomingProperties();\r\n\r\n\t/**\r\n\t * Set the value for the given data property to the given plain literal\r\n\t * value (no language identifier). All the existing data values (that has\r\n\t * no language identifier) will be removed.\r\n\t *\r\n\t * @param prop\r\n\t * @param value\r\n\t */\r\n\tpublic void setProperty(OWLDataProperty prop, String value);\r\n\r\n\t/**\r\n\t * Set the value for the given data property to the given literal by\r\n\t * determining the RDF data type from Java class. This function is\r\n\t * equivalent to <code>setProperty(prop, OWLFactory.createDataValue(value))</code>.\r\n\t *\r\n\t * @param prop\r\n\t * @param value\r\n\t */\r\n\tpublic void setProperty(OWLDataProperty prop, Object value);\r\n\r\n\t/**\r\n\t * Set the value for the given data property. All the existing data values\r\n\t * (that has the same language identifier with the given value) will be removed.\r\n\t *\r\n\t * @param prop\r\n\t * @param value\r\n\t */\r\n\tpublic void setProperty(OWLDataProperty prop, OWLDataValue value);\r\n\r\n\tpublic void addProperty(OWLDataProperty prop, OWLDataValue value);\r\n\r\n\tpublic void addProperty(OWLDataProperty prop, String value);\r\n\r\n\tpublic void addProperty(OWLDataProperty prop, Object value);\r\n\r\n\t/**\r\n\t * Remove all statements matching (this, p, o) from the backing {@link #getKB()}.\r\n\t *\r\n\t * @param p The target property (predicate).\r\n\t * @param o The value to remove (object). A value of <code>null</code> will\r\n\t * \tremove all statements (this, p, *).\r\n\t */\r\n\tpublic void removeProperty(OWLProperty p, OWLValue o);\r\n\r\n\tpublic void addProperty(OWLObjectProperty prop, OWLIndividual value);\r\n\r\n\tpublic void setProperty(OWLObjectProperty prop, OWLIndividual value);\r\n\r\n\tpublic void addType(OWLClass c);\r\n\r\n\tpublic void removeTypes();\r\n\r\n\t/**\r\n\t * Entirely deletes this individual in the ontology it is part of. More\r\n\t * precisely, it deletes all statements that refer to it, that is, where\r\n\t * it occurs as either statement-subject or statement-object.\r\n\t * <p>\r\n\t * No matter if this individual is anonymous or not, the backing resource\r\n\t * still exists - actually, just its URI respectively anon identifier, but\r\n\t * no statements. As such, it can be still used, for instance, to add or\r\n\t * set properties, which will add this individual back to the ontology\r\n\t * referred to by {@link OWLEntity#getOntology()}.\r\n\t */\r\n\tpublic void delete();\r\n\r\n\tpublic OWLClass getType();\r\n\r\n\tpublic Set<OWLClass> getTypes();\r\n\r\n\tpublic boolean isType(OWLClass c);\r\n\r\n\t/**\r\n\t * Return the RDF/XML representation of this individual. The returned RDF/XML is\r\n\t * supposed to be a nested RDF statement which is the b-node closure of the\r\n\t * individual.\r\n\t *\r\n\t * @param printRDFtag If <code>false</code> the enclosing <tt>&lt;rdf:RDF&gt;</tt>\r\n\t * \ttag will be omitted.\r\n\t * @param inlineNamespaces If <code>true</code> namespaces declared within\r\n\t * \tthe <tt>&lt;rdf:RDF&gt;</tt> tag wont get lost but occur in-line in\r\n\t * \tthe result (good to quote whole expression). This parameter is only\r\n\t * \trelevant if <code>withRDFtag</code> is <code>false</code>.\r\n\t * @return The RDF/XML representation of this individual.\r\n\t */\r\n\tpublic String toRDF(boolean printRDFtag, boolean inlineNamespaces);\r\n\r\n\t/**\r\n\t * Add a <tt>owl:sameAs</tt> assertion to this individual in the attached\r\n\t * ontology, thus, assert that the two individuals are the same. Existing\r\n\t * <tt>owl:sameAs</tt> assertion about this individual remain.\r\n\t *\r\n\t * @param other Some individual which shall be the same as this individual.\r\n\t * @see #removeSameAs(OWLIndividual)\r\n\t */\r\n\tpublic void addSameAs(OWLIndividual other);\r\n\r\n\t/**\r\n\t * @param other Some individual.\r\n\t * @return <code>true</code> if the backing KB entails this individual\r\n\t * \tto be the same as the given individual (according to the semantics of\r\n\t * \t<tt>owl:differentFrom</tt> respectively <tt>owl:sameAs</tt>).\r\n\t */\r\n\tpublic boolean isSameAs(OWLIndividual other);\r\n\r\n\t/**\r\n\t * Remove a <tt>owl:sameAs</tt> assertion between this and the given\r\n\t * individual in the backing KB. If the parameter is <code>null</code> all\r\n\t * existing <tt>owl:sameAs</tt> assertion about this individual\r\n\t * will be removed in the backing KB.\r\n\t *\r\n\t * @param other Some individual or <code>null</code> for the wildcard.\r\n\t * @see #addSameAs(OWLIndividual)\r\n\t */\r\n\tpublic void removeSameAs(OWLIndividual other);\r\n\r\n\t/**\r\n\t * @return All individuals which the backing KB entails to be the same\r\n\t * \t(according to the semantics of <tt>owl:sameAs</tt>).\r\n\t */\r\n\tpublic OWLIndividualList<?> getSameIndividuals();\r\n\r\n\t/**\r\n\t * Add a <tt>owl:differentFrom</tt> assertion to this individual in the\r\n\t * attached ontology, thus, assert that the two individuals are distinct.\r\n\t * Existing <tt>owl:differentFrom</tt> assertion about this individual\r\n\t * remain.\r\n\t *\r\n\t * @param other Some individual which shall be different from this individual.\r\n\t * @see #removeDifferentFrom(OWLIndividual)\r\n\t */\r\n\tpublic void addDifferentFrom(OWLIndividual other);\r\n\r\n\t/**\r\n\t * @param other Some individual.\r\n\t * @return <code>true</code> if the backing model entails this individual\r\n\t * \tto be different from the given individual (according to the semantics\r\n\t * \t<tt>owl:differentFrom</tt> respectively <tt>owl:sameAs</tt>).\r\n\t */\r\n\tpublic boolean isDifferentFrom(OWLIndividual other);\r\n\r\n\t/**\r\n\t * Remove a <tt>owl:differentFrom</tt> assertion between this and the given\r\n\t * individual in the backing KB. If the parameter is <code>null</code> all\r\n\t * existing <tt>owl:differentFrom</tt> assertion about this individual\r\n\t * will be removed in the backing KB.\r\n\t *\r\n\t * @param other Some individual or <code>null</code> for the wildcard.\r\n\t * @see #addDifferentFrom(OWLIndividual)\r\n\t */\r\n\tpublic void removeDifferentFrom(OWLIndividual other);\r\n\r\n\t/**\r\n\t * @return All individuals which the backing model entails to be different\r\n\t * \t(according to the semantics of <tt>owl:differentFrom</tt>).\r\n\t */\r\n\tpublic OWLIndividualList<?> getDifferentIndividuals();\r\n\r\n}", "title": "" }, { "docid": "69c85f11fcd904e8f24bf69c4da11165", "score": "0.5028133", "text": "public void startElement(String namespaceURI, String lName, String qName, Attributes atts) throws SAXException {\n\t\tif (currentTree != null) {\n\t\t\tcurrentTree.startElement(namespaceURI, lName, qName, atts);\n\t\t}\n\t\tif (lName.equals(\"concept\")) {\n\t\t\t// provide lookup by full vocab field xpath, i.e.\n\t\t\t// \"/itemRecord/educational/resourceTypes/resourceType\"\n\t\t\tString key = (String) atts.getValue(\"metaFormat\") + \"/\" + (String) atts.getValue(\"metaVersion\") + \"/\"\n\t\t\t\t\t+ (String) atts.getValue(\"audience\") + \"/\" + (String) atts.getValue(\"language\") + \"/\"\n\t\t\t\t\t+ (String) atts.getValue(\"path\");\n\t\t\tsetTreeKey(key);\n\t\t\tif (atts.getValue(\"id\") != null) {\n\t\t\t\t// provide lookup by vocab encoded field id, i.e. \"re\":\n\t\t\t\tkey = (String) atts.getValue(\"metaFormat\") + \"/\" + (String) atts.getValue(\"metaVersion\") + \"/\"\n\t\t\t\t\t\t+ (String) atts.getValue(\"audience\") + \"/\" + (String) atts.getValue(\"language\") + \"/\"\n\t\t\t\t\t\t+ (String) atts.getValue(\"id\");\n\t\t\t\tsetTreeKey(key);\n\t\t\t\tif (seenVocabFieldIds.get(atts.getValue(\"id\")) == null) {\n\t\t\t\t\tvocabFieldIds.add(atts.getValue(\"id\"));\n\t\t\t\t\tseenVocabFieldIds.put(atts.getValue(\"id\"), new Boolean(true));\n\t\t\t\t}\n\t\t\t\tmetaFormatOfField.put(atts.getValue(\"id\"), atts.getValue(\"metaFormat\"));\n\t\t\t\tmetaFormatOfField.put(atts.getValue(\"path\"), atts.getValue(\"metaFormat\"));\n\t\t\t}\n\t\t\tif (atts.getValue(\"path\") != null) {\n\t\t\t\tif (seenVocabFieldPaths.get(atts.getValue(\"path\")) == null) {\n\t\t\t\t\tvocabFieldPaths.add(atts.getValue(\"path\"));\n\t\t\t\t\tseenVocabFieldPaths.put(atts.getValue(\"path\"), new Boolean(true));\n\t\t\t\t}\n\t\t\t}\n\t\t\t// provide lookup by vocab field name, i.e. \"resourceType\":\n\t\t\tkey = (String) atts.getValue(\"metaFormat\") + \"/\" + (String) atts.getValue(\"metaVersion\") + \"/\"\n\t\t\t\t\t+ (String) atts.getValue(\"audience\") + \"/\" + (String) atts.getValue(\"language\") + \"/\"\n\t\t\t\t\t+ getNameFromPath((String) atts.getValue(\"path\"));\n\t\t\tsetTreeKey(key);\n\t\t\t// NOTE: that last lookup by field name is faulty if two different xpaths have\n\t\t\t// the same name!\n\t\t\t// Best to use lookup by xpath or encoded id\n\t\t}\n\t}", "title": "" }, { "docid": "5482084968d760349c9450f051d82336", "score": "0.50064045", "text": "protected abstract void addAxioms(@Nonnull E entity,\n @Nonnull OWLReasoner reasoner, @Nonnull OWLDataFactory dataFactory,\n @Nonnull Set<A> result);", "title": "" }, { "docid": "a040c99fb3eb1fe64b89e09c9b14922a", "score": "0.50053155", "text": "protected void depthSearchEnumerateConcepts() {\n initStackObjects();\n callback.startCalc();\n calcOne();\n if (!searchConstrainer.continueSearch(newIntent, newExtent.elementCount())) {\n return;\n }\n callback.addConcept(newExtent, newIntent);\n if (!newIntent.equals(allAttrSet)) {\n prohibitedSets[0].copy(newIntent);\n descEntities[0].copy(allAttrSet);\n descEntities[0].andNot(prohibitedSets[0]);\n\n depthSearchEnumConcepts(newIntent, newExtent, 0);\n } // end of if ()\n\n }", "title": "" }, { "docid": "b07d4e688b6eb3076fc4b4e66314f756", "score": "0.50029135", "text": "@Override\r\n public void run() {\r\n String predicate = di.getMeaningRepresentation().getPredicate();\r\n ArrayList<Action> refSequence = di.getDirectReferenceSequence();\r\n \r\n //Collections to track which attribute/value pairs have already be mentioned in the sequence and which are yet to be mentioned\r\n HashSet<String> attrValuesAlreadyMentioned = new HashSet<>();\r\n HashSet<String> attrValuesToBeMentioned = new HashSet<>();\r\n for (String attribute : di.getMeaningRepresentation().getAttributeValues().keySet()) {\r\n for (String value : di.getMeaningRepresentation().getAttributeValues().get(attribute)) {\r\n attrValuesToBeMentioned.add(attribute.toLowerCase() + \"=\" + value.toLowerCase());\r\n }\r\n }\r\n if (attrValuesToBeMentioned.isEmpty()) {\r\n attrValuesToBeMentioned.add(\"empty=empty\");\r\n }\r\n\r\n // First we create the feature and cost vectors for the content actions\r\n ArrayList<String> attributeSequence = new ArrayList<>();\r\n String attrValue = \"\";\r\n // For every step of the sequence\r\n for (int w = 0; w < refSequence.size(); w++) {\r\n if (!refSequence.get(w).getAttribute().equals(Action.TOKEN_PUNCT)\r\n && !refSequence.get(w).getAttribute().equals(attrValue)) {\r\n if (!attrValue.isEmpty()) {\r\n attrValuesToBeMentioned.remove(attrValue);\r\n }\r\n // Create the feature and cost vector\r\n Instance contentTrainingVector = SFX.createContentInstance(predicate, refSequence.get(w).getAttribute(), attributeSequence, attrValuesAlreadyMentioned, attrValuesToBeMentioned, di.getMeaningRepresentation(), SFX.getAvailableContentActions());\r\n if (contentTrainingVector != null) {\r\n predicateContentTrainingData.get(di).get(predicate).add(contentTrainingVector);\r\n }\r\n attributeSequence.add(refSequence.get(w).getAttribute());\r\n\r\n attrValue = refSequence.get(w).getAttribute();\r\n if (!attrValue.isEmpty()) {\r\n attrValuesAlreadyMentioned.add(attrValue);\r\n attrValuesToBeMentioned.remove(attrValue);\r\n }\r\n }\r\n }\r\n\r\n // Reset the tracking collections\r\n attrValuesAlreadyMentioned = new HashSet<>();\r\n attrValuesToBeMentioned = new HashSet<>();\r\n for (String attribute : di.getMeaningRepresentation().getAttributeValues().keySet()) {\r\n for (String value : di.getMeaningRepresentation().getAttributeValues().get(attribute)) {\r\n attrValuesToBeMentioned.add(attribute.toLowerCase() + \"=\" + value.toLowerCase());\r\n }\r\n }\r\n if (attrValuesToBeMentioned.isEmpty()) {\r\n attrValuesToBeMentioned.add(\"empty=empty\");\r\n }\r\n\r\n // Then we create the feature and cost vectors for the word actions\r\n // Each word action corresponds to a content action, so we need to keep track of which content action we are \"generating\" from at each timestep\r\n ArrayList<String> attrs = new ArrayList<>();\r\n boolean isValueMentioned = false;\r\n // The value that we currently need to mention\r\n String valueTBM = \"\";\r\n // These track the content (attribute/value pairs)\r\n attrValue = \"\";\r\n // Time-step counter\r\n int a = -1;\r\n // This tracks the subphrase consisting of the words generated for the current content action\r\n ArrayList<String> subPhrase = new ArrayList<>();\r\n // For every step of the sequence\r\n for (int w = 0; w < refSequence.size(); w++) {\r\n if (!refSequence.get(w).getAttribute().equals(Action.TOKEN_PUNCT)) {\r\n // If this action does not belong to the current content, we need to update the trackers and switch to the new content action\r\n if (!refSequence.get(w).getAttribute().equals(attrValue)) {\r\n a++;\r\n if (!attrValue.isEmpty()) {\r\n attrValuesToBeMentioned.remove(attrValue);\r\n }\r\n attrs.add(refSequence.get(w).getAttribute());\r\n\r\n attrValue = refSequence.get(w).getAttribute();\r\n subPhrase = new ArrayList<>();\r\n isValueMentioned = false;\r\n valueTBM = \"\";\r\n if (attrValue.contains(\"=\")) {\r\n valueTBM = attrValue.substring(attrValue.indexOf('=') + 1);\r\n }\r\n if (valueTBM.isEmpty()) {\r\n isValueMentioned = true;\r\n }\r\n }\r\n\r\n // If it's not the end of the ActionSequence\r\n if (!attrValue.equals(Action.TOKEN_END)) {\r\n // The subsequence of content actions we have generated for so far\r\n ArrayList<String> predictedAttributesForInstance = new ArrayList<>();\r\n for (int i = 0; i < attrs.size() - 1; i++) {\r\n predictedAttributesForInstance.add(attrs.get(i));\r\n }\r\n // ...exclusive of the current content action\r\n if (!attrs.get(attrs.size() - 1).equals(attrValue)) {\r\n predictedAttributesForInstance.add(attrs.get(attrs.size() - 1));\r\n }\r\n // The subsequence of content actions we will generated for after the current content action\r\n ArrayList<String> nextAttributesForInstance = new ArrayList<>(attributeSequence.subList(a + 1, attributeSequence.size()));\r\n // Create the feature and cost vector\r\n Instance wordTrainingVector = SFX.createWordInstance(predicate, refSequence.get(w), predictedAttributesForInstance, new ArrayList<>(refSequence.subList(0, w)), nextAttributesForInstance, attrValuesAlreadyMentioned, attrValuesToBeMentioned, isValueMentioned, SFX.getAvailableWordActions().get(predicate), di.getMeaningRepresentation());\r\n\r\n if (wordTrainingVector != null) {\r\n String attribute = attrValue;\r\n if (attribute.contains(\"=\")) {\r\n attribute = attrValue.substring(0, attrValue.indexOf('='));\r\n }\r\n if (!predicateWordTrainingData.get(di).containsKey(predicate)) {\r\n predicateWordTrainingData.get(di).put(predicate, new HashMap<String, ArrayList<Instance>>());\r\n }\r\n if (!predicateWordTrainingData.get(di).get(predicate).containsKey(attribute)) {\r\n predicateWordTrainingData.get(di).get(predicate).put(attribute, new ArrayList<Instance>());\r\n }\r\n predicateWordTrainingData.get(di).get(predicate).get(attribute).add(wordTrainingVector);\r\n if (!refSequence.get(w).getWord().equals(Action.TOKEN_START)\r\n && !refSequence.get(w).getWord().equals(Action.TOKEN_END)) {\r\n subPhrase.add(refSequence.get(w).getWord());\r\n }\r\n }\r\n \r\n // Check if we have mentioned the value of the current content action\r\n if (!isValueMentioned) {\r\n // If the value is a variable, we just check if the word action we just generated is that variable\r\n if (refSequence.get(w).getWord().startsWith(Action.TOKEN_X)\r\n && (valueTBM.matches(\"[xX][0-9]+\") || valueTBM.matches(\"\\\"[xX][0-9]+\\\"\")\r\n || valueTBM.startsWith(Action.TOKEN_X))) {\r\n isValueMentioned = true;\r\n // Otherwise\r\n } else if (!refSequence.get(w).getWord().startsWith(Action.TOKEN_X)\r\n && !(valueTBM.matches(\"[xX][0-9]+\") || valueTBM.matches(\"\\\"[xX][0-9]+\\\"\")\r\n || valueTBM.startsWith(Action.TOKEN_X))) {\r\n // We form the key for the value, as it appears in the valueAlignments collection\r\n String valueToCheck = valueTBM;\r\n if (valueToCheck.equals(\"no\")\r\n || valueToCheck.equals(\"yes\")\r\n || valueToCheck.equals(\"yes or no\")\r\n || valueToCheck.equals(\"none\")\r\n || valueToCheck.equals(\"empty\")) {\r\n String attribute = attrValue;\r\n if (attribute.contains(\"=\")) {\r\n attribute = attrValue.substring(0, attrValue.indexOf('='));\r\n }\r\n valueToCheck = attribute + \":\" + valueTBM;\r\n }\r\n // We look up the value in all the value alignments we have made during the parsing of the data, and see if it is mentioned in the subphrase\r\n // Note that the value may be formed by multiple word actions\r\n if (!valueToCheck.equals(\"empty:empty\")\r\n && SFX.getValueAlignments().containsKey(valueToCheck)) {\r\n for (ArrayList<String> alignedStr : SFX.getValueAlignments().get(valueToCheck).keySet()) {\r\n if (SFX.endsWith(subPhrase, alignedStr)) {\r\n isValueMentioned = true;\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n if (isValueMentioned) {\r\n attrValuesAlreadyMentioned.add(attrValue);\r\n attrValuesToBeMentioned.remove(attrValue);\r\n }\r\n }\r\n // We also check if we have inadvertedly mentioned some other pending value (not the current one)\r\n String mentionedAttrValue = \"\";\r\n if (!refSequence.get(w).getWord().startsWith(Action.TOKEN_X)) {\r\n for (String attrValueTBM : attrValuesToBeMentioned) {\r\n if (attrValueTBM.contains(\"=\")) {\r\n String value = attrValueTBM.substring(attrValueTBM.indexOf('=') + 1);\r\n if (!(value.matches(\"\\\"[xX][0-9]+\\\"\")\r\n || value.matches(\"[xX][0-9]+\")\r\n || value.startsWith(Action.TOKEN_X))) {\r\n String valueToCheck = value;\r\n if (valueToCheck.equals(\"no\")\r\n || valueToCheck.equals(\"yes\")\r\n || valueToCheck.equals(\"yes or no\")\r\n || valueToCheck.equals(\"none\")\r\n || valueToCheck.equals(\"empty\")) {\r\n valueToCheck = attrValueTBM.replace(\"=\", \":\");\r\n }\r\n if (!valueToCheck.equals(\"empty:empty\")\r\n && SFX.getValueAlignments().containsKey(valueToCheck)) {\r\n for (ArrayList<String> alignedStr : SFX.getValueAlignments().get(valueToCheck).keySet()) {\r\n if (SFX.endsWith(subPhrase, alignedStr)) {\r\n mentionedAttrValue = attrValueTBM;\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n if (!mentionedAttrValue.isEmpty()) {\r\n attrValuesAlreadyMentioned.add(mentionedAttrValue);\r\n attrValuesToBeMentioned.remove(mentionedAttrValue);\r\n }\r\n }\r\n }\r\n }\r\n }", "title": "" }, { "docid": "c84c5f1ff23ebd38319c2f7b7556041c", "score": "0.499502", "text": "Concept createConcept();", "title": "" }, { "docid": "3bb74dd6bbb9b93967174d4b13cf6ff2", "score": "0.49946427", "text": "public BusinessQuery generateMetrics (SemanticPossibility reducedForm) throws NLPException {\n Graph reducedFormGraph = reducedForm.getReducedForm();\n // businessTerm Map will contain the business term as value and Graph vertex(Domain Recognition) as\n // key. Need to do this because while iteration through paths a end vertex of a path could be start vertex of\n // another path. and we don't want to add the same business entitiy.\n Map<IGraphComponent, BusinessTerm> businessTremMap = new HashMap<IGraphComponent, BusinessTerm>();\n Collection<IGraphComponent> rootVertices = reducedForm.getRootVertices();\n if (reducedFormGraph.getPaths() != null) {\n for (IGraphPath path : reducedFormGraph.getPaths()) {\n DomainRecognition startVertex = (DomainRecognition) path.getStartVertex();\n if (startVertex.getNlpTag().equals(NLPConstants.NLP_TAG_ONTO_CONCEPT)) {\n if (!businessTremMap.containsKey(startVertex)) {\n BusinessTerm bstartTerm = getBusinessTerm(startVertex, reducedForm.getModel());\n if (startVertex.getPosition() >= 0) {\n bstartTerm.setRequestedByUser(true);\n }\n bstartTerm.setBusinessTermWeight(startVertex.getWeight());\n businessTremMap.put(startVertex, bstartTerm);\n }\n DomainRecognition endVertex = (DomainRecognition) path.getEndVertex();\n if (endVertex.getNlpTag().equals(NLPConstants.NLP_TAG_ONTO_CONCEPT)) {\n if (!businessTremMap.containsKey(endVertex)) {\n BusinessTerm endTerm = getBusinessTerm(endVertex, reducedForm.getModel());\n if (endVertex.getPosition() >= 0) {\n endTerm.setRequestedByUser(true);\n }\n endTerm.setBusinessTermWeight(endVertex.getWeight());\n businessTremMap.put(endVertex, endTerm);\n }\n } else if (endVertex.getNlpTag().equals(NLPConstants.NLP_TAG_ONTO_INSTANCE)) {\n if (endVertex.getConceptName().equalsIgnoreCase(OntologyConstants.STATISTICS_CONCEPT)) {\n try {\n Stat stat = kdxRetrievalService.getStatByBusinessEntityId(endVertex.getConceptBEDId());\n BusinessStat bStat = new BusinessStat();\n bStat.setStat(stat);\n bStat.setRequestedByUser(true);\n businessTremMap.get(startVertex).setBusinessStat(bStat);\n } catch (Exception e) {\n // TODO: -NA- handle exception\n }\n\n }\n }\n }\n }\n }\n for (IGraphComponent rv : rootVertices) {\n DomainRecognition vertex = (DomainRecognition) rv;\n if (!businessTremMap.containsKey(vertex) && vertex.getNlpTag().equals(NLPConstants.NLP_TAG_ONTO_CONCEPT)) {\n BusinessTerm bTerm = getBusinessTerm(vertex, reducedForm.getModel());\n if (vertex.getPosition() >= 0) {\n bTerm.setRequestedByUser(true);\n }\n bTerm.setBusinessTermWeight(vertex.getWeight());\n businessTremMap.put(vertex, bTerm);\n }\n }\n BusinessQuery businessQuery = new BusinessQuery();\n List<BusinessTerm> selects = new ArrayList<BusinessTerm>();\n Iterator<BusinessTerm> itr = businessTremMap.values().iterator();\n while (itr.hasNext()) {\n selects.add(itr.next());\n }\n businessQuery.setMetrics(selects);\n return businessQuery;\n }", "title": "" }, { "docid": "5865baf1cd693e35c662dbb443a54df8", "score": "0.49921256", "text": "@Override\n\tpublic void getAllTerms(Collection<Term> collectedTerms, boolean getConstants, boolean getVariables, boolean getComplex) {\n\t}", "title": "" }, { "docid": "f1ddb0577cdbd35fac4beea0f2b06d64", "score": "0.4982692", "text": "private static void parseConf(Properties prop) {\n\n Float freq_value;\n\n freq_value = Float.parseFloat(prop.getProperty(COMPLEMENT));\n expr_table.add(new Entry<ClassExpressionType>(ClassExpressionType.OBJECT_COMPLEMENT_OF, freq_value));\n \n freq_value = Float.parseFloat(prop.getProperty(DISJUNCTION)); \n expr_table.add(new Entry<ClassExpressionType>(ClassExpressionType.OBJECT_UNION_OF, freq_value));\n\n freq_value = Float.parseFloat(prop.getProperty(CONJUNCTION)); \n expr_table.add(new Entry<ClassExpressionType>(ClassExpressionType.OBJECT_INTERSECTION_OF, freq_value));\n\n freq_value = Float.parseFloat(prop.getProperty(EXIST_REST)); \n expr_table.add(new Entry<ClassExpressionType>(ClassExpressionType.OBJECT_SOME_VALUES_FROM, freq_value));\n \n freq_value = Float.parseFloat(prop.getProperty(VALUE_REST)); \n expr_table.add(new Entry<ClassExpressionType>(ClassExpressionType.OBJECT_ALL_VALUES_FROM, freq_value));\n \n\n \n freq_value = Float.parseFloat(prop.getProperty(CLASS_ASSERTION));\n axiom_table.add(new Entry<AxiomType>(AxiomType.CLASS_ASSERTION, freq_value));\n\n freq_value = Float.parseFloat(prop.getProperty(OBJECT_PROPERTY_ASSERTION));\n axiom_table.add(new Entry<AxiomType>(AxiomType.OBJECT_PROPERTY_ASSERTION, freq_value));\n\n freq_value = Float.parseFloat(prop.getProperty(NEGATIVE_OBJECT_PROPERTY_ASSERTION));\n axiom_table.add(new Entry<AxiomType>(AxiomType.NEGATIVE_OBJECT_PROPERTY_ASSERTION, freq_value));\n\n freq_value = Float.parseFloat(prop.getProperty(SUBCLASS_OF));\n axiom_table.add(new Entry<AxiomType>(AxiomType.SUBCLASS_OF, freq_value));\n\n\n freq_value = Float.parseFloat(prop.getProperty(AND));\n formula_table.add(new Entry<FormulaType>(FormulaType.CONJECTION, freq_value));\n\n freq_value = Float.parseFloat(prop.getProperty(OR));\n formula_table.add(new Entry<FormulaType>(FormulaType.DISJUNCTION, freq_value));\n \n freq_value = Float.parseFloat(prop.getProperty(UNTIL));\n formula_table.add(new Entry<FormulaType>(FormulaType.UNTIL, freq_value));\n \n freq_value = Float.parseFloat(prop.getProperty(NEXT));\n formula_table.add(new Entry<FormulaType>(FormulaType.NEXT, freq_value));\n\n freq_value = Float.parseFloat(prop.getProperty(NEG));\n formula_table.add(new Entry<FormulaType>(FormulaType.NEGATION, freq_value));\n\n }", "title": "" }, { "docid": "50a6cd4e4c26d2eacb8d78805144128e", "score": "0.49801695", "text": "public interface AminoAcidResidueStateDatum extends org.cdao.jastor.MolecularStateDatum, com.ibm.adtech.jastor.Thing {\n\t\n\t/**\n\t * The rdf:type for this ontology class\n */\n\tpublic static final Resource TYPE = ResourceFactory.createResource(\"http://localhost/~vivek/cdao.owl#AminoAcidResidueStateDatum\");\n\t\n\n\t/**\n\t * The Jena Property for belongs__to__Amino__Acid__Character \n\t * <p>(URI: http://localhost/~vivek/cdao.owl#belongs_to_Amino_Acid_Character)</p>\n\t * <br> \n\t */\n\tpublic static com.hp.hpl.jena.rdf.model.Property belongs__to__Amino__Acid__CharacterProperty = ResourceFactory.createProperty(\"http://localhost/~vivek/cdao.owl#belongs_to_Amino_Acid_Character\");\n\n\n\t/**\n\t * The Jena Property for has__Amino__Acid__State \n\t * <p>(URI: http://localhost/~vivek/cdao.owl#has_Amino_Acid_State)</p>\n\t * <br>\n\t * Dublin Core Standard Properties <br>\n\t * \tdescription : This property associates a amino acid character-state instance with a state value from the domain of amino acid states.^^http://www.w3.org/2001/XMLSchema#string <br>\n\t * <br> \n\t */\n\tpublic static com.hp.hpl.jena.rdf.model.Property has__Amino__Acid__StateProperty = ResourceFactory.createProperty(\"http://localhost/~vivek/cdao.owl#has_Amino_Acid_State\");\n\n\n\t/**\n\t * The Jena Property for has__Annotation \n\t * <p>(URI: http://localhost/~vivek/cdao.owl#has_Annotation)</p>\n\t * <br> \n\t */\n\tpublic static com.hp.hpl.jena.rdf.model.Property has__AnnotationProperty = ResourceFactory.createProperty(\"http://localhost/~vivek/cdao.owl#has_Annotation\");\n\n\n\t/**\n\t * The Jena Property for belongs__to \n\t * <p>(URI: http://localhost/~vivek/cdao.owl#belongs_to)</p>\n\t * <br>\n\t * Dublin Core Standard Properties <br>\n\t * \tdescription : Generic property that links a concept to another concept it is a constituent of. The property is a synonym of part_of. <br>\n\t * <br> \n\t */\n\tpublic static com.hp.hpl.jena.rdf.model.Property belongs__toProperty = ResourceFactory.createProperty(\"http://localhost/~vivek/cdao.owl#belongs_to\");\n\n\n\t/**\n\t * The Jena Property for has__Value \n\t * <p>(URI: http://localhost/~vivek/cdao.owl#has_Value)</p>\n\t * <br> \n\t */\n\tpublic static com.hp.hpl.jena.rdf.model.Property has__ValueProperty = ResourceFactory.createProperty(\"http://localhost/~vivek/cdao.owl#has_Value\");\n\n\n\t/**\n\t * The Jena Property for has__Support__Value \n\t * <p>(URI: http://localhost/~vivek/cdao.owl#has_Support_Value)</p>\n\t * <br> \n\t */\n\tpublic static com.hp.hpl.jena.rdf.model.Property has__Support__ValueProperty = ResourceFactory.createProperty(\"http://localhost/~vivek/cdao.owl#has_Support_Value\");\n\n\n\t/**\n\t * The Jena Property for has__Float__Value \n\t * <p>(URI: http://localhost/~vivek/cdao.owl#has_Float_Value)</p>\n\t * <br> \n\t */\n\tpublic static com.hp.hpl.jena.rdf.model.Property has__Float__ValueProperty = ResourceFactory.createProperty(\"http://localhost/~vivek/cdao.owl#has_Float_Value\");\n\n\n\t/**\n\t * The Jena Property for has__Int__Value \n\t * <p>(URI: http://localhost/~vivek/cdao.owl#has_Int_Value)</p>\n\t * <br> \n\t */\n\tpublic static com.hp.hpl.jena.rdf.model.Property has__Int__ValueProperty = ResourceFactory.createProperty(\"http://localhost/~vivek/cdao.owl#has_Int_Value\");\n\n\n\t/**\n\t * The Jena Property for has__Uncertainty__Factor \n\t * <p>(URI: http://localhost/~vivek/cdao.owl#has_Uncertainty_Factor)</p>\n\t * <br> \n\t */\n\tpublic static com.hp.hpl.jena.rdf.model.Property has__Uncertainty__FactorProperty = ResourceFactory.createProperty(\"http://localhost/~vivek/cdao.owl#has_Uncertainty_Factor\");\n\n\n\t/**\n\t * The Jena Property for has__Precision \n\t * <p>(URI: http://localhost/~vivek/cdao.owl#has_Precision)</p>\n\t * <br> \n\t */\n\tpublic static com.hp.hpl.jena.rdf.model.Property has__PrecisionProperty = ResourceFactory.createProperty(\"http://localhost/~vivek/cdao.owl#has_Precision\");\n\n\n\t/**\n\t * The Jena Property for has__External__Reference \n\t * <p>(URI: http://localhost/~vivek/cdao.owl#has_External_Reference)</p>\n\t * <br> \n\t */\n\tpublic static com.hp.hpl.jena.rdf.model.Property has__External__ReferenceProperty = ResourceFactory.createProperty(\"http://localhost/~vivek/cdao.owl#has_External_Reference\");\n\n\n\t/**\n\t * The Jena Property for connects__to \n\t * <p>(URI: http://localhost/~vivek/cdao.owl#connects_to)</p>\n\t * <br> \n\t */\n\tpublic static com.hp.hpl.jena.rdf.model.Property connects__toProperty = ResourceFactory.createProperty(\"http://localhost/~vivek/cdao.owl#connects_to\");\n\n\n\t/**\n\t * The Jena Property for has \n\t * <p>(URI: http://localhost/~vivek/cdao.owl#has)</p>\n\t * <br>\n\t * Dublin Core Standard Properties <br>\n\t * \tdescription : Generic 'has' property. <br>\n\t * <br> \n\t */\n\tpublic static com.hp.hpl.jena.rdf.model.Property hasProperty = ResourceFactory.createProperty(\"http://localhost/~vivek/cdao.owl#has\");\n\n\n\t/**\n\t * The Jena Property for part__of \n\t * <p>(URI: http://localhost/~vivek/cdao.owl#part_of)</p>\n\t * <br> \n\t */\n\tpublic static com.hp.hpl.jena.rdf.model.Property part__ofProperty = ResourceFactory.createProperty(\"http://localhost/~vivek/cdao.owl#part_of\");\n\n\n\t/**\n\t * The Jena Property for precedes \n\t * <p>(URI: http://localhost/~vivek/cdao.owl#precedes)</p>\n\t * <br> \n\t */\n\tpublic static com.hp.hpl.jena.rdf.model.Property precedesProperty = ResourceFactory.createProperty(\"http://localhost/~vivek/cdao.owl#precedes\");\n\n\n\n\n\t/**\n\t * Gets the 'belongs__to__Amino__Acid__Character' property value\n\t * @return\t\t{@link org.cdao.jastor.AminoAcidResidueCharacter}\n\t * @see\t\t\t#belongs__to__Amino__Acid__CharacterProperty\n\t */\n\tpublic org.cdao.jastor.AminoAcidResidueCharacter getBelongs__to__Amino__Acid__Character() throws com.ibm.adtech.jastor.JastorException;\n\t\n\t/**\n\t * Sets the 'belongs__to__Amino__Acid__Character' property value\n\t * @param\t\t{@link org.cdao.jastor.AminoAcidResidueCharacter}\n\t * @see\t\t\t#belongs__to__Amino__Acid__CharacterProperty\n\t */\n\tpublic void setBelongs__to__Amino__Acid__Character(org.cdao.jastor.AminoAcidResidueCharacter belongs__to__Amino__Acid__Character) throws com.ibm.adtech.jastor.JastorException;\n\t\n\t/**\n\t * Sets the 'belongs__to__Amino__Acid__Character' property value to an anonymous node\n\t * @return\t\t{@link org.cdao.jastor.AminoAcidResidueCharacter}, the created value\n\t * @see\t\t\t#belongs__to__Amino__Acid__CharacterProperty\n\t */\t\n\tpublic org.cdao.jastor.AminoAcidResidueCharacter setBelongs__to__Amino__Acid__Character() throws com.ibm.adtech.jastor.JastorException;\n\t\n\t/**\n\t * Sets the 'belongs__to__Amino__Acid__Character' property value to the given resource\n\t * The resource argument should have rdf:type http://localhost/~vivek/cdao.owl#AminoAcidResidueCharacter. That is, this method\n\t * should not be used as a shortcut for creating new objects in the model.\n\t * @param\t\t{@link com.hp.hpl.jena.rdf.model.Resource} must not be be null.\n\t * @return\t\t{@link org.cdao.jastor.AminoAcidResidueCharacter}, the newly created value\n\t * @see\t\t\t#belongs__to__Amino__Acid__CharacterProperty\n\t */\n\tpublic org.cdao.jastor.AminoAcidResidueCharacter setBelongs__to__Amino__Acid__Character(com.hp.hpl.jena.rdf.model.Resource resource) throws com.ibm.adtech.jastor.JastorException;\n\t\n\t/**\n\t * Get an Iterator the 'has__Amino__Acid__State' property values. This Iteartor\n\t * may be used to remove all such values.\n\t * @return\t\t{@link java.util.Iterator} of {@link org.cdao.jastor.AminoAcidResidue}\n\t * @see\t\t\t#has__Amino__Acid__StateProperty\n\t */\n\tpublic java.util.Iterator getHas__Amino__Acid__State_asAminoAcidResidue() throws com.ibm.adtech.jastor.JastorException;\n\n\t/**\n\t * Adds a value for the 'has__Amino__Acid__State' property\n\t * @param\t\tThe {@link org.cdao.jastor.AminoAcidResidue} to add\n\t * @see\t\t\t#has__Amino__Acid__StateProperty\n\t */\n\tpublic void addHas__Amino__Acid__State(org.cdao.jastor.AminoAcidResidue has__Amino__Acid__State) throws com.ibm.adtech.jastor.JastorException;\n\t\n\t/**\n\t * Adds an anonymous value for the 'has__Amino__Acid__State' property\n\t * @return\t\tThe anoymous {@link org.cdao.jastor.AminoAcidResidue} created\n\t * @see\t\t\t#has__Amino__Acid__StateProperty\n\t */\n\tpublic org.cdao.jastor.AminoAcidResidue addHas__Amino__Acid__State_asAminoAcidResidue() throws com.ibm.adtech.jastor.JastorException;\n\t\n\t/**\n\t * \n\t * The resource argument have rdf:type http://localhost/~vivek/cdao.owl#AminoAcidResidue. That is, this method\n\t * should not be used as a shortcut for creating new objects in the model.\n\t * @param\t\tThe {@link om.hp.hpl.jena.rdf.model.Resource} to add\n\t * @see\t\t\t#has__Amino__Acid__StateProperty\n\t */\n\tpublic org.cdao.jastor.AminoAcidResidue addHas__Amino__Acid__State_asAminoAcidResidue(com.hp.hpl.jena.rdf.model.Resource resource) throws com.ibm.adtech.jastor.JastorException;\n\t\n\t/**\n\t * Removes a value for the 'has__Amino__Acid__State' property. This method should not\n\t * be invoked while iterator through values. In that case, the remove() method of the Iterator\n\t * itself should be used.\n\t * @param\t\tThe {@link org.cdao.jastor.AminoAcidResidue} to remove\n\t * @see\t\t\t#has__Amino__Acid__StateProperty\n\t */\n\tpublic void removeHas__Amino__Acid__State(org.cdao.jastor.AminoAcidResidue has__Amino__Acid__State) throws com.ibm.adtech.jastor.JastorException;\n\t\t\n\t/**\n\t * Get an Iterator the 'has__Amino__Acid__State' property values. This Iteartor\n\t * may be used to remove all such values.\n\t * @return\t\t{@link java.util.Iterator} of {@link org.cdao.jastor.Generic__State}\n\t * @see\t\t\t#has__Amino__Acid__StateProperty\n\t */\n\tpublic java.util.Iterator getHas__Amino__Acid__State_asGeneric__State() throws com.ibm.adtech.jastor.JastorException;\n\n\t/**\n\t * Adds a value for the 'has__Amino__Acid__State' property\n\t * @param\t\tThe {@link org.cdao.jastor.Generic__State} to add\n\t * @see\t\t\t#has__Amino__Acid__StateProperty\n\t */\n\tpublic void addHas__Amino__Acid__State(org.cdao.jastor.Generic__State has__Amino__Acid__State) throws com.ibm.adtech.jastor.JastorException;\n\t\n\t/**\n\t * Adds an anonymous value for the 'has__Amino__Acid__State' property\n\t * @return\t\tThe anoymous {@link org.cdao.jastor.Generic__State} created\n\t * @see\t\t\t#has__Amino__Acid__StateProperty\n\t */\n\tpublic org.cdao.jastor.Generic__State addHas__Amino__Acid__State_asGeneric__State() throws com.ibm.adtech.jastor.JastorException;\n\t\n\t/**\n\t * \n\t * The resource argument have rdf:type http://localhost/~vivek/cdao.owl#Generic_State. That is, this method\n\t * should not be used as a shortcut for creating new objects in the model.\n\t * @param\t\tThe {@link om.hp.hpl.jena.rdf.model.Resource} to add\n\t * @see\t\t\t#has__Amino__Acid__StateProperty\n\t */\n\tpublic org.cdao.jastor.Generic__State addHas__Amino__Acid__State_asGeneric__State(com.hp.hpl.jena.rdf.model.Resource resource) throws com.ibm.adtech.jastor.JastorException;\n\t\n\t/**\n\t * Removes a value for the 'has__Amino__Acid__State' property. This method should not\n\t * be invoked while iterator through values. In that case, the remove() method of the Iterator\n\t * itself should be used.\n\t * @param\t\tThe {@link org.cdao.jastor.Generic__State} to remove\n\t * @see\t\t\t#has__Amino__Acid__StateProperty\n\t */\n\tpublic void removeHas__Amino__Acid__State(org.cdao.jastor.Generic__State has__Amino__Acid__State) throws com.ibm.adtech.jastor.JastorException;\n\t\t\n}", "title": "" }, { "docid": "962271eb4b3e927c6cc5098b3d3d90d5", "score": "0.49779975", "text": "public interface RoleReasoner {\n\t/**\n\t * compute role hierarchy, (inverse)functional roles, and transitive roles\n\t */\n\tpublic void doReasoning();\n\n\t/**\n\t * Should be called after calling {@link #doReasoning()}\n\t * \n\t * @return a set of atomic functional roles\n\t */\n\tpublic Set<OWLObjectProperty> getFunctionalRoles();\n\n\t/**\n\t * Should be called after calling {@link #doReasoning()}\n\t * \n\t * @return a set of atomic inverse-functional roles\n\t */\n\tpublic Set<OWLObjectProperty> getInverseFunctionalRoles();\n\n\t/**\n\t * @return a role hierarchy as a map: an atomic role ---> its super-roles,<b>Excluding</b> itself.\n\t */\n\tpublic Map<OWLObjectProperty, Set<OWLObjectPropertyExpression>> getRoleHierarchyAsMap();\n\n\t/**\n\t * @return a set of (entailed) transitive atomic roles\n\t */\n\tpublic Set<OWLObjectProperty> getTransitiveRoles();\n\t\n//\tpublic Map<OWLObjectProperty, Set<OWLObjectPropertyExpression>> getInverseRoleMap();\n\n}", "title": "" }, { "docid": "c39ed24ecfc091921c82f79754bd8a9e", "score": "0.49755532", "text": "@GET\n\t@Path(\"/listOfRequiredTags\")\n\t@Produces(\"application/json\")\n\tpublic String listOfRequiredTags (@QueryParam(\"uri\") String uri, @QueryParam(\"jsonpCallback\") String jsonpCallback) throws Exception {\n\t\t\n\t\tlog.info(\"listOfRequiredTags\");\n\t\n\t\t// load taxonomy concepts from the configuration\n\t\t// TODO: cache this somewhere.\n\n\t\t// top level -> individual concepts\n\t\tMap<KiWiUriResource, List<KiWiUriResource>> categories = new LinkedHashMap<KiWiUriResource, List<KiWiUriResource>>();\n\t\t// concept -> top level\n\t\tMap<KiWiUriResource, KiWiUriResource> up = new HashMap<KiWiUriResource, KiWiUriResource> ();\n\t\t// top level -> best concept suggestion\n\t\t//Map<KiWiUriResource, KiWiUriResource> best = new HashMap<KiWiUriResource, KiWiUriResource> ();\n\t\tMap<KiWiUriResource, Float> scores = new HashMap<KiWiUriResource, Float>(); \n\t\t\n\t\tfor(String taxonomyConcept : configurationService.getListConfiguration(\"kiwi.informationextraction.taxonomyConcepts\")) {\n\t\t\tString[] split = taxonomyConcept.split(\" \");\n\t\t\t\n\t\t\tKiWiUriResource concept = tripleStore.createUriResource(split[0]);\n\t\t\tKiWiUriResource topLevelConcept = tripleStore.createUriResource(split[1]);\n\t\t\t// int level = Integer.parseInt(split[2]);\n\t\t\t\n\t\t\tif (!categories.containsKey(topLevelConcept)) {\n\t\t\t\tcategories.put(topLevelConcept, new LinkedList<KiWiUriResource>());\n\t\t\t}\n\t\t\n\t\t\tcategories.get(topLevelConcept).add(concept);\n\t\t\tup.put(concept, topLevelConcept);\n\t\t}\n\t\t\n\t\t// tagging resource uris:\n\t\tSet<String> tagUris = new HashSet<String> ();\n\t\t\n\t\tContentItem item = contentItemService.getContentItemByUri(uri);\n\t\tif (item == null) {\n\t\t\tlog.info(\"content item #0 not found.\", uri);\n\t\t}\n\t\telse {\n\t\t\tfor(Tag tag : taggingService.getTaggings(item)) {\n\t\t\t\tif (tag.getTaggingResource().getResource().isUriResource()) {\n\t\t\t\t\ttagUris.add(((KiWiUriResource)tag.getTaggingResource().getResource()).getUri());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\t\t\t\t\t\t\n\t\tJSONArray taxonomyArray = new JSONArray();\n\t\tfor (KiWiUriResource topLevel : categories.keySet()) {\n\t\t\tJSONObject jsonTopLevel = new JSONObject();\n\t\t\t\n\t\t\tjsonTopLevel.put(\"label\", topLevel.getLabel());\n\t\t\tjsonTopLevel.put(\"uri\", topLevel.getUri());\n\t\t\t\n\t\t\tJSONArray concepts = new JSONArray();\n\t\t\tfor (KiWiUriResource concept : categories.get(topLevel)) {\n\t\t\t\tJSONObject jsonConcept = new JSONObject();\n\t\t\t\tjsonConcept.put(\"label\", concept.getLabel());\n\t\t\t\tjsonConcept.put(\"uri\", concept.getUri());\n\t\t\t\t\n\t\t\t\tfloat score = 0.0f;\n\t\t\t\t\n\t\t\t\tif (tagUris.contains(concept.getUri())) {\n\t\t\t\t\tscore = 1.0f;\n\t\t\t\t}\n\t\t\t\tjsonConcept.put(\"score\", score);\n\t\t\t\tconcepts.put(jsonConcept);\n\t\t\t}\n\t\t\t\n\t\t\tjsonTopLevel.put(\"narrower\", concepts);\t\n\t\t\ttaxonomyArray.put(jsonTopLevel);\n\t\t}\n\t\t\n\t\tJSONObject ret = new JSONObject();\n\t\tret.put(\"required\", taxonomyArray);\n\t\t// ret.put(\"optional\", optionalArray);\n\t\t\n\t\tif (jsonpCallback != null) {\n\t\t\treturn jsonpCallback + \"(\" + ret.toString(4) + \")\";\n\t\t}\n\t\telse {\n\t\t\treturn ret.toString(4);\n\t\t}\n\t}", "title": "" }, { "docid": "4512abf64a89e649302e12f7774c7a06", "score": "0.4973536", "text": "public interface OntologyDAO {\n\n Resource getOntologyResource();\n\n String getOntologyURI();\n\n String getOntologySynonymAnnotationURI();\n\n OWLOntology getOntology();\n\n OntologyConfiguration getOntologyConfiguration();\n\n String getOntologyObsoleteClassURI();\n\n Collection<OWLClass> getOWLClassesByLabel(String label);\n\n OWLClass getOWLClassByURI(String str);\n\n OWLClass getOWLClassByURI(URI uri);\n\n OWLClass getOWLClassByIRI(IRI iri);\n\n Set<String> getClassRDFSLabels(OWLClass owlClass);\n\n Set<String> getClassSynonyms(OWLClass owlClass);\n\n// String normalizeSearchString(String string);\n//\n// Set<OWLClass> matchSearchString(String searchString);\n//\n// List<String> getClassNames(OWLOntology owlOntology, OWLClass owlClass);\n//\n// Set<String> getClassRDFSLabels(OWLOntology owlOntology, OWLClass owlClass);\n//\n// Set<String> getClassSynonyms(OWLOntology owlOntology, OWLClass owlClass);\n//\n// boolean isObsolete(OWLOntology owlOntology, OWLClass obsoleteClass, OWLClass owlClass);\n}", "title": "" }, { "docid": "6fc4d0abd7f799c0655bbc736e4982c0", "score": "0.49669027", "text": "private void deserialise (URI predicate, SingleDescriptionTriples buffer, Description description, List<Description> additional) throws DeserialisationException {\n Term relation = Term.toTerm (predicate);\n SingleDescriptionTriples objectBuffer;\n Description objectDescription, newDescription;\n String line;\n\n for (Object objectKey : buffer.getObjects (predicate)) {\n // First, check for relations where the object is the literal value\n line = \"(\" + buffer.getSubject () + \" \" + predicate + \" \" + objectKey + \")\";\n switch (relation) {\n case label:\n case value:\n case type:\n ((AttributeHolder) description).addAttribute (predicate, ((Literal) objectKey)._value);\n continue;\n case endedAtTime:\n ((Activity) description).setEndedAt ((Date) ((Literal) objectKey)._value);\n continue;\n case startedAtTime:\n ((Activity) description).setStartedAt ((Date) ((Literal) objectKey)._value);\n continue;\n case atTime:\n ((InstantaneousEvent) description).setTime ((Date) ((Literal) objectKey)._value);\n continue;\n }\n // All following should have other descriptions as their object values\n objectBuffer = _buffered.get (objectKey);\n objectDescription = deserialise (objectBuffer, additional);\n switch (relation) {\n // Some relations set values on the subject descriptions\n case activity:\n ProvConstructer.setActivity (description, (Activity) objectDescription);\n continue;\n case agent:\n ProvConstructer.setAgent (description, (Agent) objectDescription);\n continue;\n case entity:\n ProvConstructer.setEntity (description, ProvConstructer.entity (objectDescription, \"object\", line));\n continue;\n case influencer:\n ProvConstructer.setInfluenceable (description, (Influenceable) objectDescription);\n continue;\n case location:\n case atLocation:\n ProvConstructer.setLocation (description, (Location) objectDescription);\n continue;\n case role:\n case hadRole:\n ProvConstructer.setRole (description, (Role) objectDescription);\n continue;\n case hadGeneration:\n ((WasDerivedFrom) description).setGeneration ((WasGeneratedBy) objectDescription);\n continue;\n case hadUsage:\n ((WasDerivedFrom) description).setUsage ((Used) objectDescription);\n continue;\n case hadPlan:\n ((WasAssociatedWith) description).setPlan ((Entity) objectDescription);\n continue;\n // Qualified relations set values on the object descriptions\n case qualifiedAssociation:\n case qualifiedAttribution:\n case qualifiedCommunication:\n case qualifiedDelegation:\n case qualifiedDerivation:\n case qualifiedInfluence:\n case qualifiedPrimarySource:\n case qualifiedRevision:\n case qualifiedQuotation:\n case qualifiedEnd:\n case qualifiedGeneration:\n case qualifiedInvalidation:\n case qualifiedStart:\n case qualifiedUsage:\n ProvConstructer.setSubject (objectDescription, description);\n continue;\n }\n // Binary relations require additional descriptions for which there is not necessarily a subject ID\n newDescription = ProvConstructer.createBinary (relation, description, objectDescription, line);\n if (newDescription != null) {\n additional.add (newDescription);\n }\n }\n }", "title": "" }, { "docid": "6d06f8fb6d33d2b22399ff8d1239843b", "score": "0.4948177", "text": "@Test\npublic void createNodeShapeFromOwlClass() {\n\tShaclFromOwl sharper = new OptimisedOwlGenerator();\n\tModel shapes = sharper.fromOwl(OWL_FRAGMENT_OF_RDF_OBJECT_PROPERTY, \"TURTLE\");\n\tBoolean condition = shapes.contains(null, RDF.type, ResourceFactory.createResource(SH_PROPERTY_SHAPE));\n\tAssert.assertTrue(condition);\n}", "title": "" }, { "docid": "7b1af4efaec199d2f606db2d6c8963d5", "score": "0.4947587", "text": "RepresentedConceptsType getRepresentedConcepts();", "title": "" }, { "docid": "695674957a1de5600acc24d3682597f5", "score": "0.49469265", "text": "@Override\n\tpublic void visit(OWLDataPropertyDomainAxiom ax) {\n\t\ttry {\n\t\t\tDataPropertyExpression role = helper.getPropertyExpression(ax.getProperty());\n\t\t\taddSubClassAxioms(role.getDomainRestriction(DatatypeImpl.rdfsLiteral), ax.getDomain());\t\t\n\t\t} \n\t\tcatch (TranslationException e) {\n\t\t\tlog.warn(NOT_SUPPORTED_EXT, ax, e);\n\t\t}\n\t\tcatch (InconsistentOntologyException e) {\n\t\t\tlog.warn(INCONSISTENT_ONTOLOGY, ax);\n\t\t\tthrow new RuntimeException(INCONSISTENT_ONTOLOGY_EXCEPTION_MESSAGE + ax);\n\t\t}\n\t}", "title": "" }, { "docid": "7ecf0e0189cec79b2706570ffdcff24f", "score": "0.49465957", "text": "public static void main(String[] args) throws Exception {\n\n\t\tString path_to_wordnet = \"/Users/swalter/Backup/Software/WordNet-3.0\";\n\t\t/*\n\t\t * TODO: Automatically import via maven\n\t\t */\n\t\t\n\t\t//String path_to_tagger_model =\"resources/english-left3words/english-caseless-left3words-distsim.tagger\";\n String path_to_tagger_model =\"resources/english-caseless-left3words-distsim.tagger\";\n \n final StanfordLemmatizer sl = new StanfordLemmatizer(EN);\n\t\n String path_to_input_file = \"../dbpedia_2014.owl\";\n// String path_to_input_file = \"test.txt\";\n Set<String> properties = new HashSet<>();\n Set<String> classes = new HashSet<>();\n if(path_to_input_file.endsWith(\".txt\")){\n properties = loadPropertyList(path_to_input_file);\n }\n else{\n OntologyImporter importer = new OntologyImporter(path_to_input_file,\"RDF/XML\");\n properties = importer.getProperties();\n classes = importer.getClasses();\n }\n\t\t\n\t\t\n\t\tExtractData adjectiveExtractor = new ExtractData(path_to_wordnet);\n\t\t\n\t\tMaxentTagger tagger = new MaxentTagger(path_to_tagger_model);\n \n Wordnet wordnet = new Wordnet(path_to_wordnet);\n\t\t\n\n\t\t\n\t\t\n\t\t/*\n\t\t * Lexicon\n\t\t */\n\t\tLexicon lexicon = new Lexicon();\n lexicon.setBaseURI(\"http://localhost:8080/\");\n\t\t\n\t\t\n\n\n runWornetPropertyApproach(properties,lexicon,wordnet,sl);\n \n\t\trunWornetClassApproach(classes,lexicon,wordnet,\"/Users/swalter/Downloads/EnglishIndexReduced\");\n\t\t\n\t\tModel model = ModelFactory.createDefaultModel();\n\t\t\n\t\tLexiconSerialization serializer = new LexiconSerialization();\n\t\t\n\t\tserializer.serialize(lexicon, model);\n\t\t\n String path = \"new_adjectives.ttl\";\n\t\tFileOutputStream out = new FileOutputStream(new File(path));\n\t\t\n\t\tRDFDataMgr.write(out, model, RDFFormat.TURTLE) ;\n\t\t\n Set<String> entries = new HashSet<>();\n for(LexicalEntry entry: lexicon.getEntries()){\n try{\n for(Sense sense: entry.getSenseBehaviours().keySet()){\n String tmp_uri = sense.getReference().getURI().replace(\"http://dbpedia.org/ontology/\", \"\");\n if(!Character.isUpperCase(tmp_uri.charAt(0))){\n entries.add(entry.getCanonicalForm().toLowerCase()+\" \"+sense.getReference().getURI());\n }\n }\n }\n catch(Exception e){};\n }\n \n PrintWriter writer = new PrintWriter(\"baseline_PropClassWordNet.txt\");\n for(String r:entries) writer.write(r+\"\\n\");\n writer.close();\n\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t \n\t\t \n\t\t \n\t\t\n\t}", "title": "" }, { "docid": "16cdfcb065cc023cee0d6f1fea92ecea", "score": "0.49447414", "text": "@Override\n\t//Rewrite C(a) + DEFEASIBLE\n\tpublic void visit(OWLClassAssertionAxiom axiom) {\n\t\t// int c =\n\t\t// iriEncoder.encode(axiom.getClassExpression().asOWLClass().getIRI());\n\t\t// int a =\n\t\t// iriEncoder.encode(axiom.getIndividual().asOWLNamedIndividual().getIRI());\n\t\t// addFact(RewritingVocabulary.SUB_CLASS, a, c);\n\n\t\tIRI individualIRI = axiom.getIndividual().asOWLNamedIndividual().getIRI(); \n\t\tIRI classIRI = rewConceptName(axiom.getClassExpression().asOWLClass());\n\t\t\n\t\taddFact(CKRRewritingVocabulary.INSTA,\n\t\t\t\tindividualIRI, \n\t\t\t\tclassIRI,\n\t\t\t\tcontextID,\n\t\t\t\tIRI.create(MAIN));\n\t\t\n\t\t//add atom for def.axiom\n\t if(isDefeasible(axiom)){\n\t \t//System.out.println(\"D( C(a) ): \" + axiom.getAxiomWithoutAnnotations());\n\t \t\n//\t\t\tTerm indivTerm = getConstant(individualIRI);\n//\t\t\tTerm classTerm = getConstant(classIRI);\n//\n//\t\t\tLiteral ovrinsta = getLiteral(true, CKRRewritingVocabulary.OVRINSTA, \n//\t\t\t\t\t indivTerm, classTerm, contextTerm);\n//\t\t\tLiteral ninstd = getLiteral(false, CKRRewritingVocabulary.INSTD, \n//\t\t\t\t\t indivTerm, classTerm, contextTerm);\n//\t\t\tLiteral prec = getLiteral(true, CKRRewritingVocabulary.PREC, \n//\t\t\t\t\t contextTerm, globalTerm);\t\t\t\n//\t\t\taddRule(ovrinsta, ninstd, prec);\n\n\t\t\taddFact(CKRRewritingVocabulary.DEF_INSTA,\n\t\t\t\t\tindividualIRI, \n\t\t\t\t\tclassIRI);\n\t }\n\t}", "title": "" }, { "docid": "1da02db754fed32edb5d676dc549074e", "score": "0.4930405", "text": "public interface ConceptsService {\n\t\t\n\tString getConcepts() throws RmesException ;\n\t\n\tString getConceptsSearch() throws RmesException;\n\t\n\tString getConceptsToValidate() throws RmesException;\n\t\n\tString getConceptByID(String id) throws RmesException;\n\t\n\tString getConceptLinksByID(String id) throws RmesException;\n\t\n\tString getConceptNotesByID(String id, int conceptVersion) throws RmesException;\n\t\n\tString getCollectionsToValidate() throws RmesException;\n\t\n\tString setConcept(String body) throws RmesException;\n\n\tvoid setConcept(String id, String body) throws RmesException;\n\t\n\tvoid setConceptsValidation(String body) throws RmesException ;\n\n\tResponseEntity<?> exportConcept(String id, String acceptHeader) throws RmesException;\n\n\tvoid exportZipConcept(String id, String acceptHeader, HttpServletResponse response, ConceptsCollectionsResources.Language lg, String type, boolean withConcepts) throws RmesException;\n\t\n\tvoid setCollection(String body) throws RmesException;\n\t\n\tvoid setCollection(String id, String body) throws RmesException;\n\t\n\tvoid setCollectionsValidation(String body) throws RmesException ;\n\t\n\tResponseEntity<?> getCollectionExport(String id, String acceptHeader) throws RmesException ;\n\t\n\tString getRelatedConcepts(String id) throws RmesException;\n\n\tString deleteConcept(String id) throws RmesException;\n\n\tMap<String, InputStream> getConceptsExportIS(List<String> ids, List<MembersLg> members) throws RmesException;\n}", "title": "" }, { "docid": "e355cddb3888bf1ae94ab7ca177508d4", "score": "0.49062604", "text": "public void visit(OWLClass object) {\n m_headAtoms.add(Atom.create(AtomicConcept.create(object.getIRI().toString()),X));\n }", "title": "" }, { "docid": "4642cac21d0fc8e86871da3a916ba729", "score": "0.4903457", "text": "public void testCurrentObjectPropertiesSynonyms() throws Exception {\n OWLOntology ont = createOntology();\n OWLReasoner r = ((OWLReasonerFactory) Class.forName(DEFAULT_REASONER_FACTORY)\n .newInstance()).createNonBufferingReasoner(ont);\n SuggestorFactory fac = new SuggestorFactory(r);\n PropertySuggestor ps = fac.getPropertySuggestor();\n // FillerSuggestor fs = fac.getFillerSuggestor();\n createEntities();\n List<OWLOntologyChange> changes = new ArrayList<OWLOntologyChange>();\n changes.add(new AddAxiom(ont, df.getOWLSubClassOfAxiom(ca,\n df.getOWLObjectSomeValuesFrom(op, cb))));\n changes.add(new AddAxiom(ont, df.getOWLEquivalentObjectPropertiesAxiom(op, oq)));\n mngr.applyChanges(changes);\n assertTrue(ps.isCurrent(ca, op, true));\n assertTrue(ps.isCurrent(ca, oq, true));\n NodeSet<OWLObjectPropertyExpression> direct = ps.getCurrentObjectProperties(ca,\n true);\n assertTrue(direct.containsEntity(op));\n assertTrue(direct.containsEntity(oq));\n assertEquals(1, direct.getNodes().size());\n NodeSet<OWLObjectPropertyExpression> all = ps.getCurrentObjectProperties(ca,\n false);\n assertTrue(all.containsEntity(op));\n assertTrue(all.containsEntity(oq));\n assertTrue(all.containsEntity(df.getOWLTopObjectProperty()));\n assertEquals(2, all.getNodes().size());\n }", "title": "" }, { "docid": "a5f91001ad6f131778542fb090899558", "score": "0.48969012", "text": "public ConceptExpansion() {\n initComponents();\n this.olsClient=new OLSClient();\n }", "title": "" }, { "docid": "ee423cbc5147847b8ca3b4db69762791", "score": "0.4877231", "text": "public void testGettersAgainstBooleanMethods() throws Exception {\n OWLOntology ont = createModelA();\n OWLReasoner r = ((OWLReasonerFactory) Class.forName(DEFAULT_REASONER_FACTORY)\n .newInstance()).createNonBufferingReasoner(ont);\n SuggestorFactory fac = new SuggestorFactory(r);\n PropertySuggestor ps = fac.getPropertySuggestor();\n // FillerSuggestor fs = fac.getFillerSuggestor();\n // current direct\n NodeSet<OWLObjectPropertyExpression> direct = ps.getCurrentObjectProperties(ca,\n true);\n for (OWLObjectProperty p : ont.getObjectPropertiesInSignature()) {\n if (ps.isCurrent(ca, p, true)) {\n assertTrue(direct.containsEntity(p));\n } else {\n assertFalse(direct.containsEntity(p));\n }\n }\n // current indirect\n NodeSet<OWLObjectPropertyExpression> indirect = ps.getCurrentObjectProperties(ca,\n false);\n for (OWLObjectProperty p : ont.getObjectPropertiesInSignature()) {\n if (ps.isCurrent(ca, p, false)) {\n assertTrue(indirect.containsEntity(p));\n } else {\n assertFalse(indirect.containsEntity(p));\n }\n }\n // possible direct\n // check for all properties in the ontology\n for (OWLObjectProperty p : ont.getObjectPropertiesInSignature()) {\n NodeSet<OWLObjectPropertyExpression> posdirect = ps\n .getPossibleObjectProperties(ca, p, true);\n for (Node<OWLObjectPropertyExpression> q : r.getSubObjectProperties(p, true)) {\n final OWLObjectPropertyExpression qRep = q.getRepresentativeElement();\n if (ps.isPossible(ca, qRep)) {\n assertTrue(\"Cannot find \" + q + \" in direct possible properties of \"\n + p, posdirect.containsEntity(qRep));\n } else {\n assertFalse(\"Found \" + q + \" in direct possible properties of \" + p,\n posdirect.containsEntity(qRep));\n }\n }\n }\n // possible indirect\n NodeSet<OWLObjectPropertyExpression> posindirect = ps\n .getPossibleObjectProperties(ca, null, false);\n for (OWLObjectProperty p : ont.getObjectPropertiesInSignature()) {\n if (ps.isPossible(ca, p)) {\n assertTrue(posindirect.containsEntity(p));\n } else {\n assertFalse(posindirect.containsEntity(p));\n }\n }\n }", "title": "" }, { "docid": "89c18b615061f1f0bc95c7ce8956d6ad", "score": "0.48749116", "text": "static public String getCoHyponymRelations (String word, ArrayList<CdbLuForm> luIds, CdbSynsetParser synsetParser) {\n String str = \"\";\n boolean related = false;\n str = \"<lemma spelling=\\\"\"+word+\"\\\">\\n\";\n for (int i = 0; i < luIds.size(); i++) {\n CdbLuForm luForm = luIds.get(i);\n String luId = luForm.getLuId();\n String seq_nr = luForm.getSeqNr();\n if (synsetParser.luIdSynsetMap.containsKey(luId)) {\n CdbSynset synset = synsetParser.luIdSynsetMap.get(luId);\n ArrayList<String> hypers = new ArrayList<String>();\n ArrayList<CdbInternalRelation> rels = synset.getIRelations();\n for (int j = 0; j < rels.size(); j++) {\n CdbInternalRelation cdbInternalRelation = rels.get(j);\n if (cdbInternalRelation.getRelation_name().equalsIgnoreCase(\"HAS_HYPERONYM\")) {\n hypers.add(cdbInternalRelation.getTarget());\n }\n }\n if (hypers.size()>0) {\n for (int j = i+1; j < luIds.size(); j++) {\n CdbLuForm oLuForm = luIds.get(j);\n String oLuId = oLuForm.getLuId();\n String oSeq_nr = oLuForm.getSeqNr();\n if (synsetParser.luIdSynsetMap.containsKey(oLuId)) {\n CdbSynset oSynset = synsetParser.luIdSynsetMap.get(oLuId);\n ArrayList<CdbInternalRelation> oRels = oSynset.getIRelations();\n for (int k = 0; k < oRels.size(); k++) {\n CdbInternalRelation oCdbInternalRelation = oRels.get(k);\n if (hypers.contains(oCdbInternalRelation.getTarget())) {\n //// NOTE THAT WE DO NOT CHECK THE RELATION. IT IS MOSTLY HAS_HYPERONYM AS WELL AND IF NOT THE SENSES ARE ALSO CLOSELY RELATED\n related = true;\n str += \"\\t<relation type=\\\"\"+\"co-hyponyms\"+\"\\\">\\n\";\n str += \"<!-- \"+oCdbInternalRelation.getPreviewtext()+\" -->\\n\";\n str += \"\\t\\t<lu sense=\\\"\"+seq_nr+\"\\\"\"+\" id=\\\"\"+luId+\"\\\"\"+\"/>\\n\";\n str += \"\\t\\t<lu sense=\\\"\"+oSeq_nr+\"\\\"\"+\" id=\\\"\"+oLuId+\"\\\"\"+\"/>\\n\";\n str += \"\\t</relation>\\n\";\n }\n }\n }\n }\n }\n }\n }\n str += \"</lemma>\\n\";\n if (related) {\n // System.out.println(\"str = \" + str);\n }\n else {\n str = \"\";\n }\n return str;\n }", "title": "" }, { "docid": "65a517493418624e7f1dfcdad984aee4", "score": "0.48746735", "text": "@Override\n public void computeScenarioRT() {\n final int rebook_index = 0;\n final int update_user_index = 1;\n final int login_index = 2;\n\n int scenarioIndex = 0;\n\n // The elements of the source model;\n List<EObject> scenarios = null;\n\n // The function considers only the elements having the stereotypes GaScenario\n try (EasierUmlModel uml = EpsilonStandalone.createUmlModel(modelPath.toString())) {\n scenarios = (List<EObject>) uml.getAllOfType(\"UseCase\");\n scenarios = filterByStereotype(scenarios, GQAM_NAMESPACE + \"GaScenario\");\n\n // for each element of the source model, it is picked the element with the same\n // id in the refactored one\n for (EObject element : scenarios) {\n Stereotype stereotype = ((Element) element).getAppliedStereotype(GQAM_NAMESPACE + \"GaScenario\");\n EList<?> values = (EList<?>) ((Element) element).getValue(stereotype, \"respT\");\n\n if (!values.isEmpty()) {\n if (\"Rebook a ticket\".equals(((UseCase) element).getName())) {\n scenarioIndex = rebook_index;\n } else if (\"Update user details\".equals(((UseCase) element).getName())) {\n scenarioIndex = update_user_index;\n } else if (\"Login\".equals(((UseCase) element).getName())) {\n scenarioIndex = login_index;\n } else {\n throw new RuntimeException(\"Scenario name does not support yet!\");\n }\n\n scenarioRTs[scenarioIndex] = Double.parseDouble(values.get(0).toString());\n }\n\n }\n uml.dispose();\n new UMLMemoryOptimizer().cleanup();\n } catch (Exception e) {\n System.err.println(String.format(\"Solution # '%s' has trown an error while computing PerfQ!!!\", this.name));\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "06ac851fc2d36aa2184d9b86222a3c97", "score": "0.48745546", "text": "public interface Concept {\n void internalIteration();\n}", "title": "" }, { "docid": "ed2cfcb4b613fbbf6918358bb1879d74", "score": "0.4871825", "text": "@Override\n public void doTheWork() {\n taxonSets = new ArrayList<>();\n m_bounds = new ArrayList<>();\n distributions = new ArrayList<>();\n taxonSetIDs = new ArrayList<>();\n List<Boolean> onParent = new ArrayList<>();\n lastMonophyletic = 0;\n\n if (taxaInput.get() != null) {\n sTaxa.addAll(taxaInput.get().getTaxaNames());\n } else {\n sTaxa.addAll(m_taxonset.get().asStringList());\n }\n\n // pick up constraints from outputs, m_inititial input tree and output tree, if any\n List<MRCAPrior> calibrations = new ArrayList<MRCAPrior>();\n calibrations.addAll(calibrationsInput.get());\n\n // pick up constraints in m_initial tree\n for (final Object plugin : getOutputs()) {\n if (plugin instanceof MRCAPrior && !calibrations.contains(plugin) ) {\n calibrations.add((MRCAPrior) plugin);\n }\n }\n\n if (m_initial.get() != null) {\n for (final Object plugin : m_initial.get().getOutputs()) {\n if (plugin instanceof MRCAPrior && !calibrations.contains(plugin)) {\n calibrations.add((MRCAPrior) plugin);\n }\n }\n }\n\n for (final MRCAPrior prior : calibrations) {\n \tif (prior.getID() != null && prior.getID().startsWith(\"Afro-Asiatic.o\")) {\n \t\tint h = 3;\n \t\th++;\n \t}\n final TaxonSet taxonSet = prior.taxonsetInput.get();\n if (taxonSet != null && !prior.onlyUseTipsInput.get()) {\n\t final Set<String> bTaxa = new LinkedHashSet<>();\n\t \tif (taxonSet.asStringList() == null) {\n\t \t\ttaxonSet.initAndValidate();\n\t \t}\n\t for (final String sTaxonID : taxonSet.asStringList()) {\n\n\t if (!sTaxa.contains(sTaxonID)) {\n\t throw new IllegalArgumentException(\"Taxon <\" + sTaxonID + \"> could not be found in list of taxa. Choose one of \" +\n Arrays.toString(sTaxa.toArray(new String[sTaxa.size()])));\n\t }\n\t bTaxa.add(sTaxonID);\n\t }\n\t final ParametricDistribution distr = prior.distInput.get();\n\t final Bound bounds = new Bound();\n\t if (distr != null) {\n\t \t\tList<BEASTInterface> plugins = new ArrayList<>();\n\t \t\tdistr.getPredecessors(plugins);\n\t \t\tfor (int i = plugins.size() - 1; i >= 0 ; i--) {\n\t \t\t\tplugins.get(i).initAndValidate();\n\t \t\t}\n\t try {\n\t \tif (distr instanceof AlmostDistribution) {\n\t bounds.lower = ((AlmostDistribution)distr).getLowerTarget();\n\t\t\t bounds.upper = ((AlmostDistribution)distr).getUpperTarget();\n\t \t} else {\n\t bounds.lower = Math.max(distr.inverseCumulativeProbability(0.0), 0.0);\n\t\t\t bounds.upper = distr.inverseCumulativeProbability(1.0);\n\t \t}\n assert bounds.lower <= bounds.upper;\n\t\t\t\t\t} catch (MathException e) {\n\t\t\t\t\t\tLog.warning.println(\"Could not set bounds in SimpleRandomTree::doTheWork : \" + e.getMessage());\n\t\t\t\t\t}\n\t }\n\n\t if (prior.isMonophyleticInput.get() || bTaxa.size() == 1 ) {\n\t // add any monophyletic constraint\n boolean isDuplicate = false;\n for(int k = 0; k < lastMonophyletic; ++k) {\n // assert prior.useOriginateInput.get().equals(onParent.get(k)) == (prior.useOriginateInput.get() == onParent.get(k));\n if( bTaxa.size() == taxonSets.get(k).size() && bTaxa.equals(taxonSets.get(k)) &&\n prior.useOriginateInput.get().equals(onParent.get(k)) ) {\n if( distr != null ) {\n if( distributions.get(k) == null ) {\n distributions.set(k, distr);\n m_bounds.set(k, bounds);\n taxonSetIDs.set(k, prior.getID());\n System.out.println(prior.getID() + \" \" + bounds);\n }\n } else {\n System.out.println(\"Duplicate \" + prior.getID() + \" (\" + Arrays.toString(bTaxa.toArray()) + \") originate=\" + prior.useOriginateInput.get()); \t\n }\n isDuplicate = true;\n }\n }\n if( ! isDuplicate ) {\n taxonSets.add(lastMonophyletic, bTaxa);\n distributions.add(lastMonophyletic, distr);\n onParent.add(lastMonophyletic, prior.useOriginateInput.get());\n m_bounds.add(lastMonophyletic, bounds);\n taxonSetIDs.add(lastMonophyletic, prior.getID());\n lastMonophyletic++;\n }\n\t } else {\n\t // only calibrations with finite bounds are added\n\t if (!Double.isInfinite(bounds.lower) || !Double.isInfinite(bounds.upper)) {\n\t taxonSets.add(bTaxa);\n\t distributions.add(distr);\n\t m_bounds.add(bounds);\n\t taxonSetIDs.add(prior.getID());\n onParent.add(prior.useOriginateInput.get());\n\t }\n\t }\n }\n }\n\n if( ICC ) {\n for (int i = 0; i < lastMonophyletic; i++) {\n final Set<String> ti = taxonSets.get(i);\n for (int j = i + 1; j < lastMonophyletic; j++) {\n final Set<String> tj = taxonSets.get(j);\n boolean i_in_j = tj.containsAll(ti);\n boolean j_in_i = ti.containsAll(tj);\n if( i_in_j || j_in_i ) {\n boolean ok = true;\n if( i_in_j && j_in_i ) {\n ok = (boolean) (onParent.get(i)) != (boolean) onParent.get(j);\n }\n assert ok : \"\" + i + ' ' + j + ' ' + ' ' + taxonSetIDs.get(i) + ' ' + taxonSetIDs.get(j);\n } else {\n Set<String> tmp = new HashSet<>(tj);\n tmp.retainAll(ti);\n assert tmp.isEmpty();\n }\n }\n }\n }\n\n // assume all calibration constraints are Monophyletic\n // TODO: verify that this is a reasonable assumption\n lastMonophyletic = taxonSets.size();\n\n // sort constraints in increasing set inclusion order, i.e. such that if taxon set i is subset of taxon set j, then i < j\n// for (int i = 0; i < lastMonophyletic; i++) {\n// for (int j = i + 1; j < lastMonophyletic; j++) {\n// final Set<String> taxai = taxonSets.get(i);\n// final Set<String> taxaj = taxonSets.get(j);\n// if (taxai.size() > taxaj.size() ||\n// \t(taxai.size() == taxaj.size() && onParent.get(i))) {\n// swap(taxonSets, i, j);\n// swap(distributions, i, j);\n// swap(m_bounds, i, j);\n// swap(taxonSetIDs, i, j);\n// swap(onParent, i, j); \t\n// }\n// }\n// }\n for (int i = 0; i < lastMonophyletic; i++) {\n for (int j = i + 1; j < lastMonophyletic; j++) {\n\n final Set<String> taxai = taxonSets.get(i);\n final Set<String> taxaj = taxonSets.get(j);\n Set<String> intersection = new LinkedHashSet<>(taxai);\n intersection.retainAll(taxaj);\n\n if (intersection.size() > 0) {\n final boolean bIsSubset = taxai.containsAll(taxaj);\n final boolean bIsSubset2 = taxaj.containsAll(taxai);\n // sanity check: make sure either\n // o taxonset1 is subset of taxonset2 OR\n // o taxonset1 is superset of taxonset2 OR\n // o taxonset1 does not intersect taxonset2\n if (!(bIsSubset || bIsSubset2)) {\n throw new IllegalArgumentException(\"333: Don't know how to generate a Random Tree for taxon sets that intersect, \" +\n \"but are not inclusive. Taxonset \" + (taxonSetIDs.get(i) == null ? taxai : taxonSetIDs.get(i)) + \n \t\t\" and \" + (taxonSetIDs.get(j) == null ? taxaj : taxonSetIDs.get(j)));\n }\n // swap i & j if b1 subset of b2. If equal sub-sort on 'useOriginate'\n if (bIsSubset && (!bIsSubset2 || (onParent.get(i) && !onParent.get(j)) ) ) {\n swap(taxonSets, i, j);\n swap(distributions, i, j);\n swap(m_bounds, i, j);\n swap(taxonSetIDs, i, j);\n swap(onParent, i, j);\n }\n }\n }\n }\n\n if( ICC ) {\n for (int i = 0; i < lastMonophyletic; i++) {\n final Set<String> ti = taxonSets.get(i);\n for (int j = i + 1; j < lastMonophyletic; j++) {\n final Set<String> tj = taxonSets.get(j);\n boolean ok = tj.containsAll(ti);\n if( ok ) {\n ok = !tj.equals(ti) || (!onParent.get(i) && onParent.get(j));\n assert ok : \"\" + i + ' ' + j + ' ' + tj.equals(ti) + ' ' + taxonSetIDs.get(i) + ' ' + taxonSetIDs.get(j);\n } else {\n Set<String> tmp = new HashSet<>(tj);\n tmp.retainAll(ti);\n assert tmp.isEmpty();\n }\n }\n }\n }\n\n for (int i = 0; i < lastMonophyletic; i++) {\n if( onParent.get(i) ) {\n // make sure it is after constraint on node itself, if such exists\n assert( ! (i + 1 < lastMonophyletic && taxonSets.get(i).equals(taxonSets.get(i + 1)) && onParent.get(i) && !onParent.get(i+1) ) );\n // find something to attach to ....\n // find enclosing clade, if any. pick a non-intersecting clade in the enclosed without an onParent constraint, or one whose\n // onParent constraint is overlapping.\n final Set<String> iTaxa = taxonSets.get(i);\n int j = i+1;\n Set<String> enclosingTaxa = sTaxa;\n {\n String someTaxon = iTaxa.iterator().next();\n for (/**/; j < lastMonophyletic; j++) {\n if( taxonSets.get(j).contains(someTaxon) ) {\n enclosingTaxa = taxonSets.get(j);\n break;\n }\n }\n }\n if (i == 54) {\n \tint h = 3;\n \th++;\n }\n final int enclosingIndex = (j == lastMonophyletic) ? j : j;\n Set<String> candidates = new HashSet<>(enclosingTaxa);\n candidates.removeAll(iTaxa);\n Set<Integer> candidateClades = new HashSet<>(5);\n List<String> canTaxa = new ArrayList<>();\n for( String c : candidates ) {\n for(int k = enclosingIndex-1; k >= 0; --k) {\n if( taxonSets.get(k).contains(c) ) {\n if( ! candidateClades.contains(k) ) {\n if( onParent.get(k) ) {\n if( !intersecting(m_bounds.get(k), m_bounds.get(i)) ) {\n break;\n }\n } else {\n if(m_bounds.get(k).lower - 1e10 > m_bounds.get(i).lower) {\n break;\n }\n }\n candidateClades.add(k);\n }\n break;\n }\n if( k == 0 ) {\n canTaxa.add(c);\n }\n }\n }\n\n final int sz1 = canTaxa.size();\n final int sz2 = candidateClades.size();\n\n if( sz1 + sz2 == 0 && i + 1 == enclosingIndex ) {\n final Bound ebound = m_bounds.get(enclosingIndex);\n ebound.restrict(m_bounds.get(i));\n } else {\n \tif (sz1 + sz2 == 0) {\n \t\tint h = 3;\n \t\t\t\th++;\n \t}\n assert sz1 + sz2 > 0;\n // prefer taxa over clades (less chance of clades useOriginate clashing)\n final int k = Randomizer.nextInt(sz1 > 0 ? sz1 : sz2);\n Set<String> connectTo;\n int insertPoint;\n if( k < sz1 ) {\n // from taxa\n connectTo = new HashSet<>(1);\n connectTo.add(canTaxa.get(k));\n insertPoint = i + 1;\n } else {\n // from clade\n final Iterator<Integer> it = candidateClades.iterator();\n for (j = 0; j < k - sz1 - 1; ++j) {\n it.next();\n }\n insertPoint = it.next();\n connectTo = new HashSet<>(taxonSets.get(insertPoint));\n insertPoint = Math.max(insertPoint, i) + 1;\n }\n\n final HashSet<String> cc = new HashSet<String>(connectTo);\n\n connectTo.addAll(taxonSets.get(i));\n if( !connectTo.equals(enclosingTaxa) || enclosingTaxa == sTaxa ) { // equal when clade already exists\n\n taxonSets.add(insertPoint, connectTo);\n distributions.add(insertPoint, distributions.get(i));\n onParent.add(insertPoint, false);\n m_bounds.add(insertPoint, m_bounds.get(i));\n final String tid = taxonSetIDs.get(i);\n taxonSetIDs.add(insertPoint, tid);\n lastMonophyletic += 1;\n } else {\n // we lose distribution i :(\n final Bound ebound = m_bounds.get(enclosingIndex);\n ebound.restrict(m_bounds.get(i));\n }\n }\n if( true ) {\n taxonSets.set(i, new HashSet<>());\n distributions.set(i, null);\n m_bounds.set(i, new Bound());\n final String tid = taxonSetIDs.get(i);\n if( tid != null ) {\n taxonSetIDs.set(i, \"was-\" + tid);\n }\n }\n }\n }\n\n {\n int icur = 0;\n for (int i = 0; i < lastMonophyletic; ++i, ++icur) {\n final Set<String> ti = taxonSets.get(i);\n if( ti.isEmpty() ) {\n icur -= 1;\n } else {\n if( icur < i ) {\n taxonSets.set(icur, taxonSets.get(i));\n distributions.set(icur, distributions.get(i));\n m_bounds.set(icur, m_bounds.get(i));\n taxonSetIDs.set(icur, taxonSetIDs.get(i));\n onParent.set(icur, onParent.get(i));\n }\n }\n }\n taxonSets.subList(icur, lastMonophyletic).clear();\n distributions.subList(icur, lastMonophyletic).clear();\n m_bounds.subList(icur, lastMonophyletic).clear();\n taxonSetIDs.subList(icur, lastMonophyletic).clear();\n onParent.subList(icur, lastMonophyletic).clear();\n\n lastMonophyletic = icur;\n }\n\n if( ICC ) {\n for (int i = 0; i < lastMonophyletic; i++) {\n final Set<String> ti = taxonSets.get(i);\n for (int j = i + 1; j < lastMonophyletic; j++) {\n final Set<String> tj = taxonSets.get(j);\n boolean ok = tj.containsAll(ti);\n if( ok ) {\n ok = !tj.equals(ti) || (!onParent.get(i) && onParent.get(j));\n assert ok : \"\" + i + ' ' + j + ' ' + taxonSetIDs.get(i) + ' ' + taxonSetIDs.get(j);\n } else {\n Set<String> tmp = new HashSet<>(tj);\n tmp.retainAll(ti);\n assert tmp.isEmpty();\n }\n }\n }\n }\n\n // map parent child relationships between mono clades. nParent[i] is the immediate parent clade of i, if any. An immediate parent is the\n // smallest superset of i, children[i] is a list of all clades which have i as a parent.\n // The last one, standing for the virtual \"root\" of all monophyletic clades is not associated with any actual clade\n final int[] nParent = new int[lastMonophyletic];\n children = new List[lastMonophyletic + 1];\n for (int i = 0; i < lastMonophyletic + 1; i++) {\n children[i] = new ArrayList<>();\n }\n for (int i = 0; i < lastMonophyletic; i++) {\n int j = i + 1;\n while (j < lastMonophyletic && !taxonSets.get(j).containsAll(taxonSets.get(i))) {\n j++;\n }\n nParent[i] = j;\n children[j].add(i);\n }\n\n // make sure upper bounds of a child does not exceed the upper bound of its parent\n for (int i = lastMonophyletic-1; i >= 0 ;--i) {\n if (nParent[i] < lastMonophyletic ) {\n if (m_bounds.get(i).upper > m_bounds.get(nParent[i]).upper) {\n m_bounds.get(i).upper = m_bounds.get(nParent[i]).upper - 1e-100;\n \n if (m_bounds.get(i).lower > m_bounds.get(i).upper) {\n \tint h = 3;\n \th++;\n }\n assert m_bounds.get(i).lower <= m_bounds.get(i).upper: i;\n }\n }\n }\n\n nodeCount = 2 * sTaxa.size() - 1;\n boundPerNode = new Bound[nodeCount];\n distPerNode = new ParametricDistribution[nodeCount];\n\n buildTree(sTaxa); \n assert nextNodeNr == nodeCount : \"\" + nextNodeNr + ' ' + nodeCount;\n\n double bm = branchMeanInput.get();\n\n if( bm < 0 ) {\n double maxMean = 0;\n\n for (ParametricDistribution distr : distPerNode) {\n if( distr != null ) {\n double m = distr.getMean();\n if( maxMean < m ) maxMean = m;\n }\n }\n if( maxMean > 0 ) {\n double s = 0;\n for (int i = 2; i <= nodeCount; ++i) {\n s += 1.0 / i;\n }\n bm = s / maxMean;\n }\n }\n\n double rate = 1 / (bm < 0 ? 1 : bm);\n boolean succ = false;\n int ntries = 6;\n final double epsi = 0.01/rate;\n double clamp = 1-clampInput.get();\n while( !succ && ntries > 0 ) {\n try {\n\t\t\t\tsucc = setHeights(rate, false, epsi, clamp);\n\t\t\t} catch (ConstraintViolatedException e) {\n\t\t\t\tthrow new RuntimeException(\"Constraint failed setting heights: \" + e.getMessage() + \" Perhaps setting/reducing 'branchMean' helps\");\n\t\t\t}\n --ntries;\n rate *= 2;\n clamp /= 2;\n }\n if( ! succ ) {\n try {\n \t succ = setHeights(rate, true, 0, 0);\n } catch (ConstraintViolatedException e) {\n\t\t\t\tthrow new RuntimeException(\"Constraint failed setting heights: \" + e.getMessage() + \" Perhaps setting/reducing 'branchMean' helps\");\n }\n }\n assert succ;\n\n internalNodeCount = sTaxa.size() - 1;\n leafNodeCount = sTaxa.size();\n\n HashMap<String,Integer> taxonToNR = null;\n // preserve node numbers where possible\n if (m_initial.get() != null) {\n taxonToNR = new HashMap<>();\n for( Node n : m_initial.get().getExternalNodes() ) {\n taxonToNR.put(n.getID(), n.getNr());\n }\n }\n // re-assign node numbers\n setNodesNrs(root, 0, new int[1], taxonToNR);\n\n initArrays();\n }", "title": "" }, { "docid": "0109573f470c6880280a754f27bab9bc", "score": "0.48594835", "text": "public interface AclVocabulary {\n\tpublic static final URI NS_ACLVocabulary = new URIImpl(\"http://www.w3.org/ns/auth/acl#\",false);\n\n /**\n * Label: write@en \n */\n public static final URI Write = new URIImpl(\"http://www.w3.org/ns/auth/acl#Write\", false);\n\n /**\n * Label: read@en \n * Comment: The class of read operations \n */\n public static final URI Read = new URIImpl(\"http://www.w3.org/ns/auth/acl#Read\", false);\n\n /**\n * Label: control@en \n * Comment: Allows read/write access to the ACL for the resource(s) \n */\n public static final URI Control = new URIImpl(\"http://www.w3.org/ns/auth/acl#Control\", false);\n\n /**\n * Label: authorization \n * Comment: An element of access control,\n allowing agent to agents access of some kind to resources or classes of resources \n */\n public static final URI Authorization = new URIImpl(\"http://www.w3.org/ns/auth/acl#Authorization\", false);\n\n /**\n * Label: append@en \n * Comment: Append accesses are specific write access which only add information, and do not remove information.\n For text files, for example, append access allows bytes to be added onto the end of the file.\n For RDF graphs, Append access allows adds triples to the graph but does not remove any.\n Append access is useful for dropbox functionality.\n Dropbox can be used for link notification, which the information added is a notification\n that a some link has been made elsewhere relevant to the given resource.\n \n */\n public static final URI Append = new URIImpl(\"http://www.w3.org/ns/auth/acl#Append\", false);\n\n /**\n * Comment: Any kind of access to a resource. Don't use this, use R W and RW \n */\n public static final URI Access = new URIImpl(\"http://www.w3.org/ns/auth/acl#Access\", false);\n\n /**\n * Label: owner@en \n * Comment: The person or other agent which owns this. \n For example, the owner of a file in a filesystem.\n There is a sense of right to control. Typically defaults to the agent who craeted\n something but can be changed. \n * Range: http://xmlns.com/foaf/0.1/Agent \n */\n public static final URI owner = new URIImpl(\"http://www.w3.org/ns/auth/acl#owner\", false);\n\n /**\n * Label: access mode \n * Comment: A mode of access such as read or write. \n * Comment: http://www.w3.org/ns/auth/acl#Authorization \n * Range: http://www.w3.org/2000/01/rdf-schema#Class \n */\n public static final URI mode = new URIImpl(\"http://www.w3.org/ns/auth/acl#mode\", false);\n\n /**\n * Label: default access for new things in \n * Comment: A directory for which this authorization is used for new files in the directory. \n * Comment: http://www.w3.org/ns/auth/acl#Authorization \n */\n public static final URI defaultForNew = new URIImpl(\"http://www.w3.org/ns/auth/acl#defaultForNew\", false);\n\n /**\n * Label: agent class \n * Comment: A class of persons or social entities to being given the right \n * Comment: http://www.w3.org/ns/auth/acl#Authorization \n * Range: http://www.w3.org/2000/01/rdf-schema#Class \n */\n public static final URI agentClass = new URIImpl(\"http://www.w3.org/ns/auth/acl#agentClass\", false);\n\n /**\n * Label: agent \n * Comment: A person or social entity to being given the right \n * Comment: http://www.w3.org/ns/auth/acl#Authorization \n * Range: http://xmlns.com/foaf/0.1/Agent \n */\n public static final URI agent = new URIImpl(\"http://www.w3.org/ns/auth/acl#agent\", false);\n\n /**\n * Label: to all in \n * Comment: A class of information resources to which access is being granted. \n * Comment: http://www.w3.org/ns/auth/acl#Authorization \n * Range: http://www.w3.org/2000/01/rdf-schema#Class \n */\n public static final URI accessToClass = new URIImpl(\"http://www.w3.org/ns/auth/acl#accessToClass\", false);\n\n /**\n * Label: to \n * Comment: The information resource to which access is being granted. \n * Comment: http://www.w3.org/ns/auth/acl#Authorization \n * Range: http://www.w3.org/2006/gen/ont#InformationResource \n */\n public static final URI accessTo = new URIImpl(\"http://www.w3.org/ns/auth/acl#accessTo\", false);\n\n /**\n * Label: access control \n * Comment: The Access Control file for this information resource.\n This may of course be a virtual resorce implemented by the access control system.\n Note also HTTP's header Link: foo.meta ;rel=meta can be used for this. \n * Comment: http://www.w3.org/2006/gen/ont#InformationResource \n * Range: http://www.w3.org/2006/gen/ont#InformationResource \n */\n public static final URI accessControl = new URIImpl(\"http://www.w3.org/ns/auth/acl#accessControl\", false);\n\n}", "title": "" }, { "docid": "6b3d804b87ace758e15c0f39c4ca65b0", "score": "0.48558903", "text": "@Override\r\n public void createTrainingData() {\r\n //setTrainingData(new ArrayList<>(getTrainingData().subList(0, 50)));\r\n //setTestingData(new ArrayList<>(getTrainingData()));\r\n\r\n // Calculate alignments between the word of the sentence and the atribute/values\r\n if (getUseAlignments().equals(\"naive\")) {\r\n createNaiveAlignments(getTrainingData());\r\n } else {\r\n createRandomAlignments(getTrainingData());\r\n }\r\n writeObservedAttrValues();\r\n \r\n // Create (or load from cache) the content and word language models per predicate\r\n if (isResetStoredCaches() || !loadLMs()) {\r\n HashMap<String, ArrayList<ArrayList<String>>> LMWordTrainingPerPred = new HashMap<>();\r\n HashMap<String, ArrayList<ArrayList<String>>> LMAttrTrainingPerPred = new HashMap<>();\r\n getTrainingData().stream().map((di) -> {\r\n if (!LMWordTrainingPerPred.containsKey(di.getMeaningRepresentation().getPredicate())) {\r\n LMWordTrainingPerPred.put(di.getMeaningRepresentation().getPredicate(), new ArrayList<ArrayList<String>>());\r\n LMAttrTrainingPerPred.put(di.getMeaningRepresentation().getPredicate(), new ArrayList<ArrayList<String>>());\r\n }\r\n return di;\r\n }).forEachOrdered((di) -> {\r\n HashSet<ArrayList<Action>> seqs = new HashSet<>();\r\n seqs.add(di.getDirectReferenceSequence());\r\n seqs.forEach((seq) -> {\r\n ArrayList<String> wordSeq = new ArrayList<>();\r\n ArrayList<String> attrSeq = new ArrayList<>();\r\n\r\n // We add some empty tokens at the start of each sequence\r\n wordSeq.add(\"@@\");\r\n wordSeq.add(\"@@\");\r\n attrSeq.add(\"@@\");\r\n attrSeq.add(\"@@\");\r\n for (int i = 0; i < seq.size(); i++) {\r\n if (!seq.get(i).getAttribute().equals(Action.TOKEN_END)\r\n && !seq.get(i).getWord().equals(Action.TOKEN_END)) {\r\n wordSeq.add(seq.get(i).getWord());\r\n }\r\n if (attrSeq.isEmpty()) {\r\n attrSeq.add(seq.get(i).getAttribute());\r\n } else if (!attrSeq.get(attrSeq.size() - 1).equals(seq.get(i).getAttribute())) {\r\n attrSeq.add(seq.get(i).getAttribute());\r\n }\r\n }\r\n wordSeq.add(Action.TOKEN_END);\r\n LMWordTrainingPerPred.get(di.getMeaningRepresentation().getPredicate()).add(wordSeq);\r\n LMAttrTrainingPerPred.get(di.getMeaningRepresentation().getPredicate()).add(attrSeq);\r\n });\r\n });\r\n\r\n setWordLMsPerPredicate(new HashMap<>());\r\n setContentLMsPerPredicate(new HashMap<>());\r\n LMWordTrainingPerPred.keySet().stream().map((pred) -> {\r\n SimpleLM simpleWordLM = new SimpleLM(3);\r\n simpleWordLM.trainOnStrings(LMWordTrainingPerPred.get(pred));\r\n getWordLMsPerPredicate().put(pred, simpleWordLM);\r\n return pred;\r\n }).forEachOrdered((pred) -> {\r\n SimpleLM simpleAttrLM = new SimpleLM(3);\r\n simpleAttrLM.trainOnStrings(LMAttrTrainingPerPred.get(pred));\r\n getContentLMsPerPredicate().put(pred, simpleAttrLM);\r\n });\r\n writeLMs();\r\n }\r\n\r\n // Go through the sequences in the data and populate the available content and word action dictionaries\r\n // We populate a distinct word dictionary for each attribute, and populate it with the words of word sequences whose corresponding content sequences contain that attribute\r\n HashMap<String, HashSet<String>> availableContentActions = new HashMap<>();\r\n HashMap<String, HashMap<String, HashSet<Action>>> availableWordActions = new HashMap<>();\r\n getTrainingData().forEach((DI) -> {\r\n String predicate = DI.getMeaningRepresentation().getPredicate();\r\n if (!availableContentActions.containsKey(predicate)) {\r\n availableContentActions.put(predicate, new HashSet<String>());\r\n availableContentActions.get(predicate).add(Action.TOKEN_END);\r\n }\r\n if (!availableWordActions.containsKey(predicate)) {\r\n availableWordActions.put(predicate, new HashMap<String, HashSet<Action>>());\r\n }\r\n ArrayList<Action> realization = DI.getDirectReferenceSequence();\r\n realization.stream().filter((a) -> (!a.getAttribute().equals(Action.TOKEN_END))).forEachOrdered((Action a) -> {\r\n String attr;\r\n if (a.getAttribute().contains(\"=\")) {\r\n attr = a.getAttribute().substring(0, a.getAttribute().indexOf('='));\r\n } else {\r\n attr = a.getAttribute();\r\n }\r\n availableContentActions.get(predicate).add(attr);\r\n if (!availableWordActions.get(predicate).containsKey(attr)) {\r\n availableWordActions.get(predicate).put(attr, new HashSet<Action>());\r\n availableWordActions.get(predicate).get(attr).add(new Action(Action.TOKEN_END, attr));\r\n }\r\n if (!a.getWord().equals(Action.TOKEN_START)\r\n && !a.getWord().equals(Action.TOKEN_END)\r\n && !a.getWord().matches(\"([,.?!;:'])\")) {\r\n if (a.getWord().startsWith(Action.TOKEN_X)) {\r\n if (a.getWord().substring(3, a.getWord().lastIndexOf('_')).toLowerCase().trim().equals(attr)) {\r\n availableWordActions.get(predicate).get(attr).add(new Action(a.getWord(), attr));\r\n }\r\n } else {\r\n availableWordActions.get(predicate).get(attr).add(new Action(a.getWord(), attr));\r\n }\r\n }\r\n });\r\n });\r\n setAvailableContentActions(availableContentActions);\r\n setAvailableWordActions(availableWordActions);\r\n writeObservedAttrValues();\r\n writeAvailableActions();\r\n System.exit(0);\r\n\r\n //When using random alignments we do not consider the value alignments either\r\n if (getUseAlignments().equals(\"random\")) {\r\n setValueAlignments(new HashMap<>());\r\n }\r\n\r\n // Infer the feature vectors of the training data\r\n if (isResetStoredCaches() || !loadTrainingData(getTrainingData().size())) {\r\n System.out.print(\"Create training data...\");\r\n Object[] results = inferFeatureAndCostVectors();\r\n System.out.print(\"almost...\");\r\n \r\n @SuppressWarnings(\"unchecked\")\r\n ConcurrentHashMap<DatasetInstance, HashMap<String, ArrayList<Instance>>> getPredicateContentTrainingDataBefore = (ConcurrentHashMap<DatasetInstance, HashMap<String, ArrayList<Instance>>>) results[0];\r\n @SuppressWarnings(\"unchecked\")\r\n ConcurrentHashMap<DatasetInstance, HashMap<String, HashMap<String, ArrayList<Instance>>>> getPredicateWordTrainingDataBefore = (ConcurrentHashMap<DatasetInstance, HashMap<String, HashMap<String, ArrayList<Instance>>>>) results[1];\r\n\r\n // Reorganize the feature/cost vector collections \r\n // Initially they are mapped according to DatasetInstance (since it helps with parallel processing) but we prefer them mapped by predicate for training\r\n setPredicateContentTrainingData(new HashMap<>());\r\n getTrainingData().forEach((di) -> {\r\n getPredicateContentTrainingDataBefore.get(di).keySet().stream().map((predicate) -> {\r\n if (!getPredicateContentTrainingData().containsKey(predicate)) {\r\n getPredicateContentTrainingData().put(predicate, new ArrayList<Instance>());\r\n }\r\n return predicate;\r\n }).forEachOrdered((predicate) -> {\r\n getPredicateContentTrainingData().get(predicate).addAll(getPredicateContentTrainingDataBefore.get(di).get(predicate));\r\n });\r\n });\r\n setPredicateWordTrainingData(new HashMap<>());\r\n getTrainingData().forEach((di) -> {\r\n getPredicateWordTrainingDataBefore.get(di).keySet().stream().map((predicate) -> {\r\n if (!getPredicateWordTrainingData().containsKey(predicate)) {\r\n getPredicateWordTrainingData().put(predicate, new HashMap<String, ArrayList<Instance>>());\r\n }\r\n return predicate;\r\n }).forEachOrdered((predicate) -> {\r\n getPredicateWordTrainingDataBefore.get(di).get(predicate).keySet().stream().map((attribute) -> {\r\n if (!getPredicateWordTrainingData().get(predicate).containsKey(attribute)) {\r\n getPredicateWordTrainingData().get(predicate).put(attribute, new ArrayList<Instance>());\r\n }\r\n return attribute;\r\n }).forEachOrdered((attribute) -> {\r\n getPredicateWordTrainingData().get(predicate).get(attribute).addAll(getPredicateWordTrainingDataBefore.get(di).get(predicate).get(attribute));\r\n });\r\n });\r\n });\r\n writeTrainingData(getTrainingData().size());\r\n System.out.println(\"done!\");\r\n }\r\n }", "title": "" }, { "docid": "eb49e787602d2417d1ac97f2628d54c5", "score": "0.48554584", "text": "private Document addDocForClass(XStream xStream, GeoSkillsAccess access, OWLClass cls, OntType ontType) throws IOException {\n Document doc = new Document();\n\n String uri = cls.getURI().toString();\n String fragmentId = GSIUtil.uriToName(uri);\n doc.add(new Field(\"uri\",uri,\n Field.Store.YES,Field.Index.NOT_ANALYZED));\n GSILogger.log(\"- \"+ ontType + \":\" + fragmentId + \" (\");\n\n SkillItem theItem = new SkillItem(null,\n fragmentId, 0, \"\", fragmentId);\n\n // compute types\n doc.add(new Field(\"ontType\",ontType.getName(),\n Field.Store.YES,Field.Index.NOT_ANALYZED));\n theItem.setType(ontType.getName());\n theItem.setUrlForNavigator(GSIUtil.urlForMoreInfo(uri,ontType));\n\n\n Map<String,Set<String>> names = access.readRDFLabels(cls);\n // create the skill-items\n for(String lang: IndexHome.supportedLanguages) {\n if(names!=null) {\n Set<String> tit = names.get(lang);\n if(tit!=null && !tit.isEmpty()) {\n theItem.setReadableTitle(tit.iterator().next());\n GSIUtil.addSimplyStoredField(doc,\"title-\" + lang,tit.iterator().next());\n }\n }\n if(theItem.getReadableTitle()==null)\n theItem.setReadableTitle(GSIUtil.nameOf(cls));\n GSIUtil.addSimplyStoredField(doc,\"skillItem-\" + lang,\n xStream.toXML(theItem));\n }\n\n // add the matching names\n float boost=5.0f;\n if(names!=null) {\n for(String lang: IndexHome.supportedLanguages) {\n String tit = null;\n if(names.get(lang)!=null) for(String name: names.get(lang)) {\n if(tit==null) tit = name;\n GSILogger.log(\" - \" + lang + \" : \" + 5.0 + \":\" + name);\n Field field = new Field(\"name-\" + lang,name,\n Field.Store.YES,Field.Index.ANALYZED);\n field.setBoost(boost);\n doc.add(field);\n // universal language as well\n field = new Field(\"name-x-all\",name,\n Field.Store.NO,Field.Index.ANALYZED);\n field.setBoost(boost);\n doc.add(field);\n }\n }\n doc.add(new Field(\"name-x-all\",fragmentId, Field.Store.YES, Field.Index.NOT_ANALYZED));\n }\n\n addResourcesCountToDoc(doc,fragmentId);\n\n return doc;\n }", "title": "" }, { "docid": "8f536194a42ec84aaf75d3b7ea93a99e", "score": "0.48534533", "text": "public static void generateEquivalentAdHocRelations(OWLOntology sourceOntology1, OWLOntology sourceOntology2, OWLOntology targetOntology) {\n\t\tOWLOntologyManager manager = OWLManager.createOWLOntologyManager();\n\t\tOWLDataFactory factory = manager.getOWLDataFactory();\n\t\t\n\t\t// get the Set of the common Object Properties\n\t\tSet<String> commonObjectProperties = OntologyData.getSameNameAttributesAsString(sourceOntology1, sourceOntology2);\n\t\t\n\t\t// Perform equivalences\n\t\tif(!commonObjectProperties.isEmpty()) {\n\t\t\t// get 1st Ontology Namespace\n\t\t\tOWLXMLDocumentFormat owlFormat = new OWLXMLDocumentFormat();\n\t\t\tOWLOntologyXMLNamespaceManager namespaceManager = new OWLOntologyXMLNamespaceManager(sourceOntology1, owlFormat);\n\t\t\tString sourceOntology1Namespace = namespaceManager.getDefaultNamespace();\n\t\t\t\n\t\t\t// get 2nd Ontology Namespace\n\t\t\tnamespaceManager = new OWLOntologyXMLNamespaceManager(sourceOntology2, owlFormat);\n\t\t\tString sourceOntology2Namespace = namespaceManager.getDefaultNamespace();\n\t\t\t\n\t\t\t// Relate the common Object Properties from the Set\n\t\t\tfor(String commonObjectProperty : commonObjectProperties) {\n\t\t\t\t// get the IRIs for the Object Property in both Ontologies\n\t\t\t\tIRI ontology1ObjectProperty = IRI.create(sourceOntology1Namespace + commonObjectProperty), \n\t\t\t\t\tontology2ObjectProperty = IRI.create(sourceOntology2Namespace + commonObjectProperty);\n\t\t\t\t\n\t\t\t\t// Relate both concepts on the Target Ontology\n\t\t\t\tOWLObjectProperty ontology1Class = factory.getOWLObjectProperty(ontology1ObjectProperty), \n\t\t\t\t\t\tontology2Class = factory.getOWLObjectProperty(ontology2ObjectProperty);\t\t\t\n\t\t\t\tOWLEquivalentObjectPropertiesAxiom equivalenceAxiom = factory.getOWLEquivalentObjectPropertiesAxiom(ontology1Class, ontology2Class);\t\t\t\n\t\t\t\tmanager.applyChange(new AddAxiom(targetOntology, equivalenceAxiom));\t\t\t\t\n\t\t\t}\n\t\t}\t\t\n\t}", "title": "" }, { "docid": "6931d67d1a32a01c6f15476b27fa2cdf", "score": "0.48522684", "text": "@Override\n\t\t\tpublic void finish() throws Owl2ParseException {\n\t\t\t}", "title": "" }, { "docid": "78a50046a5dd5c8e9b71e7d33eb27f22", "score": "0.48518986", "text": "public interface DataObject{\r\n \r\n /**\r\n * Returns the URI of the ontology by which the PML object is defined.\r\n * @return the URI of the ontology\r\n */ \r\n public String getOntologyURI();\r\n \r\n /**\r\n * Sets the URI of ontology by which the object is define.\r\n * @param newOntURI the new URI of the ontology\r\n */\r\n public void setOntologyURI(String newOntURI);\r\n \r\n /**\r\n * Sets ontology class name to a new value.\r\n * @param newClassName new ontology class name\r\n */\r\n public void setOntologyClassName (String newClassName);\r\n \r\n /**\r\n * Returns object's ontology class name.\r\n * @return ontology class name\r\n */\r\n public String getOntologyClassName();\r\n \r\n /**\r\n * Sets objects class URI to a new value.\r\n * @param newURI new class URI\r\n */\r\n public void setClassURI (String newURI);\r\n \r\n /**\r\n * Returns object's class URI.\r\n * @return class URI\r\n */\r\n public String getClassURI();\r\n\r\n /**\r\n * Returns object's ontology object\r\n * @return ontology\r\n */\r\n public org.inference_web.pml.context.accessor.Ontology getOntology() ;\r\n /**\r\n * Returns object's ontology class.\r\n * @return ontology class\r\n */\r\n public OntClass getOntologyClass();\r\n\r\n \r\n /**\r\n * Sets data object's identifier to a new value.\r\n * @param newID new ID\r\n */\r\n public void setIdentifier (DataObjectIdentifier newID);\r\n \r\n /**\r\n * Returns the identifier of the data object\r\n * @return identifier\r\n */\r\n public DataObjectIdentifier getIdentifier();\r\n\r\n\r\n /**\r\n * Returns a list of property names of the data object.\r\n * @return all property names\r\n */\r\n public List listPropertyNames();\r\n\r\n /**\r\n * Returns all properties of the data object in a Map. The keys of the map are\r\n * property names and values are property values.\r\n * @return properties of the Description\r\n */\r\n public Map getProperties();\r\n\r\n /**\r\n * Sets the properties of the data object.\r\n * @param newProperties new properties\r\n */\r\n public void setProperties(Map newProperties);\r\n \r\n /**\r\n * Answers if the data object has a specific property by its local name.\r\n * @param propName property's local name\r\n * @return true if the data object has the property\r\n */\r\n public boolean hasPropertyByLocalName(String propName);\r\n \r\n /**\r\n * Returns the value of a property.\r\n * @param propName property full name\r\n * @return value of property\r\n */\r\n public Object getProperty(String propName);\r\n \r\n /**\r\n * Sets a property to a new value.\r\n * @param propName property full name\r\n * @param propValue property value\r\n * @return true if setting new value succeeds\r\n */\r\n public boolean setProperty(String propName, Object propValue);\r\n\r\n /**\r\n * Returns the value of a property by its local name.The type of the value may vary, <br>\r\n * depending on currently stored value in property list.\r\n * @param propLocalName property's local name\r\n * @return value of the property\r\n */\r\n public Object getPropertyByLocalName (String propLocalName);\r\n\r\n /**\r\n * Returns the value of a property by its local name. The type of the value is determined by ontology.<br>\r\n * If the property is a object property, only data object instances can be returned.\r\n * @param propLocalName property's local name\r\n * @return value of the property \r\n */\r\n public Object getPropertyObjectByLocalName (String propLocalName);\r\n \r\n /**\r\n * Sets a property by its local name to a new value.\r\n * @param propLocalName property local name\r\n * @param propValue property new value\r\n * @return true if setting new value succeeds\r\n */\r\n public boolean setPropertyByLocalName(String propLocalName, Object propValue);\r\n \r\n /**\r\n * Adds a new value to a property. If the property allows multiple values, the<br>\r\n * existing values are not altered.\r\n * @param propName property full name\r\n * @param propValue new property value\r\n */\r\n public void addPropertyValue(String propName, Object propValue);\r\n \r\n /**\r\n * Adds a new value to a property by property's local name.<br>\r\n * If the property allows multiple values, the<br>\r\n * existing values are not altered.\r\n * @param propLocalName property local name\r\n * @param propValue new property value\r\n */\r\n public void addPropertyValueByLocalName(String propLocalName, Object propValue);\r\n\r\n /**\r\n * Returns the range of the property in URI format.\r\n * @param propName property full name\r\n * @return range of the property\r\n */\r\n public String getPropertyRange (String propName);\r\n \r\n /**\r\n * Returns the Jena OntPropety of a property by its local name.\r\n * @param propLocalName property local name\r\n * @return OntProperty of the property\r\n */ \r\n public OntProperty getOntPropertyByLocalName (String propLocalName) ;\r\n \r\n /**\r\n * Answers if the property's range matches the given type.\r\n * @param propLocalName property local name\r\n * @param typeLocalName range's local name\r\n * @return true if property's range local name matches the type's local name\r\n */\r\n public boolean isPropertyRangeByLocalName (String propLocalName, String typeLocalName) ;\r\n \r\n /**\r\n * Returns the name of the data object.\r\n * @return Description's name\r\n */\r\n public String getObjectName();\r\n \r\n \r\n /**\r\n * Returns the namespace of the data object\r\n * @return namespace\r\n */\r\n public String getNameSpace();\r\n\r\n /**\r\n * Answers if data object is equivalent to another data object.\r\n * @param other data object\r\n * @return true if two data objects are equivalent\r\n */\r\n public boolean equals(DataObject other);\r\n\r\n\r\n}", "title": "" }, { "docid": "c1f7b5b8888c45fe844388070bb2dc92", "score": "0.4848164", "text": "public void reviseOntology(){\n for(OWLAxiom axiom: this.revisionModule.getInconsistencyCreators()){\n RemoveAxiom raxiom=new RemoveAxiom(this.ontology,axiom);\n System.out.println(\"Removing axiom \"+axiom.toString());\n this.manager.applyChange(raxiom);\n }\n }", "title": "" }, { "docid": "97b4491060769ae9dff61fdb9c499763", "score": "0.48266792", "text": "private List<RelatedTerm> combineRelatedTerms(List<ScoredTerm> compound, List<ScoredTerm> sentence, List<ScoredTerm> synonyms){\n List<RelatedTerm> allTerms = new ArrayList<>();\n if(compound != null && !compound.isEmpty()){\n allTerms.addAll(compound.stream()\n .map(rt -> RelatedTerm.convertScoredTerm(rt, RelatedTerm.RelatedTermType.Compound))\n .collect(Collectors.toList()));\n }\n if(sentence != null && !sentence.isEmpty()) {\n allTerms.addAll(sentence.stream()\n .map(rt -> RelatedTerm.convertScoredTerm(rt, RelatedTerm.RelatedTermType.Sentence))\n .collect(Collectors.toList()));\n }\n if(synonyms != null && !synonyms.isEmpty()){\n allTerms.addAll(synonyms.stream()\n .map(rt -> RelatedTerm.convertScoredTerm(rt, RelatedTerm.RelatedTermType.Synonym))\n .collect(Collectors.toList()));\n }\n\n return allTerms;\n }", "title": "" }, { "docid": "be431a7b0787db902739ea599aea9d77", "score": "0.4822976", "text": "@SuppressWarnings(\"unchecked\")\n\tpublic void prepareData(){\n\t\t\n\t\t//get basic data structures\n\t\tontology = new Ontology(this.onto_raw);\n\t\tDataTransformer dt = new DataTransformer();\n\t\tsda = dt.generateSymptomDiseaseAssociation(this.ontology, this.symptoms_raw, this.ksz_raw);\n\t\t\n\t\t//disease id order\n\t\tdiseaseIdOrder = new int [sda.numberOfDiseases()];\n\t\tIdToPos = new HashMap<Integer, Integer>(sda.numberOfDiseases()*3);\n\t\tint pos = 0;\n\t\tfor(int disId: sda.getDiseases()){\n\t\t\tdiseaseIdOrder[pos] = disId;\n\t\t\tIdToPos.put(disId, pos);\n\t\t\tpos++;\n\t\t}\n\t\t\n\t\t//generate queries\n\t\tqueries = new LinkedList[diseaseIdOrder.length];\n\t\tfor(int i = 0; i<diseaseIdOrder.length; i++){\n\t\t\tLinkedList<Integer []> annotation =sda.getSymptoms(diseaseIdOrder[i]);\n\t\t\tLinkedList<Integer> query = new LinkedList<Integer>();\n\t\t\tfor(Integer [] symptom : annotation){\n\t\t\t\tquery.add(symptom[0]);\n\t\t\t}\n\t\t\tqueries[i] = query;\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "ec7e56e549037864d969bbb19ef93179", "score": "0.4819768", "text": "public InfModel run(OntModel baseModel)\r\n\t{\n\t\tByteArrayOutputStream out = new ByteArrayOutputStream();\r\n baseModel.write(out, \"RDF/XML\"); \r\n InputStream in = new ByteArrayInputStream(out.toByteArray());\r\n\t\t\r\n\t\t//------------------------------------------------------------//\r\n\t\t\r\n\t\tOWLOntologyManager m = OWLManager.createOWLOntologyManager();\r\n\t\tOWLOntology o = null;\r\n\t\ttry {\r\n\t\t\to = m.loadOntologyFromOntologyDocument(in);\t\t\t\r\n\t\t} catch (OWLOntologyCreationException e){\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t\t// create the Pellet reasoner\r\n\t\tPelletReasoner pellet = PelletReasonerFactory.getInstance().createReasoner(o);\r\n\t\t\r\n\t\t//Used to read in OntModel\t\t\r\n\t\tOntModel model = baseModel;\t\t\r\n\t\t//model.read(in,null);\r\n\t\tByteArrayOutputStream baos = new ByteArrayOutputStream();\r\n model.write(baos, \"RDF/XML\");\r\n \r\n InputStream bais = new ByteArrayInputStream(baos.toByteArray());\r\n BufferedReader in2 = new BufferedReader(new InputStreamReader(bais));\r\n try {\r\n\t\t\twhile ((in2.readLine()) != null) \r\n\t\t\t{\r\n\t\t\t // System.out.println(line);\r\n\t\t\t}\r\n\t\t} catch (IOException e1) {\r\n\t\t\te1.printStackTrace();\r\n\t\t}\r\n \r\n try {\r\n\t\t\tm.loadOntologyFromOntologyDocument(bais);\r\n\t\t} catch (OWLOntologyCreationException e) {\t\t\t\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t\tList<InferredAxiomGenerator<? extends OWLAxiom>> gens = new ArrayList<InferredAxiomGenerator<? extends OWLAxiom>>();\r\n \r\n //InferredEntityAxiomGenerator\r\n if(this.inferHierarchies && started){\r\n \t\r\n \t\tgens.add(new InferredSubClassAxiomGenerator());\t\t\t\t\t\t\t//InferredClassAxiomGenerator\r\n \t\tgens.add(new InferredSubObjectPropertyAxiomGenerator());\t\t\t\t//InferredObjectPropertyAxiomGenerator\r\n \tgens.add(new InferredInverseObjectPropertiesAxiomGenerator());\t\t\t//InferredObjectPropertyAxiomGenerator\r\n \t\r\n \tstarted = false;\r\n }\r\n if(this.inferAssertions && !started){\r\n \tgens.add(new InferredClassAssertionAxiomGenerator()); \t\t\t\t\t//InferredIndividualAxiomGenerator\r\n \t\tgens.add(new InferredPropertyAssertionGenerator());\t\t\t\t\t\t//InferredIndividualAxiomGenerator\r\n }\r\n\t\t\r\n\t\tSystem.out.println(\"AQUI1\");\r\n\r\n\t\t\r\n\t\tInferredOntologyGenerator iog = new InferredOntologyGenerator(pellet, gens);\r\n\t\tiog.fillOntology(m, o);\r\n\r\n//\t\t// add the reasoner as an ontology change listener\r\n//\t\tm.addOntologyChangeListener(pellet);\r\n//\t\t\r\n//\t\tpellet.flush();\r\n\t\t\r\n\t\tSystem.out.println(\"AQUI2\");\r\n\t\t\r\n\t\tByteArrayOutputStream baos2 = new ByteArrayOutputStream();\r\n try {\r\n\t\t\tm.saveOntology(o, new RDFXMLOntologyFormat(), baos2);\r\n\t\t} catch (OWLOntologyStorageException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t} \r\n \t\r\n \tbais = new ByteArrayInputStream(baos2.toByteArray());\r\n\t\tmodel.read(bais, null);\r\n\t\t\r\n\t\treturn model;\r\n\t}", "title": "" }, { "docid": "447079f892789d7b4485ff710b84dd2b", "score": "0.48146957", "text": "public void rewrite (TBox tbox) throws FileNotFoundException {\n PrintStream ontTranslationFile = new PrintStream(new File(\"OntologyTranslation.txt\"));\n PrintStream errorInTranslationFile = new PrintStream(new File(\"TranslationErrors.txt\"));\n \n \n // Store current System.out before assigning a new value \n// PrintStream console = System.out; \n \n // Assign ontTranslationFile to output stream \n System.setOut(ontTranslationFile); \n \n\t\t\n\t\tSet<Rule> rules = p.getRules();\n\t\t\n\t\tTBoxNormalizer normalizer = new TBoxNormalizer(tbox.getConceptInclusions());\n\t\tnormalizer.normalizeAxioms();\n\t\t\n\t\tSet<ConceptInclusionAxiom> normalizedAxioms = normalizer.getNormalizedAxioms();\n\t\tSet<ConceptInclusionAxiom> subELIConceptAxioms = normalizer.getSubELIConceptAxioms();\n\t\tSet<ConceptInclusionAxiom> specialAxioms = normalizer.getSpecialAxioms();\n\t\t\n\t\t// Normal Axioms\n\t\tfor (ConceptInclusionAxiom subConceptOfAxiom : normalizedAxioms) {\n\t\t\t\n\t\t\tSystem.out.println(\"Translate normalized axiom: \" + subConceptOfAxiom);\n\t\t\n\t\t\tConcept subConcept = subConceptOfAxiom.getSubConcept();\n\t\t\tConcept superConcept = subConceptOfAxiom.getSuperConcept();\n\t\t\t\n\t\t\tif (subConcept instanceof BottomConcept || superConcept instanceof TopConcept) { \n\t\t\t\tSystem.setOut(errorInTranslationFile);\n\t\t\t\tSystem.out.println(\"Error during translation. Axiom: \" + subConceptOfAxiom);\n\t\t\t\tSystem.setOut(ontTranslationFile);\n\t\t\t}\n\t\t\telse if (subConcept instanceof TopConcept) {\n\t\t\t\tspecialAxioms.add(subConceptOfAxiom);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tBody body = new Body();\n\t\t\t\tHead head = new Head();\n\t\t\t\t\n\t\t\t\tVariable x = new Variable(\"X\");\n\t\t\t\tVariable y = new Variable(\"Y\");\n\t\t\t\tVariable y1 = new Variable(\"Y1\");\n\t\t\t\t\n\t\t\t\tif (subConcept.isAtomic()) {\n\t\t\t\t\tbody.getBodyLiterals().add(getLiteralFromAtomicConcept(subConcept, x));\n\t\t\t\t} else if (subConcept instanceof ConjunctionConcept) {\n\t\t\t\t\tConjunctionConcept conj = (ConjunctionConcept) subConcept;\n\t\t\t\t\tfor (Concept c : conj.getConcepts()) {\n\t\t\t\t\t\tbody.getBodyLiterals().add(getLiteralFromAtomicConcept(c, x));\n\t\t\t\t\t}\n\t\t\t\t} \n\t\t\t\t\n\t\t\t\tif (superConcept.isAtomic()) {\n\t\t\t\t\thead.setHeadAtom(getLiteralFromAtomicConcept(superConcept, x));\n\t\t\t\t} else if (superConcept instanceof UniversalConcept) {\n\t\t\t\t\thead.setHeadAtom(getLiteralFromAtomicConcept(((UniversalConcept) superConcept).getConcept(), y));\n\t\t\t\t\tbody.getBodyLiterals().add(getLiteralFromRole(((UniversalConcept) superConcept).getRole(), x, y));\n\t\t\t\t} else if (superConcept instanceof MaxCardinalityConcept) {\n\t\t\t\t\tif (((MaxCardinalityConcept) superConcept).getMaxCardinality() == 1) {\n\t\t\t\t\t\tbody.getBodyLiterals().add(getLiteralFromRole(((MaxCardinalityConcept)superConcept).getRole(), x, y));\n\t\t\t\t\t\tbody.getBodyLiterals().add(getLiteralFromRole(((MaxCardinalityConcept)superConcept).getRole(), x, y1));\n\t\t\t\t\t\tbody.getBodyLiterals().add(getLiteralFromAtomicConcept(((MaxCardinalityConcept) superConcept).getConcept(),y));\n\t\t\t\t\t\tbody.getBodyLiterals().add(getLiteralFromAtomicConcept(((MaxCardinalityConcept) superConcept).getConcept(),y1));\n\t\t\t\t\t\tbody.getInequalities().add(new NotEqualToLiteral(y, y1));\n\t\t\t\t\t} else if (((MaxCardinalityConcept) superConcept).getMaxCardinality() == 0){\n\t\t\t\t\t\tbody.getBodyLiterals().add(getLiteralFromRole(((MaxCardinalityConcept)superConcept).getRole(), x, y));\n\t\t\t\t\t\tbody.getBodyLiterals().add(getLiteralFromAtomicConcept(((MaxCardinalityConcept) superConcept).getConcept(),y));\n\t\t\t\t\t}\n\t\t\t\t} \n\t\t\t\t\t\n\t\t\t\tRule rule = new Rule(head, body);\n\t\t\t\trules.add(rule);\n\t\t\t\tif (superConcept instanceof BottomConcept) {\n\t\t\t\t\tSystem.out.println(\"Added Datalog constraint: \" + rule);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(\"Added Datalog rule: \" + rule);\n\t\t\t\t}\n\t\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\t// ELI-SubConcept Axioms\n\t\tfor (ConceptInclusionAxiom ax : subELIConceptAxioms) {\n\t\t\tSystem.out.println(\"Translate ELI-SubConcept axiom: \" + ax);\n\t\t\tBody body = new Body();\n\t\t\tConcept c = ax.getSubConcept();\n\t\t\tgetBodyLiteralsfromELIConcept(body, c, 0, new Variable(\"X\")); \n\t\t\tHead head = new Head();\n\t\t\thead.setHeadAtom(getLiteralFromAtomicConcept(ax.getSuperConcept(), new Variable(\"X\")));\n\t\t\tRule rule = new Rule(head, body);\n\t\t\trules.add(rule);\n\t\t\tSystem.out.println(\"Added Datalog rule: \" + rule);\t\t\t\t\t\t\t\t\n\t\t}\n\t\t\n\t\t// Special Axioms\n\t\tfor (ConceptInclusionAxiom specialAx : specialAxioms) {\n\t\t\tSystem.out.println(\"Translate special axiom: \" + specialAx);\n\t\t\tif (specialAx.getSuperConcept() instanceof UniversalConcept) {\n\t\t\t\tUniversalConcept superConcept = (UniversalConcept) specialAx.getSuperConcept();\n\t\t\t\tRole r = superConcept.getRole();\n\t\t\t\tConcept c = superConcept.getConcept();\n\t\t\t\tif (c instanceof AtomicConcept) {\n\t\t\t\t\tBody body = new Body();\n\t\t\t\t\tHead head = new Head();\n\t\t\t\t\t\n\t\t\t\t\tVariable x = new Variable(\"_\");\n\t\t\t\t\tVariable y = new Variable(\"Y\");\n\t\t\t\t\t\n\t\t\t\t\tbody.getBodyLiterals().add(getLiteralFromRole(r, x, y));\n\t\t\t\t\thead.setHeadAtom(getLiteralFromAtomicConcept(c, y));\n\t\t\t\t\t\n\t\t\t\t\tRule rule = new Rule(head, body);\n\t\t\t\t\trules.add(rule);\n\t\t\t\t\t\n\t\t\t\t\tSystem.out.println(\"Added Datalog rule: \" + rule);\n\t\t\t\t\t\n\t\t\t\t} else {\n\t\t\t\t\tSystem.setOut(errorInTranslationFile);\n\t\t\t\t\tSystem.out.println(\"Unmanaged traslation: \" + specialAx);\n\t\t\t\t\tSystem.setOut(ontTranslationFile);\n\t\t\t\t}\n\t\t\t} \n\t\t\telse if (specialAx.getSuperConcept() instanceof MaxCardinalityConcept) {\n\t\t\t\tMaxCardinalityConcept superConcept = (MaxCardinalityConcept) specialAx.getSuperConcept();\n\t\t\t\tint m = superConcept.getMaxCardinality();\n\t\t\t\tRole r = superConcept.getRole();\n\t\t\t\tConcept c = superConcept.getConcept();\n\t\t\t\tif (m == 1 && c instanceof TopConcept) {\n\t\t\t\t\tBody body = new Body();\n\t\t\t\t\tHead head = new Head();\n\t\t\t\t\t\n\t\t\t\t\tVariable x = new Variable(\"X\");\n\t\t\t\t\tVariable y1 = new Variable(\"Y1\");\n\t\t\t\t\tVariable y2 = new Variable(\"Y2\");\n\t\t\t\t\t\n\t\t\t\t\tLiteral sameAs = new Literal(\"sameAs\", 2);\n\t\t\t\t\tsameAs.getArguments().add(y1);\n\t\t\t\t\tsameAs.getArguments().add(y2);\n\t\t\t\t\t\n\t\t\t\t\tNotEqualToLiteral neq = new NotEqualToLiteral(y1, y2);\n\t\t\t\t\t\n\t\t\t\t\tbody.getBodyLiterals().add(getLiteralFromRole(r, x, y1));\n\t\t\t\t\tbody.getBodyLiterals().add(getLiteralFromRole(r, x, y2));\n\t\t\t\t\tbody.getInequalities().add(neq);\n\t\t\t\t\thead.setHeadAtom(sameAs);\n\t\t\t\t\t\n\t\t\t\t\tRule rule = new Rule(head, body);\n\t\t\t\t\trules.add(rule);\n\t\t\t\t\t\n\t\t\t\t\tSystem.out.println(\"Added Datalog rule: \" + rule);\n\t\t\t\t\t\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Unmanaged traslation: \" + specialAx);\n\t\t\t\t}\n\t\t\t} \n\t\t\telse {\n\t\t\t\tSystem.out.println(\"Unmanaged traslation: \" + specialAx);\n\t\t\t}\n\t\t}\n\t\t\n\t\t// Role Inclusion Rewriting\n\t\tfor (RoleInclusionAxiom roleInclusion : tbox.getRoleInclusions()) {\n\t\t\t\n\t\t\tSystem.out.println(\"Translate axiom: \" + roleInclusion);\n\t\t\t\n\t\t\tRole subRole = roleInclusion.getSubRole();\n\t\t\tRole superRole = roleInclusion.getSuperRole();\n\t\t\tVariable x = new Variable(\"X\");\n\t\t\tVariable y = new Variable(\"Y\");\n\t\t\t// Body\n\t\t\tBody body = new Body();\n\t\t\tbody.getBodyLiterals().add(getLiteralFromRole(subRole,x,y));\n\t\t\t// Head\n\t\t\tHead head = new Head(getLiteralFromRole(superRole,x,y));\n\t\t\t\n\t\t\tRule rule = new Rule(head, body);\n\t\t\trules.add(rule);\n\t\t\t\n\t\t\tSystem.out.println(\"Added Datalog rule: \" + rule);\n\t\t\t\n\t\t}\n\t\t\n\t\t// Disjoint Roles Rewriting\n\t\tfor (DisjointRolesAxiom disjointRoles : tbox.getDisjointRolesAxioms()) {\n\t\t\t\n\t\t\tSystem.out.println(\"Translate axiom: \" + disjointRoles);\n\t\t\t\n\t\t\tRole firstRole = disjointRoles.getRole1();\n\t\t\tRole secondRole = disjointRoles.getRole2();\n\t\t\tVariable x = new Variable(\"X\");\n\t\t\tVariable y = new Variable(\"Y\");\n\t\t\t// Head (void)\n\t\t\tHead voidHead = new Head();\n\t\t\t// Body\n\t\t\tBody body = new Body();\n\t\t\tbody.getBodyLiterals().add(getLiteralFromRole(firstRole,x,y));\n\t\t\tbody.getBodyLiterals().add(getLiteralFromRole(secondRole,x,y));\n\t\t\t\n\t\t\tRule rule = new Rule(voidHead, body);\n\t\t\trules.add(rule);\n\t\t\t\n\t\t\tSystem.out.println(\"Added Datalog rule: \" + rule);\n\t\t\t\n\t\t}\n\t\t\n\t\t// Irreflexive Axioms Rewriting\n\t\tfor (IrreflexiveAxiom irreflexiveRole : tbox.getIrreflexiveAxioms()) {\n\t\t\t\n\t\t\tSystem.out.println(\"Translate axiom: \" + irreflexiveRole);\n\t\t\t\n\t\t\tRole role = irreflexiveRole.getRole();\n\t\t\t// Head (void)\n\t\t\tHead voidHead = new Head();\n\t\t\t// Body\n\t\t\tBody body = new Body();\n\t\t\tbody.getBodyLiterals().add(getLiteralFromRole(role,new Variable(\"X\")));\n\t\t\t\n\t\t\tRule rule = new Rule(voidHead, body);\n\t\t\trules.add(rule);\n\t\t\t\n\t\t\tSystem.out.println(\"Added Datalog rule: \" + rule);\n\t\t\t\n\t\t}\n\t\t\n\t\t// Asymmetric Axioms Rewriting\n\t\tfor (AsymmetricAxiom asymmetricRole : tbox.getAsymmetricAxioms()) {\n\t\t\t\n\t\t\tSystem.out.println(\"Translate axiom: \" + asymmetricRole);\n\t\t\t\n\t\t\tRole role = asymmetricRole.getRole();\n\t\t\tVariable x = new Variable(\"X\");\n\t\t\tVariable y = new Variable(\"Y\");\n\t\t\t// Head (void)\n\t\t\tHead voidHead = new Head();\n\t\t\t// Body\n\t\t\tBody body = new Body();\n\t\t\tbody.getBodyLiterals().add(getLiteralFromRole(role,x,y));\n\t\t\tbody.getBodyLiterals().add(getLiteralFromRole(role,y,x));\n\t\t\t\n\t\t\tRule rule = new Rule(voidHead, body);\n\t\t\trules.add(rule);\n\t\t\t\n\t\t\tSystem.out.println(\"Added Datalog rule: \" + rule);\n\t\t\t\n\t\t}\n\t\t\n\t\t// Transitivity Axioms Rewriting\n\t\tfor (TransitivityAxiom transitivityRole : tbox.getTransitivityAxioms()) {\n\t\t\t\n\t\t\tSystem.out.println(\"Translate axiom: \" + transitivityRole);\n\t\t\t\n\t\t\tRole role = transitivityRole.getRole();\n\t\t\tVariable x = new Variable(\"X\");\n\t\t\tVariable y = new Variable(\"Y\");\n\t\t\tVariable z = new Variable(\"Z\");\n\t\t\t//Head\n\t\t\tHead head = new Head(getLiteralFromRole(role,x,z));\n\t\t\t// Body\n\t\t\tBody body = new Body();\n\t\t\tbody.getBodyLiterals().add(getLiteralFromRole(role,x,y));\n\t\t\tbody.getBodyLiterals().add(getLiteralFromRole(role,y,z));\n\t\t\t\n\t\t\tRule rule = new Rule(head, body);\n\t\t\trules.add(rule);\n\t\t\t\n\t\t\tSystem.out.println(\"Added Datalog rule: \" + rule);\n\t\t\t\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "a66f01e3f30db93dbd40ad9bc6d9efb5", "score": "0.4810084", "text": "public static void main(String[] args) {\n\t\tSystem.setProperty(\"wordnet.database.dir\", \"C:/Users/yjeswani/Downloads/WordNet-3.0/WordNet-3.0/dict\");\n\t\t\n\t\t\t\n\t\t\t\n\t\tString context=\"The bank can guarantee deposits will eventually cover future tuition costs because it invests in adjustable-rate mortgage securities\";\n\t\t //String context=\"The bank of the river contains pebbles\";\n\t\t\tString [] con=context.split(\" \");\n\t\t\t\n\t\t\t\n\t\t\tfor(int a=0;a<con.length;a++){\n\t\t\t\t//System.out.println(con[a]);\n\t\t\t\t/*if(con[a].equals(\"it\")|| con[a].equals(\"can\")|| con[a].equals(\"in\")){\n\t\t\t\t\t\n\t\t\t\t}else*/\n\t\t\t\tcontent.add(con[a]);\n\t\t\t}\n\t\t\tWordNetDatabase wd = WordNetDatabase.getFileInstance();\n\t\t\tSynset[] synsets = wd.getSynsets(\"bank\");\n\t\t\t//System.out.println(synsets.length);\n\t\t\t\n\t\t\tfor (int i = 0; i < synsets.length; i++)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\n\t\t\t\tString[] wordForms = synsets[i].getWordForms();\n\t\t\t\t\n\t\t\t\tString defn= synsets[i].getDefinition();\n\t\t\t\t\n\t\t\t\tdefn=defn.replace(\"(\",\"\");\n\t\t\t\tdefn=defn.replace(\")\",\"\");\n\t\t\t\t\n\t\t\t\tString definition[]=defn.split(\" \");\n\t\t\t\t\n\t\t\t\tfor(int j=0;j<definition.length;j++){\n\t\t\t\t\t//System.out.println(definition[j]);\n\t\t\t\t\tdefgloss.add(definition[j]);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tString arr[]=synsets[i].getUsageExamples();\n\t\t\t\t\n\t\t\t\tfor(int k=0;k<arr.length;k++){\n\t\t\t\t\t\n\t\t\t\t\tarr[k]=arr[k].replace(\"\\\"\", \"\");\n\t\t\t\t\t\n\t\t\t\t\t//System.out.println(arr[k]);\n\t\t\t\t\t\n\t\t\t\t\tString temp[] =arr[k].split(\" \");\n\t\t\t\t\t\n\t\t\t\t\tfor(String s: temp){\n\t\t\t\t\t\t//System.out.println(s);\n\t\t\t\t\t\tdefgloss.add(s);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tint temp=0;\n\t\t\t\t\n\t\t\t\ttemp=compute(content,defgloss);\n\t\t\t\t\n\t\t\t\t//System.out.println(temp);\n\t\t\t\t\n\t\t\t\tSystem.out.println(\"The Overlap for the Sense below is \");\n\t\t\t\t\n\t\t\t\tfor (int j = 0; j < wordForms.length; j++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print((j > 0 ? \", \" : \"\") +\n\t\t\t\t\t\t\twordForms[j]);\n\t\t\t\t\t\n\t\t\t\t\tbest.append(wordForms[j]+\" \");\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tbest.append(\":\"+synsets[i].getDefinition());\n\t\t\t\tSystem.out.print(\": \" + synsets[i].getDefinition());\n\t\t\t\tSystem.out.print(\" \"+ temp);\n\t\t\t\tSystem.out.println();\n\t\t\t\tSystem.out.println();\n\t\t\t\t\n\t\t\t\tif(maxoverlap<temp){\n\t\t\t\t\tmaxoverlap=temp;\n\t\t\t\t\t\n\t\t\t\t\t//bestsense=best;\n\t\t\t\t\ttemp1=best.toString();\n\t\t\t\t\t//System.out.println(\"The BestSense is \"+bestsense);\n\t\t\t\t\tbest.delete(0, best.length());\n\t\t\t\t\t//System.out.println(best);\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tdefgloss.clear();\n\t\t\t\t\n\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"The best sense for given context is :\"+ temp1);\n\t\t\n\t\t}", "title": "" } ]
ead230ff1d484ac0855a10832ae4ea48
Returns the number of retransmitted packets during this mocket connection
[ { "docid": "978896619199e84475eab30e6c475bbf", "score": "0.81168157", "text": "public native long getRetransmittedPacketCount()\n throws IOException, IllegalArgumentException;", "title": "" } ]
[ { "docid": "5014c1b926c415a927f43d08c85f8a9d", "score": "0.7409761", "text": "public int countTransmission(){\n\t\treturn this.curPackets.size();\n\t}", "title": "" }, { "docid": "276e36eca2a979b767160bb1dff6a903", "score": "0.67206347", "text": "public int getTransmissionCount(){\n return networkTransmitCount + 1;\n }", "title": "" }, { "docid": "8b0110735a15b27dce85199a408353f0", "score": "0.66595745", "text": "int getNetTransferMsgsCount();", "title": "" }, { "docid": "fb721437903a2a7024a38ef2deace5e8", "score": "0.66336936", "text": "public int getNetworkTransmitCount() {\n return networkTransmitCount;\n }", "title": "" }, { "docid": "582c556c721cc340f2b3f912cbaf886c", "score": "0.6487139", "text": "public int getNetTransferMsgsCount() {\n return netTransferMsgs_.size();\n }", "title": "" }, { "docid": "2cc19c827569ea8469736d479c3c5466", "score": "0.6390859", "text": "public native long getSentPacketCount()\n throws IOException, IllegalArgumentException;", "title": "" }, { "docid": "552bcd8171b460e1d97b267798819c3c", "score": "0.6380489", "text": "@MavlinkFieldInfo(\n position = 5,\n unitSize = 2,\n description = \"Number of packets being sent (set on ACK only).\"\n )\n public final int packets() {\n return this.packets;\n }", "title": "" }, { "docid": "202f7960517754bdbbb56e9c254824bc", "score": "0.6315738", "text": "public native long getReceivedPacketCount()\n throws IOException, IllegalArgumentException;", "title": "" }, { "docid": "04dde7a43bb87ba826dd90a47ce68e86", "score": "0.62403", "text": "public static int getPendingRequests() {\n\t\treturn writeQueue.size() + requestsBeingSending.intValue();\n\t}", "title": "" }, { "docid": "dd3b05afadf367fe7486b1be30b85775", "score": "0.6211294", "text": "private int getNumSent() {\n\t\tint ret = 0;\n\t\tfor (int x=0; x<_sentPackets.getSize(); x++) {\n\t\t\tif (_sentPackets.bitAt(x)) {\n\t\t\t\tret++;\n\t\t\t}\n\t\t}\n\t\treturn ret;\n\t}", "title": "" }, { "docid": "66a70c35ce87e815ea681bb34f2b0960", "score": "0.6204462", "text": "public int unacked() { return unackSize; }", "title": "" }, { "docid": "fffc749da3ad8d985f12cefa0f3f38ff", "score": "0.6155193", "text": "public int numOutgoing() {\r\n int result = outgoing.size();\r\n return result;\r\n }", "title": "" }, { "docid": "d68a8d07ebc0840327fc1536ccb3cb22", "score": "0.6138275", "text": "public native long getDuplicatedDiscardedPacketCount()\n throws IOException, IllegalArgumentException;", "title": "" }, { "docid": "50d19d752c28542c417a5691df21b978", "score": "0.6138059", "text": "public int getNetTransferMsgsCount() {\n if (netTransferMsgsBuilder_ == null) {\n return netTransferMsgs_.size();\n } else {\n return netTransferMsgsBuilder_.getCount();\n }\n }", "title": "" }, { "docid": "9313680f8e5afe4e0a23142dffe869c9", "score": "0.6076517", "text": "public Long getLostPackets() {\n return lostPackets;\n }", "title": "" }, { "docid": "1e662f8b2d71ae6b9ca1399662bc855b", "score": "0.6030221", "text": "public long getMessageNackCount() {\n return messageMetrics.nacks.get();\n }", "title": "" }, { "docid": "0607394a2340dd8921cd5e6020bafa1d", "score": "0.6020269", "text": "public int getNewMessageCount() {\n return messages.size() + droppedMessages.size();\n }", "title": "" }, { "docid": "fc5919545d881595920413efd7e90a89", "score": "0.6013574", "text": "public Long getRcvPackets() {\n\t\treturn rcvPackets;\n\t}", "title": "" }, { "docid": "76a73e674e47ca889458aa322b9a0dc4", "score": "0.59518343", "text": "@Override\n public abstract long getReceivedBytesCount();", "title": "" }, { "docid": "0c8117834f377a834455a6dc4a40cd23", "score": "0.592944", "text": "public Long getReceiveSuccessRequestTimes()\r\n {\r\n return receiveSuccessRequestTimes;\r\n }", "title": "" }, { "docid": "cc793f7251ed74c5009dac015ff64b5b", "score": "0.5906433", "text": "public int our_packetsLost(){ //For a group call, should take an input ID, should be UPDATED\n return this.our_packs_lost;\n }", "title": "" }, { "docid": "2f13fb857d0ac50a75a13d9cc76e7b0e", "score": "0.5866318", "text": "public Long getReceiveSuccessResponseTimes()\r\n {\r\n return receiveSuccessResponseTimes;\r\n }", "title": "" }, { "docid": "a6d3f771b721f828dc384c5d0674f2f6", "score": "0.5858542", "text": "@Nonnegative\n @CheckReturnValue\n public abstract int getRemainingRequests();", "title": "" }, { "docid": "40f02aae413dd4cedd27666a27fd812a", "score": "0.5836141", "text": "public int numIncoming() {\r\n int result = incoming.size();\r\n return result;\r\n }", "title": "" }, { "docid": "73ff1b627d1adc6980858898e534de4a", "score": "0.5821627", "text": "@Override\n public abstract long getSentBytesCount();", "title": "" }, { "docid": "08e460d0ec1f79e7e8dc35aab8a9ebcd", "score": "0.5804882", "text": "public synchronized int getNumSent(){\n return numSent;\n }", "title": "" }, { "docid": "093c59d370d415642bec45336d36c047", "score": "0.57922137", "text": "public int getRequestsCount() {\n return instance.getRequestsCount();\n }", "title": "" }, { "docid": "ec51e9e92949ce5dacbc56259ed9bd65", "score": "0.57914054", "text": "public Long getSentPackets() {\n\t\treturn sentPackets;\n\t}", "title": "" }, { "docid": "0c50ec773dcaa4c148f54fdb87bf0196", "score": "0.5769998", "text": "int getPayloadCount();", "title": "" }, { "docid": "995ea5f1850eca8c1b1c0d752c2d2821", "score": "0.5763153", "text": "public int connectionCount()\n {\n return _connectionCount;\n }", "title": "" }, { "docid": "bc75619ce83cad95391226137d059baf", "score": "0.5713998", "text": "public native long getNoRoomDiscardedPacketCount()\n throws IOException, IllegalArgumentException;", "title": "" }, { "docid": "55c2c23c178db2eaab3f5a368b529871", "score": "0.5713382", "text": "int getTotalCreatedConnections();", "title": "" }, { "docid": "e8784847f7f8e211020e6cafe2d660a2", "score": "0.5712297", "text": "public int getMsgCount() {\n return instance.getMsgCount();\n }", "title": "" }, { "docid": "e8784847f7f8e211020e6cafe2d660a2", "score": "0.5712297", "text": "public int getMsgCount() {\n return instance.getMsgCount();\n }", "title": "" }, { "docid": "630558e165d16a0d6253260e283df7b6", "score": "0.56977266", "text": "public int getMessagesSent() {\n return this.messagesSent;\n }", "title": "" }, { "docid": "5230e28d75d7c24dc2e8528c9e67001c", "score": "0.5690143", "text": "public int getTotalConnections()\n {\n // return _connections.size();\n return 0;\n }", "title": "" }, { "docid": "8f5925b7dd3e0175f6a973113aa910b8", "score": "0.56785417", "text": "public long getMessageAckCount() {\n return messageMetrics.acks.get();\n }", "title": "" }, { "docid": "11bf74b1e1c2671e6b8fe52ed280189f", "score": "0.56709605", "text": "public int numConnections(){\n return connections.size();\n }", "title": "" }, { "docid": "458b51764fc1283745c9f28d67f0b399", "score": "0.56589735", "text": "public int remain() {\n if (sendbuffer == null) {\n return 0;\n }\n return sendbuffer.remaining();\n }", "title": "" }, { "docid": "6ab44f56b097625495bd3968d9b67367", "score": "0.5656686", "text": "public Long getSendSuccessResponseTimes()\r\n {\r\n return sendSuccessResponseTimes;\r\n }", "title": "" }, { "docid": "5617cc75d54f797d1f9e43787e7d5e8c", "score": "0.56557125", "text": "public int getPacketLength() {\n return TfsConstant.INT_SIZE * 3 + failServer.size() * TfsConstant.LONG_SIZE;\n }", "title": "" }, { "docid": "bc05ea974bed4692258f15bfb36df2f9", "score": "0.5652213", "text": "public static int getOnGoingSends() {\n return onGoingSends.get() + sendQueue.size();\n }", "title": "" }, { "docid": "67e97471006468ed46ee538f26953dc6", "score": "0.5648057", "text": "public Long getSendRequestTimes()\r\n {\r\n return sendRequestTimes;\r\n }", "title": "" }, { "docid": "f262d6edb35c681009b6026eeee112a5", "score": "0.5624925", "text": "public Integer getNumPktsDropped() {\n return numPktsDropped;\n }", "title": "" }, { "docid": "f43d35ec2690acb2e941a777e1464cf1", "score": "0.56201184", "text": "long getReceivedEventsCount();", "title": "" }, { "docid": "063c11139ec07a4274fd3aa78a2242d8", "score": "0.5617409", "text": "int getMsgCount();", "title": "" }, { "docid": "063c11139ec07a4274fd3aa78a2242d8", "score": "0.5617409", "text": "int getMsgCount();", "title": "" }, { "docid": "5d808bfba94372b5f2f07532d7882a3c", "score": "0.56091744", "text": "public static int count() {\n return postEncryptedPaymentRequestCount;\n }", "title": "" }, { "docid": "1a05318efe6e8b3e432ba4ae6dd20ff9", "score": "0.55967194", "text": "int getEnqueuedBlockRequestsNumber() {\n int count = 0;\n for (StdPeerMessage pm : sendQueue) {\n if (pm.type == StdPeerMessage.REQUEST) {\n count++;\n }\n }\n return count;\n }", "title": "" }, { "docid": "5a3ff0c40b167d6501fbd91180c823f8", "score": "0.55758953", "text": "public static int size_p_sendts() {\n return (32 / 8);\n }", "title": "" }, { "docid": "a20531001ee37e42591fdce9aee8caf2", "score": "0.557173", "text": "public int getRequestsCount() {\n return requests_.size();\n }", "title": "" }, { "docid": "57f229c702cfd53a1bd1e2eb8fe207c2", "score": "0.556245", "text": "public synchronized int getMessageCount() {\n return _references.size();\n }", "title": "" }, { "docid": "09802743553c3b08acd80f66f5077cf5", "score": "0.5559707", "text": "public int getNumNetworkCopies(){\n synchronized (networkCopiesLock){\n return this.networkCopies.size();\n }\n }", "title": "" }, { "docid": "e1ea5bfc67796723fe4efc4ce8001239", "score": "0.55555004", "text": "int getUncommittedEventCount();", "title": "" }, { "docid": "57593644e5357f285087688444f02679", "score": "0.5548834", "text": "public int getRequestsCount() {\n return requests_.size();\n }", "title": "" }, { "docid": "9f064f5b9d058d9e5a628fd8b89d816b", "score": "0.5537725", "text": "int getConnectionsCount();", "title": "" }, { "docid": "761001e637b49e77feae2f9c86c2bbca", "score": "0.55369323", "text": "public int getReconnectionDelay() {\n return reconnectionDelay;\n }", "title": "" }, { "docid": "00ac5e53ecf1a3d77791a9b918cd77b7", "score": "0.5536012", "text": "public int getNumOfConnections() {\r\n\t\treturn numOfConnections;\r\n\t}", "title": "" }, { "docid": "2887d2fddee1cf684e203f56f2d020f9", "score": "0.5528278", "text": "int getRequestsCount();", "title": "" }, { "docid": "2887d2fddee1cf684e203f56f2d020f9", "score": "0.5528278", "text": "int getRequestsCount();", "title": "" }, { "docid": "02196742591b1ed7ba5fb602718165e8", "score": "0.55192053", "text": "@ManagedMetric(category=\"UDPOpRequests\", metricType=MetricType.COUNTER, description=\"total number of agent operations received\")\n\tpublic long getRequestsReceived() {\n\t\treturn getMetricValue(\"RequestsReceived\");\n\t}", "title": "" }, { "docid": "cc4b3dfb2cb7da5dcca7ac0d92e995ca", "score": "0.5499958", "text": "long getRequestsCount();", "title": "" }, { "docid": "e78a7f9ac8198c8c36cc1d74f562f575", "score": "0.54987717", "text": "public final int getPendingCount()\n/* */ {\n/* 508 */ return this.pending;\n/* */ }", "title": "" }, { "docid": "7f4585d5684506ba0caa40672ebd34fb", "score": "0.54978997", "text": "private int getMaxReconsumeTimes() {\n if (this.defaultMQPushConsumer.getMaxReconsumeTimes() == -1) {\n return Integer.MAX_VALUE;\n } else {\n return this.defaultMQPushConsumer.getMaxReconsumeTimes();\n }\n }", "title": "" }, { "docid": "310d5e82f80e7c2cacb42fedb89a6ceb", "score": "0.5496026", "text": "public int getTransSize(){\n return TxPool_new.size(); \n }", "title": "" }, { "docid": "35ed237d6e279986c5ce4f74fdb78190", "score": "0.5495838", "text": "public void timeoutCheckAndRetransmit() throws IOException{\n\t\tfor ( int j=0; j<window.size(); j++ ){\n\t\t\tif (window.get(j).counter > DEFAULT_COUNTER_BOUND && window.get(j).acked == false){//retransmit this packet\n\t\t\t\treTransmit( j );\n\t\t\t\tSystem.out.println(\"SRSender \"+senderID+\" > \"+\"retransmit< \"+window.get(j).indexS+\", \"+(window.get(j).indexE-1)+\">\");\n\t\t\t}\n\t\t}\n\t\treturn;\n\t}", "title": "" }, { "docid": "6a8788334ef047310ad12076fb7de1b5", "score": "0.5491603", "text": "public long getConnectionCount() {\n return connectionCount.getCount();\n }", "title": "" }, { "docid": "96ce9d12ce3ff35c6cd5359f427f6397", "score": "0.5481361", "text": "public int getLastTransferState();", "title": "" }, { "docid": "e074778d268816b7d1a183e07dfdc197", "score": "0.54386204", "text": "public int getUseCount() {\n\t\tint useCount=0;\n\t\tsynchronized(connStatus) {\n\t\t\tfor(int i=0; i < currConnections; i++) {\n\t\t\t\tif(connStatus[i] > 0) { // In use\n\t\t\t\t\tuseCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn useCount;\n\t}", "title": "" }, { "docid": "115a0e647f23ed8d96e89f774af80f4a", "score": "0.54247755", "text": "protected int getProtocolReadyOps()\n {\n return m_nOpsReadyProtocol;\n }", "title": "" }, { "docid": "fdfb20c01bbe520399a9affcecfc6a0e", "score": "0.54224", "text": "public Long get_cachetotrevalidationmiss() throws Exception {\n\t\treturn this.cachetotrevalidationmiss;\n\t}", "title": "" }, { "docid": "eeedfaae539e2560cb86fb054d107c87", "score": "0.5418109", "text": "int getNumBufferedBytes() {\n ChannelBuffer buf;\n int IOQueued;\n for (IOQueued = 0, buf = inQueueHead;\n buf != null; buf = buf.next) {\n IOQueued += buf.nextAdded - buf.nextRemoved;\n }\n return IOQueued;\n }", "title": "" }, { "docid": "add57e5b99fa6b6dfe1129070425eaae", "score": "0.54135126", "text": "public int getMissedCallsCount();", "title": "" }, { "docid": "deb799b57c186ab00222b50d40f87a8c", "score": "0.5408841", "text": "public int getMsgCount() {\n return msg_.size();\n }", "title": "" }, { "docid": "deb799b57c186ab00222b50d40f87a8c", "score": "0.5408841", "text": "public int getMsgCount() {\n return msg_.size();\n }", "title": "" }, { "docid": "9c2914e6957365dac3308c3d05dacf8d", "score": "0.53935134", "text": "public int getNumTransactionsInBlock() {\r\n return numTransactionsInBlock;\r\n }", "title": "" }, { "docid": "32995888b612c89d26c050a16f65f4d9", "score": "0.53911096", "text": "public Integer getMessageCount() {\r\n return messageCount;\r\n }", "title": "" }, { "docid": "d17737806c9cc0fc643cd3e3070e4b91", "score": "0.5385492", "text": "public int getSize() {\n\t\treturn currConnections;\n\t}", "title": "" }, { "docid": "15c98a808f77cdd1229585b84ffd9cbb", "score": "0.538438", "text": "public int getTransactionStateCount() {\n return transactionState_.size();\n }", "title": "" }, { "docid": "ba25506af5ccff112f4b7bc42ed80961", "score": "0.53781426", "text": "private int reTransmit( int index ) throws IOException{\n\t\tif ( index < 0 || index>=window.size() ){\n\t\t\tSystem.out.println(\"SRSender \"+senderID+\" > \"+\"error(retrnamit): invalid index: \" + index);\n\t\t\treturn 0;\n\t\t}\n\t\telse if ( window.get(index).acked ){\n\t\t\tSystem.out.println(\"SRSender \"+senderID+\" > \"+\"error(retrnamit): invalid index: \" + index+\"already ACKed\");\n\t\t\treturn 0;\n\t\t}\t\n\t\t\n\t\t//retransmit\n\t\tboolean flag = false;\n\t\tflag = transmitPacket( window.get(index).indexS, window.get(index).indexE, window.get(index).seq );\n\t\t//reset counter\n\t\twindow.get(index).counter = 0;\n\t\twindow.get(index).acked = false;\n\t\t\n\t\tif (flag){\n\t\t\treturn 1;\n\t\t}\n\t\tSystem.out.println(\"SRSender \"+senderID+\" > \"+\"error(retrnamit): fail to retransmit packet at:\" + index);\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "56d818f8a1aad74d489f06bd258c1a69", "score": "0.5377136", "text": "int getMessagesCount();", "title": "" }, { "docid": "56d818f8a1aad74d489f06bd258c1a69", "score": "0.5377136", "text": "int getMessagesCount();", "title": "" }, { "docid": "56d818f8a1aad74d489f06bd258c1a69", "score": "0.5377136", "text": "int getMessagesCount();", "title": "" }, { "docid": "6442b95040fee93f99005ca19b0d913f", "score": "0.537429", "text": "Integer getNumberOfNetworkFailure() {\n return daoInterface.getNumberOfNetworkFailure();\n }", "title": "" }, { "docid": "a16f2159a1532e32ec830148a6347545", "score": "0.5374143", "text": "public Short getTransactrateCount() {\n return transactrateCount;\n }", "title": "" }, { "docid": "f1fa0562eff5434c33f7c65fdfe11643", "score": "0.53718144", "text": "public int receiveNumCards() {\n try {\n return dIn.readInt();\n } catch (IOException e) {\n System.out.println(\"Number of cards not received\");\n e.printStackTrace();\n }\n return 0;\n }", "title": "" }, { "docid": "9b06e845c4fa99867e59507269ed99ef", "score": "0.5364488", "text": "public long getPendingMessageCount() {\n return (long) this.incUpdateQueue.size();\n }", "title": "" }, { "docid": "2d033dbca81a124f41603b2f81bbd410", "score": "0.536366", "text": "@java.lang.Override\n public int getTransactionsCount() {\n return instance.getTransactionsCount();\n }", "title": "" }, { "docid": "e55a837521872352579e4828f6fc226e", "score": "0.536357", "text": "long getTotalAcceptCount();", "title": "" }, { "docid": "978283bd9fd09474f24c672831079077", "score": "0.5353035", "text": "public int getNumOfActionTaken() {\n return numOfActionTaken;\n }", "title": "" }, { "docid": "972b89c278435a36ebd5a9c2d776be96", "score": "0.53472626", "text": "int getPeersCount();", "title": "" }, { "docid": "814ceda44e49b08ed0dff61247d5d4ec", "score": "0.5337086", "text": "public int getRequests()\n\t{\n\t\tint requests=0;\n\t\tString query=\"select count(*) from requests where status=?\";\n\t\ttry\n\t\t{\n\t\t\tConnection con=DBInfo.getConn();\t\n\t\t\tPreparedStatement ps=con.prepareStatement(query);\n\t\t\tps.setString(1, \"Confirm\");\n\t\t\tResultSet res=ps.executeQuery();\n\t\t\twhile(res.next())\n\t\t\t{\n\t\t\t\trequests=res.getInt(1);\n\t\t\t}\n\t\t\tcon.close();\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn requests;\n\t}", "title": "" }, { "docid": "80e18b839144e01fabba787e014824ca", "score": "0.5330573", "text": "public int receiveHandCount() {\n try {\n return dIn.readInt();\n } catch (IOException e) {\n System.out.println(\"Hand count not received\");\n e.printStackTrace();\n }\n return 0;\n }", "title": "" }, { "docid": "272285f0b7c042cb798cea029d250991", "score": "0.53255576", "text": "int getReqCount();", "title": "" }, { "docid": "8064b9fe3781d98ef2600bc6c1c34668", "score": "0.532355", "text": "public int getNumberOfRegisteredMessages() {\n return registeredMessages.size();\n }", "title": "" }, { "docid": "bc4a873266396eec0a83044566df21bd", "score": "0.5323319", "text": "public int lastSentMsgSeqNum()\n {\n return lastSentMsgSeqNum;\n }", "title": "" }, { "docid": "0313589f6d019816ab716387f64378a5", "score": "0.5315674", "text": "public int getNumNodesSeenByMessage() {\r\n return numNodesSeenByMessage;\r\n }", "title": "" }, { "docid": "df82e1f8c97e3bb9fa13536851f71f24", "score": "0.53138906", "text": "public int getThrottledOpWaitTime() {\n return ZooKeeperServer.getThrottledOpWaitTime();\n }", "title": "" }, { "docid": "cb3a69b78048d03393388f7d40213ef0", "score": "0.5313056", "text": "public static long getNumberOfOpenConnections() {\n return openConnections.size();\n }", "title": "" }, { "docid": "a17591e0495bad76c4b9764917b4dbf7", "score": "0.53109336", "text": "public int getDeliveredCount() {\n return delivered_.size();\n }", "title": "" } ]
3c30a00f011035a5076ad0c0ef008f43
create some files and folders for testing purposes
[ { "docid": "dfb7b7952ed02b7664c2bbe312c30343", "score": "0.69656205", "text": "@BeforeAll\n public static void before() throws IOException {\n File f = new File(p);\n f.mkdir();\n\n for (int i = 0; i < numFiles; i++) {\n String[] s = new String[]{\"hello\" + i + \",world\" + i + \"\\nwild\" + i + \",things\" + i};\n String n = p + \"/testFile\" + i;\n createFile(n, s);\n }\n String[] s = {\"hello,world\"};\n createFile(p + \"/singleFile\", s);\n }", "title": "" } ]
[ { "docid": "c879790b47537dc586436ede9b064fa0", "score": "0.72818995", "text": "@Before\n\tpublic void setUp () throws IOException {\n\t\tFile file = new File(OUTPUT_FILE_NAME);\n\t\t\n\t\tFiles.createParentDirs(file);\n\t\t\n\t\tfile.createNewFile();\n\t}", "title": "" }, { "docid": "e286d838868792ba24e003371642053a", "score": "0.71212566", "text": "@BeforeClass\n\tpublic static void createTestFiles() throws IOException {\n\t\tfinal boolean result = TEST_FILE_DIRECTORY.mkdir()\n\t\t\t\t&& TEST_WALLET_FILE.createNewFile()\n\t\t\t\t&& TEST_WALLET_FILE_BAD_EXT.createNewFile();\n\n\t\tif (!result) {\n\t\t\tthrow new RuntimeException(\"unable to initialize test suite\");\n\t\t}\n\t}", "title": "" }, { "docid": "ecd1508c475f84629f41ec0b90a01cb1", "score": "0.7081735", "text": "public static void createFolderHierarchy() {\n String root = System.getProperty(\"user.home\") + File.separator + \"RestTerminal\";\n String dirChunkCreate = root + File.separator + \"ChunkCreate\";\n String dirChunkDump = root + File.separator + \"ChunkDump\";\n String dirChunkGet = root + File.separator + \"ChunkGet\";\n String dirChunkList = root + File.separator + \"ChunkList\";\n String dirChunkPut = root + File.separator + \"ChunkPut\";\n String dirMonitoring = root + File.separator + \"Monitoring\";\n String dirNameList = root + File.separator + \"NameList\";\n String dirNameReg = root + File.separator + \"NameReg\";\n String dirNodeList = root + File.separator + \"NodeList\";\n String dirStatsPrint = root + File.separator + \"StatsPrint\";\n\n String LOG = File.separator + \"log\";\n String DATA = File.separator + \"response\";\n\n try {\n Path m_rootPath = Paths.get(root);\n Path chunkCreate = Paths.get(dirChunkCreate);\n Path chunkDump = Paths.get(dirChunkDump);\n Path chunkGet = Paths.get(dirChunkGet);\n Path chunkList = Paths.get(dirChunkList);\n Path chunkPut = Paths.get(dirChunkPut);\n Path monitoring = Paths.get(dirMonitoring);\n Path nameList = Paths.get(dirNameList);\n Path nameReg = Paths.get(dirNameReg);\n Path nodeList = Paths.get(dirNodeList);\n Path statsPrint = Paths.get(dirStatsPrint);\n\n Files.createDirectories(m_rootPath);\n Files.createDirectories(chunkCreate);\n Files.createDirectories(chunkDump);\n Files.createDirectories(chunkGet);\n Files.createDirectories(chunkList);\n Files.createDirectories(chunkPut);\n Files.createDirectories(monitoring);\n Files.createDirectories(nameList);\n Files.createDirectories(nameReg);\n Files.createDirectories(nodeList);\n Files.createDirectories(statsPrint);\n } catch (IOException e) {\n e.printStackTrace();\n System.exit(1);\n }\n }", "title": "" }, { "docid": "d26699b818443b55350dc8cc77ec7db1", "score": "0.7072975", "text": "private void setUpDirectories() {\n\t\t// Check first if the storage is available\n\t\tString state = Environment.getExternalStorageState();\n\n\t\tif (!Environment.MEDIA_MOUNTED.equals(state)) {\n\t\t\tLog.e(TAG, \"Cannot read/write on the FS. Exiting.\");\n\t\t\tgoToast(\"Cannot read/write on the FS. Exiting.\");\n\t\t\t// System.exit(1);\n\t\t}\n\n\t\tif (!RhizomeUtils.dirRhizome.isDirectory()) {\n\t\t\tRhizomeUtils.dirRhizome.mkdirs();\n\t\t\tLog.i(TAG, \"Rhizome folder (\" + RhizomeUtils.dirRhizome\n\t\t\t\t\t+ \") has been created\");\n\t\t}\n\t\tif (!RhizomeUtils.dirExport.isDirectory()) {\n\t\t\tRhizomeUtils.dirExport.mkdirs();\n\t\t\tLog.i(TAG, \"Rhizome export folder (\" + RhizomeUtils.dirExport\n\t\t\t\t\t+ \") has been created\");\n\t\t}\n\t\tif (!RhizomeUtils.dirRhizomeTemp.isDirectory()) {\n\t\t\tRhizomeUtils.dirRhizomeTemp.mkdirs();\n\t\t\tLog.i(TAG, \"Rhizome temp folder (\" + RhizomeUtils.dirRhizomeTemp\n\t\t\t\t\t+ \") has been created\");\n\t\t}\n\t}", "title": "" }, { "docid": "9bd5911dadc9d4b895c03bbb66b8c880", "score": "0.7068353", "text": "File setupDirectory(String folder) throws CouldNotCreateFolderException;", "title": "" }, { "docid": "febefbd0bfc49a3cace913dda4fd2149", "score": "0.69735104", "text": "public static void createFolder() {\n File outputFolder = new File(\"test-output\");\n if (!outputFolder.exists()) {\n try {\n outputFolder.mkdir();\n } catch (SecurityException e) {\n LogUtils.logError(e.getMessage());\n }\n }\n\n if (!downloadFolder.exists()) {\n try {\n downloadFolder.mkdir();\n } catch (SecurityException e) {\n LogUtils.logError(e.getMessage());\n }\n }\n }", "title": "" }, { "docid": "199b6940d4f6399e014b7ebb38076481", "score": "0.6892982", "text": "@Test\n public void test_createDirectory() throws IOException {\n Path newDirectory = filesSetup.getPathInTestDir(\"newDir\");\n assertFalse(Files.exists(newDirectory));\n assertFalse(Files.isDirectory(newDirectory));\n\n provider.createDirectory(newDirectory);\n\n assertTrue(Files.exists(newDirectory));\n assertTrue(Files.isDirectory(newDirectory));\n\n // Expecting exception when directory already exists.\n try {\n provider.createDirectory(newDirectory);\n fail();\n } catch (FileAlreadyExistsException expected) {\n }\n\n // File with unicode name.\n Path unicodeFilePath = filesSetup.getPathInTestDir(\"टेस्ट डायरेक्टरी\");\n provider.createDirectory(unicodeFilePath);\n assertTrue(Files.exists(unicodeFilePath));\n }", "title": "" }, { "docid": "a22b7343a8a900824585bc04d926c39a", "score": "0.68847513", "text": "@BeforeClass\n public static void setup() throws IOException {\n File f=new File(\"TestFolder\");\n f.mkdir();\n File f1=new File(\"TestFolder\",\"txtExtension.txt\");\n f1.createNewFile();\n FileWriter fout=new FileWriter(\"txtExtension.txt\");\n fout.write(\"Hi,Welcome to java\");\n fout.close();\n File f2=new File(\"TestFolder\",\"htmlExtension.html\");\n f2.createNewFile();\n FileWriter fout1=new FileWriter(\"htmlExtension.html\");\n fout1.write(\"Hi,This is HTML Page\");\n fout1.close();\n File f3=new File(\"TestFolder\",\"cssExtension.css\");\n f3.createNewFile();\n FileWriter fout2=new FileWriter(\"cssExtension.css\");\n fout2.write(\"Hi,This is CSS\");\n fout2.close();\n }", "title": "" }, { "docid": "d00f14c2b04b059e5ace7289c7df45b6", "score": "0.688006", "text": "public static void setUpGame() {\n // Create subdirectory for game files if not already created\n String gameData = FileHelper.CURRENT_DIR + FileHelper.FILE_SEPARATOR + \"data\";\n FileHelper.makeDirectory(gameData);\n\n // Create subdirectory for category files if not already created\n String categories = gameData + FileHelper.FILE_SEPARATOR + \"categories\";\n FileHelper.makeDirectory(categories);\n }", "title": "" }, { "docid": "ab602ea29e817dbf10c741ab0cde51aa", "score": "0.6857486", "text": "@Before\n\tpublic void init() {\n//\t\tFile testdir = new File(TEST_OUTPUT_DIR);\n//\t\ttestdir.mkdir();\n\n\t}", "title": "" }, { "docid": "f061a4938ae835d3d813229ebb8a8d78", "score": "0.6854198", "text": "private void createDirectories() {\n arenaDir = Paths.get(getConfigDir().toString() + \"/arenas\");\n kitDir = Paths.get(getConfigDir().toString() + \"/kits\");\n\n List<Path> directories = Arrays.asList(arenaDir, kitDir);\n for (Path dir : directories) {\n try {\n if (!dir.toFile().exists()) {\n Files.createDirectory(dir);\n }\n } catch (IOException e) {\n logger.warn(\"Error creating directory for \"\n + dir.getFileName().toString());\n }\n }\n }", "title": "" }, { "docid": "ee7c789c783aaabbd8c9bc4d49da7c1c", "score": "0.68338954", "text": "private void init_folders()\r\n\t{\r\n\t\trootDir = new File(getDataFolder() + \"\");\r\n\t\tif (!rootDir.exists())\r\n\t\t{\r\n\t\t\trootDir.mkdir();\r\n\t\t\tgetLogger().info(\"Creating root directory!\");\r\n\t\t}\r\n\t\tplayersDir = new File(getDataFolder() + \"/players\");\r\n\t\tif (!playersDir.exists())\r\n\t\t{\r\n\t\t\tplayersDir.mkdir();\r\n\t\t\tgetLogger().info(\"Creating players directory!\");\r\n\t\t}\r\n\t\tsignsDir = new File(getDataFolder() + \"/signs\");\r\n\t\tif (!signsDir.exists())\r\n\t\t\tsignsDir.mkdir();\r\n\t\tmapsDir = new File(getDataFolder() + \"/maps\");\r\n\t\tif (!mapsDir.exists())\r\n\t\t\tmapsDir.mkdir();\r\n\t}", "title": "" }, { "docid": "6f43cc752b83de3348bcd5e794c501b5", "score": "0.68159175", "text": "public static void generateTestFiles() {\n try{\n PrintWriter writer = new PrintWriter(\"src/main/resources/large_dataset/Employees.txt\", \"UTF-8\");\n generateEmployees(writer);\n writer.close();\n\n writer = new PrintWriter(\"src/main/resources/large_dataset/Skills.txt\", \"UTF-8\");\n generateSkills(writer);\n writer.close();\n\n\n writer = new PrintWriter(\"src/main/resources/large_dataset/EmployeeSkills.txt\", \"UTF-8\");\n generateEmployeeSkills(writer);\n writer.close();\n\n writer = new PrintWriter(\"src/main/resources/large_dataset/TaskSkills.txt\", \"UTF-8\");\n generateTaskSkills(writer);\n writer.close();\n\n writer = new PrintWriter(\"src/main/resources/large_dataset/Tasks.txt\", \"UTF-8\");\n generateTasks(writer);\n writer.close();\n\n writer = new PrintWriter(\"src/main/resources/large_dataset/Projects.txt\", \"UTF-8\");\n generateProjects(writer);\n writer.close();\n\n\n } catch (IOException e) {\n // do something\n }\n }", "title": "" }, { "docid": "a79b3404bc9502e8412715b78319183f", "score": "0.68118787", "text": "public static void createFolderStructureDebug(){\r\n\t\ttry{\r\n\t\t\tFile dir = new File(FilePaths.DATA_PATH);\r\n\t\t\tif (!dir.exists())\r\n\t\t\t\tFileUtilities.forceMkdir(dir);\r\n\r\n\t\t\tdir = new File(FilePaths.DAILY_DATA_PATH);\r\n\t\t\t//see if the folder is created\r\n\t\t\tif (!dir.mkdir()){\r\n\t\t\t\t//or delete the previous files\r\n\t\t\t\tFileUtilities.delete(dir);\r\n\t\t\t\t//and create the folder\r\n\t\t\t\tFileUtilities.forceMkdir(dir);\r\n\t\t\t}\r\n\r\n\t\t\t//create folder for the API log\r\n\t\t\tdir = new File(FilePaths.LOG_PATH);\r\n\t\t\tFileUtilities.forceMkdir(dir);\r\n\r\n\t\t\t//prepare the API log\r\n\t\t\tLogging.prepareOutputLog();\r\n\t\t}catch(Exception e){\r\n\t\t\tLogging.add(\"Unable to create folder structure for debug.\", Logging.ERROR);\r\n\t\t\tJerboa.stop(true);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "d4bd2c5fe935d2a9d0a8ed57099dc2d2", "score": "0.6803386", "text": "@Test\n\tpublic void test() throws IOException {\n\t\tFile file = new File(\"/home/zgm/test/abc/a.txt\");\n\t\t\n\t\tif (!file.getParentFile().exists()) {\n\t\t\tfile.getParentFile().mkdirs();\n\t\t\tassertTrue(file.createNewFile());\n\t\t}\n\t}", "title": "" }, { "docid": "e8786f9f10c37dfac0f312a8aa070d3a", "score": "0.67963684", "text": "@Before\n public void setUp() throws IOException {\n resDir = new File(\"testdata\", getClass().getSimpleName() + \".res\");\n cacheDir = new File(\"testdata\", getClass().getSimpleName() + \".cache\");\n outputDir = new File(\"testdata\", getClass().getSimpleName() + \".output\");\n logDir = new File(\"testdata\", getClass().getSimpleName() + \".log\");\n pluginsDir = new File(\"testdata\", getClass().getSimpleName() + \".plugins\");\n srcTree = new File(\"testdata\", getClass().getSimpleName() + \".src\");\n\n if (resDir.exists()) {\n Util.deleteFolder(resDir);\n }\n if (cacheDir.exists()) {\n Util.deleteFolder(cacheDir);\n }\n if (outputDir.exists()) {\n Util.deleteFolder(outputDir);\n }\n if (logDir.exists()) {\n Util.deleteFolder(logDir);\n }\n if (pluginsDir.exists()) {\n Util.deleteFolder(pluginsDir);\n }\n if (srcTree.exists()) {\n Util.deleteFolder(srcTree);\n }\n \n resDir.mkdir();\n cacheDir.mkdir();\n outputDir.mkdir();\n logDir.mkdir();\n pluginsDir.mkdir();\n copyFolder(getSourceTree(), srcTree);\n }", "title": "" }, { "docid": "e0831bbd6b0f1f07cad9616e8e199195", "score": "0.679636", "text": "public void initFileDir(){\n String dirs[] = {Constant.root, Constant.dirVoice, Constant.dirPhoto, Constant.dirFile,\r\n Constant.dirCamera, Constant.dirProfile, Constant.dirProfileWall };\r\n for(String str: dirs){\r\n File file = new File(str);\r\n if(!file.exists()){\r\n file.mkdirs();\r\n }\r\n }\r\n\r\n\r\n }", "title": "" }, { "docid": "257e38bbc399a8e05e227dd849d7218d", "score": "0.6774439", "text": "public void create() throws InterruptedException, IOException {\n String CREATE_DIR = \"mkdir -p ./names ./pastplaylists ./names/temp ./names/user ./names/database; touch ./names/badQualityRecordings.txt\";\n Process process = new ProcessBuilder(\"/bin/bash\", \"-c\", CREATE_DIR).start();\n process.waitFor();\n }", "title": "" }, { "docid": "3e8097386729861ebe39311e2a2bdb81", "score": "0.6771742", "text": "@BeforeClass\n\tpublic static void setUp() throws FileMoveException, IOException {\n\t\t\n\t\tfolderU1Path = sourceDirPath.resolve(FOLDER_U1_NAME);\n\t\tfolderU1Path.toFile().mkdirs();\n\t\t\n\t\tfolderU2Path = sourceDirPath.resolve(FOLDER_U2_NAME);\n\t\tfolderU2Path.toFile().mkdirs();\n\t\t\n\t\tfolderU2Sub1Path = folderU2Path.resolve(FOLDER_U2_SUB1_NAME);\n\t\tfolderU2Sub1Path.toFile().mkdirs();\n\t\t\n\t\tfolderU3Path = sourceDirPath.resolve(FOLDER_U3_NAME);\n\t\tfolderU3Path.toFile().mkdirs();\n\t\t\n\t\tfileU1Path = sourceDirPath.resolve(FILE_U1_NAME);\n\t\tfileU1Path.toFile().createNewFile();\n\t\t\n\t\tfileU2Path = sourceDirPath.resolve(FILE_U2_NAME);\n\t\tfileU2Path.toFile().createNewFile();\n\t\t\n\t\tfolderU1File1Path = folderU1Path.resolve(FOLDER_U1_FILE_1_NAME);\n\t\tfolderU1File1Path.toFile().createNewFile();\n\t\t\n\t\tfolderU2File1Path = folderU2Path.resolve(FOLDER_U2_FILE_1_NAME);\n\t\tfolderU2File1Path.toFile().createNewFile();\n\t\t\n\t\tfolderU2File2Path = folderU2Path.resolve(FOLDER_U2_FILE_2_NAME);\n\t\tfolderU2File2Path.toFile().createNewFile();\n\t\t\n\t\tfolderU2Sub1File1Path = folderU2Sub1Path.resolve(FOLDER_U2_SUB1_FILE_1_NAME);\n\t\tfolderU2Sub1File1Path.toFile().createNewFile();\n\t\t\n\t\tfolderU2Sub1File2Path = folderU2Sub1Path.resolve(FOLDER_U2_SUB1_FILE_2_NAME);\n\t\tfolderU2Sub1File2Path.toFile().createNewFile();\n\t}", "title": "" }, { "docid": "dc4b51a0fd2b55ac40473c4c02435ab1", "score": "0.67462677", "text": "@Test(priority = 2)\r\n\tpublic void create_New_Folder() throws InterruptedException {\n\t\tnewFolder(\"Automation_\");\r\n\t}", "title": "" }, { "docid": "ed91d2756e3ba725e791992aa7d28a8d", "score": "0.66949743", "text": "@Before\n public void setupEnv() throws IOException\n {\n if (testManifestFiles == null)\n {\n testManifestFiles = getManifestFilesFromFileNames(LOCAL_FILES, FILE_SIZE_1_KB);\n }\n\n // Create local temp directories.\n LOCAL_TEMP_PATH_INPUT.toFile().mkdirs();\n LOCAL_TEMP_PATH_OUTPUT.toFile().mkdirs();\n }", "title": "" }, { "docid": "47bbefc0e762af2c2a5cf792e4390957", "score": "0.6675725", "text": "@Before\n public void setUp() throws CouldNotCreateFolderException {\n mockFolderDAO = new UserFolderDAO(\"mockParser\", \"mockFiles\", \"mockHeatmap\");\n replayService = new ReplayServiceRLRP(mockFolderDAO);\n replayFile = new File(getClass().getResource(\"/testReplays/test.replay\").getFile());\n }", "title": "" }, { "docid": "b058de1be12a267fb8337aff4b8873ae", "score": "0.6674551", "text": "@Test\n public void createFile() throws Exception {\n Assert.assertTrue(Files.exists(afw.getTemporaryPath()));\n }", "title": "" }, { "docid": "e61b87534d9e3f8636224a89928929ab", "score": "0.6671987", "text": "private static void CreateFolder() {\n ROOT_DIRECTORY_PATH = Utils.getRootDirPath(appContext);\n File TempDir = new File(ROOT_DIRECTORY_PATH, \"/temp\");\n if (!TempDir.exists()) {\n TempDir.mkdirs();\n }\n ROOT_TEMP_PATH = TempDir.toString();\n }", "title": "" }, { "docid": "a76ccdae5dbc5069c0ed49a280268f97", "score": "0.66607076", "text": "@Before\n public void setUp() {\n\n // Create test Folder objects\n testFolder = new Folder(\"/home\", \"home\");\n testFolder1 = new Folder(\"/user\", \"user\");\n // Use for exception catching\n testFolder2 = new Folder(\"/user\", \"user\");\n\n // Create Array List\n testRootFolder = new ArrayList<Content>();\n }", "title": "" }, { "docid": "dd87a7d5e9654634d51617e66cd642e0", "score": "0.6652052", "text": "private void createDirectory() {\r\n directory = kImage.getFileInfo( 0 ).getFileDirectory() + \"flythru\"+ File.separatorChar;\r\n\r\n File file = new File(directory);\r\n if ( !file.exists() ) {\r\n file.mkdir();\r\n }\r\n }", "title": "" }, { "docid": "c37a4800e5e3c456ab469001787c1516", "score": "0.66485435", "text": "@Before\n\tpublic void setUp() throws IOException, NoSuchMethodException, SecurityException {\n\t\t// test_dir1/f1\n\t\ttest1File = new File(TEST_DIR_1_NAME);\n\t\ttest1File.mkdir(); // test_dir1\n\t\tnew File(TEST_DIR_1_NAME + \"/f1\").createNewFile(); // test_dir1/f1\n\n\t\ttest2File = new File(TEST_DIR_2_NAME);\n\t\ttest2File.mkdir(); // test_dir2\n\t\tnew File(TEST_DIR_2_NAME + \"/f1\").createNewFile(); // test_dir2/f1\n\t\tnew File(TEST_DIR_2_NAME + \"/z1\").createNewFile(); // test_dir2/z1\n\t\tnew File(TEST_DIR_2_NAME + \"/sub1/sub1_1\").mkdirs(); // test_dir2/sub1/sub1_1\n\t\tnew File(TEST_DIR_2_NAME + \"/sub1/f2\").createNewFile(); // test_dir2/sub1/f2\n\t\tnew File(TEST_DIR_2_NAME + \"/sub1/sub1_1/z2\").createNewFile(); // test_dir2/sub1/sub1_1/z2\n\t\tnew File(TEST_DIR_2_NAME + \"/sub2\").mkdirs(); // test_dir2/sub2\n\t\tnew File(TEST_DIR_2_NAME + \"/sub2/z1\").createNewFile(); // test_dir2/sub2/z1\n\n\t\t// Make the private methods accessible.\n\t\tbuildTree = FileChooserButtonListener.class.getDeclaredMethod(\"buildTree\", File.class, FileNode.class);\n\t\tbuildTree.setAccessible(true);\n\t\tbuildDirectoryContents = FileChooserButtonListener.class.getDeclaredMethod(\"buildDirectoryContents\",\n\t\t\t\tFileNode.class, StringBuffer.class, String.class);\n\t\tbuildDirectoryContents.setAccessible(true);\n\t}", "title": "" }, { "docid": "0cce097960363caf98b08fab8e17c337", "score": "0.6641953", "text": "@Override\n protected void createRootDir() {\n }", "title": "" }, { "docid": "36172c077deff871d210c6ccc758d6b3", "score": "0.6628283", "text": "@BeforeClass public static void prepare() {\r\n if (getService().dirExists(\"target/working\")) {\r\n getService().removeDir(\"target/working\", true);\r\n }\r\n getService().createDir(\"target/working\");\r\n }", "title": "" }, { "docid": "9761119ab473867a143f7c908c78954b", "score": "0.6591488", "text": "void CreateFolder() {\n\n //if file not exists, we create a new one\n if (!f.exists()) {\n f.mkdirs();\n\n }\n\n }", "title": "" }, { "docid": "6dd92cd1f5f15bcb6bf8439bb3541353", "score": "0.65814817", "text": "protected void createTestDataFiles(Path localPath, List<ManifestFile> manifestFiles) throws Exception\n {\n // Create local test files.\n for (ManifestFile manifestFile : manifestFiles)\n {\n createLocalFile(localPath.toString(), manifestFile.getFileName(), manifestFile.getFileSizeBytes());\n }\n }", "title": "" }, { "docid": "71ef28aa992a60832fb1df351f78d894", "score": "0.65811425", "text": "@Subscribe\n public void createInitialGameFiles(CreateGameEvent event) {\n File defaultFile = event.getDirectory();\n defaultFile.mkdir();\n myFileSystem.createDirectory(defaultFile.getPath() + myFP.STAGEPATH.getPath());\n myFileSystem.createDirectory(defaultFile.getPath() + myFP.CHARACTERPATH.getPath());\n myFileSystem.createDirectory(defaultFile.getPath() + myFP.DATAPATH.getPath());\n myFileSystem.createDirectory(defaultFile.getPath() + myFP.BACKGROUNDPATH.getPath());\n myFileSystem.createDirectory(defaultFile.getPath() + myFP.BGMPATH.getPath());\n myFileSystem.createDirectory(defaultFile.getPath() + myFP.TILEPATH.getPath());\n myFileSystem.createDirectory(defaultFile.getPath() + myFP.SPLASHPATH.getPath());\n myFileSystem.createDirectory(defaultFile.getPath() + myFP.MODE.getPath());\n myFileSystem.createDirectory(defaultFile.getPath() + myFP.TIME.getPath());\n myFileSystem.createDirectory(defaultFile.getPath() + myFP.STOCK.getPath());\n myFileSystem.createFile(defaultFile.getPath()+myFP.GAMEPROPERTIES.getPath());\n String defaultGamePath = System.getProperty(\"user.dir\")+myFP.DEFAULTGAMEPATH.getPath();\n String backgroundPath = myFP.DEFAULTBACKGROUND.getPath();\n String musicPath = myFP.DEFAULTBGM.getPath();\n String tilePath = myFP.DEFAULTTILE.getPath();\n String splashPath = myFP.DEFAULTSPLASH.getPath();\n String comboPath = myFP.DEFAULTCOMBO.getPath();\n String themePath = myFP.DEFAULTTHEME.getPath();\n String fightPath = myFP.DEFAULTFIGHT.getPath();\n String koPath = myFP.DEFAULTKO.getPath();\n String victoryPath = myFP.DEFAULTVICTORY.getPath();\n String fanfarePath = myFP.DEFAULTFANFARE.getPath();\n myFileSystem.copyFile(new File(defaultGamePath + backgroundPath), new File(defaultFile.getPath()+ backgroundPath));\n myFileSystem.copyFile(new File(defaultGamePath + musicPath), new File(defaultFile.getPath()+ musicPath));\n myFileSystem.copyFile(new File(defaultGamePath + tilePath), new File(defaultFile.getPath()+ tilePath));\n myFileSystem.copyFile(new File(defaultGamePath + splashPath), new File(defaultFile.getPath()+ splashPath));\n myFileSystem.copyFile(new File(defaultGamePath + comboPath), new File(defaultFile.getPath()+ comboPath));\n myFileSystem.copyFile(new File(defaultGamePath + themePath), new File(defaultFile.getPath()+ themePath));\n myFileSystem.copyFile(new File(defaultGamePath + fightPath), new File(defaultFile.getPath()+ fightPath));\n myFileSystem.copyFile(new File(defaultGamePath + koPath), new File(defaultFile.getPath()+ koPath));\n myFileSystem.copyFile(new File(defaultGamePath + victoryPath), new File(defaultFile.getPath()+ victoryPath));\n myFileSystem.copyFile(new File(defaultGamePath + fanfarePath), new File(defaultFile.getPath()+ fanfarePath));\n }", "title": "" }, { "docid": "786ff9b2ae28f151460614865423f0e4", "score": "0.6563743", "text": "public void mkDirs() throws Exception {\n Map<String, String> env = System.getenv();\n\n String homeEnv = env.get(\"HOME\");\n if (homeEnv == null) {\n throw new Exception(\"Failed to get HOME environment variable\");\n }\n\n File homePath = new File(homeEnv);\n File msPath = new File(homePath, \".mshell\");\n\n if (msPath.exists()) {\n if (!msPath.isDirectory()) {\n throw new Exception(\"Failed to create \\\"\" + msPath.toString() + \"\\\", \" +\n \"regular file already exists with such name\");\n }\n } else {\n if (!msPath.mkdir()) {\n throw new Exception(\"Failed to create \\\"\" + msPath.toString() + \"\\\" directory\");\n }\n// = new String(\"/home/pine/.mshell/cover\");\n }\n\n if (config.coverCacheDirectory == null) {\n File coverPath = new File(msPath, \"cover\");\n if (coverPath.exists()) {\n if (!coverPath.isDirectory())\n throw new Exception(\"Failed to create \\\"\" + coverPath.toString() + \"\\\", \" +\n \"regular file already exists with such name\");\n } else {\n if (!coverPath.mkdir())\n throw new Exception(\"Failed to create \\\"\" + coverPath.toString() + \"\\\" directory\");\n }\n config.coverCacheDirectory = coverPath.toString();\n }\n }", "title": "" }, { "docid": "c82d12b61a29fb9a0fd036f369967e57", "score": "0.6545341", "text": "@Test\n public void testFile()\n throws Exception\n {\n File base_dir = test_folder.newFolder();\n Path base_p = base_dir.toPath();\n\n String norm = Normalizer.normalize(input_string, Normalizer.Form.NFKC);\n\n File n = new File(base_dir, norm);\n\n n.mkdir();\n //Path sub_p = n.toPath();\n //Files.createDirectory(sub_p);\n\n System.out.println(\"Base dir: \" + base_dir);\n System.out.println(\"In: \" + MiscUtils.getStringCodePoints(n.getName()));\n \n for (Iterator<Path> i = Files.newDirectoryStream(base_p).iterator(); i.hasNext(); ) \n {\n Path p = i.next();\n System.out.println(\"Path: \" + p.toString());\n\n }\n\n for(File f : base_dir.listFiles())\n {\n String name = \"\" + \"/\" + f.getName();\n System.out.println(\"Name: \" + MiscUtils.getStringCodePoints(name));\n //Assert.assertTrue(name.contains(input_string));\n\n }\n\n\n }", "title": "" }, { "docid": "0ead3ea9bc686dc34e66059f355b4103", "score": "0.65423775", "text": "@Test(priority = 3)\r\n\tpublic void create_Sub_Folder() {\r\n\t\tcreate_Sub_Folder(\"Sub Folder\");\r\n\t}", "title": "" }, { "docid": "4585134ee42716b23c5e3d932da75005", "score": "0.6534752", "text": "private void createFiles()\r\n\t{\r\n\t\tfloat d = calculateDepth();\r\n\t\tfor(int i = _start; i < _end; i++)\r\n\t\t{\r\n\t\t\tfloat x, z;\r\n\t\t\tif(_side == RIGHT_SIDE)\r\n\t\t\t{\r\n\t\t\t\tx = -Constants.OFFSET;\r\n\t\t\t\tz = -d/2 \r\n\t\t\t\t\t+ (i - _start + 1) * Constants.SPACE \r\n\t\t\t\t\t+ (i - _start) * Constants.WINDOW_WIDTH\r\n\t\t\t\t\t+ Constants.WINDOW_WIDTH/2;\r\n\t\t\t}\r\n\t\t\telse // _side == LEFT_SIDE\r\n\t\t\t{\r\n\t\t\t\tx = Constants.OFFSET;\r\n\t\t\t\tz = d/2 \r\n\t\t\t\t\t- (i+1) * Constants.SPACE \r\n\t\t\t\t\t- i * Constants.WINDOW_WIDTH\r\n\t\t\t\t\t- Constants.WINDOW_WIDTH/2;\r\n\t\t\t}\r\n\r\n\t\t\tTransform3D t3d = new Transform3D();\r\n\t\t\tt3d.setTranslation(new Vector3f(x, 0.15f, z));\r\n\t\t\tTransformGroup tg = new TransformGroup(t3d);\r\n\t\t\t\r\n\t\t\ttg.addChild(new WindowShape(DirectoryList.instance.getFile(i)));\r\n\t\t\taddChild(tg);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "161751aee44ef0e91cd29d4b2585ca56", "score": "0.65130806", "text": "private static void initiate() throws IOException\n\t{\n\t\tString dirString = \"c:/repos/java-instruction/product-manager\";\n\t\tPath dirPath = Paths.get(dirString);\n\t\tif (Files.notExists(dirPath))\n\t\t{\n\t\t\tFiles.createDirectories(dirPath);\n\t\t\tSystem.out.println(\"Directory created at \" + dirPath.toString());\n\t\t}\n\t\t\n\t\t// Create a file\n\t\tString fileString = \"products.txt\";\n\t\tPath filePath = Paths.get(dirString, fileString);\n\t\tif (Files.notExists(filePath))\n\t\t\tFiles.createFile(filePath);\n\t}", "title": "" }, { "docid": "d65b8fbe21aba4ee7720d175a0d2d25a", "score": "0.6502018", "text": "@Test\n public void createDir() throws Exception {\n String output = new StressMasterBench().run(new String[] {\n \"--in-process\",\n \"--base\", sLocalAlluxioClusterResource.get().getMasterURI() + \"/\",\n \"--operation\", \"CreateDir\",\n \"--fixed-count\", \"20\",\n \"--target-throughput\", \"100\",\n \"--threads\", \"5\",\n \"--warmup\", \"0s\", \"--duration\", \"1s\",\n });\n generateAndVerifyReport(Collections.singletonList(\"CreateDir\"), output);\n }", "title": "" }, { "docid": "4079b4cdee8b0d944d1d219c49b93533", "score": "0.64814436", "text": "public static void main(String[] args) {\n\t\tFile f = new File(\"Classic Folder\");\n\t\tSystem.out.println(\"Before : \"+f.mkdir()); // true\n\t\tSystem.out.println(\"After : \"+f.mkdir()); // false : Because Folder is already created\n\t\t\n\t\t// 2. Creation of multiple New folder \n\t\tFile f1 = new File(\"Singham\",\"Singham Return\");\n\t\t// Singham(Main Folder) --> Singham Return(Sub Folder) \n\t\t\n\t\tSystem.out.println(\"Before : \"+f1.mkdirs());\n\t\tSystem.out.println(\"After : \"+f1.mkdirs());\n\t\n\t}", "title": "" }, { "docid": "6cc083eee58f1fb808910c87ab97fb4f", "score": "0.64727676", "text": "public static void createAllFiles() throws IOException {\n\t\tcreateAllPrimaryFiles();\n\t\tcreateAllSecondaryFiles();\n\t}", "title": "" }, { "docid": "ea82f5ad128b2c6d0d9fb04eca69e00f", "score": "0.64707255", "text": "public void setupDirectory() {\n \t\n }", "title": "" }, { "docid": "22175411a30272d283891693a8c5686b", "score": "0.6446229", "text": "public static void createFolderStructure(PropertiesManager pm){\r\n\r\n\t\ttry{\r\n\t\t\t//creating necessary folder structure\r\n\t\t\tFile dir = new File(FilePaths.DATA_PATH);\r\n\t\t\tFileUtilities.forceMkdir(dir);\r\n\r\n\t\t\t//retrieve the API daily launch index\r\n\t\t\tint runIndex = Integer.parseInt(PropertiesManager.listProperties.get(\"runIndex\"));\r\n\t\t\tdir = new File(FilePaths.DAILY_DATA_PATH);\r\n\r\n\t\t\t//see if running in debug mode and put stamp on output files\r\n\t\t\tString runMode = PropertiesManager.listProperties.get(\"runMode\");\r\n\t\t\tif (runMode != null && runMode.contains(\"debug\"))\r\n\t\t\t\tTimeUtilities.TIME_STAMP = \"debug\";\r\n\r\n\t\t\t//see if the folder is created\r\n\t\t\tif (!dir.mkdir()){\r\n\t\t\t\t//or delete the previous files\r\n\t\t\t\tFileUtilities.delete(dir);\r\n\t\t\t\t//and create the folder\r\n\t\t\t\tFileUtilities.forceMkdir(dir);\r\n\t\t\t}\r\n\r\n\t\t\t//create folder for the API log\r\n\t\t\tdir = new File(FilePaths.LOG_PATH);\r\n\t\t\tFileUtilities.forceMkdir(dir);\r\n\r\n\t\t\t//prepare the API log\r\n\t\t\tLogging.prepareOutputLog();\r\n\r\n\t\t\t//update daily launch index\r\n\t\t\tpm.updateProperty(\"runIndex\", String.valueOf(++runIndex));\r\n\t\t}catch (Exception e){\r\n\t\t\tif (Jerboa.inConsoleMode)\r\n\t\t\t\tSystem.out.println(\"ERROR: Unable to create folder structure.\");\r\n\t\t\telse\r\n\t\t\t\tnew ErrorHandler(\"Error while creating folder structure.\" +\r\n\t\t\t\t\t\t\"\\nThe application will not continue.\");\r\n\t\t\tJerboa.stop(true);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "69a10eceff6b3aefa46f83eccefc6977", "score": "0.6442081", "text": "@Test\n public void testTraverseDirectory() throws IOException {\n // Create a temporary directory and some files inside it\n String tempDirName = \"tempDir\";\n File tempDir = new File(tempDirName);\n tempDir.mkdir();\n\n String fileName1 = \"file1.txt\";\n File tempFile1 = new File(tempDir, fileName1);\n FileWriter writer1 = new FileWriter(tempFile1);\n writer1.write(\"test1\");\n writer1.close();\n String fileName2 = \"file2.mp4\";\n File tempFile2 = new File(tempDir, fileName2);\n FileWriter writer2 = new FileWriter(tempFile2);\n writer2.write(\"test2\");\n writer2.close();\n\n File metaDir = new File(tempDir, \".meta\");\n metaDir.mkdir();\n File tempFile1Meta = new File(metaDir, \"~file1.txt.xml\");\n FileWriter writer3 = new FileWriter(tempFile1Meta);\n String mediaType1 = \"text/plain\";\n writer3.write(\"<resource name=\\\"file1.txt\\\" isCollection=\\\"false\\\" path=\\\"/_system/config/custom/testnew/file1.txt\\\" registryUrl=\\\"https://localhost:9443/registry\\\" status=\\\"added\\\">\\n\" +\n \"<mediaType>\" + mediaType1 + \"</mediaType>\\n\" +\n \"</resource>\");\n writer3.close();\n File tempFile2Meta = new File(metaDir, \"~file2.mp4.xml\");\n FileWriter writer4 = new FileWriter(tempFile2Meta);\n String mediaType2 = \"video/mp4\";\n writer4.write(\"<resource name=\\\"file2.mp4\\\" isCollection=\\\"false\\\" path=\\\"/_system/config/custom/testnew/file2.mp4\\\" registryUrl=\\\"https://localhost:9443/registry\\\" status=\\\"added\\\">\\n\" +\n \"<mediaType>\" + mediaType2 + \"</mediaType>\\n\" +\n \"</resource>\");\n writer4.close();\n\n File subDir = new File(tempDir, \"subDir\");\n subDir.mkdir();\n\n String fileName3 = \"file3.txt\";\n File tempFile3 = new File(subDir, fileName3);\n FileWriter writer5 = new FileWriter(tempFile3);\n writer5.write(\"test1\");\n writer5.close();\n String fileName4 = \"file4.mp4\";\n File tempFile4 = new File(subDir, fileName4);\n FileWriter writer6 = new FileWriter(tempFile4);\n writer6.write(\"test2\");\n writer6.close();\n\n File metaSubDir = new File(subDir, \".meta\");\n metaSubDir.mkdir();\n File tempFile3Meta = new File(metaSubDir, \"~file3.txt.xml\");\n FileWriter writer7 = new FileWriter(tempFile3Meta);\n String mediaType3 = \"text/plain\";\n writer7.write(\"<resource name=\\\"file3.txt\\\" isCollection=\\\"false\\\" path=\\\"/_system/config/custom/testnew/file1.txt\\\" registryUrl=\\\"https://localhost:9443/registry\\\" status=\\\"added\\\">\\n\" +\n \"<mediaType>\" + mediaType3 + \"</mediaType>\\n\" +\n \"</resource>\");\n writer7.close();\n File tempFile4Meta = new File(metaSubDir, \"~file4.mp4.xml\");\n FileWriter writer8 = new FileWriter(tempFile4Meta);\n String mediaType4 = \"video/mp4\";\n writer8.write(\"<resource name=\\\"file4.mp4\\\" isCollection=\\\"false\\\" path=\\\"/_system/config/custom/testnew/file2.mp4\\\" registryUrl=\\\"https://localhost:9443/registry\\\" status=\\\"added\\\">\\n\" +\n \"<mediaType>\" + mediaType4 + \"</mediaType>\\n\" +\n \"</resource>\");\n writer8.close();\n\n ArrayList<FileRegistryResourceDeployer.SubFileInfo> fileList = FileRegistryResourceDeployer.traverseDirectory(tempDir);\n assertEquals(4, fileList.size()); // Only two non-excluded files\n for (FileRegistryResourceDeployer.SubFileInfo subFileInfo : fileList) {\n if (subFileInfo.getFile().getName().equals(fileName1)) {\n assertEquals(mediaType1, subFileInfo.getMediaType());\n } else if (subFileInfo.getFile().getName().equals(fileName2)) {\n assertEquals(mediaType2, subFileInfo.getMediaType());\n } else if (subFileInfo.getFile().getName().equals(fileName3)) {\n assertEquals(mediaType3, subFileInfo.getMediaType());\n } else if (subFileInfo.getFile().getName().equals(fileName4)) {\n assertEquals(mediaType4, subFileInfo.getMediaType());\n } else {\n fail(\"Unexpected file found\");\n }\n }\n tempFile1Meta.delete();\n tempFile2Meta.delete();\n metaDir.delete();\n tempFile1.delete();\n tempFile2.delete();\n tempDir.delete();\n tempFile3Meta.delete();\n tempFile4Meta.delete();\n metaSubDir.delete();\n tempFile3.delete();\n tempFile4.delete();\n subDir.delete();\n\n }", "title": "" }, { "docid": "36b3f89561020e7836adb934e4a397d3", "score": "0.64335126", "text": "private static void createTempFileStructure(String pathToRoot, String tempDirName)\n throws IOException {\n File tempDir = new File(pathToRoot + tempDirName);\n\n if (tempDir.exists()) {\n FileUtils.deleteDirectory(tempDir);\n }\n\n tempDir.mkdir();\n }", "title": "" }, { "docid": "168edd71662f11cf375d68a41bd4bee6", "score": "0.6425978", "text": "private static void createProgressFolder() {\n \t\tFile file = new File(progressFolderPath);\n \t\tfile.mkdir();\n \t}", "title": "" }, { "docid": "2c1def6490ac55493392da29025a57d8", "score": "0.64254355", "text": "@Override\r\n public void setUp() throws Exception {\n new File(System.getProperty(\"build.test.dir\", \"build\")).mkdirs();\r\n super.setUp();\r\n }", "title": "" }, { "docid": "17d2a26813b605bb3d7868dc488863fa", "score": "0.64246184", "text": "private void buildTempDirectoryAndFile()\n\t{\n\t\t// Get Temp directory\n\t\tString tempDirPath = System.getProperty(Constants.APPLICATION_TEMP_DIR).replace('\\\\', '/');\n\n\t\t// Check config.dir folder : %user.home%/.floatreader\n\t\tString applicationDirectory = tempDirPath + PropertyUtil.getString(APPLICATION_PROPERTIES, \"config.dir\");\n\t\tFile floatreaderConfig = new File(applicationDirectory);\n\t\tif (!floatreaderConfig.exists())\n\t\t\tfloatreaderConfig.mkdirs();\n\t\tSETTINGS.setApplicationDirectory(applicationDirectory);\n\n\t\t// Check recentfile.dir folder : %user.home%/.floatreader\n\t\tString recentfilesDirectory = tempDirPath + PropertyUtil.getString(APPLICATION_PROPERTIES, \"recentfiles.dir\");\n\t\tFile recentfilesDirectoryPath = new File(recentfilesDirectory);\n\t\tif (!recentfilesDirectoryPath.exists())\n\t\t\trecentfilesDirectoryPath.mkdirs();\n\t\tSETTINGS.setRecentfilesDirectory(recentfilesDirectory);\n\n\t\t// Check recentfile file : %user.home%/.floatreader\n\t\tFile recentFilePath = new File(recentfilesDirectory + \"/\" + Constants.FILE_NAME_RECENTFILES);\n\t\tif (!recentFilePath.exists())\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\trecentFilePath.createNewFile();\n\t\t\t}\n\t\t\tcatch (IOException e)\n\t\t\t{\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\n\t\t// Check config.dir folder : %user.home%/.floatreader\n\t\tString bookmarkDirectory = tempDirPath + PropertyUtil.getString(APPLICATION_PROPERTIES, \"bookmark.dir\");\n\t\tFile bookmarkDirectoryPath = new File(bookmarkDirectory);\n\t\tif (!bookmarkDirectoryPath.exists())\n\t\t\tbookmarkDirectoryPath.mkdirs();\n\t\tSETTINGS.setBookmarkDirectory(bookmarkDirectory);\n\n\t\t// Check bookmark file : %user.home%/.floatreader\n\t\tFile bookmarkPath = new File(bookmarkDirectory + \"/\" + Constants.FILE_NAME_BOOKMARK);\n\t\tif (!bookmarkPath.exists())\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\tbookmarkPath.createNewFile();\n\t\t\t}\n\t\t\tcatch (IOException e)\n\t\t\t{\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\n\t\t// Check key configuration file : %user.home%/.floatreader\n\t\tFile keyConfigPath = new File(applicationDirectory + \"/\" + Constants.FILE_NAME_KEY_CONFIG);\n\t\tif (!keyConfigPath.exists())\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\tkeyConfigPath.createNewFile();\n\t\t\t}\n\t\t\tcatch (IOException e)\n\t\t\t{\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\n\t\t// initialize key configuration\n\t\tKeyConfiguration.initialize(keyConfigPath);\n\t}", "title": "" }, { "docid": "42ce2196ba45464dd3fbe3bc5ceb3397", "score": "0.64219344", "text": "@Override\n public void setupDirectory() {\n this.addDirectory(\"tmpDir\");\n }", "title": "" }, { "docid": "96630f29cf00fbc6839f34847c7f93e5", "score": "0.64077216", "text": "private static void createReportPath(String path) {\n File testDirectory = new File(path);\n if (!testDirectory.exists()) {\n if (testDirectory.mkdir()) {\n System.out.println(\"Directory: \" + path + \" is created!\");\n } else {\n throw new RuntimeException(\"Directory: \" + path + \" already exists!\");\n }\n } else {\n System.out.println(\"Directory already exists: \" + path);\n }\n }", "title": "" }, { "docid": "a462c81fcdd683ad98046fd8ae9e393f", "score": "0.6394801", "text": "@BeforeClass\r\n public static void setUpClass() throws Exception\r\n {\r\n BaseFolder = VFS.getManager().resolveFile(\"ram://\" + FileExtensionSelectorTest.class.getName());\r\n BaseFolder.resolveFile(\"a.htm\").createFile();\r\n BaseFolder.resolveFile(\"a.html\").createFile();\r\n BaseFolder.resolveFile(\"a.xhtml\").createFile();\r\n BaseFolder.resolveFile(\"b.htm\").createFile();\r\n BaseFolder.resolveFile(\"b.html\").createFile();\r\n BaseFolder.resolveFile(\"b.xhtml\").createFile();\r\n BaseFolder.resolveFile(\"c.htm\").createFile();\r\n BaseFolder.resolveFile(\"c.html\").createFile();\r\n BaseFolder.resolveFile(\"c.xhtml\").createFile();\r\n BaseFolder.resolveFile(\"subdir1\").createFolder();\r\n BaseFolder.resolveFile(\"subdir1/subfile1.txt\").createFile();\r\n BaseFolder.resolveFile(\"subdir2\").createFolder();\r\n BaseFolder.resolveFile(\"subdir2/subfile1.txt\").createFile();\r\n }", "title": "" }, { "docid": "b2d01d8c014e2e0e03cff4319e1c76a3", "score": "0.6377236", "text": "public String createDirectory() {\n if (hasUsedPetalBefore()) {\n return Responses.WELCOME_BACK.toString();\n }\n try {\n Path path = Paths.get(folderPath);\n File petalData = new File(saveFilePath);\n File archiveData = new File(archiveFilePath);\n\n Files.createDirectories(path);\n petalData.createNewFile();\n archiveData.createNewFile();\n } catch (IOException e) {\n isFolderAndFilePresent = false;\n }\n return Responses.START_MESSAGE.toString();\n }", "title": "" }, { "docid": "aa762a3487e4a1cf11ef72d7e22982bb", "score": "0.63760954", "text": "public void createStorageFolders() {\n File savesFolder = new File(folderLocation, \"saves\");\n if (!savesFolder.exists())\n savesFolder.mkdir();\n\n //Create folder for joins\n File joinsFolder = new File(folderLocation, \"saves/joins\");\n if (!joinsFolder.exists())\n joinsFolder.mkdir();\n\n //Create folder for quits\n File quitsFolder = new File(folderLocation, \"saves/quits\");\n if (!quitsFolder.exists())\n quitsFolder.mkdir();\n\n //Create folder for deaths\n File deathsFolder = new File(folderLocation, \"saves/deaths\");\n if (!deathsFolder.exists())\n deathsFolder.mkdir();\n\n //Create folder for world changes\n File worldChangesFolder = new File(folderLocation, \"saves/worldChanges\");\n if (!worldChangesFolder.exists())\n worldChangesFolder.mkdir();\n\n //Create folder for force saves\n File forceSavesFolder = new File(folderLocation, \"saves/force\");\n if (!forceSavesFolder.exists())\n forceSavesFolder.mkdir();\n }", "title": "" }, { "docid": "3564f353448e15c9cfe6075aa659b416", "score": "0.63759387", "text": "public void createFile() throws IOException {\n Files.createDirectories(Path.of(dataFile.getParent()));\n dataFile.createNewFile();\n }", "title": "" }, { "docid": "d28122398cbec9c14d283526dea5bdef", "score": "0.6352263", "text": "private static void CreateFolder(String playerName,String subFolder)\r\n {\n Path pathname=Paths.get(System.getProperty(\"user.dir\")+\"\\\\FilesToLoad\\\\\"+playerName);\r\n if(Files.notExists(pathname))\r\n {\r\n File file = new File(pathname.toString());\r\n //Creating the directory\r\n file.mkdir();\r\n }\r\n \r\n pathname=Paths.get(System.getProperty(\"user.dir\")+\"\\\\FilesToLoad\\\\\"+playerName+\"\\\\\"+subFolder);\r\n if(Files.notExists(pathname))\r\n {\r\n File file = new File(pathname.toString());\r\n //Creating the directory\r\n file.mkdir();\r\n }\r\n }", "title": "" }, { "docid": "53cf9f853dc0999635a9ab9d0ab722bd", "score": "0.6349353", "text": "@BeforeEach\n\tpublic void setUp() throws Exception {\n\t\toutputDir = FileUtils.createTempDirectory(\"output\");\n\t}", "title": "" }, { "docid": "862574eb7f7fd4bee74819442c0031de", "score": "0.63446116", "text": "private List<File> createTestFiles() {\n List<String> randomStrings =\n IntStream.range(0, 26)\n .mapToObj(i -> String.valueOf((char) ('a' + i)))\n .flatMap(letter -> Collections.nCopies(REPEAT, letter).stream())\n .collect(Collectors.toList());\n\n Collections.shuffle(randomStrings);\n\n // Write to 10 files\n return Lists.partition(randomStrings, 26 * REPEAT / 10).stream()\n .map(this::writeToTempFile)\n .collect(Collectors.toList());\n }", "title": "" }, { "docid": "920d223a6ede96322972032efec18a50", "score": "0.6322899", "text": "public static void prepDirs() {\n\t\tFile f1 = new File(\"output\");\n\t\tif(!f1.exists())\n\t\t\tf1.mkdir();\n\t\t\n\t\tFile f2 = new File(\"output\\\\knowledgeBases\");\n\t\tif(!f2.exists())\n\t\t\tf2.mkdir();\n\t\t\n\t\tFile f3 = new File(\"output\\\\normalizedKnowledgeBases\");\n\t\tif(!f3.exists())\n\t\t\tf3.mkdir();\n\t\t\n\t\tFile f4 = new File(\"output\\\\tableaux\");\n\t\tif(!f4.exists())\n\t\t\tf4.mkdir();\n\t\t\n\t\tFile f5 = new File(\"output\\\\knowledgeBases\\\\functionalSyntax\");\n\t\tif(!f5.exists())\n\t\t\tf5.mkdir();\n\t\t\n\t\tFile f6 = new File(\"output\\\\normalizedKnowledgeBases\\\\functionalSyntax\");\n\t\tif(!f6.exists())\n\t\t\tf6.mkdir();\n\t\t\n\t\tFile f7 = new File(\"output\\\\knowledgeBases\\\\descriptionLogic\");\n\t\tif(!f7.exists())\n\t\t\tf7.mkdir();\n\t\t\n\t\tFile f8 = new File(\"output\\\\normalizedKnowledgeBases\\\\descriptionLogic\");\n\t\tif(!f8.exists())\n\t\t\tf8.mkdir();\n\t\t\n\n\t\tFile f9 = new File(\"output\\\\knowledgeBases\\\\debug\");\n\t\tif(!f9.exists())\n\t\t\tf9.mkdir();\n\t\t\n\t\tFile f10 = new File(\"output\\\\normalizedKnowledgeBases\\\\debug\");\n\t\tif(!f10.exists())\n\t\t\tf10.mkdir();\n\t}", "title": "" }, { "docid": "88b8367632c2e7f72981b88466a40d90", "score": "0.63165647", "text": "private static void createFiles(String mastPass) {\n try {\n\n File master__passwd_file = new File(\"master_passwd\");\n File passwd_file = new File(\"passwd_file\");\n\n if (master__passwd_file.createNewFile()) {\n writeMasterPass(mastPass);\n } else {\n System.out.println(\"Error: Master Password File already exists.\");\n }\n if (!passwd_file.createNewFile()) {\n System.out.println(\"Error: Password File already exists.\");\n }\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "fd1d1e4f36206e1c175dfa70b646e74f", "score": "0.6315875", "text": "public void crearFile()\n {\n String ruta=\"C:\\\\programacion\";\n Path path=Paths.get(ruta);\n try{\n if(!Files.exists(path))\n {\n Files.createDirectories(path);\n }\n \n }\n catch(Exception error)\n {\n System.out.println(\"Error:\"+error);\n }\n }", "title": "" }, { "docid": "9bb406821645c64bdc24570cf4f7ff98", "score": "0.63081133", "text": "@Test\n void createImagesFromDirectoryTest() {\n\n\n ArrayList<ImageFile> filesInDirectory = ImageManager.getImageFilesByDirectory(new File(\"src/JUnit/testImages\"));\n ArrayList<ImageFile> expectedFiles = new ArrayList<>();\n\n try {\n expectedFiles.add(new ImageFile(new File(\"src/JUnit/testImages/1.jpg\")));\n expectedFiles.add(new ImageFile(new File(\"src/JUnit/testImages/1copy.jpg\")));\n expectedFiles.add(new ImageFile(new File(\"src/JUnit/testImages/3.jpeg\")));\n expectedFiles.add(new ImageFile(new File(\"src/JUnit/testImages/3copy.jpeg\")));\n expectedFiles.add(new ImageFile(new File(\"src/JUnit/testImages/4.jpg\")));\n expectedFiles.add(new ImageFile(new File(\"src/JUnit/testImages/4copy.jpg\")));\n expectedFiles.add(new ImageFile(new File(\"src/JUnit/testImages/baby_snake_deadpan @snake @cute.jpg\")));\n expectedFiles.add(new ImageFile(new File(\"src/JUnit/testImages/filterJUnitTest.jpg\")));\n expectedFiles.add(new ImageFile(new File(\"src/JUnit/testImages/sub/pokemon.jpg\")));\n\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n assertEquals(expectedFiles, filesInDirectory);\n\n\n }", "title": "" }, { "docid": "7d9785e013a96aecc50161d19c5e56fc", "score": "0.62930936", "text": "private void createFileList() {\n dirItems = new Vector();\n fileItems = new Vector();\n baseToolboxPath = toolpanel.getToolBox();\n if (!baseToolboxPath.endsWith(Env.separator())) {\n baseToolboxPath = baseToolboxPath + Env.separator();\n }\n String[] splitter = toolpanel.getUnitPackage().split(\".\");\n basePackagePath = baseToolboxPath;\n for (int i = 0; i < splitter.length; i++) {\n basePackagePath = basePackagePath + splitter[i] + Env.separator();\n checkAndAddDir(basePackagePath);\n }\n\n if (placeholderChk.isSelected()) {\n checkAndAddFile(getPlaceHolderFile());\n currentPlaceHolder = getPlaceHolderFile();\n }\n\n String baseSrcFileDir = basePackagePath + \"src\" + Env.separator();\n checkAndAddDir(baseSrcFileDir);\n srcFileName = baseSrcFileDir + toolpanel.getUnitName() + \".java\";\n checkAndAddFile(srcFileName);\n\n if (guiPanel.isGenerateCustomPanel()) {\n guiFileName = baseSrcFileDir + guiPanel.getCustomPanelName() + \".java\";\n checkAndAddFile(guiFileName);\n }\n\n String pathname = basePackagePath + \"classes\" + Env.separator();\n checkAndAddDir(pathname);\n\n pathname = basePackagePath + \"help\" + Env.separator();\n checkAndAddDir(pathname);\n helpFileName = pathname + toolpanel.getHelpFile();\n checkAndAddFile(helpFileName);\n addFilesToPanel();\n }", "title": "" }, { "docid": "7d7c7f2e2519724bb34bfd7e191063a1", "score": "0.6272021", "text": "public void setUp() throws IOException\n {\n rootTestDir_ = FileUtil.createTempDir();\n }", "title": "" }, { "docid": "e36557a1636fcf9f6500ef351f249c4e", "score": "0.62615776", "text": "public abstract void createFile();", "title": "" }, { "docid": "415dded0ede2f550bb10e2ef877236d4", "score": "0.6253256", "text": "@Test\n\t@TestProperties(name = \"Local - Create multiple files\", paramsInclude = { \"fileAttributesArr\" })\n\tpublic void createMultipleFiles() throws Exception {\n\t\tfileSystem.createMultipleFiles(fileAttributesArr);\n\t}", "title": "" }, { "docid": "53e06b48737e464f8d044819083d6a8c", "score": "0.62463886", "text": "@BeforeAll\n static void setup() {\n ImageManager.createImagesFromDirectory(\"src/JUnit/testImages\");\n }", "title": "" }, { "docid": "3b6abb34fc1103a75c03af6a3c312329", "score": "0.6245563", "text": "public void createDirectories( String value ) {\n packageStructure = value;\n fileOutput = new FileOutput();\n fileOutput.createDirectories( value, BASE_DIRECTORY );\n }", "title": "" }, { "docid": "2f86f8ebd1b40c1dc3ff9bb0b627328b", "score": "0.62452537", "text": "public static void main(String[] args) {\n\t\tFile a = new File(\"e:\\\\test\\\\abc\\\\a.txt\");\n\t\ttry {\n\t\t\ta.getParentFile().mkdirs();\n\t\t\ta.createNewFile();\t\t\t\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "e42b87551fe79b8def3d0c1f2c6cc575", "score": "0.6239312", "text": "@Test(groups={\"general\",\"content\"})\n public void createContentFolderInsideContentFolder() {\n\n\t //create a node at root path\n\tpause(2000); \n\ttry {\n\t\tcreateNewContentFolder(\"Book\", \"Name\");\n\t} catch (InterruptedException e) {\n\t\t// TODO Auto-generated catch block\n\t\te.printStackTrace();\n\t}\n\t pause(3000);\n\t if(isElementPresent(By.linkText(\"Book\")))\n\t {\n\t\t //create a sub-node\n\t\t WebElement eFolder= waitForAndGetElementByLinkText(\"Book\");\n\t\t action.doubleClick(eFolder).build().perform();\n\t\t pause(2000);\n\t\t try {\n\t\t\tcreateNewContentFolder(\"sub\", \"subTitle\");\n\t\t} catch (InterruptedException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t pause(2000);\n\t\t if(!isElementPresent(By.linkText(\"sub\")))\n\t\t\t System.out.println(\"Create sub node unsuccessfully!\");\n\t\t //delete sub-node\n\t\t else\n\t\t { \n\t\t\t pause(1000);\n\t\t\t deleteNode(\"sub \");\n\t\t\t \n\t\t //delete parent node\n\t\t waitForAndGetElementByXpath(\"//div[@title='Sites Management']\").click();\n\t\t pause(3000);\n\t\t deleteNode(\"Book \");\n\t\t }\n\t }\n\t else \n\t\t System.out.println(\"Create pa\" +\n\t\t \t\t\"rent node unsuccessfully!\");\n}", "title": "" }, { "docid": "347e436e4b1fe2286b564222775fbd92", "score": "0.62381196", "text": "@Before\n public void setUp() throws IOException {\n gpConfig=new GpConfig.Builder()\n .configFile(new File(\"resources/config_local_job_runner.yaml\"))\n .build();\n gpContext=mock(GpContext.class);\n jobInfo=mock(JobInfo.class);\n when(gpContext.getJobInfo()).thenReturn(jobInfo);\n taskInfo=mock(TaskInfo.class);\n when(gpContext.getTaskInfo()).thenReturn(taskInfo);\n parameterInfoMap=new HashMap<String,ParameterInfoRecord>();\n \n rootTasklibDir=tmp.newFolder(\"taskLib\");\n libdir=new File(rootTasklibDir, \"ConvertLineEndings.1.1\");\n boolean success=libdir.mkdirs();\n if (!success) {\n fail(\"failed to create tmp libdir: \"+libdir);\n }\n }", "title": "" }, { "docid": "796b0f6d89d6fbb1cc663ff5d7a471a4", "score": "0.6223754", "text": "public void createInitialFilesFor( String sAccount )\n {\n createEntry( sAccount, \"/\", \"Documents\", true );\n createEntry( sAccount, \"/\", \"Music\" , true );\n createEntry( sAccount, \"/\", \"Images\" , true );\n createEntry( sAccount, \"/\", \"Videos\" , true );\n \n try\n {\n VFSFileBase fdWelcome = createEntry( sAccount, \"/Documents\", \"welcome.txt\" , false );\n java.io.File fWelcome = NativeFileSystemTools.getFile( sAccount, fdWelcome.getHandler() );\n FileWriter writer = new FileWriter( fWelcome );\n writer.write( \"Welcome to Join'g.\\n\\nThis is just a text file example.\\nAmong other things, you can modify it and save back to server.\\n\\nEnjoy and bye.\");\n writer.close();\n }\n catch( IOException exc )\n {\n // Nothing to do\n }\n \n try\n {\n VFSFileBase fbNasaPict = createEntry( sAccount, \"/Images\", \"HomeByNASA.jpg\", false );\n java.io.File fNasaPict = NativeFileSystemTools.getFile( sAccount, fbNasaPict.getHandler() );\n \n FileInputStream fis = new FileInputStream( getClass().getResource( \"homebynasa.jpg\" ).getFile() );\n FileOutputStream fos = new FileOutputStream( fNasaPict );\n int nByte = 0;\n \n while( (nByte = fis.read()) != -1 ) // NEXT: Really slow: use a buffer\n fos.write( nByte );\n\n fos.close();\n fis.close();\n }\n catch( IOException exc )\n {\n // Nothing to do\n }\n }", "title": "" }, { "docid": "bd8fcc17a8dc5d54a28986ae6795a80c", "score": "0.62203383", "text": "static void recurse_create(API.Parent a, String fp){\n\tfor(API.Child c : a.content){\n\t\tFile test = new File(fp+\"/\"+c.name);\n\t\tif (!test.exists()) \n\t\tapi2.downloadURL(c.content.get(0),fp+\"/\"+c.name);\n\t}\n\tfor(API.Parent p :a.children){\n\t\tcreate_directory(fp+\"/\"+p.name);\n\t\trecurse_create(p, fp+\"/\"+p.name);\n\t}\n}", "title": "" }, { "docid": "0374fcb16066ab6a8784e11a7056d949", "score": "0.62101877", "text": "@TargetApi(Build.VERSION_CODES.GINGERBREAD)\n public void createDirectory() {\n File directory;\n if (fileName.isEmpty()) {\n directory = context.getFilesDir();\n } else {\n directory = context.getDir(fileName, MODE_PRIVATE);\n }\n File[] files = directory.listFiles();\n }", "title": "" }, { "docid": "c7d53dd1274085eaff1a6f9626488764", "score": "0.62025", "text": "private static void createTmpDir() {\n\t\tFile file = new File(FileUtils.TMP_DIR_NAME);\n\t\tif (file.exists()) {\n\t\t\tfile.delete();\n\t\t\tLOGGER.info(\"Delete exists {} temporary file directory\", file.getAbsolutePath());\n\t\t}\n\t\tif (file.mkdir())\n\t\t\tLOGGER.info(\"Create {} temporary file directory\", file.getAbsolutePath());\n\t\telse\n\t\t\tLOGGER.info(\"Cannot create {} temporary file directory\", file.getAbsolutePath());\n\t}", "title": "" }, { "docid": "f437f54df98e4fd8a69bc1b8ff2ea94a", "score": "0.6199719", "text": "@Before public void setUp() throws IOException {\n File guides = new File(\"neo4j-home\",\"guides\");\n guides.mkdirs();\n Writer w = new FileWriter(new File(guides,\"test.html\"));\n w.write(CONTENT);\n w.close();\n }", "title": "" }, { "docid": "e3b48b1817c2d21497f98ad755e380a4", "score": "0.6194606", "text": "public void createXmlFiles() {\n MovingBlock startBlock = new MovingBlock();\n Coordinate startPosition = new Coordinate(startX, startY);\n startBlock.setPosition(startPosition);\n map.put(startPosition, startBlock);\n\n\n levelXML = new StringBuilder();\n levelXML = build(true);\n System.out.println(levelXML.toString());\n System.out.println(\"\\n\\nCreating new level file...\");\n String levelName = \"pack_\" + levelGenre + \"_level\";\n XMLCreator levelXMLFile = new XMLCreator(levelXML, levelName, templateXML, levelNum);\n if (levelXMLFile.getLevel() != null) {\n File levelFile = new File(levelXMLFile.getLevel().getAbsolutePath());\n System.out.println(\"\\n\\nSuccessfully created new level file:\\n\\t\" + levelFile.getAbsolutePath());\n } else {\n System.out.println(\"\\n\\nFile not created : unable to create file within:\\n\\t\" + templateDir);\n }\n String levelPath = levelXMLFile.getLevel().getAbsolutePath();\n int level = Integer.valueOf(levelPath.substring(levelPath.lastIndexOf(\"e\") + 2, levelPath.lastIndexOf(\".\")));\n createAuxData(levelGenre, level);\n }", "title": "" }, { "docid": "b2448a207e875314a9bcb00c321b0566", "score": "0.61565816", "text": "@Before\n public void setUp() throws Exception {\n AuthenticationUtil.setFullyAuthenticatedUser(AuthenticationUtil.getAdminUserName());\n testFolder = docTestHelper.createFolder(TEST_FOLDER_NAME);\n testCase1 = docTestHelper.createCaseBehaviourOn(TEST_CASE_NAME1, testFolder, CaseHelper.DEFAULT_USERNAME);\n testCase2 = docTestHelper.createCaseBehaviourOn(TEST_CASE_NAME2, testFolder, CaseHelper.DEFAULT_USERNAME);\n\n testDocument = docTestHelper.createCaseDocument(TEST_DOCUMENT_FILE_NAME, testCase1);\n\n testDocumentRecFolder = nodeService.getPrimaryParent(testDocument).getParentRef();\n testDocumentAttachment = docTestHelper.createCaseDocumentAttachment(TEST_DOCUMENT_ATTACHMENT_FILE_NAME,\n testDocumentRecFolder);\n }", "title": "" }, { "docid": "018289df84498b8d852516889190dec5", "score": "0.6139742", "text": "private void createFiles(String fileName)\n\t{\n\n\t\ttry\n\t\t{\n\t\t\t// Create file in user's directory\n\t\t\tFile f = new File(GUI.directory + fileName);\n\t\t\tf.delete();\n\t\t\tf.createNewFile();\n\n\t\t\t// Creating temporary file\n\t\t\tFile ftemp = new File(GUI.directory + fileName + \".tmp\");\n\t\t\tftemp.delete();\n\t\t\tftemp.createNewFile();\n\n\t\t\t//fill temporary file with junk\n\t\t\tFileOutputStream fos = new FileOutputStream(ftemp);\n\t\t\tBufferedOutputStream bos = new BufferedOutputStream(fos);\n\t\t\tbyte [] temp = new byte[Integer.parseInt(size.getText())];\n\t\t\tfor(int i=0; i<temp.length; i++)\n\t\t\t\ttemp[i] = '0';\n\n\t\t\tbos.write(temp);\n\t\t\tfos.close();\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "a8afa22b7d53fc41f68e80590eb3fdfe", "score": "0.61319244", "text": "public static void main(String[] args) throws IOException \r\n\t{\n//\t\tf.createNewFile();\r\n//\t\tSystem.out.println(f.exists());\r\n\r\n\t\tFile f= new File(\"arundir\");\r\n\t\tSystem.out.println(f.exists());\r\n\t\tf.mkdir();\r\n\t\tSystem.out.println(f.exists());\r\n\t\t\r\n }", "title": "" }, { "docid": "27e1a069f6f6cae0aa19a51e437d21d1", "score": "0.6120287", "text": "private static void resetFilesTest() throws IOException \n\t{\n\t\tFile oldLoc = new File(\"bkp_test\");\n\t\tFile newLoc = new File(folderName);\n\t\tFileUtils.cleanDirectory(newLoc);\n\t\tFileUtils.copyDirectory(oldLoc, newLoc);\n\t}", "title": "" }, { "docid": "80165de7debfceb605b8fc8381b01525", "score": "0.61073166", "text": "private void createScreenShotDir() throws IOException {\n FileUtils.forceMkdir(new File(pathToScreenshot + \"/target/screenshots/\"));\n }", "title": "" }, { "docid": "d4bcb0e182a506ff37e0d21c8a4cdf98", "score": "0.61039966", "text": "private void mkdir(String path) throws IOException {\n Path file = Paths.get(currentDirectory + File.separator + path).normalize();\n if (isOutOfRoot(file))\n throw new SecurityException(\"Out of root!\");\n if (!Files.exists(file)) {\n Files.createDirectory(file);\n String usersPath = getUsersPath(file);\n if (usersPath != null)\n sendResponce(\"Directory \" + usersPath + \" created successfully\");\n else\n throw new NullPointerException();\n }\n else\n throw new FileAlreadyExistsException(\"Directory already exists: \" + path);\n }", "title": "" }, { "docid": "648758bfe15f966894330435a452e143", "score": "0.6099405", "text": "public static void init(){\n\t\ttry{\n\t\t\tSystem.out.println(\"starting file init\");\n\t\t\tString resource = FileManager.class.getName().replace(\".\", File.separator) + \".class\"; \n\t\t URL fileURL = ClassLoader.getSystemClassLoader().getResource(resource);\n\t\n\t\t String path = new File(\".\").getCanonicalPath();\n\t\t \n\t\t int index = path.length();\n\t\t loop: for(int i = 0; i < 0; i ++){\n\t\t \tindex = path.lastIndexOf(\"/\", index-1);\n\t\t \tif(index == -1)break loop;\n\t\t }\n\t\t path = path.substring(0,index);\n\t\t \n\t\t System.out.println(path);\n\t\t \n\t\t String mySubFolder = \"yashstitching\";\n\t\t String directory = path + File.separator + mySubFolder;\n\t\t \n\t\t System.out.println(\"parthL \" + directory);\n\t\t FILE_PATH = directory;\n\t\t RESOURCE_PATH = FILE_PATH + \"/resources\";\n\t\t EXE_PATH = FILE_PATH + \"/exe\";\n\t\t \n\t\t //File newDir = new File(directory);\n\t\t File master = new File(FILE_PATH);\n\t\t if(!master.exists()){\n\t\t \tmaster.mkdir();\n\t\t }\n\t\t File res = new File(RESOURCE_PATH);\n\t\t if(!res.exists())res.mkdir();\n\t\t FileUtils.cleanDirectory(res);\n\t\t \n\t\t File exe = new File(EXE_PATH);\n\t\t if(!exe.exists()){\n\t\t \t System.err.println(\"Error: could not find the exe folder\");\n\t\t }\n\t\t \n\t\t File frameSplit = new File(RESOURCE_PATH + \"/framesplit\");\n\t\t if(!frameSplit.exists())frameSplit.mkdir();\n\t\t FileUtils.cleanDirectory(frameSplit);\n\t\t \n\t\t // newDir.mkdir();\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "bd61017b7d95138d6961e9b3117039f3", "score": "0.6093631", "text": "static void createTestDir(Path sourceDir) throws IOException {\n FileUtils.copyDirectory(sourceDir.toFile(), TEST_DIR);\n }", "title": "" }, { "docid": "3ab8f6806b1c43706e320b1bb7559527", "score": "0.60906285", "text": "@Test(groups={\"general\",\"lockedFilePlan\"})\npublic void createContentFolderinsideLockedFilePlan()\n{\n\t\t\n\t // create a File Plan\n\t \tgotoAddnewConntent();\n\t \tcreateNewFilePlan(\"fPlan\", \"cat identifier\", \"Disposition\", \"eXo\", \"trigger\");\n\t \tpause(4000);\n\t \twaitForAndGetElementByXpath(\"//div[@title='Sites Management']\").click();\n\t \tpause(5000);\n\t \tWebElement fPlan = waitForAndGetElementByLinkText(\"fPlan\");\n\t \tpause(2000);\n\t\taction.contextClick(fPlan).build().perform();\n\t\tpause(2000);\n\t\twaitForAndGetElementByLinkText(\"Lock\").click();\n\t\tpause(3000);\n\t\tif(isElementPresent(By.linkText(\"fPlan\")))\n\t\t{\n\t\t //create a sub-node\n\t\t WebElement eFolder= waitForAndGetElementByLinkText(\"fPlan\");\n\t\t action.doubleClick(eFolder).build().perform();\n\t\t pause(2000);\n\t\t waitForAndGetElementByLinkText(\"New Folder\").click();\n\t\t pause(1000);\n\t\t Select typeFolder= new Select(waitForAndGetElementByName(\"type\"));\n\t\t List<WebElement> allOption= typeFolder.getOptions();\n\t\t for (WebElement option: allOption)\n\t\t\t\t {\n\t\t\t\t\tif(option.getText().equals(\"Content Folder\"))\n\t\t\t\t\t\t{ System.out.println(\"Fail\");break;}\n\t\t\t\t\telse System.out.println(\"Cannot add a content folder inside a locked file plan\");\t\n\t\t\t\t }\n\t\t\tpause(1000);\t \n\t\t\t\t //delete parent node\n\t\t\twaitForAndGetElementByXpath(\"//div[@title='Sites Management']\").click();\n\t\t\tpause(5000);\n\t\t\tdeleteNode(\"fPlan (Locked by john)\");\n\t\t\t\t \n\t\t\t }\n\t\t\t else \n\t\t\t\t System.out.println(\"Create document folder unsuccessfully!\"); \n}", "title": "" }, { "docid": "d398f24b428c2f9898edeedb63769e12", "score": "0.6086182", "text": "@Test\n void createFile() {\n file = new File(\"src/main/resources/File/score.txt\");\n assertTrue(file.exists(), \"File is created\");\n }", "title": "" }, { "docid": "8b7ffd1139868cc7e00553de06ae83d4", "score": "0.60806274", "text": "@Test(timeout = 3000)\n public void addedFileInNewSubdir() throws IOException, InterruptedException {\n \tassumeFalse(SystemUtils.IS_OS_MAC);\n File watchRoot = folder.newFolder();\n \n try ( DirWatcher w = new DirWatcher(watchRoot.toPath()) ) {\n \n File subDir = new File(watchRoot, \"subDir\");\n subDir.mkdir();\n \n DirWatcher.Event event = w.poll();\n \n assertThat(\"event.kind\", event.getKind(), equalTo(ENTRY_CREATE));\n assertThat(\"event.path\", event.getPath(), equalTo(Paths.get(subDir.getName())));\n \n File created = new File(subDir, \"README\");\n created.createNewFile();\n \n event = w.poll();\n assertThat(\"event.kind\", event.getKind(), equalTo(ENTRY_CREATE));\n assertThat(\"event.path\", event.getPath(), equalTo(Paths.get(subDir.getName(), created.getName())));\n \n assertThat(\"queue.size\", w.queueSize(), equalTo(0));\n }\n }", "title": "" }, { "docid": "b23a882bbd79c3ed64f3b14a6d505044", "score": "0.6073652", "text": "public static void createOutputFiles(AFileSegment segment){\n String basicPath = segment.getActualDirectory();\n File directory = new File(basicPath);\n File newStateFile = new File(basicPath + Const.STATE_FILE_NAME);\n File newWordCountFile = new File(basicPath + segment.getClass().getSimpleName().toLowerCase()\n + segment.id + Const.FILE_SUFFIX);\n try {\n directory.mkdir();\n newStateFile.createNewFile();\n newWordCountFile.createNewFile();\n } catch (IOException e) {\n e.printStackTrace();\n System.exit(0);\n }\n }", "title": "" }, { "docid": "edb137dd9c9a59dfbc7c81b29778a1ec", "score": "0.60701376", "text": "public void testArguments()\r\n {\n Folder unitTestFolder = createUnitTestFolder(alfsession);\r\n\r\n List<Node> list = docfolderservice.getChildren(unitTestFolder);\r\n Assert.assertNotNull(list);\r\n Assert.assertEquals(0, list.size());\r\n // ////////////////////////////////////////////////////\r\n // Create Methods\r\n // ////////////////////////////////////////////////////\r\n\r\n // Create sample folder\r\n Map<String, Serializable> properties = new HashMap<String, Serializable>();\r\n properties.put(ContentModel.PROP_TITLE, SAMPLE_FOLDER_DESCRIPTION);\r\n Map<String, Serializable> copy = new HashMap<String, Serializable>(properties);\r\n docfolderservice.createFolder(unitTestFolder, SAMPLE_FOLDER_DESCRIPTION, copy);\r\n Assert.assertTrue(copy.equals(properties));\r\n }", "title": "" }, { "docid": "7544d192053a6b5456f9c277d86a0c00", "score": "0.6060651", "text": "@Override\n \t\tprotected void prepareInitialDirectories(Helper instance)\n \t\t\t\tthrows MojoExecutionException {\n \t\t\t// Basically what the DEB Strategy does is a common behavior between\n \t\t\t// both.\n \t\t\tDEB_STRATEGY.prepareInitialDirectories(instance);\n \n \t\t\tinstance.setBaseBuildDir(new File(instance.basePkgDir, \"/BUILD\"));\n \t\t\tinstance.setBaseSpecsDir(new File(instance.basePkgDir, \"/SPECS\"));\n \t\t\t// Creating folder structure for RPM creation. Older versions of\n \t\t\t// rpmbuild\n \t\t\t// do not automatically create the directories as needed\n \t\t\ttry {\n \t\t\t\tFileUtils.forceMkdir(new File(instance.basePkgDir, \"/RPMS\"));\n \t\t\t\tFileUtils.forceMkdir(new File(instance.basePkgDir,\n \t\t\t\t\t\t\"/RPMS/x86_64\"));\n \t\t\t\tFileUtils\n \t\t\t\t\t\t.forceMkdir(new File(instance.basePkgDir, \"/RPMS/i386\"));\n \t\t\t} catch (IOException e) {\n \t\t\t\tthrow new MojoExecutionException(\n \t\t\t\t\t\t\"Error creating needed folder structure\", e);\n \t\t\t}\n \n \t\t}", "title": "" }, { "docid": "1788af85ffcb702780a0f7238ddd4a93", "score": "0.60594034", "text": "@BeforeTest(alwaysRun = true)\n protected void setUp() throws Exception {\n m_tempDirectory = FileUtils.createTempFile(null);\n // and make a directory with that name.\n m_tempDirectory.mkdir();\n setupSampleData();\n\n m_backend = new FileBasedProvider();\n TestUtils.configureObject(m_backend, LogService.class);\n TestUtils.configureObject(m_backend, ArtifactDataHelper.class, new ArtifactDataHelper() {\n @Override\n public List<ArtifactData> process(List<ArtifactData> artifacts, String targetId, String versionFrom, String versionTo) {\n return artifacts;\n }\n });\n\n m_backend.updated(new Hashtable<String, String>() {\n {\n put(\"BaseDirectoryName\", m_tempDirectory.getAbsolutePath());\n }\n });\n }", "title": "" }, { "docid": "3713c69e425d87f07bae630af68b20c5", "score": "0.6047993", "text": "protected void createProcessedFolder() throws IOException {\n try {\n Files.createDirectories(downloadDir.resolve(NORMALIZED_FILES_DIR));\n } catch (IOException e) {\n getLogger().severe(\"Couldn't create folder '\" + downloadDir.resolve(NORMALIZED_FILES_DIR).toAbsolutePath().toString() + \"' for downloading\");\n throw e;\n }\n }", "title": "" }, { "docid": "bc09b509292a9244f578265200ca2683", "score": "0.60445863", "text": "private void createSavedFiles()\n {\n try\n {\n for (int i = 0; i <= BaseTest.test().lastSoloIndex(); i++)\n {\n Reporter.log(\"\");\n String lastActivity = \"???\";\n try\n {\n lastActivity =\n BaseTest.test().solo(i).getCurrentActivity();\n } catch (Exception e)\n {\n Reporter.log(\"Could not recive last activity due to \"\n + e.getMessage());\n }\n Reporter.log(Reporter.getDiv(\n Reporter.CONFIG_EVENT_STYLE,\n \"Test failed at \"\n + Reporter.getDiv(Reporter.VALUE_STYLE, lastActivity)\n + \".\"));\n final String screenshotName =\n BaseTest.test().screenShotFileName(i);\n if (screenshotOnFail)\n {\n Screenshot.capture(screenshotName, i);\n }\n reportLogCat();\n }\n } catch (Exception e)\n {\n Reporter.log(Reporter.getDiv(\n Reporter.CONFIG_EVENT_STYLE,\n \"Screenshot listener failure: '\"\n + Reporter.getDiv(Reporter.VALUE_STYLE, e.getMessage())\n + \"'.\"));\n }\n }", "title": "" }, { "docid": "00ce01eaaf18b86bb5fd87a212cba6e9", "score": "0.6043825", "text": "@Override\n public void testMkdirsWithUmask() throws Exception {\n }", "title": "" }, { "docid": "c06ba579ac63f263a7cb89e84c60190a", "score": "0.6039057", "text": "public static void testCreate(){\n // TODO test the creation of the tree from file\n }", "title": "" }, { "docid": "a5024e0f2f1f3d220d92610ef13f227d", "score": "0.60377985", "text": "protected void initDir(String _filePath) {\n // remove the file name\n _filePath = _filePath.substring(0, _filePath.lastIndexOf('/'));\n if (getLog().isDebugEnabled())\n getLog().debug(\"*** Check if directories exist: \" + _filePath);\n // add each element of the path in the cell of an array\n String[] path = _filePath.split(\"/\");\n // reconstruct the path from the beginning, one element after each other\n // if the folder under this path doesn't exist yet, it is created\n StringBuffer pathFromBeginning = new StringBuffer();\n for (String string : path) {\n pathFromBeginning.append(string);\n try {\n if (!getHelper().elementExists(pathFromBeginning.toString())) {\n if (getLog().isDebugEnabled())\n getLog().debug(\"*** Create directory: \" + pathFromBeginning.toString());\n String result = getHelper().addDirectory(pathFromBeginning.toString());\n if (result.contains(\"success\"))\n getLog().info(\"Directory '\" + pathFromBeginning.toString() + \"' created succesfully.\");\n else\n getLog().warn(\"Cannot create directory '\" + _filePath + \"'. Reason:\\n\" + result);\n }\n } catch (MojoExecutionException e) {\n getLog().error(\"Error while creating directory '\" + _filePath + \"'. Exception:\\n\" + e.getMessage());\n }\n pathFromBeginning.append(\"/\");\n }\n }", "title": "" }, { "docid": "d9ba479b96741aaa2004955dad95ad69", "score": "0.603639", "text": "@Override\n public void firstCreateTestData() {\n createPythonInputFile();\n String result1 = CmdUtil.generateData(String.format(\"%spluginautomation/googledrive/csv/1_\", Constant.RESOURCE_PATH));\n assertTrue(!result1.contains(\"error\") );\n }", "title": "" }, { "docid": "3e31d4497cbff39c6b35fa500b8033bf", "score": "0.60205543", "text": "OneFolder createFolder(String name) throws IOException, OneDriveException;", "title": "" }, { "docid": "f60d458aea66c027e74f4e9143ec2b29", "score": "0.601725", "text": "private void initFileSystems() throws Exception {\n fs = createFileSystem();\n fsAsBruce = createFileSystem(BRUCE);\n fsAsDiana = createFileSystem(DIANA);\n fsAsBob = createFileSystem(BOB);\n fsAsSupergroupMember = createFileSystem(SUPERGROUP_MEMBER);\n }", "title": "" }, { "docid": "7ed02fc7a737cd249013d17bca2677d3", "score": "0.6006014", "text": "public void prepareOutputDirectories() {\n\n\t\tif (!Config.getInstance().getOutputDirectory().exists()) {\n\t\t\tlog.debug(\"Create output directory\");\n\t\t\tConfig.getInstance().getOutputDirectory().mkdirs();\n\t\t} else {\n\t\t\t// TODO overwriting and cleaning\n\t\t\t/*\n\t\t\t * for (File file : Config.getInstance().getOutputDirectory().listFiles( new\n\t\t\t * MyFileFilter(Config.getInstance().getPersonalFileName().replaceAll(\"\\\\{id\\\\}\", \"\\\\\\\\d+\")))) {\n\t\t\t * \n\t\t\t * file.delete(); }\n\t\t\t */\n\t\t}\n\n\t\tif (!Config.getInstance().getOutputImgDir().exists()) {\n\t\t\tlog.debug(\"Create image directory\");\n\t\t\tConfig.getInstance().getOutputImgDir().mkdirs();\n\t\t} else {\n\t\t\t// TODO overwriting and cleaning\n\t\t\t/*\n\t\t\t * for (File file : Config.getInstance().getOutputImgDir().listFiles()) { file.delete(); }\n\t\t\t */\n\t\t}\n\n\t\tif (!Config.getInstance().getOutputCssDir().exists()) {\n\t\t\tlog.debug(\"Create css directory\");\n\t\t\tConfig.getInstance().getOutputCssDir().mkdirs();\n\t\t} else {\n\t\t\t// TODO overwriting and cleaning\n\t\t\t/*\n\t\t\t * for (File file : Config.getInstance().getOutputCssDir().listFiles()) { file.delete(); }\n\t\t\t */\n\t\t}\n\t}", "title": "" }, { "docid": "27956d134a7abbc31ec0d408738ba985", "score": "0.6002476", "text": "@BeforeClass\n public static void produceOutputFiles() throws IOException {\n if (new File(\"outputFiles\").exists()) {\n cleanFolder();\n }\n String xmlFile = \"testFiles\\\\testfile.xml\";\n XmlConverter converter = new XmlConverter(xmlFile);\n converter.xmlConvert();\n }", "title": "" } ]
1822a63a30cf9914d606277d64453816
The platform of the Amazon Web Services instance. The platform is the specific combination of operating system, license model, and software on an instance.
[ { "docid": "6fa46485cee195a6718dc0046f7cfe21", "score": "0.0", "text": "public EC2ResourceDetails withPlatform(String platform) {\n setPlatform(platform);\n return this;\n }", "title": "" } ]
[ { "docid": "106b75bf8a1881d38fab4f10bef8953c", "score": "0.8009174", "text": "public String getPlatform() {\n return platform;\n }", "title": "" }, { "docid": "106b75bf8a1881d38fab4f10bef8953c", "score": "0.8009174", "text": "public String getPlatform() {\n return platform;\n }", "title": "" }, { "docid": "a5da94b669c33cc0cb0e3069bc89f094", "score": "0.7900998", "text": "java.lang.String getPlatform();", "title": "" }, { "docid": "e19840be404ecd0cf06459a1681f1e09", "score": "0.7889119", "text": "public String getPlatform() {\n return this.platform;\n }", "title": "" }, { "docid": "e19840be404ecd0cf06459a1681f1e09", "score": "0.7889119", "text": "public String getPlatform() {\n return this.platform;\n }", "title": "" }, { "docid": "c7ecc4292c338ff2374d42d49cef4c5f", "score": "0.76878285", "text": "@Override\n\tpublic String getPlatform() {\n\t\treturn this.platform;\n\t}", "title": "" }, { "docid": "3c34e6f6593193ba51b091f4cdb0dab7", "score": "0.7631904", "text": "public static OperatingSystem getPlatform() {\n\t\tString osName = System.getProperty(\"os.name\").toLowerCase();\n\t\tif (osName.contains(\"win\"))\n\t\t\treturn OperatingSystem.WINDOWS;\n\t\tif (osName.contains(\"mac\"))\n\t\t\treturn OperatingSystem.MAC;\n\t\tif (osName.contains(\"solaris\"))\n\t\t\treturn OperatingSystem.SOLARIS;\n\t\tif (osName.contains(\"sunos\"))\n\t\t\treturn OperatingSystem.SOLARIS;\n\t\tif (osName.contains(\"linux\"))\n\t\t\treturn OperatingSystem.LINUX;\n\t\tif (osName.contains(\"unix\"))\n\t\t\treturn OperatingSystem.LINUX;\n\t\treturn OperatingSystem.UNKNOWN;\n\t}", "title": "" }, { "docid": "7756c8582de8832eefeab16a9d0882d7", "score": "0.7565192", "text": "public String getPlatform() {\n\t\treturn Device.platform;\n\t}", "title": "" }, { "docid": "4e0cb6090082692395ec2dde37e4046a", "score": "0.7505049", "text": "public static String getSystemPlatform() {\n String osName = System.getProperty(\"os.name\");\n if (osName.toLowerCase().contains(\"win\")) {\n return \"WINDOWS\";\n }\n if (osName.toLowerCase().contains(\"mac\")) {\n return \"MAC\";\n }\n if (osName.toLowerCase().contains(\"nux\")) {\n return \"LINUX\";\n }\n return osName.toUpperCase();\n }", "title": "" }, { "docid": "ecce9ecf263b523ee9cae8ae5108f52f", "score": "0.7488885", "text": "public static String OS_type() {\r\n\t\treturn SystemProperties().getProperty(\"os.name\");\r\n\t}", "title": "" }, { "docid": "32849d47db786880fa28d0b73be3e9de", "score": "0.7332053", "text": "public static String whatOS() {\n\t\treturn System.getProperty(\"os.name\").trim();\n\t}", "title": "" }, { "docid": "e3f85ab7b52edae07777e8e4f2738e14", "score": "0.7149159", "text": "public String getPlatformType() {\n return super.getPlatformType();\n }", "title": "" }, { "docid": "f2c0274964e23593333d20f75aea5581", "score": "0.70790356", "text": "java.lang.String getOperatingSystem();", "title": "" }, { "docid": "dae3d1bf7a43ae50b3f493ddbf2eb98c", "score": "0.7033823", "text": "public static final String operatingSystem() {\n return osName;\n }", "title": "" }, { "docid": "ba1cd1c0736d25d49a5b15557039cbc4", "score": "0.6995141", "text": "private static String getOSString() {\n String os = (System.getProperty(\"os.name\")).toLowerCase();\n if (os.contains(\"win\")) {\n return \"windows\";\n } else if (os.contains(\"mac\")) {\n return \"osx\";\n } else {\n return \"linux\";\n }\n }", "title": "" }, { "docid": "6ae7e3213140f783e523743ab6e203f6", "score": "0.69779056", "text": "public CharSequence getPLATFORM() {\n return PLATFORM;\n }", "title": "" }, { "docid": "386f1d51cd01cededa432eb362d353b1", "score": "0.69478375", "text": "public static PCOperacnySystem getOS() {\n String name = System.getProperty(\"os.name\"); \n if (name.contains(\"Linux\")) {\n return PCOperacnySystem.LINUX;\n } else if (name.contains(\"Windows\")) {\n return PCOperacnySystem.WINDOWS;\n } else {\n return PCOperacnySystem.UNKNOWN;\n }\n }", "title": "" }, { "docid": "9295313f8f43ccc3bb94218fccf34abb", "score": "0.69275755", "text": "public CharSequence getPLATFORM() {\n return PLATFORM;\n }", "title": "" }, { "docid": "a9a10bace48fda8b33577787bf9d0685", "score": "0.6925021", "text": "public java.lang.String getAgentPlatform()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(AGENTPLATFORM$102);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return target.getStringValue();\r\n }\r\n }", "title": "" }, { "docid": "840d507a079f7bd2b97e500d1516ffe0", "score": "0.69110763", "text": "OperatingSystem getOperatingSystem();", "title": "" }, { "docid": "89c95b5c2fd8f8930b43fc4e60371514", "score": "0.68824565", "text": "java.lang.String getPlatformVersion();", "title": "" }, { "docid": "89c95b5c2fd8f8930b43fc4e60371514", "score": "0.68824565", "text": "java.lang.String getPlatformVersion();", "title": "" }, { "docid": "d7c105f3cc80bc329c2ba4f6f8ac3e13", "score": "0.68361473", "text": "public String getOS() {\n return os;\n }", "title": "" }, { "docid": "48b02d563e79551ae457fe671bc5258b", "score": "0.6834439", "text": "public static String OS_version() {\r\n\t\treturn SystemProperties().getProperty(\"os.version\");\r\n\t}", "title": "" }, { "docid": "f43bce5868bb269cda489f16e718c812", "score": "0.68288136", "text": "public void setPlatform(String platform) {\n this.platform = platform;\n }", "title": "" }, { "docid": "f43bce5868bb269cda489f16e718c812", "score": "0.68288136", "text": "public void setPlatform(String platform) {\n this.platform = platform;\n }", "title": "" }, { "docid": "15a8bfe90767c3f9b76ece2731bdeeda", "score": "0.6821664", "text": "private OS()\n {\n _version=System.getProperty(OS_VERSION);\n String osName=System.getProperty(OS_NAME);\n _osType=OSType.getOSTypeByName(osName);\n }", "title": "" }, { "docid": "f876ac82b8eb9a75339aee180558b73c", "score": "0.6810402", "text": "java.lang.String getDeviceOS();", "title": "" }, { "docid": "0845168be5325e8ea0fc09f9e95d37be", "score": "0.68077856", "text": "@Override\n\tpublic com.github.sreepadbhagwat.aplos.api.AplosAppium getPlatform() {\n\t\tAplosAppium iosPlatform = (AplosAppium) new AplosAppiumIOS();\n\t\treturn (com.github.sreepadbhagwat.aplos.api.AplosAppium) iosPlatform;\n\t}", "title": "" }, { "docid": "1f4592b88c6e78c3e322a467fd0c305e", "score": "0.67958665", "text": "private void getOS() {\n\t\tif(System.getProperty(\"os.name\").contains(\"Windows\")) {\n\t\t\tOS = \"SystemTestImages/windows/\";\n\t\t}else {\n\t\t\tOS = \"SystemTestImages/mac/\";\n\t\t}\n\t}", "title": "" }, { "docid": "29e322b56d6104bade70d306d7ee06e3", "score": "0.6774358", "text": "public String getOperatingSystem() {\n return operatingSystem;\n }", "title": "" }, { "docid": "f98c694de57a242aeae29f2b326d17a6", "score": "0.6773806", "text": "void setPlatform(java.lang.String platform);", "title": "" }, { "docid": "5778308842335a923df26b125b8c4bf0", "score": "0.6767335", "text": "public String getOperatingSystem() {\n return operatingSystem;\n }", "title": "" }, { "docid": "0c15ccdde19875c55e9875c54fccec79", "score": "0.674207", "text": "public static int checkPlatform() {\n\t\tString platform = System.getProperty(\"os.name\").toString();\n//\t\tif (platform.contains(\"Mac\"))\n\t\t\treturn MAC;\n//\t\telse\n//\t\t\treturn WIN;\n\t}", "title": "" }, { "docid": "504938b1f65c3498a31c9f5144d59719", "score": "0.6736231", "text": "public String getPlatformCode() {\n\t\treturn platformCode;\n\t}", "title": "" }, { "docid": "89379108a76830f0b6f52e2d3d094384", "score": "0.67360944", "text": "int getClientOsType();", "title": "" }, { "docid": "d186f8c2e30b77a0b8a8d5518dfdca91", "score": "0.6730371", "text": "public String getOperatingSystem() {\n return this.operatingSystem;\n }", "title": "" }, { "docid": "aaea34df97d347934bc97a9bf9944f80", "score": "0.67168605", "text": "@Override\n\tpublic java.lang.String getPlatform() {\n\t\treturn _tincanStatementContext.getPlatform();\n\t}", "title": "" }, { "docid": "81677e40cc57061a14faeed838003c34", "score": "0.6697483", "text": "public static native String getOSType()/*-{\r\n\t\treturn Ti.Platform.getOSType();\r\n }-*/;", "title": "" }, { "docid": "88a1345f0b4ee5084165284fdd2e2204", "score": "0.6661303", "text": "private static OperationSystem getOs() {\n\t\tString os = System.getProperty(\"os.name\");\n\t\tif (os != null) {\n\t\t\tos = os.toLowerCase();\n\t\t\tif ( os.contains(\"mac\") || os.contains(\"darwin\") ) {\n\t\t\t\treturn OperationSystem.MAC;\n\t\t\t} else if (os.contains(\"win\")) {\n\t\t\t\treturn OperationSystem.WINDOWS;\n\t\t\t}\n\t\t}\n\t\tthrow new SyncError(\"Unsupported OS:\" + os);\n\t}", "title": "" }, { "docid": "6d5c3fa658ba8909d273ae4c4fff0ef0", "score": "0.6624687", "text": "private static String[] listOfPlatforms(){\n\t return new String[]{\"Windows 10\", \"Windows 8.1\", \"Windows 8\", \"Windows 7\", \"Linux\",\n \"macOS 10.14\", \"macOS 10.13\", \"macOS 10.12\", \"OS X 10.11\", \"OS X 10.10\"};\n }", "title": "" }, { "docid": "d6d969d65c89488f03fcabbc61b9d98d", "score": "0.6609754", "text": "public NString getOperatingSystem()\n\t\t{\n\t\t\t//F2J_WRAPPED_CODE : The code of this Function was commented out so that you can migrate, compile and check your code in an iterative way.\n//\n//\t\t\treturn getContainer().getWebutilCore().getclientos();\n//\n\t\t\tthis.getLogger().trace(this, \"F2J : getOperatingSystem function is not completely migrated yet. Please read the Migration Guide.\");\n\t\t\t\n\t\t\t\n\t\t\treturn NString.getNull();\n\t\t}", "title": "" }, { "docid": "40496bdfdd45137ade1f0b4f16120d6a", "score": "0.6573383", "text": "@Override\n\tpublic String getOperatingSystem() {\n\t\treturn _computer.getOperatingSystem();\n\t}", "title": "" }, { "docid": "c186228025a4ee0b62ef8b35ea71bea0", "score": "0.6566298", "text": "public java.lang.String getOperatingSystem() {\n java.lang.Object ref = operatingSystem_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n operatingSystem_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "04154601ea99d6aa8814789fb72e1618", "score": "0.65649635", "text": "public String getOsversion() {\r\n return osversion;\r\n }", "title": "" }, { "docid": "fb761aca0165a8027577a354033a40cf", "score": "0.65590686", "text": "public static OSType getOperatingSystemType() {\n\t\tif (detectedOS == null) {\n\t\t\tString OS = System.getProperty(\"os.name\", \"generic\").toLowerCase(Locale.ENGLISH);\n\t\t\tif ((OS.indexOf(\"mac\") >= 0) || (OS.indexOf(\"darwin\") >= 0)) {\n\t\t\t\tdetectedOS = OSType.MacOS;\n\t\t\t} else if (OS.indexOf(\"win\") >= 0) {\n\t\t\t\tdetectedOS = OSType.Windows;\n\t\t\t} else if (OS.indexOf(\"nux\") >= 0) {\n\t\t\t\tdetectedOS = OSType.Linux;\n\t\t\t} else {\n\t\t\t\tdetectedOS = OSType.Other;\n\t\t\t}\n\t\t}\n\t\treturn detectedOS;\n\t}", "title": "" }, { "docid": "6fe34cee2b52caf941a546b75a76490a", "score": "0.65000325", "text": "public java.lang.String getOperatingSystem() {\n java.lang.Object ref = operatingSystem_;\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 operatingSystem_ = s;\n return s;\n }\n }", "title": "" }, { "docid": "925c8a86287a29a8afd58527d8c93c65", "score": "0.6452384", "text": "private static void detectOS() {\n // Get the string containing the OS name; then determine what it is\n String osstr = System.getProperty(\"os.name\").toLowerCase(Locale.getDefault());\n if (osstr.indexOf(\"wind\") >= 0) {\n os = OS.WINDOWS;\n } else if (osstr.indexOf(\"nux\") >= 0) {\n os = OS.LINUX;\n } else if (osstr.indexOf(\"mac\") >= 0) {\n os = OS.MAC;\n } else if (osstr.indexOf(\"nix\") >= 0) {\n os = OS.UNIX;\n }\n }", "title": "" }, { "docid": "334d68ddace1264f328ea792caca075a", "score": "0.64496166", "text": "public static String sisOp() {\n\t\treturn System.getProperty(\"os.name\");\n\t}", "title": "" }, { "docid": "dc4d0d87e0046fc6142695a73eb5c0c9", "score": "0.6430505", "text": "String osType();", "title": "" }, { "docid": "62ea68918570c7f86b73e4e7c2cfc5d2", "score": "0.6425119", "text": "public String getOperatingSystem(){return this.operatingSystem;}", "title": "" }, { "docid": "5c7bc1c86d3920ae0cee14e260c6bf89", "score": "0.63823515", "text": "public String getClientOS(HttpServletRequest request) {\n final String browserDetails = request.getHeader(HttpHeaders.USER_AGENT);\n\n // =================OS=======================\n final String lowerCaseBrowser = browserDetails.toLowerCase();\n if (lowerCaseBrowser.contains(\"windows\"))\n return \"Windows\";\n else if (lowerCaseBrowser.contains(\"mac\"))\n return \"Mac\";\n else if (lowerCaseBrowser.contains(\"x11\"))\n return \"Unix\";\n else if (lowerCaseBrowser.contains(\"android\"))\n return \"Android\";\n else if (lowerCaseBrowser.contains(\"iphone\"))\n return \"IPhone\";\n else\n return \"UnKnown, More-Info: \" + browserDetails;\n }", "title": "" }, { "docid": "32a41e95fffdfdeb4c2b04085cc947a2", "score": "0.6376663", "text": "public String getMinCpuPlatform() {\n return minCpuPlatform;\n }", "title": "" }, { "docid": "23c67f01a06aaac6a3af3773ff18dc67", "score": "0.6361246", "text": "public String getMinCpuPlatform() {\n return minCpuPlatform;\n }", "title": "" }, { "docid": "1b7e2d5d0e96ac2e2d8ceec2b1e1aeb0", "score": "0.6351329", "text": "OperatingSystemTypes osType();", "title": "" }, { "docid": "73ddd227b56a44909e3b3709e3948375", "score": "0.63504267", "text": "java.lang.String getArchitecture();", "title": "" }, { "docid": "bf11f43efe928636389eeaa675b00668", "score": "0.63482946", "text": "@Override\n public List<EmbeddedPlatform> getEmbeddedPlatforms() {\n return platforms;\n }", "title": "" }, { "docid": "ec1058738e7bee9ee7128a3e33a67afe", "score": "0.6333159", "text": "boolean isOnPlatform();", "title": "" }, { "docid": "4f6e07a8a53a13038769df13c0444c90", "score": "0.6324971", "text": "public String getOsType() {\n return this.osType;\n }", "title": "" }, { "docid": "a435e1babdcd563ad9a6e7186298d0b5", "score": "0.6281807", "text": "public org.apache.xmlbeans.XmlString xgetAgentPlatform()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlString target = null;\r\n target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(AGENTPLATFORM$102);\r\n return target;\r\n }\r\n }", "title": "" }, { "docid": "709ac19ada1708e34f014d756edccfda", "score": "0.62776345", "text": "public String guestOS() {\n return this.innerProperties() == null ? null : this.innerProperties().guestOS();\n }", "title": "" }, { "docid": "1584f0dee6bd949e52a2a3546c523e2b", "score": "0.62740004", "text": "public HBaseColumn<String> platform() {\r\n return (HBaseColumn<String>) (this.platform == null ? HBaseColumn.emptyOf(String.class) : platform);\r\n }", "title": "" }, { "docid": "7d59497649328b8814c1b46b2bc66555", "score": "0.6262394", "text": "public String getPlatformAppType() {\n return super.getPlatformAppType();\n }", "title": "" }, { "docid": "06b4ca638a10ed42599d15e016cb4a8d", "score": "0.6259181", "text": "int getCloudGamingPlatform();", "title": "" }, { "docid": "81cbc1c0016778fdf3c6f2515da66f4e", "score": "0.6240919", "text": "void setHostingPlatform(String p);", "title": "" }, { "docid": "512aa67211b6233f428d284c2a4707d5", "score": "0.6232566", "text": "public static native String getArchitecture()/*-{\r\n\t\treturn Ti.Platform.getArchitecture();\r\n }-*/;", "title": "" }, { "docid": "f361335e4b9aacbed37739b103642489", "score": "0.62309134", "text": "public String getOsType() {//<zhaji22>\n\t\treturn osType;\n\t}", "title": "" }, { "docid": "e2ed42587f3de614219b27735405b6b1", "score": "0.6217775", "text": "public static OperatingSystem getCurrent() {\r\n\t\tif (current == null) {\r\n\t\t\tString name = System.getProperty(\"os.name\");\r\n\r\n\t\t\tif (name != null) {\r\n\t\t\t\tname = name.toLowerCase();\r\n\r\n\t\t\t\tif (name.contains(\"win\"))\r\n\t\t\t\t\tcurrent = WINDOWS;\r\n\t\t\t\telse if (name.contains(\"mac\"))\r\n\t\t\t\t\tcurrent = MAC;\r\n\t\t\t\telse if (name.contains(\"nix\") || name.contains(\"nux\") || name.contains(\"aix\"))\r\n\t\t\t\t\tcurrent = LINUX;\r\n\t\t\t\telse\r\n\t\t\t\t\tcurrent = UNKNOWN;\r\n\t\t\t} else\r\n\t\t\t\tcurrent = UNKNOWN;\r\n\t\t}\r\n\r\n\t\treturn current;\r\n\t}", "title": "" }, { "docid": "c07935d5ae43e4926ba7dd4b086003bd", "score": "0.62147", "text": "public com.google.api.ads.admanager.axis.v202305.MobileApplicationPlatform getPlatform() {\n return platform;\n }", "title": "" }, { "docid": "99f4cea59837e0befcb151434c660815", "score": "0.6205524", "text": "@java.lang.Override\n public int getClientOsType() {\n return clientOsType_;\n }", "title": "" }, { "docid": "b183d1fe2f0e0722a82a3aad421d97fc", "score": "0.620337", "text": "@java.lang.Override\n public int getClientOsType() {\n return clientOsType_;\n }", "title": "" }, { "docid": "bb4d6980e1196f90eddacacde56264d6", "score": "0.6186838", "text": "public IGramarPlatform getPlatform();", "title": "" }, { "docid": "3afe8c5e01a1c1b8e6fe55442fd6d300", "score": "0.6172614", "text": "org.apache.xmlbeans.XmlString xgetPlatform();", "title": "" }, { "docid": "e954d27b76fd1fb42c33871f6b2aaa23", "score": "0.6163602", "text": "java.lang.String getDeviceOSVersion();", "title": "" }, { "docid": "92df887a32cc648825b8b998668cc3e8", "score": "0.61550736", "text": "public String getArchitecture() {\n return architecture;\n }", "title": "" }, { "docid": "766c3bca67ac9b1f664df0db5e4b4955", "score": "0.6153998", "text": "public String getOSVersion() {\n\t\tString osversion = android.os.Build.VERSION.RELEASE;\n\t\treturn osversion;\n\t}", "title": "" }, { "docid": "a086e585ef1652e099d1267c59ed284e", "score": "0.61487406", "text": "@Override\n\tpublic String getOsVersion() {\n\t\treturn mChimpDevice.getSystemProperty(\"ro.build.version.release\");\n\t}", "title": "" }, { "docid": "1b3bfc58f5bbae9845e2e7cdfdc474db", "score": "0.6144975", "text": "com.google.protobuf.ByteString\n getPlatformVersionBytes();", "title": "" }, { "docid": "5a0246a10033368d69c30e5a58b6f2cd", "score": "0.6135992", "text": "public com.google.protobuf.ByteString\n getOperatingSystemBytes() {\n java.lang.Object ref = operatingSystem_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n operatingSystem_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "64e20d8314e71a9cda9f0dc6a8f5c3d0", "score": "0.6120879", "text": "public boolean hasPLATFORM() {\n return fieldSetFlags()[5];\n }", "title": "" }, { "docid": "b34d9e27dd203d7651183442a40a4bd0", "score": "0.6113354", "text": "public static final String osVersion() {\n return osVersion;\n }", "title": "" }, { "docid": "48e2058ead8cbcc3631f2bf2cbb49302", "score": "0.60954815", "text": "public com.google.protobuf.ByteString\n getOperatingSystemBytes() {\n java.lang.Object ref = operatingSystem_;\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 operatingSystem_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "df8c490a6c1f87f811a0292e9f47621c", "score": "0.60736656", "text": "com.google.protobuf.ByteString getPlatformVersionBytes();", "title": "" }, { "docid": "498b0157059713f04ad4d8e37b5e8856", "score": "0.60712296", "text": "boolean hasPlatformVersion();", "title": "" }, { "docid": "84e6b14be7868459656d975cabe4c274", "score": "0.60617584", "text": "public String osType() {\n return this.osType;\n }", "title": "" }, { "docid": "1e5009cf85b9de7b181a4a57e25cf089", "score": "0.60608554", "text": "public CharSequence getOSVERSION() {\n return OS_VERSION;\n }", "title": "" }, { "docid": "537cc7fe44af85f8d48564e9d2c00a85", "score": "0.60464", "text": "default <P extends Platform> P platform(){\n return platforms().getDefault();\n }", "title": "" }, { "docid": "4d11d823f794181110b46e7e35905d6d", "score": "0.6037453", "text": "public java.lang.String getOs()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OS$16);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return target.getStringValue();\r\n }\r\n }", "title": "" }, { "docid": "47ccc0fbbff3d088e5afbc762fd6806e", "score": "0.60321873", "text": "public static OperatingSystem getOperatingSystemType() throws UnsupportedOperatingSystemException\n {\n if (detectedOS == null) {\n String OS = System.getProperty(\"os.name\", \"generic\").toLowerCase(Locale.ENGLISH);\n fullDetectedOS=OS;\n if ((OS.indexOf(\"mac\") >= 0) || (OS.indexOf(\"darwin\") >= 0)) {\n detectedOS = OperatingSystem.MACOSX;\n } else if (OS.indexOf(\"win\") >= 0) {\n detectedOS = OperatingSystem.WINDOWS;\n } else if (OS.indexOf(\"nux\") >= 0) {\n detectedOS = OperatingSystem.LINUX;\n } else {\n throw new UnsupportedOperatingSystemException(OS);\n }\n }\n return detectedOS;\n }", "title": "" }, { "docid": "9d5d3b61a71fc8b60b4a6ae6f3b26efb", "score": "0.60190547", "text": "public CharSequence getOSVERSION() {\n return OS_VERSION;\n }", "title": "" }, { "docid": "9e60fadf247812ebbc8b30ea59a150d5", "score": "0.601402", "text": "public String getOSVersion()\n {\n return _version;\n }", "title": "" }, { "docid": "a5548fd6a1d7e0f939aae0fcc62204ad", "score": "0.60094464", "text": "com.google.protobuf.ByteString\n getOperatingSystemBytes();", "title": "" }, { "docid": "58cabaa182242a19c3a7dccbdf6d0e25", "score": "0.6007331", "text": "@Override\r\n\tprotected String getPlatformName() {\r\n\t\t// return Platforms.FELIX;\r\n\t\treturn FelixPlatform4_2.class.getName();\r\n\t}", "title": "" }, { "docid": "e221028947825674edc9f968eaf092ed", "score": "0.5996368", "text": "public JmodDefinition setOsNameToCurrentPlatform() throws StfException {\n\t\treturn setOsName(System.getProperty(\"os.name\"));\n\t}", "title": "" }, { "docid": "03949d2eeac0f39d7834f91709114c52", "score": "0.5989558", "text": "public java.lang.String getOs()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OS$14);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return target.getStringValue();\r\n }\r\n }", "title": "" }, { "docid": "f3030058fb855f3fffca4b6cb82af6c8", "score": "0.59755415", "text": "public String getPlatformId() {\n return super.getPlatformId();\n }", "title": "" }, { "docid": "3ded0daec5760fa452dc3c0cc54a11f3", "score": "0.5971627", "text": "private String getDeviceOsVersion() {\n return Build.VERSION.RELEASE;\n }", "title": "" }, { "docid": "4493e628ca4182def38a72f1d2dad659", "score": "0.59696096", "text": "@Override\n\tpublic String operatingSystem() {\n\t\treturn \"iOS\";\n\t}", "title": "" }, { "docid": "3a591f1dc9045f79242a6e23f927fb55", "score": "0.5965571", "text": "TargetPlatformResolver getTargetPlatformResolver();", "title": "" }, { "docid": "2d220d636e0139b6adc1ea3bdeb67abc", "score": "0.596503", "text": "public String targetServerBrandVersion() {\n return this.targetServerBrandVersion;\n }", "title": "" }, { "docid": "f30cfc83e8d8799fde73c0a9cf62440e", "score": "0.5962226", "text": "@java.lang.Override\n public int getCloudGamingPlatform() {\n return cloudGamingPlatform_;\n }", "title": "" } ]
26ce1f50a3ad7cb3a745ef208b22bf65
Check whether is the same position or not.
[ { "docid": "728a3df1c4d5d672e7fdf9eee0020cc4", "score": "0.64305276", "text": "@Override\r\n\tpublic boolean equals(Object object) {\r\n\t\tif (object == null)\r\n\t\t\treturn false;\r\n\t\tif (!(object instanceof Position))\r\n\t\t\treturn false;\r\n\t\t\r\n\t\tPosition position = (Position)object;\r\n\t\tif (position.getX() != this.getX() || position.getY() != this.getY())\r\n\t\t\treturn false;\r\n\t\t\r\n\t\treturn true;\r\n\t}", "title": "" } ]
[ { "docid": "4b1ad77244f21b3d371ed970e285ce0a", "score": "0.69359845", "text": "boolean hasPosition();", "title": "" }, { "docid": "4b1ad77244f21b3d371ed970e285ce0a", "score": "0.69359845", "text": "boolean hasPosition();", "title": "" }, { "docid": "4b1ad77244f21b3d371ed970e285ce0a", "score": "0.69359845", "text": "boolean hasPosition();", "title": "" }, { "docid": "4b1ad77244f21b3d371ed970e285ce0a", "score": "0.69359845", "text": "boolean hasPosition();", "title": "" }, { "docid": "a998a1fa26f399a035f4b454edfd6bb9", "score": "0.68124163", "text": "public boolean equals(Position o){\n boolean n =false;\r\n if(x==o.getX() && y==o.getY()){\r\n n=true;\r\n }\r\n return n;\r\n }", "title": "" }, { "docid": "8663cf62ca1cdaf752eafe6424048c19", "score": "0.67265743", "text": "@Message(\"has position == (x:{0}, y:{1})\")\n @NotMessage(\"has position != (x:{0}, y:{1})\")\n boolean position(int x, int y);", "title": "" }, { "docid": "aa7b315acfe732fea3ce36372b86d94d", "score": "0.66478336", "text": "boolean repeatedPosition() {\n return _repeated;\n }", "title": "" }, { "docid": "b051b536eaa20931af3f35a8d729d9cb", "score": "0.6623815", "text": "@Override\n public boolean equals(Object o) {\n if (this == o)\n return true;\n if (o == null || !(o instanceof Position))\n return false;\n Position p = (Position) o;\n return (p.x == this.x && p.y == this.y);\n }", "title": "" }, { "docid": "aae09e2aa1f16d20b7181e3337d240ff", "score": "0.66162103", "text": "public synchronized boolean checkSelfCollision() {\n //La testa avanza di 1 rispetto alla sua direzione\n int[] newCoords = playerCoords.get(0).clone();\n\n switch (direzioneTesta) {\n case 0: //su, stessa x, y-1\n newCoords[1]--;\n break;\n\n case 1: //destra, x+1, stessa y\n newCoords[0]++;\n break;\n\n case 2: //giù, stessa x, y+1\n newCoords[1]++;\n break;\n\n case 3: //sinistra, x-1, stessa y\n newCoords[0]--;\n break;\n }\n\n //Non controlla l'ultimo blocco perchè, essendo la coda,\n //nel frame dopo anche lei si sarà spostata via dalla posizione attuale\n for (int thisBlocco = 1; thisBlocco < playerCoords.size() - 1; thisBlocco++) {\n //Controlla che la prossima posizione della testa non sia uguale a quella di un blocco del serpente\n int thisX = playerCoords.get(thisBlocco)[0], thisY = playerCoords.get(thisBlocco)[1];\n if ((newCoords[0] == thisX) && (newCoords[1] == thisY)) {\n return true;\n }\n }\n\n return false;\n }", "title": "" }, { "docid": "0571b510c5ebcd823f8821bc57ac0479", "score": "0.65322274", "text": "public boolean hasSameCoords(int xy) {\n\t\tif (size() > 1) {\n\t\t\tint coord0 = getCoordinate(list.get(0), xy);\n\t\t\tfor (Pixel pixel : this) {\n\t\t\t\tint coord = getCoordinate(pixel, xy);\n\t\t\t\tif (coord != coord0) return false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "54df7fe4d3692d28311dbfe17cc5038d", "score": "0.6531364", "text": "public boolean equals(Position pos) {\n return this.getX() == pos.getX() && this.getY() == pos.getY();\n }", "title": "" }, { "docid": "f950371d100c8d5f16bb37ca9bcba7bf", "score": "0.6498625", "text": "boolean sameMove(Move that);", "title": "" }, { "docid": "e893379b3ccfda42f3562585050f6b6e", "score": "0.6395983", "text": "public boolean equal(Map mapping) {\n\t\tfor (int i = 0; i < m_position.size(); ++i) {\n\t\t\tint j = 0;\n\t\t\tfor (j = 0; j < mapping.m_position.size(); ++j) {\n\t\t\t\tif (m_position.get(i).equal(mapping.m_position.get(j))) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (j == mapping.m_position.size()) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "4e48a55882cea62fdc67593970087501", "score": "0.63851094", "text": "public boolean inPosition() {\n\t\tif (player.absX == 3057 && player.absY == 4970 || player.absX == 3055 && player.absY == 4970 || player.absX == 3055 && player.absY == 4977 || player.absX == 3057 && player.absY == 4977) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "14c1cc9b815f72d72465c0ef92b1d2c0", "score": "0.6300815", "text": "private boolean sameSpot(Critter c) {\n\t\tif(x_coord == c.x_coord && y_coord == c.y_coord) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "610bddf6858705c4346ade1e05b8ae93", "score": "0.6297691", "text": "public boolean VerifyCrossoverCoordinatesOverlap() {\n boolean flag = false;\n for (int i = key + 1; i < proteinSequence.length; i++) {\n for (int step = 0; step < key + 1; step++) {\n if (currentCoordinate.get(i).equals(currentCoordinate.get(step))) {\n flag = true;\n break;\n }\n }\n if (flag) {\n break;\n }\n }\n\n return flag;\n\n }", "title": "" }, { "docid": "cf6599cc7f6fc2472bde46cbda11f990", "score": "0.62795544", "text": "boolean equals(GridPosition gridPosition);", "title": "" }, { "docid": "07643fe5adf2d7625f20812a34c62224", "score": "0.6274704", "text": "public boolean checkOverlap() {\n boolean flag = false;\n for (int i = key + 1; i < proteinSequence.length; i++) {\n for (int step = 0; step < key + 1; step++) {\n if (current.get(i).equals(current.get(step))) {\n flag = true;\n break;\n }\n }\n if (flag) {\n break;\n }\n }\n\n return flag;\n\n }", "title": "" }, { "docid": "3af284ae0ea2e289b96f8138d45a230c", "score": "0.62727183", "text": "public boolean equalsPos (Vehicle theVehicle) {\r\n\tif(theVehicle.dir==Direction.horizontal) {\r\n\t\tfor(int posi=0;posi<theVehicle.getT_vehicle().getSize();posi++)\r\n\t\t\tif(this.equalsPos(new Position(theVehicle.getPos().getX()+posi,theVehicle.getPos().getY()))) {\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t}else{\r\n\t\tfor(int posi=0;posi<theVehicle.getT_vehicle().getSize();posi++)\r\n\t\t\tif(this.equalsPos(new Position(theVehicle.getPos().getX(),theVehicle.getPos().getY()+posi))) {\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t}\r\n\treturn false;\r\n}", "title": "" }, { "docid": "dcfa1df02a12bcc8f7523144a35c8945", "score": "0.62177014", "text": "private boolean checkPlayerShipPos(char row, int col)\n\t{\n\t\tfor(Battleship bs : mBattleships)\n\t\t{\n\t\t\t// has the ship been placed and the position is different\n\t\t\tif(bs.hasBeenPlaced())\n\t\t\t{\n\t\t\t\t// they are on top of each other so return true\n\t\t\t\tfor(int i = 0; i < bs.getPositions().length; i++)\n\t\t\t\t{\n\t\t\t\t\tif(bs.getPositions()[i].getRow() == row && bs.getPositions()[i].getColumn() == col)\n\t\t\t\t\t{\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\t\n\t\t// Safety to return false, in case it is the first ship to be placed\n\t\treturn false;\n\t}", "title": "" }, { "docid": "030d793068be6426ee09740335de4070", "score": "0.6193909", "text": "public boolean equals(Position2D p) {\n return p.x == this.x && p.y == this.y;\n\n }", "title": "" }, { "docid": "500191af8480268f476c28331d714b95", "score": "0.61754966", "text": "@Override\n\tpublic boolean Equals(TouchLocation other)\n\t{\n\t\treturn ((((this.Id == other.Id) && (this.Position.X == other.Position.X)) && ((this.Position.Y == other.Position.Y) && (this.prevX == other.prevX))) && (this.prevY == other.prevY));\n\t}", "title": "" }, { "docid": "24b5842f206a541076a77c430cdb13a0", "score": "0.6168056", "text": "public static boolean same(Line a, Line b) {\n return (a.start == b.start && a.delta == b.delta);\n }", "title": "" }, { "docid": "188f3a31a6201918ae21169a6fde14e8", "score": "0.6164127", "text": "boolean hasPositionX();", "title": "" }, { "docid": "10cd6fcd30a163e92278b6da93473ac5", "score": "0.6160084", "text": "boolean hasStartPosition();", "title": "" }, { "docid": "b142279e72e0ef746524e685422f3416", "score": "0.61337775", "text": "public boolean equals(PositionTime other) {\n return super.equals(other) && time == other.time;\n }", "title": "" }, { "docid": "58ea5eb4fdf26f7262d5e1b3f5c08d24", "score": "0.6110954", "text": "@Test\n public void testMove() {\n Position tempPos = new Position(11, 23);\n System.out.println(\"move\");\n\n instance.move();\n instance.move();\n\n boolean expResult = true;\n boolean result = instance.getPosition().equals(tempPos);\n\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "353d1f4340d632b71394c7db900d31f3", "score": "0.6091788", "text": "private boolean arePointsEqual() {\r\n return player1Points == player2Points;\r\n }", "title": "" }, { "docid": "799fb45e4985f34d9e52f8d24b14f6c0", "score": "0.60911036", "text": "public boolean equals(Object o) {\n\t\tif (o instanceof Position) {\n\t\t\tPosition p = (Position)o;\n\t\t\treturn (p.x == x &&\n\t\t\t\t\tp.y == y);\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "a5cb911a20ebeaf05bbe104beff709d9", "score": "0.60855836", "text": "public boolean percolates() {\n return quickFind.find(t) == quickFind.find(b);\n\n }", "title": "" }, { "docid": "bbf949be0a4e641d23928baef0c2f867", "score": "0.60656416", "text": "boolean equals(Entry other)\r\n {\r\n if (other == null)\r\n return false;\r\n \r\n return (this.pos_row == other.pos_row &&\r\n this.pos_col == other.pos_col);\r\n }", "title": "" }, { "docid": "20ad57323d8508ceb23ad0f880cc381e", "score": "0.6054565", "text": "public boolean equals(Coordinate coord){\r\n return ((coord.getXVal() == this.getXVal()) && (coord.getYVal() == this.getYVal()));\r\n }", "title": "" }, { "docid": "cbe7f4614e82f15c6d036746bdbd1f5c", "score": "0.6041621", "text": "private boolean checkXORforFixedPos(Coordinates pos) {\r\n\t\tfor(int i = 0; i < xorPos.size(); i++) {\r\n\t\t\tif(xorPos.get(i).getFirstPosition().equals(pos) || xorPos.get(i).getSecondPosition().equals(pos)) {\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "b7d6bd58e6c43092363656db694a131f", "score": "0.6005501", "text": "private boolean isMovePossible() {\n\t\tif ((getSquareWithOffset(-1, 0) != '#')\n\t\t\t\t|| (getSquareWithOffset(0, 1) != '#')\n\t\t\t\t|| (getSquareWithOffset(1, 0) != '#')\n\t\t\t\t|| (getSquareWithOffset(0, -1) != '#')) {\n\t\t\treturn true;\n\t\t}\n\n\t\treturn false;\n\t}", "title": "" }, { "docid": "ae1e3a5713d4112a527a7aa9f7a3b3b9", "score": "0.5998984", "text": "@SuppressWarnings(\"checkstyle:designforextension\")\n public boolean locEquals(final SrlPoint otherPoint) {\n if (getX() != otherPoint.getX()) {\n return false;\n }\n if (getY() != otherPoint.getY()) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "c3e5df8ddde386c8d408d2625581bd6c", "score": "0.5993475", "text": "public boolean noMoveLeft(){\n for (int row = 0; row < Board.ROW_INDEX; row++){\n for (int col = 0; col < Board.COL_INDEX - 1; col++){\n if (board.getValueAt(row, col) == board.getValueAt(row, col+1)){\n return false;\n }\n }\n }\n for (int col = 0; col < Board.COL_INDEX; col++){\n for (int row = 0; row < Board.ROW_INDEX - 1; row++){\n if (board.getValueAt(row, col) == board.getValueAt(row + 1, col)){\n return false;\n }\n }\n }\n return true;\n }", "title": "" }, { "docid": "72ec8491c228bd4a9f9c4f37c16a11c2", "score": "0.5986094", "text": "private boolean IsValidPosition(Pair<Integer> pos)\n {\n return (pos.first >= 0) && (pos.second >= 0) &&\n (pos.first < _board.Width) && (pos.second < _board.Height);\n }", "title": "" }, { "docid": "983fc702a4d2566d8fafaa609076c272", "score": "0.5968907", "text": "public boolean VerifyCoordinatesDistance() {\n\n Coordinates p, q;\n int remaining_length = (proteinLength - key - 2);\n double dst;\n float distance, dsum = 0;\n\n for (int i = key + 1; i < proteinSequence.length - 1; i++) {\n p = current.get(i);\n q = current.get(i + 1);\n dst = (Math.pow((p.getX() - q.getX()), 2) + Math.pow((p.getY() - q.getY()), 2));\n distance = (float) Math.sqrt(dst);\n\n dsum = dsum + distance;\n }\n return !(dsum == (float) remaining_length);\n\n }", "title": "" }, { "docid": "8a84af5f139e8c7b730740e93d501f77", "score": "0.59597325", "text": "public boolean SameSize(AlignmentTable x) {\r\n if (rowNum == x.rowNum && colNum == x.colNum) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }", "title": "" }, { "docid": "39214fb5073c4f2c38331947b02f9cfa", "score": "0.5939413", "text": "public boolean canMove() {\r\n\t\t// the valid at least have the location that it locate in, so when the array list\r\n\t\t// size less than 2 means the bug can not move forward\r\n\t\tif(crossLocation.peek().size() <= 1){\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "52a81f5adfafa848924775a96de53a79", "score": "0.59278125", "text": "private boolean checkXORforOverlap(XORMarble m) {\r\n\t\tboolean result = false;\r\n\t\t\r\n\t\tfor(int i = 0; i < xorPos.size(); i++) {\r\n\t\t\tif(xorPos.get(i).getFirstPosition().equals(m.getFirstPosition()) ||\r\n\t\t\t\t\txorPos.get(i).getSecondPosition().equals(m.getFirstPosition()) ||\r\n\t\t\t\t\txorPos.get(i).getFirstPosition().equals(m.getSecondPosition()) ||\r\n\t\t\t\t\txorPos.get(i).getSecondPosition().equals(m.getSecondPosition())){\r\n\t\t\t\tresult = true;\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn result;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "83034de258410ae63b00ae764da67d01", "score": "0.5909708", "text": "public boolean detectMove(State other) {\n return this.x != other.x || this.y != other.y;\n }", "title": "" }, { "docid": "a00f1b3513fb7a024c87c40a4ecf327a", "score": "0.59028125", "text": "private boolean CheckCoordForFinalPos(int row, int col) {\r\n //Coordinate is final position\r\n return (row == exitLoc.getRow() && col == exitLoc.getCol());\r\n }", "title": "" }, { "docid": "158ba612e7385fbd941470f46ec82f50", "score": "0.58834386", "text": "public boolean isEqual() {\n\t\tif(this.first.numOfRows != this.second.numOfRows || this.first.numOfCols != this.second.numOfCols) {\n\t\t\treturn false;\n\t\t}\n\t\tfor(int i = 0; i < this.first.numOfRows; i++) {\n\t\t\tfor(int j = 0; j < this.second.numOfCols; j++) {\n\t\t\t\tif(this.first.elements[i][j] != this.second.elements[i][j]) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "7a1391a9bdfb4acc21f34102e4b726ee", "score": "0.58730006", "text": "public boolean checkEquivalence() {\r\n\t\tif (findWinner() == 0 && model.getCount() >= 9) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\telse {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "eb0cdcafb99a69c8c860e484119a9261", "score": "0.58597517", "text": "boolean hasStartPos();", "title": "" }, { "docid": "1ed13ad373b1d304fcb171f6af223e68", "score": "0.58510864", "text": "@Override\r\n\tpublic boolean foundSpaceship() {\r\n\t\treturn position == board.getTarget();\r\n\t}", "title": "" }, { "docid": "ee62bb5c5fdfb90ed5fdd287630d6c30", "score": "0.5846243", "text": "@Override\n\tpublic boolean isValidePosition(int row, int col) {\n\t\treturn map.isInsideMap(row, col);\n\t}", "title": "" }, { "docid": "c3d59ecdd76f3e094460a9b47222c225", "score": "0.5839422", "text": "public boolean isAdjacentAbove(Position2D checkPos) {\n if (this.x == checkPos.x && (this.y - 1) == checkPos.y) {\n return true;\n } else {\n return false;\n }\n }", "title": "" }, { "docid": "a59f234548188b2d33842528219ff08f", "score": "0.58342355", "text": "@Override\n\tpublic boolean equals(Object other) {\n\t\tif (other != null && other instanceof Coordinate &&\n\t\t\trow == ((Coordinate)other).row && col == ((Coordinate)other).col)\n\t\t\treturn true;\n\t\telse\n\t\t\treturn false;\n\t\t\t\n\t}", "title": "" }, { "docid": "7472c46b893cc2f51fc556d9cb8d495d", "score": "0.58331674", "text": "public boolean equalss(Board that) {\n // System.out.println(\"in equalss\");\n for (int i = 0; i < N; i++) {\n for (int j = 0; j < N; j++) {\n if (this.board[i][j] != that.board[i][j]) {\n // System.out.println(\"i:\" + i + \"j:\" + j + \", \" + this.board[i][j] + \"!=\" + that.board[i][j]);\n return false;\n }\n }\n }\n // System.out.println(\"equals = ture\");\n return true;\n }", "title": "" }, { "docid": "3e5765ff15b5f17bc59a7d182f064022", "score": "0.582545", "text": "private boolean sameValue(Parallel that) { \n return (this.left.equals(that.left) && this.right.equals(that.right)) || \n (this.left.equals(that.right) && this.right.equals(that.left));\n }", "title": "" }, { "docid": "0113e0c493ccd458a971e9a30c7fcc75", "score": "0.58153373", "text": "static boolean match(int[] seq, int pos) {\n if (seq[pos] == 0 && seq[pos - 2] == 0) return true;\n else return false;\n }", "title": "" }, { "docid": "a2728a0703d79e62465684e2c0faee59", "score": "0.5797523", "text": "private boolean checkPosition(int[] positions, int occupiedRows, int columnIndex) {\n for (int i = 0; i < occupiedRows; i++) {\n if ((positions[i] == columnIndex) || (positions[i] - i == columnIndex - occupiedRows) || (positions[i] + i == columnIndex + occupiedRows)) {\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "5b37f58211f4a8823d1fbb72d1d8983d", "score": "0.57969", "text": "public static boolean noNextMove() {\r\n\t\t// check horizontally adjacent entries\r\n\t\tfor (int i = 0; i < board.length; i++) {\r\n\t\t\tfor (int j = 0; j < board[i].length - 1; j++) {\r\n\t\t\t\tif (board[i][j] == board[i][j + 1])\r\n\t\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\t// check vertically adjacent entries\r\n\t\tfor (int i = 0; i < board.length - 1; i++) {\r\n\t\t\tfor (int j = 0; j < board[i].length; j++) {\r\n\t\t\t\tif (board[i][j] == board[i + 1][j])\r\n\t\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "8d31156f88be1be577087841e9f2b96f", "score": "0.57947457", "text": "@Override\r\n public boolean equals(Object other){\r\n if (other == null) return false;\r\n if (other == this) return true;\r\n if (!(other instanceof Coordinate))return false;\r\n Coordinate otherCoordinate = (Coordinate) other;\r\n if(otherCoordinate.row == this.row && otherCoordinate.col == this.col){\r\n return true;\r\n }\r\n return false;\r\n }", "title": "" }, { "docid": "237053ab6c5ac513ddeaa263983aa25a", "score": "0.5788154", "text": "private boolean check(Board board, int x, int y){\n for(int i = 0; i < m; i ++) //Go thru all locations\n for(int j = 0; j < n; j++){\n if(board.array[i][j] == ' '); //If empty ignore\n else if(x == i && y == j); //If same location ignore\n else if(x == i || y == j || x+y == i+j || x-y == i-j)\n return false; //Conflict if in same row, column, or diagonal\n }\n return true; //No conflicts\n }", "title": "" }, { "docid": "c0e9dea2dce6ce9a6e9165b41471f954", "score": "0.5787072", "text": "public boolean equals(Object o) {\r\n\t\tif (!(o instanceof Positionable)) return false;\r\n\t\treturn ((Positionable)o).position.equals(position);\r\n\t}", "title": "" }, { "docid": "9fb289f21950367a8f8e1d08a9428710", "score": "0.5785053", "text": "public boolean isFirstPositionOfTheGame();", "title": "" }, { "docid": "ea42b4490cf0bb110f61168f09727104", "score": "0.5771046", "text": "public boolean percolates() {\n return uf.find(start) == uf.find(end);\n }", "title": "" }, { "docid": "741605541ac97107f3f2637650d3db15", "score": "0.5770129", "text": "protected boolean isValidMove(int x1, int y1, int x2, int y2) {\n if (x1 == x2 && y1 != y2) {\n return true;\n }\n // trying to move horizontally\n else if (x1 != x2 && y1 == y2) {\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "2309e819a7866ac2057c6553d9e4a316", "score": "0.57649827", "text": "private Position checkPositionsAround(Position pos){\n\t/*\tPosition potentialPosition;\n\t\tPosition returnedPosition;*/\n\t//\tfor(Position a: hitPositions) {\n\t\t\t// if the hit position is not on the edges of the battleship board (otherwise, this algorithm would create an exception as it checks for positions outside of the board)\n\t\t\tif(/*positionEquals(pos, a) &&*/ ( (pos.columnIndex() >= 1 && pos.columnIndex() <=8) && (pos.rowIndex() >= 1 && pos.rowIndex() <= 8 ))) {\n\t\t\t\tdecideAppropriatenessOfPosition(pos);\n\t\t\t\t/*potentialPosition = new Position (pos.rowIndex() + 1, pos.columnIndex());\n\t\t\t\tif(hitPositions.contains(potentialPosition)) {\n\t\t\t\t\tpotentialPosition = new Position (pos.rowIndex() - 1, pos.columnIndex());\n\t\t\t\t\tif(hitPositions.contains(potentialPosition)) {\n\t\t\t\t\t\tpotentialPosition = new Position (pos.rowIndex() , pos.columnIndex() + 1);\n\t\t\t\tif(hitPositions.contains(potentialPosition)) {\n\t\t\t\t\t\t\tpotentialPosition = new Position (pos.rowIndex() , pos.columnIndex() - 1);\n\t\t\t\t//If none of the surrounding Positions choose randomly..This should not be possible, but just in case\n\t\t\t\tif(hitPositions.contains(potentialPosition)) {\n\t\t\t\t\tint randomXPosition = (int )Math.random()*10 ;\n\t\t\t\t\tint randomYPosition = (int )Math.random()*10 ;\n\t\t\t\t\tboolean empty = false;\n\t\t\t\t\twhile(!empty) {\n\t\t\t\t\t\trandomXPosition = (int )Math.random()*10 ;\n\t\t\t\t\t\trandomYPosition = (int )Math.random()*10 ;\n\t\t\t\t\t\tpotentialPosition = new Position(randomXPosition,randomYPosition);\n\t\t\t\t\t\tempty = Grid.empty(pos);*/\n\t\t\t}else {\n\t\t\t\t\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "c96f25ea697c4c3d89727954e3e0cead", "score": "0.5763652", "text": "public boolean advancePosition()\n {\n return 0 == (countdown = HStaticAnimation.this.advancePosition(countdown));\n }", "title": "" }, { "docid": "a6e9bc5c078f31170e45fd9b64f14d72", "score": "0.57621336", "text": "@Override\n public boolean isValidMove(String moveTo) {\n String start = getPosition();// get strat position\n char colS = start.charAt(0);\n int rowS = start.charAt(1) - '0';\n char colE = moveTo.charAt(0);\n int rowE = moveTo.charAt(1) - '0';\n if (colS - colE == rowS - rowE) {\n return true;\n }\n if (colS - colE == rowE - rowS) {\n return true;\n }\n if (colE - colS == rowS - rowE) {\n return true;\n }\n if (colE - colS == rowE - rowS) {\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "3ad55db348558fc20c7e91e93e14fa2e", "score": "0.57554936", "text": "public synchronized void checkAndMakeSomeoneInMyCell(Position newPosition) {\n if(!isPositionADoor(newPosition)) {\n String key = newPosition.x + \".\" + newPosition.y;\n int numAgents = getNumAgentInCellMap(newPosition);\n if (numAgents >= 1) {\n makeObjectInCell(newPosition, TypesObjects.SAME_CELL);\n }\n }\n }", "title": "" }, { "docid": "ef306fca8acfd942e6f50b993dacde51", "score": "0.57529634", "text": "private boolean wrongLocation(int row1, int col1, int row2, int col2) {\n if (row1 != row2 && col1 != col2) {\n System.out.println(\"Error! Wrong ship location! Try again:\");\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "9e2b0200ddee23245a697619eed3e157", "score": "0.5737627", "text": "public boolean checkLoc( XYloc theLoc )\n\t{\n\t\treturn myState.getPlayer().getLocation().equals( theLoc );\t\t\n\t}", "title": "" }, { "docid": "fc5857be60b618a4cf38893d2c8507f8", "score": "0.57211876", "text": "private boolean isValidPlacement(String t, int x, int y) {\r\n boolean canPlace = false;\r\n //first check if first turn for either player\r\n\r\n //if its not the first turn then check if the spot is blank\r\n if(x < 0 || x > 14) {\r\n \tcanPlace = false;\r\n }\r\n else if(y < 0 || y > 14) {\r\n \tcanPlace = false;\r\n }\r\n else if (gomArr[x][y].equals(\"blank\")) {\r\n \tcanPlace = true;\r\n }\r\n return canPlace;\r\n }", "title": "" }, { "docid": "00c0d2e5d6724d575f4d024aa07fb772", "score": "0.5720767", "text": "public boolean isAdjacentBelow(Position2D checkPos) {\n if (this.x == checkPos.x && (this.y + 1) == checkPos.y) {\n return true;\n } else {\n return false;\n }\n }", "title": "" }, { "docid": "d4ad20343500d21c0f161d6a6efe806d", "score": "0.5714653", "text": "boolean hasPanelPosition();", "title": "" }, { "docid": "f37c5148efd3350d50759761d60a1c78", "score": "0.57061315", "text": "public boolean hasPrevious() { return position.size()>1; }", "title": "" }, { "docid": "d153e098575429c0ad1264d7508e9027", "score": "0.57032824", "text": "@Override\n public boolean equals(Object other) {\n if (other == null) {\n return false;\n }\n if (other == this) {\n return true;\n }\n if (!(other instanceof Coord)) {\n return false;\n }\n\n Coord second = (Coord) other;\n return (this.x == second.getX()\n && this.y == second.getY());\n }", "title": "" }, { "docid": "08dc782cfe1f114f15d7a9cc1ad5b2f6", "score": "0.5703002", "text": "private boolean isNotDuplicate(Point[] newLine)\n {\n for (int i = 0; i < lineIndex; i++)\n {\n if (lines[i][0] == newLine[0] && lines[i][1] == newLine[1])\n {\n return false;\n }\n }\n\n return true;\n }", "title": "" }, { "docid": "692e9247efdff243330ced029d3fed01", "score": "0.57016337", "text": "boolean hasPositionY();", "title": "" }, { "docid": "c9db3768ffd4c7f7b0108a14319dd97f", "score": "0.5700415", "text": "private boolean checkOverlap(Point p){\r\n\t\tNode current = this.m_snake.getHead();\r\n\t\tSnakePoint sp;\r\n\r\n\t\twhile (current != null) {\r\n\t\t\tsp = (SnakePoint) current.getData();\r\n\t\t\tif(p.equals(sp.getLocation())){\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t\tcurrent = current.getNextNode();\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "e1eefc59b8f67bcbe8c93cd89476458b", "score": "0.56994694", "text": "@Override\n public boolean areItemsTheSame(int oldItemPosition, int newItemPosition) {\n return oldRateList.get(oldItemPosition).getCurrency() == newRateList.get(newItemPosition).getCurrency();\n }", "title": "" }, { "docid": "02fc941ddd340b54acf7627e0c291c97", "score": "0.56982756", "text": "protected boolean isAlreadyShootHere(Coordinate shootPointer) {\n for (Shoot shoot : shoots) {\n if (shoot.x == shootPointer.x && shoot.y == shootPointer.y) {\n return true;\n }\n }\n return false;\n }", "title": "" }, { "docid": "54acec2a3efa3407bf522cce4c57da26", "score": "0.5691699", "text": "public boolean canMove() {\n if (!getEmptyTiles().isEmpty()) return true;\n\n // checking the first column and row for the same neighbours\n for (int i = 1; i < FIELD_WIDTH; i++) {\n if (gameTiles[0][i].value == gameTiles[0][i-1].value ||\n gameTiles[i][0].value == gameTiles[i-1][0].value) {\n return true;\n }\n }\n\n //checking other tiles for the same neighbours\n for (int i = 1; i < FIELD_WIDTH; i++) {\n for (int j = 1; j < FIELD_WIDTH; j++) {\n if (gameTiles[i][j].value == gameTiles[i-1][j].value ||\n gameTiles[i][j].value == gameTiles[i][j-1].value\n ) {\n return true;\n }\n }\n }\n\n return false;\n }", "title": "" }, { "docid": "50e6320d9e77e86b9c8450038bf8fdc5", "score": "0.5688263", "text": "@Override\n public boolean areContentsTheSame(int oldItemPosition, int newItemPosition) {\n MoneyRates oldMoneyRate = oldRateList.get(oldItemPosition);\n MoneyRates newMoneyRate = newRateList.get(newItemPosition);\n return oldMoneyRate.getCurrency().equals(newMoneyRate.getCurrency());\n }", "title": "" }, { "docid": "34669cd87eaf315e52c4a33e6534eab0", "score": "0.5686813", "text": "private boolean sameValue(Board that) {\n return this.gameBoard.equals(that.gameBoard) // TODO update when finalized instance variables\n && this.scores.equals(that.scores)\n && this.cardsRemaining.equals(that.cardsRemaining)\n && this.activePlayer.equals(that.activePlayer)\n && this.votes.equals(that.votes)\n && this.declareQueue.equals(that.declareQueue)\n && this.timeOut == that.timeOut\n && this.defaultColumns == that.defaultColumns\n && this.executor.equals(that.executor)\n && this.result.equals(that.result)\n && this.listeners.equals(that.listeners);\n }", "title": "" }, { "docid": "3704ff53122543e9e60442a50113ad20", "score": "0.5686141", "text": "public boolean isFound() {\n if (length != toLocate.length) {\n return false;\n }\n int cursor = tailPointer;\n for (int i = toLocate.length - 1; i >= 0; i--) {\n if (toLocate[i] != buffer[cursor]) {\n return false;\n }\n cursor = decrement(cursor, 1);\n }\n if (mustNotFollow != null\n && followLength == mustNotFollow.length) {\n for (int i = mustNotFollow.length - 1; i >= 0; i--) {\n if (mustNotFollow[i] != buffer[cursor]) {\n return true;\n }\n cursor = decrement(cursor, 1);\n }\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "2ff064b2ef3ec3d176a52f84707c847d", "score": "0.5646698", "text": "public boolean isThereAnotherSameFamilyMemberOnSimilarPosition(Position position, FamilyMember familyMember) {\n if(familyMember.getDiceColor()==DiceColor.NEUTRAL)\n return false;\n else if(position instanceof ProductionPosition){\n return production.hasFamilyMemberOfTheSameColor(familyMember);\n }\n else if(position instanceof HarvestPosition){\n return harvest.hasFamilyMemberOfTheSameColor(familyMember);\n }else if(position instanceof TowerPosition){\n if(greenTower.getTowerPositions().contains(position)){\n return greenTower.hasFamilyMemberOfTheSameColor(familyMember);\n }\n else if(blueTower.getTowerPositions().contains(position)){\n return blueTower.hasFamilyMemberOfTheSameColor(familyMember);\n }\n else if(yellowTower.getTowerPositions().contains(position)){\n return yellowTower.hasFamilyMemberOfTheSameColor(familyMember);\n }\n else if(purpleTower.getTowerPositions().contains(position)){\n return purpleTower.hasFamilyMemberOfTheSameColor(familyMember);\n }\n }\n return false;\n }", "title": "" }, { "docid": "717c46820feacc2c6b4306bd9ec3f9bc", "score": "0.5636067", "text": "public boolean positionValid(int row, int col){\n if(this.getPosition(row, col).getOccupied()){\n return false;\n }\n else {\n return true;\n }\n }", "title": "" }, { "docid": "3e87c6c8cfbfe4fe04930619103d5ed0", "score": "0.5634247", "text": "public boolean isAdjacentLeft(Position2D checkPos) {\n if ((this.x - 1) == checkPos.x && this.y == checkPos.y) {\n return true;\n } else {\n return false;\n }\n }", "title": "" }, { "docid": "72ed5206ae4f999669aed26d7fea2678", "score": "0.5632823", "text": "public boolean isSame(Shape y) {\n Rectangle x = (Rectangle) y; \n if ((this.getToaDo().isSameP(x.getToaDo())) && (this.getWidth()==x.getWidth()) && (this.getLength()==x.getLength()) ) \n return true;\n else return false;\n }", "title": "" }, { "docid": "2b3365a39a52bfb56a04f181866c3c40", "score": "0.5627469", "text": "boolean hasCenterPosition();", "title": "" }, { "docid": "0747f9034f1e42edc187d793e834cac6", "score": "0.56194043", "text": "boolean hasPosX();", "title": "" }, { "docid": "1c80ab263452c6cad6c41176ceec62dd", "score": "0.5611792", "text": "@Override\n\tpublic boolean equals(Object o) {\n if (o == this) {\n return true;\n }\n\n Point c = (Point) o;\n return c.x == this.x && c.y == this.y;\n }", "title": "" }, { "docid": "779f2dc21bb058aa9f1f07ee19c668bf", "score": "0.56093967", "text": "private static boolean checkNextPos(String gameboard, int i) {\n if ((i != 0 && gameboard.charAt(i - 1) == '1')\n || ((i + 1) % 5 != 0 && gameboard.charAt(i + 1) == '1')\n || (i + 5 < 25 && gameboard.charAt(i + 5) == '1')\n || (i - 5 > 0 && gameboard.charAt(i - 5) == '1')\n || ((i + 4) % 5 != 4 && i + 4 < 25 && gameboard.charAt(i + 4) == '1')\n || ((i - 4) % 5 != 0 && i - 4 >= 0 && gameboard.charAt(i - 4) == '1')\n || ((i + 6) < 25 && (i + 6) % 5 != 0 && gameboard.charAt(i + 6) == '1')\n || ((i - 6) >= 0 && (i - 6) % 5 != 4 && gameboard.charAt(i - 6) == '1')) {\n // Position is next to another position\n return true;\n }\n // Position is not next to another position\n return false;\n }", "title": "" }, { "docid": "b979a0e983217e9eac1ca89243b76b9e", "score": "0.5603955", "text": "private boolean isConsistent(int rowNum) {\n for (int i = 0; i < rowNum; i++) {\n if (queens[i] == queens[rowNum]){\n return false; // same column\n }\n if ((queens[i] - queens[rowNum]) == (rowNum - i)){\n return false; // same major diagonal\n }\n if ((queens[rowNum] - queens[i]) == (rowNum - i)){\n return false; // same minor diagonal\n }\n }\n return true; // no conflicts\n }", "title": "" }, { "docid": "103b615c1f33e0bb4e6090effc16c533", "score": "0.5603763", "text": "boolean isValidTap(int position) {\n\n int row = position / Board.NUM_ROWS;\n int col = position % Board.NUM_COLS;\n int blankId = board.numTiles();\n // Are any of the 4 the blank tile?\n Tile above = row == 0 ? null : board.getTile(row - 1, col);\n Tile below = row == Board.NUM_ROWS - 1 ? null : board.getTile(row + 1, col);\n Tile left = col == 0 ? null : board.getTile(row, col - 1);\n Tile right = col == Board.NUM_COLS - 1 ? null : board.getTile(row, col + 1);\n return (below != null && below.getId() == blankId)\n || (above != null && above.getId() == blankId)\n || (left != null && left.getId() == blankId)\n || (right != null && right.getId() == blankId);\n }", "title": "" }, { "docid": "1735a4962ab76925298e73126ac0223f", "score": "0.56003535", "text": "public boolean hasPosition() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }", "title": "" }, { "docid": "228df9bcbaef3ad4de1c077726795dcb", "score": "0.55957407", "text": "public boolean canMove() {\n Grid<Actor> gr = getGrid();\n if (gr == null) {\n return false;\n }\n\n ArrayList<Location> allLocation = getValid(getLocation());\n \n // the first element in allLocation list is current position.\n allLocation.add(0, getLocation());\n \n ArrayList<Location> emptyLocation = new ArrayList<Location>();\n \n \n for (int i = 1 ; i < allLocation.size() ; i++) {\n if (gr.get(allLocation.get(i)) == null) {\n emptyLocation.add(allLocation.get(i));\n }\n }\n \n /* \n * check if there is a empty location can move\n * if yes, push current position into stack\n * if none, pop the stack to get the last position to move (go back)\n */\n \n if (!emptyLocation.isEmpty()) {\n next = chooseDirection(emptyLocation);\n crossLocation.push(allLocation);\n int direction = getLocation().getDirectionToward(next);\n directionCount.put(direction, directionCount.get(direction) + 1);\n }\n else if (!crossLocation.empty()) {\n allLocation = crossLocation.pop();\n next = allLocation.get(0);\n int direction = next.getDirectionToward(getLocation());\n directionCount.put(direction, directionCount.get(direction) - 1);\n }\n return true;\n }", "title": "" }, { "docid": "9e4f03ab1942c2148791caa69fdcf404", "score": "0.55878645", "text": "private boolean IsAdjacent(Pair<Integer> pos1, Pair<Integer> pos2)\n {\n return (pos1.equals(Pair.IntN(pos2.first + 1, pos2.second)))\n || (pos1.equals(Pair.IntN(pos2.first - 1, pos2.second)))\n || (pos1.equals(Pair.IntN(pos2.first, pos2.second + 1)))\n || (pos1.equals(Pair.IntN(pos2.first, pos2.second - 1)));\n }", "title": "" }, { "docid": "7e61efae10ba5316dd529a10f50235d7", "score": "0.5585183", "text": "void checkGameOver() {\n boolean gameOver = true;\n\n for (int position = 0; position < TwoBoard.getNumTiles(); position++) {\n int row = position / 4;\n int col = position % 4;\n int thisTileID = twoBoard.getTile(row, col).getId();\n\n // if adjacent tile has the same ID, or if the tile selected is a zero tile\n TwoTile above = row == 0 ? null : twoBoard.getTile(row - 1, col);\n TwoTile below = row == 4 - 1 ? null : twoBoard.getTile(row + 1, col);\n TwoTile left = col == 0 ? null : twoBoard.getTile(row, col - 1);\n TwoTile right = col == 4 - 1 ? null : twoBoard.getTile(row, col + 1);\n if ((thisTileID == 0)\n || (below != null && below.getId() == thisTileID)\n || (above != null && above.getId() == thisTileID)\n || (left != null && left.getId() == thisTileID)\n || (right != null && right.getId() == thisTileID)) {\n gameOver = false;\n }\n\n }\n\n if (gameOver) {\n this.gameOver = true;\n overCount++;\n }\n }", "title": "" }, { "docid": "d52b08a2746d527e54538328ce28619b", "score": "0.5582134", "text": "private boolean alreadyReported(UFOPosition ufoPosition) {\n for(int i = 0; i < oldPositions.size(); i++){\n if(oldPositions.get(i).getShipNumber() == ufoPosition.getShipNumber()){\n return true;\n }\n }\n return false;\n }", "title": "" }, { "docid": "9da8fcc232263171db9005e65d6bbe0b", "score": "0.5575982", "text": "@SuppressWarnings(\"unlikely-arg-type\")\n @Test\n public void testEquals() {\n GridCoordinate coordinate = GridCoordinate.of(5, 4);\n GridCoordinate same = GridCoordinate.of(5, 4);\n GridCoordinate other = GridCoordinate.of(5, 7);\n\n Assert.assertTrue(\"Two objects with the same addresses should be equal.\",\n coordinate.equals(coordinate));\n Assert.assertFalse(\"Null check.\", coordinate.equals(null));\n Assert.assertFalse(\"Type check.\", coordinate.equals(\"\"));\n Assert.assertFalse(\"Same x, different y.\", coordinate.equals(other));\n Assert.assertFalse(\"Two different GridCoordinates should not be equal.\",\n coordinate.equals(GridCoordinate.ZERO));\n Assert.assertTrue(\"Same values.\", coordinate.equals(same));\n }", "title": "" }, { "docid": "f53afaeed6176a771f13554c8c46872f", "score": "0.55733156", "text": "private boolean checkStoredIndices() {\r\n // a, b are global variables!\r\n if ((b >= commonLength) || (b < 0)) {\r\n b = (a == commonLength - 1) ? a - 1 : commonLength - 1;\r\n }\r\n if ((a >= commonLength) || (a < 0)) {\r\n a = (b == commonLength - 1) ? 0 : commonLength - 1;\r\n }\r\n return true;\r\n }", "title": "" }, { "docid": "f40eaa5e92f6140d013099d3fca81801", "score": "0.55727804", "text": "public boolean ocupado(int pos) { \r\n\t\t\r\n\t\treturn !(this.memory[pos] == null);\r\n\t}", "title": "" }, { "docid": "7a3e48722516aa180c0d3751fe78434c", "score": "0.55697423", "text": "public boolean validateMove(int row, int col) {\r\n\t\tif ((row >= 0 && row <= totRows-1) && (col >= 0 && col <= totCols-1)) {\r\n\t\t\treturn playerHolder[row][col] == temp;\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "title": "" } ]
9b9fab1a6b1f0c5ab23acf10a14fc2b8
Helper class, no public constructor.
[ { "docid": "6cc83c7a09537778b0da68fce9c9847f", "score": "0.0", "text": "private SecurityResolver() {\n }", "title": "" } ]
[ { "docid": "2ad52390d92954e1d6f2925b4b14bfd4", "score": "0.8132813", "text": "private Helpers() {}", "title": "" }, { "docid": "2d0824e923a5d66806b3bad0940abbd3", "score": "0.7397919", "text": "private Utils() {}", "title": "" }, { "docid": "2d0824e923a5d66806b3bad0940abbd3", "score": "0.7397919", "text": "private Utils() {}", "title": "" }, { "docid": "5bc6e6f0a93bbeb94bbd9e86610b7863", "score": "0.7272684", "text": "private Utilities() { }", "title": "" }, { "docid": "c261ca426baabd2f569af0d1dd5a0039", "score": "0.72331405", "text": "private Util() {\n // Do not fill.\n }", "title": "" }, { "docid": "ea9d2b8c33f6b59caca46aa623d553c7", "score": "0.70690244", "text": "private Utilities() {\r\n\t}", "title": "" }, { "docid": "916eed8b71a50ab8a8a530eae365656b", "score": "0.7043118", "text": "private Utils() {\n // intentionally empty\n }", "title": "" }, { "docid": "12de2474757e78c7c5385de546dca394", "score": "0.70083004", "text": "private Utility() {}", "title": "" }, { "docid": "46a460fe7658f3c47ccd353629357303", "score": "0.692233", "text": "private Obsfucator() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "b0753d0cfd20206fa52b63bb9481e94f", "score": "0.6892196", "text": "private Utils() {\r\n }", "title": "" }, { "docid": "e06f14445f900937c21b43191019b766", "score": "0.6844894", "text": "private Gooey() {\n\t}", "title": "" }, { "docid": "89e176ec3d1b9d6e343db9be35db59d9", "score": "0.681244", "text": "private StringUtilities() {\n\t}", "title": "" }, { "docid": "92af683b0523a6761a099f8b68090cff", "score": "0.6805018", "text": "private Misc() {\n\t}", "title": "" }, { "docid": "2454f2b5ae6aa55f0337b8eff0011445", "score": "0.6779051", "text": "private DQUtils()\n\t{\n\t\tsuper();\n\t}", "title": "" }, { "docid": "755b143d1187f6b2f4eb866ca93f6dce", "score": "0.6768186", "text": "private Utils() {\n }", "title": "" }, { "docid": "1b94bf7ca08775b8368af9731baa7c46", "score": "0.6742078", "text": "private SmithWatermanUtils() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "cc9a258748871670a492cf3cd7c83a0b", "score": "0.67319226", "text": "private ApplicationUtils() {\r\n\t\t// Do not instantiate this.\r\n\t}", "title": "" }, { "docid": "31d162ed44b4e268f3f11804bbb7d33b", "score": "0.67095083", "text": "private StressHelper() {\r\n\t}", "title": "" }, { "docid": "3c415c4460bc41643d4a5ba98ad28581", "score": "0.67020273", "text": "private Utils() {\n }", "title": "" }, { "docid": "4568935142835fbcbe32da6a577f8848", "score": "0.6688685", "text": "private CyberionUtil() {\n\t}", "title": "" }, { "docid": "efe08e23fa3c2c63809249d150f79335", "score": "0.6682266", "text": "private ObjUtils()\r\n {\r\n // Private constructor to prevent instantiation.\r\n }", "title": "" }, { "docid": "090367a90ca5031c4baa277087237d68", "score": "0.6661038", "text": "private Traveloid() {\n\t}", "title": "" }, { "docid": "9974dbfd44d18e1fe94cf9042db78a63", "score": "0.66569334", "text": "private SerialVersionComputationHelper() {\n\t\t// Not for instantiation\n\t}", "title": "" }, { "docid": "800ae1c9151d7dd7c313c3457f6b4429", "score": "0.6656501", "text": "private MiscUtil() {\n }", "title": "" }, { "docid": "d239f9cc3c439e5b90e50ccc023935a0", "score": "0.6641408", "text": "private MeasurementDataUtils() {\n\t}", "title": "" }, { "docid": "bded2330089badcd6e7d63fabb5b9803", "score": "0.6630308", "text": "protected ArithUtils()\n {\n }", "title": "" }, { "docid": "d8fbe39ab3f9093c90623b7a34a56179", "score": "0.6608854", "text": "private ThingleUtil() {\n }", "title": "" }, { "docid": "2834b3444f969e915b0c5d14af8ed393", "score": "0.6603883", "text": "private SwiftUtil() { }", "title": "" }, { "docid": "c18755570de8a5c2e7b3af62e7706c19", "score": "0.6592405", "text": "private OpenDeclarationUtils() {\n \t\t// hides constructor\n \t}", "title": "" }, { "docid": "a1e580ea1cbe2fa14e1856a46796b28a", "score": "0.65770894", "text": "private Ewoks() {\n }", "title": "" }, { "docid": "ddcb045d8173c36a5385d836ccd3cf35", "score": "0.6566761", "text": "private LAFUtilities() {}", "title": "" }, { "docid": "e1567f7d2004ce66905f19de1a660030", "score": "0.65648454", "text": "private RarUtil() {\r\n\t}", "title": "" }, { "docid": "1f2c22fa4abda66d2d7817fb8f063486", "score": "0.65485644", "text": "private Fachada() {\n\n\t}", "title": "" }, { "docid": "57d242c00e65816b869fc1c3e6eecc6d", "score": "0.65428716", "text": "private GenericUtils() {\n }", "title": "" }, { "docid": "21dc6070bb156e78a77acad82dbaaa7a", "score": "0.6542012", "text": "protected WordSetUtils()\n\t{\n\t}", "title": "" }, { "docid": "d0aa74a8395831b074bd518582b1ef17", "score": "0.65407413", "text": "private PackedTrick() {\n }", "title": "" }, { "docid": "e668d29b3177d405b24c453c2e54e309", "score": "0.6539153", "text": "private ArrayUtils()\n\t{\n\t}", "title": "" }, { "docid": "08dcd5a54642d6ff18f469291cdf2c2b", "score": "0.65308756", "text": "private ResourceUtility() {\n\t}", "title": "" }, { "docid": "c35fcf37c329b7247dc17a2ec719a799", "score": "0.65246946", "text": "protected ExecUtils()\n\t{\n\t}", "title": "" }, { "docid": "aa2612281196d7fcc10efe6d30c4d758", "score": "0.651627", "text": "private StandaloneUtils() {\n\t\tthrow new RuntimeException();\n\t}", "title": "" }, { "docid": "a5dd40b22dc71a5fd470cac0dc22e603", "score": "0.6505786", "text": "private DocumentHelper() {}", "title": "" }, { "docid": "f93feaa66b91abcd20503bcecf4c91d5", "score": "0.6502906", "text": "private CommonUtil() {\n }", "title": "" }, { "docid": "ede936da24e3ec9db7cb958b5a8bc97f", "score": "0.65026265", "text": "private ObjectUtils() {\n }", "title": "" }, { "docid": "3f5857d99e06b16993c24739fc7327c1", "score": "0.6500036", "text": "private CommonUtils() {\n }", "title": "" }, { "docid": "d54228ea62c8d17c0edf44dd58b4000b", "score": "0.64992946", "text": "protected AltapriseUtilities () {\n }", "title": "" }, { "docid": "4604791bed64882531f784c1a66a15d8", "score": "0.6486999", "text": "private _ClassUtils()\n {\n // utility class, disable instantiation\n }", "title": "" }, { "docid": "e91d1c87f73686c15873e5570288c1e8", "score": "0.64866513", "text": "private CommonUtil() {\n throw new AssertionError();\n }", "title": "" }, { "docid": "50be88356e3591ebb92b1fd0115f177c", "score": "0.64842814", "text": "private PropertyLoader()\n {\n // utility class doesn't have a public ct\n }", "title": "" }, { "docid": "4ef3b31dd1bb58b124f5abff0a677778", "score": "0.6463189", "text": "private RiskUtils() {}", "title": "" }, { "docid": "df926d230fd783f75c4aa2fba225e918", "score": "0.6440148", "text": "private GraphUtil() {/*no instances*/}", "title": "" }, { "docid": "b422d99907b2122ae51c9bd562875e1f", "score": "0.64340794", "text": "private JexlUtil() {\n }", "title": "" }, { "docid": "44f978fe032f40f327371e03be167b02", "score": "0.6431859", "text": "private Utility() {\n }", "title": "" }, { "docid": "e954de49b05096eb99f2b7ce5c6a5fd2", "score": "0.64297867", "text": "private QueryUtils() {\n\n\t}", "title": "" }, { "docid": "c4c35cf461d0bbc3603b65be4f91ec94", "score": "0.6426568", "text": "private FormatUtils() { }", "title": "" }, { "docid": "84e798c0effe2b8f7307024344152c9b", "score": "0.6424319", "text": "private JsonUtils() {\n\t}", "title": "" }, { "docid": "df2aed465cef34af0041123020ebc01b", "score": "0.6422166", "text": "private MSEUtil() {\r\n }", "title": "" }, { "docid": "bec907349db028951bd514dbf1ceb0ba", "score": "0.641018", "text": "private KCEncodingUtils()\n\t{\n\t}", "title": "" }, { "docid": "09086ee3b1d19af8a6147bd99e577319", "score": "0.6409372", "text": "private AppUtil()\n\t{\n\t\tthrow new Error(\"Do not need instantiate!\");\n\t}", "title": "" }, { "docid": "9c3f1682b118b745c4da852a42a0946f", "score": "0.64079016", "text": "private DateUtils() {\n\t\t// not publicly instantiable\n\t}", "title": "" }, { "docid": "29d17339793121079298d45104cbd294", "score": "0.6407495", "text": "private StringHelper()\r\n\t{\r\n\t}", "title": "" }, { "docid": "aaba9026f7e881b6ef4f4a5e1e6bd45b", "score": "0.6393903", "text": "private AlgorithmUtil() {\r\n\t}", "title": "" }, { "docid": "2eb69c0aae77e0b2c30238c8ee9f0e28", "score": "0.63809294", "text": "private JsUtility() {\r\n throw new AssertionError(\"JsUtility is a static utility class that cannot be instantiated\");\r\n }", "title": "" }, { "docid": "fbd4cdd795a18b8d7f419f9a7dd4a76e", "score": "0.63788855", "text": "private XMLHelper() {\n }", "title": "" }, { "docid": "da4ad63ac8bebfbcb4a477cfa3c9f676", "score": "0.637336", "text": "private GlobalUtil() {\n\t}", "title": "" }, { "docid": "9cc39395cd526a098dd8b7c46b43897e", "score": "0.6368735", "text": "private RepositoryModelUtils() {\r\n\t}", "title": "" }, { "docid": "a9c63a2cf966e9eb59a107c7a84337aa", "score": "0.6347192", "text": "private JwtUtils() {\n\t\tthrow new IllegalAccessError(CommonConstants.STANDARD_MESSAGE_UTILITY_CLASS);\n\t}", "title": "" }, { "docid": "73975d96ae9518fc7a326466f140f03c", "score": "0.6339761", "text": "private IOUtil() {\n // Constructor privado para evitar instancias\n }", "title": "" }, { "docid": "68bd3ba3da35f0d5c50b7db65d84d35c", "score": "0.6339336", "text": "private CommandUtils() { throw new AssertionError(); }", "title": "" }, { "docid": "2337520e9ca1a25b79f76d68264b40f5", "score": "0.633692", "text": "private TranscoderUtils() {\n }", "title": "" }, { "docid": "7470d858d2b646eb046a3d578d9d8d54", "score": "0.6335056", "text": "private VertexUtils() {\n }", "title": "" }, { "docid": "da427f875635a38dbea93f841d998219", "score": "0.6334112", "text": "private ParserUtility() {\r\n throw new UnsupportedOperationException();\r\n }", "title": "" }, { "docid": "fd1f9cc5aeadf4c71954058bc8b0ea9f", "score": "0.6331337", "text": "private ExceptionUtils() {\r\n\t\treturn;\r\n\t}", "title": "" }, { "docid": "983e649f587cb322adb2b04482021e62", "score": "0.6330718", "text": "private LiveConnectUtils() { throw new AssertionError(ErrorMessages.NON_INSTANTIABLE_CLASS); }", "title": "" }, { "docid": "f2c8be09b685213e1de5073b2a2d2466", "score": "0.6327629", "text": "private GISUtilities() {}", "title": "" }, { "docid": "3071b10a29a7b280623f0c23608e2da8", "score": "0.63242996", "text": "private MemoryUtils() {\r\n }", "title": "" }, { "docid": "303ec988ac2197762a7bf7560902c83a", "score": "0.6319701", "text": "private WWindUtils() {\n }", "title": "" }, { "docid": "0a5b968e40398a7487697686a04559d1", "score": "0.6317442", "text": "private Alu() {}", "title": "" }, { "docid": "5980633939f0582fe12be1a7f6ab17cd", "score": "0.63139796", "text": "private FileTestNameUtils() {\n }", "title": "" }, { "docid": "d1020abcd528a54ad6c125c018209735", "score": "0.63126266", "text": "private SystemUtils() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "df691d1413845bd21b53b31c396adea0", "score": "0.6310764", "text": "private UvoTenderCleanerUtils() {\n }", "title": "" }, { "docid": "c9a30d461c1c4012d313f1f02c275a5c", "score": "0.63072515", "text": "private MappingUtils() {\n }", "title": "" }, { "docid": "ee69927edc4ba7be03522fd60eb1ffcd", "score": "0.62804794", "text": "private DateUtils() {\n\t\tthrow new IllegalAccessError(\"Shouldn't be instantiated.\");\n\t}", "title": "" }, { "docid": "0b838a288eddd9d156dc3de3b4aae943", "score": "0.6279503", "text": "private Toy(){}", "title": "" }, { "docid": "691ca028051c2e2c2948789dacc4613b", "score": "0.62706804", "text": "private ToStringUtil() {\n //empty\n }", "title": "" }, { "docid": "a9c02cf1fb432c6cf4d8da991685799e", "score": "0.6269665", "text": "private SBRUtils() {}", "title": "" }, { "docid": "1830f3d68e6e147a23ac83c1b29404f8", "score": "0.6268532", "text": "private TypicalCanteens() {\n }", "title": "" }, { "docid": "9811471fb22855a0b9f592ac7b23d135", "score": "0.6265994", "text": "private GisUtils() {\n }", "title": "" }, { "docid": "aa11eda739c485941dc668462856c759", "score": "0.62611425", "text": "private Trimr() {}", "title": "" }, { "docid": "8e294719d5abbdf4d173fecdec013189", "score": "0.6257024", "text": "private MessageUtil() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "0934e7a7a717300ede918698a8d08d7a", "score": "0.6255663", "text": "private AppointmentUtils()\n {\n }", "title": "" }, { "docid": "ebbbff7e8df87542278c12be6d4f3968", "score": "0.6254008", "text": "private StringConverter() {\n\t}", "title": "" }, { "docid": "410b277f106522307a13f2314ad9616f", "score": "0.62499833", "text": "private TrackingServiceHelper() {\r\n\r\n\t}", "title": "" }, { "docid": "a3a77270a4a25fb87961ddb454901b34", "score": "0.62493086", "text": "private ModelMarkerUtil() {\n \n }", "title": "" }, { "docid": "6b7355e4221c9d75df7cd531b74901dd", "score": "0.62469506", "text": "private TestHelper() {\r\n // empty\r\n }", "title": "" }, { "docid": "66d0bd2722bc0304199b248f3c01855a", "score": "0.6221375", "text": "Utility getUtility();", "title": "" }, { "docid": "01b3b1e36b79b03cbb5fa3ed7399211f", "score": "0.6220803", "text": "private DataTypeMergeUtils()\r\n {\r\n }", "title": "" }, { "docid": "3bef3ce9985655bb95ac470a8fed5baa", "score": "0.62189955", "text": "public DerbyUtils() {\n\t// empty constructor -- helper class\n }", "title": "" }, { "docid": "d5f19a1ea31f02a228a3eb24e509788a", "score": "0.620784", "text": "private BlockUtil() { }", "title": "" }, { "docid": "1a988730c761218d615c315852d0adbf", "score": "0.6197357", "text": "private GzipUtils() {\n\t}", "title": "" }, { "docid": "959312046d4e85a27b2792158cb826a0", "score": "0.61964047", "text": "private IterableUtils() {\n }", "title": "" }, { "docid": "14512f9af00e4326e23ab9e5878e815e", "score": "0.61918", "text": "private Clauses() {\n\t}", "title": "" } ]
8f501edd080d31ad4a822340cce4f38e
Auto generated getter method
[ { "docid": "483d491c4c676c5756b1df72f92cc6d6", "score": "0.0", "text": "public int getTotalCount() {\r\n return localTotalCount;\r\n }", "title": "" } ]
[ { "docid": "66dfe07a0eb4db8398eaa70157740eef", "score": "0.75164664", "text": "public String get();", "title": "" }, { "docid": "66dfe07a0eb4db8398eaa70157740eef", "score": "0.75164664", "text": "public String get();", "title": "" }, { "docid": "cae7dd0c3ea172c79f53946f56f87dc3", "score": "0.74159676", "text": "Object get();", "title": "" }, { "docid": "12b08246b8afa882d61fffec13cac698", "score": "0.71664625", "text": "public abstract T get();", "title": "" }, { "docid": "337fded68dd6344bbea3d11c5d365d24", "score": "0.7093425", "text": "public TYPE get();", "title": "" }, { "docid": "723a0de03a80058625e00fc3ef1bd5cd", "score": "0.7084533", "text": "String get();", "title": "" }, { "docid": "723a0de03a80058625e00fc3ef1bd5cd", "score": "0.7084533", "text": "String get();", "title": "" }, { "docid": "723a0de03a80058625e00fc3ef1bd5cd", "score": "0.7084533", "text": "String get();", "title": "" }, { "docid": "81d3daf1c1f6a2b3aabd015e8383e4c3", "score": "0.7076845", "text": "public int get();", "title": "" }, { "docid": "cf1824fae9a5356814b3b9fa0d285e57", "score": "0.70665044", "text": "abstract public void get();", "title": "" }, { "docid": "54da172263fdb3b83c6c5f887b7c22b5", "score": "0.70179415", "text": "public void get();", "title": "" }, { "docid": "3109ad7262d12ec1e728c41906f65034", "score": "0.6985646", "text": "public abstract int get();", "title": "" }, { "docid": "0a13b0e2beb25555342b545a507e43eb", "score": "0.68941605", "text": "public T get() {\n return Value;\n }", "title": "" }, { "docid": "11ae3f676ce42a2333721001c6d26290", "score": "0.6892323", "text": "@Override\r\n\tpublic void get() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e73f7497b216dccb12c2ccd84a619c91", "score": "0.6888165", "text": "@Override\n R get();", "title": "" }, { "docid": "dfba832f112ce9dba2c4e8f2a6e436b4", "score": "0.68829596", "text": "public Object get() {\r\n return getValue();\r\n }", "title": "" }, { "docid": "59049c53fcc404937622093922342a5e", "score": "0.68748695", "text": "@Override\r\n public void get() {\n\r\n }", "title": "" }, { "docid": "e5bb271eadea8189490795aca4e9f5dd", "score": "0.68533564", "text": "public T get(){\n return value;\n }", "title": "" }, { "docid": "5418d7a83a5227dd252e330b652040d7", "score": "0.6852925", "text": "@Override\n\tpublic default Object get() {\n\t\treturn get(new Object[0]);\n\t}", "title": "" }, { "docid": "c26b1975d55b20a66f303a2940b3854a", "score": "0.68512344", "text": "public abstract V get();", "title": "" }, { "docid": "ec437c016f7778a3c712e132700b3a18", "score": "0.6767928", "text": "public T get() {\n return value;\n }", "title": "" }, { "docid": "0be69c4502a4d1a496c54ac12c89c7c2", "score": "0.67446357", "text": "public Object get() {\n return value;\n }", "title": "" }, { "docid": "d87b88775c224e6a7c95cc7215218d9b", "score": "0.67439413", "text": "T get();", "title": "" }, { "docid": "d87b88775c224e6a7c95cc7215218d9b", "score": "0.67439413", "text": "T get();", "title": "" }, { "docid": "d87b88775c224e6a7c95cc7215218d9b", "score": "0.67439413", "text": "T get();", "title": "" }, { "docid": "d87b88775c224e6a7c95cc7215218d9b", "score": "0.67439413", "text": "T get();", "title": "" }, { "docid": "d87b88775c224e6a7c95cc7215218d9b", "score": "0.67439413", "text": "T get();", "title": "" }, { "docid": "d87b88775c224e6a7c95cc7215218d9b", "score": "0.67439413", "text": "T get();", "title": "" }, { "docid": "03573c6ed591d73131845a4da55e6bb8", "score": "0.6702908", "text": "public abstract Object get_value();", "title": "" }, { "docid": "f4391e6cadd3d3fd080d128936667b38", "score": "0.66864234", "text": "public T get() {\n return this.value;\n }", "title": "" }, { "docid": "21069efc794246b00903cef9a31f0252", "score": "0.66787976", "text": "public Object get() {\n return value;\n }", "title": "" }, { "docid": "db66184483c9a9473c73aa1686e049ae", "score": "0.6605695", "text": "public String toPropertyGetter() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "897de46ca029acf9c693fab364a5616d", "score": "0.6585742", "text": "@Override\n\t\tpublic String get() {\n\t\t\treturn null;\n\t\t}", "title": "" }, { "docid": "d313986e204a04106440355fa8a34e7a", "score": "0.65738463", "text": "public Producto getProductoNuevo()\r\n/* 238: */ {\r\n/* 239:251 */ return this.productoNuevo;\r\n/* 240: */ }", "title": "" }, { "docid": "64124a968ae3f44293c064c17c13059a", "score": "0.6555346", "text": "public E get();", "title": "" }, { "docid": "7816754f7fcec9d602f69fa8b321dda4", "score": "0.6548373", "text": "public Car getCar();", "title": "" }, { "docid": "134eebfb339c954e7a58d3e46ad95c18", "score": "0.65422827", "text": "public abstract String getPropertyValue();", "title": "" }, { "docid": "fe183982b8025cff570accb979d26842", "score": "0.6519237", "text": "@Nullable Object get();", "title": "" }, { "docid": "83d324dbe0e1cbb506c2398d66e089f6", "score": "0.64907944", "text": "public int getAge () { return age; }", "title": "" }, { "docid": "d315857a0fc153009c0708f460252768", "score": "0.6484278", "text": "Object getValue(){\n\t\treturn this.value;\n\t}", "title": "" }, { "docid": "f2854ceef724f008f71ea8a51e203d8a", "score": "0.6477886", "text": "public abstract String getFor();", "title": "" }, { "docid": "bc235d34f9e726be44969d986eb690f2", "score": "0.64753157", "text": "@Override\n public String get() {\n return String.valueOf(this.hashCode());\n }", "title": "" }, { "docid": "fef0ab6085c5ec15f7af37549eaeaf78", "score": "0.6457052", "text": "private static interface VarGetter {\n /**\n * Get the value of the var.\n * @returns the value of the var.\n */\n public String get();\n }", "title": "" }, { "docid": "92bb16940220edac529e107cd35302f9", "score": "0.64359885", "text": "@NonNull\n\tT get();", "title": "" }, { "docid": "a3e6ca0ab660c949be92f436ed09a4b8", "score": "0.64032954", "text": "public Producto getProducto()\r\n/* 214: */ {\r\n/* 215:309 */ return this.producto;\r\n/* 216: */ }", "title": "" }, { "docid": "70885ee635cf0868328e71fee23d1436", "score": "0.6398941", "text": "@Override\n\tpublic void handleGetters() {\n\n\t}", "title": "" }, { "docid": "97f01b5ba5047d4a46758ef01bd05010", "score": "0.6393768", "text": "protected String getterMethod(final GeneratedProperty field) {\n final StringBuilder sb = new StringBuilder();\n final String name = TextTemplateUtil.fieldName(field);\n final String importedName = Preconditions.checkNotNull(importedName(field.getReturnType()));\n sb.append(\"public \")\n .append(importedName)\n .append(' ')\n .append(TextTemplateUtil.getterMethodName(field))\n .append(\"() {\")\n .append(\"return \")\n .append(name);\n if (!(field.getReturnType() instanceof ParameterizedType)\n && importedName.contains(\"[]\")) {\n sb.append(\" == null ? null : \")\n .append(name)\n .append(\".clone()\");\n }\n sb.append(\";}\\n\");\n return sb.toString();\n }", "title": "" }, { "docid": "377902282c05f35f94706cf6acf6a07a", "score": "0.6388744", "text": "public final T get() { return value; }", "title": "" }, { "docid": "0c8aacffdf0c09a12b8914d3bb641186", "score": "0.63656515", "text": "public Object getValue() {\n/* 112 */ return this.value;\n/* */ }", "title": "" }, { "docid": "2a49e5795d277f0e37d91d3bf4cffbe4", "score": "0.6324245", "text": "public String getValue()\n/* 67: */ {\n/* 68:57 */ return this.value;\n/* 69: */ }", "title": "" }, { "docid": "7e6ef1c70d67de27c26a833b6bab8f9c", "score": "0.6320926", "text": "public int getAge() {\r\n return age; }", "title": "" }, { "docid": "55806828b73fc43ab43cda77bc2ad198", "score": "0.6315218", "text": "@DISPID(0)\n @PropGet\n @DefaultMethod\n java.lang.String get_Default();", "title": "" }, { "docid": "3253cb959e2a5974b03ec65e8135e14d", "score": "0.6315126", "text": "String getValue(){\r\n return value;\r\n }", "title": "" }, { "docid": "2e954c827bfc4f26834bc0dedb911f19", "score": "0.6314697", "text": "org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get getGet();", "title": "" }, { "docid": "2e954c827bfc4f26834bc0dedb911f19", "score": "0.6314656", "text": "org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get getGet();", "title": "" }, { "docid": "a106f7e7a7b2df873e41480d1a63d375", "score": "0.63135934", "text": "@Override\n\tpublic B get() {\n\t\tsuper.get(); //iif the return type of get method in\n\t\tSystem.out.println(\"Class B\");//super class is non-primitive and the return type\n\t\t //in the subclass must be of subclass type\n\t\t\n\t\treturn null;\n\t}", "title": "" }, { "docid": "c969672c448462bb9991aba342f2edaf", "score": "0.6307099", "text": "public Object method_3304() {\n return this.field_2214;\n }", "title": "" }, { "docid": "587287ebe90b896d948cb5494186bfb0", "score": "0.6304609", "text": "public String getByWhom() {\n/* 276 */ return this.byWhom;\n/* */ }", "title": "" }, { "docid": "b70705d243b1a82724e7bad9abc3e5ad", "score": "0.62923133", "text": "public interface IGetter {\n\n public Object get(String name);\n\n}", "title": "" }, { "docid": "2d5af030ef94f917eeb2fd555918cacf", "score": "0.62882733", "text": "public String getNomeVE()\n/* 21: */ {\n/* 22:26 */ return this.NomeVE;\n/* 23: */ }", "title": "" }, { "docid": "a9920d1950d241c6a85931b44e7bd4ef", "score": "0.6275675", "text": "public abstract String getProperty();", "title": "" }, { "docid": "ce5f572a4ed094a3bcab10347a8908c2", "score": "0.62737286", "text": "public Customer getCustomer();", "title": "" }, { "docid": "e4ed7caac4d451a43b074b6707e8ef94", "score": "0.6273457", "text": "public /* bridge */ /* synthetic */ java.lang.Object getValue() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: gov.nist.core.NameValue.getValue():java.lang.Object, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: gov.nist.core.NameValue.getValue():java.lang.Object\");\n }", "title": "" }, { "docid": "5dc297588482c0faefd0c11396a30925", "score": "0.6273179", "text": "public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get getGet() {\n return get_;\n }", "title": "" }, { "docid": "5dc297588482c0faefd0c11396a30925", "score": "0.62728477", "text": "public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get getGet() {\n return get_;\n }", "title": "" }, { "docid": "307043f12f07c641f6328f88c07c22fe", "score": "0.6268237", "text": "protected String getElementValue()\n\tthrows JspException\n\t{\n\t\tif(getFieldGetter() == null)\n\t\t\tthrow new JspException(\"This instance of '\" + this.getClass().getSimpleName() + \n\t\t\t\t\"' must specify either a field name, getter method or override getElementValue() and it does not.\");\n\t\telse\n\t\t{\n\t\t\tObject fieldValue;\n\t\t\ttry\n\t\t\t{\n\t\t\t\tfor(Method fieldGetter : this.getFieldGetters())\n\t\t\t\t{\n\t\t\t\t\tfieldValue = fieldGetter.invoke( getBusinessObject(), new Object[]{} );\n\t\t\t\t\tif(fieldValue != null && fieldValue.toString().length() > 0)\n\t\t\t\t\t\treturn fieldValue.toString();\n\t\t\t\t}\n\t\t\t\treturn \"\";\n\t\t\t}\n\t\t\tcatch (Exception x)\n\t\t\t{\n\t\t\t\tthrow new JspException(x);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "4ef8dac1e7f899f6a61db06b4a19ab1c", "score": "0.6262727", "text": "public V get(int param1) {\n }", "title": "" }, { "docid": "f687b7de4744c888b825f64e3959d6dd", "score": "0.62457174", "text": "protected abstract Getter buildPropertyGetter(AttributeBinding mappedProperty);", "title": "" }, { "docid": "d612aee697ba7d3d15a470255385eabb", "score": "0.62432057", "text": "public double getAge()\n{\n\treturn age;\n}", "title": "" }, { "docid": "a511c11914dcdcd48828fb4c75ef6d30", "score": "0.6235276", "text": "public void GetValue()\n\t{\n\t}", "title": "" }, { "docid": "c81ad771daff4f55cab0053fe4ffcc06", "score": "0.6233085", "text": "public String getDocumento()\r\n/* 123: */ {\r\n/* 124:234 */ return this.documento;\r\n/* 125: */ }", "title": "" }, { "docid": "65fca89319090e8992f9228ed848343b", "score": "0.62226856", "text": "public Method getAccessorMethod() {\n\t\treturn accessorMethod;\n\t}", "title": "" }, { "docid": "cc5c2a35b7b2a6d9c870c57b405eb8a4", "score": "0.6214543", "text": "public d get() {\n return (d) c.a(this.f15898a.b(this.f15899b.get(), this.f15900c.get(), this.f15901d.get()), \"Cannot return null from a non-@Nullable @Provides method\");\n }", "title": "" }, { "docid": "0840c83807045d333f19eebbc9ce9ba0", "score": "0.621224", "text": "public String getValue ();", "title": "" }, { "docid": "eee444670bd96cc8c989da47ad890767", "score": "0.620643", "text": "@mdl.propgetter\n private String getNom() {\n return this.nom;\n }", "title": "" }, { "docid": "1fc48e6d35b66bdf349a360238fc6cd5", "score": "0.6175188", "text": "@GenerationPoint(generationPoint = ICppDefinitions.GETTER_BY_INDEX_INVOCATION, priority= IGenerationPointPriorityConstants.HIGHEST, \r\n\t\t\tunique= true)\r\n\tpublic static String setGetterByIndex(@GenerationRegistry GenerationPolicyRegistry generationValueGetter,\r\n\t\t\t@GenerationElementParameter(id = IModelingElementDefinitions.TYPE_NAME) String typeName,\r\n\t\t\t@GenerationElementParameter(id = IModelingElementDefinitions.PRIORITY) String key,\r\n\t\t\t@GenerationLoopElement Object modelPackage,\r\n\t\t\t@GenerationBaseElement Object element,\r\n\t\t\t@GenerationArguments Object... arguments){\n\t\tString setTemplateGetByIndex = generationValueGetter.use(ISTLConstants.GET_SET_ELEMENT_TEMPLATE_IMPLEMENTATION);\r\n\t\tgenerationValueGetter.addUniqueValue(ISTLConstants.GET_SET_ELEMENT_TEMPLATE_IMPLEMENTATION, setTemplateGetByIndex);\r\n\r\n\t\tgenerationValueGetter.generationPointString(modelPackage, ICppModelingDecisions.CPP_LIBRARY_DEPENDS_GENERATION_POINT,\r\n\t\t\t\tGenerationArgumentDescriptor.arg(ICppModelingDecisions.CPP_LIBRARY_DEPENDS_INCLUDE_ARGUMENT, ISTLConstants.SET), \r\n\t\t\t\tGenerationArgumentDescriptor.arg(ICppModelingDecisions.CPP_LIBRARY_DEPENDS_LIBRARY_ARGUMENT, ISTLConstants.STD_LIBRARY), \r\n\t\t\t\tGenerationArgumentDescriptor.arg(IModelingDecisions.DEPENDS_INCLUDE_ID_ARGUMENT, ICppDefinitions.BODY_INCLUDES_TRACKER));\r\n\t\t\r\n\t\t\r\n\t\tif(key!= null&& !key.isEmpty()){\r\n\t\t\tList<Object> types = generationValueGetter.getValues(IModelingConstants.TYPES_TRACKER, modelPackage, typeName);\r\n\t\t\tif(!types.isEmpty()){\r\n\t\t\t\tObject typeObject = types.get(0);\r\n\t\t\t\tList<Object> values = generationValueGetter.getValues(ICppAssociationsDefinitionsConstants.GETTER_IMPLEMENTATION, key, typeObject, \r\n\t\t\t\t\t\tVisibilityConstants.PUBLIC);\r\n\t\t\t\tif(!values.isEmpty()){\r\n\t\t\t\t\tString typeObjectName= generationValueGetter.getString(typeObject, IModelingElementDefinitions.NAME);\r\n\t\t\t\t\tString defaultName = generationValueGetter.use(ICppDefinitions.BASE_COMPARATOR_DEFAULT_NAME, typeObjectName, key);\r\n\t\t\t\t\t\r\n\t\t\t\t\tObject object = values.get(0);\r\n\t\t\t\t\tString fieldGetter= null;\r\n\t\t\t\t\tfieldGetter: {\r\n\t\t\t\t\t\tif(object instanceof HashMap){\r\n\t\t\t\t\t\t\tHashMap<?, ?> map= (HashMap<?, ?>) object;\r\n\t\t\t\t\t\t\tObject methodName = map.get(IModelingConstants.METHOD_NAME);\r\n\t\t\t\t\t\t\tif(methodName instanceof String){\r\n\t\t\t\t\t\t\t\tfieldGetter= (String) methodName;\r\n\t\t\t\t\t\t\t\tfieldGetter= generationValueGetter.use(ICppDefinitions.METHOD_INVOCATION, fieldGetter);\r\n\t\t\t\t\t\t\t\tbreak fieldGetter;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\tString baseComparator = generationValueGetter.generate(ICppDefinitions.BASE_COMPARATOR, element, defaultName, typeName, fieldGetter);\r\n\t\t\t\t\tgenerationValueGetter.addUniqueValue(ICppDefinitions.BASE_COMPARATOR, baseComparator, typeObject);\r\n\t\t\t\t}\r\n\t\t\t\treturn generationValueGetter.generate(ISTLConstants.GET_SET_ELEMENT, element, arguments);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "5947d61636fde0e0a25e4fc77c8bfeaa", "score": "0.6166932", "text": "T getValor() {\r\n return this.valor;\r\n }", "title": "" }, { "docid": "2f8e1370f1920dae6484b40064e298ba", "score": "0.61593235", "text": "public int getId(){...}", "title": "" }, { "docid": "cb2b0a02c1dfb1da6812c0270b1f3a93", "score": "0.6157818", "text": "public long getA() {\r\n\treturn a;\r\n}", "title": "" }, { "docid": "ef1f2423e4fe8787dca428ba320eaaa4", "score": "0.6147253", "text": "public Vehicle getVehicle();", "title": "" }, { "docid": "6af39b08eaf00001d49f29eef89badc4", "score": "0.6140665", "text": "public int getAge(){\n return age; \n }", "title": "" }, { "docid": "5fcded61677ed98d1975d7f0734b5924", "score": "0.6138583", "text": "public class_913 method_1588() {\r\n return this.field_1466;\r\n }", "title": "" }, { "docid": "8edb301a8e38c4a2aeb5dba06971e106", "score": "0.6138537", "text": "public Module method_1424() {\n return this.field_977;\n }", "title": "" }, { "docid": "2afb07a905e4b7bdce3a191ff3402b07", "score": "0.6134571", "text": "public String getRegiaoVE()\n/* 31: */ {\n/* 32:34 */ return this.RegiaoVE;\n/* 33: */ }", "title": "" }, { "docid": "59130c350fe9a886687ebca130abc03b", "score": "0.6133954", "text": "@Override\n public List<FieldValueGetter> generateGetters(Class pojoClass) {\n ImmutableList.Builder<FieldValueGetter> getters = ImmutableList.builder();\n\n List<Method> getterMethods = getPublicGetters(pojoClass);\n\n for (Method getterMethod : getterMethods) {\n getters.add(createFieldGetterInstance(pojoClass, getterMethod));\n }\n\n return getters.build();\n }", "title": "" }, { "docid": "ffa695144a8da26480db5ada8ff5e40e", "score": "0.6126418", "text": "public T getValue()\n {\n return _value;\n }", "title": "" }, { "docid": "fdf6025be6eb5e7f143c2e30a4d09bf7", "score": "0.61249024", "text": "private void retrieve() {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }", "title": "" }, { "docid": "a91870f8a3630962190994f34a21d84d", "score": "0.612268", "text": "public R get() {\n\t\treturn this.object;\n\t}", "title": "" }, { "docid": "85b1d4855bb1f48cc9c15c777c42a6ac", "score": "0.6116002", "text": "public int getJoueurGagnant(){return joueurGagnant;}", "title": "" }, { "docid": "d475bb13b85a8db3850fdef614b81506", "score": "0.61158705", "text": "public Price getPrice();", "title": "" }, { "docid": "bacc2bd137c115362bab6728b8c721fc", "score": "0.61090195", "text": "public int getAge()\r\n {\r\n return myAge;\r\n }", "title": "" }, { "docid": "b5acd8fe510214a3f865e4ec6b46b323", "score": "0.6103942", "text": "public T getValue() {\n return getFieldValue();\n }", "title": "" }, { "docid": "1ab1288c7ef7e817ff2cf7e6989720e1", "score": "0.60921437", "text": "public String getName() \n{\nreturn (String)get_Value(\"Name\");\n}", "title": "" }, { "docid": "1ab1288c7ef7e817ff2cf7e6989720e1", "score": "0.60921437", "text": "public String getName() \n{\nreturn (String)get_Value(\"Name\");\n}", "title": "" }, { "docid": "1ab1288c7ef7e817ff2cf7e6989720e1", "score": "0.60921437", "text": "public String getName() \n{\nreturn (String)get_Value(\"Name\");\n}", "title": "" }, { "docid": "1ab1288c7ef7e817ff2cf7e6989720e1", "score": "0.60921437", "text": "public String getName() \n{\nreturn (String)get_Value(\"Name\");\n}", "title": "" }, { "docid": "1ab1288c7ef7e817ff2cf7e6989720e1", "score": "0.60921437", "text": "public String getName() \n{\nreturn (String)get_Value(\"Name\");\n}", "title": "" }, { "docid": "1ab1288c7ef7e817ff2cf7e6989720e1", "score": "0.60921437", "text": "public String getName() \n{\nreturn (String)get_Value(\"Name\");\n}", "title": "" }, { "docid": "1ab1288c7ef7e817ff2cf7e6989720e1", "score": "0.60921437", "text": "public String getName() \n{\nreturn (String)get_Value(\"Name\");\n}", "title": "" }, { "docid": "1ab1288c7ef7e817ff2cf7e6989720e1", "score": "0.60921437", "text": "public String getName() \n{\nreturn (String)get_Value(\"Name\");\n}", "title": "" }, { "docid": "1ab1288c7ef7e817ff2cf7e6989720e1", "score": "0.60921437", "text": "public String getName() \n{\nreturn (String)get_Value(\"Name\");\n}", "title": "" } ]
48fad311394ab2c58f585b4c85908c04
Explores tree until it finds AND or OR component, returning the component if an Or is found, null otherwise
[ { "docid": "f5c3b3ef58b4a44982243ce3672d46bd", "score": "0.7053126", "text": "private Component findBottomOr(Component terminalComp){\n\t\tComponent currentComp = terminalComp;\n\t\twhile(true){\n\t\t\tif(currentComp instanceof Or){\n\t\t\t\treturn currentComp;\n\t\t\t} else if(currentComp instanceof And){\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\t/* No branching at all in this game */\n\t\t\tif(currentComp.getInputs().size()==0) return null;\n\t\t\tcurrentComp = currentComp.getSingleInput();\n\t\t}\n\t}", "title": "" } ]
[ { "docid": "2efe98b910dc8e069bca67385c4e6932", "score": "0.68947726", "text": "@Nullable\n\tprivate SpelNodeImpl eatLogicalOrExpression() {\n\t\tSpelNodeImpl expr = eatLogicalAndExpression();\n\t\twhile (peekIdentifierToken(\"or\") || peekToken(TokenKind.SYMBOLIC_OR)) {\n\t\t\tToken t = takeToken(); //consume OR\n\t\t\tSpelNodeImpl rhExpr = eatLogicalAndExpression();\n\t\t\tcheckOperands(t, expr, rhExpr);\n\t\t\texpr = new OpOr(t.startPos, t.endPos, expr, rhExpr);\n\t\t}\n\t\treturn expr;\n\t}", "title": "" }, { "docid": "a7f63dbbf87be88ded98c13d0a1cd4e3", "score": "0.65946823", "text": "Proposition getOr();", "title": "" }, { "docid": "c389281dd3e45936c44cc705791b8f86", "score": "0.6263298", "text": "@Override\r\n public Object visitLogicalOrExpr(Expr.LogicalOR expr) {\r\n boolean resultLeft = isTrue(evaluate(expr.left));\r\n\r\n if(resultLeft)\r\n return true;\r\n\r\n return isTrue(evaluate(expr.right));\r\n }", "title": "" }, { "docid": "9be633975a3f873edfbf07386fe67725", "score": "0.618521", "text": "private ExpressionNode orTerm() {\n\t\t// or_term -> and_term and_op\n\t\tExpressionNode term = andTerm();\n\t\treturn andOperation(term);\n\t}", "title": "" }, { "docid": "d57a004422d97e08e636c089731f1332", "score": "0.61345285", "text": "final public ExpressionNode expressionOR() throws ParseException {Token t = null;\n ExpressionNode n1, n2 = null;\n n1 = expressionAND();\n switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {\n case OR:{\n t = jj_consume_token(OR);\n n2 = expressionOR();\n break;\n }\n default:\n jj_la1[1] = jj_gen;\n ;\n }\nif(t == null) {if (\"\" != null) return n1;}\n OperationNode node = new OperationNode(t.image);\n node.addChild(n1);\n node.addChild(n2);\n {if (\"\" != null) return node;}\n throw new Error(\"Missing return statement in function\");\n}", "title": "" }, { "docid": "34620799bc8f73d669d850b5c65a0cdf", "score": "0.6046796", "text": "@Override\n \tpublic void visit(LogicalOr node) \n \t{\n \t\tString rd = makeTempRegister(regCounter++);\n \t\tnode.leftSide().accept(this);\n \t\tString rs = makeTempRegister(regCounter);\n \t\tnode.rightSide().accept(this);\n \t\t\n \t\tType leftType = tc.getType((Command) node.leftSide());\n \t\tType rightType = tc.getType((Command) node.rightSide());\n \n \t\t// pop left and right sides from stack\n \t\tif (rightType instanceof BoolType\n \t\t\t\t&& leftType instanceof BoolType)\n \t\t{\n \t\t\t// pop the right side\n \t\t\tprogram.popInt(rs);\n \t\t\t// pop the left side\n \t\t\tprogram.popInt(rd);\n \t\t\t// compute logical or\n \t\t\tprogram.appendData(\"or \" + \"rd, \" + \"rd, \" + \"rs \"\n \t\t\t + \"# \" + rd + \" = \" + rd + \" or \" + rs);\n \t\t\t//push the result back onto stack\n \t\t\tprogram.pushInt(rd);\n \t\t}\n \t\telse\n \t\t\tthrow new RuntimeException(\"cannot compute \" + leftType + \" or \" \n \t\t\t\t\t\t\t\t\t\t+ rightType);\n \n \t\tregCounter = 0;\n \t}", "title": "" }, { "docid": "1f8cac50fa9b4cc1d5d663993d31ca36", "score": "0.6046355", "text": "private void transformWhereCondition(CommonTree node, List<CommonTree> andConditionList) throws SqlXlateException {\n if (node.getType() == PantheraParser_PLSQLParser.SQL92_RESERVED_AND) {\n // Transform the left child.\n transformWhereCondition((CommonTree) node.getChild(0), andConditionList);\n // Transform the right child.\n transformWhereCondition((CommonTree) node.getChild(1), andConditionList);\n } else if (node.getType() == PantheraParser_PLSQLParser.SQL92_RESERVED_OR) {\n // For a OR node, create a new AND condition list for each child.\n ArrayList<CommonTree> leftList = new ArrayList<CommonTree>();\n ArrayList<CommonTree> rightList = new ArrayList<CommonTree>();\n // Transform the left child.\n transformWhereCondition((CommonTree) node.getChild(0), leftList);\n // Transform the right child.\n transformWhereCondition((CommonTree) node.getChild(1), rightList);\n\n // Extract common conditions from the two child.\n ArrayList<CommonTree> commonConditions = new ArrayList<CommonTree>();\n Iterator<CommonTree> leftIterator = leftList.iterator();\n boolean orAlwaysTrue = false;\n while (!orAlwaysTrue && leftIterator.hasNext()) {\n CommonTree leftCondition = leftIterator.next();\n Iterator<CommonTree> rightIterator = rightList.iterator();\n while (rightIterator.hasNext()) {\n CommonTree rightCondition = rightIterator.next();\n if (compareCondition(leftCondition, rightCondition)) {\n commonConditions.add(leftCondition);\n // Remove the common condition from its original position.\n orAlwaysTrue = removeCondition(node, leftCondition);\n if (!orAlwaysTrue) {\n orAlwaysTrue = removeCondition(node, rightCondition);\n }\n // Remove the common condition from the condition lists.\n leftIterator.remove();\n rightIterator.remove();\n break;\n }\n }\n }\n\n // Generate AND nodes per the common conditions.\n if (!commonConditions.isEmpty()) {\n CommonTree parent = (CommonTree) node.getParent();\n int childIndex = node.getChildIndex();\n CommonTree root;\n Iterator<CommonTree> iterator = commonConditions.iterator();\n if (orAlwaysTrue) {\n root = iterator.next();\n } else {\n root = node;\n }\n while (iterator.hasNext()) {\n CommonTree andNode = FilterBlockUtil.createSqlASTNode(root, PantheraParser_PLSQLParser.SQL92_RESERVED_AND, \"and\");\n andNode.addChild(root);\n CommonTree commonCondition = iterator.next();\n andNode.addChild(commonCondition);\n root = andNode;\n // Add the new AND condition into the parent's AND condition list.\n if (andConditionList != null) {\n andConditionList.add(commonCondition);\n }\n }\n // replace the current node.\n parent.setChild(childIndex, root);\n }\n } else if (node.getParent().getType() == PantheraParser_PLSQLParser.SQL92_RESERVED_AND) {\n // Add current node into the AND condition list.\n if (andConditionList != null) {\n andConditionList.add(node);\n }\n }\n }", "title": "" }, { "docid": "afbac3ecd7821edd01eaafd15ba77ebe", "score": "0.60253966", "text": "LogicalOrExpression createLogicalOrExpression();", "title": "" }, { "docid": "afbac3ecd7821edd01eaafd15ba77ebe", "score": "0.60253966", "text": "LogicalOrExpression createLogicalOrExpression();", "title": "" }, { "docid": "0d98f1ee4d448934d9fa4c73b6c36903", "score": "0.58990425", "text": "@Nullable\n\tprivate SpelNodeImpl eatLogicalAndExpression() {\n\t\tSpelNodeImpl expr = eatRelationalExpression();\n\t\twhile (peekIdentifierToken(\"and\") || peekToken(TokenKind.SYMBOLIC_AND)) {\n\t\t\tToken t = takeToken(); // consume 'AND'\n\t\t\tSpelNodeImpl rhExpr = eatRelationalExpression();\n\t\t\tcheckOperands(t, expr, rhExpr);\n\t\t\texpr = new OpAnd(t.startPos, t.endPos, expr, rhExpr);\n\t\t}\n\t\treturn expr;\n\t}", "title": "" }, { "docid": "cfe48f7c3e8e80ec0aebe4618c9939e4", "score": "0.58872795", "text": "private ExpressionNode logicalExpression() {\n\t\t// only one rule\n\t\t// logical -> or_term or_op\n\t\tExpressionNode expression = orTerm();\n\t\texpression = orOperation(expression);\n\t\treturn expression;\n\t}", "title": "" }, { "docid": "b5b3a85a15ed8b3dc5053945bb925c94", "score": "0.5861092", "text": "private Expression orTerm() {\r\n\t\t// or_term -> and_term and_op\r\n\t\tExpression andTermExpression = andTerm();\r\n\t\treturn andOp(andTermExpression);\r\n\t}", "title": "" }, { "docid": "7fbc9d34abe3e746831f4b122ac13a27", "score": "0.5822677", "text": "@Override public Expr visitOr(final OrExpr e) {\nthrow new ece351.util.Todo351Exception();\n\t\treturn e;\n\t}", "title": "" }, { "docid": "6ffe51c553b52ff5a5fc213f1e0d947c", "score": "0.58152163", "text": "Condition or(Condition condition);", "title": "" }, { "docid": "f679a89727f9f2f2cbfdd52b2a367261", "score": "0.5787233", "text": "ExpressionList<T> endOr();", "title": "" }, { "docid": "26804b3cbc5a8b0db962366b656626f4", "score": "0.575972", "text": "private static void processAndOrOr(Decomposition decomp, SemanticNode node,\n String namePathPrefix, String op) {\n if (!(node instanceof OpApplNode)) {\n decomp.children.add(node);\n decomp.namePath.add(namePathPrefix);\n return;\n }\n OpApplNode aonode = (OpApplNode) node;\n SymbolNode sym = aonode.getOperator();\n UniqueString opId = null;\n String opName = null;\n if (sym instanceof OpDefNode) {\n opId = ((OpDefNode) sym).getName();\n opName = opId.toString();\n }\n if ((opName == null) || (!opName.equals(op))) {\n decomp.children.add(node);\n decomp.namePath.add(namePathPrefix);\n return;\n }\n // This is an op infix operation, so recurse.\n processAndOrOr(decomp, aonode.getArgs()[0], namePathPrefix + \"!1\", op);\n decomp.children.add(aonode.getArgs()[1]);\n decomp.namePath.add(namePathPrefix + \"!2\");\n return;\n }", "title": "" }, { "docid": "1d6e2492759da50b276421cc0e941e33", "score": "0.57425475", "text": "@Test\n public void testAndEqOr_EqEq()\n {\n try\n {\n BranchNode node = ( BranchNode ) FilterParser\n .parse( \"(&(objectClass=nisNetgroup)(|(nisNetGroupTriple=a*a)(nisNetGroupTriple=\\\\28*,acc1,*\\\\29)))\" );\n assertEquals( 2, node.getChildren().size() );\n\n assertTrue( node instanceof AndNode );\n\n // Check the (a=b) part\n ExprNode aEqb = node.getFirstChild();\n assertTrue( aEqb instanceof EqualityNode );\n assertEquals( \"objectClass\", ( ( EqualityNode<?> ) aEqb ).getAttribute() );\n assertEquals( \"nisNetgroup\", ( ( EqualityNode<?> ) aEqb ).getValue().getString() );\n\n // Check the or node\n ExprNode orNode = node.getChildren().get( 1 );\n assertTrue( orNode instanceof OrNode );\n\n assertEquals( 2, ( ( OrNode ) orNode ).getChildren().size() );\n\n ExprNode leftNode = ( ( OrNode ) orNode ).getChildren().get( 0 );\n\n assertTrue( leftNode instanceof SubstringNode );\n assertEquals( \"nisNetGroupTriple\", ( ( SubstringNode ) leftNode ).getAttribute() );\n assertEquals( \"a\", ( ( SubstringNode ) leftNode ).getInitial() );\n assertEquals( 0, ( ( SubstringNode ) leftNode ).getAny().size() );\n assertEquals( \"a\", ( ( SubstringNode ) leftNode ).getFinal() );\n\n ExprNode rightNode = ( ( OrNode ) orNode ).getChildren().get( 1 );\n\n assertTrue( rightNode instanceof SubstringNode );\n assertEquals( \"nisNetGroupTriple\", ( ( SubstringNode ) rightNode ).getAttribute() );\n assertEquals( \"(\", ( ( SubstringNode ) rightNode ).getInitial() );\n assertEquals( 1, ( ( SubstringNode ) rightNode ).getAny().size() );\n assertEquals( \",acc1,\", ( ( SubstringNode ) rightNode ).getAny().get( 0 ) );\n assertEquals( \")\", ( ( SubstringNode ) rightNode ).getFinal() );\n }\n catch ( ParseException pe )\n {\n assertTrue( true );\n }\n }", "title": "" }, { "docid": "9a4bfdf153cab1b670d507bc2f16a49c", "score": "0.5617209", "text": "ConditionOr createConditionOr();", "title": "" }, { "docid": "f401f6e1e62bfa2f617918a30c6df625", "score": "0.56147534", "text": "ExpressionList<T> or(Expression expOne, Expression expTwo);", "title": "" }, { "docid": "7369aa85ab84d16b9d9eb34f0b1c6998", "score": "0.5606583", "text": "public final PlatuInstParser.or_return or() throws RecognitionException {\r\n PlatuInstParser.or_return retval = new PlatuInstParser.or_return();\r\n retval.start = input.LT(1);\r\n\r\n PlatuInstParser.and_return op1 = null;\r\n\r\n PlatuInstParser.and_return op2 = null;\r\n\r\n\r\n try {\r\n // C:\\\\Users\\\\Manny Rodriguez\\\\workspace\\\\platu\\\\src\\\\platu\\\\lpn\\\\io\\\\PlatuInst.g:1820:5: (op1= and ( '||' op2= and )* )\r\n // C:\\\\Users\\\\Manny Rodriguez\\\\workspace\\\\platu\\\\src\\\\platu\\\\lpn\\\\io\\\\PlatuInst.g:1820:9: op1= and ( '||' op2= and )*\r\n {\r\n pushFollow(FOLLOW_and_in_or3576);\r\n op1=and();\r\n\r\n state._fsp--;\r\n\r\n retval.expr = (op1!=null?op1.expr:null); retval.value = (op1!=null?op1.value:0);\r\n // C:\\\\Users\\\\Manny Rodriguez\\\\workspace\\\\platu\\\\src\\\\platu\\\\lpn\\\\io\\\\PlatuInst.g:1821:6: ( '||' op2= and )*\r\n loop83:\r\n do {\r\n int alt83=2;\r\n int LA83_0 = input.LA(1);\r\n\r\n if ( (LA83_0==OR) ) {\r\n alt83=1;\r\n }\r\n\r\n\r\n switch (alt83) {\r\n \tcase 1 :\r\n \t // C:\\\\Users\\\\Manny Rodriguez\\\\workspace\\\\platu\\\\src\\\\platu\\\\lpn\\\\io\\\\PlatuInst.g:1821:8: '||' op2= and\r\n \t {\r\n \t match(input,OR,FOLLOW_OR_in_or3587); \r\n \t pushFollow(FOLLOW_and_in_or3591);\r\n \t op2=and();\r\n\r\n \t state._fsp--;\r\n\r\n \t retval.expr = new OrNode(retval.expr, (op2!=null?op2.expr:null)); retval.value = (retval.value != 0 || (op2!=null?op2.value:0) != 0) ? 1 : 0;\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop83;\r\n }\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n retval.stop = input.LT(-1);\r\n\r\n }\r\n\r\n catch (RecognitionException e){\r\n \tSystem.err.println(e.input.getSourceName() + \":\");\r\n \tSystem.err.println(\"---> Mismatched token '\" + e.token.getText() + \"' on line \" + e.line);\r\n \tSystem.err.println();\r\n \tSystem.exit(1);\r\n }\r\n finally {\r\n }\r\n return retval;\r\n }", "title": "" }, { "docid": "09df029c889d6ec8b98e5b3dcb810cc2", "score": "0.5558865", "text": "@Override\n public Node visitDisjunction_test(SoarParser.Disjunction_testContext ctx) {\n return null;\n }", "title": "" }, { "docid": "f9783ab124aba2a1d3f336546f57a959", "score": "0.5555075", "text": "protected Exp atLgOr(Exp e) // ||\n {\n ToHirCOpt2 child = sureChild();\n Exp e1 = child.visitExp(e.getExp1());\n if( e1.getOperator()==HIR.OP_CONST )\n {\n if( ((ConstNode)e1).getIntValue()==0 )\n {\n // false || e2 --> side effect of e1, side effect of e2,e2\n if (fDbgLevel > 3) //##67\n message(4,\"false||e2 --> e2: \"+ToC.tos(e));\n buffer.addPrev(child.buffer);\n return visitExp(e.getExp2());\n }\n else\n {\n // true || e2 --> side effect of e1,true\n if (fDbgLevel > 3) //##67\n message(4,\"true||e2 --> true: \"+ToC.tos(e));\n buffer.addPrev(child.buffer);\n return e1;\n }\n }\n e.setChild1( child.buffer.toExp(e1) );\n Exp e2 = child.visitExp(e.getExp2());\n e.setChild2( child.buffer.toExp(e2) );\n return e;\n }", "title": "" }, { "docid": "85cbc6d7f20a32c69cb3afaf3a735d6e", "score": "0.549721", "text": "private Expression orOp(Expression expression) {\r\n\t\tif (lookahead.tokenType == TokenTypes.OR_OPERATOR) {\r\n\t\t\t// or_op -> OR_OPERATOR or_term or_op\r\n\t\t\tOrCriteriaExpression orCriteria;\r\n\t\t\tif (expression.getType() == ExpressionTypes.OR_CRITERIA) {\r\n\t\t\t\torCriteria = (OrCriteriaExpression) expression;\r\n\t\t\t} else {\r\n\t\t\t\torCriteria = new OrCriteriaExpression(expression);\r\n\t\t\t}\r\n\t\t\tnextToken();\r\n\t\t\tExpression orTermExpression = orTerm();\r\n\t\t\torCriteria.add(orTermExpression);\r\n\t\t\treturn orOp(orCriteria);\r\n\t\t} else {\r\n\t\t\t// or_op -> EPSILON\r\n\t\t\treturn expression;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "24833c9f9da2d1bd9403ff818b739d91", "score": "0.5447113", "text": "private int factorAndOr()\n\t\t\tthrows InstantiationException, IllegalAccessException {\n\t\tint ntrimmed = 0;\n\t\tfor (Component c : new HashSet<>(p.getComponents())) {\n\t\t\tList<Pair<Class<?>, Class<?>>> classList = Arrays.asList(\n\t\t\t\t\tPair.of(And.class, Or.class),\n\t\t\t\t\tPair.of(Or.class, And.class));\n\t\t\tfor (Pair<Class<?>, Class<?>> f : classList) {\n\t\t\t\t// convention here: left = or, right = and\n\t\t\t\tif (!f.left.isInstance(c)) continue;\n\t\t\t\tComponent bestFactor = null;\n\t\t\t\tint bestCount = 1;\n\t\t\t\tMap<Component, List<Component>> ands = new HashMap<>();\n\t\t\t\tfor (Component in : c.getInputs()) {\n\t\t\t\t\tif (!f.right.isInstance(in)) continue;\n\t\t\t\t\tfor (Component in2 : in.getInputs()) {\n\t\t\t\t\t\tif (!ands.containsKey(in2)) ands.put(in2, new ArrayList<>());\n\t\t\t\t\t\tands.get(in2).add(in);\n\t\t\t\t\t\tif (ands.get(in2).size() > bestCount) {\n\t\t\t\t\t\t\tbestFactor = in2;\n\t\t\t\t\t\t\tbestCount = ands.get(in2).size();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (bestFactor == null) continue;\n\t\t\t\tList<Component> bestInput = ands.get(bestFactor);\n\n\t\t\t\tint delta = 4;\n\t\t\t\tfor (Component in : bestInput) {\n\t\t\t\t\tdelta += in.getInputs().size();\n\t\t\t\t\tif (in.getOutputs().size() == 1) {\n\t\t\t\t\t\tdelta -= in.getInputs().size() + 1;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (delta >= 0) break;\n\t\t\t\tntrimmed -= delta;\n\n\t\t\t\t// remove old links\n\n\t\t\t\tComponent and = null;\n\t\t\t\ttry {\n\t\t\t\t\tand = (Component) f.right.getDeclaredConstructor().newInstance();\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\tp.addComponent(and);\n\t\t\t\tand.addOutput(c);\n\t\t\t\tc.addInput(and);\n\t\t\t\tand.addInput(bestFactor);\n\t\t\t\tbestFactor.addOutput(and);\n\n\t\t\t\tComponent or = null;\n\t\t\t\ttry {\n\t\t\t\t\tor = (Component) f.left.getDeclaredConstructor().newInstance();\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\tp.addComponent(or);\n\t\t\t\tor.addOutput(and);\n\t\t\t\tand.addInput(or);\n\n\t\t\t\tfor (Component in : bestInput) {\n\t\t\t\t\tin.removeOutput(c);\n\t\t\t\t\tc.removeInput(in);\n\t\t\t\t\tComponent newAnd = new And();\n\t\t\t\t\tp.addComponent(newAnd);\n\t\t\t\t\tfor (Component old : in.getInputs()) {\n\t\t\t\t\t\tif (old == bestFactor) continue;\n\t\t\t\t\t\tnewAnd.addInput(old);\n\t\t\t\t\t\told.addOutput(newAnd);\n\t\t\t\t\t}\n\t\t\t\t\tnewAnd.addOutput(or);\n\t\t\t\t\tor.addInput(newAnd);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn ntrimmed;\n\t}", "title": "" }, { "docid": "b55174924741393fe4ec13c94f6ea054", "score": "0.54425395", "text": "public final FatwormParser.logical_or_return logical_or() throws RecognitionException {\r\n FatwormParser.logical_or_return retval = new FatwormParser.logical_or_return();\r\n retval.start = input.LT(1);\r\n\r\n int logical_or_StartIndex = input.index();\r\n\r\n Object root_0 = null;\r\n\r\n Token OR186=null;\r\n FatwormParser.logical_and_return logical_and185 =null;\r\n\r\n FatwormParser.logical_and_return logical_and187 =null;\r\n\r\n FatwormParser.logical_and_return logical_and188 =null;\r\n\r\n\r\n Object OR186_tree=null;\r\n\r\n try {\r\n if ( state.backtracking>0 && alreadyParsedRule(input, 34) ) { return retval; }\r\n\r\n // Fatworm.g:210:3: ( logical_and ( OR ^ logical_and )+ | logical_and )\r\n int alt38=2;\r\n int LA38_0 = input.LA(1);\r\n\r\n if ( (LA38_0==AVG||LA38_0==COUNT||LA38_0==DEFAULT||LA38_0==EXISTS||LA38_0==FALSE||LA38_0==FLOAT_LITERAL||LA38_0==ID||LA38_0==INTEGER_LITERAL||(LA38_0 >= MAX && LA38_0 <= MIN)||LA38_0==NOT||LA38_0==NULL||(LA38_0 >= STRING_LITERAL && LA38_0 <= SUM)||LA38_0==TRUE||LA38_0==106||LA38_0==111) ) {\r\n int LA38_1 = input.LA(2);\r\n\r\n if ( (synpred58_Fatworm()) ) {\r\n alt38=1;\r\n }\r\n else if ( (true) ) {\r\n alt38=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 38, 1, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 38, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n switch (alt38) {\r\n case 1 :\r\n // Fatworm.g:210:5: logical_and ( OR ^ logical_and )+\r\n {\r\n root_0 = (Object)adaptor.nil();\r\n\r\n\r\n pushFollow(FOLLOW_logical_and_in_logical_or1338);\r\n logical_and185=logical_and();\r\n\r\n state._fsp--;\r\n if (state.failed) return retval;\r\n if ( state.backtracking==0 ) adaptor.addChild(root_0, logical_and185.getTree());\r\n\r\n // Fatworm.g:210:17: ( OR ^ logical_and )+\r\n int cnt37=0;\r\n loop37:\r\n do {\r\n int alt37=2;\r\n int LA37_0 = input.LA(1);\r\n\r\n if ( (LA37_0==OR) ) {\r\n alt37=1;\r\n }\r\n\r\n\r\n switch (alt37) {\r\n \tcase 1 :\r\n \t // Fatworm.g:210:18: OR ^ logical_and\r\n \t {\r\n \t OR186=(Token)match(input,OR,FOLLOW_OR_in_logical_or1341); if (state.failed) return retval;\r\n \t if ( state.backtracking==0 ) {\r\n \t OR186_tree = \r\n \t (Object)adaptor.create(OR186)\r\n \t ;\r\n \t root_0 = (Object)adaptor.becomeRoot(OR186_tree, root_0);\r\n \t }\r\n\r\n \t pushFollow(FOLLOW_logical_and_in_logical_or1344);\r\n \t logical_and187=logical_and();\r\n\r\n \t state._fsp--;\r\n \t if (state.failed) return retval;\r\n \t if ( state.backtracking==0 ) adaptor.addChild(root_0, logical_and187.getTree());\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t if ( cnt37 >= 1 ) break loop37;\r\n \t if (state.backtracking>0) {state.failed=true; return retval;}\r\n EarlyExitException eee =\r\n new EarlyExitException(37, input);\r\n throw eee;\r\n }\r\n cnt37++;\r\n } while (true);\r\n\r\n\r\n }\r\n break;\r\n case 2 :\r\n // Fatworm.g:211:5: logical_and\r\n {\r\n root_0 = (Object)adaptor.nil();\r\n\r\n\r\n pushFollow(FOLLOW_logical_and_in_logical_or1352);\r\n logical_and188=logical_and();\r\n\r\n state._fsp--;\r\n if (state.failed) return retval;\r\n if ( state.backtracking==0 ) adaptor.addChild(root_0, logical_and188.getTree());\r\n\r\n }\r\n break;\r\n\r\n }\r\n retval.stop = input.LT(-1);\r\n\r\n\r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = (Object)adaptor.rulePostProcessing(root_0);\r\n adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);\r\n }\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n \tretval.tree = (Object)adaptor.errorNode(input, retval.start, input.LT(-1), re);\r\n\r\n }\r\n\r\n finally {\r\n \t// do for sure before leaving\r\n if ( state.backtracking>0 ) { memoize(input, 34, logical_or_StartIndex); }\r\n\r\n }\r\n return retval;\r\n }", "title": "" }, { "docid": "fac313951efb6ba2345729e6ed9b77bb", "score": "0.54400563", "text": "void orExp()throws SyntaxException{\r\n\t\tandExp();\r\n\t\twhile(t.isKind(OP_OR)){ // 0 or more times. don't use match(). \r\n\t\t\tconsume();\t\t\t//already matched! just consume\r\n\t\t\tandExp();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "41c65f1856258a3dfd11db210ae590d7", "score": "0.5412811", "text": "private ExpressionNode orOperation(ExpressionNode expression) {\n\t\t// or_op -> OR or_term or_op\n\t\tif (lookahead.tokenType == TokenTypes.OR) {\n\t\t\tOrExpressionNode disjunction;\n\t\t\t// This means we are actually dealing with an OR\n\t\t\t// If expr is not already an OR, we have to create one\n\t\t\tif (expression.getType() == TokenTypes.OR) {\n\t\t\t\tdisjunction = (OrExpressionNode) expression;\n\t\t\t} else {\n\t\t\t\tdisjunction = new OrExpressionNode(expression);\n\t\t\t}\n\n\t\t\tnextToken();\n\t\t\tExpressionNode term = orTerm();\n\t\t\tdisjunction.add(term);\n\n\t\t\treturn orOperation(disjunction);\n\t\t}\n\n\t\t// or_op -> EPSILON\n\t\treturn expression;\n\t}", "title": "" }, { "docid": "ba10da84a7a2609e044f9c80d1210775", "score": "0.5412053", "text": "@Override public Expr visit(NaryOrExpr e) {\n\t\tIterator<Expr> childIter = e.children.iterator();\n\t\twhile(childIter.hasNext()){\n\t\t\tExpr child = childIter.next();\n\t\t\ttraverse(child);\n\t\t\tif (childIter.hasNext()){\n\t\t\t\tfprogram.append(\" \" + VConstants.OR + \" \");\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn e;\n\t}", "title": "" }, { "docid": "a201c00a1068a49a5ec02a0c6780a59f", "score": "0.54015625", "text": "public final StaticJavaASTAltParser.logicalOrExp_return logicalOrExp() throws RecognitionException {\n\t\tStaticJavaASTAltParser.logicalOrExp_return retval = new StaticJavaASTAltParser.logicalOrExp_return();\n\t\tretval.start = input.LT(1);\n\n\t\tObject root_0 = null;\n\n\t\tToken t=null;\n\t\tParserRuleReturnScope e1 =null;\n\t\tParserRuleReturnScope e2 =null;\n\n\t\tObject t_tree=null;\n\t\tRewriteRuleTokenStream stream_69=new RewriteRuleTokenStream(adaptor,\"token 69\");\n\t\tRewriteRuleSubtreeStream stream_logicalAndExp=new RewriteRuleSubtreeStream(adaptor,\"rule logicalAndExp\");\n\n\t\ttry {\n\t\t\t// /Users/robby/Workspaces/SireumV2/compiler-sjc/src-sjc/sjc/parser/StaticJavaASTAlt.g:192:2: ( (e1= logicalAndExp -> $e1) (t= '||' e2= logicalAndExp -> ^( BINARY_EXP $logicalOrExp $t $e2) )* )\n\t\t\t// /Users/robby/Workspaces/SireumV2/compiler-sjc/src-sjc/sjc/parser/StaticJavaASTAlt.g:192:4: (e1= logicalAndExp -> $e1) (t= '||' e2= logicalAndExp -> ^( BINARY_EXP $logicalOrExp $t $e2) )*\n\t\t\t{\n\t\t\t// /Users/robby/Workspaces/SireumV2/compiler-sjc/src-sjc/sjc/parser/StaticJavaASTAlt.g:192:4: (e1= logicalAndExp -> $e1)\n\t\t\t// /Users/robby/Workspaces/SireumV2/compiler-sjc/src-sjc/sjc/parser/StaticJavaASTAlt.g:192:6: e1= logicalAndExp\n\t\t\t{\n\t\t\tpushFollow(FOLLOW_logicalAndExp_in_logicalOrExp1854);\n\t\t\te1=logicalAndExp();\n\t\t\tstate._fsp--;\n\n\t\t\tstream_logicalAndExp.add(e1.getTree());\n\t\t\t// AST REWRITE\n\t\t\t// elements: e1\n\t\t\t// token labels: \n\t\t\t// rule labels: retval, e1\n\t\t\t// token list labels: \n\t\t\t// rule list labels: \n\t\t\t// wildcard labels: \n\t\t\tretval.tree = root_0;\n\t\t\tRewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.getTree():null);\n\t\t\tRewriteRuleSubtreeStream stream_e1=new RewriteRuleSubtreeStream(adaptor,\"rule e1\",e1!=null?e1.getTree():null);\n\n\t\t\troot_0 = (Object)adaptor.nil();\n\t\t\t// 192:40: -> $e1\n\t\t\t{\n\t\t\t\tadaptor.addChild(root_0, stream_e1.nextTree());\n\t\t\t}\n\n\n\t\t\tretval.tree = root_0;\n\n\t\t\t}\n\n\t\t\t// /Users/robby/Workspaces/SireumV2/compiler-sjc/src-sjc/sjc/parser/StaticJavaASTAlt.g:193:6: (t= '||' e2= logicalAndExp -> ^( BINARY_EXP $logicalOrExp $t $e2) )*\n\t\t\tloop14:\n\t\t\twhile (true) {\n\t\t\t\tint alt14=2;\n\t\t\t\tint LA14_0 = input.LA(1);\n\t\t\t\tif ( (LA14_0==69) ) {\n\t\t\t\t\talt14=1;\n\t\t\t\t}\n\n\t\t\t\tswitch (alt14) {\n\t\t\t\tcase 1 :\n\t\t\t\t\t// /Users/robby/Workspaces/SireumV2/compiler-sjc/src-sjc/sjc/parser/StaticJavaASTAlt.g:193:8: t= '||' e2= logicalAndExp\n\t\t\t\t\t{\n\t\t\t\t\tt=(Token)match(input,69,FOLLOW_69_in_logicalOrExp1887); \n\t\t\t\t\tstream_69.add(t);\n\n\t\t\t\t\tpushFollow(FOLLOW_logicalAndExp_in_logicalOrExp1891);\n\t\t\t\t\te2=logicalAndExp();\n\t\t\t\t\tstate._fsp--;\n\n\t\t\t\t\tstream_logicalAndExp.add(e2.getTree());\n\t\t\t\t\t// AST REWRITE\n\t\t\t\t\t// elements: e2, logicalOrExp, t\n\t\t\t\t\t// token labels: t\n\t\t\t\t\t// rule labels: retval, e2\n\t\t\t\t\t// token list labels: \n\t\t\t\t\t// rule list labels: \n\t\t\t\t\t// wildcard labels: \n\t\t\t\t\tretval.tree = root_0;\n\t\t\t\t\tRewriteRuleTokenStream stream_t=new RewriteRuleTokenStream(adaptor,\"token t\",t);\n\t\t\t\t\tRewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.getTree():null);\n\t\t\t\t\tRewriteRuleSubtreeStream stream_e2=new RewriteRuleSubtreeStream(adaptor,\"rule e2\",e2!=null?e2.getTree():null);\n\n\t\t\t\t\troot_0 = (Object)adaptor.nil();\n\t\t\t\t\t// 193:40: -> ^( BINARY_EXP $logicalOrExp $t $e2)\n\t\t\t\t\t{\n\t\t\t\t\t\t// /Users/robby/Workspaces/SireumV2/compiler-sjc/src-sjc/sjc/parser/StaticJavaASTAlt.g:193:43: ^( BINARY_EXP $logicalOrExp $t $e2)\n\t\t\t\t\t\t{\n\t\t\t\t\t\tObject root_1 = (Object)adaptor.nil();\n\t\t\t\t\t\troot_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(BINARY_EXP, \"BINARY_EXP\"), root_1);\n\t\t\t\t\t\tadaptor.addChild(root_1, stream_retval.nextTree());\n\t\t\t\t\t\tadaptor.addChild(root_1, stream_t.nextNode());\n\t\t\t\t\t\tadaptor.addChild(root_1, stream_e2.nextTree());\n\t\t\t\t\t\tadaptor.addChild(root_0, root_1);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\n\n\t\t\t\t\tretval.tree = root_0;\n\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t\tdefault :\n\t\t\t\t\tbreak loop14;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t}\n\n\t\t\tretval.stop = input.LT(-1);\n\n\t\t\tretval.tree = (Object)adaptor.rulePostProcessing(root_0);\n\t\t\tadaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);\n\n\t\t}\n\t\t \n\t\t /**\n\t\t * Eliminate rule error recovery so that all parse errors \n\t\t * cause exceptions to propogate out of the top-level parse\n\t\t * method. \n\t\t */\n\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t\treturn retval;\n\t}", "title": "" }, { "docid": "e61ce7c9e1f2ff443ea05d38ce773c3d", "score": "0.5371377", "text": "@Override\n public Boolean visit(@NonNull VarArgOrEval eval) {\n return cascadingBinaryLogical(eval.getOperands(), OR);\n }", "title": "" }, { "docid": "bf0485a3fa706e85b522223b5c7ffd53", "score": "0.5340281", "text": "public final MetraScriptParser.conditionalOrExpression_return conditionalOrExpression() throws RecognitionException {\n MetraScriptParser.conditionalOrExpression_return retval = new MetraScriptParser.conditionalOrExpression_return();\n retval.start = input.LT(1);\n int conditionalOrExpression_StartIndex = input.index();\n Object root_0 = null;\n\n Token set43=null;\n MetraScriptParser.conditionalAndExpression_return conditionalAndExpression42 = null;\n\n MetraScriptParser.conditionalAndExpression_return conditionalAndExpression44 = null;\n\n\n Object set43_tree=null;\n\n try { dbg.enterRule(getGrammarFileName(), \"conditionalOrExpression\");\n if ( getRuleLevel()==0 ) {dbg.commence();}\n incRuleLevel();\n dbg.location(101, 1);\n\n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 9) ) { return retval; }\n // C:\\\\Documents and Settings\\\\RParks\\\\My Documents\\\\Visual Studio 2008\\\\Projects\\\\MVM\\\\MVM\\\\parser\\\\antlr\\\\MetraScript.g:102:2: ( conditionalAndExpression ( ( '||' | 'or' ) conditionalAndExpression )* )\n dbg.enterAlt(1);\n\n // C:\\\\Documents and Settings\\\\RParks\\\\My Documents\\\\Visual Studio 2008\\\\Projects\\\\MVM\\\\MVM\\\\parser\\\\antlr\\\\MetraScript.g:102:4: conditionalAndExpression ( ( '||' | 'or' ) conditionalAndExpression )*\n {\n root_0 = (Object)adaptor.nil();\n\n dbg.location(102,4);\n pushFollow(FOLLOW_conditionalAndExpression_in_conditionalOrExpression522);\n conditionalAndExpression42=conditionalAndExpression();\n\n state._fsp--;\n if (state.failed) return retval;\n if ( state.backtracking==0 ) adaptor.addChild(root_0, conditionalAndExpression42.getTree());\n dbg.location(102,29);\n // C:\\\\Documents and Settings\\\\RParks\\\\My Documents\\\\Visual Studio 2008\\\\Projects\\\\MVM\\\\MVM\\\\parser\\\\antlr\\\\MetraScript.g:102:29: ( ( '||' | 'or' ) conditionalAndExpression )*\n try { dbg.enterSubRule(6);\n\n loop6:\n do {\n int alt6=2;\n try { dbg.enterDecision(6);\n\n int LA6_0 = input.LA(1);\n\n if ( ((LA6_0>=56 && LA6_0<=57)) ) {\n alt6=1;\n }\n\n\n } finally {dbg.exitDecision(6);}\n\n switch (alt6) {\n \tcase 1 :\n \t dbg.enterAlt(1);\n\n \t // C:\\\\Documents and Settings\\\\RParks\\\\My Documents\\\\Visual Studio 2008\\\\Projects\\\\MVM\\\\MVM\\\\parser\\\\antlr\\\\MetraScript.g:102:31: ( '||' | 'or' ) conditionalAndExpression\n \t {\n \t dbg.location(102,31);\n \t set43=(Token)input.LT(1);\n \t set43=(Token)input.LT(1);\n \t if ( (input.LA(1)>=56 && input.LA(1)<=57) ) {\n \t input.consume();\n \t if ( state.backtracking==0 ) root_0 = (Object)adaptor.becomeRoot((Object)adaptor.create(set43), root_0);\n \t state.errorRecovery=false;state.failed=false;\n \t }\n \t else {\n \t if (state.backtracking>0) {state.failed=true; return retval;}\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t dbg.recognitionException(mse);\n \t throw mse;\n \t }\n\n \t dbg.location(102,44);\n \t pushFollow(FOLLOW_conditionalAndExpression_in_conditionalOrExpression533);\n \t conditionalAndExpression44=conditionalAndExpression();\n\n \t state._fsp--;\n \t if (state.failed) return retval;\n \t if ( state.backtracking==0 ) adaptor.addChild(root_0, conditionalAndExpression44.getTree());\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop6;\n }\n } while (true);\n } finally {dbg.exitSubRule(6);}\n\n\n }\n\n retval.stop = input.LT(-1);\n\n if ( state.backtracking==0 ) {\n\n retval.tree = (Object)adaptor.rulePostProcessing(root_0);\n adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n \tretval.tree = (Object)adaptor.errorNode(input, retval.start, input.LT(-1), re);\n\n }\n finally {\n if ( state.backtracking>0 ) { memoize(input, 9, conditionalOrExpression_StartIndex); }\n }\n dbg.location(104, 2);\n\n }\n finally {\n dbg.exitRule(getGrammarFileName(), \"conditionalOrExpression\");\n decRuleLevel();\n if ( getRuleLevel()==0 ) {dbg.terminate();}\n }\n\n return retval;\n }", "title": "" }, { "docid": "f0bb05ebee4fb34aa5a9e786120420ae", "score": "0.53314316", "text": "@Override\r\n\tpublic void visit(OrExpression orExp) {\n\t\tExpression left_exp = orExp.getLeftExpression();\r\n\t\tleft_exp.accept(this);\r\n\t\tboolean leftValue = this.getBool();\r\n\t\tif (leftValue == true) {\r\n\t\t\tBoolValue = true;\r\n\t\t} else {\r\n\t\t\tExpression right_exp = orExp.getRightExpression();\r\n\t\t\tright_exp.accept(this);\r\n\t\t\tboolean rightValue = this.getBool();\r\n\t\t\tBoolValue = leftValue || rightValue;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "35562d3e72a9a1f42aee2324566d93ed", "score": "0.53227365", "text": "private void processTree(final GroupElement ce, boolean[] result) throws InvalidPatternException {\n boolean hasChildOr = false;\n\n // first we elimininate any redundancy\n ce.pack();\n\n for (Object child : ce.getChildren().toArray()) {\n if (child instanceof GroupElement) {\n final GroupElement group = (GroupElement) child;\n\n processTree(group, result);\n if ((group.isOr() || group.isAnd()) && group.getType() == ce.getType()) {\n group.pack(ce);\n } else if (group.isOr()) {\n hasChildOr = true;\n }\n } else if (child instanceof NamedConsequence) {\n result[0] = true;\n } else if (child instanceof Pattern && ((Pattern) child).getObjectType().isEvent()) {\n result[1] = true;\n }\n }\n\n if ( hasChildOr ) {\n applyOrTransformation( ce );\n }\n }", "title": "" }, { "docid": "e3654e997acb55a173d9e65981b6ac85", "score": "0.53108686", "text": "public final void rule__OrFork__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalTURN.g:10295:1: ( ( 'or' ) )\n // InternalTURN.g:10296:1: ( 'or' )\n {\n // InternalTURN.g:10296:1: ( 'or' )\n // InternalTURN.g:10297:2: 'or'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getOrForkAccess().getOrKeyword_0()); \n }\n match(input,50,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getOrForkAccess().getOrKeyword_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "b26ac972ef106157608d55e3801ed5d7", "score": "0.52565765", "text": "private static Component findComponentAmongst(\r\n final Component[] components,\r\n final ComponentSearchCriterion isMatch ) {\r\n for (final Component component : components) {\r\n if (isMatch.isSatisfied( component )) {\r\n return component;\r\n }\r\n if (component instanceof Container) {\r\n final Component recurse =\r\n findComponentAmongst( ((Container) component).\r\n getComponents(), isMatch );\r\n if (recurse != null) {\r\n return recurse;\r\n }\r\n }\r\n }\r\n return null;\r\n }", "title": "" }, { "docid": "76097e73a9b35d3d4c6d9767b10866ea", "score": "0.5253185", "text": "@Override public Expr visit(NaryAndExpr e) {\n\t\t\n\t\tIterator<Expr> childIter = e.children.iterator();\n\t\twhile(childIter.hasNext()){\n\t\t\tExpr child = childIter.next();\n\t\t\ttraverse(child);\n\t\t\tif (childIter.hasNext()){\n\t\t\t\tfprogram.append(\" \" + VConstants.AND + \" \");\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn e;\n\t}", "title": "" }, { "docid": "38b3f2c6458d6e260a0585cea28c0cdd", "score": "0.5249739", "text": "public final AntlrDatatypeRuleToken ruleExprAnd() throws RecognitionException {\n AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();\n\n Token this_LC_1=null;\n Token kw=null;\n Token this_LC_3=null;\n AntlrDatatypeRuleToken this_ExprOr_0 = null;\n\n AntlrDatatypeRuleToken this_ExprOr_4 = null;\n\n\n\n \tenterRule();\n\n try {\n // InternalMyDsl.g:1340:2: ( (this_ExprOr_0= ruleExprOr (this_LC_1= RULE_LC kw= 'and' this_LC_3= RULE_LC this_ExprOr_4= ruleExprOr )* ) )\n // InternalMyDsl.g:1341:2: (this_ExprOr_0= ruleExprOr (this_LC_1= RULE_LC kw= 'and' this_LC_3= RULE_LC this_ExprOr_4= ruleExprOr )* )\n {\n // InternalMyDsl.g:1341:2: (this_ExprOr_0= ruleExprOr (this_LC_1= RULE_LC kw= 'and' this_LC_3= RULE_LC this_ExprOr_4= ruleExprOr )* )\n // InternalMyDsl.g:1342:3: this_ExprOr_0= ruleExprOr (this_LC_1= RULE_LC kw= 'and' this_LC_3= RULE_LC this_ExprOr_4= ruleExprOr )*\n {\n if ( state.backtracking==0 ) {\n\n \t\t\tnewCompositeNode(grammarAccess.getExprAndAccess().getExprOrParserRuleCall_0());\n \t\t\n }\n pushFollow(FOLLOW_27);\n this_ExprOr_0=ruleExprOr();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\tcurrent.merge(this_ExprOr_0);\n \t\t\n }\n if ( state.backtracking==0 ) {\n\n \t\t\tafterParserOrEnumRuleCall();\n \t\t\n }\n // InternalMyDsl.g:1352:3: (this_LC_1= RULE_LC kw= 'and' this_LC_3= RULE_LC this_ExprOr_4= ruleExprOr )*\n loop12:\n do {\n int alt12=2;\n int LA12_0 = input.LA(1);\n\n if ( (LA12_0==RULE_LC) ) {\n int LA12_1 = input.LA(2);\n\n if ( (LA12_1==40) ) {\n alt12=1;\n }\n\n\n }\n\n\n switch (alt12) {\n \tcase 1 :\n \t // InternalMyDsl.g:1353:4: this_LC_1= RULE_LC kw= 'and' this_LC_3= RULE_LC this_ExprOr_4= ruleExprOr\n \t {\n \t this_LC_1=(Token)match(input,RULE_LC,FOLLOW_28); if (state.failed) return current;\n \t if ( state.backtracking==0 ) {\n\n \t \t\t\t\tcurrent.merge(this_LC_1);\n \t \t\t\t\n \t }\n \t if ( state.backtracking==0 ) {\n\n \t \t\t\t\tnewLeafNode(this_LC_1, grammarAccess.getExprAndAccess().getLCTerminalRuleCall_1_0());\n \t \t\t\t\n \t }\n \t kw=(Token)match(input,40,FOLLOW_4); if (state.failed) return current;\n \t if ( state.backtracking==0 ) {\n\n \t \t\t\t\tcurrent.merge(kw);\n \t \t\t\t\tnewLeafNode(kw, grammarAccess.getExprAndAccess().getAndKeyword_1_1());\n \t \t\t\t\n \t }\n \t this_LC_3=(Token)match(input,RULE_LC,FOLLOW_15); if (state.failed) return current;\n \t if ( state.backtracking==0 ) {\n\n \t \t\t\t\tcurrent.merge(this_LC_3);\n \t \t\t\t\n \t }\n \t if ( state.backtracking==0 ) {\n\n \t \t\t\t\tnewLeafNode(this_LC_3, grammarAccess.getExprAndAccess().getLCTerminalRuleCall_1_2());\n \t \t\t\t\n \t }\n \t if ( state.backtracking==0 ) {\n\n \t \t\t\t\tnewCompositeNode(grammarAccess.getExprAndAccess().getExprOrParserRuleCall_1_3());\n \t \t\t\t\n \t }\n \t pushFollow(FOLLOW_27);\n \t this_ExprOr_4=ruleExprOr();\n\n \t state._fsp--;\n \t if (state.failed) return current;\n \t if ( state.backtracking==0 ) {\n\n \t \t\t\t\tcurrent.merge(this_ExprOr_4);\n \t \t\t\t\n \t }\n \t if ( state.backtracking==0 ) {\n\n \t \t\t\t\tafterParserOrEnumRuleCall();\n \t \t\t\t\n \t }\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop12;\n }\n } while (true);\n\n\n }\n\n\n }\n\n if ( state.backtracking==0 ) {\n\n \tleaveRule();\n\n }\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n }\n return current;\n }", "title": "" }, { "docid": "03e47295b45328939729d1d28dad563b", "score": "0.5233601", "text": "ReturnType visit(BinaryOr<ConstantType> pOr);", "title": "" }, { "docid": "8c207e685936cbdc131e3f16d875e3ca", "score": "0.5216069", "text": "AqlBase.OrClause toQuery();", "title": "" }, { "docid": "883eb98c391c0c1410b68df9ff961fd8", "score": "0.52144396", "text": "@Override public Expr visit(XOrExpr e) { return e; }", "title": "" }, { "docid": "7c299e1a0f4a3bb67657a426a2f8a604", "score": "0.52083516", "text": "public final org.emftext.language.java.expressions.ConditionalOrExpression parse_org_emftext_language_java_expressions_ConditionalOrExpression() throws RecognitionException {\n org.emftext.language.java.expressions.ConditionalOrExpression element = null;\n\n int parse_org_emftext_language_java_expressions_ConditionalOrExpression_StartIndex = input.index();\n\n Token a1=null;\n org.emftext.language.java.expressions.ConditionalAndExpression a0_0 =null;\n\n org.emftext.language.java.expressions.ConditionalAndExpression a2_0 =null;\n\n\n\n\n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 76) ) { return element; }\n\n // Java.g:15263:2: ( (a0_0= parse_org_emftext_language_java_expressions_ConditionalAndExpression ) ( (a1= '||' (a2_0= parse_org_emftext_language_java_expressions_ConditionalAndExpression ) ) )* )\n // Java.g:15264:2: (a0_0= parse_org_emftext_language_java_expressions_ConditionalAndExpression ) ( (a1= '||' (a2_0= parse_org_emftext_language_java_expressions_ConditionalAndExpression ) ) )*\n {\n // Java.g:15264:2: (a0_0= parse_org_emftext_language_java_expressions_ConditionalAndExpression )\n // Java.g:15265:3: a0_0= parse_org_emftext_language_java_expressions_ConditionalAndExpression\n {\n pushFollow(FOLLOW_parse_org_emftext_language_java_expressions_ConditionalAndExpression_in_parse_org_emftext_language_java_expressions_ConditionalOrExpression18290);\n a0_0=parse_org_emftext_language_java_expressions_ConditionalAndExpression();\n\n state._fsp--;\n if (state.failed) return element;\n\n if ( state.backtracking==0 ) {\n \t\t\tif (terminateParsing) {\n \t\t\t\tthrow new org.emftext.language.java.resource.java.mopp.JavaTerminateParsingException();\n \t\t\t}\n \t\t\tif (element == null) {\n \t\t\t\telement = org.emftext.language.java.expressions.ExpressionsFactory.eINSTANCE.createConditionalOrExpression();\n \t\t\t\tstartIncompleteElement(element);\n \t\t\t}\n \t\t\tif (a0_0 != null) {\n \t\t\t\tif (a0_0 != null) {\n \t\t\t\t\tObject value = a0_0;\n \t\t\t\t\taddObjectToList(element, org.emftext.language.java.expressions.ExpressionsPackage.CONDITIONAL_OR_EXPRESSION__CHILDREN, value);\n \t\t\t\t\tcompletedElement(value, true);\n \t\t\t\t}\n \t\t\t\tcollectHiddenTokens(element);\n \t\t\t\tretrieveLayoutInformation(element, org.emftext.language.java.resource.java.grammar.JavaGrammarInformationProvider.JAVA_74_0_0_0, a0_0, true);\n \t\t\t\tcopyLocalizationInfos(a0_0, element);\n \t\t\t}\n \t\t}\n\n }\n\n\n if ( state.backtracking==0 ) {\n \t\t// expected elements (follow set)\n \t\taddExpectedElement(null, 72460, 72464);\n \t\taddExpectedElement(org.emftext.language.java.expressions.ExpressionsPackage.eINSTANCE.getAssignmentExpression(), 72465, 72476);\n \t\taddExpectedElement(null, 72477, 72509);\n \t}\n\n // Java.g:15292:2: ( (a1= '||' (a2_0= parse_org_emftext_language_java_expressions_ConditionalAndExpression ) ) )*\n loop196:\n do {\n int alt196=2;\n int LA196_0 = input.LA(1);\n\n if ( (LA196_0==108) ) {\n alt196=1;\n }\n\n\n switch (alt196) {\n \tcase 1 :\n \t // Java.g:15293:3: (a1= '||' (a2_0= parse_org_emftext_language_java_expressions_ConditionalAndExpression ) )\n \t {\n \t // Java.g:15293:3: (a1= '||' (a2_0= parse_org_emftext_language_java_expressions_ConditionalAndExpression ) )\n \t // Java.g:15294:4: a1= '||' (a2_0= parse_org_emftext_language_java_expressions_ConditionalAndExpression )\n \t {\n \t a1=(Token)match(input,108,FOLLOW_108_in_parse_org_emftext_language_java_expressions_ConditionalOrExpression18317); if (state.failed) return element;\n\n \t if ( state.backtracking==0 ) {\n \t \t\t\t\tif (element == null) {\n \t \t\t\t\t\telement = org.emftext.language.java.expressions.ExpressionsFactory.eINSTANCE.createConditionalOrExpression();\n \t \t\t\t\t\tstartIncompleteElement(element);\n \t \t\t\t\t}\n \t \t\t\t\tcollectHiddenTokens(element);\n \t \t\t\t\tretrieveLayoutInformation(element, org.emftext.language.java.resource.java.grammar.JavaGrammarInformationProvider.JAVA_74_0_0_1_0_0_0, null, true);\n \t \t\t\t\tcopyLocalizationInfos((CommonToken)a1, element);\n \t \t\t\t}\n\n \t if ( state.backtracking==0 ) {\n \t \t\t\t\t// expected elements (follow set)\n \t \t\t\t\taddExpectedElement(org.emftext.language.java.expressions.ExpressionsPackage.eINSTANCE.getConditionalOrExpression(), 72510, 72593);\n \t \t\t\t}\n\n \t // Java.g:15308:4: (a2_0= parse_org_emftext_language_java_expressions_ConditionalAndExpression )\n \t // Java.g:15309:5: a2_0= parse_org_emftext_language_java_expressions_ConditionalAndExpression\n \t {\n \t pushFollow(FOLLOW_parse_org_emftext_language_java_expressions_ConditionalAndExpression_in_parse_org_emftext_language_java_expressions_ConditionalOrExpression18343);\n \t a2_0=parse_org_emftext_language_java_expressions_ConditionalAndExpression();\n\n \t state._fsp--;\n \t if (state.failed) return element;\n\n \t if ( state.backtracking==0 ) {\n \t \t\t\t\t\tif (terminateParsing) {\n \t \t\t\t\t\t\tthrow new org.emftext.language.java.resource.java.mopp.JavaTerminateParsingException();\n \t \t\t\t\t\t}\n \t \t\t\t\t\tif (element == null) {\n \t \t\t\t\t\t\telement = org.emftext.language.java.expressions.ExpressionsFactory.eINSTANCE.createConditionalOrExpression();\n \t \t\t\t\t\t\tstartIncompleteElement(element);\n \t \t\t\t\t\t}\n \t \t\t\t\t\tif (a2_0 != null) {\n \t \t\t\t\t\t\tif (a2_0 != null) {\n \t \t\t\t\t\t\t\tObject value = a2_0;\n \t \t\t\t\t\t\t\taddObjectToList(element, org.emftext.language.java.expressions.ExpressionsPackage.CONDITIONAL_OR_EXPRESSION__CHILDREN, value);\n \t \t\t\t\t\t\t\tcompletedElement(value, true);\n \t \t\t\t\t\t\t}\n \t \t\t\t\t\t\tcollectHiddenTokens(element);\n \t \t\t\t\t\t\tretrieveLayoutInformation(element, org.emftext.language.java.resource.java.grammar.JavaGrammarInformationProvider.JAVA_74_0_0_1_0_0_1, a2_0, true);\n \t \t\t\t\t\t\tcopyLocalizationInfos(a2_0, element);\n \t \t\t\t\t\t}\n \t \t\t\t\t}\n\n \t }\n\n\n \t if ( state.backtracking==0 ) {\n \t \t\t\t\t// expected elements (follow set)\n \t \t\t\t\t// We've found the last token for this rule. The constructed EObject is now\n \t \t\t\t\t// complete.\n \t \t\t\t\tcompletedElement(element, true);\n \t \t\t\t\taddExpectedElement(null, 72594, 72598);\n \t \t\t\t\taddExpectedElement(org.emftext.language.java.expressions.ExpressionsPackage.eINSTANCE.getAssignmentExpression(), 72599, 72610);\n \t \t\t\t\taddExpectedElement(null, 72611, 72643);\n \t \t\t\t}\n\n \t }\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop196;\n }\n } while (true);\n\n\n if ( state.backtracking==0 ) {\n \t\t// expected elements (follow set)\n \t\t// We've found the last token for this rule. The constructed EObject is now\n \t\t// complete.\n \t\tcompletedElement(element, true);\n \t\taddExpectedElement(null, 72644, 72648);\n \t\taddExpectedElement(org.emftext.language.java.expressions.ExpressionsPackage.eINSTANCE.getAssignmentExpression(), 72649, 72660);\n \t\taddExpectedElement(null, 72661, 72693);\n \t}\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n\n finally {\n \t// do for sure before leaving\n if ( state.backtracking>0 ) { memoize(input, 76, parse_org_emftext_language_java_expressions_ConditionalOrExpression_StartIndex); }\n\n }\n return element;\n }", "title": "" }, { "docid": "cd61f46e514cbd42b22bec48351a91b7", "score": "0.5195524", "text": "public final void rule__ORNode__Group_1__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSafetyDSL.g:2256:1: ( ( 'OR' ) )\n // InternalSafetyDSL.g:2257:1: ( 'OR' )\n {\n // InternalSafetyDSL.g:2257:1: ( 'OR' )\n // InternalSafetyDSL.g:2258:2: 'OR'\n {\n before(grammarAccess.getORNodeAccess().getORKeyword_1_1()); \n match(input,22,FOLLOW_2); \n after(grammarAccess.getORNodeAccess().getORKeyword_1_1()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "294de483de1309c265ae7126d83f066d", "score": "0.51950544", "text": "public final Or readOr(XMLStreamReader reader) throws XMLStreamException\n {\n boolean found = checkElementName(reader, \"Or\");\n if (!found)\n throw new XMLStreamException(ERROR_INVALID_ELT + reader.getName() + errorLocationString(reader));\n \n Or bean = factory.newOr(); \n this.readBinaryLogicOpType(reader, bean); \n return bean;\n }", "title": "" }, { "docid": "1c7b25f44bf36ed77d83bc9293770789", "score": "0.5190507", "text": "public String getAndOr()\n {\n return _andOr;\n }", "title": "" }, { "docid": "cf763dd81e2baeabefbb28473803e8d8", "score": "0.51844716", "text": "@Test\n public void testRelevantConjunctionInTopLevelDisjunction() throws ParseException {\n String original = \"(FOO == 'bar' && FOO == 'baz') || FOO == 'zoo'\";\n visitAndValidate(original, original);\n }", "title": "" }, { "docid": "16dfe074a6ba9a85e061fc825850df8b", "score": "0.5175848", "text": "public static Node match(Parser parser) throws BuildException {\n\n Node head = Expression8.match(parser);\n\n while (parser.check(LexemeType.AND)) {\n Lexeme op = parser.advance();\n head = OperatorBinaryNode.createOperationAnd(op, head, Expression7.match(parser));\n }\n\n return head;\n }", "title": "" }, { "docid": "4209003ccc1c34573a9aa57653ff9b2b", "score": "0.5159491", "text": "private OrTest or_test() {\r\n\r\n OrTest orTest = new OrTest();\r\n\r\n orTest.addAndTest(and_test());\r\n\r\n while (matchTokens(Symbol.OR)) {\r\n lexer.nextToken();\r\n orTest.addAndTest(and_test());\r\n }\r\n \r\n return orTest;\r\n }", "title": "" }, { "docid": "6f9559fd40aaee1a0f6b724d9f33d280", "score": "0.5159314", "text": "@Override\n\tpublic Value orFunction(Value exp) {\n\t\tValue result = null;\n\t\tif (exp instanceof LongValue)\n\t\t\tresult = new HybridBooleanValue(this.clone(), \"or\", exp);\n\t\telse if (exp instanceof SymbolValue)\n\t\t\tresult = new HybridBooleanValue(this.clone(), \"or\", exp);\n\t\telse if (exp instanceof HybridBooleanValue)\n\t\t\tresult = new HybridBooleanValue(this.clone(), \"or\", exp);\n\t\telse if (exp instanceof TopValue)\n\t\t\treturn new TopValue();\n\t\treturn result;\n\t}", "title": "" }, { "docid": "8113a5ddc1c182ecf99b85b500122b85", "score": "0.5145048", "text": "StarPredicate or(StarPredicate predicate);", "title": "" }, { "docid": "ae7cb9b99c2fcd089a7568627a6c4f94", "score": "0.5139877", "text": "public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}", "title": "" }, { "docid": "ae7cb9b99c2fcd089a7568627a6c4f94", "score": "0.5139877", "text": "public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}", "title": "" }, { "docid": "ae7cb9b99c2fcd089a7568627a6c4f94", "score": "0.5139877", "text": "public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}", "title": "" }, { "docid": "ae7cb9b99c2fcd089a7568627a6c4f94", "score": "0.5139877", "text": "public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}", "title": "" }, { "docid": "ae7cb9b99c2fcd089a7568627a6c4f94", "score": "0.5139877", "text": "public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}", "title": "" }, { "docid": "ae7cb9b99c2fcd089a7568627a6c4f94", "score": "0.5139877", "text": "public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}", "title": "" }, { "docid": "ae7cb9b99c2fcd089a7568627a6c4f94", "score": "0.5139877", "text": "public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}", "title": "" }, { "docid": "ae7cb9b99c2fcd089a7568627a6c4f94", "score": "0.5139877", "text": "public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}", "title": "" }, { "docid": "ae7cb9b99c2fcd089a7568627a6c4f94", "score": "0.5139877", "text": "public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}", "title": "" }, { "docid": "ae7cb9b99c2fcd089a7568627a6c4f94", "score": "0.5139877", "text": "public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}", "title": "" }, { "docid": "ae7cb9b99c2fcd089a7568627a6c4f94", "score": "0.5139877", "text": "public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}", "title": "" }, { "docid": "ae7cb9b99c2fcd089a7568627a6c4f94", "score": "0.5139877", "text": "public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}", "title": "" }, { "docid": "32833a94fe3ae775d539c2e3b674e464", "score": "0.5139682", "text": "public Criteria or() {\r\n\t\tCriteria criteria = createCriteriaInternal();\r\n\t\toredCriteria.add(criteria);\r\n\t\treturn criteria;\r\n\t}", "title": "" }, { "docid": "32833a94fe3ae775d539c2e3b674e464", "score": "0.5139682", "text": "public Criteria or() {\r\n\t\tCriteria criteria = createCriteriaInternal();\r\n\t\toredCriteria.add(criteria);\r\n\t\treturn criteria;\r\n\t}", "title": "" }, { "docid": "32833a94fe3ae775d539c2e3b674e464", "score": "0.5139682", "text": "public Criteria or() {\r\n\t\tCriteria criteria = createCriteriaInternal();\r\n\t\toredCriteria.add(criteria);\r\n\t\treturn criteria;\r\n\t}", "title": "" }, { "docid": "32833a94fe3ae775d539c2e3b674e464", "score": "0.5139682", "text": "public Criteria or() {\r\n\t\tCriteria criteria = createCriteriaInternal();\r\n\t\toredCriteria.add(criteria);\r\n\t\treturn criteria;\r\n\t}", "title": "" }, { "docid": "32833a94fe3ae775d539c2e3b674e464", "score": "0.5139682", "text": "public Criteria or() {\r\n\t\tCriteria criteria = createCriteriaInternal();\r\n\t\toredCriteria.add(criteria);\r\n\t\treturn criteria;\r\n\t}", "title": "" }, { "docid": "32833a94fe3ae775d539c2e3b674e464", "score": "0.5139682", "text": "public Criteria or() {\r\n\t\tCriteria criteria = createCriteriaInternal();\r\n\t\toredCriteria.add(criteria);\r\n\t\treturn criteria;\r\n\t}", "title": "" }, { "docid": "32833a94fe3ae775d539c2e3b674e464", "score": "0.5139682", "text": "public Criteria or() {\r\n\t\tCriteria criteria = createCriteriaInternal();\r\n\t\toredCriteria.add(criteria);\r\n\t\treturn criteria;\r\n\t}", "title": "" }, { "docid": "32833a94fe3ae775d539c2e3b674e464", "score": "0.5139682", "text": "public Criteria or() {\r\n\t\tCriteria criteria = createCriteriaInternal();\r\n\t\toredCriteria.add(criteria);\r\n\t\treturn criteria;\r\n\t}", "title": "" }, { "docid": "32833a94fe3ae775d539c2e3b674e464", "score": "0.5139682", "text": "public Criteria or() {\r\n\t\tCriteria criteria = createCriteriaInternal();\r\n\t\toredCriteria.add(criteria);\r\n\t\treturn criteria;\r\n\t}", "title": "" }, { "docid": "32833a94fe3ae775d539c2e3b674e464", "score": "0.5139682", "text": "public Criteria or() {\r\n\t\tCriteria criteria = createCriteriaInternal();\r\n\t\toredCriteria.add(criteria);\r\n\t\treturn criteria;\r\n\t}", "title": "" }, { "docid": "32833a94fe3ae775d539c2e3b674e464", "score": "0.5139682", "text": "public Criteria or() {\r\n\t\tCriteria criteria = createCriteriaInternal();\r\n\t\toredCriteria.add(criteria);\r\n\t\treturn criteria;\r\n\t}", "title": "" }, { "docid": "32833a94fe3ae775d539c2e3b674e464", "score": "0.5139682", "text": "public Criteria or() {\r\n\t\tCriteria criteria = createCriteriaInternal();\r\n\t\toredCriteria.add(criteria);\r\n\t\treturn criteria;\r\n\t}", "title": "" }, { "docid": "a0717363c84b7ef6ecd5811746cf2ed5", "score": "0.5115705", "text": "Condition and(Condition condition);", "title": "" }, { "docid": "3bf5cc40fa8cff5966c91311ea7abb44", "score": "0.5107371", "text": "private ExpressionNode logicalProposition() {\n\t\t// proposition -> expression comp_op\n\t\tExpressionNode expression = mathematicalExpression();\n\t\texpression = comparisonOperation(expression);\n\t\treturn expression;\n\t}", "title": "" }, { "docid": "ab687857afb47e0792c42932b41c903a", "score": "0.51027185", "text": "public final FastParser.logic_op_expr_return logic_op_expr() throws RecognitionException {\n FastParser.logic_op_expr_return retval = new FastParser.logic_op_expr_return();\n retval.start = input.LT(1);\n\n Token op=null;\n FastParser.relational_op_expr_return r1 = null;\n\n FastParser.relational_op_expr_return r2 = null;\n\n\n try {\n // ../Compilador/Fast.g:218:2: (r1= relational_op_expr (op= ( OR | AND ) r2= relational_op_expr )* )\n // ../Compilador/Fast.g:218:4: r1= relational_op_expr (op= ( OR | AND ) r2= relational_op_expr )*\n {\n pushFollow(FOLLOW_relational_op_expr_in_logic_op_expr1454);\n r1=relational_op_expr();\n\n state._fsp--;\n\n retval.type =r1.type; retval.opr = r1.opr;\n // ../Compilador/Fast.g:218:58: (op= ( OR | AND ) r2= relational_op_expr )*\n loop20:\n do {\n int alt20=2;\n int LA20_0 = input.LA(1);\n\n if ( ((LA20_0>=AND && LA20_0<=OR)) ) {\n alt20=1;\n }\n\n\n switch (alt20) {\n \tcase 1 :\n \t // ../Compilador/Fast.g:218:60: op= ( OR | AND ) r2= relational_op_expr\n \t {\n \t op=(Token)input.LT(1);\n \t if ( (input.LA(1)>=AND && input.LA(1)<=OR) ) {\n \t input.consume();\n \t state.errorRecovery=false;\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t throw mse;\n \t }\n\n \t pushFollow(FOLLOW_relational_op_expr_in_logic_op_expr1474);\n \t r2=relational_op_expr();\n\n \t state._fsp--;\n\n \t s.eval_logic_expr(r1.type,r2.type,op.getText());\n \t \t\t retval.opr = op.getText();\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop20;\n }\n } while (true);\n\n\n }\n\n retval.stop = input.LT(-1);\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return retval;\n }", "title": "" }, { "docid": "e20d26c407c006a43a6c8a337618481b", "score": "0.50953555", "text": "@Override\n \tpublic void visit(LogicalAnd node) \n \t{\n \t\t// push left and right sides onto stack\n \t\tString rd = makeTempRegister(regCounter++);\n \t\tnode.leftSide().accept(this);\n \t\tString rs = makeTempRegister(regCounter);\n \t\tnode.rightSide().accept(this);\n \n \t\tType leftType = tc.getType((Command) node.leftSide());\n \t\tType rightType = tc.getType((Command) node.rightSide());\n \n \t\t// pop left and right sides from stack\n \t\tif (rightType instanceof BoolType\n \t\t\t\t&& leftType instanceof BoolType)\n \t\t{\n \t\t\t// pop the right side\n \t\t\tprogram.popInt(rs);\n \t\t\t// pop the left side\n \t\t\tprogram.popInt(rd);\n \t\t\t// compute logical and \n \t\t\tprogram.appendData(\"and \" + \"rd, \" + \"rd, \" + \"rs \"\n \t\t\t + \"# \" + rd + \" = \" + rd + \" and \" + rs);\n \t\t\t//push the result back onto stack\n \t\t\tprogram.pushInt(rd);\n \t\t}\n \t\telse\n \t\t\tthrow new RuntimeException(\"cannot compute \" + leftType + \" and \" \n \t\t\t\t\t\t\t\t\t\t+ rightType);\n \n \t\tregCounter = 0;\n \n \t}", "title": "" }, { "docid": "b82d8cbee8f6577fb6045c0e6649f372", "score": "0.5083444", "text": "@Override\n\tpublic Boolean visit(LogicalANDExpression n) {\n\t\tif (n.getF1().present()) {\n\t\t\treturn false;\n\t\t}\n\t\treturn n.getF0().accept(this);\n\t}", "title": "" }, { "docid": "1eb06efc93be4e232e987bb282c26f0c", "score": "0.5079455", "text": "protected Exp atLgAnd(Exp e) // &&\n {\n ToHirCOpt2 child = sureChild();\n Exp e1 = child.visitExp(e.getExp1());\n if( e1.getOperator()==HIR.OP_CONST )\n {\n if( ((ConstNode)e1).getIntValue()==0 )\n {\n // false && e2 --> side effect of e1,false\n if (fDbgLevel > 3) //##67\n message(4,\"false&&e2 --> false: \"+ToC.tos(e));\n buffer.addPrev(child.buffer); // Side effect of e1\n return e1;\n }\n else\n {\n // true && e2 --> side effect of e1, side effect of e2,e2\n if (fDbgLevel > 3) //##67\n message(4,\"true&&e2 --> e2: \"+ToC.tos(e));\n buffer.addPrev(child.buffer);\n return visitExp(e.getExp2());\n }\n }\n e.setChild1( child.buffer.toExp(e1) );\n Exp e2 = child.visitExp(e.getExp2());\n e.setChild2( child.buffer.toExp(e2) );\n return e;\n }", "title": "" }, { "docid": "2b9b84bc68b4af9406480e0b7a64c15f", "score": "0.5076715", "text": "public static Operator getNextClauseOperatorOrSelf(Operator root)\n {\n Operator current = root;\n while (true)\n {\n if (!(current instanceof Exists || current instanceof Navigate || current instanceof ApplyPlan))\n {\n return current;\n }\n if (!(current instanceof UnaryOperator))\n {\n return null;\n }\n current = ((UnaryOperator) current).getChild();\n }\n }", "title": "" }, { "docid": "b37d04bad7fc2ed8335560a3e5152303", "score": "0.5074098", "text": "public boolean hasNext() throws IOException {\n\n if (this instanceof BinaryOperator) {\n final Iterator<Node> childItr = this.getChildren().iterator();\n boolean result = childItr.next().hasNext();\n\n while (childItr.hasNext()) {\n final boolean val = childItr.next().hasNext();\n result = result || val;\n }\n return result;\n }\n return this.children.get(0).hasNext();\n }", "title": "" }, { "docid": "9e5990f15720404125713261585f1c2b", "score": "0.5062131", "text": "BitwiseOrExpression createBitwiseOrExpression();", "title": "" }, { "docid": "2f53bc71e2a18c14d4b8ba9880bd0686", "score": "0.5060215", "text": "private STNode booltail(STNode left)\r\n {\r\n STNode parent, right;\r\n SymbolEntry b = new SymbolEntry();\r\n //check for <logop>\r\n if(this.next.getTokenID() == Tokens.TTAND || this.next.getTokenID() == Tokens.TTTOR || this.next.getTokenID() == Tokens.TTXOR)\r\n {\r\n NodeValue nv = null;\r\n //AND\r\n if(this.next.getTokenID() == Tokens.TTAND) nv = NodeValue.NAND;\r\n //OR\r\n if(this.next.getTokenID() == Tokens.TTTOR) nv = NodeValue.NOR;\r\n //XOR\r\n if(this.next.getTokenID() == Tokens.TTXOR) nv = NodeValue.NXOR;\r\n //Assign the node value above to parent and set its left child to left\r\n parent = new STNode(nv,left);\r\n b.setType(this.next.getTokenID());\r\n parent.setRecord(b);\r\n //match and consume the lookahead\r\n this.match(this.next.getTokenID());\r\n //<rel>\r\n right = rel();\r\n //make the right child of parent be the node generated from the rule <rel>\r\n parent.setRightChild(right);\r\n //<booltail>\r\n return this.booltail(parent);\r\n }\r\n //Error check/recovery here?\r\n //epsilon path\r\n return left;\r\n }", "title": "" }, { "docid": "2f81b74e6fe044d04a69429e67fdc1be", "score": "0.5055175", "text": "LogicalAndExpression createLogicalAndExpression();", "title": "" }, { "docid": "2f81b74e6fe044d04a69429e67fdc1be", "score": "0.5055175", "text": "LogicalAndExpression createLogicalAndExpression();", "title": "" }, { "docid": "c2846f1aa2b2a140235593435085e5a9", "score": "0.50474334", "text": "@Override\n public FlowExpression parse() {\n String keyword = getMatcher().group(1);\n String statement = getMatcher().group(2);\n if (Objects.isNull(statement)) {\n return new IfElse(IfElse.Type.valueOf(keyword.toUpperCase()), Optional.empty());\n }\n // we need to parse the requirement recursivly and also respect the boundaries\n // parsing should be done from the inside out\n return null;\n }", "title": "" }, { "docid": "30c033d98f05fc80c14ddaf312eb3bc3", "score": "0.50443316", "text": "private static BaseFilterOperator constructPhysicalOperator(FilterQueryTree filterQueryTree, IndexSegment segment,\n @Nullable Map<String, String> debugOptions) {\n int numDocs = segment.getSegmentMetadata().getTotalRawDocs();\n if (filterQueryTree == null) {\n return new MatchAllFilterOperator(numDocs);\n }\n\n // For non-leaf node, recursively create the child filter operators\n FilterOperator filterType = filterQueryTree.getOperator();\n if (filterType == FilterOperator.AND || filterType == FilterOperator.OR) {\n // Non-leaf filter operator\n List<FilterQueryTree> childFilters = filterQueryTree.getChildren();\n List<BaseFilterOperator> childFilterOperators = new ArrayList<>(childFilters.size());\n if (filterType == FilterOperator.AND) {\n // AND operator\n for (FilterQueryTree childFilter : childFilters) {\n BaseFilterOperator childFilterOperator = constructPhysicalOperator(childFilter, segment, debugOptions);\n if (childFilterOperator.isResultEmpty()) {\n // Return empty filter operator if any of the child filter operator's result is empty\n return EmptyFilterOperator.getInstance();\n } else if (!childFilterOperator.isResultMatchingAll()) {\n // Remove child filter operators that match all records\n childFilterOperators.add(childFilterOperator);\n }\n }\n return FilterOperatorUtils.getAndFilterOperator(childFilterOperators, numDocs, debugOptions);\n } else {\n // OR operator\n for (FilterQueryTree childFilter : childFilters) {\n BaseFilterOperator childFilterOperator = constructPhysicalOperator(childFilter, segment, debugOptions);\n if (childFilterOperator.isResultMatchingAll()) {\n // Return match all filter operator if any of the child filter operator matches all records\n return new MatchAllFilterOperator(numDocs);\n } else if (!childFilterOperator.isResultEmpty()) {\n // Remove child filter operators whose result is empty\n childFilterOperators.add(childFilterOperator);\n }\n }\n return FilterOperatorUtils.getOrFilterOperator(childFilterOperators, numDocs, debugOptions);\n }\n } else {\n // Leaf filter operator\n Predicate predicate = Predicate.newPredicate(filterQueryTree);\n\n TransformExpressionTree expression = filterQueryTree.getExpression();\n if (expression.getExpressionType() == TransformExpressionTree.ExpressionType.FUNCTION) {\n\n return new ExpressionFilterOperator(segment, expression, predicate);\n } else {\n DataSource dataSource = segment.getDataSource(filterQueryTree.getColumn());\n PredicateEvaluator predicateEvaluator = PredicateEvaluatorProvider\n .getPredicateEvaluator(predicate, dataSource.getDictionary(),\n dataSource.getDataSourceMetadata().getDataType());\n return FilterOperatorUtils.getLeafFilterOperator(predicateEvaluator, dataSource, numDocs);\n }\n }\n }", "title": "" }, { "docid": "4fcbebca410b8c57e58a288be22f0d0d", "score": "0.5032784", "text": "@Override\n public void actionPerformed(ActionEvent ae) {\n if (getUserObject().getNodeCount() > 0) {\n getUserObject().setForwardPropertyChange(false);\n /* set for childrens */\n applyProperty(getUserObject(), IQueryGenerator.BOOLEAN_CLAUSE,\n IQueryGenerator.CLAUSE.OR);\n /* turn on and set state */\n getUserObject().setForwardPropertyChange(true);\n }\n /* set own state */\n getUserObject().set(IQueryGenerator.BOOLEAN_CLAUSE,\n IQueryGenerator.CLAUSE.OR);\n }", "title": "" }, { "docid": "b97ef37b5f7dbdd6a24daaa02e498b28", "score": "0.5028523", "text": "public final MetraScriptParser.exclusiveOrExpression_return exclusiveOrExpression() throws RecognitionException {\n MetraScriptParser.exclusiveOrExpression_return retval = new MetraScriptParser.exclusiveOrExpression_return();\n retval.start = input.LT(1);\n int exclusiveOrExpression_StartIndex = input.index();\n Object root_0 = null;\n\n Token char_literal52=null;\n MetraScriptParser.andExpression_return andExpression51 = null;\n\n MetraScriptParser.andExpression_return andExpression53 = null;\n\n\n Object char_literal52_tree=null;\n\n try { dbg.enterRule(getGrammarFileName(), \"exclusiveOrExpression\");\n if ( getRuleLevel()==0 ) {dbg.commence();}\n incRuleLevel();\n dbg.location(112, 1);\n\n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 12) ) { return retval; }\n // C:\\\\Documents and Settings\\\\RParks\\\\My Documents\\\\Visual Studio 2008\\\\Projects\\\\MVM\\\\MVM\\\\parser\\\\antlr\\\\MetraScript.g:113:2: ( andExpression ( '^' andExpression )* )\n dbg.enterAlt(1);\n\n // C:\\\\Documents and Settings\\\\RParks\\\\My Documents\\\\Visual Studio 2008\\\\Projects\\\\MVM\\\\MVM\\\\parser\\\\antlr\\\\MetraScript.g:113:4: andExpression ( '^' andExpression )*\n {\n root_0 = (Object)adaptor.nil();\n\n dbg.location(113,4);\n pushFollow(FOLLOW_andExpression_in_exclusiveOrExpression594);\n andExpression51=andExpression();\n\n state._fsp--;\n if (state.failed) return retval;\n if ( state.backtracking==0 ) adaptor.addChild(root_0, andExpression51.getTree());\n dbg.location(113,18);\n // C:\\\\Documents and Settings\\\\RParks\\\\My Documents\\\\Visual Studio 2008\\\\Projects\\\\MVM\\\\MVM\\\\parser\\\\antlr\\\\MetraScript.g:113:18: ( '^' andExpression )*\n try { dbg.enterSubRule(9);\n\n loop9:\n do {\n int alt9=2;\n try { dbg.enterDecision(9);\n\n int LA9_0 = input.LA(1);\n\n if ( (LA9_0==61) ) {\n alt9=1;\n }\n\n\n } finally {dbg.exitDecision(9);}\n\n switch (alt9) {\n \tcase 1 :\n \t dbg.enterAlt(1);\n\n \t // C:\\\\Documents and Settings\\\\RParks\\\\My Documents\\\\Visual Studio 2008\\\\Projects\\\\MVM\\\\MVM\\\\parser\\\\antlr\\\\MetraScript.g:113:20: '^' andExpression\n \t {\n \t dbg.location(113,23);\n \t char_literal52=(Token)match(input,61,FOLLOW_61_in_exclusiveOrExpression598); if (state.failed) return retval;\n \t if ( state.backtracking==0 ) {\n \t char_literal52_tree = (Object)adaptor.create(char_literal52);\n \t root_0 = (Object)adaptor.becomeRoot(char_literal52_tree, root_0);\n \t }\n \t dbg.location(113,25);\n \t pushFollow(FOLLOW_andExpression_in_exclusiveOrExpression601);\n \t andExpression53=andExpression();\n\n \t state._fsp--;\n \t if (state.failed) return retval;\n \t if ( state.backtracking==0 ) adaptor.addChild(root_0, andExpression53.getTree());\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop9;\n }\n } while (true);\n } finally {dbg.exitSubRule(9);}\n\n\n }\n\n retval.stop = input.LT(-1);\n\n if ( state.backtracking==0 ) {\n\n retval.tree = (Object)adaptor.rulePostProcessing(root_0);\n adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n \tretval.tree = (Object)adaptor.errorNode(input, retval.start, input.LT(-1), re);\n\n }\n finally {\n if ( state.backtracking>0 ) { memoize(input, 12, exclusiveOrExpression_StartIndex); }\n }\n dbg.location(114, 2);\n\n }\n finally {\n dbg.exitRule(getGrammarFileName(), \"exclusiveOrExpression\");\n decRuleLevel();\n if ( getRuleLevel()==0 ) {dbg.terminate();}\n }\n\n return retval;\n }", "title": "" }, { "docid": "8d0156dc450a46d5a304cdaac93dde53", "score": "0.5019652", "text": "private String solveOr(String expr) {\n\t\texpr = expr.replaceAll(\"0[ ]+OR[ ]+0\", \"0\");\n\t\texpr = expr.replaceAll(\"0[ ]+OR[ ]+1\", \"1\");\n\t\texpr = expr.replaceAll(\"1[ ]+OR[ ]+0\", \"1\");\n\t\texpr = expr.replaceAll(\"1[ ]+OR[ ]+1\", \"1\");\n\t\treturn expr;\n\t}", "title": "" }, { "docid": "1cc2ed7d1d46daafc6c904ab0784cf97", "score": "0.50167656", "text": "private int removeRedundantAndOr() {\n\t\tint count = 0;\n\t\tfor (Component c : p.getComponents()) {\n\t\t\tList<Pair<Class<?>, Class<?>>> classList = Arrays.asList(\n\t\t\t\t\tPair.of(And.class, Or.class),\n\t\t\t\t\tPair.of(Or.class, And.class));\n\t\t\tfor (Pair<Class<?>, Class<?>> f : classList) {\n\t\t\t\t// convention here: left = or, right = and\n\t\t\t\tif (!f.left.isInstance(c)) continue;\n\t\t\t\tList<Set<Component>> andInputSets = new ArrayList<>();\n\t\t\t\tList<Component> cinputs = new ArrayList<>(c.getInputs());\n\t\t\t\tCollections.sort(cinputs,\n\t\t\t\t\t\tComparator.comparingInt(x -> x.getInputs().size()));\n\t\t\t\tfor (Component in : cinputs) {\n\t\t\t\t\tif (!f.right.isInstance(in)) continue;\n\t\t\t\t\tboolean isSubset = false;\n\t\t\t\t\tfor (Set<Component> inputSet : andInputSets) {\n\t\t\t\t\t\tif (isSubset(inputSet, in.getInputs())) {\n\t\t\t\t\t\t\tcount += 1;\n\t\t\t\t\t\t\tc.removeInput(in);\n\t\t\t\t\t\t\tin.removeOutput(c);\n\t\t\t\t\t\t\tisSubset = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (!isSubset) andInputSets.add(in.getInputs());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn count;\n\t}", "title": "" }, { "docid": "25156b7d3e6b948be4f249fd1174a0c7", "score": "0.50058866", "text": "private RBNode getSuccessor(RBNode node)\n\t{\n\t\tRBNode currentNode = getSuccessorInSub(node);\n\t\tif (currentNode != null)\n\t\t\treturn currentNode;\n\t\telse\n\t\t{\n\t\t\twhile (currentNode != this.sentinel)\n\t\t\t{\n\t\t\t\tif (this.isRightChild(currentNode))\n\t\t\t\t\treturn currentNode.getParent();\n\t\t\t\tcurrentNode = currentNode.getParent();\n\t\t\t}\n\t\t\treturn null;\n\t\t}\n\t}", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.5004759", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.5004759", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.5004759", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.5004759", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.5004759", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.5004759", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.5004759", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.5004759", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" } ]
4432d3a5829856365424675d1b54d3d6
Generates six random numbers between 0 and the max value (both inclusive) and returns a set containing them
[ { "docid": "8af85f429bff6b79b41f9a8a3f1e2010", "score": "0.73613656", "text": "private Set<Integer> generateWinningNumbers()\r\n\t{\r\n\t\tSet<Integer> winningNumbers = new HashSet<Integer>();\r\n\t\t\r\n\t\tint i=0;\r\n\t\twhile(i<6)\r\n\t\t{\r\n\t\t\tboolean added = winningNumbers.add(random.nextInt(lotteryMax + 1));\r\n\t\t\tif(added) i++;\r\n\t\t}\r\n\t\treturn winningNumbers;\r\n\t}", "title": "" } ]
[ { "docid": "cac7c80e66001215d6e55e5d235d9a32", "score": "0.73355573", "text": "public Set<Integer> generateLotteryNumbers ()\n {\n\t Set<Integer> randomGenerator = new HashSet<Integer>(6); \n\t Random randomnum = new Random();\n\t \n\t\n\n\t \n\t for (Integer i=0; i<6;i++) \n\t {\n\t\t //keep looping until able to add a add number into a set that does not not exist and is between 1 and49\n\t\t \n\t\t while (randomGenerator.add(1+randomnum.nextInt(49)) == false) {\n\t\t\t \n\t\t\t\n\t\t }\n\t\t \n\n\t }\n\t \n\t \n\t \n return randomGenerator;\n \n }", "title": "" }, { "docid": "69645cf4b42d9cd49479ee0ed2a9d52f", "score": "0.71775764", "text": "public static Set<Integer> rndSet(int size, int min, int max){\n\n\t\tif (max < size)\n\t\t{\n\t\t throw new IllegalArgumentException(\"Can't ask for more numbers than are available\");\n\t\t}\n\n\t\tSet<Integer> generated = new LinkedHashSet<Integer>();\n\t\twhile (generated.size() < size)\n\t\t{\n\t\t Integer next = rng.nextInt(max - min + 1) + min;\n\t\t // As we're adding to a set, this will automatically do a containment check\n\t\t generated.add(next);\n\t\t}\n\t\tSystem.out.println(\"line sampled: \"+generated.toString());\n\t\treturn generated;\n\t}", "title": "" }, { "docid": "687b6aafa89ca1608e7c4bc01012ebe0", "score": "0.6248887", "text": "private int[] generateRandomNumbers(int max) {\n\t\tRandom random = new Random();\n\t\tint[] rand_array = new int[max];\n\t\tint cntr = 0;\n\t\t\n\t\t//fill array with a number not coming in random numbers range.\n\t\tfor( int i=0; i<max; i++ )\n\t\t\trand_array[i] = 1111111111;\n\t\t\n\t\twhile( cntr < max ){\n\t\t\tint rand_index = random.nextInt(max);\n\n\t\t\tif(!( in_array(rand_array, rand_index ))){\n\t\t\t\trand_array[cntr] = rand_index;\n\t\t\t\tSystem.out.println(cntr+\" : \"+rand_index);\n\t\t\t\tcntr++;\n\t\t\t}\n\t\t}\n\t\treturn rand_array;\n\t}", "title": "" }, { "docid": "c0246fb5af3f9b7cf1c8e384c26376c4", "score": "0.6241879", "text": "int getRandom(int max);", "title": "" }, { "docid": "59c36e91a8404bc0aff1063427bf778f", "score": "0.6183139", "text": "public Set<Integer> generateLotteryNumbers ()\r\n {\r\n return null;\r\n }", "title": "" }, { "docid": "ebf99787a8d62ca7e6c4be9b44b4ec20", "score": "0.61106926", "text": "public Set<Integer> generateSet(int size){\n Set<Integer> data = new HashSet<>();\n for (int i = 0; i < size; i++){\n data.add(i);\n }\n return data;\n }", "title": "" }, { "docid": "f02866d1b915f6e3223d2717d5a644e3", "score": "0.6108747", "text": "public static double probabilityOneSix() {\n int count = 0;\n for (int j = 0; j < 10000; j++) {\n for (int i = 0; i < 6; i++) {\n if ((int) (Math.random() * 6) + 1 == 6) {\n count++;\n break; } }\n }\n return ((double) count / (double) 10000) * 100;\n }", "title": "" }, { "docid": "bea6153c5ec903dbd735382f47c351a8", "score": "0.60778123", "text": "public int getRandom() {\n Integer ans = null;\n while (ans == null) {\n int r = random.nextInt(size);\n ans = allSet[r];\n if (!realSet.contains(ans)) {\n ans = allSet[r] = null;\n }\n }\n return ans;\n }", "title": "" }, { "docid": "30a177116600730aaef1805a3651f34a", "score": "0.60651803", "text": "public static ArrayList<String> generateNumberArray(int min, int max) {\n int[] ran = new int[]{-20, -10, 10, 20};\n ArrayList<Integer> integerArrayList;\n HashSet<Integer> set = new HashSet<>();\n\n int diff = min / 5;\n\n int target = randInt(min + diff, max - diff);\n set.add(target);\n while (set.size() != 4) {\n int badChoice = target + NumberGenerator.randInt(-diff, diff);\n set.add(badChoice);\n }\n set.remove(target);\n integerArrayList = new ArrayList<>(set);\n\n integerArrayList.add(0, target);\n\n ArrayList<String> integers = new ArrayList<>();\n for (Integer myInt : integerArrayList) {\n integers.add(String.valueOf(myInt));\n }\n\n //add a number which has the same last number as target\n while (true) {\n int insertPos = NumberGenerator.randInt(1, 4);\n int subIndex = NumberGenerator.randInt(0, 3);\n int badChoice = target + ran[subIndex];\n\n if (!set.contains(badChoice) && target!= badChoice && badChoice >= min && badChoice <= max) {\n integers.add(insertPos, String.valueOf(badChoice));\n break;\n }\n }\n return integers;\n }", "title": "" }, { "docid": "6f80432cc2f8720a248160f5a91a5fee", "score": "0.5991801", "text": "public RandomizedSet() {\n realSet = new HashSet<>();\n allSet = new Integer[10];\n random = new Random();\n }", "title": "" }, { "docid": "494093b59c40d472438dfa018d7b2bfa", "score": "0.5960025", "text": "public int getRandom() {\r\n var list = new ArrayList<>(set);\r\n return list.get(new Random().nextInt(set.size()));\r\n }", "title": "" }, { "docid": "9704fff6108e5aa1313d9cc3c90c3a33", "score": "0.59424424", "text": "private int _getRandomFromRange(int min, int max) {\n\t \n return min + random_.nextInt(max - min + 1);\n }", "title": "" }, { "docid": "d326ef441477ba2aed7dfcaf3edda828", "score": "0.5938997", "text": "public int getRandom() {\n int n = set.size();\n if (n == 0) return 0;\n Object[] res = set.toArray();\n Random rand = new Random();\n int result = rand.nextInt(n);\n return (Integer)res[result];\n }", "title": "" }, { "docid": "4d428ade0e66aa7d50fb783a35fc6c54", "score": "0.5904712", "text": "private static List<Integer> nextInt() {\n\t\tRandom rnd = new Random();\n\t\tList<Integer> l = new ArrayList<Integer>();\n\t\tfor (;;) {\n\t\t\tfinal int r = rnd.nextInt(5);\n\t\t\tif (!l.contains(r)) {\n\t\t\t\tl.add(r);\n\t\t\t}\n\t\t\tif (l.size() == 5)\n\t\t\t\treturn l;\n\t\t}\n\t}", "title": "" }, { "docid": "c0e041af6a59c6061a55d702ca1e4cc9", "score": "0.58766764", "text": "private static int[] generate_random_array(int max) {\n int size = ThreadLocalRandom.current().nextInt(2, max + 1);\n int[] array = new int[size];\n for (int i = 0; i < size - 1; i++) {\n int distance = size - i > i ? size - i : i;\n array[i] = ThreadLocalRandom.current().nextInt(1, distance);\n }\n array[size - 1] = 0;\n return array;\n }", "title": "" }, { "docid": "e8d22d55fa39e9332e3bbf76f8fc3ee1", "score": "0.58428144", "text": "@Test\r\n\tpublic void testPositiveGenerateIntegerSequences_6() {\n\t\tint i = 1;\r\n\t\tfor (RandomOrgClient roc : rocs) {\r\n\t\t\ttry {\r\n\t\t\t\tcollector.checkThat(roc.generateIntegerSequences(4, LENGTH, MIN, MAX), notNullValue());\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\tcollector.addError(new Error(errorMessage(i, e, true)));\r\n\t\t\t}\r\n\t\t\ti++;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "f1ae62338c1c5a8094569fefc7ffa3bf", "score": "0.58262736", "text": "public RandomizedSet() {\n set = new HashSet<Integer>();\n }", "title": "" }, { "docid": "902d3cbce87fa6cb23a07e8218e866e0", "score": "0.5791597", "text": "private void initialiseNumbers() {\r\n double choice = Math.random();\r\n sourceNumbers = new int[6];\r\n if(choice<0.8) {\r\n //one big number, 5 small.\r\n sourceNumbers[0] = (Integer) bigPool.remove(0);\r\n for( int i=1; i<6; i++) {\r\n sourceNumbers[i] = (Integer) smallPool.remove(0);\r\n }\r\n } else {\r\n //two big numbers, 5 small\r\n sourceNumbers[0] = (Integer) bigPool.remove(0);\r\n sourceNumbers[1] = (Integer) bigPool.remove(0);\r\n for( int i=2; i<6; i++) {\r\n sourceNumbers[i] = (Integer) smallPool.remove(0);\r\n }\r\n }\r\n\r\n //for target all numbers from 101 to 999 are equally likely\r\n targetNumber = 101 + (int) (899 * Math.random());\r\n }", "title": "" }, { "docid": "1df79e9c817031fc87cc95e059940d42", "score": "0.578028", "text": "@Test\r\n\tpublic void testPositiveGenerateSignedIntegerSequences_6() {\n\t\tint i = 1;\r\n\t\tfor (RandomOrgClient roc : rocs) {\r\n\t\t\ttry {\r\n\t\t\t\tHashMap<String,Object> o = roc.generateSignedIntegerSequences(4, LENGTH, MIN, MAX);\r\n\t\t\t\t\r\n\t\t\t\tthis.signedValueTester(roc, i, o, int[][].class);\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\tcollector.addError(new Error(errorMessage(i, e, true)));\r\n\t\t\t}\r\n\t\t\ti++;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "70067ab4270eb91e94767a3e2725b0c4", "score": "0.5746769", "text": "private static Integer[] getRandomArray(int N, int max) {\n Integer[] a = new Integer[N];\n java.util.Random rng = new java.util.Random();\n for (int i = 0; i < N; i++) {\n a[i] = rng.nextInt(max);\n }\n return a;\n }", "title": "" }, { "docid": "d4ac0d00789fb6b7642a6a26418e1127", "score": "0.57255834", "text": "public static void rand_generator(int[] ran,int n,int min, int max){\r\n Random r1 = new Random(); // rand function\r\n for(int i=0;i<n;i++)\r\n {\r\n ran[i] = r1.nextInt((max - min) + 1) + min; // saving the random values in the corresponding arrays\r\n }\r\n }", "title": "" }, { "docid": "164107b8a19b1f54adaceeb55db57894", "score": "0.5706098", "text": "public RandomizedSet() {\n map = new HashMap<Integer, Integer>();\n set = new ArrayList<Integer>();\n int validLength = 0;\n }", "title": "" }, { "docid": "4a18ee063bc2fdbccd203c2cd4a1553d", "score": "0.5681985", "text": "@Override\r\n\tpublic int randOfMax(int max) {\n\t\tRandom r = new Random();\r\n\t\t\r\n\t\tint i = r.nextInt(max);\r\n\t\twhile(0==i){//the restriction of the Random Number\r\n\t\t\ti = r.nextInt(max);\r\n\t\t}\r\n\t\treturn i;\r\n\t}", "title": "" }, { "docid": "a4e0bcde83e45ec40c9ad070bf8d433a", "score": "0.5644072", "text": "public static double probabilityThreeSixes() {\n int count = 0;\n int amount = 0;\n for (int i = 0; i < 10000; i++) {\n amount = 0;\n for (int j = 0; j < 18; j++) {\n if ((int) (Math.random() * 6) + 1 == 6)\n amount++;\n if (amount == 3) {\n count++;\n break; }\n }\n }\n return ((double) count / (double) 10000) * 100;\n }", "title": "" }, { "docid": "693aaa4e94448191f96de4356ca6f76d", "score": "0.56254375", "text": "public int randomWithRange(){\n\r\n\t\tint[] diceRolls = new int[4];//roll four 6-sided dices\r\n\t\tint range;\r\n\t\tfor(int i = 0; i<diceRolls.length;i++) {\r\n\t\t\t//add each dice i rolled into an array\r\n\t\t\trange = 6;\r\n\t\t\tdiceRolls[i] = (int)(Math.random() * range) + 1;//assign a number btw 1-6\r\n\t\t}\r\n\t\tint smallest=diceRolls[0];\r\n\t\tfor(int i = 1; i<diceRolls.length; i++) {//will check for the smallest rolled dice\r\n\t\t\tif(diceRolls[i]<smallest) \r\n\t\t\t\tsmallest=diceRolls[i];\t\t\r\n\t\t}\r\n\t\tint sum=0;\r\n\t\tfor(int i = 0; i<diceRolls.length;i++) {//adds up all the sum\r\n\t\t\tsum = sum+diceRolls[i];\r\n\t\t}\r\n\t\treturn sum-smallest;//subtract by the smallest dice from the sum\r\n\t}", "title": "" }, { "docid": "229ddfa7828b75bfa0a6771d320edaaa", "score": "0.55982697", "text": "@Test\r\n\tpublic void testPositiveGenerateIntegerSequences_7() {\n\t\tint i = 1;\r\n\t\tfor (RandomOrgClient roc : rocs) {\r\n\t\t\ttry {\r\n\t\t\t\tcollector.checkThat(roc.generateIntegerSequences(4, LENGTH, MIN, MAX, REPLACEMENT), notNullValue());\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\tcollector.addError(new Error(errorMessage(i, e, true)));\r\n\t\t\t}\r\n\t\t\ti++;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "3ed29f028c443457c2ccef9ef2c1300d", "score": "0.5583439", "text": "private static Stream<Boolean> randomBooleans() {\n Random random = new Random();\n return Stream.generate(random::nextBoolean).limit(MAX);\n}", "title": "" }, { "docid": "99b11d3e243d85336e5c4e6000121a90", "score": "0.5569275", "text": "public static ArrayList<Integer> genRandomArray(int s) {\n\t\t// TODO Auto-generated method stub\n\t\tArrayList<Integer> R = new ArrayList<Integer>();\n\t\tint i = 0;\n\t\tRandom randNum = new Random();\n\t\tfor (i = 0; i < s; i++) {\n\t\t\tint randNumber = MurmurHash.hashLong(i);\n\t\t\tR.add(randNumber);\n\n\t\t}\n\n\t\treturn R;\n\t}", "title": "" }, { "docid": "c543116f45befc3e9572ddc9947170fb", "score": "0.5569153", "text": "@Test\n public void testGetUniqueInt() {\n UniqueRandomGenerator instance = new UniqueRandomGenerator();\n \n List<Integer> extracted = new ArrayList<>();\n \n for (int i = 0; i < 1000; i++)\n {\n int extr = instance.getUniqueInt(0, 1000);\n \n if (extracted.contains(extr))\n fail();\n else\n extracted.add(extr);\n }\n }", "title": "" }, { "docid": "de36f734e1afce1a64210351e8dfe26a", "score": "0.55676997", "text": "static int[] getRandomSubsequence(int minVal, int maxVal, int subseqLength)\n\t{\n\t\tArrayList<Integer> vals = new ArrayList<Integer>();\n\t\tfor(int i = minVal; i<=maxVal; i++)\n\t\t{\n\t\t\tvals.add(i);\n\t\t}\n\t\tCollections.shuffle(vals);\n\t\tint[] res = new int[subseqLength];\n\t\t\n\t\tfor(int i = 0; i<res.length; i++)\n\t\t{\n\t\t\tres[i] = vals.get(i);\n\t\t}\n\t\t\n\t\tArrays.sort(res);\n\t\treturn res;\n\t}", "title": "" }, { "docid": "13be855d9058edafe9021d0bb2b6248b", "score": "0.55535424", "text": "public static int[] generateSuperLottoNumbers() \n\t{\n\t\t// create an array that allocates only 6 integer slots.\n\t\tint[] ticketNumbers = new int[6];\n\t\t\n\t\t//generateSuperLottoNumbers() as an argument [1 pts]\n\t\t// Hint: numbers[i] = (int) (10 * Math.random()) + 1; // will assign your array element to a random number from 1 to 10\n\t\t// The first 5 numbers must be from the range 1 to 47 [1 pt]\n\t\t//we want to run the iteration 5 times so we use for loop knowing how many iterations are needed.\n\t\tfor (int i = 0; i < 5; i++) \n\t\t{\n\t\t\tticketNumbers[i] = (int) (47 * Math.random()) + 1; // random method in the Math class will only give number between 0 and 1 not including 1 (0-.99) \t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// so we add plus 1 to avoid the error we have to account for 0 and 47.\n\t\t}\n\t\t\n\t\t// The 6th number (the MEGA) must be from 1 to 27. [1 pt]\n\t\tticketNumbers[5] = (int) (27 * Math.random()) + 1;\n\n\t\treturn ticketNumbers;\n\t}", "title": "" }, { "docid": "21ce8a6a7a065d540c50acbf23292edc", "score": "0.5552178", "text": "public static int rand7() {\n while (true) {\n int number = 5 * rand5() + rand5();\n if (number < 21) {\n return number % 7;\n }\n }\n }", "title": "" }, { "docid": "b5f936bbfe32dc2ddf0cdb4c3a69ca0a", "score": "0.555159", "text": "private Integer randomBilirrubina(){\n\t\t\tint Min = 0, Max = 14;\n\t\t\treturn Min + (int)(Math.random() * ((Max - Min) + 1));\n\t\t}", "title": "" }, { "docid": "3998e7112b223611af95624380ef52af", "score": "0.5545366", "text": "private static Integer[] getIntegerArray(int N, int max) {\n Integer[] a = new Integer[N];\n java.util.Random rng = new java.util.Random();\n for (int i = 0; i < N; i++) {\n a[i] = rng.nextInt(max);\n }\n return a;\n }", "title": "" }, { "docid": "39a99549384b1b22689990a32ba1b755", "score": "0.55452174", "text": "public static void main(String[] args) {\n\n System.out.println(\"How many sets of numbers do you want?: \"); // Prompt displayed for user.\n Scanner input = new Scanner(System.in); // User input as to how many sets the user desires.\n\n\n // assigns the user input number to integer variable number\n int number = input.nextInt();\n\n // Input validation w/ while loop to ask user for number until they give number greater than 0\n if(number<1 ) {\n\n number = 0;\n while(number<1) {\n System.out.print(\"That was not a valid number please give a number greater than zero: \");\n Scanner input2 = new Scanner(System.in);\n number = input2.nextInt();\n }\n }\n\n\n // Java Library will create the a list of Integers.\n ArrayList<Integer> list = new ArrayList<Integer>();\n\n // Uses the Random class\n Random rand = new Random();\n // A variable that helps us get a random int between 1-49\n final int RANGE = 49;\n // j indicates the user input of sets desired\n for(int j = 0; j<number; j++) {\n\n // for loop used to place 6 randomly generated numbers in sets defined by user.\n for(int i = 0; i<6; i++) {\n int num = (int) ( RANGE * Math.random() ) + 1;\n //while loop ensures no repeated numbers\n //using the contains method from the ArrayList class\n while(list.contains(num)) {\n\n num = rand.nextInt(50);\n }\n\n // adds number to list using add method from ArrayList Class\n list.add(num);\n\n }\n\n // Calling the sort method through the Collections class to sort the list from low to high\n Collections.sort(list);\n\n //Prints out the list once all integers are added\n System.out.println(list);\n\n //clears the list in order to populate it if more sets are asked for\n list.clear();\n\n }\n\n }", "title": "" }, { "docid": "0d5401a004cfb3fab3dac2af750408a7", "score": "0.5539911", "text": "private int randomRange(int min, int max) {\n\t\tRandom random = new Random();\n\t\treturn random.nextInt((max - min) + 1) + min;\n\t}", "title": "" }, { "docid": "62d09d3e19e305110381b53239f2d286", "score": "0.55265594", "text": "float getRandomValue(float min, float max)\r\n\t{\n\t\tRandom r = new Random(/*SEED!!!*/);\r\n\t\t//get a float between 0 and 1 then multiply it by the min/max difference.\r\n\t\tfloat num = r.nextFloat();\r\n\t\tnum = num * (max-min) + min;\r\n\t\treturn num;\r\n\t}", "title": "" }, { "docid": "15932b39c533262479da50af0dd73de0", "score": "0.5525701", "text": "public static void main(String[] args) {\n RandomizedSet randomSet = new RandomizedSet();\n\n // Inserts 1 to the set. Returns true as 1 was inserted successfully.\n System.out.println(randomSet.insert(1));\n\n // Returns false as 2 does not exist in the set.\n System.out.println(randomSet.remove(2));\n\n // Inserts 2 to the set, returns true. Set now contains [1,2].\n System.out.println(randomSet.insert(2));\n\n // getRandom should return either 1 or 2 randomly.\n System.out.println(randomSet.getRandom());\n\n // Removes 1 from the set, returns true. Set now contains [2].\n System.out.println(randomSet.remove(1));\n\n // 2 was already in the set, so return false.\n System.out.println(randomSet.insert(2));\n\n // Since 2 is the only number in the set, getRandom always return 2.\n System.out.println(randomSet.getRandom());\n }", "title": "" }, { "docid": "7533fe36ade327ad2cd2c06cb365d63f", "score": "0.55184317", "text": "public static int random(int max) {\r\n\t\treturn random(0, max);\r\n\t}", "title": "" }, { "docid": "11dca38d9ed2b90b62ede285f4a85905", "score": "0.55172473", "text": "public Randp(int max) {\n\t\t\n\t\tnumsLeft = max;\n\t\t\n\t\tfor (int i = 1; i <= max; i++) {\n\t\t\t\n\t\t\t// Adds all numbers to array list\n\t\t\tlistOfNums.add(i);\n\t\t}\n\t}", "title": "" }, { "docid": "717bbbb188384175920ea998439a2a49", "score": "0.5510918", "text": "public RandomizedSet() {\r\n rehash(16, null);\r\n random = new Random();\r\n }", "title": "" }, { "docid": "3a7f753cbbacf423fcf2eb87b7b0cb35", "score": "0.549755", "text": "public static Stream<Double> randomNums(double maxValue) {\n\t return(Stream.generate(() -> Math.random() * maxValue));\n\t }", "title": "" }, { "docid": "cf7849667be132ac68fdcbd4f238abc6", "score": "0.5496285", "text": "@Test\r\n\tpublic void testPositiveGenerateSignedIntegerSequences_7() {\n\t\tint[] decimalBase = {10, 10, 10, 10};\r\n\t\tint i = 1;\r\n\t\t\r\n\t\tfor (RandomOrgClient roc : rocs) {\r\n\t\t\ttry {\r\n\t\t\t\tHashMap<String,Object> o = roc.generateSignedIntegerSequences(4, LENGTH, MIN, MAX, REPLACEMENT, decimalBase, userData);\r\n\t\t\t\t\r\n\t\t\t\tthis.signedValueTester(roc, i, o, int[][].class, true);\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\tcollector.addError(new Error(errorMessage(i, e, true)));\r\n\t\t\t}\r\n\t\t\ti++;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "23ee8d607f6e6cbaa43b12dfa6f935fe", "score": "0.549414", "text": "public RandomizedSet() {\n\n\n sub =new ArrayList<Integer>();\n hm=new HashMap<Integer,Integer>();\n rand =new Random();\n\n }", "title": "" }, { "docid": "1a9bdb7a1086f36220e4b6462f4c313e", "score": "0.54849017", "text": "private ArrayList _getRandomList(int num, int min, int max) {\n ArrayList list = new ArrayList();\n ArrayList tmp = new ArrayList();\n for (int i = min; i <= max; i++) {\n tmp.add(new Integer(i));\n }\n \n for (int i = 0; i < num; i++) {\n \tif(tmp.size() > 1){\n\t int pos = _getRandomFromRange(0, tmp.size() - 1);\n\t list.add( (Integer) tmp.get(pos));\n\t tmp.remove(pos);\n \t}\n }\n\n return list;\n }", "title": "" }, { "docid": "8959fd6c677197fbe292080248f7fbbc", "score": "0.5475509", "text": "public static void main(String[] args)\n\t{\n\t\tfinal int MAX = 5000000;\n\t\tInteger temp = Integer.parseInt(args[0]);\n\t\tint howMany = temp.intValue();\n\t\tRandom rand = new Random();\n\t\tfor(int i = 0; i < howMany; i++)\n\t\t{\n\t\t\tSystem.out.println(RandomNumbers.randomInt(rand,0,MAX));\n\t\t}\n\t}", "title": "" }, { "docid": "638403c5bb0d9449b04de512f42e4e0d", "score": "0.54596955", "text": "public int generateRandom() {\n\t\tint random = (int)(Math.random()*((6-1)+1))+1;\n\t\treturn random;\n\t}", "title": "" }, { "docid": "7d3bdc888e8d122d445d98a746483ced", "score": "0.54459727", "text": "public void randomNumberTest() {\n //Generating streams of random numbers\n Random random = new Random();\n random.ints(5)//(long streamSize, double randomNumberOrigin, double randomNumberBound)\n .sorted()\n .forEach(System.out::println);\n /*\n -1622707470\n -452508309\n 1346762415\n 1456878623\n 1783692417\n */\n }", "title": "" }, { "docid": "b3aca916ac999a44a265a461124b4adf", "score": "0.544577", "text": "@Test\n\tpublic void test() {\n\t\tList<Integer[]> result = subGen.subset(9);\n\t\tassertEquals(10, result.size());\n\t\tInteger[] temp = { 0, 1, 2, 3, 4, 5, 6, 7, 8 };\n\t\tassertEquals(Arrays.toString(temp), Arrays.toString(result.get(0)));\n\n\t\tSet<Integer[]> testSet = new HashSet<Integer[]>();\n\t\tfor (int i = 0, len = result.size(); i < len; i++) {\n\t\t\ttestSet.add(result.get(i));\n\t\t}\n\t\tassertEquals(10, testSet.size());\n\n\t\tList<Integer[]> result2 = subGen.subset(3);\n\t\tassertEquals(120, result2.size());\n\n\t}", "title": "" }, { "docid": "66839e31d08d860c84f0132cf088b4c0", "score": "0.5444801", "text": "public static int getRandom(int min, int max){\n\t int x = (int)(Math.random()*((max-min)+1))+min;\n\t return x;\n\t}", "title": "" }, { "docid": "16ffda311a09d02566991686bf1acfcb", "score": "0.5442427", "text": "public RandomizedSet() {\r\n set = new HashSet<>();\r\n }", "title": "" }, { "docid": "c235150ff5a9e5fd9ffcb2801a53ba97", "score": "0.5440259", "text": "public static int[] generateSuperLottoNoDupes()\n\t\t{\n\t\t\t// create an array that allocates only 6 integer slots.\n\t\t\tint[] ticketNumbers = new int[6];\n\t\t\t\n\t\t\t//generateSuperLottoNumbers() as an argument [1 pts]\n\t\t\t// Hint: numbers[i] = (int) (10 * Math.random()) + 1; // will assign your array element to a random number from 1 to 10\n\t\t\t// The first 5 numbers must be from the range 1 to 47 [1 pt]\n\t\t\t//we want to run the iteration 5 times so we use for loop knowing how many iterations are needed.\n\t\t\tfor (int i = 0; i < 5; i++) \n\t\t\t{\n\t\t\t\tticketNumbers[i] = (int) (47 * Math.random()) + 1; // random method in the Math class will only give number between 0 and 1 not including 1 (0-.99) \t\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// so we add plus 1 to avoid the error we have to account for 0 and 47.\n\t\t\t\tfor (int j = 0; j < i; j++)\t\t\t\t\t\t\t\t\t\t\t\t// After first iteration of number 0-47, check if the current ticketNumbers is a duplicate of the preceding iterations.\n\t\t\t\t{\n\t\t\t\t\tif (ticketNumbers[i] == ticketNumbers[j]) \t\t\n\t\t\t\t\t\ti--;\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// If it is a duplicate then decrease the tickerNumber index by one and rerun the fo loop go generate a new random number.\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\t// The 6th number (the MEGA) must be from 1 to 27. [1 pt]\n\t\t\tticketNumbers[5] = (int) (27 * Math.random()) + 1;\n\n\t\t\treturn ticketNumbers;\n\t\t}", "title": "" }, { "docid": "991bacb21f040822b63f0e38d3e7e61b", "score": "0.5427854", "text": "private static void createPlayfulSet() {\n\n\t\trandomKeys = new ArrayList<>();\n\n\t\trandomKeys.add(GuessRevealerConstants.RANDOM_TEXT1);\n\t\trandomKeys.add(GuessRevealerConstants.RANDOM_TEXT2);\n\t\trandomKeys.add(GuessRevealerConstants.RANDOM_TEXT3);\n\t\trandomKeys.add(GuessRevealerConstants.RANDOM_TEXT4);\n\t\trandomKeys.add(GuessRevealerConstants.RANDOM_TEXT5);\n\t\trandomKeys.add(GuessRevealerConstants.RANDOM_TEXT6);\n\t\trandomKeys.add(GuessRevealerConstants.RANDOM_TEXT7);\n\t\trandomKeys.add(GuessRevealerConstants.END);\n\n\t\trandomCount = randomKeys.size();\n\n\t}", "title": "" }, { "docid": "dd2dc2697a2dbe0f433db01d996481f0", "score": "0.5426382", "text": "public void random(){\r\n\t\tRandom rand = new Random();\r\n\t\trandArray = new int[6];\r\n\t\tfor (int i = 0; i < 6; i++){\r\n\t\t\t//Randomly generated number from zero to nine\r\n\t\t\trandom = rand.nextInt(10);\r\n\t\t\t//Random values stored into the array\r\n\t\t\trandArray[i] = random;\r\n\t\t\tif(i == 0){\r\n\t\t\t\ta = random;\r\n\t\t\t}\r\n\t\t\tif(i == 1){\r\n\t\t\t\tb = random;\r\n\t\t\t}\r\n\t\t\tif(i == 2){\r\n\t\t\t\tc = random;\r\n\t\t\t}\r\n\t\t\tif(i == 3){\r\n\t\t\t\td = random;\r\n\t\t\t}\r\n\t\t\tif(i == 4){\r\n\t\t\t\tf = random;\r\n\t\t\t}\r\n\t\t\tif(i == 5){\r\n\t\t\t\tg = random;\r\n\t\t\t}\r\n\t\t\t//Random values outputted\r\n\t\t\t//Prints out if the hint was not used.\r\n\t\t\tif (executed == false || guessed == true ){\r\n\t\t\t\tprint(randArray[i]);\r\n\t\t\t}\r\n\t\t}\r\n\t\t//Prints out if the hint was not used.\r\n\t\tif (executed == false || guessed == true){\r\n\t\t\tprintln(\" Randomly Generated Value\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "44d31dc9d68eb46b8af2347c50da83ee", "score": "0.54252815", "text": "public static int[] generateRandomArray(){\n return new Random().ints(0, 100000)\n .distinct()\n .limit(1000).toArray();\n }", "title": "" }, { "docid": "07da98a2a0c9bf12b6a4e71ddee00a8e", "score": "0.53981763", "text": "private static int randInt(int max) {\n\t\tRandom rand = new Random(System.currentTimeMillis());\n\t\treturn rand.nextInt(max + 1);\n\t}", "title": "" }, { "docid": "66a2b70c451d799ce156a4035a24ffe2", "score": "0.5397169", "text": "private static int random(int min, int max) {\r\n\t\tRandom rand = java.util.concurrent.ThreadLocalRandom.current();\r\n\t\treturn min + (int) (rand.nextDouble()*(max-min));\r\n\t}", "title": "" }, { "docid": "2215bc548f6c6986bfcaf0daf58df66f", "score": "0.53818405", "text": "public int getRandom() {\n int idx;\n Random rand;\n \n rand = new Random();\n idx = rand.nextInt(set.size());\n return set.get(idx);\n }", "title": "" }, { "docid": "526a9972ca6eab484ef67fa2fe4a8c40", "score": "0.5381584", "text": "public static double probabilityTwoSixes() {\n int count = 0;\n int amount = 0;\n for (int i = 0; i < 10000; i++) {\n amount = 0;\n for (int j = 0; j < 12; j++) {\n if ((int) (Math.random() * 6) + 1 == 6)\n amount++;\n if (amount == 2) {\n count++;\n break; }\n }\n }\n return ((double) count / (double) 10000) * 100;\n }", "title": "" }, { "docid": "057af99454c91f69f6712939610556e6", "score": "0.53721726", "text": "private int generateWholoeNumInRange( int min, int max ) {\r\n\r\n // Evaluate random number from min to max including min and max\r\n return (int)(Math.random()*(max - min + 1) + min);\r\n\r\n }", "title": "" }, { "docid": "7216d079e33dac538c049ba0a287520e", "score": "0.5370684", "text": "private static void test1() {\n\n\tint n=10000;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tint val=rand7();\n\t\t\tcount[val]++;\n\t\t}\n\t\t\n\t\tfor(int i:count)\n\t\t\tSystem.out.println(i);\n\t}", "title": "" }, { "docid": "1ff06279eab349aaf27118f774185d6e", "score": "0.5369162", "text": "private int getRandomNumberInRange(int min, int max) {\r\n\r\n\t\tRandom r = new Random();\r\n\t\treturn ((r.nextInt(max - min) + 1) + min)*40;\r\n\t}", "title": "" }, { "docid": "70a3649006f44db1068ae64247ff70a5", "score": "0.5364619", "text": "private void randomizeNum() {\n randomNums.clear();\n for (int i = 0; i < 4; i++) {\n Integer rndNum = rnd.nextInt(10);\n randomNums.add(rndNum);\n }\n }", "title": "" }, { "docid": "d41219270e3eb9cde5ebf65ea9b3a4d8", "score": "0.535966", "text": "Chromosome getRandomAmongFittest(int limit);", "title": "" }, { "docid": "1107e7e51094a52d60b609d1cfe2c9f8", "score": "0.53561604", "text": "public RandomizedSet() {\n this.valueToIndex = new HashMap<>();\n this.values = new ArrayList<>();\n this.random = new Random();\n }", "title": "" }, { "docid": "599c8e5320b7d93e107d8cfb57937c5e", "score": "0.53525823", "text": "public RandomizedSet() {\n list = new HashSet<>();\n\n }", "title": "" }, { "docid": "66ec1f9afa9f2f5185e043b8abb251c7", "score": "0.5351712", "text": "public int randomGenerator(int min, int max) {\n int random = (int) ((Math.random()*((max-min)+1))+min);\n return random;\n }", "title": "" }, { "docid": "3069bc9425aa92c345ad8971ab165b55", "score": "0.53495103", "text": "private static int[] calculateLotto() {\r\n int random;\r\n int[] array = new int[ArraySize];\r\n for (int i = 0; i < array.length; i++) {\r\n random = Math.getRandom(1, ArrayMax);\r\n if (!Arrays.contains(random, array))\r\n array[i] = random;\r\n else\r\n i--;\r\n }\r\n return array;\r\n }", "title": "" }, { "docid": "63094d5678fe73bbeca953f612c355d8", "score": "0.53456104", "text": "@Test\n\tpublic void generateRandomFactorIsBetweenExpectedLimits() {\n\t\t\n\t\t//when a good sample of randomly generated factors is generated\n\t\tList<Integer> randomFactors = IntStream.range(0, 1000).map(i -> randomGeneratorServiceImpl.generateRandomFactor()).boxed().collect(Collectors.toList());\n\t\t\n\t\t//then all of them should be between 11 and 100 because we want a middle-complexity calculation\n\t\tassertThat(randomFactors).containsOnlyElementsOf(IntStream.range(11, 100).boxed().collect(Collectors.toList()));\n\t}", "title": "" }, { "docid": "6c0fb54237395b8d37cb53e2760678ba", "score": "0.5334595", "text": "public int[] sameElements(int n, int max) {\n Random rand = new Random();\n int[] arr = new int[max];\n for (int i = 0; i <= max - 1; i += n) {\n int next = rand.nextInt();\n for (int j = i; j < (i + n) && j < max; j++) {\n arr[j] = next;\n }\n }\n return arr;\n }", "title": "" }, { "docid": "98029e0f5fdc3387d5f96816dbce5ec6", "score": "0.5333929", "text": "private int[] removeDuplicate() {\n\n\t\t//Add int array elements to HashSet\n\t\tSet<Integer> temp = new HashSet<Integer>();\n\t\t\n\t\tfor(int num : randomIntegers){\n\t\t\ttemp.add(num);\n\t\t}\n\n\t\t//convert LinkedHashSet to integer array\n\t\tint[] uniqueNumbers = new int[temp.size()];\n\t\tint i = 0;\n\t\t\n\t\tfor (Iterator<Integer> iterator = temp.iterator(); iterator.hasNext();) {\n\t\t\tuniqueNumbers[i++] = iterator.next();\n\t\t}\n\n\t\treturn uniqueNumbers;\n\t}", "title": "" }, { "docid": "a524aaa2a1aaba84b56563edabb53449", "score": "0.5330259", "text": "@Test\r\n\tpublic void testPositiveGenerateSignedInteger_6() {\n\t\tint i = 1;\r\n\t\tfor (RandomOrgClient roc : rocs) {\r\n\t\t\ttry {\r\n\t\t\t\tString ticketId = roc.createTickets(1, true)[0].get(\"ticketId\").getAsString();\r\n\t\t\t\tHashMap<String,Object> o = roc.generateSignedIntegers(10, 0, 10, false, 16, userData, ticketId);\r\n\t\t\t\t\r\n\t\t\t\tthis.signedValueTester(roc, i, o, String[].class, true, ticketId);\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\tcollector.addError(new Error(errorMessage(i, e, true)));\r\n\t\t\t}\r\n\t\t\ti++;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "28fd300fdb157fcb9bc667f4f1442619", "score": "0.5327764", "text": "public int randomNum() {\n\t\treturn 1 + (int) (Math.random() * 3); // randomNum = minimum + (int)(Math.random() * maximum);\n\t}", "title": "" }, { "docid": "065f5cb3b701ed184e94638b440f1fdb", "score": "0.53247917", "text": "public final int random(int max) {\n return Utils.random(0, max);\n }", "title": "" }, { "docid": "a1e2467e1279c53d93b29be5c6e24751", "score": "0.5323631", "text": "Boolean getRandomize();", "title": "" }, { "docid": "89b91b7c9502cb4896b1ed8d0c976e4f", "score": "0.5320985", "text": "public static void main(String[] args) {\n Random r=new Random();\n int values[] = new int [50];\n\n\n for(int i=0;i< values.length;i++) {\n values[i] = r.nextInt(400);\n\n System.out.println(values[i]);\n }\n\n }", "title": "" }, { "docid": "be9fdf95a6bfbcae6ed3472652d1fb9e", "score": "0.53142667", "text": "private static int[] fillTicket(int size, int min, int max) {\n int[] ticket = new int [size];\n for(int i = 0; i < size; i++) {\n System.out.println(GIVE_UNIQUE_NUMBER);\n int input = Console.readInt(min, max, ERROR_MESSAGE_NON_NUMERIC, ERROR_MESSAGE_NON_MIN_AND_MAX);\n if(Arrays.contains(input, ticket)) {\n System.out.println(NUMBER_MUST_BE_UNIQUE);\n i--;\n } else {\n ticket[i] = input;\n }\n }\n return ticket;\n }", "title": "" }, { "docid": "29910526e304d839a81b4a462afc724a", "score": "0.5312013", "text": "public Set removeDuplicateUsingSet() throws ComputationException {\n Set<Integer> uniqueSet = new HashSet<>();\n log.debug(\"Removing duplicate using Set......\");\n int[] intArray = getRandomArray();\n log.debug(\"Actual size of int array:\" + intArray.length);\n for (int i = 0; i < intArray.length; i++) {\n uniqueSet.add(intArray[i]);\n }\n log.debug(\"refined size of int array using Set: \" + uniqueSet.size());\n log.debug(Arrays.toString(uniqueSet.toArray()));\n return uniqueSet;\n }", "title": "" }, { "docid": "80498fe2fb2507bbadb3d7de2b46626f", "score": "0.53090554", "text": "public int[] randomize(int inputSize){\n int[] list = new int[inputSize];\n for(int i = 0; i < inputSize; i++){\n // generate numbers within absolute range of input size to increase the chance to get distinct elements\n list[i] = ThreadLocalRandom.current().nextInt(0, inputSize + 1);\n }\n// System.out.println(Arrays.toString(list));\n return list;\n }", "title": "" }, { "docid": "60c5e3c677022450ab542576e6f83725", "score": "0.5308181", "text": "protected int random(int min, int max) {\n\t\treturn this.rand.nextInt(max-min) + min;\n\t}", "title": "" }, { "docid": "8aab3ae0596f5c481e456cfe87b8a935", "score": "0.5301441", "text": "private static int generateRandom(int min, int max) {\n // max - min + 1 will create a number in the range of min and max, including max. If you don´t want to include it, just delete the +1.\n // adding min to it will finally create the number in the range between min and max\n return r.nextInt(max-min+1) + min;\n }", "title": "" }, { "docid": "a8eecd2c2998db14240e36ad76338c39", "score": "0.52980214", "text": "private int getRandomNumberInRange(int min, int max) {\n Random rand = new Random();\n return rand.nextInt((max - min) + 1) + min;\n }", "title": "" }, { "docid": "4614841a419ab6e67b79a91a906a0422", "score": "0.5295924", "text": "public static int getRandomInt(int max) {\n\t\tif (max<1){\n\t\t\tmax = 1;\n\t\t}\n\t\treturn rand.nextInt(max);\n\t}", "title": "" }, { "docid": "22a9c78d4f7f9c379d0cf1643aaa1ce8", "score": "0.5288466", "text": "public static int getRandomInt(int max) {\n\t\treturn rand.nextInt(max);\n\t}", "title": "" }, { "docid": "537ebd5163e83a9ac42754223f86bd87", "score": "0.5288202", "text": "public BooleanSet (int maxElement) {\n\t\tcontains = new boolean[maxElement];\n\t for(int i = 0; i<maxElement; i++){\n\t\t\tcontains[i] = false;\n\t\t}\n\t}", "title": "" }, { "docid": "2175bea40c17ce6f9f2155323484d933", "score": "0.5285391", "text": "private Calimiteit[] chooseCalimiteiten()\n\t{\n\n\t\tCalimiteit[] calimiteiten = new Calimiteit[_AantalCalimiteiten];\n\n\t\tint[] choosenValues = new int[_AantalCalimiteiten];\n\n\t\tfor (int i = 0; i < _AantalCalimiteiten; i++) {\n\t\t\tint random = Greenfoot.getRandomNumber(25);\n\n\t\t\t/*\n\t\t\t * Kijkt of het gekozen getal al gekozen is. Zo ja blijft hij een\n\t\t\t * random getal genereren totdat hij een getal heeft dat nog niet\n\t\t\t * gekozen is\n\t\t\t */\n\t\t\twhile (Arrays.asList(choosenValues).contains(random) == true) {\n\t\t\t\trandom = Greenfoot.getRandomNumber(25);\n\t\t\t}\n\n\t\t\tchoosenValues[i] = random;\n\t\t\tcalimiteiten[i] = _Calimiteiten[random];\n\t\t}\n\n\t\treturn calimiteiten;\n\t}", "title": "" }, { "docid": "4cc5800ddb7315c866416fcfa9927c83", "score": "0.52830637", "text": "public static int[] generateArray(int min, int max, int size) {\n int[] arr = new int[size];\n for (int i = 0; i < size; i++) {\n arr[i] = min + (int) (Math.random() * (max - min));\n }\n return arr;\n }", "title": "" }, { "docid": "1c9424fe69d65f99a1591315c1586cdd", "score": "0.5283028", "text": "private static double randomGenerator(double min, double max) {\n return (double)java.lang.Math.random() * (max - min +1) + min;\n }", "title": "" }, { "docid": "fcbd84ca0ec0487fbccc1d7f7251dc50", "score": "0.52804947", "text": "public static int[] generateArray(int min, int max, int size, long seed) {\n int[] arr = new int[size];\n Random rand = new Random(seed);\n for (int i = 0; i < size; i++) {\n arr[i] = min + (int) (rand.nextInt(max - min));\n }\n return arr;\n }", "title": "" }, { "docid": "98ed3a8d3c1d3e407b59cc5c8e531198", "score": "0.5279693", "text": "private static int getRandomNumber(int min, int max) \n { //generates a random number within a range\n return (min + rand.nextInt((max - min) + 1));\n }", "title": "" }, { "docid": "188d0741259ec4e1f6062b29d7176b13", "score": "0.52770996", "text": "public int randomGQ() {\n\t\treturn(getRandomInteger(10,100));\n\t}", "title": "" }, { "docid": "3c55ff3870f2e5f7b4002c4deeab2551", "score": "0.5264125", "text": "public static void testRandomString() {\n\r\n Set<String> set = new HashSet<>(1000000);\r\n String code = null;\r\n for (int i = 0; i < 100000; i++) {\r\n code = \"v\" + RandomStringUtils.random(5, \"0123456789abcdefghijklmnopqrstuvwxyz\");\r\n System.out.println(code);\r\n set.add(code);\r\n }\r\n System.out.println(set.size());\r\n }", "title": "" }, { "docid": "6f844b506dbb92eda7c0925bed313457", "score": "0.52593976", "text": "private void randomNumbers(){\n ranA = n.nextInt(9) + 1;\n\n //second digit\n do {\n ranB=n.nextInt(9)+1;\n }while(ranB == ranA);\n\n //third digit\n do {\n ranC=n.nextInt(9)+1;\n }while(ranC == ranA || ranC==ranB);\n\n //fourth digit\n do {\n ranD=n.nextInt(9)+1;\n }while(ranD == ranA || ranD == ranB || ranD == ranC);\n }", "title": "" }, { "docid": "6dfde182c2313cc3d2aa9334090eba60", "score": "0.5256706", "text": "public int originalgetRandomPositiveInt(int min, int max){\r\n int number = getRandomPositiveInt(); \r\n return (int)number%(max - min + 1)+min;\r\n }", "title": "" }, { "docid": "ddc36d11a5bfe7408095a423eebc2191", "score": "0.52545565", "text": "private void populate(Set<Integer> set) {\n for (int i = 0; i < 100; i++) {\n if(Time.now() % 3 == 0) {\n set.add(i);\n }\n }\n }", "title": "" }, { "docid": "2cf31e5d1b86cc1e9ccea5d034c3d527", "score": "0.5254288", "text": "int getRandom(int limit){\n Random rand = new Random();\n int upperBound = limit;\n return rand.nextInt(upperBound) + 1;\n }", "title": "" }, { "docid": "8a0c6be678117440ef328d005a889340", "score": "0.52537227", "text": "private static int[] calculateLotto(int size, int min, int max) {\n int[] lotto = new int [size];\n int[] numbers = new int [max - min + 1];\n for(int i = 0; i < numbers.length; i++) {\n numbers [i] = min + i;\n }\n for(int i = 0; i < lotto.length; i++) {\n int index = Math.getRandom(0, numbers.length - 1);\n lotto [i] = numbers [index];\n numbers = Arrays.removeIndex(numbers, index);\n }\n return lotto;\n }", "title": "" }, { "docid": "88b2de3c469c7771ac9442addd49bec0", "score": "0.5253654", "text": "private static int generateRandomNumber(int min, int max) {\n return (int)Math.floor(Math.random() * (max - min + 1)) + min;\n }", "title": "" }, { "docid": "9c42245c3abce60a92e804c3d3511502", "score": "0.52511954", "text": "static int getRandint(int min, int max) {\r\n\t\tRandom r = new Random();\r\n\t\treturn r.nextInt((max - min) + 1) + min;\r\n\t}", "title": "" }, { "docid": "dec6e6cdf9f7b30db3ef0385ae616bc2", "score": "0.5247845", "text": "public static void main(String[] args) {\n int min=100;\n int max=999;\n int random = (int) (min + Math.random() * (max - min));\n int a=random%10;\n int a1=(random/10)%10;\n int a2=(random/100)%10;\n System.out.println(\"Число = \" +random +\" наибольшее число = \" +Math.max(a, Math.max(a1,a2)));\n}", "title": "" } ]
c4cd61cccb8b6d4ae05f5b44c56335b7
Creates an RMSPRrop Optimizer
[ { "docid": "b84283255698a2435a63e23497d86bb4", "score": "0.0", "text": "public RMSProp(Graph graph) {\n this(\n graph,\n LEARNING_RATE_DEFAULT,\n DECAY_DEFAULT,\n MOMENTUM_DEFAULT,\n EPSILON_DEFAULT,\n CENTERED_DEFAULT);\n }", "title": "" } ]
[ { "docid": "328ede846b44c2d9285bf01fbdd3bf81", "score": "0.5511377", "text": "public RtfOptimizer()\n {\n }", "title": "" }, { "docid": "0d8313b3b78a9230bf2af15622765058", "score": "0.4939053", "text": "public double[] runOptimizer() {\n List<Integer> sents = new ArrayList<Integer>();\n for(int i=0; i<sentNum; i++)\n sents.add(i);\n \n if(needShuffle)\n Collections.shuffle(sents);\n \n double oraMetric, oraScore, predMetric, predScore;\n double[] oraPredScore = new double[4];\n double eta = 1.0; //learning rate, will not be changed if run percep\n double avgEta = 0; //average eta, just for analysis\n double loss = 0;\n double featNorm = 0;\n double featDiffVal;\n double sumMetricScore = 0;\n double sumModelScore = 0;\n String oraFeat = \"\";\n String predFeat = \"\";\n String[] oraPredFeat = new String[2];\n String[] vecOraFeat;\n String[] vecPredFeat;\n String[] featInfo;\n boolean first = true;\n //int processedSent = 0;\n Iterator it;\n Integer diffFeatId;\n double[] avgLambda = new double[initialLambda.length]; //only needed if averaging is required\n for(int i=0; i<initialLambda.length; i++)\n avgLambda[i] = 0.0;\n\n //update weights\n for(Integer s : sents) {\n //find out oracle and prediction\n if(first)\n findOraPred(s, oraPredScore, oraPredFeat, initialLambda, featScale);\n else\n findOraPred(s, oraPredScore, oraPredFeat, finalLambda, featScale);\n \n //the model scores here are already scaled in findOraPred\n oraMetric = oraPredScore[0];\n oraScore = oraPredScore[1];\n predMetric = oraPredScore[2];\n predScore = oraPredScore[3];\n oraFeat = oraPredFeat[0];\n predFeat = oraPredFeat[1];\n \n //update the scale\n if(needScale) { //otherwise featscale remains 1.0\n sumMetricScore += java.lang.Math.abs(oraMetric+predMetric);\n sumModelScore += java.lang.Math.abs(oraScore+predScore)/featScale; //restore the original model score\n \n if(sumModelScore/sumMetricScore > scoreRatio)\n featScale = sumMetricScore/sumModelScore;\n\n /* a different scaling strategy \n if( (1.0*processedSent/sentNum) < sentForScale ) { //still need to scale\n double newFeatScale = java.lang.Math.abs(scoreRatio*sumMetricDiff / sumModelDiff); //to make sure modelScore*featScale/metricScore = scoreRatio\n \n //update the scale only when difference is significant\n if( java.lang.Math.abs(newFeatScale-featScale)/featScale > 0.2 )\n featScale = newFeatScale;\n }*/\n }\n// processedSent++;\n\n HashMap<Integer, Double> allOraFeat = new HashMap<Integer, Double>();\n HashMap<Integer, Double> allPredFeat = new HashMap<Integer, Double>();\n HashMap<Integer, Double> featDiff = new HashMap<Integer, Double>();\n\n vecOraFeat = oraFeat.split(\"\\\\s+\");\n vecPredFeat = predFeat.split(\"\\\\s+\");\n \n for (int i = 0; i < vecOraFeat.length; i++) {\n featInfo = vecOraFeat[i].split(\":\");\n diffFeatId = Integer.parseInt(featInfo[0]);\n allOraFeat.put(diffFeatId, Double.parseDouble(featInfo[1]));\n featDiff.put(diffFeatId, Double.parseDouble(featInfo[1]));\n }\n\n for (int i = 0; i < vecPredFeat.length; i++) {\n featInfo = vecPredFeat[i].split(\":\");\n diffFeatId = Integer.parseInt(featInfo[0]);\n allPredFeat.put(diffFeatId, Double.parseDouble(featInfo[1]));\n\n if (featDiff.containsKey(diffFeatId)) //overlapping features\n featDiff.put(diffFeatId, featDiff.get(diffFeatId)-Double.parseDouble(featInfo[1]));\n else //features only firing in the 2nd feature vector\n featDiff.put(diffFeatId, -1.0*Double.parseDouble(featInfo[1]));\n }\n\n if(!runPercep) { //otherwise eta=1.0\n featNorm = 0;\n\n Collection<Double> allDiff = featDiff.values();\n for(it =allDiff.iterator(); it.hasNext();) {\n featDiffVal = (Double) it.next();\n featNorm += featDiffVal*featDiffVal;\n }\n \n //a few sanity checks\n if(! evalMetric.getToBeMinimized()) {\n if(oraSelectMode==1 && predSelectMode==1) { //\"hope-fear\" selection\n /* ora_score+ora_metric > pred_score+pred_metric\n * pred_score-pred_metric > ora_score-ora_metric\n * => ora_metric > pred_metric */\n if(oraMetric+1e-10 < predMetric) {\n System.err.println(\"WARNING: for hope-fear selection, oracle metric score must be greater than prediction metric score!\");\n System.err.println(\"Something is wrong!\");\n }\n }\n \n if(oraSelectMode==2 || predSelectMode==3) {\n if(oraMetric+1e-10 < predMetric) {\n System.err.println(\"WARNING: for max-metric oracle selection or min-metric prediction selection, the oracle metric \" +\n \t\t\"score must be greater than the prediction metric score!\");\n System.err.println(\"Something is wrong!\");\n }\n }\n } else {\n if(oraSelectMode==1 && predSelectMode==1) { //\"hope-fear\" selection\n /* ora_score-ora_metric > pred_score-pred_metric\n * pred_score+pred_metric > ora_score+ora_metric\n * => ora_metric < pred_metric */\n if(oraMetric-1e-10 > predMetric) {\n System.err.println(\"WARNING: for hope-fear selection, oracle metric score must be smaller than prediction metric score!\");\n System.err.println(\"Something is wrong!\");\n }\n }\n \n if(oraSelectMode==2 || predSelectMode==3) {\n if(oraMetric-1e-10 > predMetric) {\n System.err.println(\"WARNING: for min-metric oracle selection or max-metric prediction selection, the oracle metric \" +\n \"score must be smaller than the prediction metric score!\");\n System.err.println(\"Something is wrong!\");\n }\n }\n }\n \n if(predSelectMode==2) {\n if(predScore+1e-10 < oraScore) {\n System.err.println(\"WARNING: for max-model prediction selection, the prediction model score must be greater than oracle model score!\");\n System.err.println(\"Something is wrong!\");\n }\n }\n \n //cost - margin\n //remember the model scores here are already scaled\n loss = evalMetric.getToBeMinimized() ? //cost should always be non-negative \n (predMetric-oraMetric) - (oraScore-predScore)/featScale: \n (oraMetric-predMetric) - (oraScore-predScore)/featScale;\n \n if(loss<0)\n loss = 0;\n\n if(loss == 0)\n eta = 0;\n else\n //eta = C < loss/(featNorm*featScale*featScale) ? C : loss/(featNorm*featScale*featScale); //feat vector not scaled before\n eta = C < loss/(featNorm) ? C : loss/(featNorm); //feat vector not scaled before\n }\n \n avgEta += eta;\n\n Set<Integer> diffFeatSet = featDiff.keySet();\n it = diffFeatSet.iterator();\n\n if(first) {\n first = false;\n \n if(eta!=0) {\n while(it.hasNext()) {\n diffFeatId = (Integer)it.next();\n finalLambda[diffFeatId] = initialLambda[diffFeatId] + eta*featDiff.get(diffFeatId);\n }\n }\n }\n else {\n if(eta!=0) {\n while(it.hasNext()) {\n diffFeatId = (Integer)it.next();\n finalLambda[diffFeatId] = finalLambda[diffFeatId] + eta*featDiff.get(diffFeatId);\n }\n }\n }\n \n if(needAvg) {\n for(int i=0; i<avgLambda.length; i++)\n avgLambda[i] += finalLambda[i];\n }\n }\n \n if(needAvg) {\n for(int i=0; i<finalLambda.length; i++)\n finalLambda[i] = avgLambda[i]/sentNum;\n }\n \n avgEta /= sentNum;\n System.out.println(\"Average learning rate: \"+avgEta);\n\n // the intitialLambda & finalLambda are all trainable parameters\n //if (!trainMode.equals(\"3\")) // for mode 3, no need to normalize sparse\n // feature weights\n //normalizeLambda(finalLambda);\n //else\n //normalizeLambda_mode3(finalLambda);\n\n /*\n * for( int i=0; i<finalLambda.length; i++ ) System.out.print(finalLambda[i]+\" \");\n * System.out.println(); System.exit(0);\n */ \n\n double initMetricScore = computeCorpusMetricScore(initialLambda); // compute the initial corpus-level metric score\n double finalMetricScore = computeCorpusMetricScore(finalLambda); // compute final corpus-level metric score // the\n\n // prepare the printing info\n int numParamToPrint = 0;\n String result = \"\";\n\n if (trainMode.equals(\"1\") || trainMode.equals(\"4\")) {\n numParamToPrint = paramDim > 10 ? 10 : paramDim; // how many parameters\n // to print\n result = paramDim > 10 ? \"Final lambda(first 10): {\" : \"Final lambda: {\";\n\n for (int i = 1; i < numParamToPrint; i++)\n // in ZMERT finalLambda[0] is not used\n result += finalLambda[i] + \" \";\n } else {\n int sparseNumToPrint = 0;\n if (trainMode.equals(\"2\")) {\n result = \"Final lambda(regular feats + first 5 sparse feats): {\";\n for (int i = 1; i <= regParamDim; ++i)\n result += finalLambda[i] + \" \";\n\n result += \"||| \";\n\n sparseNumToPrint = 5 < (paramDim - regParamDim) ? 5 : (paramDim - regParamDim);\n\n for (int i = 1; i <= sparseNumToPrint; i++)\n result += finalLambda[regParamDim + i] + \" \";\n } else {\n result = \"Final lambda(first 10 sparse feats): {\";\n sparseNumToPrint = 10 < paramDim ? 10 : paramDim;\n\n for (int i = 1; i < sparseNumToPrint; i++)\n result += finalLambda[i] + \" \";\n }\n }\n\n output.add(result + finalLambda[numParamToPrint] + \"}\\n\" + \"Initial \"\n + evalMetric.get_metricName() + \": \" + initMetricScore + \"\\nFinal \"\n + evalMetric.get_metricName() + \": \" + finalMetricScore);\n\n // System.out.println(output);\n\n if (trainMode.equals(\"3\")) {\n // finalLambda = baseline(unchanged)+disc\n for (int i = 0; i < paramDim; i++)\n copyLambda[i + regParamDim + 1] = finalLambda[i];\n\n finalLambda = copyLambda;\n }\n\n return finalLambda;\n }", "title": "" }, { "docid": "7292c4ecd995c833d211c6596850edca", "score": "0.48831195", "text": "RoverProgram createRoverProgram();", "title": "" }, { "docid": "043d5e7e64c55a0c1b4bf8638dc98db0", "score": "0.47054774", "text": "@Test\n\tpublic void testUniformRWR() {\n\t\tlog.debug(\"Test logging\");\n\t\tint maxT = 10;\n\t\t\n\t\tAnnotatedGraph<String> g = brGraphs.get(0);\n\t\t\n\t\tTreeMap<String,Double> startVec = new TreeMap<String,Double>();\n\t\tstartVec.put(\"r0\",1.0);\n\t\tMap<String,Double> baseLineVec = myRWR(startVec,g,maxT);\n\t\tTreeMap<String,Double>uniformWeightVec = new TreeMap<String,Double>();\n\t\tuniformWeightVec.put(\"fromb\",1.0);\n\t\tuniformWeightVec.put(\"tob\",1.0);\n\t\tuniformWeightVec.put(\"fromr\",1.0);\n\t\tuniformWeightVec.put(\"tor\",1.0);\n\t\tuniformWeightVec.put(\"restart\",1.0);\n\t\tMap<String,Double> newVec = srw.rwrUsingFeatures(g, startVec, uniformWeightVec);\n\t\tequalScores(baseLineVec,newVec);\n\t}", "title": "" }, { "docid": "b437faccdc8334d6207bb641cbf8e090", "score": "0.46620044", "text": "public interface Regressor {\n\n String name();\n\n float recognize(final float[] pixels);\n}", "title": "" }, { "docid": "34690dbabc3f12a6cac3d8be9153ea9e", "score": "0.4658139", "text": "public static MetricTransformation2DRobustEstimator create(\n MetricTransformation2DRobustEstimatorListener listener, \n double[] qualityScores, boolean weakMinimumSizeAllowed) {\n return create(listener, qualityScores, weakMinimumSizeAllowed, \n DEFAULT_ROBUST_METHOD);\n }", "title": "" }, { "docid": "a207842049271bc76d81cbf6f912e046", "score": "0.46189627", "text": "public interface IVRPAlgorithm {\n VRPSolution solve(VRPInstance vrpInstance) throws Exception;\n}", "title": "" }, { "docid": "b3f2a95ac42ffa33be60180085216d83", "score": "0.4596526", "text": "public static QuadricRobustEstimator create() {\n return create(DEFAULT_ROBUST_METHOD);\n }", "title": "" }, { "docid": "6259274b0004b108a64fb96ad5b992b0", "score": "0.45820022", "text": "RoverValue createRoverValue();", "title": "" }, { "docid": "e73024dde4b0ca3a2b490e8739aa5a1b", "score": "0.45615017", "text": "public static MetricTransformation2DRobustEstimator create() {\n return create(DEFAULT_ROBUST_METHOD);\n }", "title": "" }, { "docid": "d45ed75c24ff43eeff3da4484db31c29", "score": "0.45387223", "text": "public static MetricTransformation2DRobustEstimator create(\n MetricTransformation2DRobustEstimatorListener listener,\n List<Point2D> inputPoints, List<Point2D> outputPoints,\n double[] qualityScores, boolean weakMinimumSizeAllowed) {\n return create(listener, inputPoints, outputPoints, qualityScores,\n weakMinimumSizeAllowed, DEFAULT_ROBUST_METHOD);\n }", "title": "" }, { "docid": "3665c0ebcf179a2d4a8bc703cad0d453", "score": "0.45258912", "text": "public Builder<V, E> setR(double r) {\n this.r = r;\n return this;\n }", "title": "" }, { "docid": "eb0273a35559c1f76070d460113ed94f", "score": "0.4514009", "text": "public static MetricTransformation2DRobustEstimator create(\n double[] qualityScores, boolean weakMinimumSizeAllowed) {\n return create(qualityScores, weakMinimumSizeAllowed, DEFAULT_ROBUST_METHOD);\n }", "title": "" }, { "docid": "86db8c15700028c037b3c37fdfd0c791", "score": "0.44861498", "text": "public final void ruleR() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMLRegression.g:141:2: ( ( ( rule__R__Alternatives ) ) )\n // InternalMLRegression.g:142:2: ( ( rule__R__Alternatives ) )\n {\n // InternalMLRegression.g:142:2: ( ( rule__R__Alternatives ) )\n // InternalMLRegression.g:143:3: ( rule__R__Alternatives )\n {\n before(grammarAccess.getRAccess().getAlternatives()); \n // InternalMLRegression.g:144:3: ( rule__R__Alternatives )\n // InternalMLRegression.g:144:4: rule__R__Alternatives\n {\n pushFollow(FOLLOW_2);\n rule__R__Alternatives();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getRAccess().getAlternatives()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "90894b65372fef45e578beb8459306a9", "score": "0.44661242", "text": "public interface GeneticOptimizer {\r\n\tpublic int getGenPopulation();\r\n\tpublic void setGenPopulation(Integer popSize);\r\n\tpublic int getGenIterations();\r\n\tpublic void setGenIterations(Integer iterations);\r\n\r\n}", "title": "" }, { "docid": "f8b3e305bc29fb687a38a54776f916be", "score": "0.44628736", "text": "public static MetricTransformation2DRobustEstimator create(\n MetricTransformation2DRobustEstimatorListener listener,\n List<Point2D> inputPoints, List<Point2D> outputPoints,\n double[] qualityScores, boolean weakMinimumSizeAllowed, \n RobustEstimatorMethod method) {\n switch (method) {\n case LMedS:\n return new LMedSMetricTransformation2DRobustEstimator(\n listener, inputPoints, outputPoints, \n weakMinimumSizeAllowed);\n case MSAC:\n return new MSACMetricTransformation2DRobustEstimator(\n listener, inputPoints, outputPoints, \n weakMinimumSizeAllowed);\n case PROSAC:\n return new PROSACMetricTransformation2DRobustEstimator(\n listener, inputPoints, outputPoints, qualityScores, \n weakMinimumSizeAllowed);\n case PROMedS:\n return new PROMedSMetricTransformation2DRobustEstimator(\n listener, inputPoints, outputPoints, qualityScores, \n weakMinimumSizeAllowed);\n case RANSAC:\n default:\n return new RANSACMetricTransformation2DRobustEstimator(\n listener, inputPoints, outputPoints, \n weakMinimumSizeAllowed); \n }\n }", "title": "" }, { "docid": "fdfc799afe8af3ce92a08f583fcc552b", "score": "0.44281003", "text": "public static MetricTransformation2DRobustEstimator create(\n MetricTransformation2DRobustEstimatorListener listener, \n boolean weakMinimumSizeAllowed) {\n return create(listener, weakMinimumSizeAllowed, DEFAULT_ROBUST_METHOD);\n }", "title": "" }, { "docid": "e7108a6707e38072adba0c9810d4ab2b", "score": "0.44156048", "text": "public static MetricTransformation2DRobustEstimator create(\n MetricTransformation2DRobustEstimatorListener listener, \n double[] qualityScores, boolean weakMinimumSizeAllowed, \n RobustEstimatorMethod method) {\n switch (method) {\n case LMedS:\n return new LMedSMetricTransformation2DRobustEstimator(\n listener, weakMinimumSizeAllowed);\n case MSAC:\n return new MSACMetricTransformation2DRobustEstimator(\n listener, weakMinimumSizeAllowed);\n case PROSAC:\n return new PROSACMetricTransformation2DRobustEstimator(\n listener, qualityScores, weakMinimumSizeAllowed);\n case PROMedS:\n return new PROMedSMetricTransformation2DRobustEstimator(\n listener, qualityScores, weakMinimumSizeAllowed);\n case RANSAC:\n default:\n return new RANSACMetricTransformation2DRobustEstimator(\n listener, weakMinimumSizeAllowed);\n }\n }", "title": "" }, { "docid": "41feb09d12a25732efb52dbaedfcd9f1", "score": "0.44142306", "text": "public static MetricTransformation2DRobustEstimator create(\n MetricTransformation2DRobustEstimatorListener listener,\n List<Point2D> inputPoints, List<Point2D> outputPoints,\n boolean weakMinimumSizeAllowed) {\n return create(listener, inputPoints, outputPoints, \n weakMinimumSizeAllowed, DEFAULT_ROBUST_METHOD);\n }", "title": "" }, { "docid": "c6491227d93d817f9123b069325656d3", "score": "0.44061884", "text": "private <T extends TType> void createRMSPropSlot(Output<T> v) {\n Operand<T> rmsInitializer = tf.fill(tf.shape(v), tf.dtypes.cast(tf.constant(1.0f), v.type()));\n createSlot(v.asOutput(), RMS, rmsInitializer);\n Operand<T> momentumInitializer =\n tf.fill(tf.shape(v), tf.dtypes.cast(tf.constant(0.0f), v.type()));\n createSlot(v.asOutput(), MOMENTUM, momentumInitializer);\n if (centered) {\n Operand<T> mgInitializer = tf.fill(tf.shape(v), tf.dtypes.cast(tf.constant(0.0f), v.type()));\n createSlot(v.asOutput(), MG, mgInitializer);\n }\n }", "title": "" }, { "docid": "6e35a772e2167fcb68634276533fba91", "score": "0.4380744", "text": "static void makeROI(){\n\t\tfloat x1,y1;\n\t\tint N = pop.N;\n\n\t\tfor (int i=0;i<N;i++)\n\t\t{\n\t\t\tBalloon bal;\n\t\t\tbal = (Balloon)(pop.BallList.get(i));\n\t\t\tint n = bal.XX.length;\n\n\t\t\t// filtering (for testing purposes)\n\t\t\tboolean isToDraw = true;\n\t\t\tBalloon B0 = ((Balloon)(pop.BallList.get(i)));\n\t\t\tB0.mass_geometry();\n\t\t\tif (pop.contacts != null)\n\t\t\t{\n\t\t\t\tfor (int k=0;k<B0.n0;k++)\n\t\t\t\t{\n\t\t\t\t\tif (pop.contacts[i][k] == -1)\n\t\t\t\t\t{\n\t\t\t\t\t\tisToDraw = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t// draw\n\t\t\tshape.setWindingRule(0);\n\t\t\tif (isToDraw)\n\t\t\t{\n\t\t\t\tPolygonRoi Proi = B0.Proi;\n\t\t\t MROI.add(i1,Proi,i);\n\n\t\t\t // stuff to keep from old name\n/*\t\t\t int nROI = MROI.getCount()-1;\n\t\t\t String ROIName_old = MROI.getName(\"\"+nROI);\n\t\t\t String ROIName_new_sup = \"\";//ROIName_old.substring(4,14);\n\n\t\t\t // part of the name that change due to match the slice number\n\t\t\t String ROIName_new_sub = \"\";\n\t\t\t if (currentSlice<10)\n\t\t\t {\n\t\t\t\tROIName_new_sub = \"000\" + currentSlice;\n\t\t\t }\n\t\t\t else if (currentSlice<100)\n\t\t\t {\n\t\t\t\tROIName_new_sub = \"00\" + currentSlice;\n\t\t\t }\n\t\t\t else if (currentSlice<1000)\n\t\t\t {\n\t\t\t\tROIName_new_sub = \"0\" + currentSlice;\n\t\t\t }\n\t\t\t else if (currentSlice<10000)\n\t\t\t {\n\t\t\t\tROIName_new_sub = \"\" + currentSlice;\n\t\t\t }\n\t\t\t String ROIName_new = ROIName_old;//ROIName_new_sub + ROIName_new_sup;\n\t\t\t // Change names in the ROI manager\n\t\t\t IJ.runMacro(\"roiManager(\\\"Select\\\",\" + nROI + \") \",null);\n\t\t\t IJ.runMacro(\"roiManager(\\\"Rename\\\", \\\"\" + ROIName_new + \"\\\") \",null);\n*/\n\t\t\t}\n\t\t}\n\n\t}", "title": "" }, { "docid": "b3ffe3794f0b69cb6c94d9b8944a85a5", "score": "0.4380301", "text": "public static QuadricRobustEstimator create(\n QuadricRobustEstimatorListener listener) {\n return create(listener, DEFAULT_ROBUST_METHOD);\n }", "title": "" }, { "docid": "d8f438f5c31202afb6ec0316ada1d381", "score": "0.43473336", "text": "public Evaluator(RANKER_TYPE rType, METRIC trainMetric, METRIC testMetric) {\n/* 599 */ this.type = rType;\n/* 600 */ this.trainScorer = this.mFact.createScorer(trainMetric);\n/* 601 */ this.testScorer = this.mFact.createScorer(testMetric);\n/* 602 */ if (qrelFile.compareTo(\"\") != 0) {\n/* */ \n/* 604 */ this.trainScorer.loadExternalRelevanceJudgment(qrelFile);\n/* 605 */ this.testScorer.loadExternalRelevanceJudgment(qrelFile);\n/* */ } \n/* */ }", "title": "" }, { "docid": "ab133f2c3ec578c0407ba103fe9fc66d", "score": "0.43459144", "text": "public interface Optimizer extends scala.Serializable {\n /**\n * Solve the provided convex optimization problem.\n * @param data (undocumented)\n * @param initialWeights (undocumented)\n * @return (undocumented)\n */\n public org.apache.spark.mllib.linalg.Vector optimize (org.apache.spark.rdd.RDD<scala.Tuple2<java.lang.Object, org.apache.spark.mllib.linalg.Vector>> data, org.apache.spark.mllib.linalg.Vector initialWeights) ;\n}", "title": "" }, { "docid": "996543400ea520078302148c5091a446", "score": "0.43458468", "text": "public BaseOptimizer() {\r\n Candidates = new ArrayList<>();\r\n }", "title": "" }, { "docid": "ad86f1e99dcdd276c4d8587994434209", "score": "0.43450597", "text": "public Evaluator(RANKER_TYPE rType, String trainMetric, String testMetric) {\n/* 648 */ this.type = rType;\n/* 649 */ this.trainScorer = this.mFact.createScorer(trainMetric);\n/* 650 */ this.testScorer = this.mFact.createScorer(testMetric);\n/* 651 */ if (qrelFile.compareTo(\"\") != 0) {\n/* */ \n/* 653 */ this.trainScorer.loadExternalRelevanceJudgment(qrelFile);\n/* 654 */ this.testScorer.loadExternalRelevanceJudgment(qrelFile);\n/* */ } \n/* */ }", "title": "" }, { "docid": "ed46ed1d4a611dd8b1e4fe928cfd74d2", "score": "0.43436262", "text": "public static MetricTransformation2DRobustEstimator create(\n boolean weakMinimumSizeAllowed) {\n return create(weakMinimumSizeAllowed, DEFAULT_ROBUST_METHOD);\n }", "title": "" }, { "docid": "385739788e573111e57615ed37ba1f4f", "score": "0.43348238", "text": "public static MetricTransformation2DRobustEstimator create(\n double[] qualityScores, boolean weakMinimumSizeAllowed, \n RobustEstimatorMethod method) {\n switch (method) {\n case LMedS:\n return new LMedSMetricTransformation2DRobustEstimator(\n weakMinimumSizeAllowed);\n case MSAC:\n return new MSACMetricTransformation2DRobustEstimator(\n weakMinimumSizeAllowed);\n case PROSAC:\n return new PROSACMetricTransformation2DRobustEstimator(\n qualityScores, weakMinimumSizeAllowed);\n case PROMedS:\n return new PROMedSMetricTransformation2DRobustEstimator(\n qualityScores, weakMinimumSizeAllowed);\n case RANSAC:\n default:\n return new RANSACMetricTransformation2DRobustEstimator(\n weakMinimumSizeAllowed);\n }\n }", "title": "" }, { "docid": "b3fbc76ab273973bb25e5bfbb67d4ebe", "score": "0.43124855", "text": "public static MetricTransformation2DRobustEstimator create(\n MetricTransformation2DRobustEstimatorListener listener, \n List<Point2D> inputPoints, List<Point2D> outputPoints, \n boolean weakMinimumSizeAllowed, RobustEstimatorMethod method) {\n switch (method) {\n case LMedS:\n return new LMedSMetricTransformation2DRobustEstimator(\n listener, inputPoints, outputPoints, \n weakMinimumSizeAllowed);\n case MSAC:\n return new MSACMetricTransformation2DRobustEstimator(\n listener, inputPoints, outputPoints, \n weakMinimumSizeAllowed);\n case PROSAC:\n return new PROSACMetricTransformation2DRobustEstimator(\n listener, inputPoints, outputPoints, \n weakMinimumSizeAllowed);\n case PROMedS:\n return new PROMedSMetricTransformation2DRobustEstimator(\n listener, inputPoints, outputPoints, \n weakMinimumSizeAllowed);\n case RANSAC:\n default:\n return new RANSACMetricTransformation2DRobustEstimator(\n listener, inputPoints, outputPoints, \n weakMinimumSizeAllowed);\n }\n }", "title": "" }, { "docid": "4f52c85ed5c40655422d710921fac12c", "score": "0.43113452", "text": "public interface EvaluatorFactory {\n Evaluator createEvaluator(RelationalOperator operator);\n}", "title": "" }, { "docid": "d79b24805f7e081b8117bab42f19bff5", "score": "0.4309404", "text": "public Evaluator(RANKER_TYPE rType, METRIC trainMetric, int trainK, METRIC testMetric, int testK) {\n/* 612 */ this.type = rType;\n/* 613 */ this.trainScorer = this.mFact.createScorer(trainMetric, trainK);\n/* 614 */ this.testScorer = this.mFact.createScorer(testMetric, testK);\n/* 615 */ if (qrelFile.compareTo(\"\") != 0) {\n/* */ \n/* 617 */ this.trainScorer.loadExternalRelevanceJudgment(qrelFile);\n/* 618 */ this.testScorer.loadExternalRelevanceJudgment(qrelFile);\n/* */ } \n/* */ }", "title": "" }, { "docid": "5e838f87919b82603d2f88b7859eeaae", "score": "0.42964685", "text": "ROp() {super(null); _ops=new HashMap<>(); }", "title": "" }, { "docid": "672d9209a782d755193731bf0223a0d3", "score": "0.4292968", "text": "public Shrub() {\n\t_hitPts = 100;\n\t_strength = 50;\n\t_defense = 40;\n\t_attack = .4;\n }", "title": "" }, { "docid": "6a61347092385f6209db4a0868e33de5", "score": "0.4281558", "text": "@Override\n\tprotected TargetPruner createTargetPruner() {\n\t\treturn new IDL3TargetPruner();\n\t}", "title": "" }, { "docid": "63fafd456fe5d8b7f25e1c925bb9b0a5", "score": "0.42575958", "text": "public RtfOptimizer(RtfDocument p_document)\n {\n m_doc = p_document;\n\n m_charPropertiesStack = new RtfTextPropertiesStack();\n m_containerStack = new RtfCompoundObjectStack();\n }", "title": "" }, { "docid": "fe03f0803f1d68ef95f145791bb9774d", "score": "0.42548463", "text": "OpFunction createOpFunction();", "title": "" }, { "docid": "c6b64ec6d7b973e83b5e0a766eb20425", "score": "0.42032737", "text": "ParameterRefinement createParameterRefinement();", "title": "" }, { "docid": "b52772d4d515dca172d3c8cbef5431c1", "score": "0.4201544", "text": "public final void rule__R__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMLRegression.g:754:1: ( ( 'r' ) | ( 'R' ) )\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( (LA3_0==20) ) {\n alt3=1;\n }\n else if ( (LA3_0==21) ) {\n alt3=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 3, 0, input);\n\n throw nvae;\n }\n switch (alt3) {\n case 1 :\n // InternalMLRegression.g:755:2: ( 'r' )\n {\n // InternalMLRegression.g:755:2: ( 'r' )\n // InternalMLRegression.g:756:3: 'r'\n {\n before(grammarAccess.getRAccess().getRKeyword_0()); \n match(input,20,FOLLOW_2); \n after(grammarAccess.getRAccess().getRKeyword_0()); \n\n }\n\n\n }\n break;\n case 2 :\n // InternalMLRegression.g:761:2: ( 'R' )\n {\n // InternalMLRegression.g:761:2: ( 'R' )\n // InternalMLRegression.g:762:3: 'R'\n {\n before(grammarAccess.getRAccess().getRKeyword_1()); \n match(input,21,FOLLOW_2); \n after(grammarAccess.getRAccess().getRKeyword_1()); \n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "ec1b5cd79b60598b54774ae6e28348a2", "score": "0.4196808", "text": "public static MetricTransformation2DRobustEstimator create(\n List<Point2D> inputPoints, List<Point2D> outputPoints,\n double[] qualityScores, boolean weakMinimumSizeAllowed, \n RobustEstimatorMethod method) {\n switch (method) {\n case LMedS:\n return new LMedSMetricTransformation2DRobustEstimator(\n inputPoints, outputPoints, weakMinimumSizeAllowed);\n case MSAC:\n return new MSACMetricTransformation2DRobustEstimator(\n inputPoints, outputPoints, weakMinimumSizeAllowed);\n case PROSAC:\n return new PROSACMetricTransformation2DRobustEstimator(\n inputPoints, outputPoints, qualityScores, \n weakMinimumSizeAllowed);\n case PROMedS:\n return new PROMedSMetricTransformation2DRobustEstimator(\n inputPoints, outputPoints, qualityScores, \n weakMinimumSizeAllowed);\n case RANSAC:\n default:\n return new RANSACMetricTransformation2DRobustEstimator(\n inputPoints, outputPoints, weakMinimumSizeAllowed);\n }\n }", "title": "" }, { "docid": "d060307f46f3b8e8d417d80ee172a4a2", "score": "0.41956908", "text": "public static MetricTransformation2DRobustEstimator create(\n MetricTransformation2DRobustEstimatorListener listener, \n double[] qualityScores) {\n return create(listener, qualityScores, DEFAULT_ROBUST_METHOD);\n }", "title": "" }, { "docid": "7a883220e8f47a621ddb28d32e7591a5", "score": "0.4195549", "text": "public static MetricTransformation2DRobustEstimator create(\n MetricTransformation2DRobustEstimatorListener listener, \n boolean weakMinimumSizeAllowed, RobustEstimatorMethod method) {\n switch (method) {\n case LMedS:\n return new LMedSMetricTransformation2DRobustEstimator(\n listener, weakMinimumSizeAllowed);\n case MSAC:\n return new MSACMetricTransformation2DRobustEstimator(\n listener, weakMinimumSizeAllowed);\n case PROSAC:\n return new PROSACMetricTransformation2DRobustEstimator(\n listener, weakMinimumSizeAllowed);\n case PROMedS:\n return new PROMedSMetricTransformation2DRobustEstimator(\n listener, weakMinimumSizeAllowed);\n case RANSAC:\n default:\n return new RANSACMetricTransformation2DRobustEstimator(\n listener, weakMinimumSizeAllowed);\n }\n }", "title": "" }, { "docid": "f4f4e9004596ed15064d5401c6eeaf73", "score": "0.41812038", "text": "public static MetricTransformation2DRobustEstimator create(\n MetricTransformation2DRobustEstimatorListener listener) {\n return create(listener, DEFAULT_ROBUST_METHOD);\n }", "title": "" }, { "docid": "13b9726f4b8e5e2a9f4cd25aa42aec94", "score": "0.41790816", "text": "public static MetricTransformation2DRobustEstimator create(\n MetricTransformation2DRobustEstimatorListener listener,\n List<Point2D> inputPoints, List<Point2D> outputPoints,\n double[] qualityScores) {\n return create(listener, inputPoints, outputPoints, qualityScores,\n DEFAULT_ROBUST_METHOD);\n }", "title": "" }, { "docid": "398e08bb00a22661e6973c256705105c", "score": "0.4170116", "text": "public static MetricTransformation2DRobustEstimator create(\n List<Point2D> inputPoints, List<Point2D> outputPoints, \n double[] qualityScores, boolean weakMinimumSizeAllowed) {\n return create(inputPoints, outputPoints, qualityScores, \n weakMinimumSizeAllowed, DEFAULT_ROBUST_METHOD);\n }", "title": "" }, { "docid": "3359a6ce1a524e1de1628518d64f6dc3", "score": "0.41696543", "text": "public static QuadricRobustEstimator create(\n QuadricRobustEstimatorListener listener, double[] qualityScores) {\n return create(listener, qualityScores, DEFAULT_ROBUST_METHOD);\n }", "title": "" }, { "docid": "a487e67da272aa1bac5cfc090593f8b0", "score": "0.41660553", "text": "public ReorientImageFilter() {\n }", "title": "" }, { "docid": "2eea23a80f067dfaa3d7cb1a07b8acc2", "score": "0.41579795", "text": "public MainDefragClass() {\n\tparameters = new Parameter_Provider_for_ILP();\n\tgurobi_defrag_Obj = new GurobiObj_for_defrag(parameters);\n\tilpTrue= gurobi_defrag_Obj.minimize_utilization_cost();\n maxSlotList= gurobi_defrag_Obj.getMaxIndexSlotForAllDemand();\n\treconfigure = new Reconfigure();\n reconfigure.setTheConnectionToNewLightpath(maxSlotList);\n // public boolean getIfILPcanReconfigure(){return ilpTrue;}\n }", "title": "" }, { "docid": "91ac03c9474d60f12adff6ea93fbabc0", "score": "0.41521212", "text": "public AbstractRecombinator() \r\n\t{\r\n\t\tsuper();\r\n\t\tsetPpl();\r\n\t\tsetSpl();\t\t\r\n\t}", "title": "" }, { "docid": "7d798035b9e2208f97c57a85cfa0d12b", "score": "0.41491178", "text": "public ExplanationPipeline<I, F>\n addRuleOptimizer(Optimizer<RuleExplanation, RuleExplanationFactory, ?, ?> toAdd) {\n return addRuleOptimizer(toAdd, false);\n }", "title": "" }, { "docid": "29ec17d93a7a4179ac396d0ead462d83", "score": "0.41368026", "text": "public AbstractRule generalize (AbstractRule R)\n\t{\n\t\tif(!(R instanceof RefineableRule))\n\t\t\treturn R;\n\t\tif((IG_OPTION == IG_OPTIONS.MATCH_ALL && \n\t\t\t\t(calculateInformationGain(R, ((RefineableRule)R).getMatchAll()) > GENERALIZATION_THRESHOLD1)) ||\n\t\t\t(IG_OPTION == IG_OPTIONS.PERFECT && (calculateInformationGain(R) > GENERALIZATION_THRESHOLD1)))\n\t\t{\n\t\t\tAbstractRule r = ((RefineableRule)R).getMaxVariationPlusOne(this);\n\t\t\tif(r == null)\n\t\t\t\treturn R;\n\t\t\tif(calculateInformationGain(r, R) >= GENERALIZATION_THRESHOLD2)\n\t\t\t{\n\t\t\t\treturn r;\n\t\t\t}\n\t\t}\n\t\treturn R;\n\t}", "title": "" }, { "docid": "8882ea173cdec90a4b186b25caa1e450", "score": "0.41253433", "text": "UOp createUOp();", "title": "" }, { "docid": "3aed5a6f05f913873d72892fb2549033", "score": "0.41252586", "text": "public static MetricTransformation2DRobustEstimator create(\n MetricTransformation2DRobustEstimatorListener listener,\n List<Point2D> inputPoints, List<Point2D> outputPoints,\n double[] qualityScores, RobustEstimatorMethod method) {\n switch (method) {\n case LMedS:\n return new LMedSMetricTransformation2DRobustEstimator(\n listener, inputPoints, outputPoints);\n case MSAC:\n return new MSACMetricTransformation2DRobustEstimator(\n listener, inputPoints, outputPoints);\n case PROSAC:\n return new PROSACMetricTransformation2DRobustEstimator(\n listener, inputPoints, outputPoints, qualityScores);\n case PROMedS:\n return new PROMedSMetricTransformation2DRobustEstimator(\n listener, inputPoints, outputPoints, qualityScores);\n case RANSAC:\n default:\n return new RANSACMetricTransformation2DRobustEstimator(\n listener, inputPoints, outputPoints); \n }\n }", "title": "" }, { "docid": "249daf299e306c998a21fe4da0b67cb2", "score": "0.41203612", "text": "float getScaler();", "title": "" }, { "docid": "904db398660a0f08738861c07cc5b6d1", "score": "0.4109745", "text": "public static QuadricRobustEstimator create(\n QuadricRobustEstimatorListener listener, \n RobustEstimatorMethod method) {\n switch (method) {\n case LMedS:\n return new LMedSQuadricRobustEstimator(listener);\n case MSAC:\n return new MSACQuadricRobustEstimator(listener);\n case PROSAC:\n return new PROSACQuadricRobustEstimator(listener);\n case PROMedS:\n return new PROMedSQuadricRobustEstimator(listener);\n case RANSAC:\n default:\n return new RANSACQuadricRobustEstimator(listener);\n }\n }", "title": "" }, { "docid": "40367153a36ff5c1ec23b8082269ada2", "score": "0.41067836", "text": "Ressource createRessource();", "title": "" }, { "docid": "622aba33c67feafbc4bec6ac50bda876", "score": "0.41060197", "text": "private void createDataProcRRX(Code32 code, int op, int cond, int Rd, int Rm) {\r\n\t\tcode.instructions[code.iCount] = (cond << 28) | op | (Rd << 12) | Rm;\r\n\t\tcode.incInstructionNum();\r\n\t}", "title": "" }, { "docid": "6b50e05ed2de05b467dd21122729b068", "score": "0.4104517", "text": "public static MetricTransformation2DRobustEstimator create(\n MetricTransformation2DRobustEstimatorListener listener,\n List<Point2D> inputPoints, List<Point2D> outputPoints) {\n return create(listener, inputPoints, outputPoints, \n DEFAULT_ROBUST_METHOD);\n }", "title": "" }, { "docid": "d248350c0e6ff451e52118c090c5b7e5", "score": "0.4094736", "text": "public interface Minimizer {\n public void minimizeProgram(final String inputMetaFile, final int id);\n}", "title": "" }, { "docid": "b78d691970f960a3aad4df89ec7aee11", "score": "0.40892702", "text": "public final AntlrDatatypeRuleToken ruleAlgoType() throws RecognitionException {\n AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();\n\n AntlrDatatypeRuleToken this_LineRegress_0 = null;\n\n AntlrDatatypeRuleToken this_SVR_1 = null;\n\n AntlrDatatypeRuleToken this_DecisionTreeRegressor_2 = null;\n\n\n\n \tenterRule();\n\n try {\n // InternalMLRegression.g:852:2: ( (this_LineRegress_0= ruleLineRegress | this_SVR_1= ruleSVR | this_DecisionTreeRegressor_2= ruleDecisionTreeRegressor ) )\n // InternalMLRegression.g:853:2: (this_LineRegress_0= ruleLineRegress | this_SVR_1= ruleSVR | this_DecisionTreeRegressor_2= ruleDecisionTreeRegressor )\n {\n // InternalMLRegression.g:853:2: (this_LineRegress_0= ruleLineRegress | this_SVR_1= ruleSVR | this_DecisionTreeRegressor_2= ruleDecisionTreeRegressor )\n int alt11=3;\n switch ( input.LA(1) ) {\n case 26:\n {\n alt11=1;\n }\n break;\n case 28:\n {\n alt11=2;\n }\n break;\n case 27:\n {\n alt11=3;\n }\n break;\n default:\n NoViableAltException nvae =\n new NoViableAltException(\"\", 11, 0, input);\n\n throw nvae;\n }\n\n switch (alt11) {\n case 1 :\n // InternalMLRegression.g:854:3: this_LineRegress_0= ruleLineRegress\n {\n\n \t\t\tnewCompositeNode(grammarAccess.getAlgoTypeAccess().getLineRegressParserRuleCall_0());\n \t\t\n pushFollow(FOLLOW_2);\n this_LineRegress_0=ruleLineRegress();\n\n state._fsp--;\n\n\n \t\t\tcurrent.merge(this_LineRegress_0);\n \t\t\n\n \t\t\tafterParserOrEnumRuleCall();\n \t\t\n\n }\n break;\n case 2 :\n // InternalMLRegression.g:865:3: this_SVR_1= ruleSVR\n {\n\n \t\t\tnewCompositeNode(grammarAccess.getAlgoTypeAccess().getSVRParserRuleCall_1());\n \t\t\n pushFollow(FOLLOW_2);\n this_SVR_1=ruleSVR();\n\n state._fsp--;\n\n\n \t\t\tcurrent.merge(this_SVR_1);\n \t\t\n\n \t\t\tafterParserOrEnumRuleCall();\n \t\t\n\n }\n break;\n case 3 :\n // InternalMLRegression.g:876:3: this_DecisionTreeRegressor_2= ruleDecisionTreeRegressor\n {\n\n \t\t\tnewCompositeNode(grammarAccess.getAlgoTypeAccess().getDecisionTreeRegressorParserRuleCall_2());\n \t\t\n pushFollow(FOLLOW_2);\n this_DecisionTreeRegressor_2=ruleDecisionTreeRegressor();\n\n state._fsp--;\n\n\n \t\t\tcurrent.merge(this_DecisionTreeRegressor_2);\n \t\t\n\n \t\t\tafterParserOrEnumRuleCall();\n \t\t\n\n }\n break;\n\n }\n\n\n }\n\n\n \tleaveRule();\n\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n }\n return current;\n }", "title": "" }, { "docid": "bfe4d59f29ffd507fc4e8f4b97b1f160", "score": "0.40824664", "text": "public static MetricTransformation2DRobustEstimator create(\n boolean weakMinimumSizeAllowed, RobustEstimatorMethod method) {\n switch (method) {\n case LMedS:\n return new LMedSMetricTransformation2DRobustEstimator(\n weakMinimumSizeAllowed);\n case MSAC:\n return new MSACMetricTransformation2DRobustEstimator(\n weakMinimumSizeAllowed);\n case PROSAC:\n return new PROSACMetricTransformation2DRobustEstimator(\n weakMinimumSizeAllowed);\n case PROMedS:\n return new PROMedSMetricTransformation2DRobustEstimator(\n weakMinimumSizeAllowed);\n case RANSAC:\n default:\n return new RANSACMetricTransformation2DRobustEstimator(\n weakMinimumSizeAllowed);\n }\n }", "title": "" }, { "docid": "25246cdc732e9bec4b8d2390d52eec97", "score": "0.4072977", "text": "public static MetricTransformation2DRobustEstimator create(\n List<Point2D> inputPoints, List<Point2D> outputPoints, \n boolean weakMinimumSizeAllowed) {\n return create(inputPoints, outputPoints, weakMinimumSizeAllowed, \n DEFAULT_ROBUST_METHOD);\n }", "title": "" }, { "docid": "b1aa762b4072a01df45cad921ad940a0", "score": "0.40723228", "text": "private State createNewState(State oldState, SketchNode sk, OpNonterminalSymbol opSym, int argSize, int[] ks) {\n\n if (opSym.name.contains(\"repeat\") && Main.SYMBOLOC_ENABLED == 0 && ks == null) assert false;\n\n State newState = new State(oldState);\n assert (oldState.pp.numRefinementSketch == newState.pp.numRefinementSketch);\n\n VariableNode newV = newState.pp.findSelectedVar();\n\n if (newV.depth == Main.DEPTH_LIMIT) return null;\n\n Node[] args = new Node[argSize];\n OperatorNode add = newState.pp.mkOperatorNode(opSym, newV.parent, args);\n\n if (argSize == 1) {\n\n assert (opSym.name.equals(\"optional\") || opSym.name.equals(\"star\"));\n add.args.set(0, newState.pp.mkVarNode(sk, add, false, true, (newV.depth + 1)));\n\n } else if (argSize == 2) {\n\n assert (opSym.name.equals(\"repeat\") || opSym.name.equals(\"repeatatleast\"));\n add.args.set(0, newState.pp.mkVarNode(sk, add, false, true, (newV.depth + 1)));\n\n if (Main.SYMBOLOC_ENABLED == 0) {\n add.args.set(1, newState.pp.mkRealConstantNode(ks[0], add));\n } else {\n add.args.set(1, newState.pp.mkSymbolicConstantNode(add));\n }\n\n newState.pp.numRepeat++;\n } else if (argSize == 3) {\n assert (opSym.name.equals(\"repeatrange\"));\n add.args.set(0, newState.pp.mkVarNode(sk, add, false, true, (newV.depth + 1)));\n if (Main.SYMBOLOC_ENABLED == 0) {\n add.args.set(1, newState.pp.mkRealConstantNode(ks[0], add));\n add.args.set(2, newState.pp.mkRealConstantNode(ks[1], add));\n } else {\n add.args.set(1, newState.pp.mkSymbolicConstantNode(add));\n add.args.set(2, newState.pp.mkSymbolicConstantNode(add));\n }\n\n newState.pp.numRepeat++;\n } else {\n throw new RuntimeException();\n }\n\n newState.pp.substituteVar(newV, add);\n newState.cost += opSym.prod.cost;\n// newState.cost = Math.floor(newState.cost) + opSym.prod.cost;\n\n if (newState.pp.numRepeat > Main.EXTRA_REPEAT_THRESHOLD) newState.cost += Main.EXTRA_REPEAT_COST;\n if (checkConsecutiveRepeat(add)) newState.cost += Main.CONSECUTIVE_REPEAT_COST;\n if (newV.containNot) newState.cost += Main.REPEAT_WITHIN_NOT;\n\n if (newV.parent != null && !(newV.parent instanceof RepSketchNode)) {\n if (((OperatorNode) newV.parent).operatorName.equals(\"not\")) {\n newState.cost += Main.NOT_NOT_CONTAIN_SW_EW_PATTERN;\n }\n }\n\n\n assert (newState.pp.varNodes.size() >= newState.pp.numRefinementSketch) : newState.toString();\n\n return newState;\n }", "title": "" }, { "docid": "4e990a50ee14aec8ce1d6e0272726ce4", "score": "0.40587932", "text": "public static MetricTransformation2DRobustEstimator create(\n List<Point2D> inputPoints, List<Point2D> outputPoints, \n boolean weakMinimumSizeAllowed, RobustEstimatorMethod method) {\n switch (method) {\n case LMedS:\n return new LMedSMetricTransformation2DRobustEstimator(\n inputPoints, outputPoints, weakMinimumSizeAllowed);\n case MSAC:\n return new MSACMetricTransformation2DRobustEstimator(\n inputPoints, outputPoints, weakMinimumSizeAllowed);\n case PROSAC:\n return new PROSACMetricTransformation2DRobustEstimator(\n inputPoints, outputPoints, weakMinimumSizeAllowed);\n case PROMedS:\n return new PROMedSMetricTransformation2DRobustEstimator(\n inputPoints, outputPoints, weakMinimumSizeAllowed);\n case RANSAC:\n default:\n return new RANSACMetricTransformation2DRobustEstimator(\n inputPoints, outputPoints, weakMinimumSizeAllowed);\n }\n }", "title": "" }, { "docid": "bed5f0b282465456d1b8b80d6a38c1ae", "score": "0.405569", "text": "public RMCode(int r, int m) {\n generatorMatrix = new RMMatrix(r, m);\n rate = generatorMatrix.getRowNumber() / Math.pow(2, m);\n distance = (int)Math.pow(2, m - r);\n error = (int)Math.pow(2, m - r - 1) - 1;\n if (error < 0) error = 0;\n }", "title": "" }, { "docid": "21c7ef4b9e3f34e6670936e01772a0b5", "score": "0.40434566", "text": "private static double smootherstep(double xMin, double xMax, double x, double rMin, double rMax)\r\n\t{\n\t\tdouble xClamped = clamp((x - xMin) / (xMax - xMin), 0.0, 1.0);\r\n\t\t// Evaluate polynomial\r\n\t\treturn rMin + (rMax - rMin) * xClamped * xClamped * xClamped * (xClamped * (xClamped * 6 - 15) + 10);\r\n\t}", "title": "" }, { "docid": "0970b37c894406664909727292e29d7c", "score": "0.40415528", "text": "public void setR(Double r);", "title": "" }, { "docid": "510a54341b17688417817b667bd09b4b", "score": "0.4040116", "text": "public RngObject() {\n\t\t\n\t}", "title": "" }, { "docid": "81910ad83e8a08ba89874f758c7b39c5", "score": "0.4035843", "text": "public MVSR() {\n clg = \"MVSR\";\n cmax = 10000;\n mmax = 12000;\n eemax = 13033;\n emax = 18520;\n imax = 20204;\n }", "title": "" }, { "docid": "5186a6f6f16815857ce13f3fb35c08a0", "score": "0.40348095", "text": "private static void setUniverse(double R) {\n StdDraw.setXscale((-R), (R));\n StdDraw.setYscale((-R), (R));\n }", "title": "" }, { "docid": "11bd91f796eb115c08cf1e11a2aab356", "score": "0.40342647", "text": "public Evaluator(RANKER_TYPE rType, METRIC trainMetric, METRIC testMetric, int k) {\n/* 625 */ this.type = rType;\n/* 626 */ this.trainScorer = this.mFact.createScorer(trainMetric, k);\n/* 627 */ this.testScorer = this.mFact.createScorer(testMetric, k);\n/* 628 */ if (qrelFile.compareTo(\"\") != 0) {\n/* */ \n/* 630 */ this.trainScorer.loadExternalRelevanceJudgment(qrelFile);\n/* 631 */ this.testScorer.loadExternalRelevanceJudgment(qrelFile);\n/* */ } \n/* */ }", "title": "" }, { "docid": "1a00e56134aa4713e1229906b4025288", "score": "0.40313643", "text": "public RMSProp(Graph graph, String name, float learningRate) {\n this(\n graph,\n name,\n learningRate,\n DECAY_DEFAULT,\n MOMENTUM_DEFAULT,\n EPSILON_DEFAULT,\n CENTERED_DEFAULT);\n }", "title": "" }, { "docid": "ddf854cf56f9fece0d847948e2e4e027", "score": "0.40250283", "text": "public ExplanationPipeline<I, F>\n addRuleOptimizerWithTest(Optimizer<RuleExplanation, RuleExplanationFactory, ?, ?> toAdd) {\n return addRuleOptimizerWithTest(toAdd, false);\n }", "title": "" }, { "docid": "b91112cb9bf872a38911e611a80ca919", "score": "0.40240458", "text": "public Builder clearScaler() {\n bitField0_ = (bitField0_ & ~0x00000001);\n scaler_ = 0F;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "aed81c9f51d6c36b4385290815ae96af", "score": "0.40195018", "text": "public Evaluator(RANKER_TYPE rType, METRIC metric, int k) {\n/* 638 */ this.type = rType;\n/* 639 */ this.trainScorer = this.mFact.createScorer(metric, k);\n/* 640 */ if (qrelFile.compareTo(\"\") != 0)\n/* 641 */ this.trainScorer.loadExternalRelevanceJudgment(qrelFile); \n/* 642 */ this.testScorer = this.trainScorer;\n/* */ }", "title": "" }, { "docid": "a430a0ea65b7a7db18d470706418ec6a", "score": "0.40191042", "text": "public void rewriteMRCKR(){\n\t\t\t\t\n\t\tlong startTime = System.currentTimeMillis();\n\t\t\n\t\t//Rewriting for global context.\n\t\tMRGlobal2DatalogRewriter globalrewriter = new MRGlobal2DatalogRewriter();\n\t\tdatalogGlobal = globalrewriter.rewrite(inputCKR.getGlobalOntology());\n\t\t//System.out.println(\"Rewriting program for global context complete.\");\n\t\t\t\t\n\t\t//Get set of contexts and associations to modules from globalrewriter\n\t\tcontextsSet = globalrewriter.getContextsSet();\n\t\thasModuleAssociations = globalrewriter.getHasModuleAssociations();\n\t\t//System.out.println(\"Set of contexts and modules associations computed.\");\n\t\t\n\t\t//Computation of local contexts knowledge bases.\n\t\tcomputeLocalKB();\n\t\t\t\t\n\t\t//Rewriting for local contexts knowledge bases.\n\t\tMRLocal2DatalogRewriter localrewriter = new MRLocal2DatalogRewriter();\n\t\t\t\t\n\t\tdatalogLocal = new LinkedList<DLProgram>();\n\t\tfor (String c : contextsSet) {\n\t\t\t//System.out.println(\"Rewriting program for \" + c.replaceAll(\"\\\"\", \"\"));\n\t\t\tlocalrewriter.setContextID(c.replaceAll(\"\\\"\", \"\"));\n\t\t\t\n\t\t\tdatalogLocal.add(localrewriter.rewrite(contextsOntologies.get(c)));\n\t\t}\n\t\t\t\t\n\t\tlong endTime = System.currentTimeMillis();\n\t\trewritingTime = endTime - startTime;\n \n\t\t//System.out.println(\"Rewriting completed in \" + rewritingTime + \" ms.\");\n\t\t//System.out.println(datalogGlobal.getStatements().size());\n\t\t\n\t\t//Compute CKR Program.\n\t\tdatalogCKR = new DLProgram();\n\t \n\t\tdatalogCKR.addAll(datalogGlobal.getStatements());\n\t\t\n\t\tfor (DLProgram dlProgram : datalogLocal) {\n\t\t\tdatalogCKR.addAll(dlProgram.getStatements());\t\n\t\t}\n\t\t\n\t\t//Add local inference rules.\n\t\tdatalogCKR.addAll(MRDeductionRuleset.getPrl());\n\t\tdatalogCKR.addAll(MRDeductionRuleset.getPeval());\n\t\t\n\t\t//Add local propagation rules.\n\t\tdatalogCKR.addAll(MRDeductionRuleset.getPd());\t\t\n\t}", "title": "" }, { "docid": "12f38dd1e331c1a55e68ac9e58592a82", "score": "0.4017061", "text": "public static MetricTransformation2DRobustEstimator create(\n MetricTransformation2DRobustEstimatorListener listener, \n double[] qualityScores, RobustEstimatorMethod method) {\n switch (method) {\n case LMedS:\n return new LMedSMetricTransformation2DRobustEstimator(\n listener);\n case MSAC:\n return new MSACMetricTransformation2DRobustEstimator(\n listener);\n case PROSAC:\n return new PROSACMetricTransformation2DRobustEstimator(\n listener, qualityScores);\n case PROMedS:\n return new PROMedSMetricTransformation2DRobustEstimator(\n listener, qualityScores);\n case RANSAC:\n default:\n return new RANSACMetricTransformation2DRobustEstimator(\n listener); \n }\n }", "title": "" }, { "docid": "c66963ce48233a5e54ae7a2f39d8b927", "score": "0.4016591", "text": "private void createOptimizationFunction() {\n \t\tobjective = \"min:\"; //$NON-NLS-1$\n \t\tSet s = slice.entrySet();\n \t\tfor (Iterator iterator = s.iterator(); iterator.hasNext();) {\n \t\t\tMap.Entry entry = (Map.Entry) iterator.next();\n \t\t\tHashMap conflictingEntries = (HashMap) entry.getValue();\n \t\t\tif (conflictingEntries.size() <= 1) {\n \t\t\t\tobjective += \" 1 \" + getVariable((IInstallableUnit) conflictingEntries.values().iterator().next()); //$NON-NLS-1$\n \t\t\t\tcontinue;\n \t\t\t}\n \t\t\tList toSort = new ArrayList(conflictingEntries.values());\n \t\t\tCollections.sort(toSort);\n \t\t\tint weight = toSort.size();\n \t\t\tfor (Iterator iterator2 = toSort.iterator(); iterator2.hasNext();) {\n \t\t\t\tobjective += \" \" + weight-- + \" \" + getVariable((IInstallableUnit) iterator2.next()); //$NON-NLS-1$//$NON-NLS-2$\n \t\t\t}\n \t\t}\n \t\tobjective += \" ;\"; //$NON-NLS-1$\n \t}", "title": "" }, { "docid": "bd9957120bfa777df530ceb79481f47c", "score": "0.40139425", "text": "public RandomSubVectorThresholdLearnerTest(\n String testName)\n {\n super(testName);\n\n this.random = new Random();\n }", "title": "" }, { "docid": "b965c35d762d9c554210decf23dc6fe2", "score": "0.40104043", "text": "public RMSProp(Graph graph, float learningRate) {\n this(graph, learningRate, DECAY_DEFAULT, MOMENTUM_DEFAULT, EPSILON_DEFAULT, CENTERED_DEFAULT);\n }", "title": "" }, { "docid": "cacd439a336c21630b7655f07821a0c0", "score": "0.40018058", "text": "@Override\n public DRFLPSolution algorithm(DRFLPInstance instance) {\n try {\n List<Future<DRFLPSolution>> futures = new ArrayList<>();\n RandomManager.reinitialize(RandomType.LEGACY, 0, this.n);\n for (int i = 0; i < n; i++) {\n int _i = i;\n futures.add(executor.submit(() -> {\n RandomManager.reset(_i);\n return alg.algorithm(instance);\n }));\n }\n var results = ConcurrencyUtil.awaitAll(futures);\n DRFLPSolution best = null;\n for(var solution: results){\n if(solution.isBetterThan(best)){\n best = solution;\n }\n }\n return best;\n } finally {\n executor.shutdown();\n }\n }", "title": "" }, { "docid": "3444ce79af25e09460b2352e31b5f3f8", "score": "0.3999741", "text": "private void createDataProcMovShiftReg(Code32 code, int op, int cond, int Rd, int Rm, int shiftType, int Rs) {\r\n\t\tcode.instructions[code.iCount] = (cond << 28) | op | (Rd << 12) | (Rs << 8) | (shiftType << 5) | (1 << 4) | Rm;\r\n\t\tcode.incInstructionNum();\r\n\t}", "title": "" }, { "docid": "4afeecb2211becbc7684a1d73014b88a", "score": "0.39990586", "text": "public Resender(RetryPolicy retryPolicy) {\n this.retryPolicy = retryPolicy;\n }", "title": "" }, { "docid": "6e9f79c0c400c4a666c62e66326aa97c", "score": "0.39951667", "text": "public Vector2d getRrm() {\n return rrm;\n }", "title": "" }, { "docid": "e1bb3b8f745984af6010dc3496506143", "score": "0.39892083", "text": "public static QuadricRobustEstimator create(\n QuadricRobustEstimatorListener listener, double[] qualityScores,\n RobustEstimatorMethod method) {\n switch (method) {\n case LMedS:\n return new LMedSQuadricRobustEstimator(listener);\n case MSAC:\n return new MSACQuadricRobustEstimator(listener);\n case PROSAC:\n return new PROSACQuadricRobustEstimator(listener, qualityScores);\n case PROMedS:\n return new PROMedSQuadricRobustEstimator(listener, qualityScores);\n case RANSAC:\n default:\n return new RANSACQuadricRobustEstimator(listener);\n }\n }", "title": "" }, { "docid": "505bc49414eff1b0607cfa1613179cc4", "score": "0.398716", "text": "public final void rule__AlgoType__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMLRegression.g:796:1: ( ( ruleLineRegress ) | ( ruleSVR ) | ( ruleDecisionTreeRegressor ) )\n int alt5=3;\n switch ( input.LA(1) ) {\n case 11:\n {\n alt5=1;\n }\n break;\n case 13:\n {\n alt5=2;\n }\n break;\n case 12:\n {\n alt5=3;\n }\n break;\n default:\n NoViableAltException nvae =\n new NoViableAltException(\"\", 5, 0, input);\n\n throw nvae;\n }\n\n switch (alt5) {\n case 1 :\n // InternalMLRegression.g:797:2: ( ruleLineRegress )\n {\n // InternalMLRegression.g:797:2: ( ruleLineRegress )\n // InternalMLRegression.g:798:3: ruleLineRegress\n {\n before(grammarAccess.getAlgoTypeAccess().getLineRegressParserRuleCall_0()); \n pushFollow(FOLLOW_2);\n ruleLineRegress();\n\n state._fsp--;\n\n after(grammarAccess.getAlgoTypeAccess().getLineRegressParserRuleCall_0()); \n\n }\n\n\n }\n break;\n case 2 :\n // InternalMLRegression.g:803:2: ( ruleSVR )\n {\n // InternalMLRegression.g:803:2: ( ruleSVR )\n // InternalMLRegression.g:804:3: ruleSVR\n {\n before(grammarAccess.getAlgoTypeAccess().getSVRParserRuleCall_1()); \n pushFollow(FOLLOW_2);\n ruleSVR();\n\n state._fsp--;\n\n after(grammarAccess.getAlgoTypeAccess().getSVRParserRuleCall_1()); \n\n }\n\n\n }\n break;\n case 3 :\n // InternalMLRegression.g:809:2: ( ruleDecisionTreeRegressor )\n {\n // InternalMLRegression.g:809:2: ( ruleDecisionTreeRegressor )\n // InternalMLRegression.g:810:3: ruleDecisionTreeRegressor\n {\n before(grammarAccess.getAlgoTypeAccess().getDecisionTreeRegressorParserRuleCall_2()); \n pushFollow(FOLLOW_2);\n ruleDecisionTreeRegressor();\n\n state._fsp--;\n\n after(grammarAccess.getAlgoTypeAccess().getDecisionTreeRegressorParserRuleCall_2()); \n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "0b04cbf167e9f9494a8069bcfacd38f0", "score": "0.3981857", "text": "public void setRPH(String RPH) {\n this.RPH = RPH;\n }", "title": "" }, { "docid": "69927486f71b35f71ecd3df07ed6b3a4", "score": "0.397982", "text": "public ProductionPower(int points, NumberOfResources outputRes, NumberOfResources inputRes){\n this(points, outputRes, inputRes, 0, 0);\n }", "title": "" }, { "docid": "cacc6350b7b744c60f49e31d54fc85b1", "score": "0.39792013", "text": "private void resample(){\n\n\t\tint iRow;\n\t\t\n\t\t//saving copies\n\t\tif(rgdX0==null){\n\t\t\trgdX0=rgdX;\n\t\t\trgdY0=rgdY;\n\t\t}\n\t\t\n\t\t//initializing resamples\n\t\trgdX = new double[rgdX0.length][rgdX0[0].length];\n\t\trgdY = new double[rgdY0.length];\n\t\t\n\t\t//resampling\n\t\tfor(int i=0;i<rgdX.length;i++){\n\t\t\tiRow = rnd1.nextInt(rgdX.length);\n\t\t\tfor(int j=0;j<rgdX[0].length;j++){\n\t\t\t\trgdX[i][j]=rgdX0[iRow][j];\n\t\t\t}\n\t\t\trgdY[i]=rgdY0[iRow];\n\t\t}\n\t\tloadData(rgdX,rgdY);\n\t\tthis.mapCoefficients=null;\n\t}", "title": "" }, { "docid": "53a38072c996c60b305ba1a05d35d9b2", "score": "0.39782164", "text": "public RandomizedRunner(Class<?> testClass) throws InitializationError {\n if (RandomizedTest.systemPropertyAsBoolean(SYSPROP_STACKFILTERING, true)) {\n this.traces = new TraceFormatting(DEFAULT_STACK_FILTERS);\n } else {\n this.traces = new TraceFormatting();\n }\n \n this.suiteClass = testClass;\n this.allTargetMethods = immutableCopy(sort(allDeclaredMethods(suiteClass)));\n \n // Initialize the runner's master seed/ randomness source.\n final long randomSeed = MurmurHash3.hash(sequencer.getAndIncrement() + System.nanoTime());\n final String globalSeed = System.getProperty(SYSPROP_RANDOM_SEED);\n if (globalSeed != null) {\n final long[] seedChain = SeedUtils.parseSeedChain(globalSeed);\n if (seedChain.length == 0 || seedChain.length > 2) {\n throw new IllegalArgumentException(\"Invalid system property \" \n + SYSPROP_RANDOM_SEED + \" specification: \" + globalSeed);\n }\n \n if (seedChain.length > 1)\n testCaseRandomnessOverride = new Randomness(seedChain[1]);\n runnerRandomness = new Randomness(seedChain[0]);\n } else if (suiteClass.isAnnotationPresent(Seed.class)) {\n runnerRandomness = new Randomness(seedFromAnnot(suiteClass, randomSeed)[0]);\n } else {\n runnerRandomness = new Randomness(randomSeed);\n }\n \n // Iterations property is primary wrt to annotations, so we leave an \"undefined\" value as null.\n if (System.getProperty(SYSPROP_ITERATIONS) != null) {\n this.iterationsOverride = RandomizedTest.systemPropertyAsInt(SYSPROP_ITERATIONS, 0);\n if (iterationsOverride < 1)\n throw new IllegalArgumentException(\n \"System property \" + SYSPROP_ITERATIONS + \" must be >= 1: \" + iterationsOverride);\n } else {\n this.iterationsOverride = null;\n }\n \n this.killAttempts = RandomizedTest.systemPropertyAsInt(SYSPROP_KILLATTEMPTS, DEFAULT_KILLATTEMPTS);\n this.killWait = RandomizedTest.systemPropertyAsInt(SYSPROP_KILLWAIT, DEFAULT_KILLWAIT);\n this.timeoutOverride = RandomizedTest.systemPropertyAsInt(SYSPROP_TIMEOUT, DEFAULT_TIMEOUT);\n \n // TODO: should validation and everything else be done lazily after RunNotifier is available?\n \n // Fail fast if suiteClass is inconsistent or selected \"standard\" JUnit rules are somehow broken.\n validateTarget();\n \n // Collect all test candidates, regardless if they will be executed or not.\n suiteDescription = Description.createSuiteDescription(suiteClass);\n testCandidates = collectTestCandidates(suiteDescription);\n testGroups = collectGroups(testCandidates);\n }", "title": "" }, { "docid": "3481f3b66a6473c7678e6475dabbd469", "score": "0.39704177", "text": "@Override\n public void setDistancePerRevolution(double dpr, int upr) {\n this._distPerRevolution = dpr;\n }", "title": "" }, { "docid": "ab3fa2cfd7d5e6aa5d3814b23d3c242e", "score": "0.39687872", "text": "protected abstract T createRessource();", "title": "" }, { "docid": "c4b8b069cfc92e088f939dd165a10f70", "score": "0.39650065", "text": "public Rng() {\n\t\tr = new Random();\n\t}", "title": "" }, { "docid": "f2ce4ba252f96bb7d5da9dd23a799679", "score": "0.39598724", "text": "private Agent getRecommenderFromNode()\n\t{\n\t\tMap<String,ComputationOutputBuffer> nodeInputs =\n\t\t\t\tcomputationNode.getInputs();\n\n\t\tAgent agent = new Agent();\n\t\tagent.setType(computationNode.getRecommenderClass());\n if (options == null) {\n \tOptionEdge optionEdge = (OptionEdge)\n \t\t\tnodeInputs.get(\"options\").getNext();\n nodeInputs.get(\"options\").block();\n options = new NewOptions(optionEdge.getOptions());\n }\n\t\tagent.setOptions(options.getOptions());\n\t\treturn agent;\n\t}", "title": "" }, { "docid": "c780c4838a317b968b31964619748456", "score": "0.39552104", "text": "@Test\n public void testCreateRegressionLearner()\n {\n int ensembleSize = 3 + random.nextInt(1000);\n double baggingFraction = random.nextDouble();\n double dimensionsFraction = random.nextDouble();\n int maxTreeDepth = 3 + random.nextInt(10);\n int minLeafSize = 4 + random.nextInt(10);\n Random random = new Random();\n BaggingRegressionLearner<Vector> result\n = RandomForestFactory.createRegressionLearner(ensembleSize,\n baggingFraction, dimensionsFraction, maxTreeDepth, minLeafSize,\n random);\n assertEquals(ensembleSize, result.getMaxIterations());\n assertEquals(baggingFraction, result.getPercentToSample(), 0.0);\n assertSame(random, result.getRandom());\n @SuppressWarnings(\"rawtypes\")\n RegressionTreeLearner treeLearner = \n (RegressionTreeLearner) result.getLearner();\n assertEquals(maxTreeDepth, treeLearner.getMaxDepth());\n assertTrue(treeLearner.getLeafCountThreshold() >= 2 * minLeafSize);\n assertNull(treeLearner.getRegressionLearner());\n RandomSubVectorThresholdLearner<?> randomSubspace = (RandomSubVectorThresholdLearner<?>)\n treeLearner.getDeciderLearner();\n assertEquals(dimensionsFraction, randomSubspace.getPercentToSample(), 0.0);\n assertSame(random, randomSubspace.getRandom());\n VectorThresholdVarianceLearner splitLearner = (VectorThresholdVarianceLearner)\n randomSubspace.getSubLearner();\n assertEquals(minLeafSize, splitLearner.getMinSplitSize());\n }", "title": "" }, { "docid": "c20a1cd092369b77498c9b66ca394ab1", "score": "0.39496467", "text": "org.tensorflow.framework.OptimizerOptions.Level getOptLevel();", "title": "" }, { "docid": "f8aa95cfb725c7a80c8a7ccfc9324b33", "score": "0.39476496", "text": "Model minimize(Model model);", "title": "" }, { "docid": "c98393491154c5561f37b1f901c9d4c9", "score": "0.39439794", "text": "public static MetricTransformation2DRobustEstimator create(\n MetricTransformation2DRobustEstimatorListener listener, \n List<Point2D> inputPoints, List<Point2D> outputPoints, \n RobustEstimatorMethod method) {\n switch (method) {\n case LMedS:\n return new LMedSMetricTransformation2DRobustEstimator(\n listener, inputPoints, outputPoints);\n case MSAC:\n return new MSACMetricTransformation2DRobustEstimator(\n listener, inputPoints, outputPoints);\n case PROSAC:\n return new PROSACMetricTransformation2DRobustEstimator(\n listener, inputPoints, outputPoints);\n case PROMedS:\n return new PROMedSMetricTransformation2DRobustEstimator(\n listener, inputPoints, outputPoints);\n case RANSAC:\n default:\n return new RANSACMetricTransformation2DRobustEstimator(\n listener, inputPoints, outputPoints);\n }\n }", "title": "" }, { "docid": "9c51c2c6396a9b92467ecbb8f63ebfcf", "score": "0.39328676", "text": "public ExplanationPipeline<I, F>\n addRuleSetOptimizer(Optimizer<RuleExplanationSet, RuleExplanationSetFactory, ?, ?> toAdd) {\n return addRuleSetOptimizer(toAdd, false);\n }", "title": "" }, { "docid": "2232d9bd946b222c4b0e6ece2ab1df4e", "score": "0.39311698", "text": "private void createDataProcRegShiftReg(Code32 code, int op, int cond, int Rd, int Rn, int Rm, int shiftType, int Rs) {\r\n\t\tcode.instructions[code.iCount] = (cond << 28) | op | (Rn << 16) | (Rd << 12) | (Rs << 8) | (shiftType << 5) | (1 << 4) | Rm;\r\n\t\tcode.incInstructionNum();\r\n\t}", "title": "" }, { "docid": "c0d946f3b328a9819458b5d7131975c8", "score": "0.39221144", "text": "Operands createOperands();", "title": "" }, { "docid": "8c968e5f7013210d7a35d5663c348bea", "score": "0.39129263", "text": "public static MetricTransformation2DRobustEstimator create(\n double[] qualityScores) {\n return create(qualityScores, DEFAULT_ROBUST_METHOD);\n }", "title": "" } ]
b70d905d775d99986fc5a32be6f8574f
accept the first Value, ignore others if force is false
[ { "docid": "769751dfc8e6a8f2b45b8256844bf70f", "score": "0.46678898", "text": "public final boolean set(final V v, final boolean force) {\n\t\treturn force ? set(v) : setIfAbsent(v);\n\t}", "title": "" } ]
[ { "docid": "438276aaab511e092f096af90e5c7a09", "score": "0.60213065", "text": "public boolean allowAutomaticValues();", "title": "" }, { "docid": "5abe85e93d61260d6eee69ea066df07f", "score": "0.5508149", "text": "@Override\n\tpublic boolean conatiansValue() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "a872d11e77e168f4d980292b166e29f9", "score": "0.5492913", "text": "public boolean isValueAcceptable();", "title": "" }, { "docid": "cada90600d55c0851d001e54db228104", "score": "0.53743625", "text": "public boolean isMultivalue() { return false; }", "title": "" }, { "docid": "515acbff5389e2a47106cb606402738a", "score": "0.5345971", "text": "@Override\r\n\tpublic final Boolean setFirst(Boolean first) {\n\t\treturn this.setFirst(Objects.requireNonNull(first).booleanValue());\r\n\t}", "title": "" }, { "docid": "b95ce7ce56700eb28addc3fbb9d5bb73", "score": "0.52510965", "text": "private boolean addValue(Edge e, Feature f, Value val, boolean force) {\n\t\tassert(this.features.contains(f)) : \n\t\t\tString.format(\"Feature %s hasn't been added already.\", f.name());\n\n\t\t// return false if feature exists with different value (and not forcing)\n\t\t// can return true if feature exists with same value; no need to add.\n\t\tboolean overwriting=false;\n\t\tif (this.hasFeature(e, f)) {\n\t\t\tif (val != this.getValue(e, f) && !force) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif (val == this.getValue(e, f)) {\n\t\t\t\treturn true;\n\t\t\t} \n\t\t\tif (force) {\n\t\t\t\toverwriting=true;\n\t\t\t}\n\t\t}\n\n\t\tif (!this.contains(e)) {\n\t\t\tthis.featMap.put(e, new HashMap<Feature, Value>());\n\t\t}\n\t\t// overwrites!\n\t\tValue add = this.featMap.get(e).put(f, val);\n\n\t\tif (add != null && !force) return false;\t\t\n\n\t\t// now do in reverse\n\t\tif (!(val instanceof CatSet)) {\n\t\t\tHashMap<Value, HashSet<Edge>> subBack = this.backMap.get(f);\n\t\t\tassert( subBack!=null && val!=null) :\n\t\t\t\t\"wtf\";\n\n\t\t\tif (!subBack.containsKey(val)) {\n\t\t\t\tsubBack.put(val, new HashSet<Edge>());\n\t\t\t}\n\t\t\tsubBack.get(val).add(e);\n\n\t\t\t// if overwriting, remove old value (\"add\")\n\t\t\tif (overwriting) {\n\t\t\t\tsubBack.get(add).remove(e);\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tCatSet catval = (CatSet) val;\n\t\t\tfor (Value v : catval.getValue()) {\n\t\t\t\tHashMap<Value, HashSet<Edge>> subBack = this.backMap.get(f);\n\t\t\t\tassert( subBack!=null && val!=null) :\n\t\t\t\t\t\"wtf\";\n\n\t\t\t\tif (!subBack.containsKey(v)) {\n\t\t\t\t\tsubBack.put(val, new HashSet<Edge>());\n\t\t\t\t}\n\t\t\t\tsubBack.get(v).add(e);\n\n\t\t\t\t// we don't overwrite values with catsets!\n\t\t\t}\n\t\t}\n\n\n\n\t\treturn true;\n\t}", "title": "" }, { "docid": "9fc4c4daee0bd98ab4e28bbe3d2b22e7", "score": "0.5243065", "text": "private boolean normalValueSelected(){\n\t\t\n\t\treturn SelectMainModel.normalValueSelected(sel)&&(!SelectMainModel.specialValueCreators.containsKey(actualAttr));\n\t}", "title": "" }, { "docid": "f363fe527e5cf735022c8e5e8e36376c", "score": "0.5222144", "text": "public void attemptSolve(){\n\t\tint lastTrue = 0;\n\t\tint totalTrue = 0;\n\t\tfor(int i = 0; i < possibleValues.length; i++){\n\t\t\tboolean b = possibleValues[i];\n\t\t\tif(b){\n\t\t\t\tlastTrue = i;\n\t\t\t\ttotalTrue++;\n\t\t\t}\n\t\t}\n\t\tif (totalTrue == 1 ){\n\t\t\tthis.setValue(lastTrue+1);\n\t\t}\n\t}", "title": "" }, { "docid": "7fc2fe6fc2fd2140e7813e4638dee098", "score": "0.51712155", "text": "public java.lang.Boolean getForce() {\n return force;\n }", "title": "" }, { "docid": "7fc2fe6fc2fd2140e7813e4638dee098", "score": "0.51712155", "text": "public java.lang.Boolean getForce() {\n return force;\n }", "title": "" }, { "docid": "f0f9c2f93765c5a10c19a22f3be183b8", "score": "0.5154822", "text": "public void setForce(boolean force) {\r\n\t\tthis.force = force;\r\n\t}", "title": "" }, { "docid": "e967805cc52fe783a15a1e5767eab765", "score": "0.51395345", "text": "@Override\r\n\tpublic final Boolean getFirst() {\n\t\treturn getFirstInternal();\r\n\t}", "title": "" }, { "docid": "8af4c7b956f99c7e2722eea14ef8846a", "score": "0.5130901", "text": "default YodaValue first(){\n return NONE;\n }", "title": "" }, { "docid": "f435c241e0962ab52916d365c9cc3afa", "score": "0.51207143", "text": "@Override\r\n\tpublic double getSingleVal(double xx) {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "499d3a9f4c0508519762172cffbad2ca", "score": "0.5110194", "text": "@Nullable\n public Boolean getForce() {\n return this.force;\n }", "title": "" }, { "docid": "dec2fdc32d265c91a9df7f6480ef88f8", "score": "0.5101945", "text": "public java.lang.Boolean getForce() {\n return force;\n }", "title": "" }, { "docid": "88384e038828dfc899db5ab07820fae0", "score": "0.50715053", "text": "default YodaValue addFirst(YodaValue value){\n return NONE;\n }", "title": "" }, { "docid": "17a81aacc22a541cb651d514aad538c1", "score": "0.50460213", "text": "public boolean isSingleValue() {\n return singleValue;\n }", "title": "" }, { "docid": "60f3ae2aa3d58f54630faf9a36266c3f", "score": "0.50150454", "text": "public void setForce( boolean force );", "title": "" }, { "docid": "9ebf73a44330f9111d1e613348b7abf1", "score": "0.4945171", "text": "public Boolean getUnwrapSingleValueExtractions() {\n return this.unwrapSingleValueExtractions;\n }", "title": "" }, { "docid": "bbb9ef506c6366a0caf386226051c6bc", "score": "0.4921041", "text": "public boolean isValuePickOnly() {\n return lowField.isValuePickOnly();\n }", "title": "" }, { "docid": "85281139c636bb5f189cccb70b953455", "score": "0.49094817", "text": "boolean getDefaultValue();", "title": "" }, { "docid": "0328df59e72283da882fef9d29025975", "score": "0.49065006", "text": "public boolean valuesSet() {\n for (int i = 0; i < nParams; i++) {\n if (value[i].isInfinite()) {\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "6e06659d6edb3182fa53273ce0d47498", "score": "0.4903653", "text": "abstract public boolean getValue();", "title": "" }, { "docid": "033bf5e47e731d737d12c65cc8977e91", "score": "0.48934346", "text": "public void setForce(final boolean force) {\n\t\tthis.force = force;\n\t}", "title": "" }, { "docid": "52cf81952fee32cbbec1188bf182cb2b", "score": "0.4892682", "text": "public void setFirst_value(double first_value){\n this.first_value = first_value;\n }", "title": "" }, { "docid": "9186ff7223a9f5a0c6986e4e5c8302c5", "score": "0.4889001", "text": "public abstract boolean populate(boolean force);", "title": "" }, { "docid": "33a15824e7271f58bf615913679415c4", "score": "0.48816288", "text": "Parameter getTrueValue();", "title": "" }, { "docid": "1a85af805d4abb2629ac2352581d0d8f", "score": "0.487318", "text": "ANY getValue();", "title": "" }, { "docid": "94b5617503487609c129a1776f516ed0", "score": "0.48575926", "text": "protected void markValueUpdate(Type value) {\n // Default no-op\n }", "title": "" }, { "docid": "bcad8f693f79b380c4e996da5600508e", "score": "0.48290542", "text": "private BooleanDataValue\tgetTrueValue()\n\t\tthrows StandardException\n\t{\n\t\tif ( trueValue == null )\n\t\t{\n\t\t\ttrueValue = new SQLBoolean( true );\n\t\t}\n\n\t\treturn\ttrueValue;\n\t}", "title": "" }, { "docid": "d47cd5734d60da6946f54807d5c3ee48", "score": "0.4809407", "text": "public boolean isDefault() {\n for (int i = 0; i < nParams; i++) {\n if (!value[i].isNaN()) {\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "510ef107c16d8b8ab73bc68b90359fb7", "score": "0.47907147", "text": "private static void firstNonNul() {\n\t\tInteger numero = null;\n\t\tSystem.out.println(Objects.firstNonNull(numero, 0)); // 0\n\n\t\tnumero = 1;\n\t\tSystem.out.println(Objects.firstNonNull(numero, 0)); // 1\n\t}", "title": "" }, { "docid": "8095e9c4df9ec8b485d5c7a3f5259442", "score": "0.47732002", "text": "default YodaValue disjunction(YodaValue value){\n return NONE;\n }", "title": "" }, { "docid": "847eb5ab7c7cfa9219391fe76de0e33e", "score": "0.47582874", "text": "@Override\r\n\t\tpublic final boolean setFirst(boolean first) {\n\t\t\tthrow new UnsupportedOperationException(\"unsupported operation: setFirst\");\r\n\t\t}", "title": "" }, { "docid": "3a2bbdf574f0ccc669fe926987e949b8", "score": "0.474195", "text": "public void checkValue() {\n\t}", "title": "" }, { "docid": "292feb95dd8307fd8741872e36d6b938", "score": "0.4740294", "text": "public final Option<ValueType> nonStandard() {\n isNonStandard = true;\n return this;\n }", "title": "" }, { "docid": "56b288dfae3372575c6968ae41975363", "score": "0.47394836", "text": "ValueSpecification getDefaultValue();", "title": "" }, { "docid": "b86eb6218c693f88413acd6a98c31a64", "score": "0.47294506", "text": "public void smallestValue(){\n Optional<Transaction> value=transactions.stream()\n .min(comparing(Transaction::getValue));\n }", "title": "" }, { "docid": "2e74f7b0a3d6fec0f00426990953cb62", "score": "0.4715408", "text": "boolean getValue();", "title": "" }, { "docid": "507ecce781a0889df436fb5bee578988", "score": "0.47133246", "text": "public boolean isValue() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "abb42315a0158aad831e94b63839f974", "score": "0.46861565", "text": "public boolean isOne() {\n \t\r\n \tboolean isOne = true;\r\n \tif (value == false) {\r\n \t\tisOne = false;\r\n \t}\r\n \t\r\n\t\treturn isOne;\r\n }", "title": "" }, { "docid": "5ca714b539d246768f89f090e1284167", "score": "0.46785545", "text": "public ProductTransitionStateActionBuilder force(@Nullable final Boolean force) {\n this.force = force;\n return this;\n }", "title": "" }, { "docid": "78f42d5b889de912029cd07624a907fd", "score": "0.46751177", "text": "public void setAllOrNone(boolean e){}", "title": "" }, { "docid": "78f42d5b889de912029cd07624a907fd", "score": "0.46751177", "text": "public void setAllOrNone(boolean e){}", "title": "" }, { "docid": "1b68c90a7cb070d76ad2c2420f362995", "score": "0.4655563", "text": "public boolean getValue() {\n/* 122 */ return this.value;\n/* */ }", "title": "" }, { "docid": "de3162a8aabf9eaa65a2e9506457e8c1", "score": "0.46503308", "text": "public void setSingle(boolean value) {\n this.single = value;\n }", "title": "" }, { "docid": "cf52d9fb85c1deaac57e2d99d7146d93", "score": "0.4647959", "text": "default Optional<RealValue> realValue(){\n return Optional.empty();\n }", "title": "" }, { "docid": "ca705f61e96b83f39c4a662d058fb2ff", "score": "0.4639174", "text": "public void SimpleFillValuesRecursive() {\n\t\tboolean moved = false;\n\t\tfor (int j = 0; j < 81; j++) {\n\t\t\tif (grid.get(j).getPossibilities().size() == 1) {\n\t\t\t\tgrid.get(j).setValue(\n\t\t\t\t\t\tgrid.get(j).getPossibilities().removeFirst());\n\t\t\t\tgrid.get(j).setPermanent(true);\n\t\t\t\tUpdate(j);\n\t\t\t\tcount++;\n\t\t\t\tmoved = true;\n\t\t\t\tYouWin();\n\t\t\t}\n\t\t}\n\t\tif (moved) {\n\t\t\tSimpleFillValuesRecursive();\n\t\t}\n\t}", "title": "" }, { "docid": "61cf513ea8af5d12bedbc9ebee5fe8ac", "score": "0.4638834", "text": "@Override\n public boolean sacar(Double valor) {\n return false;\n }", "title": "" }, { "docid": "557c76246afdbbb13bdd25b824a3c7ca", "score": "0.46328518", "text": "public void setIsFirst(java.lang.Boolean value) {\n this.isFirst = value;\n }", "title": "" }, { "docid": "ea85469ec3f40701361733b84e3169cf", "score": "0.4625775", "text": "public int insureValue();", "title": "" }, { "docid": "d0f59079ffbc14d80130ecb60746eeed", "score": "0.46044198", "text": "@Override\n public boolean supportsDefaultValue() {\n return false;\n }", "title": "" }, { "docid": "0c5fde2a76cb53c3b54962326cbcf9f1", "score": "0.45965725", "text": "public void setParetoTrueFront(Front paretoTrueFront) {\n this.maximumValues = null;\n this.minimumValues = null;\n addParetoFront(paretoTrueFront);\n if(normalize && canNormalize()){\n FrontNormalizer frontNormalizer = new FrontNormalizer(minimumValues, maximumValues);\n Front normalizedFront = frontNormalizer.normalize(paretoTrueFront);\n this.paretoTrueFront = normalizedFront;\n }\n else{\n //System.err.println(\"Cannot normalize\");\n this.paretoTrueFront = paretoTrueFront;\n }\n }", "title": "" }, { "docid": "e5214cc3a157d2357d680b51023cf54a", "score": "0.45954102", "text": "default YodaValue isTrue(){\n return NONE;\n }", "title": "" }, { "docid": "5dec1ca638f13d3355b5a3534a0febaf", "score": "0.45937988", "text": "private boolean isValide() {\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "4de9449c8520f4b6a2a0544010bd5e99", "score": "0.45814967", "text": "public Delete setForce(java.lang.Boolean force) {\n this.force = force;\n return this;\n }", "title": "" }, { "docid": "4de9449c8520f4b6a2a0544010bd5e99", "score": "0.45814967", "text": "public Delete setForce(java.lang.Boolean force) {\n this.force = force;\n return this;\n }", "title": "" }, { "docid": "40566364141a5b9e892459563a520a48", "score": "0.4581262", "text": "public Boolean force() {\n return this.innerProperties() == null ? null : this.innerProperties().force();\n }", "title": "" }, { "docid": "0dc516ef5354f254b6e8dc4cbe7a32b3", "score": "0.4571418", "text": "public static void setDefaultOp(){\n op = new boolean[values.size()-1];\n for(int i=0;i<op.length;i++){\n op[i] = false;\n }\n }", "title": "" }, { "docid": "422a8c2420e7905aabff6d25fe24d6f7", "score": "0.45672134", "text": "@Override\r\n\tpublic final Boolean setSecond(Boolean second) {\n\t\treturn this.setSecond(Objects.requireNonNull(second).booleanValue());\r\n\t}", "title": "" }, { "docid": "684da0eefd5f366dad4a8f8621ca334c", "score": "0.45595703", "text": "abstract public boolean setValue(boolean val);", "title": "" }, { "docid": "5f1201eca8c5a6a76d2ce71d3e77c003", "score": "0.4552086", "text": "@JsonIgnore\n @XmlTransient\n public boolean isSingle() {\n return !multiple;\n }", "title": "" }, { "docid": "da92365ba55e1d53c44427b6de2d1c39", "score": "0.45429733", "text": "public Delete setForce(java.lang.Boolean force) {\n this.force = force;\n return this;\n }", "title": "" }, { "docid": "bd9bb4c27029ea7f0b40856f729c7f65", "score": "0.4537354", "text": "public boolean isSlotSingleValued() {\n return true;\n }", "title": "" }, { "docid": "40c4f696e4707bc51d9c167d28127df2", "score": "0.4531442", "text": "public BooleanValue makeTrue() {\n return trueValue;\n }", "title": "" }, { "docid": "4ddae9ceaf0268661a2a1e0dbb5abe0b", "score": "0.45187744", "text": "void process(boolean force);", "title": "" }, { "docid": "a4f1e80912eb4bb1e5334a14e74f3baa", "score": "0.45186314", "text": "boolean isValue();", "title": "" }, { "docid": "5f48db3207dec350de8772a172d81831", "score": "0.45180348", "text": "public boolean isDefault() \n{\nObject oo = get_Value(\"IsDefault\");\nif (oo != null) \n{\n if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();\n return \"Y\".equals(oo);\n}\nreturn false;\n}", "title": "" }, { "docid": "abc53ea5769e164d4d9450579ff4a7d2", "score": "0.45155764", "text": "public int getFirstValue() {\n return firstPicker.getValue();\n }", "title": "" }, { "docid": "564c2b7c2d7cb22637b2fe83c09cd2e7", "score": "0.45139858", "text": "public void set_IsRequired(ExecutionInfo executeInfo, Symbol value) throws Exception_InvalidArgumentPassed {\n\t\tif (this.IsRequired__Special == null) {\n\t\t\t++fieldValue_TotalCount;\n\t\t\t++fieldValue_NonContinuationCount;\n\t\t}\n\t\tthis.IsRequired = value;\n\t\tthis.IsRequired__Special = FieldConstants.HAS_STANDARD_VALUE;\n\t}", "title": "" }, { "docid": "42b92aef3a3cb81d29a96d425aa4b76d", "score": "0.45107037", "text": "public boolean getValue()\r\n {\r\n return (value);\r\n }", "title": "" }, { "docid": "ed3ec84e1b24c0a6f31b9474f298b408", "score": "0.44976547", "text": "@Override\n \tpublic IValue visitReal(Type type) {\n \t\treturn null;\n \t}", "title": "" }, { "docid": "5f8ee5f6d13634774ceb2696f04ccd7e", "score": "0.44971988", "text": "default YodaValue min(YodaValue value){\n return NONE;\n }", "title": "" }, { "docid": "97d1c5088396377a3a87a08179567706", "score": "0.44921488", "text": "public boolean isNoValue() {\n return noValue;\n }", "title": "" }, { "docid": "ee99deef90963c463efb20d8a5417018", "score": "0.44907838", "text": "abstract public Value containsStrict(Value value);", "title": "" }, { "docid": "deec618d5da6cdfe0dd5d116d4190bdd", "score": "0.4489062", "text": "public static SetStrategy force_first(SetVar... sets) {\n return custom(new InputOrder<>(), new SetDomainMin(), true, sets);\n }", "title": "" }, { "docid": "7b105b08424f0dcd4b850bb43c1e5e60", "score": "0.44887364", "text": "@Override\n\tpublic Object getFirst() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "4b9699d7b01c89760cd315691a2818dd", "score": "0.44853497", "text": "public void setPopulateInsertRowWithDefaultValues(boolean flag) {\n\t\t\n\t}", "title": "" }, { "docid": "acb481ad9207c9cd59b991347fff3905", "score": "0.44818917", "text": "private boolean validateValue(Element descriptor) throws EmotionMLFormatException\n\t{\n\t\tString valueStr = descriptor.getAttribute(\"value\");\n\t\tif (valueStr.equals(\"\"))\n\t\t\treturn false;\n\t\telse try\n\t\t{\n\t\t\tfloat floatValue = Float.parseFloat(valueStr);\n\t\t\tif (floatValue < 0 || floatValue > 1)\n\t\t\t\tthrow new NumberFormatException();\n\t\t\telse return true;\n\t\t}\n\t\tcatch (NumberFormatException e)\n\t\t{\n\t\t\tthrow new EmotionMLFormatException(\"500: The value of a \\\"value\\\" attribute, if present, MUST be a floating point\" +\n\t\t\t\t\t\t\t\t\t\t\t\t\" value from the closed interval [0, 1] (it is \\\"\" + valueStr + \"\\\")\");\n\t\t}\n\t}", "title": "" }, { "docid": "be5adebc8e89b2185630658733e0dab3", "score": "0.44803774", "text": "public boolean isFixedValueSet() {\r\n return getMaximumValue() == getSmallestMaximumValue() &&\r\n getMinimumValue() == getLargestMinimumValue();\r\n }", "title": "" }, { "docid": "8ba3ae84bd5e152e489745d18c03f45f", "score": "0.44786543", "text": "public TransformAbstractLine getFirst(int flag) {\n for (Iterator<TransformAbstractLine> itr = values().iterator(); itr.hasNext(); ) {\n TransformAbstractLine tLine = itr.next();\n if (tLine.is(flag))\n return tLine;\n }\n \n return null;\n }", "title": "" }, { "docid": "ef99a8ef9ef9dc632e7b82526c56ee2e", "score": "0.4473494", "text": "@java.lang.Override\n public boolean hasDoubleValue() {\n return valueCase_ == 3;\n }", "title": "" }, { "docid": "77a31b85571626cd36fb4cd76bb7c491", "score": "0.44704127", "text": "@Override\r\n\tpublic boolean isValid(){\r\n\t\treturn this.getValue()>0;\r\n\t}", "title": "" }, { "docid": "20b99d9841b5eef8787ac493a0753a54", "score": "0.44687143", "text": "public void testMakeIntBooleanBadArgs() {\n // if true and false are the same this is an error.\n int itrue = 10;\n int ifalse = 10;\n Optional<BooleanValue> optBool = booleanService.makeIntBoolean(itrue, ifalse);\n assertTrue(optBool.isEmpty());\n }", "title": "" }, { "docid": "6ef1f3d0ce304ea9ad1e136ce1461933", "score": "0.44627783", "text": "@Override\n\tpublic <T> T getExplicitValue(Property<T> prop) {\n\t\tif (prop == null) {\n\t\t\treturn null;\n\t\t}\n\t\treturn prop.getValueType().cast(values.stream().filter(pv -> prop.equals(pv.getProperty())).\n\t\t\t\t\t\tfindFirst().map(pv -> pv.getValue()).orElse(null)\n\t\t);\n\t}", "title": "" }, { "docid": "b9e8d77b8a68726281077b72e478bde2", "score": "0.44505265", "text": "public boolean canBeLossy()\n\t{\n\t\treturn (getMinimumValueSize(false) != getMinimumValueSize(true)) || (getMaximumValueSize(false) != getMaximumValueSize(true)); \n\t}", "title": "" }, { "docid": "8a9c28874c16ffb1435fbb55db1149e6", "score": "0.44391584", "text": "public void setFirst(T first) {\n\t\tthis.first = first;\n\t}", "title": "" }, { "docid": "e673d9b75b2b06e98a40f28a8c0f4bec", "score": "0.44388148", "text": "Parameter getElseValue();", "title": "" }, { "docid": "d80c6b0bfed7a12720827f2b7c3013d5", "score": "0.44371006", "text": "public java.lang.Boolean getIsFirst() {\n return isFirst;\n }", "title": "" }, { "docid": "4293a2d596116dd6d64d9bdbcdf18532", "score": "0.44331375", "text": "protected Integer getValueRefefence() {\n return null;\n }", "title": "" }, { "docid": "32486fe8e16fa4d44e0b4f4759a79bd2", "score": "0.44293082", "text": "@Override\n public boolean filterValue(Object value, String label) {\n return false;\n }", "title": "" }, { "docid": "5d35fd44b90f748c5979534976efb953", "score": "0.44266033", "text": "void updateValueTypeFacet(RDFSNamedClass cls, Slot slot) {\r\n if (slot != null) {\r\n Collection<OWLAllValuesFrom> rs = getDirectRestrictions(cls, slot, OWLAllValuesFrom.class);\r\n if (rs.size() == 1) {\r\n OWLQuantifierRestriction restriction = rs.iterator().next();\r\n updateValueTypeFacet(cls, slot, restriction);\r\n }\r\n else {\r\n // Cannot do any overrides when more than one exist (this would be intersection)\r\n removeValueTypeOverride(cls, slot);\r\n }\r\n }\r\n }", "title": "" }, { "docid": "e619117615ec4a62210b0169e53071bd", "score": "0.442509", "text": "@Override\n\tpublic String getSecondValue() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "13249d83791918d6b7884380c75df6bc", "score": "0.44234803", "text": "private boolean isTrue(DataValue dataValue) {\r\n\t\tif(dataValue == null) return false;\r\n\t\tswitch(dataValue.getType().getComponentType()) {\r\n\t\tcase BOOLEAN:\r\n\t\t\treturn (Boolean) dataValue.getValue();\r\n\t\tcase STRING:\r\n\t\t\treturn dataValue.getValue() != null;\r\n\t\tdefault:\r\n\t\t\tbreak;\r\n\t\t}\r\n\t\tthrow new ModelException(\"Case \"+dataValue.getType()+\" not yet handled\");\r\n\t}", "title": "" }, { "docid": "b5ffe0b9a74cf8075201491f2eca83ea", "score": "0.44184956", "text": "boolean isSetDefaultValue();", "title": "" }, { "docid": "462d1ca1bb8a39afb55394df23bb15f9", "score": "0.44061813", "text": "@Override\n protected String[] processValues(String value) {\n return null;\n }", "title": "" }, { "docid": "cde3e94223567386a63682f923a0bba5", "score": "0.44043633", "text": "@Override\n public Type1 first() {\n return this.first;\n }", "title": "" }, { "docid": "0789c61bf1d0cb4d2aa3ba850a0916a5", "score": "0.44003037", "text": "public void setREQUIRED() {\n occuranceType = REQUIRED;\n }", "title": "" }, { "docid": "60f7667b6aa9d41a4bc3fede9e96da2e", "score": "0.43972996", "text": "@Override\n\tpublic boolean valeur() throws VariableLibreException {\n\t\treturn false;\n\t}", "title": "" } ]
3f6c36fb66d61d5e9d298f315842c33f
Jumps the peg from (x,y) over the neighbouring peg in the given direction and removes the peg we have jumped over. Returns true if the move was according to the game rules; and false otherwise. The game board only changes state, if the move was valid.
[ { "docid": "9a0eb55815f6c58422c49af73a5d46f3", "score": "0.70685816", "text": "public boolean jump(int x, int y, int direction) {\n int newX = getNewX(x, direction);\n int newY = getNewY(y, direction);\n\n if (isValidMove(x, y, newX, newY)) {\n setPeg(newX, newY);\n clearField(x, y);\n clearField((x + newX) / 2, (y + newY) / 2);\n\n return true;\n }\n\n return false;\n }", "title": "" } ]
[ { "docid": "664aabd67bc7b869f1ad9677cc62a04c", "score": "0.7095567", "text": "public boolean jump(int x, int y, int direction) {\n int newX = getNewX(x, direction);\n int newY = getNewY(y, direction);\n \n if ( isValidMove(x, y, newX, newY)) {\n setPeg(newX, newY);\n clearField(x, y);\n clearField((x + newX) / 2, (y + newY) / 2);\n \n return true;\n }\n \n return false;\n }", "title": "" }, { "docid": "02b236e5647a7de80737fbb4e6a5d96a", "score": "0.6264058", "text": "private boolean validateMove(Field field, int destId, int direction, boolean jump) {\n if (field == null) {\n return false;\n }else if (field.getId() == destId) {\n return !field.isOccupied();\n }\n\n if (!jump) {\n if (field.isOccupied()) {\n return validateMove(field.getNeighbours()[direction], destId, direction, true);\n }\n }\n\n return false;\n }", "title": "" }, { "docid": "ae790a044d0ef4edf61051dd09e03ce9", "score": "0.62148255", "text": "boolean valid_move(int x_dest, int y_dest) {\n if (x_dest < 0 || x_dest > 8\n || y_dest < 0 || y_dest > 9) {\n return false;\n } else {\n\n if (y_dest == y) {\n for (int spots_x = Math.max(x_dest, x); spots_x < Math.max(x_dest, x); spots_x++) {\n // check if there are pieces in between on each spot\n if (g.is_occupied(spots_x, y) != \"free\") {\n return false;\n }\n }\n return true;\n } else if (x_dest == x) {\n for (int spots_y = Math.max(y_dest, y); spots_y < Math.max(y_dest, y); spots_y++) {\n // check if there are pieces in between on each spot\n if (g.is_occupied(x, spots_y) != \"free\") {\n return false;\n }\n }\n return true;\n } else {\n return false;\n }\n }\n }", "title": "" }, { "docid": "cb5f319ad2bd3452109d093608a5f8c5", "score": "0.6200762", "text": "public boolean tryMove(Point src, Point dest) {\n\t\tPoint jumpedSpace;\n\t\t//if the move is valid, carry it out\n\t\tif (isValidMove(src, dest)) {\n\t\t\tsetSpace(dest, pieceAt(src));\n\t\t\tsetSpace(src, null);\n\t\t\t\n\t\t\t//if a jump has occurred, kill the piece that was jumped over\n\t\t\tif (Math.abs(src.x - dest.x) == 2) {\n\t\t\t\tjumpedSpace = new Point((src.x + dest.x) / 2, (src.y + dest.y) / 2); \n\t\t\t\t\n\t\t\t\tGame.losePiece(pieceAt(jumpedSpace).owner);\n\t\t\t\tsetSpace(jumpedSpace, null);\n\t\t\t}\n\t\t\t\n\t\t\t//check for crowning of kings\n\t\t\tif (dest.y == 0 && pieceAt(dest).owner == Player.BLACK)\n\t\t\t\tpieceAt(dest).isKing = true;\n\t\t\tif (dest.y == 7 && pieceAt(dest).owner == Player.BLUE)\n\t\t\t\tpieceAt(dest).isKing = true;\n\t\t\t\n\t\t\t//only end the turn if no more jumps can be made\n\t\t\tif (!jumpIsAvailable(dest) || Math.abs(src.x - dest.x) == 1) {\n\t\t\t\tGame.endTurn();\n\t\t\t\treturn false;\n\t\t\t} else {\n\t\t\t\treturn true;\n\t\t\t}\n \t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "3d7fe2eb8ad324ffdf39baeadbb19e2b", "score": "0.61901015", "text": "@Override\n\tpublic boolean canMove(int destination_x, int destination_y)\n\t{\n\t\tPiece possiblePiece = board.getPiece(destination_x, destination_y);\n\n\t\tif(possiblePiece != null) {\n\t\t\tif(possiblePiece.isWhite() && this.isWhite()) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif(possiblePiece.isBlack() && this.isBlack()) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif(possiblePiece.getClass().equals(King.class)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\t//CANT TAKE KING\n\t\t\n\t\t\n\t\t\n\n\t\t//ROOK MOVES HORIZONTALLY:\n\t\tif(this.getX() != destination_x && this.getY() != destination_y) {\n\t\t\treturn false;\n\t\t}\n\n\t\t//MAKE SURE NOTHING IS IN THE WAY:\n\t\tString direction = \"\";\n\t\tif(destination_y > this.getY()) {\n\t\t\tdirection = \"down\";\n\t\t}\n\t\tif(destination_y < this.getY()) {\n\t\t\tdirection = \"up\";\n\t\t}\n\t\tif(destination_x > this.getX()) {\n\t\t\tdirection = \"right\";\n\t\t}\n\t\tif(destination_x < this.getX()) {\n\t\t\tdirection = \"left\";\n\t\t}\n\n\t\tif(direction.equals(\"down\")) {\n\t\t\tint spaces_to_move = Math.abs(destination_y - this.getY());\n\t\t\tfor(int i = 1; i < spaces_to_move; i++) {\n\t\t\t\tPiece p = board.getPiece(this.getX(), this.getY()+i);\n\t\t\t\tif (p != null) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif(direction.equals(\"up\")) {\n\t\t\tint spaces_to_move = Math.abs(destination_y - this.getY());\n\t\t\tfor(int i = 1; i < spaces_to_move; i++) {\n\t\t\t\tPiece p = board.getPiece(this.getX(), this.getY() - i);\n\t\t\t\tif (p != null) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif(direction.equals(\"left\")) {\n\t\t\tint spaces_to_move = Math.abs(destination_x - this.getX());\n\t\t\tfor(int i = 1; i < spaces_to_move; i++) {\n\t\t\t\tPiece p = board.getPiece(this.getX() - i, this.getY());\n\t\t\t\tif (p != null) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif(direction.equals(\"right\")) {\n\t\t\tint spaces_to_move = Math.abs(destination_x - this.getX());\n\t\t\tfor(int i = 1; i < spaces_to_move; i++) {\n\t\t\t\tPiece p = board.getPiece(this.getX() + i, this.getY());\n\t\t\t\tif (p != null) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn true;\n\t}", "title": "" }, { "docid": "96ca3f1a736f8db897c67c1ad38c7332", "score": "0.61825764", "text": "public boolean movePawn() {\n\t\t\n\t\tif (this.canMove()) {\n\t\t\t\n\t\t\tfor (;;) {\n\t\t\t\t\t\n\t\t\t\t\t// ask player for input\n\t\t\t\tSystem.out.println(\"Would you like to move up [1], down [2], left [3] or right [4]?\");\n\t\t\t\n\t\t\t\tint direction = Game.getUserInput(1, 4); // Get user to pick an option\n\t\t\t\t\n\t\t\t\tif (Board.getInstance().canMoveSimple(position, direction)) { // Check if pawn can move in direction\n\t\t\t\t\tswitch (direction) {\n\t\t\t\t\t\tcase 1: // Move north\n\t\t\t\t\t\t\tthis.setPosition(this.position.north());\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 2: // Move South\n\t\t\t\t\t\t\tthis.setPosition(this.position.south());\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 3: // Move West\n\t\t\t\t\t\t\tthis.setPosition(this.position.west());\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 4: // Move East\n\t\t\t\t\t\t\tthis.setPosition(this.position.east());\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t\t// if you move the pawn then update the observer with the locations\n\t\t\t\t\tGameObserver.getInstance().updatePlayerLocations(PlayerList.getInstance().getAllPlayers());\n\t\t\t\t\tSystem.out.println(\"Pawn move successful\");\n\t\t\t\t\treturn true;\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(\"Can't Move in this direction, please try again\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\t\t// condition for game continuing when it should be over\n\t\tSystem.out.println(\"Error! The Game is over\");\n\t\treturn false;\n\t\t\n\t}", "title": "" }, { "docid": "905550f722a911914ad000213a65f21a", "score": "0.6102478", "text": "public boolean move(int x, int y)\n\t{\n\t\tboolean answer = true;\n\t\tif (this.x != x)\n\t\t{\n\t\t\tif (this.y != y) {\n\t\t\t\tanswer = false;\n\t\t\t}\n\t\t}\n\t\tif (this.y != y) {\n\t\t\tif (this.x != x){\n\t\t\t\tanswer = false;\n\t\t\t}\n\t\t}\n\t\treturn answer;\n\t}", "title": "" }, { "docid": "978c475df7576276443ec50035d6b0d9", "score": "0.6101797", "text": "public boolean isValidMove(Point src, Point dest) {\n\t\t//check for moves that are invalid regardless of who's making them\n\t\tif (!isValidSpace(src) || !isValidSpace(dest) || emptyAt(src) || !emptyAt(dest)) \n\t\t\treturn false;\n\t\t\n\t\t//at this point, we know that a piece is trying to move to an empty space on the board\n\t\tPiece subject = pieceAt(src);\n\t\tPoint jump = new Point((src.x + dest.x) / 2, (src.y + dest.y) / 2);\n\t\t\t\t\n\t\t//check for downward moves\n\t\tif (subject.isKing || subject.owner == Player.BLUE) {\n\t\t\tif (Math.abs(src.x - dest.x) == 1 && src.y - dest.y == -1) {\n\t\t\t\treturn !jumpIsAvailable(src);\n\t\t\t} \n\t\t\tif (Math.abs(src.x - dest.x) == 2 && src.y - dest.y == -2) {\n\t\t\t\tif (!emptyAt(jump) && pieceAt(jump).owner != subject.owner)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\t//check for upward moves\n\t\tif (subject.isKing || subject.owner == Player.BLACK) {\n\t\t\tif (Math.abs(src.x - dest.x) == 1 && src.y - dest.y == 1) {\n\t\t\t\treturn !jumpIsAvailable(src);\n\t\t\t}\n\t\t\tif (Math.abs(src.x - dest.x) == 2 && src.y - dest.y == 2) {\n\t\t\t\tif (!emptyAt(jump) && pieceAt(jump).owner != subject.owner)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t}\t\n\t\treturn false;\n\t}", "title": "" }, { "docid": "661eaae5380e41dd1930089876c4acb7", "score": "0.6050097", "text": "public boolean move( char move ){\n boolean valid_move = false;\n String error_message = \"Error. Chosen move is not possible.\";\n int target_row = empty_row, target_col = empty_col;\n switch ( move ) {\n case 'U':\n -- target_row;\n break;\n case 'D':\n ++ target_row;\n break;\n case 'L':\n -- target_col;\n break;\n case 'R':\n ++ target_col;\n break;\n }\n if( target_row >= 0 && target_row < ROWS && target_col >= 0 && target_col < COLUMNS && cell( target_row, target_col ) != IMPOSSIBLE_MOVE ){\n System.out.println(\"Inside valid move\");\n valid_move = true;\n int temp = cell( target_row, target_col );//swaping values using overridden protected () operator that returns a reference to data to be altered\n setPosition( target_row, target_col, EMPTY_CELL );\n setPosition( empty_row, empty_col, temp );\n empty_row = target_row;//updating empty_row and column also\n empty_col = target_col;\n ++number_of_moves;\n last_move = move;\n }\n else\n System.out.println( error_message );\n\n return valid_move;\n }", "title": "" }, { "docid": "dc8fe2d851d86d589929ff72b8383d04", "score": "0.603265", "text": "private boolean validMove(int xi, int yi, int xf, int yf) {\n if ((pieceSelected.isKing()) == false) { //given piece is not a king\n if(pArray[xf][yf] == null) { //moving to space\n if (!(xi == xf)) {\n if((Math.abs(yf-yi) == 1) && (Math.abs(xf-xi) == 1)) { //moving one space\n \n if (((yf-yi) <= 0) && (playerTurnFire == true)) { //cannot move behind in y or sideways\n return false;\n } else if (((yf-yi) >= 0) && (playerTurnFire == false)) {\n return false;\n } else {\n return true;\n }\n \n } else if ((Math.abs(yf-yi) == 2) && (Math.abs(xf-xi) == 2)) { //moving two spaces\n \n if(pArray[Math.abs((xf+xi)/2)][Math.abs(yf+yi)/2].side() != pieceSelected.side()) {//for piece capturing\n \n if (((yf-yi) <= 0) && (playerTurnFire == true)) { //cannot move behind in y or sideways\n return false;\n } else if (((yf-yi) >= 0) && (playerTurnFire == false)) {\n return false;\n } else {\n return true;\n }\n } else\n return false;\n \n } else //may not move more than two spaces;\n return false;\n } else //no moving in a straight line\n return false;\n \n } else //invalid move of piece to piece or piece to other\n return false;\n \n } else if((pieceSelected.isKing()) == true) {\n if(pArray[xf][yf] == null) { //moving to space\n if (!((xi == xf) || (yi == yf))) {\n if((Math.abs(yf-yi) == 1) && (Math.abs(xf-xi) == 1)) { //moving one space\n return true; \n } else if ((Math.abs(yf-yi) == 2) && (Math.abs(xf-xi) == 2)) { //moving two spaces\n \n if(pArray[Math.abs((xf+xi)/2)][Math.abs(yf+yi)/2].side() != pieceSelected.side()) {//for piece capturing\n return true;\n } else\n return false;\n \n } else //may not move more than two spaces;\n return false;\n } else //no moving in a straight line\n return false;\n \n } else //invalid move of piece to piece or piece to other\n return false;\n } else \n return false;\n \n }", "title": "" }, { "docid": "3cd3fd7ff5cabf28e712a24c43746324", "score": "0.59938145", "text": "public boolean canMoveInDirection(CursorDirection direction) {\n\n switch (direction) {\n\n case UP:\n if (y() <= Grid.PADDING) {\n return false;\n }\n return true;\n\n case DOWN:\n if (y() >= (Grid.CELLSIZE * Grid.COLUMNS + Grid.PADDING) - Grid.CELLSIZE) {\n return false;\n }\n return true;\n\n case LEFT:\n if (x() <= Grid.PADDING) {\n return false;\n }\n return true;\n\n case RIGHT:\n if (x() >= (Grid.CELLSIZE * Grid.ROWS + Grid.PADDING) - Grid.CELLSIZE) {\n return false;\n }\n return true;\n }\n return true;\n }", "title": "" }, { "docid": "cbb0c23e6d82b5f5336a41f07c991445", "score": "0.5983394", "text": "public boolean isValidMove(int x, int y){\n if((x >= 8) || (x < 0) || (y < 0) || (y >= 8)) { // if the coordinate is out of bound\n return false;\n } else if(board[x][y].getIsBombed()==true){ // if the coordinate has been used already\n System.out.println(\"The coordinate has been tried.\");\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "8254ccf2a6eab411e7e5358a2e376412", "score": "0.5964301", "text": "public boolean validateMove(GoBoard board, int color, int x, int y) throws InvalidMoveException;", "title": "" }, { "docid": "9424d77e2edd5d6fad71f9096b8d054a", "score": "0.5911356", "text": "public boolean checkLegalMove(Point p, Board b){\n\t\tint oldX = (int)super.getSquareOn().getX(); //old position on board\n\t\tint oldY = (int)super.getSquareOn().getY();\n\t\tint newX = (int)p.getX()/62; //new position on board\n\t\tint newY = (int)p.getY()/62;\n\t\t\n\t\t/*\n\t\t * checks if the square being moved to has a piece of the same color\n\t\t */\n\t\tif(b.hasPiece(newX, newY)){\n\t\t\tif(b.getSquare(newX, newY).getColor() == super.getColor()){\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\t/*\n\t\t * Checks if piece is still in line with either the x or the y and makes sure that\n\t\t * the piece is still on the board. \n\t\t */\n\t\tif((oldX == newX) && (newX >= 0 && newX <= 7) && (newY >= 0 && newY <= 7)){\n\t\t\tif(newY > oldY){ //checks if there are any pieces in the way if the rook is moving down\n\t\t\t\tfor(int i = 1; i< newY-oldY; i++){ //iterates through board to check for pieces\n\t\t\t\t\tif(b.hasPiece(oldX, oldY + i)){\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tif(newY < oldY){ //checks if there are pieces in the way if the rook moves up\n\t\t\t\tfor(int i= 1; i<oldY - newY; i++){ //iterates through board, checks for pieces\n\t\t\t\t\tif(b.hasPiece(oldX, newY + i)){\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tif(newY == oldY){\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t\tif((oldY == newY) && (newX >= 0 && newX <= 7) && (newY >= 0 && newY <= 7)){\n\t\t\tif(newX > oldX){ //checks if there are pieces in the way if rook moves right\n\t\t\t\tfor(int i = 1; i<newX-oldX; i++){ //iterates through board checking for pieces\n\t\t\t\t\tif(b.hasPiece(oldX + i, oldY)){\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\t\n\t\t\tif(newX < oldX){ //checks if there are pieces in teh way if the rook moves left\n\t\t\t\tfor(int i = 1; i<oldX-newX; i++){ //iterates through board\n\t\t\t\t\tif(b.hasPiece(newX + i, oldY)){\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tif(newX == oldX){\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "9a37df7ed116bab41f3ebd9dd51aa19a", "score": "0.5909464", "text": "private boolean playerMadeMove(Location from, Location to)\r\n {\n\r\n int fromX = from.mX;\r\n int fromY = from.mY;\r\n\r\n int toX = to.mX;\r\n int toY = to.mY;\r\n\r\n boolean moved = false;\r\n\r\n if (mPlayerMoves == null)\r\n {\r\n return false;\r\n }\r\n\r\n for(Location l : mPlayerMoves)\r\n {\r\n\r\n if(l.mX == toX && l.mY == toY)\r\n {\r\n\r\n byte pc = mCurrentScenario[fromX][fromY];\r\n byte attacker = (byte)(abs(pc)/pc);\r\n switch (pc)\r\n {\r\n case PAWN:\r\n if(toY == 0)\r\n {\r\n pawnPromotion = true;\r\n pawnColumn = new byte[9];\r\n mCurrentScenario[fromX][fromY] = BLANK;\r\n System.arraycopy(mCurrentScenario[fromX], 0, pawnColumn, 0, 8);\r\n mCurrentScenario[fromX][0] = KNIGHT;\r\n mCurrentScenario[fromX][1] = BISHOP;\r\n mCurrentScenario[fromX][2] = ROOK;\r\n mCurrentScenario[fromX][3] = QUEEN;\r\n mGameBoard.updateBoard(mCurrentScenario);\r\n pawnColumn[8] = (byte)toX;\r\n for(int i = 0; i < 4; i++)\r\n {\r\n mGameBoard.getBoard()[fromX][i].setBackground(GREEN);\r\n }\r\n\r\n return false;\r\n }\r\n break;\r\n\r\n case KING:\r\n if(abs(toX-fromX) == 2)\r\n {\r\n // mCurrentScenario = Castle(fromX, fromY, toX, toY, mCurrentScenario);\r\n // // mPlayerMoves.clear();\r\n // // mGameBoard.updateBoard(mCurrentScenario);\r\n // // //start my move\r\n // // myTurn();\r\n // // return true;\r\n }else{\r\n mCurrentScenario[8][(attacker+1)/2] = 1;\r\n }\r\n break;\r\n\r\n case ROOK:\r\n if(mCurrentScenario[8][(attacker+1)/2] % 3 != 0 && fromX == 0)//left Rook hasn't moved && is moving now\r\n {\r\n mCurrentScenario[8][(attacker+1)/2] *= 3;//moved\r\n System.out.println(TAG + \"playerMadeMove: LR\" + attacker);\r\n }else if(mCurrentScenario[8][(attacker+1)/2] % 5 != 0 && fromX == 7)//R hasn't moved && is moving now\r\n {\r\n mCurrentScenario[8][(attacker+1)/2] *= 5;//moved\r\n System.out.println(TAG + \"playerMadeMove: RR\" + attacker);\r\n }\r\n break;\r\n }\r\n mHistory.add(mScenarioHandler.getNew(mCurrentScenario));\r\n mCurrentScenario = mScenarioHandler.movePiece(fromX, fromY, toX, toY, mCurrentScenario);\r\n\r\n moved = true;\r\n break;\r\n\r\n }\r\n }\r\n\r\n if (moved)\r\n {\r\n mPlayerMoves.clear();\r\n mGameBoard.updateBoard(mCurrentScenario);\r\n\r\n //start my move\r\n myTurn();\r\n return true;\r\n }\r\n\r\n\r\n ////System.out.println(TAG + \"the move: player's \" + pc.getType().toString() + \" from (\"\r\n // + fromX + \", \" + fromY + \") to (\" + toX + \", \" + toY + \")\" + \" is not a valid move!\" );\r\n mPlayerMoves.clear();\r\n return false;\r\n }", "title": "" }, { "docid": "eb89ad5a2c9d77830e1e87d2dc274835", "score": "0.5902149", "text": "private boolean validUpDownMove(int start_y, int end_y, int x)\n\t{\n\t\t//create temp coord obj and give it x,y pairs between start spot and end spot (exclusive), if any of the temp coord objs is found in array, then invalid move\n\t\tfor(int y=start_y; y < end_y; y++)\n\t\t{\n\t\t\tCoordinate temp_obj=new Coordinate(x,y); //temp obj used to see if a piece is in movement path\n\t\t\tif(someoneThere(temp_obj))\n\t\t\t{\n\t\t\t\treturn false; //piece in movement path\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "ad5747ea5f4f72367b3f9dd1ed71b1d9", "score": "0.5857636", "text": "public boolean legalMove(location d) {\n\t\tif (d.x==this.x && d.y==this.y)\n\t\t\treturn false;\n\t\tif (d.x==this.x || d.y==this.y)\n\t\t\treturn true;\n\t\treturn false;\n\t\t}", "title": "" }, { "docid": "660a1ac1b5abee99b58144c1a44a2375", "score": "0.5849709", "text": "public boolean moveDown() {\n\t\t// first, see if we can move down\n\t\tPoint blank = findBlank();\n\t\tif (blank == null || blank.row == 0) {\n\t\t\treturn false;\n\t\t}\n\t\t//move down\n\t\tgameBoard[blank.row][blank.col] = gameBoard[blank.row - 1][blank.col];\n\t\tgameBoard[blank.row - 1][blank.col] = 0;\n\t\treturn true;\n\t}", "title": "" }, { "docid": "89059131917cbdb349eb75c3ce941359", "score": "0.5826794", "text": "public boolean isValidMove(int x, int y, int getX, int getY) {\n // TODO Auto-generated method stub\n return false;\n }", "title": "" }, { "docid": "0dea09f06ddf08c792c893da748e6b42", "score": "0.58206725", "text": "public boolean canMoveTo(Position src, int direction) {\n\t\tint x = src.getX();\n\t\tint y = src.getY();\n\t\tint z = src.getZ() > 3 ? src.getZ() % 4 : src.getZ();\n\t\tint x5 = src.getX() + DIRECTION_DELTA_X[direction];\n\t\tint y5 = src.getY() + DIRECTION_DELTA_Y[direction];\n\t\tint size = getSize();\n\n\t\tfor (int i = 1; i < size + 1; i++) {\n\t\t\tfor (int k = 0; k < SIZE_DELTA_COORDINATES[i].length; k++) {\n\t\t\t\tint x3 = x + SIZE_DELTA_COORDINATES[i][k][0];\n\t\t\t\tint y3 = y + SIZE_DELTA_COORDINATES[i][k][1];\n\n\t\t\t\tint x2 = x5 + SIZE_DELTA_COORDINATES[i][k][0];\n\t\t\t\tint y2 = y5 + SIZE_DELTA_COORDINATES[i][k][1];\n\n\t\t\t\tPosition a = new Position(x3, y3, z);\n\t\t\t\tPosition b = new Position(x2, y2, z);\n\n\t\t\t\tif (Position.isWithinBlock(x, y, size, x2, y2)) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tif (!Region.canMove(a, direction)) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\tif (Region.isNpcOnTile(b.getX(), b.getY(), b.getZ())) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\tfor (int dir = 0; dir < 8; dir++) {\n\t\t\t\t\tif (Position.isWithinBlock(x5, y5, getSize(), x2 + DIRECTION_DELTA_X[dir], y2 + DIRECTION_DELTA_Y[dir])) {\n\t\t\t\t\t\tif (!Region.canMove(b, dir)) {\n\t\t\t\t\t\t\treturn false;\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\n\t\tif (DIRECTION_DELTA_X[direction] != 0 && DIRECTION_DELTA_Y[direction] != 0) {\n\t\t\treturn canMoveTo(src, ProjectilePathFinder.getDirection(0, DIRECTION_DELTA_Y[direction])) && canMoveTo(src, ProjectilePathFinder.getDirection(DIRECTION_DELTA_X[direction], 0));\n\t\t}\n\n\t\treturn true;\n\t}", "title": "" }, { "docid": "fdf095c27f16f4f5ed3849aa98e2e96a", "score": "0.58138895", "text": "private Boolean checkCanMoveHere(int x, int y, boolean rouge) {\n for (MazeSpace mazeSearch : maze) {\n if (mazeSearch.getPositionX() == x && mazeSearch.getPositionY() == y)\n if (!mazeSearch.wall && mazeSearch instanceof MazeSpaceClear) {\n //TODO You should not be both failed and traveled. You can be one or the other. If you are both something has gone wrong\n if (rouge) {\n if (((MazeSpaceClear) mazeSearch).getTraveled() && !((MazeSpaceClear) mazeSearch).getFailure())\n return true;\n } else {\n if (!((MazeSpaceClear) mazeSearch).getTraveled() && !((MazeSpaceClear) mazeSearch).getFailure())\n return true;\n }\n } else\n return false;\n }\n return false;\n }", "title": "" }, { "docid": "7acc204d4313d39085daba0f627e266d", "score": "0.5810837", "text": "private boolean canMoveDown() {\n \n //Shifting down means iterating beginning from the second row\n for(int row = 1; row < GRID_SIZE; row++)\n {\n for(int column = 0; column < GRID_SIZE; column++)\n {\n if(grid[row][column] == 0 && grid[row - 1][column] != 0)\n {\n return true;\n }\n \n if(grid[row][column] != 0 && grid[row - 1][column] != 0 \n && grid[row][column] == grid[row - 1][column])\n {\n return true;\n }\n }\n }\n return false;\n }", "title": "" }, { "docid": "6183464197aec64f29fd1b21d986a846", "score": "0.58107287", "text": "private boolean validDowUpMove(int start_y, int end_y, int x)\n\t{\n\t\t//create temp coord obj and give it x,y pairs between start spot and end spot (exclusive), if any of the temp coord objs is found in array, then invalid move\n\t\tfor(int y=start_y; y>end_y; y--)\n\t\t{\n\t\t\tCoordinate temp_obj=new Coordinate(x,y); //temp obj used to see if a piece is in movement path\n\t\t\tif(someoneThere(temp_obj))\n\t\t\t{\n\t\t\t\treturn false;//piece in movement path\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "3062c99467aa7537b58ad0c4142c11b3", "score": "0.58078176", "text": "public static boolean isValidMove(String direction) {\n if (direction.equals(\"up\")){\n if (xY - 1 < 0) {\n return false;\n }\n return true;\n } else if(direction.equals(\"down\")){\n if (xY + 1 > 3) {\n return false;\n }\n return true;\n } else if (direction.equals(\"left\")){\n if (xX - 1 < 0) {\n return false;\n }\n return true;\n } else if (direction.equals(\"right\")){\n if (xX + 1 > 3) {\n return false;\n }\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "51d9bd70ff0b041bc7cb38c20c0dd775", "score": "0.5784874", "text": "public boolean move(Location destination);", "title": "" }, { "docid": "b265d17b643f22c91a201f37c2b04f31", "score": "0.5778217", "text": "public boolean moveDown() {\n\t\tif (world.canSwim(this, x, y + 1)) {\n\t\t\tthis.y += 1;\n\t\t\tupdatePosition();\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "afea2ae8a8e36d964fbc9314a79b7796", "score": "0.57733715", "text": "private boolean canRecursivelyMoveTwoDirections(Point location) {\n int x = location.x;\n int y = location.y;\n return (x == 1 && y == 6) || (x == 0 && y == 1) || (x == 5 && y == 0) || (x == 6 && y == 5);\n }", "title": "" }, { "docid": "cd3c6e1ca2066ba97f67de365f0567fa", "score": "0.5768906", "text": "public boolean move(Direction direction) {\n\t//Depending on the passed in direction moves the tiles in \n\t//that direction and returns true if successful\n\n\tif (direction.getX() == 0 && direction.getY() == -1){\n\t\tif(this.canMoveUp()){\n\t\t this.moveUp();\n\t\t\treturn true;\n\n\t\t}\n\t}\n\n\tif(direction.getX() == 0 && direction.getY() == 1){\n\t\tif(this.canMoveDown()){\n\t\t\tthis.moveDown();\n\t\t\treturn true;\n\t\t}\n\t}\n\n\tif(direction.getX() == -1 && direction.getY() == 0){\n\t\tif(this.canMoveLeft()){\n\t\t\tthis.moveLeft();\n\t\t\treturn true;\n\t\t}\n\t}\n\n\tif(direction.getX() == 1 && direction.getY() == 0){\n\t\tif(this.canMoveRight()){\n\t\t\tthis.moveRight();\n\t\t\treturn true;\n\t\t}\n\t}\n return false;\n }", "title": "" }, { "docid": "b71e9f471588b90ec60b46ffac591ed2", "score": "0.57677525", "text": "boolean isValidMoveLocation(IHantoGameState state, HantoCoordinate location);", "title": "" }, { "docid": "e3cbe259a56749fa13274433504b0050", "score": "0.5755307", "text": "@Override\n public boolean validateMove(Player player, int oldX, int oldY, int newX, int newY) {\n System.out.println(\"Wszedł w validateMove z: \" + player.getNick() + \" \" +\n oldX + \" \" + oldY + \" \" + newX + \" \" + newY);\n\n if(!player.equals(players[currentPlayer])) {\n System.out.println(\"Zły gracz rusza\");\n return false;\n }\n\n Field [][] fields = getBoardFields();\n\n if(!player.equals(fields[oldX][oldY].getPlayer())) {\n // player must play only with its own pawns\n System.out.println(\"Gracz rusza nie swój pionek\");\n return false;\n }\n if(fields[newX][newY].getPlayer() != null) { // destination field must be empty\n System.out.println(\"Pole zajęte\");\n return false;\n }\n\n Field [] neighbours = fields[oldX][oldY].getNeighbours();\n\n if(newX == originalX && newY == originalY) {\n System.out.println(\"Poprawne cofnięcie z pola sąsiadującego\");\n setDefaults();\n return true;\n }\n\n if(allowFurtherMove) {\n if(!player.equals(lastPlayer)) {\n originalX = oldX;\n originalY = oldY;\n for (Field neighbour : neighbours) { // simple move validation\n if (fields[newX][newY].equals(neighbour)) {\n System.out.println(\"Poprawne pole sasiadujące\");\n lastPlayer = player;\n allowFurtherMove = false;\n return true;\n }\n }\n }\n\n for(int i = 0; i < neighbours.length; ++i) { // jump move validation\n if((neighbours[i] != null) &&\n (neighbours[i].getPlayer() != null)) {\n Field nextField = neighbours[i].getNeighbours()[i];\n if(nextField != null) {\n if(getBoardFields()[newX][newY].equals(nextField)) {\n System.out.println(\"Poprawny skok\");\n lastPlayer = player;\n return true;\n }\n }\n }\n }\n }\n\n System.out.println(\"Niepoprawny ruch\");\n return false;\n }", "title": "" }, { "docid": "a83a722b7d3eece319130f4aedaeadf1", "score": "0.5752926", "text": "static boolean isValidMove(char[][] arr, char direction,\n int[] hoOmanPos, int[] rockPos) {\n int nextPosHoOmanX, nextPosHoOmanY;\n int nextPosRockX, nextPosRockY;\n\n //checking valid input by player\n if (direction != 'U' &&\n direction != 'D' &&\n direction != 'L' &&\n direction != 'R') {\n System.out.println(\"You must enter a valid direction!\");\n return false;\n }\n\n //calculating new positions of character and rock\n switch (direction) {\n case 'U':\n nextPosHoOmanX = hoOmanPos[0] - 1;\n nextPosHoOmanY = hoOmanPos[1];\n if (nextPosHoOmanX < 0 ||\n arr[nextPosHoOmanX][nextPosHoOmanY] == '*') {\n return false;\n } else if (nextPosHoOmanX == rockPos[0] && nextPosHoOmanY == rockPos[1]) {\n nextPosRockX = rockPos[0] - 1;\n nextPosRockY = rockPos[1];\n if (nextPosRockX < 0 ||\n arr[nextPosRockX][nextPosRockY] == '*') {\n return false;\n } else {\n arr[hoOmanPos[0]][hoOmanPos[1]] = ' ';\n hoOmanPos[0] = nextPosHoOmanX;\n rockPos[0] = nextPosRockX;\n return true;\n }\n } else {\n arr[hoOmanPos[0]][hoOmanPos[1]] = ' ';\n hoOmanPos[0] = nextPosHoOmanX;\n return true;\n }\n case 'D':\n nextPosHoOmanX = hoOmanPos[0] + 1;\n nextPosHoOmanY = hoOmanPos[1];\n if (nextPosHoOmanX > arr.length - 1 ||\n arr[nextPosHoOmanX][nextPosHoOmanY] == '*') {\n return false;\n } else if (nextPosHoOmanX == rockPos[0] && nextPosHoOmanY == rockPos[1]) {\n nextPosRockX = rockPos[0] + 1;\n nextPosRockY = rockPos[1];\n if (nextPosRockX > arr.length - 1 ||\n arr[nextPosRockX][nextPosRockY] == '*') {\n return false;\n } else {\n arr[hoOmanPos[0]][hoOmanPos[1]] = ' ';\n hoOmanPos[0] = nextPosHoOmanX;\n rockPos[0] = nextPosRockX;\n return true;\n }\n } else {\n arr[hoOmanPos[0]][hoOmanPos[1]] = ' ';\n hoOmanPos[0] = nextPosHoOmanX;\n return true;\n }\n case 'L':\n nextPosHoOmanX = hoOmanPos[0];\n nextPosHoOmanY = hoOmanPos[1] - 1;\n if (nextPosHoOmanY < 0 ||\n arr[nextPosHoOmanX][nextPosHoOmanY] == '*') {\n return false;\n } else if (nextPosHoOmanX == rockPos[0] && nextPosHoOmanY == rockPos[1]) {\n nextPosRockX = rockPos[0];\n nextPosRockY = rockPos[1] - 1;\n if (nextPosRockY < 0 ||\n arr[nextPosRockX][nextPosRockY] == '*') {\n return false;\n } else {\n arr[hoOmanPos[0]][hoOmanPos[1]] = ' ';\n hoOmanPos[1] = nextPosHoOmanY;\n rockPos[1] = nextPosRockY;\n return true;\n }\n } else {\n arr[hoOmanPos[0]][hoOmanPos[1]] = ' ';\n hoOmanPos[1] = nextPosHoOmanY;\n return true;\n }\n case 'R':\n nextPosHoOmanX = hoOmanPos[0];\n nextPosHoOmanY = hoOmanPos[1] + 1;\n if (nextPosHoOmanY > arr[0].length - 1 ||\n arr[nextPosHoOmanX][nextPosHoOmanY] == '*') {\n return false;\n } else if (nextPosHoOmanX == rockPos[0] && nextPosHoOmanY == rockPos[1]) {\n nextPosRockX = rockPos[0];\n nextPosRockY = rockPos[1] + 1;\n if (nextPosRockY > arr[0].length - 1 ||\n arr[nextPosRockX][nextPosRockY] == '*') {\n return false;\n } else {\n arr[hoOmanPos[0]][hoOmanPos[1]] = ' ';\n hoOmanPos[1] = nextPosHoOmanY;\n rockPos[1] = nextPosRockY;\n return true;\n }\n } else {\n arr[hoOmanPos[0]][hoOmanPos[1]] = ' ';\n hoOmanPos[1] = nextPosHoOmanY;\n return true;\n }\n }\n\n return false;\n }", "title": "" }, { "docid": "08113f266868089880baa473819d862d", "score": "0.5752654", "text": "@Override\n\tpublic boolean canMove(int startX, int startY, int endX, int endY) {\n\t\t\n\t\tboolean okMovement=false;\n\t\tint moveLocationX=startX-endX;\n\t\tmoveLocationX=Math.abs(moveLocationX);\n\t\t\n\t\tint moveLocationY=startY-endY;\n\t\t\n\t\t//White pawn movement\n\t\tif(Chess.boardPosition[startX][startY].yesblack==false){\n\t\t\t\n\t\t//Various pawn movement rules\n\t\t\tif(moveLocationY==1 && moveLocationX==0){\n\n\t\t\t\t\tif(Chess.boardPosition[endX][endY]!=null){\n\t\t\t\t\t\n\t\t\t\t\t\tokMovement=false;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\telse{\n\t\t\t\t\t\tokMovement=true;\n\t\t\t\t\t}\n\t\t\t}\n\t\n\t\t\t//Allows for two space movement on first turn\n\t\t\tif(startY==6 && moveLocationY==2 && Chess.boardPosition[endX][endY]==null && moveLocationX==0){\n\t\t\t\tokMovement=true;\n\t\t\t\t//Stops it from jumping over a piece\n\t\t\t\tfor(int i=endY+1; i<startY; i++){\n\t\t\t\t\tif(Chess.boardPosition[startX][i]!=null){\n\t\t\t\t\t\tokMovement=false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t//Attacking rules\n\t\t\tif(moveLocationY==1 && moveLocationX==1){\n\t\t\t\t\n\t\t\t\tif(Chess.boardPosition[endX][endY].yesblack==true){\n\t\t\t\t\t\n\t\t\t\t\tokMovement=true;\n\t\t\t\t}\n\t\t\t\n\t\t\t\telse{\n\t\t\t\t\tokMovement=false;\n\t\t\t\t}\n\t\t\t\n\t\t\t}\n\t\t\t//Stops it from moving in a white piece\n\t\t\tif(Chess.boardPosition[endX][endY]!=null){\n\t\t\t\t\n\t\t\t\tif(Chess.boardPosition[endX][endY].yesblack==false){\n\t\t\t\t\t\n\t\t\t\t\tokMovement=false;\n\t\t\t\t}\n\t\t\t}\n\t\t\n\t\t}\n\t\t\n\t\t//Black pawn movement\n\t\tif(Chess.boardPosition[startX][startY].yesblack==true){\n\t\t\t//Various pawn movement rules\n\t\t\tif(moveLocationY==-1 && moveLocationX==0){\n\t\n\t\t\t\t\tif(Chess.boardPosition[endX][endY]!=null){\n\t\t\t\t\t\n\t\t\t\t\t\tokMovement=false;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\telse{\n\t\t\t\t\t\tokMovement=true;\n\t\t\t\t\t}\n\t\t\t}\n\t\t\t//Allows for two space movement on first turn\n\t\t\tif(startY==1 && moveLocationY==-2 && Chess.boardPosition[endX][endY]==null && moveLocationX==0){\n\t\t\t\tokMovement=true;\n\t\t\t\t//Stops it from jumping over a piece\n\t\t\t\tfor(int i=endY-1; i>startY; i--){\n\t\t\t\t\tif(Chess.boardPosition[startX][i]!=null){\n\t\t\t\t\t\tokMovement=false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t//Attacking rules\n\t\t\tif((moveLocationY==-1 && moveLocationX==1) && Chess.boardPosition[endX][endY]!=null){\n\t\t\t\t\n\t\t\t\tif(Chess.boardPosition[endX][endY].yesblack==false){\n\t\t\t\t\t\n\t\t\t\t\tokMovement=true;\n\t\t\t\t}\n\t\t\t\n\t\t\t\telse{\n\t\t\t\t\tokMovement=false;\n\t\t\t\t}\n\t\t\t\n\t\t\t}\n\t\t\t//Stops it from moving in a white piece\n\t\t\tif(Chess.boardPosition[endX][endY]!=null){\n\t\t\t\t\n\t\t\t\tif(Chess.boardPosition[endX][endY].yesblack==true){\n\t\t\t\t\t\n\t\t\t\t\tokMovement=false;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn okMovement;\n\t}", "title": "" }, { "docid": "2284630c29e0ed7d99d5d4bc18f4dc3c", "score": "0.57455593", "text": "private boolean isValidMove(int x, int y, int newX, int newY) {\n return 0 <= x && x < board.length \n && 0 <= y && y < board[x].length\n && 0 <= newX && newX < board.length \n && 0 <= newY && newY < board[newX].length\n && board[newX][newY] == EMPTY\n && board[(x + newX) / 2][(y + newY) / 2] == OCCUPIED\n && board[x][y] == OCCUPIED;\n \n }", "title": "" }, { "docid": "35188907a81fea7b456a37dd31767c90", "score": "0.57286596", "text": "private boolean movePawn(int position, int destination) {\n\n\t\tint rowPosition = position % 8;\n\t\tint firstMoveArrayPosition = 0;\n\n\t\tif (currentPlayer == WHITE_PLAYER && board[destination] >= BLACK_PAWN) {\n\t\t\t// Legal take\n\t\t\tfirstMoveArrayPosition = position % 8;\n\t\t\tif (rowPosition == 0) {\n\t\t\t\tif (destination == position + 9) {\n\t\t\t\t\tif (pawnFirstMoves[firstMoveArrayPosition]) {\n\t\t\t\t\t\tpawnFirstMoves[firstMoveArrayPosition] = false;\n\t\t\t\t\t\tpawnTurncounter[firstMoveArrayPosition] = getTurncounter();\n\t\t\t\t\t}\n\t\t\t\t\treturn move(position, destination);\n\t\t\t\t}\n\t\t\t} else if (rowPosition == 7) {\n\t\t\t\tif (destination == position + 7) {\n\t\t\t\t\tif (pawnFirstMoves[firstMoveArrayPosition]) {\n\t\t\t\t\t\tpawnFirstMoves[firstMoveArrayPosition] = false;\n\t\t\t\t\t\tpawnTurncounter[firstMoveArrayPosition] = getTurncounter();\n\t\t\t\t\t}\n\t\t\t\t\treturn move(position, destination);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (destination == position + 7) {\n\t\t\t\t\tif (pawnFirstMoves[firstMoveArrayPosition]) {\n\t\t\t\t\t\tpawnFirstMoves[firstMoveArrayPosition] = false;\n\t\t\t\t\t\tpawnTurncounter[firstMoveArrayPosition] = getTurncounter();\n\t\t\t\t\t}\n\t\t\t\t\treturn move(position, destination);\n\t\t\t\t} else if (destination == position + 9) {\n\t\t\t\t\tif (pawnFirstMoves[firstMoveArrayPosition]) {\n\t\t\t\t\t\tpawnFirstMoves[firstMoveArrayPosition] = false;\n\t\t\t\t\t\tpawnTurncounter[firstMoveArrayPosition] = getTurncounter();\n\t\t\t\t\t}\n\t\t\t\t\treturn move(position, destination);\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (currentPlayer == BLACK_PLAYER && board[destination] <= WHITE_QUEEN && board[destination] > BLANK) {\n\t\t\tfirstMoveArrayPosition = (position % 8) + 8;\n\t\t\t// Legal take\n\t\t\tif (rowPosition == 0) {\n\t\t\t\tif (destination == position - 7) {\n\t\t\t\t\tif (pawnFirstMoves[firstMoveArrayPosition]) {\n\t\t\t\t\t\tpawnFirstMoves[firstMoveArrayPosition] = false;\n\t\t\t\t\t\tpawnTurncounter[firstMoveArrayPosition] = getTurncounter();\n\t\t\t\t\t}\n\t\t\t\t\treturn move(position, destination);\n\t\t\t\t}\n\t\t\t} else if (rowPosition == 7) {\n\t\t\t\tif (destination == position - 9) {\n\t\t\t\t\tif (pawnFirstMoves[firstMoveArrayPosition]) {\n\t\t\t\t\t\tpawnFirstMoves[firstMoveArrayPosition] = false;\n\t\t\t\t\t\tpawnTurncounter[firstMoveArrayPosition] = getTurncounter();\n\t\t\t\t\t}\n\t\t\t\t\treturn move(position, destination);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (destination == position - 7) {\n\t\t\t\t\tif (pawnFirstMoves[firstMoveArrayPosition]) {\n\t\t\t\t\t\tpawnFirstMoves[firstMoveArrayPosition] = false;\n\t\t\t\t\t\tpawnTurncounter[firstMoveArrayPosition] = getTurncounter();\n\t\t\t\t\t}\n\t\t\t\t\treturn move(position, destination);\n\t\t\t\t} else if (destination == position - 9) {\n\t\t\t\t\tif (pawnFirstMoves[firstMoveArrayPosition]) {\n\t\t\t\t\t\tpawnFirstMoves[firstMoveArrayPosition] = false;\n\t\t\t\t\t\tpawnTurncounter[firstMoveArrayPosition] = getTurncounter();\n\t\t\t\t\t}\n\t\t\t\t\treturn move(position, destination);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (position >= 32 && position <= 39 && board[destination] == BLANK) {\n\t\t\tif (destination == position + 7) {\n\t\t\t\treturn enPassant(position, destination, rowPosition);\n\t\t\t} else if (destination == position + 9) {\n\t\t\t\treturn enPassant(position, destination, rowPosition);\n\t\t\t}\n\t\t} else if (position >= 24 && position <= 31 && board[destination] == BLANK) {\n\t\t\tif (destination == position - 7) {\n\t\t\t\treturn enPassant(position, destination, rowPosition);\n\t\t\t} else if (destination == position - 9) {\n\t\t\t\treturn enPassant(position, destination, rowPosition);\n\t\t\t}\n\t\t}\n\n\t\t// Check to see if this is a double or single move\n\t\tif (position >= 8 && position <= 15) {\n\t\t\tfirstMoveArrayPosition = position % 8;\n\t\t\tif (pawnFirstMoves[firstMoveArrayPosition]) {\n\t\t\t\t// Then white pawn double move is allowed\n\t\t\t\tif (board[destination] == BLANK) {\n\t\t\t\t\tif (destination == position + 8 || destination == position + 16) {\n\t\t\t\t\t\t// Change it so that its first move is now false\n\t\t\t\t\t\tpawnFirstMoves[firstMoveArrayPosition] = false;\n\t\t\t\t\t\tpawnTurncounter[firstMoveArrayPosition] = getTurncounter();\n\t\t\t\t\t\treturn move(position, destination);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (position >= 48 && position <= 55) {\n\t\t\tfirstMoveArrayPosition = (position % 8) + 8;\n\t\t\tif (pawnFirstMoves[firstMoveArrayPosition]) {\n\t\t\t\t// Then black pawn double move is allowed\n\t\t\t\tif (board[destination] == BLANK) {\n\t\t\t\t\tif (destination == position - 8 || destination == position - 16) {\n\t\t\t\t\t\tpawnFirstMoves[firstMoveArrayPosition] = false;\n\t\t\t\t\t\tpawnTurncounter[firstMoveArrayPosition] = getTurncounter();\n\t\t\t\t\t\treturn move(position, destination);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (board[position] == WHITE_PAWN) {\n\t\t\t// Then white pawn single move is allowed\n\t\t\tif (board[destination] == BLANK) {\n\t\t\t\tif (destination == position + 8) {\n\t\t\t\t\treturn move(position, destination);\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\t// Black pawn single move is allowed\n\t\t\tif (board[destination] == BLANK) {\n\t\t\t\tif (destination == position - 8) {\n\t\t\t\t\treturn move(position, destination);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "e0a4dcb149ea9b9c1487031d9b8c7fc9", "score": "0.57228184", "text": "private boolean isValidMove(int x, int y, int newX, int newY) {\n return 0 <= x && x < board.length\n && 0 <= y && y < board[x].length\n && 0 <= newX && newX < board.length\n && 0 <= newY && newY < board[newX].length\n && board[newX][newY] == EMPTY\n && board[(x + newX) / 2][(y + newY) / 2] == OCCUPIED\n && board[x][y] == OCCUPIED;\n\n }", "title": "" }, { "docid": "7912baad832394a93327481923f10a11", "score": "0.5716779", "text": "private boolean canMoveDown (){\n\t//goes through the grid to check if there is an empty space to move into\n\tfor(int i = 1; i < this.GRID_SIZE; i++){\n\t\tfor(int j = 0; j < this.GRID_SIZE; j++){\n\t\t\tif (this.grid[i][j] == 0){\n\t\t\t\tfor(int index = i - 1; index >= 0; index--){\n\t\t\t\t\tif(this.grid[index][j] > 0){\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t//checks if any tiles can combine\n\tfor(int i = 0; i < this.GRID_SIZE-1; i++){\n\t\tfor(int j = 0; j < this.GRID_SIZE; j++){\n\t\t\tif(this.grid[i][j] == this.grid[i+1][j] && this.grid[i][j] != 0){\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t}\n\treturn false;\n }", "title": "" }, { "docid": "477227e5ab99439fb620213c2cc098ab", "score": "0.57012624", "text": "public boolean moveUp() {\n\t\tif (world.canSwim(this, x, y - 1)) {\n\t\t\tthis.y -= 1;\n\t\t\tupdatePosition();\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "d302dfdaa68aaa70af7587c692f68243", "score": "0.5694599", "text": "private boolean isValidMove(int row, int col){\n\t\t//Move The Character to the space passed in if valid\n\t\tif (row <= maze.length - 1 && col <= maze[row].length - 1 && maze[row][col].getMapItem() == ' '){\n\t\t\tmaze[currentRow][currentCol].setMapItem('\\u0020');//Space\n\t\t\tmaze[currentRow][currentCol].setGoal(false);\n\n\t\t\tmaze[row][col].setMapItem('5');//Hero Char\t\n\t\t\tmaze[row][col].setGoal(true);\n\t\t\tSystem.out.println(\"Play new pos \" + maze[row][col]);\n\n\t\t\treturn true;\n\t\t}else{\t\t\t\n\t\t\tchar item = maze[row][col].getMapItem();\n\t\t\t//Pick up the Item if valid\n\t\t\tcheckItemFound(item, row, col);\t\t\t\n\t\t\treturn false; //Can't move\n\t\t}\n\t}", "title": "" }, { "docid": "f676c87fd74fb54481e6233877e67fad", "score": "0.568731", "text": "@Override\n public boolean canMove(Board board, int x, int y) {\n if (getCoordinatesX() - x == getCoordinatesY() - y\n || getCoordinatesX() - x == y - getCoordinatesY()) {\n int stepX = -1;\n int stepY = -1;\n int distance = getCoordinatesX() - x;\n if (getCoordinatesX() < x) {\n stepX = 1;\n distance *= -1;\n }\n if (getCoordinatesY() < y) {\n stepY = 1;\n }\n\n for (int i = 1; i < distance; i++) {\n for (int e = 0; e < board.getPieces().size(); e++) {\n if (board.getPieces().get(e).getCoordinatesX() == getCoordinatesX() + stepX * i\n && board.getPieces().get(e).getCoordinatesY()\n == getCoordinatesY() + stepY * i) {\n return false;\n }\n }\n }\n\n return true;\n }\n\n return false;\n }", "title": "" }, { "docid": "33d06000c8eaa2838f30fc276753be9b", "score": "0.5685998", "text": "public boolean isLegalMove(GoMove move)\n {\n \tint moveXY = move.getXY();\n \tif (moveXY==PASS || moveXY==RESIGN)\n \t\treturn true;\n \t\n \t// Check if the move is within range and on an empty point.\n\t\tif (moveXY<0 || moveXY>=MAX || _board.get(moveXY)!=EMPTY)\n\t\t\treturn false;\t\t\t\t\t// Occupied.\n\t\t\n\t\tbyte[] board = _board.getSingleArray(); // Can't use the board-model because it will trigger events.\n\t\tboard[moveXY] = move.getColor();\n\t\t\n\t\t// If the move has at least one liberty it's legal.\n\t\tif (hasLiberty(moveXY))\n\t\t{\n\t\t\tboard[moveXY] = EMPTY;\n\t\t\treturn true;\n\t\t}\n\n\t\tbyte otherColor = opposite(move.getColor());\n\t\tint left = left(moveXY);\n\t\tint right = right(moveXY);\n\t\tint above = above(moveXY);\n\t\tint below = below(moveXY);\n\n\t\t// A check is made if the move captures something, in which case it's not suicide.\n\t\tif ((_board.get(left)!=otherColor || hasLiberty(left))\n\t\t&& (_board.get(right)!=otherColor || hasLiberty(right))\n\t\t&& (_board.get(above)!=otherColor || hasLiberty(above)) \n\t\t&& (_board.get(below)!=otherColor || hasLiberty(below)))\n\t\t{\n\t\t\tboard[moveXY] = EMPTY;\n\t\t\treturn false; // No liberties, no capture. So it's suicide.\n\t\t}\n\t\t\n\t\t// Check for KO.\n\t\t// If the previous move captured a single stone and this move tries\n\t\t// to play at the point where that stone was captured, then it's ko,\n\t\t// given the previous tests that the move makes no other liberties.\n\t\tGoMove lastMove = getLastMove();\n\t\tif (lastMove!=null && !lastMove.isPass() && !lastMove.isResignation())\n\t\t{\n\t\t\tint lastMoveXY = lastMove.getXY();\n\t\t\tif (_board.get(left(lastMoveXY)) == otherColor\n\t\t\t || _board.get(right(lastMoveXY)) == otherColor\n\t\t\t || _board.get(above(lastMoveXY)) == otherColor\n\t\t\t || _board.get(below(lastMoveXY)) == otherColor)\n\t\t\t{\n\t\t\t\tboard[moveXY] = EMPTY;\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tif (lastMove.hasCaptives())\n\t\t\t{\n\t\t\t\tif (lastMove.getCaptives().peek()==moveXY)\n\t\t\t\t{\n\t\t\t\t\tboard[moveXY] = EMPTY;\n\t\t\t\t\treturn false; // Ko\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tboard[moveXY] = EMPTY;\n\t\treturn true;\n }", "title": "" }, { "docid": "5bf11866a1c28a482dc6fd85d9e5c52c", "score": "0.5685252", "text": "public boolean canMove(Direction direction) {\n if (direction == null) return false;\n // Calculate Coordinate after Displacement\n int pacmanRow = pacman.getRow() + direction.getY();\n int pacmanCol = pacman.getCol() + direction.getX();\n\n return pacmanRow >= 0 && pacmanRow < GRID_SIZE && pacmanCol >= 0 && pacmanCol < GRID_SIZE;\n }", "title": "" }, { "docid": "433dde2dc5dcfce7be9f48eb72179cb9", "score": "0.56804466", "text": "private boolean canMoveUp() {\n \n //Because it shifts up, ignores the last row\n for(int row = 0; row < (GRID_SIZE - 1); row++)\n {\n for(int column = 0; column < GRID_SIZE; column++)\n {\n //If the above tile is zero and the below is a value other than zero\n //return true as a move can be made\n if(grid[row][column] == 0 && grid[row + 1][column] != 0)\n {\n return true;\n }\n \n //If two adjacent tiles are the same value and neither are zero\n //return true as a move can be made\n if(grid[row][column] != 0 && grid[row + 1][column] != 0\n && grid[row][column] == grid[row + 1][column])\n {\n return true;\n }\n }\n }\n //if both checks fail, return false as a move can not be made\n return false;\n }", "title": "" }, { "docid": "3432ddf5e58786b76fb28114d5a6c7e3", "score": "0.5659778", "text": "@Override\n public boolean isInvalidPosition(int row, int col, int dir, Player p, int count) {\n\n if (!(col >= 0 && col <= 9 && row != -1 && dir != -1)) // Check valid input\n {\n return false;\n }\n\n int length = p.ships[count].getLength();\n\n // Check if off grid - Horizontal\n if (dir == 0) {\n int checker = length + col;\n //System.out.println(\"DEBUG: checker is \" + checker);\n if (checker > 10) {\n System.out.println(\"SHIP DOES NOT FIT\");\n return true;\n }\n }\n\n // Check if off grid - Vertical\n if (dir == 1) // VERTICAL\n {\n int checker = length + row;\n //System.out.println(\"DEBUG: checker is \" + checker);\n if (checker > 10) {\n System.out.println(\"SHIP DOES NOT FIT\");\n\n return true;\n }\n }\n\n // Check if overlapping with another ship\n if (dir == 0) // Hortizontal\n {\n // For each location a ship occupies, check if ship is already there\n for (int i = col; i < col + length; i++) {\n //System.out.println(\"DEBUG: row = \" + row + \"; col = \" + i);\n if (p.playerGrid.hasShip(row, i)) {\n System.out.println(\"THERE IS ALREADY A SHIP AT THAT LOCATION\");\n\n\n return true;\n }\n }\n } else if (dir == 1) // Vertical\n {\n // For each location a ship occupies, check if ship is already there\n for (int i = row; i < row + length; i++) {\n //System.out.println(\"DEBUG: row = \" + row + \"; col = \" + i);\n if (p.playerGrid.hasShip(i, col)) {\n\n System.out.println(\"THERE IS ALREADY A SHIP AT THAT LOCATION\");\n\n return true;\n }\n }\n }\n\n return false;\n }", "title": "" }, { "docid": "8f4f48c98ce3ad93102c26b366bc472c", "score": "0.56583375", "text": "public boolean move(Dir playerDirection) {\n\t\tif (playerDirection != null && checkDirection(playerDirection)) {\n\t\t\tsnPoints.add(new SnPoint(getHead(), playerDirection));\n\t\t} else {\n\t\t\tsnPoints.add(new SnPoint(getHead()));\n\t\t}\n\n\t\tif (collisionFail(getHead())) {\n\t\t\treturn false;\n\t\t}\n\n\t\tif (getHead().equals(apple)) {\n\t\t\tnextLevel();\n\t\t\tdropApple();\n\t\t} else {\n\t\t\tsnPoints.remove(0);\n\t\t}\n\n\t\treturn true;\n\t}", "title": "" }, { "docid": "fc2d5baa4294c9f7d5f534a3f7a518d2", "score": "0.5653182", "text": "public boolean solve() {\n\n\t\tLinkedStack<Coordinate> stack = new LinkedStack<>();\n\t\t\n\t\tstack.push(start);\n\n\t\twhile (!stack.isEmpty()) {\n\t\t\t\n\t\t\tint currentPlayerRow = stack.top().getRow();\n\t\t\tint currentPlayerCol = stack.top().getCol();\n\t\t\t\n\t\t\tif (map[currentPlayerRow+1][currentPlayerCol].getCoordinateValue() == 'F' || map[currentPlayerRow+1][currentPlayerCol].getCoordinateValue() == 'E') { //move down if free\n\t\t\t\t\n\t\t\t\tstack.push(map[currentPlayerRow+1][currentPlayerCol]);\n\t\t\t\tif (stack.top().getCoordinateValue() == 'E') {return true;}\n\t\t\t\tstack.top().setCoordinateValue('Q'); //'Q' indicates the current position of the player and is used to depict the path out of the maze.\n\t\t\t\tcontinue;\n\t\t\t\t\n\t\t\t} else if (map[currentPlayerRow-1][currentPlayerCol].getCoordinateValue() == 'F' || map[currentPlayerRow-1][currentPlayerCol].getCoordinateValue() == 'E') { //move up if free\n\t\t\t\t\n\t\t\t\tstack.push(map[currentPlayerRow-1][currentPlayerCol]);\n\t\t\t\tif (stack.top().getCoordinateValue() == 'E') {return true;}\n\t\t\t\tstack.top().setCoordinateValue('Q');\n\t\t\t\tcontinue;\n\t\t\t\t\n\t\t\t} else if (map[currentPlayerRow][currentPlayerCol+1].getCoordinateValue() == 'F' || map[currentPlayerRow][currentPlayerCol+1].getCoordinateValue() == 'E') { //move right if free\n\t\t\t\t\n\t\t\t\tstack.push(map[currentPlayerRow][currentPlayerCol+1]);\n\t\t\t\tif (stack.top().getCoordinateValue() == 'E') {return true;}\n\t\t\t\tstack.top().setCoordinateValue('Q');\n\t\t\t\tcontinue;\n\t\t\t\t\n\t\t\t} else if (map[currentPlayerRow][currentPlayerCol-1].getCoordinateValue() == 'F' || map[currentPlayerRow][currentPlayerCol-1].getCoordinateValue() == 'E') { //move left if free\n\t\t\t\t\n\t\t\t\tstack.push(map[currentPlayerRow][currentPlayerCol-1]);\n\t\t\t\tif (stack.top().getCoordinateValue() == 'E') {return true;}\n\t\t\t\tstack.top().setCoordinateValue('Q');\n\t\t\t\tcontinue;\n\t\t\t\t\n\t\t\t} else {\n\t\t\t\t\n\t\t\t\tstack.top().setCoordinateValue('C'); //'C' indicates a position representing a dead end\n\t\t\t\tstack.pop();\n\t\t\t\t\n\t\t\t}\n\n\t\t}\n\t\t\n\t\treturn false;\n\n\t}", "title": "" }, { "docid": "78ddbc0dfa31a74310d63f0d0389b969", "score": "0.56421775", "text": "private static boolean checkWin(Player p){\n // find king and check if he's in check\n King king = null;\n for (int i = 0; i < 8; i++) {\n for (int j = 0; j < 8; j++) {\n if(gameBoard.getBoard()[i][j].getPiece() instanceof King && gameBoard.getBoard()[i][j].getPiece().getColor().equals(p.getPlayerID()))\n king = (King)gameBoard.getBoard()[i][j].getPiece();\n }\n }\n // if king not in check, return false\n if(king != null && !king.getIsCheck())\n return false;\n\n String pColor = p.getPlayerID();\n // get list of all the pieces of the current player on the board\n List<Cell> piecesLeft = new ArrayList<>();\n for(int i = 0; i < 8; i++) {\n for(int j = 0; j < 8; j++){\n if(gameBoard.getBoard()[i][j].getPiece() != null && gameBoard.getBoard()[i][j].getPiece().getColor().equals(pColor))\n piecesLeft.add(gameBoard.getBoard()[i][j]);\n }\n }\n\n /*\n 1. now go through all pieces and their moves and simulate moves\n 2. if a valid move is found, quit and return false, and remove the flag from the king\n */\n boolean moveOutput;\n for(Cell c : piecesLeft)\n {\n for(int i = 0; i < 8; i++){\n for (int j = 0; j < 8; j++){\n Cell s, e;\n s = c;\n e = gameBoard.getBoard()[i][j];\n ChessPiece tempPiece = s.getPiece();\n ChessPiece tempEnd = e.getPiece();\n moveOutput = gameBoard.makeMove(p, s, e);\n // make the move and undo it, but these two lines causing issues\n // run with them and without\n gameBoard.getBoard()[s.getFile()][s.getRank()].setPiece(tempPiece);\n gameBoard.getBoard()[e.getFile()][e.getRank()].setPiece(tempEnd);\n // if the moveOutput is true, there is a possible move, ret false else\n if(moveOutput){\n //System.out.println(\"Check.\");\n return false;\n }\n\n }\n }\n }\n return true;\n }", "title": "" }, { "docid": "712d276d136d7b728ea95405e9c41c8c", "score": "0.563667", "text": "@Override\r\n public boolean canMoveTo(int currentX,int currentY,int destX,int destY){\r\n //System.out.println(\"Inside pawn\");\r\n boolean move1 = false;\r\n boolean move2 = false;\r\n \r\n\r\n if (this.getColor() == 0) {\r\n // System.out.println(\"Reverse Red Arrow\");\r\n //Move 1 tile downwards\r\n move1 =((currentX == destX) && (currentY - 1 == destY));\r\n //Move 2 tile downwards\r\n move2 = ((currentX == destX) && (currentY - 2 == destY));\r\n \r\n }else if (this.getColor() == 1){\r\n // System.out.println(\" Reverse Green Arrow\");\r\n //Move 1 tile upwards\r\n move1 = ((currentX == destX) && (currentY + 1 == destY));\r\n //Move 2 tile upwards\r\n move2 = ((currentX == destX) && (currentY + 2 == destY));\r\n }\r\n \r\n \r\n //Check if it's the same position\r\n boolean notSamePosition = !((currentX==destX) && (currentY==destY));\r\n // System.out.println(\"pawn can move to\"+(notSamePosition && (move1 || move2 || diagonal)));\r\n return notSamePosition && (move1 || move2);\r\n }", "title": "" }, { "docid": "7ffe69d38db9eaf52613ce261834ee7e", "score": "0.56350756", "text": "public boolean moveValid(int distance, int[] newXY, int[] playerXY, String direction) {\n\t\tif (collision(newXY) && isFurther(distance, newXY, playerXY)) {\n\t\t\tenemyMove(direction);\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "e31af2d7e04c1aa6d562be133d57a0dd", "score": "0.5629202", "text": "private boolean checkMovePossible(Tile[][] field){\n if(generatePossibleMoves(field) != null){\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "8532fcd558becfe1db23900af6cbb602", "score": "0.5627", "text": "private boolean explore(String prevMove) {\r\n if (rightM == totalM && rightC == totalC) {\r\n System.out.println(\"Solved!\\n\");\r\n return true; // if everyone is on the right side, problem is solved\r\n } else {\r\n // try all move permutations\r\n for (int m=0; m<=boatSize; m++) {\r\n for (int c=0; c<=boatSize - m; c++) { \r\n String currMove = m + \"m\" + c + \"c\";\r\n if (m == 0 && c == 0 || prevMove.equals(currMove)) {\r\n continue; // ignore 0m0c moves or moves that undo the last move\r\n }\r\n \r\n if (safeMove(m, c, moveNum)) {// check validity\r\n // make move\r\n moveBoat(m, c, moveNum);\r\n String dir;\r\n if (moveNum % 2 == 0) {\r\n dir = \"--->\";\r\n } else {\r\n dir = \"<---\";\r\n }\r\n System.out.printf(\"moving %dm and %dc %s\\n\", m, c, dir);\r\n moveNum += 1;\r\n System.out.println(toString());\r\n if (explore(currMove)) {\r\n solutionSequence += currMove + \" \" + dir + \" \\n\";\r\n return true;\r\n }\r\n \r\n // undo move\r\n moveNum -= 1;\r\n moveBoat(m, c, moveNum+1); // calling moveBoat with moveNum+1 results in the opposite move being applied \r\n System.out.println(\"undoing...\");\r\n System.out.println(toString()); \r\n } \r\n }\r\n }\r\n return false; \r\n } \r\n }", "title": "" }, { "docid": "fe26876383c63fd9ce9adfaf57e9c2da", "score": "0.5623778", "text": "public boolean checkValidPlacement(Direction direction) {\n\t\tswitch(direction) {\n\t\t\tcase Up :\n\t\t\t\tif (board.placeEntity(this, this.xCoordinate, this.yCoordinate - 1)) return true;\n\t\t\t\tbreak;\n\t\t\tcase Down :\n\t\t\t\tif (board.placeEntity(this, this.xCoordinate, this.yCoordinate + 1)) return true;\n\t\t\t\tbreak;\n\t\t\tcase Right :\n\t\t\t\tif (board.placeEntity(this, this.xCoordinate + 1, this.yCoordinate)) return true;\n\t\t\t\tbreak;\n\t\t\tcase Left :\n\t\t\t\tif (board.placeEntity(this, this.xCoordinate -1, this.yCoordinate)) return true;\n\t\t\t\tbreak;\n\t\tdefault:\n\t\t\tbreak;\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "ba1359dab2d09dae048131a083532021", "score": "0.56136465", "text": "@Override\n public boolean isValidMove(BoardStructure currBoard, int pieceI, int pieceJ,\n int destinationI, int destinationJ) {\n return ((transverseDiagonal(currBoard, destinationI, destinationJ, POSITIVE_DIRECTION,\n POSITIVE_DIRECTION) &&\n !sameTeamDiagonal(currBoard, destinationI, destinationJ, POSITIVE_DIRECTION,\n POSITIVE_DIRECTION)) ||\n transverseDiagonal(currBoard, destinationI, destinationJ, NEGATIVE_DIRECTION,\n NEGATIVE_DIRECTION) &&\n !sameTeamDiagonal(currBoard, destinationI, destinationJ, NEGATIVE_DIRECTION,\n NEGATIVE_DIRECTION));\n }", "title": "" }, { "docid": "bf1fbe00f82fb6a45cb15a74c42ea74a", "score": "0.56117666", "text": "private boolean canMoveUp (){\n\t//goes through the grid to check if there is an empty space to move into\n\tfor(int i = 0; i < this.GRID_SIZE-1; i++){\n\t\tfor(int j = 0; j < this.GRID_SIZE; j++){\n\t\t\tif (this.grid[i][j] == 0){\n\t\t\t\tfor(int index = i + 1; index < this.GRID_SIZE; index++){\n\t\t\t\t\tif(this.grid[index][j] > 0){\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t//checks if any tiles can combine\n\tfor(int i = 0; i < this.GRID_SIZE-1; i++){\n\t\tfor(int j = 0; j < this.GRID_SIZE; j++){\n\t\t\tif(this.grid[i][j] == this.grid[i+1][j] && this.grid[i][j] != 0){\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t}\n\treturn false;\n }", "title": "" }, { "docid": "277cc3f76626b18d8275626677465b1c", "score": "0.5602844", "text": "public boolean isValidMove(int xCurrent, int yCurrent,int xMove, int yMove, Player.colors color){\n boolean valid = false;\n if(xMove > 8 || yMove > 8){\n valid = false;\n }\n //move all diagonal ways\n else if(Math.abs(xMove - xCurrent) == Math.abs(yMove - yCurrent)){\n valid = true;\n }\n else {valid = false;}\n return valid;\n }", "title": "" }, { "docid": "e45ebaa0981a5d5ea83643a97c3abdd5", "score": "0.5599926", "text": "private boolean invalidMove(){\n for(int i =-1; i<=1;i++){\n for(int j =-1;j<=1;j++){\n if(getOneObjectAtOffset(i*width/2, j*height/2, Obstacle.class)!=null){\n return true;\n } \n } \n }\n return false;\n }", "title": "" }, { "docid": "3f631d40e6e21e69910a6225b16d640a", "score": "0.5591536", "text": "public boolean legalMove(Point currloc, int action){\n\n // new coordinates\n int newX = currloc.x + QLearning.indexToCoords(action).x; \n int newY = currloc.y + QLearning.indexToCoords(action).y;\n\n // is within bounding box\n if (newX > -1 && newX < grid.length && newY > -1 && newY < grid.length){\n\n // is not curr location, has not been visited, are no obstacles\n return action != 4 && grid[newY][newX].object != 'O';\n }\n return false;\n }", "title": "" }, { "docid": "3f8828cb71374ae8f044ba0353870ec9", "score": "0.5582392", "text": "@Override\r\n\tpublic boolean isAtExit() {\r\n\t\tint x = this.position[0];\r\n\t\tint y = this.position[1];\r\n\t\t\r\n\t\tif(this.inMaze(x, y)) {\r\n\t\t\tif(controller.getMazeConfiguration().getMazecells().isExitPosition(x, y)) {\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t\telse {\r\n\t\t\tthrow new RuntimeException(\"Not at a valid position\") ;\r\n\t\t}\r\n\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "173f2269248b264883cc16a26bd73626", "score": "0.557286", "text": "public boolean validMove(Move move){\n Position start = move.getStart();\n Position end = move.getEnd();\n\n ArrayList<Position> goodMoves = validMoves(move);\n ArrayList<Position> forceMoves = new ArrayList<>();\n\n //check if must choose piece capture jump.\n for (Position check : goodMoves) {\n if (Math.abs(start.getCell() - check.getCell()) == 2) {\n forceMoves.add(check);\n }\n }\n\n if (forceMoves.size() != 0) {\n goodMoves = forceMoves;\n moveAllowed = true;\n }\n\n for(Position check : goodMoves){\n //Position check = goodMoves.get(i);\n if (end.getRow() == check.getRow() && end.getCell() == check.getCell() && moveAllowed) {\n moveAllowed = false;\n return true;\n }\n } return false;\n }", "title": "" }, { "docid": "4aa5a8b8fe0b7b512bcc8090367469e4", "score": "0.5562602", "text": "public boolean posMove() {\n\t\tboolean result = false;\n\t\tint i = 0;\n\t\twhile(i < _boardSize && !result) {\n\t\t\tint j = 0;\n\t\t\twhile(j < _boardSize && !result) {\n\t\t\t\tif(i < _boardSize - 1) //Compara con el de abajo\n\t\t\t\t\tif(_board[i][j].getValue() == _board[i + 1][j].getValue()) result = true; \n\t\t\t\tif(j < _boardSize - 1)//Compara con el de la derecha\n\t\t\t\t\tif(_board[i][j].getValue() == _board[i][j + 1].getValue()) result = true; \n\t\t\t\tj++;\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\t\treturn result;\n\t}", "title": "" }, { "docid": "8ae0f8c6e2b0b26336ece711ecf04d42", "score": "0.5553693", "text": "public boolean canMove(Direction direction){\n\t//depending on the direction tests if the tiles can move in that \n\t//direction using helper methods\n\tif (direction.getX() == 0 && direction.getY() == -1){\n\t\tif(this.canMoveUp()){\n\t\t\treturn true;\n\t\t}\n\t}\n\n\tif(direction.getX() == 0 && direction.getY() == 1){\n\t\tif(this.canMoveDown()){\n\t\t\treturn true;\n\t\t}\n\t}\n\n\tif(direction.getX() == -1 && direction.getY() == 0){\n\t\tif(this.canMoveLeft()){\n\t\t\treturn true;\n\t\t}\n\t}\n\n\tif(direction.getX() == 1 && direction.getY() == 0){\n\t\tif(this.canMoveRight()){\n\t\t\treturn true;\n\t\t}\n\t}\n\treturn false; \n }", "title": "" }, { "docid": "5bb1b1339392dd02d37043a0bd108fa3", "score": "0.5552438", "text": "public boolean move(final Direction d, final Maze z) {\n if (d == Direction.Up) {\n if (this._curPos.getRow() - 1 >= 0 && !z.getMaze()[this._curPos.getRow() - 1][this._curPos.getCol()]) {\n this._curPos = new Position(this._curPos.getRow() - 1, this._curPos.getCol());\n return true;\n }\n }\n else if (d == Direction.Down) {\n if (this._curPos.getRow() + 1 < z.getMaze().length && !z.getMaze()[this._curPos.getRow() + 1][this._curPos.getCol()]) {\n this._curPos = new Position(this._curPos.getRow() + 1, this._curPos.getCol());\n return true;\n }\n }\n else if (d == Direction.Right) {\n if (this._curPos.getCol() + 1 < z.getMaze()[this._curPos.getRow()].length && !z.getMaze()[this._curPos.getRow()][this._curPos.getCol() + 1]) {\n this._curPos = new Position(this._curPos.getRow(), this._curPos.getCol() + 1);\n return true;\n }\n }\n else if (this._curPos.getCol() - 1 >= 0 && !z.getMaze()[this._curPos.getRow()][this._curPos.getCol() - 1]) {\n this._curPos = new Position(this._curPos.getRow(), this._curPos.getCol() - 1);\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "f08cac72301a4f1532a2354b558df3ff", "score": "0.55471534", "text": "@Test\n public void testValidMove() {\n \n // 1 space\n int newX = 0;\n int newY = 2;\n boolean expResult = true;\n boolean result = pawn.validMove(newX, newY);\n assertEquals(expResult, result);\n // 2 spaces\n newX = 0;\n newY = 3;\n expResult = true;\n result = pawn.validMove(newX, newY);\n assertEquals(expResult, result);\n // illegal 2 space\n pawn.y = 3;\n newX = 0;\n newY = 5;\n expResult = false;\n result = pawn.validMove(newX, newY);\n assertEquals(expResult, result);\n // illegal horizontal\n newX = 1;\n newY = 3;\n expResult = false;\n result = pawn.validMove(newX, newY);\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "af10077d11ad2a33199e480e2379eae9", "score": "0.55445445", "text": "public void move(int direction){\r\n \r\n boolean moveAble = false;\r\n \r\n if(direction==Display.MOVE_RIGHT){ \r\n if(shipX<invaderWidth-4*(playerShip.getColorGrid().length)){ \r\n this.shipX+=10;\t\r\n moveAble=true; \r\n }\r\n\t}else if(direction==Display.MOVE_LEFT){ \r\n if(shipX>(2*playerShip.getColorGrid().length)){ \r\n\t\tthis.shipX-=10;\t\r\n moveAble=true;\t \r\n }\r\n\t}\r\n\r\n if(moveAble){\r\n gameObjects.remove(playerShip);\r\n playerShip=new Ship(shipX,shipY);\t\r\n gameObjects.add(playerShip); \r\n }\r\n\r\n}", "title": "" }, { "docid": "c804e9df2ee19cf7ac3141d56014b583", "score": "0.55419844", "text": "private Position validMovesHelper(Move move, Position possibility, String direction){\n\n // get the values for the move move\n Position start = move.getStart();\n Row startRow = gameBoard[start.getRow()];\n Space startSpace = startRow.row[start.getCell()];\n\n // get the values for the possible move\n Row possibilityRow = gameBoard[possibility.getRow()];\n Space possibilitySpace = possibilityRow.row[possibility.getCell()];\n\n // if the possible space has a piece\n if (possibilitySpace.getPiece() != null) {\n // if the color of the pieces are different\n if (possibilitySpace.getPiece().getColor() != startSpace.getPiece().getColor()) {\n Position possibility3 = null;\n switch (direction) {\n // check if the jump is possible for up right space\n case \"UR\":\n if (possibility.getCell() < 7 && possibility.getRow() >= 1) {\n possibility3 = new Position(possibility.getRow() - 1, possibility.getCell() + 1);\n }\n break;\n // check if the jump is possible for up left space\n case \"UL\":\n if (possibility.getCell() >= 1 && possibility.getRow() >= 1) {\n possibility3 = new Position(possibility.getRow() - 1, possibility.getCell() - 1);\n }\n break;\n // check if the jump is possible for down left space\n case \"DL\":\n if (possibility.getCell() >= 1 && possibility.getRow() < 7) {\n possibility3 = new Position(possibility.getRow() + 1, possibility.getCell() - 1);\n }\n break;\n // check if the jump is possible for down right space\n case \"DR\":\n if (possibility.getCell() < 7 && possibility.getRow() < 7) {\n possibility3 = new Position(possibility.getRow() + 1, possibility.getCell() + 1);\n }\n break;\n }\n // if none of the jumps are valid\n if (possibility3 == null) {\n return null;\n }\n\n //get the values for the possible jump\n Row possibility3Row = gameBoard[possibility3.getRow()];\n Space possibility3Space = possibility3Row.row[possibility3.getCell()];\n\n // checks if a piece is in the possible space\n if (possibility3Space.getPiece() == null) { return possibility3; }\n else { return null; }\n }\n else { return null; }\n } else{\n if (!moveAllowed) { return null; }\n else { return possibility; }\n }\n }", "title": "" }, { "docid": "3a0208f317bc2d786ba361a03a65430a", "score": "0.55345976", "text": "public boolean goodMove(int next) { \n \t//System.out.println(\" Trying to move \" + generated(next));\n \tif ( ((lastMove == 0) && (next == 3)) || ((lastMove == 3) && (next == 0))) { \n \t\t//System.out.println(\" BAD MOVE. @ \" + array1 + \", \" + array2);\n \t\treturn false; \n \t}\n \t\n \tif ( ((lastMove == 2) && (next == 1)) || ((lastMove == 1) && (next == 2))) {\n \t\t//System.out.println(\" BAD MOVE. @ \" + array1 + \", \" + array2);\n \t\treturn false; \n \t}\n \t\n \tthis.nextMove = next; \n \treturn true; \n \t\t\n }", "title": "" }, { "docid": "6b916f587bcf057862e0a56f56f5e467", "score": "0.55295634", "text": "public boolean isValidMove(Move move, Player player) {\n\t\tint playerColor = ((MachinePlayer) player).PlayerColor();\n\t\tboolean result = true;\n\t\t\n\t\tswitch(move.moveKind) {\n\t\tcase 1:\t\t// if moveKind == ADD\n\t\t\tint addx1 = move.x1;\n\t\t\tint addy1 = move.y1;\n\t\t\tPair xcoordy1 = new Pair(addx1, addy1, playerColor);\n\t\t\t// if the move is both at a valid coordinate and satisfies the fourth rule,\n\t\t\t// return true, false otherwise.\n\t\t\treturn ((isValidCoordinate(xcoordy1)) && satisfiesFourthRule(xcoordy1));\n\t\t\t\n\t\tcase 2:\t\t// if moveKind == STEP\n\t\t\tint newx = move.x1;\n\t\t\tint oldx = move.x2;\n\t\t\tint newy = move.y1;\n\t\t\tint oldy = move.y2;\n\t\t\t//Pair xcoordy2 = new Pair(stepx2, stepy2, playerColor);\n\t\t\t// First set the old coordinates to EMPTY to see if placing the step piece\n\t\t\t// into the new coordinates would be valid.\n\t\t\tPair newCoord = new Pair(newx, newy, playerColor);\n\t\t\tif (GameBoard[oldx][oldy] == playerColor && newx != oldx && newy != oldy) {\n\t\t\t\t// the old coordinate actually belongs to the player\n\t\t\t\t// the old and new coordinates are different\n\t\t\t\tGameBoard[oldx][oldy] = EMPTY;\n\t\t\t\tif (isValidCoordinate(newCoord) && satisfiesFourthRule(newCoord)) {\n\t\t\t\t\t// the new coordinates are both valid and satisfy the fourth rule\n\t\t\t\t\t// reset the original coordinates and return true\n\t\t\t\t\tGameBoard[oldx][oldy] = playerColor;\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\t// otherwise undo the move and return false\n\t\t\t\t\tGameBoard[oldx][oldy] = playerColor;\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\telse {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\t\n\t\tdefault:\t\t// if moveKind == QUIT\n\t\t\tbreak;\t// move on\n\t\t}\n\t\t\n\t\treturn result;\n\t}", "title": "" }, { "docid": "b3e64482eb1fa0f7938cd525656419e8", "score": "0.55187064", "text": "public boolean moveWouldCauseCheck(int finalRow, int finalCol, ChessBoard board);", "title": "" }, { "docid": "d58871d74f603c6dfd505ca2ff29ccd8", "score": "0.55134696", "text": "public boolean isValidMove(int x, int y, int getX, int getY, final Tile[][] tiles) {\n // TODO Auto-generated method stub\n return false;\n }", "title": "" }, { "docid": "6b6459d9a3244742589572646535fff2", "score": "0.5503231", "text": "public boolean isPossibleMove (byte horizontalMove, byte verticalMove, byte xPosition, byte yPosition) {\n\t\tif (xPosition + horizontalMove >= 0 &&\n\t\t\t\txPosition + horizontalMove <= 7 &&\n\t\t\t\tyPosition + verticalMove >= 0 &&\n\t\t\t\tyPosition + verticalMove <= 7 &&\n\t\t\t\t!field[xPosition + horizontalMove][yPosition + verticalMove]) {\n\t\t\treturn true;\n\t\t} else\n\t\t\treturn false;\n\t}", "title": "" }, { "docid": "b7fefbdf195b48c83f1242adc62322cf", "score": "0.54996365", "text": "@Override\r\n\tpublic boolean isValidMove(int finalX, int finalY) {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "2f96d0894e87b15fd7db8547d7b092e1", "score": "0.54954964", "text": "public boolean canMove() {\n Grid<Actor> gr = getGrid();\n if (gr == null) {\n return false;\n }\n ArrayList<Location> possibleNext = getNext();\n if (possibleNext.size() == 0) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "66d198baa99ab8342db16e1aa6c02145", "score": "0.5481695", "text": "private boolean canMoveRight() {\n \n for(int row = 0; row < GRID_SIZE; row++)\n {\n //For shifting right, the first column is not used in shifting\n for(int column = 1; column < GRID_SIZE; column++)\n {\n if(grid[row][column] == 0 && grid[row][column - 1] != 0)\n {\n return true;\n }\n \n if(grid[row][column] != 0 && grid[row][column - 1] != 0\n && grid[row][column] == grid[row][column - 1])\n {\n return true;\n }\n }\n }\n return false;\n }", "title": "" }, { "docid": "61770c94f2aca47e4b0f9cf56a78bf58", "score": "0.5481178", "text": "public boolean moveIsAvailable(Point src) {\n\t\tPoint dest = new Point(src.x - 1, src.y - 1);\n\t\tif (isValidMove(src, dest)) return true;\n\t\tdest.x += 2;\n\t\tif (isValidMove(src, dest)) return true;\n\t\tdest.y += 2;\n\t\tif (isValidMove(src, dest)) return true;\n\t\tdest.x -= 2;\n\t\tif (isValidMove(src, dest)) return true;\n\t\t\n\t\tif (jumpIsAvailable(src)) return true;\n\t\t\n\t\treturn false;\n\t}", "title": "" }, { "docid": "b3eeeaffca2ca33e007915ba6eeabbbe", "score": "0.54779226", "text": "private boolean runAwayFromFight(){\n\t\tint possibleDirections[]=new int[8];\n\t\tif(!CritterWorld.occupied(this.x_coord+2,this.y_coord))\n\t\t\tpossibleDirections[0]=1;\n\t\tif(!CritterWorld.occupied(this.x_coord+2,this.y_coord+2))\n\t\t\tpossibleDirections[1]=1;\n\t\tif(!CritterWorld.occupied(this.x_coord,this.y_coord+2))\n\t\t\tpossibleDirections[2]=1;\n\t\tif(!CritterWorld.occupied(this.x_coord-2,this.y_coord+2))\n\t\t\tpossibleDirections[3]=1;\n\t\tif(!CritterWorld.occupied(this.x_coord-2,this.y_coord))\n\t\t\tpossibleDirections[4]=1;\n\t\tif(!CritterWorld.occupied(this.x_coord-2,this.y_coord-2))\n\t\t\tpossibleDirections[5]=1;\n\t\tif(!CritterWorld.occupied(this.x_coord,this.y_coord-2))\n\t\t\tpossibleDirections[6]=1;\n\t\tif(!CritterWorld.occupied(this.x_coord+2,this.y_coord-2))\n\t\t\tpossibleDirections[7]=1;\n\n\t\tfor (int i=0;i<possibleDirections.length;i++){\n\t\t\tif(possibleDirections[i]==1) {\n\t\t\t\trun(i);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}", "title": "" }, { "docid": "887733f4ae258ff15d4f1f274d4a4ed2", "score": "0.547773", "text": "public boolean checkForPossibleMoves()\n\n\t{\n\t\tfor (int row = 1; row < NO_OF_ROWS; row++)\n\t\t\tfor (int column = 1; column < NO_OF_COLUMNS; column++)\n\n\t\t\t{\n\t\t\t\t// two connected horizontally\n\t\t\t\tif (board[row][column] == board[row][column + 1]\n\t\t\t\t\t\t&& (board[row - 1][column + 2] == board[row][column] // upper-right\n\t\t\t\t\t\t\t\t|| board[row + 1][column + 2] == board[row][column] // lower-right\n\t\t\t\t\t\t\t\t|| board[row - 1][column - 1] == board[row][column] // upper-left\n\t\t\t\t\t\t\t\t|| board[row + 1][column - 1] == board[row][column] // lower-left\n\t\t\t\t\t\t\t\t|| column + 3 <= NO_OF_COLUMNS\n\t\t\t\t\t\t\t\t&& board[row][column + 3] == board[row][column] // right\n\t\t\t\t\t\t|| column - 2 >= 1\n\t\t\t\t\t\t\t\t&& board[row][column - 2] == board[row][column] // left\n\t\t\t\t\t\t))\n\t\t\t\t\treturn true;\n\n\t\t\t\t// one between two\n\t\t\t\tif (board[row][column] == board[row][column + 2]\n\t\t\t\t\t\t&& (board[row - 1][column + 1] == board[row][column] // upper\n\t\t\t\t\t\t|| board[row + 1][column + 1] == board[row][column] // lower\n\t\t\t\t\t\t))\n\t\t\t\t\treturn true;\n\n\t\t\t\t// two connected vertically\n\t\t\t\tif (board[row][column] == board[row + 1][column]\n\t\t\t\t\t\t&& (board[row - 1][column + 1] == board[row][column] // upper-right\n\t\t\t\t\t\t\t\t|| board[row + 2][column + 1] == board[row][column] // lower-right\n\t\t\t\t\t\t\t\t|| board[row - 1][column - 1] == board[row][column] // upper-left\n\t\t\t\t\t\t\t\t|| board[row + 2][column - 1] == board[row][column] // lower-left\n\t\t\t\t\t\t\t\t|| row - 2 >= 1\n\t\t\t\t\t\t\t\t&& (board[row - 2][column] == board[row][column])// upper\n\t\t\t\t\t\t|| row + 3 <= NO_OF_ROWS\n\t\t\t\t\t\t\t\t&& (board[row + 3][column] == board[row][column])// lower\n\t\t\t\t\t\t))\n\t\t\t\t\treturn true;\n\n\t\t\t\t// one between two\n\t\t\t\tif (board[row][column] == board[row + 2][column]\n\t\t\t\t\t\t&& (board[row + 1][column + 1] == board[row][column] // right\n\t\t\t\t\t\t|| board[row - 1][column - 1] == board[row][column] // left\n\t\t\t\t\t\t))\n\t\t\t\t\treturn true;\n\n\t\t\t}\n\t\treturn false;\n\n\t}", "title": "" }, { "docid": "23d9a94e5c017894a8fd253ec9465c61", "score": "0.54772073", "text": "private boolean canMoveTo(int y, int x, TYPE typePlayer){\n //X and Y passed to this method are from (0, SIZE-1)\n\n //----------------------\n int otherTypeInBetween=0;\n //horizontally forward\n if(x+1<SIZE) {\n for (int j = x + 1; j < SIZE; j++) {\n if (gameBoard.get(y).get(j).isFull() == false) {\n break;\n } else if (gameBoard.get(y).get(j).giveType().equals(typePlayer.name()) == false) {\n //unequal TYPEs\n otherTypeInBetween++;\n } else {\n //equal TYPEs\n if (otherTypeInBetween > 0) {\n// System.out.println(\"\\033[1;36m\"+\"--------1---the ones from before were accepted:: x= \"+X.valueOfInt(x)+ \" y= \"+(y+1)+\"is movable \"+\"\\033[0m\");\n return true;\n }\n break;\n }\n }\n }\n\n //horizontally backwards\n otherTypeInBetween=0;\n if(x>0) {\n for (int j = x-1; j>=0; j--){\n if(gameBoard.get(y).get(j).isFull() == false){\n break;\n }\n else if(gameBoard.get(y).get(j).giveType().equals(typePlayer.name()) == false){\n //unequal TYPEs\n otherTypeInBetween++;\n }else {\n //equal TYPEs\n if(otherTypeInBetween>0){\n// System.out.println(\"\\033[1;36m\"+\"--------2---the ones from before were accepted:: x= \"+X.valueOfInt(x)+ \" y= \"+(y+1)+\"is movable \"+\"\\033[0m\");\n return true;\n }\n break;\n }\n }\n }\n\n\n //----------------------\n //vertically forward\n otherTypeInBetween=0;\n if(y<SIZE-1){\n for (int j = y + 1; j < SIZE; j++) {\n if (gameBoard.get(j).get(x).isFull() == false) {\n break;\n } else if (gameBoard.get(j).get(x).giveType().equals(typePlayer.name()) == false) {\n //unequal TYPEs\n otherTypeInBetween++;\n } else {\n if (otherTypeInBetween > 0) {\n// System.out.println(\"\\033[1;36m\"+\"--------3---the ones from before were accepted:: x= \"+X.valueOfInt(x)+ \" y= \"+(y+1)+\"is movable \"+\"\\033[0m\");\n return true;\n }\n break;\n }\n }\n }\n\n //vertically backward\n otherTypeInBetween=0;\n if(y>0) {\n for (int j = y - 1; j >=0; j--) {\n if (gameBoard.get(j).get(x).isFull() == false) {\n break;\n } else if (gameBoard.get(j).get(x).giveType().equals(typePlayer.name()) == false) {\n //unequal TYPEs\n otherTypeInBetween++;\n } else {\n if (otherTypeInBetween > 0) {\n// System.out.println(\"\\033[1;36m\"+\"--------4---the ones from before were accepted:: x= \"+X.valueOfInt(x)+ \" y= \"+(y+1)+\"is movable \"+\"\\033[0m\");\n return true;\n }\n break;\n }\n }\n }\n\n\n //----------------------\n\n //daimeter forward(\\)\n otherTypeInBetween=0;\n if(y+1<SIZE&&x+1<SIZE) {\n for (int i = y + 1, j = x + 1; j < SIZE && i < SIZE; i++, j++) {\n if (gameBoard.get(i).get(j).isFull() == false) {\n break;\n } else if (gameBoard.get(i).get(j).giveType().equals(typePlayer.name()) == false) {\n //unequal TYPEs\n otherTypeInBetween++;\n } else {\n if (otherTypeInBetween > 0) {\n// System.out.println(\"\\033[1;36m\"+\"--------5---the ones from before were accepted:: x= \"+X.valueOfInt(x)+ \" y= \"+(y+1)+\"is movable \"+\"\\033[0m\");\n return true;\n }\n\n break;\n }\n }\n }\n\n //daimeter backward(\\)\n otherTypeInBetween=0;\n if(y>0&&x>0) {\n for (int i = y - 1, j = x - 1; j >=0 && i >= 0; i--, j--) {\n if (gameBoard.get(i).get(j).isFull() == false) {\n break;\n } else if (gameBoard.get(i).get(j).giveType().equals(typePlayer.name()) == false) {\n //unequal TYPEs\n otherTypeInBetween++;\n } else {\n if (otherTypeInBetween > 0) {\n// System.out.println(\"\\033[1;36m\"+\"--------6---the ones from before were accepted:: x= \"+X.valueOfInt(x)+ \" y= \"+(y+1)+\"is movable \"+\"\\033[0m\");\n return true;\n }\n break;\n }\n }\n }\n\n\n //diameter backward(/)\n otherTypeInBetween=0;\n if(x>0&&y<SIZE-1){\n for(int i=y+1 ,j=x-1;i<SIZE&&j>=0; i++, j-- ){\n if (gameBoard.get(i).get(j).isFull() == false) {\n break;\n } else if (gameBoard.get(i).get(j).giveType().equals(typePlayer.name()) == false) {\n //unequal TYPEs\n otherTypeInBetween++;\n } else {\n if (otherTypeInBetween > 0) {\n// System.out.println(\"\\033[1;36m\"+\"--------7---the ones from before were accepted:: x= \"+X.valueOfInt(x)+ \" y= \"+(y+1)+\"is movable \"+\"\\033[0m\");\n return true;\n }\n break;\n }\n }\n }\n\n //diameter backward(/)\n otherTypeInBetween=0;\n if(y>0&&x<SIZE-1){\n for(int i=y-1 ,j=x+1;j<SIZE&&i>=0; i--, j++ ){\n if (gameBoard.get(i).get(j).isFull() == false) {\n break;\n } else if (gameBoard.get(i).get(j).giveType().equals(typePlayer.name()) == false) {\n //unequal TYPEs\n otherTypeInBetween++;\n } else {\n if (otherTypeInBetween > 0) {\n// System.out.println(\"\\033[1;36m\"+\"--------8---the ones from before were accepted:: x= \"+X.valueOfInt(x)+ \" y= \"+(y+1)+\"is movable \"+\"\\033[0m\");\n return true;\n }\n break;\n }\n }\n }\n return false;\n }", "title": "" }, { "docid": "bfe597342a2e4f650195fae30f2720e4", "score": "0.5471102", "text": "@Override\n public boolean canMove() {\n Grid<Actor> gr = getGrid();\n if (gr == null) {\n return false;\n }\n Location loc = getLocation();\n /*\n * next1: the closest location of current location on current direction.\n * next2: the second location of current location on current direction.\n */\n Location next1 = loc.getAdjacentLocation(getDirection());\n Location next2 = next1.getAdjacentLocation(getDirection());\n if (!gr.isValid(next2)) {\n return false;\n }\n Actor neighbor2 = gr.get(next2);\n return (neighbor2 == null || neighbor2 instanceof Flower);\n // ok to move into empty location or onto flower\n // not ok to move onto any other actor\n }", "title": "" }, { "docid": "ff87de72884e2882328e5f8a1f2c8ae8", "score": "0.5469719", "text": "public boolean moveUp() {\n\t\t// first, see if we can move up\n\t\tPoint blank = findBlank();\n\t\tif (blank == null || blank.row == NUM_ROWS - 1) {\n\t\t\treturn false;\n\t\t}\n\t\t// move up\n\t\tgameBoard[blank.row][blank.col] = gameBoard[blank.row + 1][blank.col];\n\t\tgameBoard[blank.row + 1][blank.col] = 0;\n\t\treturn true;\n\t}", "title": "" }, { "docid": "aecc01183b050bc8285f8e427c704871", "score": "0.5467882", "text": "public boolean validRespawnPosition(Vector2 position, Direction direction) {\n Vector2 currPos = position;\n for (int step = 0; step < 3; step++) {\n if (hasPlayer(currPos)) {\n return false;\n }\n currPos = getNeighbourPosition(currPos, direction);\n }\n return !hasHole(position);\n }", "title": "" }, { "docid": "8154cfbc9ee1c50b59692414087d9e9c", "score": "0.5464527", "text": "@Test\n public void moveDifferentDirections() throws OccupiedWayException, ImpossibleMoveException, FigureNotFoundException {\n final Board board = new Board();\n final Figure bishop = new Bishop(board.getCell(0, 0));\n board.setupFigure(bishop);\n board.move(board.getCell(0, 0), board.getCell(7, 7));\n board.move(board.getCell(7, 7), board.getCell(3, 3));\n board.move(board.getCell(3, 3), board.getCell(2, 4));\n board.move(board.getCell(2, 4), board.getCell(4, 2));\n assertThat(board.isCellOccupied(board.getCell(4, 2)), is(equalTo(true)));\n }", "title": "" }, { "docid": "79ff1e1fe584bce8ffb0aa8939869d32", "score": "0.5461673", "text": "@Override\n\tpublic boolean makeMove(final ChessBoard board)\n\t{\n\t\treturn false;\n\t}", "title": "" }, { "docid": "46a3fa7fe2860781014db502203b1a09", "score": "0.5457093", "text": "private boolean rearrangementExists(int cellX, int cellY, int spanX, int spanY,\n\t\t\tint[] direction, View ignoreView, ItemConfiguration solution) {\n\t\tif (cellX < 0 || cellY < 0) {\n\t\t\treturn false;\n\t\t}\n\n\t\tmIntersectingViews.clear();\n\t\tmOccupiedRect.set(cellX, cellY, cellX + spanX, cellY + spanY);\n\n\t\t// Mark the desired location of the view currently being dragged.\n\t\tif (ignoreView != null) {\n\t\t\tCellAndSpan c = solution.map.get(ignoreView);\n\t\t\tif (c != null) {\n\t\t\t\tc.x = cellX;\n\t\t\t\tc.y = cellY;\n\t\t\t}\n\t\t}\n\t\tRect r0 = new Rect(cellX, cellY, cellX + spanX, cellY + spanY);\n\t\tRect r1 = new Rect();\n\t\tfor (View child : solution.map.keySet()) {\n\t\t\tif (child == ignoreView) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tCellAndSpan c = solution.map.get(child);\n\t\t\tLayoutParams lp = (LayoutParams) child.getLayoutParams();\n\t\t\tr1.set(c.x, c.y, c.x + c.spanX, c.y + c.spanY);\n\t\t\tif (Rect.intersects(r0, r1)) {\n\t\t\t\tif (!lp.canReorder) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\tmIntersectingViews.add(child);\n\t\t\t}\n\t\t}\n\n\t\t// First we try to find a solution which respects the push mechanic.\n\t\t// That is,\n\t\t// we try to find a solution such that no displaced item travels through\n\t\t// another item\n\t\t// without also displacing that item.\n\t\tif (attemptPushInDirection(mIntersectingViews, mOccupiedRect, direction, ignoreView,\n\t\t\t\tsolution)) {\n\t\t\treturn true;\n\t\t}\n\n\t\t// Next we try moving the views as a block, but without requiring the\n\t\t// push mechanic.\n\t\tif (addViewsToTempLocation(mIntersectingViews, mOccupiedRect, direction, false, ignoreView,\n\t\t\t\tsolution)) {\n\t\t\treturn true;\n\t\t}\n\n\t\t// Ok, they couldn't move as a block, let's move them individually\n\t\tfor (View v : mIntersectingViews) {\n\t\t\tif (!addViewToTempLocation(v, mOccupiedRect, direction, solution)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "27538aa81980beb0fbd3d1da34ca77be", "score": "0.54459894", "text": "public boolean isValidMove(int x, int y) {\r\n return x >= 0 && x < BoardSize && y >= 0 && y < BoardSize;\r\n }", "title": "" }, { "docid": "9f843ed5614b7c043b064aba157c2cf0", "score": "0.5440325", "text": "public boolean possibleMoveSpace(int x, int y, int xval, int yval)\n\t{\n\t\tif(board[xval][yval] != 0){\n\t\t\treturn false;\n\t\t}\n\t\tif(board[x][y] != 1){\n\t\t\tSystem.out.println(\"place (\" + x + \",\" + y + \") is -1, and therefore place(\" + x + \",\" + y + \") can't exist\");\n\t\t\treturn false;\n\t\t}\n\t\tif(xval>0&&xval<board[0].length){\n\t\t\tif(yval>0&&yval<board.length){\n\t\t\t\tif(x == xval){\n\t\t\t\t\tif(yval == y+2&&board[x][y+1] == 1){\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t\telse if(yval == y-2&&board[x][y-1] == 1){\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t\t//moves vertically\n\t\t\t\t}\n\t\t\t\telse if(y == yval){\n\t\t\t\t\tif(xval == x+2&&board[x+1][y] == 1){\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t\telse if(xval == x-2&&board[x-1][y] == 1){\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t\t//moves horizontally\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "afa7b84266c97d653354951a275e7468", "score": "0.5437934", "text": "public boolean isValidMove(int startRow, int startCol, int endRow, int endCol, String color)\n {\n boolean isValidMove = false; // boolean variable that is supposed to be returned as valid move or not\n // if the ending tile is valid and empty.\n if(isValidTile(endRow, endCol)) \n {\n if(boardState[endRow][endCol].equals(empty))\n {\n if(color.equals(red)) // logic for red color tiles\n {\n if(endRow - startRow == 1 && (endCol - startCol == 1 || startCol - endCol == 1))\n isValidMove = true;\n else if(endRow - startRow == 2 && (endCol - startCol == 2 || startCol - endCol == 2))\n {\n if(endCol > 0 && ((boardState[endRow - 1][endCol - 1].equals(black)) || (boardState[endRow - 1][endCol + 1].equals(black))))\n isValidMove = true;\n else if(boardState[endRow - 1][endCol + 1].equals(black))\n isValidMove = true;\n }\n else\n isValidMove = false;\n }\n\n if(color.equals(black)) // logic for black color tiles\n {\n if(startRow - endRow == 1 && (endCol - startCol == 1 || startCol - endCol == 1))\n isValidMove = true;\n else if(startRow - endRow == 2 && (endCol - startCol == 2 || startCol - endCol == 2))\n {\n if(endCol > 0 && ((boardState[endRow + 1][endCol - 1].equals(red)) || (boardState[endRow + 1][endCol + 1].equals(red))))\n isValidMove = true;\n else if(boardState[endRow + 1][endCol + 1].equals(red))\n isValidMove = true;\n\n }\n else\n isValidMove = false;\n }\n }\n else // if the end tile is not empty then it is not a valid move.\n isValidMove = false;\n }\n return isValidMove; // returns the boolean for valid move or not\n }", "title": "" }, { "docid": "29c948b095325409767a21da30e87fe4", "score": "0.543087", "text": "@Override\r\n public boolean validMove(int x, int y, boolean check, boolean color) {\r\n int validX = Math.abs(xPosition - x);\r\n int validY = Math.abs(yPosition - y);\r\n if(Board.turn() == this.color) {\r\n if(check) {\r\n if (this.color != color)\r\n return ((validX==1 && validY==2) || (validX==2 && validY==1) ? true : false);\r\n return false;\r\n }\r\n return ((validX==1 && validY==2) || (validX==2 && validY==1) ? true : false);\r\n }\r\n return false;\r\n }", "title": "" }, { "docid": "b9e8d62eacede8a935ad3b59d520d28e", "score": "0.54286593", "text": "@Override\n public boolean isValidSpecialMove(int nextRow, int nextCol) {\n int rowDisplacement = nextRow - this.row;\n int colDisplacement = nextCol - this.col;\n\n if(Math.abs(rowDisplacement) == Math.abs(colDisplacement)) {\n return this.isValidLeaping(rowDisplacement, colDisplacement);\n }\n return false;\n }", "title": "" }, { "docid": "92f7f46066aadcdb6d8b52ec2e390f7f", "score": "0.5423396", "text": "@Override\r\n\tpublic boolean canSeeExit(gui.Robot.Direction direction) throws UnsupportedOperationException {\r\n\t\tint x = this.position[0];\r\n\t\tint y = this.position[1];\r\n\t\t\r\n\t\tCardinalDirection checkDirection = this.directionToCD(direction);\r\n\t\t\r\n\t\twhile(inMaze(x,y)) { //while in the maze\r\n\t\t\tif(controller.getMazeConfiguration().getMazecells().hasWall(x,y,checkDirection)) { //if you hit a wall then you cannot see the exit presumably\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t\tif(controller.getMazeConfiguration().getMazecells().isExitPosition(x, y)) { \r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t\tx = stepInDirectionX(x, checkDirection);\r\n\t\t\ty = stepInDirectionY(y, checkDirection);\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "da052c1db52558f4147b041213926cc0", "score": "0.5415783", "text": "public abstract boolean move(int col, Piece playerPiece);", "title": "" }, { "docid": "017234a50b1b460ddd4546c86279316d", "score": "0.5413951", "text": "public boolean isPawnMoveValid(Location sourceLocation, Location targetLocation, Color color) {\n\n int xCurrent = sourceLocation.getxPos();\n int yCurrent = sourceLocation.getyPos();\n int xTarget = targetLocation.getxPos();\n int yTarget = targetLocation.getyPos();\n\n Piece targetPiece = pieceMap.get(targetLocation);\n\n\n boolean isValid = false;\n\n if (color == Color.WHITE) {\n if (xCurrent == xTarget & yTarget == yCurrent + 1 & targetPiece == null) {\n isValid = true;\n }\n\n if (Math.abs(xCurrent - xTarget) == 1 & yTarget == yCurrent + 1 & targetPiece != null) {\n if (targetPiece.getColor() != color) {\n isValid = true;\n }\n }\n }\n\n\n if (color == Color.BLACK) {\n if (xCurrent == xTarget & yTarget == yCurrent - 1 & targetPiece == null) {\n isValid = true;\n }\n\n if (Math.abs(xCurrent - xTarget) == 1 & yTarget == yCurrent - 1 & targetPiece != null) {\n if (targetPiece.getColor() != color) {\n isValid = true;\n }\n }\n }\n\n\n return isValid;\n }", "title": "" }, { "docid": "a63deb2d0d4d4f78083c0889ceb19691", "score": "0.54039264", "text": "@Override\n\tpublic boolean validMove ( int x, int y, int color ) {\n\t\t\tif (x >= 0 && x < gameBoard_.BOARD_SIZE &&\n\t\t\t\t\ty >= 0 && y < gameBoard_.BOARD_SIZE\n\t\t\t\t\t&& gameBoard_.check(0,x,y)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\telse { return false;} //if we reach this else, the move is invalid. \n\t\t}", "title": "" }, { "docid": "8f03a6b45659fce6be8f657348874213", "score": "0.5400333", "text": "@Override\n\tpublic boolean isMoveValid(int srcRow, int srcCol, int destRow, int destCol) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "099b50f1205fa998040e58f44eb91488", "score": "0.5398955", "text": "@Override\n public boolean isLegalMove(int row, int col) {\n if(row < 1 || row > 8 || col < 1 || col > 8){\n return false;\n }\n int diffCol = col - currCol;\n int diffRow = row - currRow;\n return(diffCol == diffRow);\n }", "title": "" }, { "docid": "27e9869daae46ffb608bfa3190b66ffe", "score": "0.5393992", "text": "public static boolean isValidMove(Movable m, String direction) {\n int x = m.getX();\n int y = m.getY();\n\n switch (direction) {\n case \"top\":\n x--;\n break;\n case \"bottom\":\n x++;\n break;\n case \"left\":\n y--;\n break;\n case \"right\":\n y++;\n break;\n default:\n return false;\n }\n\n if ((x >= 0 && x < LENGHT_X) && (y >= 0 && y < LENGHT_Y)) {\n return true;\n }\n\n return false;\n }", "title": "" }, { "docid": "5d93145e2180e1722040ed70c0fd03d1", "score": "0.53939307", "text": "public boolean isPuzzleFinishable(){\r\n \r\n Stack<Command> commandStack = new Stack<>();\r\n MPTile[][] grid = puzzle.getGrid().clone();\r\n String before = puzzle.toString();\r\n \r\n forAllEmpty(commandStack, grid);\r\n \r\n while(!commandStack.isEmpty()){\r\n Command current = commandStack.pop();\r\n execute(current);\r\n boolean gridLegal = puzzle.isLegal(current.getRow());\r\n //called here to avoid having ^ algorithm run twice\r\n if(puzzle.isPuzzleComplete() && gridLegal){\r\n System.out.print(\"After :\" + puzzle.toString() + \"\\n\");\r\n puzzle.clearMarkedTiles();\r\n System.out.print(\"Before :\" + before + \"\\n\");\r\n System.out.print(\"After :\" + puzzle.toString() + \"\\n\");\r\n return true;\r\n }else if(!gridLegal){\r\n if(!puzzle.evaluateGrid(current.getRow()) && current.getCommand() == CommandWord.MARKX){\r\n System.out.print(\"Before :\" + before + \"\\n\");\r\n System.out.print(\"After :\" + puzzle.toString() + \"\\n\");\r\n return false;\r\n }\r\n }\r\n } \r\n return false;\r\n }", "title": "" }, { "docid": "aa6e7a40522f1093f6e8a7373b919619", "score": "0.5391076", "text": "public boolean canMove(Direction direction) {\n\t\tboolean move = false;\n\n\t\tswitch (direction) {\n\t\t\tcase WEST:\n\t\t\t\tmove = this.ordinal() % 3 != 0;\n\t\t\t\tbreak;\n\t\t\tcase EAST:\n\t\t\t\tmove = this.ordinal() % 3 != 2;\n\t\t\t\tbreak;\n\t\t\tcase NORTH:\n\t\t\t\tmove = this.ordinal() > 2;\n\t\t\t\tbreak;\n\t\t\tcase SOUTH:\n\t\t\t\tmove = this.ordinal() < 6;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tassert false;\n\t\t}\n\n\t\treturn move;\n\t}", "title": "" }, { "docid": "aaddf057267f03cc0a14e7489944f086", "score": "0.5391074", "text": "private boolean moveDown(){\n \n for(int column = 0; column < GRID_SIZE; column++)\n {\n ArrayList<Integer> tempArray = new ArrayList<Integer>();\n int tileMultiplier = 2;\n int tileValue = 0;\n \n for(int row = 0; row < GRID_SIZE; row++)\n {\n if(grid[row][column] != 0)\n {\n tempArray.add(grid[row][column]);\n }\n }\n \n //Operates similar to the moveUp, but iterates in the opposite direction\n for(int i = (tempArray.size() - 1); i > 0; i--)\n {\n if(tempArray.get(i).equals(tempArray.get(i - 1)))\n {\n tileValue = (tileMultiplier * tempArray.get(i - 1));\n tempArray.set(i, tileValue);\n score = score + tileValue;\n tempArray.set(i - 1, 0);\n }\n }\n \n for(int j = 0; j < tempArray.size(); j++)\n {\n if(tempArray.get(j) == 0)\n {\n tempArray.remove(j);\n }\n }\n \n int addZero = (GRID_SIZE - tempArray.size());\n \n //Because it is shifting in the opposite direction as up, add zeroes\n //to the beginning of the arraylist rather than the end\n for(int k = 0; k < addZero; k++)\n {\n tempArray.add(0,0);\n }\n \n for(int row = 0; row < GRID_SIZE; row++)\n {\n grid[row][column] = tempArray.get(row);\n }\n \n } \n \n return true;\n \n }", "title": "" }, { "docid": "f9bff3f02374fa0c9d9401984a69bec9", "score": "0.5389606", "text": "private boolean canMove(int x, int y) {\n boolean result = false;\n if (x > 0 && y > 0 && x <= this.size && y <= this.size) {\n result = true;\n }\n return result;\n }", "title": "" }, { "docid": "b1fa0cbc26fdf122fe174f312744fd55", "score": "0.5384127", "text": "@Override\n\tpublic boolean isMoving() {\n\t\treturn !getPos().equals(targetPosition);\n\t}", "title": "" }, { "docid": "b3769b740462833e93bf5d47379a3b4f", "score": "0.53822863", "text": "private boolean canMoveRight (){\n\t//goes through the grid to check if there is an empty space to move into\n\tfor(int i = 0; i < this.GRID_SIZE; i++){\n\t\tfor(int j = 1; j < this.GRID_SIZE; j++){\n\t\t\tif (this.grid[i][j] == 0){\n\t\t\t\tfor(int index = j - 1; index >= 0; index--){\n\t\t\t\t\tif(this.grid[i][index] > 0){\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t//checks if any tiles can combine\n\tfor(int i = 0; i < this.GRID_SIZE; i++){\n\t\tfor(int j = 0; j < this.GRID_SIZE-1; j++){\n\t\t\tif(this.grid[i][j] == this.grid[i][j+1] && this.grid[i][j] != 0){\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t}\n\treturn false;\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "0c03b5fc80ec2cb23fd5c7afa84dee46", "score": "0.0", "text": "@Override\n\tpublic String globalInfo() {\n\t\treturn \"Weak VQRS evaluator, using the vaguely quantified fuzzy rough lower approximations.\\n\\n\"\n\t\t+ toString() + \"\\n\\n\" + getTechnicalInformation().toString();\n\t}", "title": "" } ]
[ { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.6681592", "text": "@Override\n public void otvori() {\n }", "title": "" }, { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.6681592", "text": "@Override\n public void otvori() {\n }", "title": "" }, { "docid": "ccbad2fe39581989696edf7ff479266d", "score": "0.65706384", "text": "private static void somrtinhg() {\n\t\t\r\n\t}", "title": "" }, { "docid": "4faa810505ebcb260aff0793654a731e", "score": "0.64830863", "text": "@Override\n\tpublic void refuel() {\n\t\t\n\t}", "title": "" }, { "docid": "646377f9a04958a6eeea1118fddba04e", "score": "0.64358324", "text": "@Override\n\tpublic void refuel() {\n\n\t}", "title": "" }, { "docid": "b62a7c8e0bb1090171742c543bf4b253", "score": "0.6373858", "text": "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "title": "" }, { "docid": "c63a11bb1bf0acb98a99c66ee94527a7", "score": "0.63142073", "text": "@Override\r\n\tpublic void ispeci() {\n\r\n\t}", "title": "" }, { "docid": "ccde520bca72caa0d77ef1b117291759", "score": "0.6233861", "text": "@Override\r\n\tpublic void osmossis() {\n\r\n\t}", "title": "" }, { "docid": "b941b399a338e8c204f1063e54a94824", "score": "0.6224095", "text": "public void mo7103g() {\n }", "title": "" }, { "docid": "9b8d94120800074e25f9674e2e960bd0", "score": "0.62156105", "text": "@Override\n public void curar() {\n\n }", "title": "" }, { "docid": "73d2e78e03547e3a30a40b196bae2c7d", "score": "0.61959624", "text": "@Override\r\n\tpublic void calificar() {\n\r\n\t}", "title": "" }, { "docid": "74a1be816f56189120d6d74f61abd8f9", "score": "0.6177264", "text": "@Override\n\tpublic void apagate() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "9674eaf92d88fa5ee1741a3c135f859c", "score": "0.609503", "text": "@Override\n\tpublic void Resert() {\n\n\t}", "title": "" }, { "docid": "c04e1693c791e5601b6d72a13641e7b1", "score": "0.60708153", "text": "@Override\n\tpublic void angriff() {\n\n\t}", "title": "" }, { "docid": "cce15f647f795017e06f2ca544477ccd", "score": "0.60667324", "text": "@Override\n\tpublic void chamCong() {\n\n\t}", "title": "" }, { "docid": "4a4d6ca4f76cf550f30a1b3469c5c600", "score": "0.6050197", "text": "@Override\n\tpublic void heilen() {\n\n\t}", "title": "" }, { "docid": "7aa6963c647c1b2028e2058b152485e1", "score": "0.60484", "text": "@Override\n\tpublic void generate() {\n\t\t\n\t}", "title": "" }, { "docid": "bdc1683df7d1d6b2d988cd3acab4903e", "score": "0.60398114", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "588ab475e29950e8a1944c4a28fe2189", "score": "0.6027122", "text": "public void mo7036d() {\n }", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6025444", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "770d423e40bf5782a700bc181e8b8a1e", "score": "0.6020569", "text": "@Override\n\tvoid init() {\n\t\t\n\t}", "title": "" }, { "docid": "792350939017ccf304337ff492e7db06", "score": "0.601073", "text": "@Override\n\tpublic void init() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "title": "" }, { "docid": "1f6ca7603428a226b143ebf504f69fdb", "score": "0.600875", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "06b59299a5db6a0902fdbf88e7826cfa", "score": "0.599773", "text": "private void naceSer() {\n\n\t}", "title": "" }, { "docid": "2ccd2a90144fab8b5fa71c58ca003352", "score": "0.5978821", "text": "@Override\n\tpublic void falar() {\n\t\t\n\t}", "title": "" }, { "docid": "0f6e1929716bfb216fb0d53f4c72c746", "score": "0.5975817", "text": "@Override\n\tpublic void hesapla() {\n\t\t\n\t}", "title": "" }, { "docid": "16a4669a2213802ac94829fc8d9946ff", "score": "0.5935147", "text": "@Override\n\t\tpublic void init() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59215844", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59215844", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "fede515c585b365b04aace2b909737cf", "score": "0.59062445", "text": "@Override\r\n\tvoid dibujar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5903432", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "7f91c82c66ced12c5b193d3c89d68e4c", "score": "0.5886334", "text": "@Override\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "8a51433116320d5ea7de338cae668e7e", "score": "0.5878679", "text": "@Override\n\tpublic void competir() {\n\t\t\n\t}", "title": "" }, { "docid": "69b1247a4afd513b9853da385d6f2d24", "score": "0.5865623", "text": "@Override\n\tpublic void resta() {\n\t\t\n\t}", "title": "" }, { "docid": "b8693030a2b5a0ed9423a2578e5d2a26", "score": "0.58643967", "text": "@Override\n\tpublic void toto() {\n\t\t\n\t}", "title": "" }, { "docid": "f3d9d337b86266fa06b6c124066ba10f", "score": "0.5853753", "text": "@Override\n\tpublic void suivant() {\n\n\t}", "title": "" }, { "docid": "ab2f45ed8ffa08a06ff449780f0ea9da", "score": "0.5835419", "text": "@Override\r\n\tpublic void ha() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9293596216c60e2004e0a8cfb950ad0f", "score": "0.5823172", "text": "@Override\r\n\tpublic void pripremi() {\n\r\n\t}", "title": "" }, { "docid": "1c223692b2a2bdbc36ebfa379064d28d", "score": "0.5800657", "text": "public void mo7102f() {\n }", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5791594", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5791594", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "8a33b8de7a2fdf8b7088903dc4a4cf5f", "score": "0.5779682", "text": "@Override\n\tpublic void affiche() {\n\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "c19a49911957739008b73b032429cb01", "score": "0.57708335", "text": "public void initalize() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1717024d52ad1ad5517c9f135ea71904", "score": "0.57634485", "text": "@Override\r\n\tprotected void initValue()\r\n\t{\n\r\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "598681cc815af7b9f96d5d7ce97e7b20", "score": "0.5756299", "text": "public void mo5669b() {\n }", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.57514423", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c13e6a1b7c130afa9fb0f34225bea4ef", "score": "0.5737521", "text": "protected void mo1555b() {\n }", "title": "" }, { "docid": "dbccea21c95a2d676935a3ea758b163e", "score": "0.57351506", "text": "@Override\r\n\tpublic void limpiar() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "94b0ced5bfd6c8796dfd708a164694df", "score": "0.5717778", "text": "@Override\n public void desplazarse() {\n }", "title": "" }, { "docid": "9a26c4906f8195084e9ec158504cab47", "score": "0.571633", "text": "@Override\n public void init() {\n \n }", "title": "" }, { "docid": "a1a79ff63f3eb784a0134fc70f7de913", "score": "0.57160354", "text": "@Override\n\tpublic void initdata() {\n\n\t}", "title": "" }, { "docid": "27e436f0a0c9200a542c73eabe9c3662", "score": "0.57140064", "text": "private void Met4() {\n\t\t\r\n\t}", "title": "" }, { "docid": "6c823d8b0c4f55d3f03359daefc39a00", "score": "0.5712678", "text": "@Override\n\tpublic void lanzar() {\n\n\t}", "title": "" }, { "docid": "15823e29a9b2fc554cc535992e0eacee", "score": "0.5709881", "text": "@Override\r\n\tpublic void initData() {\n\r\n\r\n\t}", "title": "" }, { "docid": "0694b71fd24e10a480fa3f3dcd28b3ca", "score": "0.570341", "text": "public void mo7243j() {\n }", "title": "" }, { "docid": "9b197585ec90d98a2e41d154a1678e4a", "score": "0.57023877", "text": "@Override\n protected void refreshInit() {\n \n }", "title": "" }, { "docid": "7aadbda143e84de0144f7a8dadde423d", "score": "0.5701947", "text": "@Override\n protected void initData() {\n\n }", "title": "" }, { "docid": "a3060192856bd2663b96bd0ef31d99fd", "score": "0.56853366", "text": "@Override\n\t\t\t\tpublic void refresh() {\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "c13ae19df69e3abfecf963fdcf9a29ee", "score": "0.568208", "text": "@Override\n\tpublic void c12() {\n\t\t\n\t}", "title": "" }, { "docid": "3207dcaa6322a2a59b6687b951ef91d7", "score": "0.5679023", "text": "@Override\n\tpublic void Damege() {\n\t\t\n\t}", "title": "" }, { "docid": "b1e3eb9a5b9dff21ed219e48a8676b34", "score": "0.5677706", "text": "@Override\n public void memoria() {\n \n }", "title": "" }, { "docid": "b1e3eb9a5b9dff21ed219e48a8676b34", "score": "0.5677706", "text": "@Override\n public void memoria() {\n \n }", "title": "" }, { "docid": "5d97082ad890b2df7c126438819d2c54", "score": "0.5665557", "text": "private void envejecer() {\n\t\t\n\t}", "title": "" }, { "docid": "8c203fbc4b35fbc9b64bf6b47d67d29a", "score": "0.56584716", "text": "@Override\n\tpublic void freshStart() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "4dc967945b63b3f9ccc200b50799205b", "score": "0.56479424", "text": "@Override\n\tprotected Item func_149866_i() {\n return null;\n }", "title": "" }, { "docid": "4701bace660096d78c2bf92bfe4b6dd4", "score": "0.5643848", "text": "@Override\n\t\t\t\t\tpublic Sequence sequence() {\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}", "title": "" }, { "docid": "8ce70d18e04299fa79dc9066550f3a42", "score": "0.56376165", "text": "@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "f2b0e20cc959024f21173c16e77430c4", "score": "0.5629117", "text": "@Override\n\tpublic void deneme() {\n\t\t\n\t}", "title": "" }, { "docid": "c54df76b32c9ed90efddc6fd149a38c7", "score": "0.5628332", "text": "@Override\n protected void init() {\n }", "title": "" }, { "docid": "892e81ba33fe99f590f49f4fd7ed10a8", "score": "0.5621647", "text": "private void init() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "412e5d9d9ceed77a8c31cb9312e427b3", "score": "0.5617086", "text": "public final void mo63019a() {\n }", "title": "" }, { "docid": "412e5d9d9ceed77a8c31cb9312e427b3", "score": "0.5617086", "text": "public final void mo63019a() {\n }", "title": "" }, { "docid": "1e530a3abecfdbdcf6f7ca4bd7294921", "score": "0.56150234", "text": "@Override\n\tpublic void andar() {\n\t\t\n\t}", "title": "" } ]
4627989aac80c6241981049f800fcd4b
Tests ls on a file
[ { "docid": "7f1ad782f339672c24c995504072442c", "score": "0.72026783", "text": "@Test\n public void testLsFile() {\n FileTree myTree = new FileTree();\n String[] paths = {};\n try {\n myTree.makeFile(\"/file\");\n } catch (NotDirectoryException | AlreadyExistException e) {\n fail(\"Could not create file\");\n }\n String result = \"\";\n try {\n result = myTree.ls(false, paths);\n } catch (InvalidPathException e1) {\n fail(\"Could not find the directories\");\n }\n\n assertEquals(result, \"Path at /: \\nfile\\n\");\n }", "title": "" } ]
[ { "docid": "bd92a1877bf5db449cd048640a230562", "score": "0.6368711", "text": "@Test\n public void testLsDirectoryDoesNotExist() {\n FileTree myTree = new FileTree();\n String[] paths = {\"file\"};\n String result = \"\";\n try {\n result = myTree.ls(false, paths);\n } catch (InvalidPathException e1) {\n assertTrue(true);\n }\n\n }", "title": "" }, { "docid": "1a9fb9755c68c5d179d2e14edd2b6290", "score": "0.6338843", "text": "@Test\n public void testLsDirectory() {\n FileTree myTree = new FileTree();\n String[] paths = {\"file\"};\n try {\n myTree.mkdir(paths);\n } catch (NotDirectoryException | AlreadyExistException e) {\n fail(\"Could not create file\");\n }\n String result = \"\";\n try {\n result = myTree.ls(false, paths);\n } catch (InvalidPathException e1) {\n fail(\"Could not find the directories\");\n }\n\n assertEquals(result, \"Path at file: \\n\");\n }", "title": "" }, { "docid": "c4ccd4a0bfea481466da608ce27452dd", "score": "0.6146233", "text": "@Test\n public void testLsDirectoryAndFile() {\n FileTree myTree = new FileTree();\n String[] paths = {\"file\"};\n try {\n myTree.mkdir(paths);\n } catch (NotDirectoryException | AlreadyExistException e) {\n fail(\"Could not create directory\");\n }\n String result = \"\";\n try {\n myTree.makeFile(\"file1\");\n } catch (NotDirectoryException | AlreadyExistException e) {\n fail(\"could not create file\");\n }\n String[] empty_path = {};\n try {\n result = myTree.ls(false, empty_path);\n } catch (InvalidPathException e1) {\n fail(\"Could not find the directories\");\n }\n\n assertEquals(result, \"Path at /: \\nfile\\nfile1\\n\");\n }", "title": "" }, { "docid": "8153c7bcea46cefd60a73c55eca0770c", "score": "0.6145896", "text": "@Test\n public void testLsDirectoryAndFileR() {\n FileTree myTree = new FileTree();\n String[] paths = {\"file\"};\n try {\n myTree.mkdir(paths);\n } catch (NotDirectoryException | AlreadyExistException e) {\n fail(\"Could not create directory\");\n }\n String result = \"\";\n try {\n myTree.makeFile(\"file1\");\n } catch (NotDirectoryException | AlreadyExistException e) {\n fail(\"could not create file\");\n }\n String[] empty_path = {};\n try {\n result = myTree.ls(true, empty_path);\n } catch (InvalidPathException e1) {\n fail(\"Could not find the directories\");\n }\n\n assertEquals(result, \"Path at /: \\nfile\\nfile1\\nPath at /file: \\n\");\n }", "title": "" }, { "docid": "6d502d2d2d21e7bacf9bcf002bf01b0d", "score": "0.6110226", "text": "String[] ls(String path) throws NoSuchPathException;", "title": "" }, { "docid": "944516589525beddb2b99a3d6d797e40", "score": "0.610716", "text": "public static native FileStatus lstat(String path) throws IOException;", "title": "" }, { "docid": "d40ca64019e0951c1fa601343226f6f5", "score": "0.5825922", "text": "List<File> list(String directory) throws FindException;", "title": "" }, { "docid": "5c825160841d8d147451b43f10b7cf4d", "score": "0.5792441", "text": "public List listFiles(String path);", "title": "" }, { "docid": "fff83fc0bd1125c5a973a15a46f99e9e", "score": "0.5677888", "text": "@Test\n public void testListStatusACL() throws IOException {\n String testfilename = \"testFileACL\";\n String childDirectoryName = \"testDirectoryACL\";\n TEST_DIR.mkdirs();\n File infile = new File(TEST_DIR, testfilename);\n final byte[] content = \"dingos\".getBytes();\n\n try (FileOutputStream fos = new FileOutputStream(infile)) {\n fos.write(content);\n }\n assertEquals(content.length, infile.length());\n File childDir = new File(TEST_DIR, childDirectoryName);\n childDir.mkdirs();\n\n Configuration conf = new Configuration();\n ConfigUtil.addLink(conf, \"/file\", infile.toURI());\n ConfigUtil.addLink(conf, \"/dir\", childDir.toURI());\n conf.setBoolean(Constants.CONFIG_VIEWFS_MOUNT_LINKS_AS_SYMLINKS, false);\n try (FileSystem vfs = FileSystem.get(FsConstants.VIEWFS_URI, conf)) {\n assertEquals(ViewFileSystem.class, vfs.getClass());\n FileStatus[] statuses = vfs.listStatus(new Path(\"/\"));\n\n FileSystem localFs = FileSystem.getLocal(conf);\n FileStatus fileStat = localFs.getFileStatus(new Path(infile.getPath()));\n FileStatus dirStat = localFs.getFileStatus(new Path(childDir.getPath()));\n\n for (FileStatus status : statuses) {\n if (status.getPath().getName().equals(\"file\")) {\n assertEquals(fileStat.getPermission(), status.getPermission());\n } else {\n assertEquals(dirStat.getPermission(), status.getPermission());\n }\n }\n\n localFs.setPermission(new Path(infile.getPath()),\n FsPermission.valueOf(\"-rwxr--r--\"));\n localFs.setPermission(new Path(childDir.getPath()),\n FsPermission.valueOf(\"-r--rwxr--\"));\n\n statuses = vfs.listStatus(new Path(\"/\"));\n for (FileStatus status : statuses) {\n if (status.getPath().getName().equals(\"file\")) {\n assertEquals(FsPermission.valueOf(\"-rwxr--r--\"),\n status.getPermission());\n assertFalse(status.isDirectory());\n } else {\n assertEquals(FsPermission.valueOf(\"-r--rwxr--\"),\n status.getPermission());\n assertTrue(status.isDirectory());\n }\n }\n }\n }", "title": "" }, { "docid": "5bdd3572eaa4c123a229eebf68b0b05b", "score": "0.5659487", "text": "public static native FileStatus stat(String path) throws IOException;", "title": "" }, { "docid": "3be0385e475d354681b3148faf03de97", "score": "0.56538576", "text": "@Test\n public void listFilesTest() throws ApiException {\n Integer devid = null;\n String path = null;\n List<FileOnDevice> response = api.listFiles(devid, path);\n\n // TODO: test validations\n }", "title": "" }, { "docid": "4ef4659594f16db93ccca3672c502360", "score": "0.56351596", "text": "public void test() {\n\t\tFile file = new File(\"/home/students/\");\r\n\t\t\r\n\t\tString[] list = file.list(new FilenameFilter() {\r\n\t\t\tpublic boolean accept(File dir, String name) {\r\n\t\t\t\tif (name.toLowerCase().endsWith(\".py\")) {\r\n\t\t\t\t\treturn true;\r\n\t\t\t\t} else {\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\tfor (String f : list) {\r\n\t\t\tSystem.out.println(f);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "70795a482b844a5e501da0ee9b4977ff", "score": "0.5574886", "text": "public static void Java_ls(File dir, String display_method, String sort_method) {\n // TODO: list files\n File[] list = dir.listFiles();\n if (display_method==null&&sort_method==null){\n for (File file:list){\n System.out.println(file.getName());\n }\n }\n // list file properties\n else if (display_method.equalsIgnoreCase(\"property\")){\n if (sort_method!=null){\n list = sortFileList(list, sort_method);\n }\n for (File file:list){\n System.out.println(file.getName()+\" Size: \"+file.length()+\" Last Modified: \"+(new Date(file.lastModified())).toString());\n }\n }\n }", "title": "" }, { "docid": "0eb8bf1cd686cd2252578a9c1c0fdd24", "score": "0.5566785", "text": "public abstract List<File> listFiles() throws AccessException;", "title": "" }, { "docid": "f9b84b1d03e35306ca8648057fff1ecb", "score": "0.5556951", "text": "List readFile(String pathToFile);", "title": "" }, { "docid": "949a6e78d1ea6fcf511f0e59112e9fc9", "score": "0.5532404", "text": "private String[] nlstHelper(String args) {\n // Construct the name of the directory to list.\n String filename = currDirectory;\n if (args != null) {\n filename = filename + fileSeparator + args;\n }\n\n // Now get a File object, and see if the name we got exists and is a\n // directory.\n File f = new File(filename);\n\n if (f.exists() && f.isDirectory()) {\n return f.list();\n } else if (f.exists() && f.isFile()) {\n String[] allFiles = new String[1];\n allFiles[0] = f.getName();\n return allFiles;\n } else {\n return null;\n }\n }", "title": "" }, { "docid": "b09c9e0749abb640eb051ade19952747", "score": "0.54945445", "text": "protected void handleLs() {\r\n\t\tSystem.out.printf(\"Listing available files.%n\");\r\n\r\n\t\tFile[] availableFiles = new File(fileBase).listFiles();\r\n\r\n\t\tif (availableFiles == null) {\r\n\t\t\tSystem.err.printf(\"%s is not a directory.%n\", fileBase);\r\n\t\t\tsendMessage(String.valueOf(ERROR));\r\n\t\t} else {\r\n\t\t\tsendMessage(String.valueOf(availableFiles.length));\r\n\r\n\t\t\t/* send each file name */\r\n\t\t\tfor (File file : availableFiles) {\r\n\t\t\t\tsendMessage(file.getName());\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "d1c672d0436d0a2ab97d04eba4b2067d", "score": "0.5477227", "text": "@Test\n public void testLsDirectoryAndFileRSub() {\n FileTree myTree = new FileTree();\n String[] paths = {\"file\", \"file/file1\", \"file/file2\", \"file/file1/file3\"};\n try {\n myTree.mkdir(paths);\n } catch (NotDirectoryException | AlreadyExistException e) {\n fail(\"Could not create directory\");\n }\n String result = \"\";\n try {\n myTree.makeFile(\"fileA\");\n } catch (NotDirectoryException | AlreadyExistException e) {\n fail(\"could not create file\");\n }\n try {\n myTree.cd(\"/file/file1\");\n } catch (NotDirectoryException e) {\n fail(\"could not cd into directory\");\n }\n try {\n myTree.makeFile(\"fileB\");\n } catch (NotDirectoryException | AlreadyExistException e) {\n fail(\"could not create file\");\n }\n try {\n myTree.cd(\"/file/file1/file3\");\n } catch (NotDirectoryException e) {\n fail(\"could not cd into directory\");\n }\n try {\n myTree.makeFile(\"fileC\");\n } catch (NotDirectoryException | AlreadyExistException e) {\n fail(\"could not create file\");\n }\n try {\n myTree.cd(\"/\");\n } catch (NotDirectoryException e) {\n fail(\"could not cd into directory\");\n }\n String[] empty_path = {};\n try {\n result = myTree.ls(true, empty_path);\n } catch (InvalidPathException e1) {\n fail(\"Could not find the directories\");\n }\n\n assertEquals(result, \"Path at /: \\nfile\\nfileA\\nPath at /file: \"\n + \"\\nfile1\\nfile2\\nPath at /file/file1: \\nfile3\\nfileB\\nPath at \"\n + \"/file/file1/file3: \\nfileC\\nPath at /file/file2: \\n\");\n }", "title": "" }, { "docid": "319f417e5806dcb864deaa0950999b0e", "score": "0.54214305", "text": "public List<LsFileEntry> lsFiles() \n \tthrows CorruptObjectException, IOException {\n \t\tMap<String, LsFileEntry> cachedEntries = new TreeMap<String, LsFileEntry>(); \n \t\t\n \t\t//first read all the files which are the Index\n \t\tfinal DirCache cache = DirCache.read(db);\n \t\tfor (int i = 0; i < cache.getEntryCount(); i++) {\n \t\t\tfinal DirCacheEntry ent = cache.getEntry(i);\n \t\t\t\n \t\t\t//X TODO this is surely not enough ;)\n \t\t\tLsFileStatus fs = LsFileStatus.CACHED;\n \t\t\tLsFileEntry fileEntry = new LsFileEntry(ent.getPathString(), fs, ent.getObjectId());\n \t\t\tcachedEntries.put(ent.getPathString(), fileEntry);\n \t\t}\n \n \t\t// now read all the files on the disk\n \t\tSet<String> filesOnDisk = new TreeSet<String>(); \n \t\tFile workDir = db.getWorkDir();\n \t\taddFiles(filesOnDisk, \"\", workDir);\n \t\t\n \t\t// and now compare them. since both are already sorted because we used TreeMap and TreeSort\n \t\t// we can simply crawl over them end compare them. kind of a merge sort though...\n \t\tArrayList<LsFileEntry> fileEntries = new ArrayList<LsFileEntry>();\n \n \t\tIterator<String> cacheIt = cachedEntries.keySet().iterator();\n \t\tIterator<String> fileIt = filesOnDisk.iterator();\n \t\t\n \t\tString cachedPath = null;\n \t\tString fsPath = null;\n \t\twhile (cacheIt.hasNext() || fileIt.hasNext()) {\n \t\t\t\n \t\t\tif (cachedPath == null && cacheIt.hasNext()) {\n \t\t\t\tcachedPath = cacheIt.next();\n \t\t\t}\n \t\t\t\n \t\t\tif (fsPath == null && fileIt.hasNext()) {\n \t\t\t\tfsPath = fileIt.next();\n \t\t\t}\n \t\t\t\n \t\t\tif (cachedPath != null && cachedPath.equals(fsPath)) {\n \t\t\t\t// oh found in both systems\n \t\t\t\tfileEntries.add(cachedEntries.get(cachedPath));\n \t\t\t\tcachedPath = null;\n \t\t\t\tfsPath = null;\n \t\t\t\tcontinue;\n \t\t\t}\n \t\t\t\n \t\t\tif (cachedPath != null && !fileEntries.contains(cachedPath)) {\n \t\t\t\tfileEntries.add(new LsFileEntry(cachedPath, LsFileStatus.REMOVED, null));\n \t\t\t\tcachedPath = null;\n \t\t\t\tcontinue;\n \t\t\t}\n \t\t\t\n \t\t\tif (fsPath != null && !cachedEntries.keySet().contains(fsPath)) {\n \t\t\t\tfileEntries.add(new LsFileEntry(fsPath, LsFileStatus.OTHER, null));\n \t\t\t\tfsPath = null;\n \t\t\t\tcontinue;\n \t\t\t}\n \t\t\t\n \t\t\tcachedPath = null;\n \t\t\tfsPath = null;\n \t\t\t\n \t\t}\n \t\t\n \t\treturn fileEntries;\n \t}", "title": "" }, { "docid": "7e3fe5aff68165265733dc749ac1de34", "score": "0.5416297", "text": "public String[] listFiles() throws FileSystemUtilException \r\n\t{\r\n\t\tString remoteDir = null;\r\n\t\tString remoteFileName = null;\r\n\t\tString command = null;\r\n\t\tint signal = -1;\r\n\t\tlogger.debug(\"Begin: \"+getClass().getName()+\":listFiles()\");\r\n\t\t\r\n\t\ttry\r\n\t\t{\r\n\t\t\tconnect(); \r\n\t\t\t\r\n\t\t\tint lastSeperatorIndex = -1;\r\n\t\r\n\t\t\tif(remoteFilePath.lastIndexOf(\"/\") != -1){\r\n\t\t\t\tlastSeperatorIndex = remoteFilePath.lastIndexOf(\"/\");\r\n\t\t\t}else if(remoteFilePath.lastIndexOf(\"\\\\\") != -1){\r\n\t\t\t\tlastSeperatorIndex = remoteFilePath.lastIndexOf(\"\\\\\");\r\n\t\t\t}\r\n\t\t\tif(lastSeperatorIndex == remoteFilePath.length()-1)\r\n\t\t\t{\r\n\t\t\t\tremoteDir = remoteFilePath;\r\n\t\t\t\tremoteFileName = \"\";\r\n\t\t\t\tlogger.debug(\"file path ends with / - directory is \"+remoteDir+\" , filename is \"+remoteFileName);\r\n\t\t\t\tcommand = \"cd \"+remoteDir;\t\t\t\r\n\t\t\t\tsignal = executeSimpleCommand(command);\r\n\t\r\n\t\t\t\tif(signal != 0)\r\n\t\t\t\t{\r\n\t\t\t\t\t//invlid directory/file\r\n\t\t\t\t\tthrow new FileSystemUtilException(\"ET0017\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tremoteDir = remoteFilePath.substring(0,lastSeperatorIndex+1);\r\n\t\t\t\tremoteFileName = remoteFilePath.substring(lastSeperatorIndex+1,remoteFilePath.length());\r\n\t\t\t\tlogger.debug(\"file path not ends with / - directory is \"+remoteDir+\" , filename is \"+remoteFileName);\r\n\t\t\t\tcommand = \"cd \"+remoteDir;\r\n\t\t\t\tsignal = executeSimpleCommand(command);\r\n\t\t\t\tif(signal != 0)\r\n\t\t\t\t{\r\n\t\t\t\t\t//invlid directory/file\r\n\t\t\t\t\tthrow new FileSystemUtilException(\"ET0017\");\r\n\t\t\t\t}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\tif(!remoteFileName.startsWith(\"*.\") && !remoteFileName.endsWith(\".*\"))\r\n\t\t\t\t{\r\n\t\t\t\t\tlogger.debug(\"file/directory name \"+remoteFileName+\" not started with *. or ends wirh .*\");\r\n\t\t\t\t\tcommand = \"cd \"+remoteDir+remoteFileName;\r\n\t\t\t\t\tsignal = executeSimpleCommand(command);\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\tif(signal != 0)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tboolean isFile = false;\r\n\t\t\t\t\t\tcommand = \"ls \"+remoteDir;\r\n\t\t\t\t\t\texecuteSimpleCommand(command);\r\n\t\t\t\t\t\tString[] tempFileNames = getFileNamesArray(output);\r\n\t\t\t\t\t\tfor(int j = 0; j < tempFileNames.length; j++)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tif(remoteFileName.equals(tempFileNames[j]))\r\n\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\tisFile = true;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(!isFile)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t//invlid directory/file\r\n\t\t\t\t\t\t\tthrow new FileSystemUtilException(\"ET0017\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tlogger.debug(remoteFileName+\" is a file\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tlogger.debug(remoteFileName+\" is a directory\");\r\n\t\t\t\t\t\tremoteDir = remoteDir+remoteFileName;\r\n\t\t\t\t\t\tremoteFileName = \"\";\r\n\t\t\t\t\t}\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tlogger.debug(\"Before getting list of files : current dir \"+remoteDir+\" getting files list for \"+remoteFileName);\r\n\t\t\tcommand = \"cd \"+remoteDir+\";ls -F \"+remoteFileName;\r\n\t\t\tsignal = executeSimpleCommand(command);\r\n\t\t\tdisconnect();\r\n\t\t\tif(signal != 0)\r\n\t\t\t{\t\t\t \r\n\t\t\t\tthrow new FileSystemUtilException(\"ET0017\");\r\n\t\t\t}\r\n\t\t\tString[] filesList = getFileNamesArray(output);\t\t\r\n\t\t\tlogger.debug(\"End: \"+getClass().getName()+\":listFiles()\");\r\n\t\t\treturn filesList;\r\n\t\t}\r\n\t\t\r\n\t\tcatch(FileSystemUtilException e)\r\n\t\t{\r\n\t\t disconnect();\r\n\t\t if(e.getMessage() != null && e.getMessage().equals(\"FL0071\")){\r\n\t\t \tthrow new FileSystemUtilException(\"FL0071\");\r\n\t\t }\r\n\t\t\tthrow new FileSystemUtilException(e.getErrorCode(),e.getException());\r\n\t\t}\r\n\t\t\r\n\t}", "title": "" }, { "docid": "765f8a8337ed575bfded7d401b2332bf", "score": "0.5343856", "text": "String ls(String pRoot) throws RemoteException;", "title": "" }, { "docid": "561d6f39d3ae3ea747c21f6f21ccdf94", "score": "0.5339131", "text": "public static void main(String[] args) {\n\n File dir = new File(\"D:/test.txt\");\n FileFilter fr = (File f) -> f.isDirectory();\n File[] fs = dir.listFiles(fr);\n }", "title": "" }, { "docid": "fe80b9a29ecc959f18e7a6e74ca97100", "score": "0.53248733", "text": "boolean hasFileInfo();", "title": "" }, { "docid": "fe80b9a29ecc959f18e7a6e74ca97100", "score": "0.53248733", "text": "boolean hasFileInfo();", "title": "" }, { "docid": "80b7b4c13553e7f5af816c83b7358557", "score": "0.5323175", "text": "int stat(String pathname, Stat statbuf);", "title": "" }, { "docid": "70a5163702be32a25a8c02ba0ce83f15", "score": "0.5313496", "text": "@Test\r\n\tpublic void testSampleFile() {\r\n\r\n\t\tRaceList rl = null;\r\n\t\trl = WolfResultsReader.readRaceListFile(\"test-files/sample.md\");\r\n\t\tassertEquals(2, rl.size());\r\n\r\n\t}", "title": "" }, { "docid": "b0408b61eb0708ee7ed3197b2a5a8137", "score": "0.5310336", "text": "public File[] listFiles(File file) {\n if (executionEnvironment.isLocal()) {\n return file.listFiles();\n } else {\n final ExitStatus res = ProcessUtils.execute(executionEnvironment, \"ls\", \"-A1\"); //NOI18N\n if (res.isOK()) {\n String files = res.getOutputString();\n if (files != null) {\n BufferedReader bufferedReader = new BufferedReader(new StringReader(files));\n String line;\n ArrayList<File> lines = new ArrayList<File>();\n try {\n while ((line = bufferedReader.readLine()) != null) {\n lines.add(new File(line));\n }\n bufferedReader.close();\n } catch (IOException ex) {\n //hardly can happen during reading string\n Exceptions.printStackTrace(ex);\n return null;\n }\n return lines.toArray(new File[lines.size()]);\n }\n }\n }\n return null;\n }", "title": "" }, { "docid": "cc6898b16aaf47ab9ce3f9255ee682b6", "score": "0.52968365", "text": "public List checkApprovedFiles() throws LMSException;", "title": "" }, { "docid": "192456450c0e3b906108923762e128c4", "score": "0.52935064", "text": "public static void Java_ls(File dir, String display_method, String sort_method) {\n // TODO: list files\n File[] fileList = dir.listFiles();\n if (display_method == null) {\n for (File file : fileList) {\n System.out.println(file.getName());\n }\n } else if (sort_method == null) {\n for (File file : fileList) {\n System.out.format(\"%-15s Size: %-10s Last Modified: %-40s\", file.getName(), file.length(), new Date(file.lastModified()));\n System.out.println();\n }\n } else {\n File[] sorted = sortFileList(fileList, sort_method);\n for (File file : sorted) {\n System.out.format(\"%-15s Size: %-10s Last Modified: %-40s\", file.getName(), file.length(), new Date(file.lastModified()));\n System.out.println();\n }\n }\n }", "title": "" }, { "docid": "6b1bc5c62d7a4ba1cb6190c890718164", "score": "0.5269208", "text": "@Test\n public void testLsNoPath() {\n FileTree myTree = new FileTree();\n String[] paths = {\"directory1\"};\n String[] empty_path = {};\n try{\n myTree.mkdir(paths);\n } catch (NotDirectoryException | AlreadyExistException e) {\n fail(\"The directories could not be made.\");\n }\n String result = \"\";\n try {\n result = myTree.ls(false, empty_path);\n } catch (InvalidPathException e1) {\n fail(\"Could not find the directories\");\n }\n\n assertEquals(result, \"Path at /: \\ndirectory1\\n\");\n }", "title": "" }, { "docid": "50e1003ad10602d098a32c8a432d06f1", "score": "0.52386403", "text": "@Test\r\n public void testReadForAuthorizedUser() {\n System.out.println(\"Test : Alice can read her own file\");\r\n System.out.println();\r\n String userId = \"Alice\";\r\n String filePath = \"/home/Alice/shared/Af1.txt\";\r\n File file = new File (\"/home/Alice/shared/Af1.txt\", \"Alice\", \"Af1.txt\");\r\n List<File> fileList = FileList.getFileList();\r\n fileList.add(file);\r\n\r\n try {\r\n assertNotNull(service.readFile(userId, filePath));\r\n } catch (Exception e) {\r\n assertFalse(\"Should not throw any exception\", true);\r\n }\r\n System.out.println();\r\n }", "title": "" }, { "docid": "0f5a8bcf1c585736a4985b9c75aeedc9", "score": "0.52167904", "text": "@Test\n public void testGetFilesList() {\n System.out.println(\"getFilesList from existing folder with existing subfiles\");\n String entryPath = folder.toString()+fSeparator+\"Images\";\n FilesDao instance = new FilesDao();\n String[] expResult = new String[2];\n expResult[0] = \"testImg.jpg\";\n expResult[1] = \"testImg2.jpg\";\n String[] result;\n try{\n result = instance.getFilesList(entryPath);\n }catch(EntryException ex){\n result = null;\n }\n assertArrayEquals(expResult, result);\n }", "title": "" }, { "docid": "aa327a348023bcf36ab395b4e91c2d01", "score": "0.5185273", "text": "private static void listar(Path a){\n File dir = new File(a.toString());\n if(dir.isDirectory()){\n String[] dirContents = dir.list();\n for(int i =0; i < dirContents.length; i++){\n System.out.println(dirContents[i]);\n }\n }\n }", "title": "" }, { "docid": "647808999da99b5d6f756572f8935f45", "score": "0.5181801", "text": "void listingFiles(String remoteFolder);", "title": "" }, { "docid": "9f10931cd7e7f678a8b707d397eace14", "score": "0.516862", "text": "public interface IReadDirectory {\n\n /**\n * List all files existing in the given directory.\n * \n * @param directory\n * @return file list\n * @throws FindException\n */\n List<File> list(String directory) throws FindException;\n\n}", "title": "" }, { "docid": "e99d278d814dacfc408f9746c98d4cd4", "score": "0.5147111", "text": "@Test(timeout = 4000)\n public void test23() throws Throwable {\n FileUtil fileUtil0 = new FileUtil();\n ArrayList<Object> arrayList0 = new ArrayList<Object>();\n File file0 = fileUtil0.getAccessories(\"YP=8V~@ch)3vts}p8\", arrayList0);\n assertNull(file0);\n }", "title": "" }, { "docid": "2e5c26a81d07962fffc59494a989121f", "score": "0.51452965", "text": "@Test\r\n public void testGetChangedFileList() throws IOException {\n helper.exportRevChangedFiles(PJ_ROOT, 1, LOCAL_ROOT);\r\n helper.exportRevChangedFiles(PJ_ROOT, 4, LOCAL_ROOT);\r\n //helper.exportRevChangedFiles(PJ_ROOT, -1, LOCAL_ROOT);\r\n //helper.exportRevChangedFiles(9, 9, true);\r\n }", "title": "" }, { "docid": "1106be403fd8e051bef0f1d1dc8e76e6", "score": "0.51292694", "text": "private void testReadFile() {\n System.out.println(\"------ TESTING : readFile(String filename) ------\");\n try{\n if(iTestFileList.readFile(sFile)){\n //throw exception if the values are not copied correctly\n if(iTestFileList.get(0) != 42175){\n throw new RuntimeException(\"FAILED -> readFile(String filename) not working correctly\");\n }\n if(iTestFileList.get(5) != 45545){\n throw new RuntimeException(\"FAILED -> readFile(String filename) not working correctly\");\n }\n if(iTestFileList.get(10) != 86908) {\n throw new RuntimeException(\"FAILED -> readFile(String filename) not working correctly\");\n }\n }\n else{\n throw new RuntimeException(\"FAILED -> readFile(String filename) not working correctly\");\n }\n }catch(RuntimeException e){\n System.out.print(e.getMessage());\n }\n System.out.print(\"\\n\");\n }", "title": "" }, { "docid": "8b2468786705617723b69864ca33da6b", "score": "0.50959194", "text": "public boolean accept(File dir, String name);", "title": "" }, { "docid": "2abee5725e49026590870f3b5a61129c", "score": "0.5085326", "text": "boolean hasFileLoc();", "title": "" }, { "docid": "e5678a814e1b12dee42ca0a2177dbff0", "score": "0.50825804", "text": "public List<String> ls(String path) {\n\t\treturn getDirectory(path, directory).stringy();\n\t}", "title": "" }, { "docid": "a97a88d6da334571c55a620c5582f74f", "score": "0.505078", "text": "private static void showFiles(File f) {\n\t\n}", "title": "" }, { "docid": "7a3c0d2e0fcb99789cbc5a36bb54a0b9", "score": "0.50455916", "text": "public static List<String> dummyListFiles(String startDir) {\n String[] array;\n List<String> list = new ArrayList<>();\n\n File f = new File(startDir);\n\n array = f.list();\n\n for (String item : array) {\n list.add(item);\n }\n\n return list;\n }", "title": "" }, { "docid": "0e6abe9e96525bbf76ab9961baa44756", "score": "0.50312275", "text": "@Override\n\tprotected void onListItemClick(ListView l, View v, int position, long id) {\n\t\tFile file = new File(path.get(position));\n\n\t\tif (file.isDirectory())\n\t\t{\n\t\t\t//if(isNetworkAvailable()) { new DownloadFilesTask().execute(\"GPS\", null, null); } \n\n\t\t\tif(file.canRead()){\n\t\t\t\tgetDir(path.get(position));\n\t\t\t}else{\n\t\t\t\tnew AlertDialog.Builder(this)\n\t\t\t\t.setIcon(R.drawable.ic_launcher)\n\t\t\t\t.setTitle(\"[\" + file.getName() + \"] folder can't be read!\")\n\t\t\t\t.setPositiveButton(\"OK\", null).show(); \n\t\t\t} \n\t\t}else {\n\t\t\tnew AlertDialog.Builder(this)\n\t\t\t.setIcon(R.drawable.ic_launcher)\n\t\t\t.setTitle(\"[\" + file.getName() + \"]\")\n\t\t\t.setPositiveButton(\"OK\", null).show();\n\n\t\t}\n\t}", "title": "" }, { "docid": "76ee7ef6d07c56fd3ec4155443e8e6f4", "score": "0.502608", "text": "@Test\n public void testFileInDirectoryFileDoesNotExists() {\n\n assertFalse(parent.fileInDirectory(\"file1\"));\n }", "title": "" }, { "docid": "28a7d5cbc03fdabb50969bd7133859d9", "score": "0.50249326", "text": "public Object run() {\n boolean success = true;\n if( !sdirectory.isDirectory() )\n success = false;\n String[] list = sdirectory.list();\n // Some JVMs return null for File.list() when the directory is empty\n if( list != null )\n {\n for( int i = 0; i < list.length; i++ )\n {\n File entry = new File( sdirectory, list[i] );\n if( entry.isDirectory() )\n {\n if( !changeDirectoryToReadOnly(entry) )\n success = false;\n }\n else {\n if( !entry.setReadOnly() )\n success = false;\n }\n }\n }\n return new Boolean(success);\n }", "title": "" }, { "docid": "444772c481c1053af1c39db010e29f2f", "score": "0.5023956", "text": "public boolean fileIsDirectory(File file) {\n if (executionEnvironment.isLocal()) {\n return file.isDirectory();\n } else {\n return ProcessUtils.execute(executionEnvironment, \"test\", \"-d\", \"\\\"\" + file.getPath() + \"\\\"\").isOK(); //NOI18N\n }\n }", "title": "" }, { "docid": "0ccb5bddf1c959131d9e6550f0feb6ca", "score": "0.4998395", "text": "@Test\n public void testFileOpen() {\n \n FileHandler fileToTest;\n \n fileToTest = new FileHandler(\"Kalle.xml\");\n \n try {\n fileToTest.openFile();\n fail(\"Should have raised a fileNotFoundException\");\n }\n catch (FileNotFoundException fnf) {\n }\n }", "title": "" }, { "docid": "fe216ae546f3f21d52f01bed7ad79a76", "score": "0.49971363", "text": "@Override\n public void findFiles_hdfs_native() throws Exception {\n assumeTrue( !isWindows() );\n super.findFiles_hdfs_native();\n }", "title": "" }, { "docid": "e58ebc2f94d93f8e4fa303b23c920571", "score": "0.4984803", "text": "boolean isFile() throws IOException;", "title": "" }, { "docid": "c707b24ccf55afa0838fc2c52ee8b16b", "score": "0.49824062", "text": "public abstract List<LocalFile> getAllFiles();", "title": "" }, { "docid": "d3eb6e9d3aa4ae6cdee70e3f8d3794e8", "score": "0.49814335", "text": "@Override\n public String toString() {\n return \"ls [PATH ...]:\\n\" + \"\\tList the contents.\\n\" + \"\\tNote:\\n\"\n + \"\\t1.If no PATH given, print contents of current directory.\\n\"\n + \"\\t2.If PATH specifies a directory, print its contents(file or \"\n + \"directory).\\n\" + \"\\t3.If PATH specifies a file, print its name.\";\n }", "title": "" }, { "docid": "c10bf06accc344e4da1eaffab435cce1", "score": "0.49805543", "text": "public boolean isFile() { return true; }", "title": "" }, { "docid": "880cd5f0f07aaee0ef7576a8e9303a86", "score": "0.4978272", "text": "public boolean fileCanRead(File file) {\n if (executionEnvironment.isLocal()) {\n return file.canRead();\n } else {\n return ProcessUtils.execute(executionEnvironment, \"test\", \"-r\" ,\"\\\"\" + file.getPath() + \"\\\"\").isOK(); //NOI18N\n }\n }", "title": "" }, { "docid": "20fcdc9a5d350f16dadf515253b46671", "score": "0.49748194", "text": "public synchronized int load()\n {\n int cb = (maxFiles * maxChars * SysLib.CBCHAR) + \n (maxFiles * SysLib.CBINT);\n byte b[] = new byte[cb];\n files.clear();\n int fileNameOffset = maxFiles * SysLib.CBINT;\n int offset = 0;\n\n // Read the entire potential directory listing\n if (inode.read(0, b) < 0)\n {\n return -1;\n }\n\n for (int i = 0; i < maxFiles; i++)\n {\n // Read the file name length\n int strLen = SysLib.bytes2int(b, offset);\n offset += SysLib.CBINT;\n\n // Read the file name, if one is stored\n if (strLen > 0)\n {\n byte strBytes[] = new byte[strLen * SysLib.CBCHAR];\n\n System.arraycopy(b, fileNameOffset, strBytes, 0,\n strBytes.length);\n\n files.add(new String(strBytes));\n\n fileNameOffset += strLen;\n }\n // Add a zero-length placeholder for this listing\n else\n {\n files.add(new String(\"\"));\n }\n }\n\n return 0;\n }", "title": "" }, { "docid": "8f264a3714d0e71a84a47e2951672fae", "score": "0.49706656", "text": "List<String> getFiles(String path) throws IOException;", "title": "" }, { "docid": "d71ca09215a84c45f38671d38a9c1037", "score": "0.49660438", "text": "boolean accept(FileStatus fileStatus);", "title": "" }, { "docid": "1d0efd1f247f65b45019abeb5923f703", "score": "0.4962277", "text": "public abstract List<String> getFiles( );", "title": "" }, { "docid": "356718598217c0b317937c48090016c7", "score": "0.49376303", "text": "public static void main(String[] args) {\n File file = new File(\".\", \"subdir\" + File.separator + \"hello.txt\");\r\n System.out.println(\"Does it exist? \" + file.exists());\r\n System.out.println(\"Can it be read? \" + file.canRead());\r\n System.out.println(\"Can it be written? \" + file.canWrite());\r\n System.out.println(\"Is it a directory? \" + file.isDirectory());\r\n System.out.println(\"Is it a file? \" + file.isFile());\r\n //Prints false\r\n System.out.println(\"Is it absolute? \" + file.isAbsolute());\r\n System.out.println(\"Is it hidden? \" + file.isHidden());\r\n\r\n //Shows redundant .'s in the path.\r\n System.out.println(\"What is its absolute path? \" +\r\n file.getAbsolutePath());\r\n\r\n //Like absolute path without redundant .'s.\r\n try {\r\n System.out.println(\"What is its canonical path? \" +\r\n file.getCanonicalPath());\r\n }\r\n catch (IOException ex) { }\r\n\r\n System.out.println(\"What is its name? \" + file.getName());\r\n //Prints the path as defined during instantiation of the File class.\r\n System.out.println(\"What is its path? \" + file.getPath());\r\n\r\n //lastModified() returns a long value representing the date and time\r\n // when the file was last modified. The value is in milliseconds\r\n // measured from 1/1/1970 to last modified date/time.\r\n System.out.println(\"When was it last modified? \" +\r\n new Date(file.lastModified()));\r\n\r\n // Character representation of the path-list separator that's used\r\n // when multiple file paths are given in said path-list.\r\n System.out.println(\"What is the path separator? \" +\r\n File.pathSeparatorChar);\r\n\r\n // Character representation of the separator used in a given\r\n // file path.\r\n System.out.println(\"What is the name separator? \" +\r\n File.separatorChar);\r\n }", "title": "" }, { "docid": "a24b32078ecd6d4dae24ce8b027f5cbe", "score": "0.4926335", "text": "public void testGetFileFlags() {\n String[] sTestCmdLine = { \"soscmd\", \"-command\", \"GetFile\", \"-file\",\n SRC_FILE, \"-revision\", \"007\", \"-server\", SOS_SERVER_PATH, \"-name\",\n SOS_USERNAME, \"-password\", SOS_PASSWORD, \"-database\", VSS_SERVER_PATH,\n \"-project\", \"$\"+VSS_PROJECT_PATH, \"-verbose\", \"-nocompress\",\n \"-nocache\", \"-workdir\", fileUtils.normalize(LOCAL_PATH).getAbsolutePath() };\n\n Path path = new Path(project, LOCAL_PATH);\n\n // Set up a SOSGet task\n sosGet.setProject(project);\n sosGet.setVssServerPath(VSS_SERVER_PATH);\n sosGet.setSosServerPath(SOS_SERVER_PATH);\n sosGet.setProjectPath(VSS_PROJECT_PATH);\n sosGet.setFile(SRC_FILE);\n sosGet.setUsername(SOS_USERNAME);\n sosGet.setPassword(SOS_PASSWORD);\n sosGet.setVersion(VERSION);\n sosGet.setLocalPath(path);\n sosGet.setNoCache(true);\n sosGet.setNoCompress(true);\n sosGet.setVerbose(true);\n sosGet.setRecursive(true);\n\n commandline = sosGet.buildCmdLine();\n String[] sGeneratedCmdLine = commandline.getCommandline();\n int i = 0;\n while (i < sTestCmdLine.length) {\n try {\n assertEquals(\"GetFile arg # \" + String.valueOf(i),\n sTestCmdLine[i],\n sGeneratedCmdLine[i]);\n i++;\n } catch (ArrayIndexOutOfBoundsException aioob) {\n fail(\"GetFile missing arg\");\n }\n\n }\n if (sGeneratedCmdLine.length > sTestCmdLine.length) {\n // We have extra elements\n fail(\"GetFile extra args\");\n }\n }", "title": "" }, { "docid": "51eed333c0ae33ee72ab35fa8ec50c71", "score": "0.4918217", "text": "public void testGetFileObject23() throws IOException {\n File workDir = getWorkDir();\n assertGC(\"NamingFactory not cleared.\", new WeakReference<FileNaming>(NamingFactory.fromFile(workDir)));\n File rootFile = null;\n Stack<String> stack = new Stack<String>();\n while (workDir != null) {\n stack.push(workDir.getName());\n rootFile = workDir;\n workDir = workDir.getParentFile();\n }\n String relativePath = \"\";\n while (!stack.empty()) {\n relativePath += stack.pop() + \"/\";\n }\n FileObject root = FileUtil.toFileObject(rootFile);\n monitor.reset();\n assertNotNull(root.getFileObject(relativePath));\n monitor.getResults().assertResult(2, StatFiles.ALL);\n }", "title": "" }, { "docid": "a0d556d71ce5ed2ec8f671595f57bfd6", "score": "0.4906578", "text": "@Test\n public void findWithMaskIncorrectRegularExpression() throws Exception {\n List<File> fileList = fileFinder.find(path, \"?.txt\", fileFinder.getFILES());\n System.out.println(fileList.size());\n int sero = fileList.size();\n assertThat(sero == (fileList.size()), is(true));\n\n }", "title": "" }, { "docid": "6c63b8199209e489d776a841ed3cae41", "score": "0.49025506", "text": "public static boolean isListLikeCommand(FtpCommandCode command) {\r\n \t\treturn ((command == LIST) || (command == NLST) || (command == MLSD) || (command == MLST));\r\n \t}", "title": "" }, { "docid": "9767d416e8866dffe591720f28ffa7dc", "score": "0.49012476", "text": "boolean hasFilePath();", "title": "" }, { "docid": "bd516f194da8831364c03ba1e9547b72", "score": "0.4899455", "text": "@Test\n public void testGetDirectoryList() {\n System.out.println(\"getDirectoryList for existing folder with subfolders\");\n String entriesPath = folder.toString();\n FilesDao instance = new FilesDao();\n String[] expResult = new String[4];\n expResult[0]=\"EmptyFolder\";\n expResult[1]=\"Images\";\n expResult[2]=\"Texts\";\n expResult[3]=\"Videos\";\n Arrays.sort(expResult);\n String[] result;\n try{\n result = instance.getDirectoryList(entriesPath);\n Arrays.sort(result);\n }catch(EntryException ex){\n result = null;\n }\n \n assertArrayEquals(expResult, result);\n }", "title": "" }, { "docid": "025628b43f8e759c7d6555ce191bd1fc", "score": "0.4897946", "text": "public List<String> getFiles();", "title": "" }, { "docid": "c2c3472972071739dd2858b801cee28c", "score": "0.4878872", "text": "public boolean searchFile(FileObject file)\n throws IllegalArgumentException;", "title": "" }, { "docid": "013c401a27860ced4cdc3643cab6bd34", "score": "0.4877145", "text": "public String[] listFiles(boolean isFoldersRequired, boolean isSort, boolean isFilesOnly) throws FileSystemUtilException \r\n\t{\r\n\r\n\t\tString remoteDir = null;\r\n\t\tString remoteFileName = null;\r\n\t\tString command = null;\r\n\t\tint signal = -1;\r\n\t\tlogger.debug(\"Begin: \"+getClass().getName()+\":listFiles()\");\r\n\t\ttry\r\n\t\t{\r\n\t\t\tconnect(); \r\n\t\t\t\r\n\t\t\tint lastSeperatorIndex = -1;\r\n\t\r\n\t\t\tif(remoteFilePath.lastIndexOf(\"/\") != -1){\r\n\t\t\t\tlastSeperatorIndex = remoteFilePath.lastIndexOf(\"/\");\r\n\t\t\t}else if(remoteFilePath.lastIndexOf(\"\\\\\") != -1){\r\n\t\t\t\tlastSeperatorIndex = remoteFilePath.lastIndexOf(\"\\\\\");\r\n\t\t\t}\r\n\t\t\tif(lastSeperatorIndex == remoteFilePath.length()-1)\r\n\t\t\t{\r\n\t\t\t\tremoteDir = remoteFilePath;\r\n\t\t\t\tremoteFileName = \"\";\r\n\t\t\t\tlogger.debug(\"file path ends with / - directory is \"+remoteDir+\" , filename is \"+remoteFileName);\r\n\t\t\t\tcommand = \"cd \"+remoteDir;\t\t\t\r\n\t\t\t\tsignal = executeSimpleCommand(command);\r\n\t\r\n\t\t\t\tif(signal != 0)\r\n\t\t\t\t{\r\n\t\t\t\t\t//invlid directory/file\r\n\t\t\t\t\tthrow new FileSystemUtilException(\"ET0017\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tremoteDir = remoteFilePath.substring(0,lastSeperatorIndex+1);\r\n\t\t\t\tremoteFileName = remoteFilePath.substring(lastSeperatorIndex+1,remoteFilePath.length());\r\n\t\t\t\tlogger.debug(\"file path not ends with / - directory is \"+remoteDir+\" , filename is \"+remoteFileName);\r\n\t\t\t\tcommand = \"cd \"+remoteDir;\r\n\t\t\t\tsignal = executeSimpleCommand(command);\r\n\t\t\t\tif(signal != 0)\r\n\t\t\t\t{\r\n\t\t\t\t\t//invlid directory/file\r\n\t\t\t\t\tthrow new FileSystemUtilException(\"ET0017\");\r\n\t\t\t\t}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\tif(!remoteFileName.startsWith(\"*.\") && !remoteFileName.endsWith(\".*\"))\r\n\t\t\t\t{\r\n\t\t\t\t\tlogger.debug(\"file/directory name \"+remoteFileName+\" not started with *. or ends wirh .*\");\r\n\t\t\t\t\tcommand = \"cd \"+remoteDir+remoteFileName;\r\n\t\t\t\t\tsignal = executeSimpleCommand(command);\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\tif(signal != 0)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tboolean isFile = false;\r\n\t\t\t\t\t\tcommand = \"ls \"+remoteDir;\r\n\t\t\t\t\t\texecuteSimpleCommand(command);\r\n\t\t\t\t\t\tString[] tempFileNames = getFileNamesArray(output);\r\n\t\t\t\t\t\tfor(int j = 0; j < tempFileNames.length; j++)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tif(remoteFileName.equals(tempFileNames[j]))\r\n\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\tisFile = true;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(!isFile)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t//invlid directory/file\r\n\t\t\t\t\t\t\tthrow new FileSystemUtilException(\"ET0017\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tlogger.debug(remoteFileName+\" is a file\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tlogger.debug(remoteFileName+\" is a directory\");\r\n\t\t\t\t\t\tremoteDir = remoteDir+remoteFileName;\r\n\t\t\t\t\t\tremoteFileName = \"\";\r\n\t\t\t\t\t}\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tlogger.debug(\"Before getting list of files : current dir \"+remoteDir+\" getting files list for \"+remoteFileName);\r\n\t\t\tif(!isSort)\r\n\t\t\t\tcommand = \"cd \"+remoteDir+\";ls -F \"+remoteFileName;\r\n\t\t\tif(isSort)\r\n\t\t\t\tcommand = \"cd \"+remoteDir+\";ls -Ftr \"+remoteFileName;\r\n\t\t\tsignal = executeSimpleCommand(command);\r\n\t\t\tdisconnect();\r\n\t\t\tif(signal != 0)\r\n\t\t\t{\t\t\t \r\n\t\t\t\tthrow new FileSystemUtilException(\"ET0017\");\r\n\t\t\t}\r\n\t\t\tString[] filesList=null;\r\n\t\t\tif(!isFoldersRequired && isFilesOnly)\r\n\t\t\t{//it displays only files\r\n\t\t\t\tfilesList = getFileNames(output,isFoldersRequired);\t\r\n\t\t\t}\r\n\t\t\telse if(isFoldersRequired && !isFilesOnly)\r\n\t\t\t{//it displays only folders\r\n\t\t\t\tfilesList = getFileNames(output,isFoldersRequired);\t\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{//it is used when files and folders required required\r\n\t\t\t\tfilesList = getFileNamesArray(output);\t\t\r\n\t\t\t}\r\n\t\t\tlogger.debug(\"End: \"+getClass().getName()+\":listFiles()\");\r\n\t\t\treturn filesList;\r\n\t\t}\r\n\t\t\r\n\t\tcatch(FileSystemUtilException e)\r\n\t\t{\r\n\t\t disconnect();\r\n\t\t\tthrow new FileSystemUtilException(e.getErrorCode(),e.getException());\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "c6a796c347f01aed2bde84637d2f5039", "score": "0.48693648", "text": "public interface FileSystem {\n\n /**\n * Add the specified file system entry (file or directory) to this file system\n *\n * @param entry - the FileSystemEntry to add\n */\n public void add(FileSystemEntry entry);\n\n /**\n * Return the List of FileSystemEntry objects for the files in the specified directory path. If the\n * path does not refer to a valid directory, then an empty List is returned.\n *\n * @param path - the path of the directory whose contents should be returned\n * @return the List of FileSystemEntry objects for all files in the specified directory may be empty\n */\n public List listFiles(String path);\n\n /**\n * Return the List of filenames in the specified directory path. The returned filenames do not\n * include a path. If the path does not refer to a valid directory, then an empty List is\n * returned.\n *\n * @param path - the path of the directory whose contents should be returned\n * @return the List of filenames (not including paths) for all files in the specified directory\n * may be empty\n * @throws AssertionError - if path is null\n */\n public List listNames(String path);\n\n /**\n * Delete the file or directory specified by the path. Return true if the file is successfully\n * deleted, false otherwise. If the path refers to a directory, it must be empty. Return false\n * if the path does not refer to a valid file or directory or if it is a non-empty directory.\n *\n * @param path - the path of the file or directory to delete\n * @return true if the file or directory is successfully deleted\n * @throws AssertionError - if path is null\n */\n public boolean delete(String path);\n\n /**\n * Rename the file or directory. Specify the FROM path and the TO path. Throw an exception if the FROM path or\n * the parent directory of the TO path do not exist; or if the rename fails for another reason.\n *\n * @param fromPath - the source (old) path + filename\n * @param toPath - the target (new) path + filename\n * @throws AssertionError - if fromPath or toPath is null\n * @throws FileSystemException - if the rename fails.\n */\n public void rename(String fromPath, String toPath);\n\n /**\n * Return the formatted directory listing entry for the file represented by the specified FileSystemEntry\n *\n * @param fileSystemEntry - the FileSystemEntry representing the file or directory entry to be formatted\n * @return the the formatted directory listing entry\n */\n public String formatDirectoryListing(FileSystemEntry fileSystemEntry);\n\n //-------------------------------------------------------------------------\n // Path-related Methods\n //-------------------------------------------------------------------------\n\n /**\n * Return true if there exists a file or directory at the specified path\n *\n * @param path - the path\n * @return true if the file/directory exists\n * @throws AssertionError - if path is null\n */\n public boolean exists(String path);\n\n /**\n * Return true if the specified path designates an existing directory, false otherwise\n *\n * @param path - the path\n * @return true if path is a directory, false otherwise\n * @throws AssertionError - if path is null\n */\n public boolean isDirectory(String path);\n\n /**\n * Return true if the specified path designates an existing file, false otherwise\n *\n * @param path - the path\n * @return true if path is a file, false otherwise\n * @throws AssertionError - if path is null\n */\n public boolean isFile(String path);\n\n /**\n * Return true if the specified path designates an absolute file path. What\n * constitutes an absolute path is dependent on the file system implementation.\n *\n * @param path - the path\n * @return true if path is absolute, false otherwise\n * @throws AssertionError - if path is null\n */\n public boolean isAbsolute(String path);\n\n /**\n * Build a path from the two path components. Concatenate path1 and path2. Insert the file system-dependent\n * separator character in between if necessary (i.e., if both are non-empty and path1 does not already\n * end with a separator character AND path2 does not begin with one).\n *\n * @param path1 - the first path component may be null or empty\n * @param path2 - the second path component may be null or empty\n * @return the path resulting from concatenating path1 to path2\n */\n public String path(String path1, String path2);\n\n /**\n * Returns the FileSystemEntry object representing the file system entry at the specified path, or null\n * if the path does not specify an existing file or directory within this file system.\n *\n * @param path - the path of the file or directory within this file system\n * @return the FileSystemEntry containing the information for the file or directory, or else null\n */\n public FileSystemEntry getEntry(String path);\n\n /**\n * Return the parent path of the specified path. If <code>path</code> specifies a filename,\n * then this method returns the path of the directory containing that file. If <code>path</code>\n * specifies a directory, the this method returns its parent directory. If <code>path</code> is\n * empty or does not have a parent component, then return an empty string.\n * <p/>\n * All path separators in the returned path are converted to the system-dependent separator character.\n *\n * @param path - the path\n * @return the parent of the specified path, or null if <code>path</code> has no parent\n * @throws AssertionError - if path is null\n */\n public String getParent(String path);\n\n}", "title": "" }, { "docid": "1185d35c047c8c4fea60064232e8716f", "score": "0.48635265", "text": "private boolean dotestReadAndWrite() {\n String directoryName = SDCARD_PATH+ \"/test\";\r\n File directory = new File(directoryName);\r\n if (!directory.isDirectory()) {\r\n if (!directory.mkdirs()) {\r\n sBuilder.append(getString(R.string.MakeDir) + FAIL).append(\"\\n\");\r\n return false;\r\n } else {\r\n sBuilder.append(getString(R.string.MakeDir) + SUCCESS).append(\r\n \"\\n\");\r\n }\r\n }\r\n File f = new File(directoryName, \"SDCard.txt\");\r\n try {\r\n // Remove stale file if any\r\n if (f.exists()) {\r\n f.delete();\r\n }\r\n if (!f.createNewFile()) {\r\n sBuilder.append(getString(R.string.CreateFile) + FAIL).append(\r\n \"\\n\");\r\n return false;\r\n } else {\r\n sBuilder.append(getString(R.string.CreateFile) + SUCCESS).append(\r\n \"\\n\");\r\n\r\n doWriteFile(f.getAbsoluteFile().toString());\r\n\r\n if (doReadFile(f.getAbsoluteFile().toString()).equals(\r\n TEST_STRING)) {\r\n sBuilder.append(getString(R.string.Compare)).append(SUCCESS).append(\r\n \"\\n\");\r\n } else {\r\n sBuilder.append(getString(R.string.Compare)).append(FAIL).append(\r\n \"\\n\");\r\n return false;\r\n }\r\n }\r\n\r\n sBuilder.append(getString(R.string.FileDel)).append(\r\n (f.delete() ? SUCCESS : FAIL)).append(\"\\n\");\r\n sBuilder.append(getString(R.string.DirDel)).append(\r\n (directory.delete() ? SUCCESS : FAIL)).append(\"\\n\");\r\n return true;\r\n } catch (IOException ex) {\r\n Log.e(TAG, \"isWritable : false (IOException)!\");\r\n return false;\r\n }\r\n }", "title": "" }, { "docid": "dd24a3ac647f2624aa9f5293b05c1238", "score": "0.48576933", "text": "static List<String> plainFilenamesIn(File dir) {\n String[] files = dir.list(PLAIN_FILES);\n if (files == null) {\n return null;\n } else {\n Arrays.sort(files);\n return Arrays.asList(files);\n }\n }", "title": "" }, { "docid": "191fd7f9444547719f8bf46e31482d2c", "score": "0.48553407", "text": "public void testGetFileObject() throws IOException {\n FileObject fobj = getFileObject(testFile);\n FileObject parent = fobj.getParent();\n parent = parent.createFolder(\"parent\");\n assertTrue(new File(getFile(parent), \"child\").createNewFile());\n monitor.reset();\n FileObject ch = parent.getFileObject(\"child\");\n monitor.getResults().assertResult(2, StatFiles.ALL);\n monitor.getResults().assertResult(2, StatFiles.READ);\n //second time\n monitor.reset();\n ch = parent.getFileObject(\"child\");\n monitor.getResults().assertResult(0, StatFiles.ALL);\n }", "title": "" }, { "docid": "31d1ca3c7d783f13a4ed40455d582cd3", "score": "0.4842315", "text": "public void llenarListaArchivos(int op) {\n String[] archivosPermitidos = {\".HA\", \".HE\"};\n if (op == 1) {\n archivos_directorio.removeAllItems();\n } else {\n archivos_directorio2.removeAllItems();\n }\n File directorio = new File(\"./\");\n File[] archivos = null;\n if (directorio.exists()) {\n archivos = directorio.listFiles();\n }\n int i;\n\n for (i = 0; i < archivos.length; i++) {\n if (op == 1 && (\"\" + archivos[i]).contains(\".txt\")) {\n archivos_directorio.addItem(\"\" + archivos[i]);\n } else {\n int j;\n for (j = 0; j < archivosPermitidos.length; j++) {\n if ((\"\" + archivos[i]).contains(archivosPermitidos[j])) {\n archivos_directorio2.addItem(\"\" + archivos[i]);\n break;\n }\n }\n }\n }\n\n }", "title": "" }, { "docid": "2b4c1b17f6462f3a9db0a9c9684a1fec", "score": "0.4842222", "text": "@Test\n public void fileIdTest() {\n // TODO: test fileId\n }", "title": "" }, { "docid": "a5716df7a07e80b9176685a5a39a2a0c", "score": "0.48364598", "text": "boolean hasFileLocation();", "title": "" }, { "docid": "e5ccb7f84757e03db07794d794ab0613", "score": "0.48343632", "text": "public String open(String dirName) throws RemoteException;", "title": "" }, { "docid": "2b0e6856f0fa6509442eae6c6e51cc62", "score": "0.48309398", "text": "public static void main(String[] args) {\nFile files=new File(\"C:\\\\Users\\\\k74\");\nString filenames[]=files.list();\nfor(String filename :filenames)\n\tSystem.out.println(filename);\n\t}", "title": "" }, { "docid": "7b2bf13bd3a72ebb869d343a59f1038d", "score": "0.48289147", "text": "public static void main(String[] args) {\n\t\tFile f = new File(\"src/com/briup/java_day19/ch11/FileTest.txt\");// \"src/com/briup/\"(win and linux)\r\n\t\t\r\n\t\tSystem.out.println(f);\r\n\t\tSystem.out.println(f.exists());\r\n\t\tif(!f.exists()){\r\n\t\t\ttry {\r\n\t\t\t\tf.createNewFile();\r\n\t\t\t} catch (IOException e) {\r\n\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t}\r\n\t\tSystem.out.println(f.canWrite());\r\n\t\tSystem.out.println(f.canExecute());\r\n\t\tSystem.out.println(f.canRead());\r\n\t\tSystem.out.println(f.getAbsolutePath());//override toString\r\n\t\tSystem.out.println(f.getAbsoluteFile());\r\n\t\tSystem.out.println(f.getName());\r\n\t\tSystem.out.println(f.getParent());\r\n\t\tSystem.out.println(f.getParentFile());\r\n\t\tSystem.out.println(f.isDirectory());\r\n\t\tSystem.out.println(f.isFile());\r\n\t\tSystem.out.println(f.length());//how many byte\r\n\t\t\r\n\t\tSystem.out.println(\"=================\");\r\n\t\tString[] str = f.getParentFile().list();\r\n\t\tSystem.out.println(Arrays.toString(str));\r\n\t\tfor(String s:str){\r\n\t\t\tSystem.out.println(s);\r\n\t\t}\r\n\t\tSystem.out.println(\"=================\");\r\n\t\tFile pf = f.getParentFile();\r\n\t\tString[] str2 = pf.list(new FilenameFilter() {\r\n\t\t\t\r\n\t\t\t@Override\r\n\t\t\tpublic boolean accept(File dir, String name) {\r\n\t\t\t\t//文件名以txt结尾的\r\n//\t\t\t\treturn name.endsWith(\"java\");\r\n//\t\t\t\treturn name.contains(\"Byte\");\r\n\t\t\t\treturn name.startsWith(\"Byte\");\r\n\t\t\t}\r\n\t\t});\r\n\t\tfor(String s:str2){\r\n\t\t\tSystem.out.println(s);\r\n\t\t}\r\n\t\t\r\n\t}", "title": "" }, { "docid": "924dfb493673af03e0eef9016d4a8b4e", "score": "0.4827681", "text": "@Test\n\tpublic void executeInvalidFileForSlash() {\n\t\tassertEquals(null, Helper.isValidFile(\n\t\t\t\tnew File(System.getProperty(\"user.dir\")), \"\\\\/\"));\n\t\tassertEquals(null, Helper.isValidFile(\n\t\t\t\tnew File(System.getProperty(\"user.dir\")), \"\\\\\"));\n\t\tassertEquals(null, Helper.isValidFile(\n\t\t\t\tnew File(System.getProperty(\"user.dir\")), \"//\"));\n\t\tassertEquals(null, Helper.isValidFile(\n\t\t\t\tnew File(System.getProperty(\"user.dir\")), \"/\"));\n\t}", "title": "" }, { "docid": "112537c8a2a38cfb9d92d6c4d9e7a165", "score": "0.48273158", "text": "@Test\r\n\tpublic void testTraverseFile() {\r\n\t\t// Expected return from Cd\r\n\t\texpectedCd = \"Error: Invalid Directory : A2\";\r\n\t\t// Expected current working directory\r\n\t\texpectedPath = \"/\";\r\n\t\t// Actual return from Cd\r\n\t\tactualCd = cd.run(fs, \"A2\".split(\" \"), \"cd A2\", false);\r\n\t\t// Returns the current working directory\r\n\t\tactualPath = fs.getCurrentPath();\r\n\t\t// Checks if the values are equal or not\r\n\t\tassertTrue(actualCd.equals(expectedCd) && actualPath.equals(expectedPath));\r\n\t}", "title": "" }, { "docid": "8f6a2a5feed0e7afdcc781ab5a361b61", "score": "0.4826974", "text": "void doList()\n\t{\n /* currentXXX may NOT be invalid! */\n\n\t\tint currentModule = propertyGet(LIST_MODULE);\n int currentLine = propertyGet(LIST_LINE);\n int listsize = propertyGet(LIST_SIZE);\n\n String arg1 = null;\n int module1 = currentModule;\n int line1 = currentLine;\n\n String arg2 = null;\n int line2 = currentLine;\n\n int numLines = 0;\n\n\t\ttry\n\t\t{\n if (hasMoreTokens())\n\t\t\t{\n arg1 = nextToken();\n\n if (arg1.equals(\"-\")) //$NON-NLS-1$\n {\n\t\t\t\t\t// move back two times the listing size and if listsize is odd then move forward one\n line1 = line2 = line1 - (2 * listsize);\n }\n else\n {\n int[] result = parseLocationArg(currentModule, currentLine, arg1);\n module1 = result[0];\n line2 = line1 = result[1];\n\n if (hasMoreTokens())\n {\n arg2 = nextToken();\n line2 = parseLineArg(module1, arg2);\n }\n }\n\t\t\t}\n\n//\t\t\tSystem.out.println(\"1=\"+module1+\":\"+line1+\",2=:\"+line2);\n\n\t\t\t/**\n\t\t\t * Check for a few error conditions, otherwise we'll write a listing!\n\t\t\t */\n\t\t\tif (hasMoreTokens())\n\t\t\t{\n\t\t\t\terr(getLocalizationManager().getLocalizedTextString(\"lineJunk\")); //$NON-NLS-1$\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tint half = listsize/2;\n\t\t\t\tSourceFile file = m_fileInfo.getFile(module1);\n\t\t\t\tnumLines = file.getLineCount();\n\n\t\t\t\tint newLine;\n\t\t\t\tif (numLines == 1 && file.getLine(1).equals(\"\")) //$NON-NLS-1$\n\t\t\t\t{\n\t\t\t\t\t// there's no source in the file at all!\n\t\t\t\t\t// this presumably means that the source file isn't in the current directory\n\t\t\t\t\terr(getLocalizationManager().getLocalizedTextString(\"sourceFileNotFound\")); //$NON-NLS-1$\n\t\t\t\t\tnewLine = currentLine;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\t// pressing return is ok, otherwise throw the exception\n\t\t\t\t\tif (line1 > numLines && arg1 != null)\n\t\t\t\t\t\tthrow new IndexOutOfBoundsException();\n\t\n\t\t\t\t\t/* if no arg2 then user requested the next N lines around something */\n\t\t\t\t\tif (arg2 == null)\n\t\t\t\t\t{\n\t\t\t\t\t\tline2 = line1 + (half) - 1;\n\t\t\t\t\t\tline1 = line1 - (listsize-half);\n\t\t\t\t\t}\n\n\t\t\t\t\t/* adjust our range of lines to ensure we conform */\n\t\t\t\t\tif (line1 < 1)\n\t\t\t\t\t{\n\t\t\t\t\t\t/* shrink line 1, grow line2 */\n\t\t\t\t\t\tline2 += -(line1 - 1);\n\t\t\t\t\t\tline1 = 1;\n\t\t\t\t\t}\n\t\n\t\t\t\t\tif (line2 > numLines)\n\t\t\t\t\t\tline2 = numLines;\n\t\n//\t\t\t\t System.out.println(\"1=\"+module1+\":\"+line1+\",2=\"+module2+\":\"+line2+\",num=\"+numLines+\",half=\"+half);\n\t\n\t\t\t\t\t/* nothing to display */\n\t\t\t\t\tif (line1 > line2)\n\t\t\t\t\t\tthrow new IndexOutOfBoundsException();\n\t\n\t\t\t\t\t/* now do it! */\n\t\t\t\t\tSourceFile source = m_fileInfo.getFile(module1);\n\t\t\t\t\tfor(int i=line1; i<=line2; i++)\n\t\t\t\t\t\toutputSource(module1, i, source.getLine(i));\n\t\t\t\t\t\n\t\t\t\t\tnewLine = line2 + half + (((listsize % 2) == 0) ? 1 : 2); // add one if even, 2 for odd;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t/* save away valid context */\n\t\t\t\tpropertyPut(LIST_MODULE, module1);\n\t\t\t\tpropertyPut(LIST_LINE, newLine);\n\t\t\t\tm_repeatLine = \"list\"; /* allow repeated listing by typing CR */ //$NON-NLS-1$\n\t\t\t}\n\t\t}\n catch(IndexOutOfBoundsException iob)\n\t\t{\n\t\t\tString name = \"#\"+module1; //$NON-NLS-1$\n\t\t\tMap<String, Object> args = new HashMap<String, Object>();\n\t\t\targs.put(\"line\", Integer.toString(line1)); //$NON-NLS-1$\n\t\t\targs.put(\"filename\", name); //$NON-NLS-1$\n\t\t\targs.put(\"total\", Integer.toString(numLines)); //$NON-NLS-1$\n\t\t\terr(getLocalizationManager().getLocalizedTextString(\"lineNumberOutOfRange\", args)); //$NON-NLS-1$\n\t\t}\n\t\tcatch(AmbiguousException ae)\n\t\t{\n\t\t\terr(ae.getMessage());\n\t\t}\n\t\tcatch(NoMatchException nme)\n\t\t{\n\t\t\t// TODO [mmorearty]: try to find a matching source file\n\t\t\terr(nme.getMessage());\n\t\t}\n\t\tcatch(NullPointerException npe)\n\t\t{\n\t\t\terr(getLocalizationManager().getLocalizedTextString(\"noFilesFound\")); //$NON-NLS-1$\n\t\t}\n\t\tcatch(ParseException pe)\n\t\t{\n\t\t\terr(pe.getMessage());\n\t\t}\n\t}", "title": "" }, { "docid": "4962d634769d6a69b863b1d665fd702e", "score": "0.48243502", "text": "public static File[] listFiles(File f) {\n return f.listFiles();\n }", "title": "" }, { "docid": "4970b4d6b0680f9713edb65ed615b410", "score": "0.48225245", "text": "@Test\n public void testConstructor_Custom_Store_File() {\n\n File file = new File(\n System.getProperty(\"java.io.tmpdir\") + File.separator + \"oasis-list-testConstructor_Custom_Store_File\");\n file.mkdirs();\n file.deleteOnExit();\n\n SegmentedOasisList<Integer> instance = new SegmentedOasisList<>(file);\n Collection c = Arrays.asList(1, 1, 7, 7, 1, 1, 1);\n instance.addAll(c);\n\n File[] subDirs = file.listFiles();\n\n assertNotNull(subDirs);\n }", "title": "" }, { "docid": "37b7c64de976d435ffd387f6b31a7011", "score": "0.48222393", "text": "@Test\n\tpublic void validFileDirectoryTest() {\n\t\t// Test valid file directory\n\t\tFile f = new File(workingDir);\n\t\tassertTrue(Helper.isValidDirectory(f));\n\n\t\t// Test valid file directory 2\n\t\tworkDir = new File(workingDir);\n\t\texpected = workDir.getAbsolutePath();\n\t\tactual = Helper.isValidDirectory(workDir, \"misc\");\n\t\tassertEquals(expected, actual.getAbsolutePath());\n\n\t\t// Test valid file directory 3\n\t\tworkDir = new File(workingDir);\n\t\texpected = workDir.getAbsolutePath() + pathSep + dirName; // Bugs: OS\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// compatible \\\\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// changed to /\n\t\tactual = Helper.isValidDirectory(workDir, dirName);\n\t\tassertEquals(expected, actual.getAbsolutePath());\n\t}", "title": "" }, { "docid": "484847f75d71a9f51291ef3c691de615", "score": "0.48161393", "text": "public void checkFile() {\n\t\tFile file = new File(\"src/Project11Problem1Alternative/names.txt\");\n\t\tSystem.out.println(file.exists() ? \"Exists!\" : \"Doesn't exist!\");\n\t\tSystem.out.println(file.canRead() ? \"Can read!\" : \"Can't read!\");\n\t\tSystem.out.println(file.canWrite() ? \"Can write!\" : \"Can't write!\");\n\t\tSystem.out.println(\"Name: \" + file.getName());\n\t\tSystem.out.println(\"Path: \" + file.getPath());\n\t\tSystem.out.println(\"Size: \" + file.length() + \" bytes\");\n\t}", "title": "" }, { "docid": "25ed435c6489d2b04c35b3fd2ce8f3c5", "score": "0.4816046", "text": "public boolean getUseFiles();", "title": "" }, { "docid": "79ffe2c8e3dbd43ba710ba8a92730f22", "score": "0.48126525", "text": "AntiIterator<FsPath> listFilesAndDirectories(FsPath dir);", "title": "" }, { "docid": "c46435be491cbd4c3b1bf18fc8c7d773", "score": "0.48105165", "text": "public boolean isFile() { return false; }", "title": "" }, { "docid": "23da68bf8de1fe2d36781c16f184a105", "score": "0.4810224", "text": "public abstract FStat stat(UnixRuntime r, String path) throws ErrnoException;", "title": "" }, { "docid": "0be6cb38ecce94ff2d8523f7eb35eeb5", "score": "0.48051247", "text": "FileState checkFileState(FsPath path);", "title": "" }, { "docid": "f767214dea8f3c7578e64bd20a7a52a0", "score": "0.48041454", "text": "@Override\n\tpublic boolean accept(File file) {\n return file.isDirectory() || (file.isFile() && file.getName().toLowerCase().endsWith(\".txt\"));\n\t}", "title": "" }, { "docid": "6f15cf0b48db80c63bf0e296c2fbfdd2", "score": "0.48039675", "text": "File openFile();", "title": "" }, { "docid": "f27b0959b5aa6d54382f0676b382d67a", "score": "0.48011395", "text": "@Test(timeout = 4000)\n public void test21() throws Throwable {\n FileUtil fileUtil0 = new FileUtil();\n ArrayList<String> arrayList0 = new ArrayList<String>();\n FileInputStream fileInputStream0 = fileUtil0.fetchAccessories(\"bq,4~/{MxS* Ht9k\", arrayList0);\n assertNull(fileInputStream0);\n }", "title": "" }, { "docid": "e8625eb7c8001c3584c9969f951d89aa", "score": "0.47972494", "text": "public boolean accept(File pathname)\n {\n return pathname.isDirectory();\n }", "title": "" }, { "docid": "736dff669c8e55b8cc1f29e093dabc82", "score": "0.4797004", "text": "boolean getFileErr();", "title": "" }, { "docid": "337c6a842261d0d9288ee362a61fa26f", "score": "0.47943112", "text": "@Test\n\tpublic void testListVersioned() throws Exception {\n\t\tFileInfo[] fileInfos = this.storage.list(bucket, Storage.ListMode.VERSIONED_DELETED_ALL);\n\t\tFileInfo[] prefixedFileInfos = this.prefixedStorage.list(\"\", Storage.ListMode.VERSIONED_DELETED_ALL);\n\n\t\tfor (FileInfo fileInfo : fileInfos) {\n\t\t\tSystem.out.println(fileInfo.toString());\n\t\t}\n\n\t\tint size = fileInfos.length;\n\t\tif (size == prefixedFileInfos.length) {\n\t\t\tfor (int i = 0; i < size; ++i) {\n\t\t\t\tAssert.assertEquals(fileInfos[i].path, prefixedFileInfos[i].path);\n\t\t\t}\n\t\t} else {\n\t\t\t// the two file lists are different\n\t\t\tAssert.fail();\n\t\t}\n\t}", "title": "" }, { "docid": "c50f8a2c9248ce0ce36ef903c467060d", "score": "0.47924116", "text": "List<Path> getFiles();", "title": "" }, { "docid": "ff06327d921a912d91b3778e3a7c9a6f", "score": "0.4780972", "text": "@Test\n\tpublic void testList() throws Exception {\n\t\tFileInfo[] fileInfos = this.storage.list(bucket, Storage.ListMode.VERSIONED_LATEST);\n\t\tString[] prefixedFileInfos = this.prefixedStorage.list(\"\");\n\t\tMap<String, String> fileMap = this.storage.listHashes(bucket);\n\n\t\tfor (FileInfo fileInfo : fileInfos) {\n\t\t\tSystem.out.println(fileInfo.toString());\n\t\t}\n\n\t\tint size = fileInfos.length;\n\t\tif (size == prefixedFileInfos.length) {\n\t\t\tfor (int i = 0; i < size; ++i) {\n\t\t\t\tString path = fileInfos[i].path;\n\t\t\t\tAssert.assertEquals(path, prefixedFileInfos[i]);\n\t\t\t\tAssert.assertEquals(fileInfos[i].hash, fileMap.get(path));\n\t\t\t}\n\t\t} else {\n\t\t\t// the two file lists are different\n\t\t\tAssert.fail();\n\t\t}\n\t}", "title": "" }, { "docid": "49c082f7b16d9ec7fcbade4d9ac76ce5", "score": "0.47808585", "text": "public boolean requestListFiles() throws IOException, PacketException, UtilDatagramException {\n\t\tboolean success = false;\n\n\t\ttry {\n\t\t\tFile[] fileArray = null; \n\n\t\t\tPacket responsePacket = this.requestServer(FileTransferProtocol.LIST_FILES);\n\n\t\t\tbyte[] responseBytes = responsePacket.getPayloadBytes();\n\t\t\t\n\t\t\tthis.showNamedMessage(\"Server response received, now processing...\"); \n\t\t\tfileArray = util.Bytes.deserialiseByteArrayToFileArray(responseBytes);\n\t\t\tthis.serverFiles = fileArray;\n\t\t\tthis.printArrayOfFile(fileArray);\n\t\t\t\n\t\t\tsuccess = true;\n\n\t\t} catch (ClassNotFoundException e) {\n\t\t\tthis.showNamedError(\"Problems with received data: \" + e.getLocalizedMessage());\n\t\t} catch (EmptyResponseException e) {\n\t\t\tthis.showNamedError(\"Response from server was empty: \" + e.getLocalizedMessage());\n\t\t} catch (ServerFailureException e) {\n\t\t\tthis.showNamedError(\"FAILURE> \" + e.getLocalizedMessage());\n\t\t}\n\n\t\treturn success;\n\t}", "title": "" }, { "docid": "ae1563054c62e1b40c9d327d664dbf0c", "score": "0.4777617", "text": "public String[] listDirectory( String directory, FileType type );", "title": "" } ]
d3f7f243786a3926b3bc8d690296b1ab
Gets the next record from the underlying iterator that passes the filter
[ { "docid": "0b0fe1d6bb5c101e2041790e7aa38cdb", "score": "0.78318936", "text": "private SAMRecord getNextRecord() {\n while (iterator.hasNext()) {\n SAMRecord record = iterator.next();\n runtimeMetrics.incrementNumReadsSeen();\n\n boolean filtered = false;\n for(SamRecordFilter filter: filters) {\n if(filter.filterOut(record)) {\n runtimeMetrics.incrementFilter(filter);\n filtered = true;\n break;\n }\n }\n\n if(!filtered) return record;\n }\n\n return null;\n }", "title": "" } ]
[ { "docid": "7e178393f2c85560a6f3b0fa4fd6e462", "score": "0.6831316", "text": "public T next() {\n if ( this.currentRecord < getRecordCount() )\n return this.records.get(++currentRecord);\n \n return null;\n }", "title": "" }, { "docid": "9ca33d84bedeed83a49743d128a45ade", "score": "0.6682054", "text": "@Override\n public T next()\n {\n if (hasNext() == false)\n {\n String errorMessage = \"No records remaining in request or no records have been requested.\";\n log.error(errorMessage);\n throw new java.util.NoSuchElementException(errorMessage);\n }\n\n // If we have consumed all of the requested records make a new request based on the queued requests\n if (requestedRecordOffsets.size() == 0)\n {\n requestedRecordOffsets.addAll(queuedRecordOffsets);\n queuedRecordOffsets.clear();\n\n Runnable fetchRequestTask = new Runnable()\n {\n RowServiceInputStream inputStream = HpccRandomAccessFileReader.this.inputStream;\n public void run()\n {\n try\n {\n inputStream.startBlockingFetchRequest(requestedRecordOffsets);\n }\n catch(Exception e)\n {\n String errorMessage = \"Error while performing block fetch request: \" + e.getMessage();\n log.error(errorMessage);\n throw new java.util.NoSuchElementException(errorMessage);\n }\n }\n };\n\n fetchRequestThread = new Thread(fetchRequestTask);\n fetchRequestThread.start();\n }\n\n Object rslt = null;\n try\n {\n rslt = this.binaryRecordReader.getNext();\n }\n catch (HpccFileException e)\n {\n log.error(\"Read failure for \" + this.dataPartition.toString() + \" \" + e.getMessage());\n throw new java.util.NoSuchElementException(\"Fatal read error: \" + e.getMessage());\n }\n\n this.requestedRecordOffsets.remove(0);\n return (T) rslt;\n }", "title": "" }, { "docid": "4e269c58e0ec7e802e9c928c38706f21", "score": "0.64772636", "text": "@Field(13) \n\tpublic Pointer<AVFilter > next() {\n\t\treturn this.io.getPointerField(this, 13);\n\t}", "title": "" }, { "docid": "3f9f92dd9750a06c3b296cf31bc812e5", "score": "0.6423431", "text": "@Override\r\n\t\tpublic Entry<K, V> next() {\r\n\t\t\tlastItemReturned = localIterator.next();\r\n\t\t\treturn lastItemReturned;\r\n\t\t}", "title": "" }, { "docid": "ed752ecfd7649b55341a21d07530ceec", "score": "0.64155567", "text": "public SAMRecord next() {\n if (next == null) {\n throw new NoSuchElementException(\"Iterator has no more elements.\");\n }\n final SAMRecord result = next;\n next = getNextRecord();\n return result;\n }", "title": "" }, { "docid": "c6de28c4cbc476297ad6d7087432a121", "score": "0.6358066", "text": "public RowResult next() {\r\n // since hasNext() does the real advancing, we call this to determine\r\n // if there is a next before proceeding.\r\n if (!hasNext()) {\r\n return null;\r\n }\r\n \r\n // if we get to here, then hasNext() has given us an item to return.\r\n // we want to return the item and then null out the next pointer, so\r\n // we use a temporary variable.\r\n RowResult temp = next;\r\n next = null;\r\n return temp;\r\n }", "title": "" }, { "docid": "4dea4b579fe9675ece6501301beb8a5f", "score": "0.62706584", "text": "@Override\n\t\tpublic Object next() {\n\t\t\tif (this.hasNext()) {\n\t\t\t\treturn data.get(cursor - 1);\n\t\t\t} else {\n\t\t\t\treturn null;\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "b9cdb42c8eaba021d3e926c2901faa8f", "score": "0.623564", "text": "public SAMRecord next() {\n return record;\n }", "title": "" }, { "docid": "02f6b429dda2e26a5af3d846cdd8d5ad", "score": "0.6232428", "text": "public ImmutableRecordPair getNext() throws java.io.IOException {\n\t\tImmutableRecordPair r = ((RecordPairSource) getCurSource()).getNext();\n\t\tnextValid();\n\t\treturn r;\n\t}", "title": "" }, { "docid": "c28ae7ae27be36c41afccd30f7f9b138", "score": "0.61996895", "text": "@Override\n\t\tpublic Object next() {\n\t\t\tif (!hasNext()) {\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\t}\n\n\t\t\tlastReturned = next;\n\t\t\tnext = next.next;\n\t\t\tindex++;\n\t\t\treturn lastReturned.item;\n\t\t}", "title": "" }, { "docid": "b27b5d0c453771a4864d132a50f6cb93", "score": "0.61942303", "text": "public T next() {\n cursor = index;\n return ((Entry<T>) set[cursor]).element;\n }", "title": "" }, { "docid": "be544fd4ef94de9454455e22b9187f3c", "score": "0.6185041", "text": "protected Tuple readNext()\n throws NoSuchElementException, TransactionAbortedException, DbException {\n if (it != null && it.hasNext()) {\n return it.next();\n } else\n return null;\n }", "title": "" }, { "docid": "e704d6f1b96524864824c14d99e1bdad", "score": "0.61673707", "text": "Record next() throws RepositoryException, InterruptedException;", "title": "" }, { "docid": "a330551e90f0c5e49a87b7f94035aef5", "score": "0.6062685", "text": "public CDKHarvestIterationItem next() throws CDKHarvestIterationException;", "title": "" }, { "docid": "b78c4c7cb6500e1ff37a829705ccffd2", "score": "0.60225576", "text": "@Override\r\n\t\tpublic Object next() {\n\t\t\t\r\n\t\t\tint ii = searchForUnhittedInteger();\r\n\t\t\t\r\n\t\t\treturn items[ii];\r\n\t\t}", "title": "" }, { "docid": "274f45ff1ace0df61cfd2aaf4a591e6e", "score": "0.60209835", "text": "@Override\n public TYPE next() {\n // If the last iteration threw an exception,\n // throw that exception now\n if (caughtException != null) {\n throw caughtException;\n }\n // If the current item is null, this can happen for\n // two reasons.\n // 1. hasNext hasn't been called yet.\n // 2. the delegate is empty\n // in the first case, hasNext will make sure we have\n // an item to use, and in the second case hasNext\n // will return false\n if (this.nextObject == null && !this.hasNext()) {\n // In keeping with the signature of Iterator's\n // `next` method, if the delegate iterator is all\n // out, and we don't have a current item, then we\n // must throw a no such element exception.\n throw new NoSuchElementException();\n }\n\n // Store a local reference to the current item\n AtomicReference<TYPE> flush = this.nextObject;\n // replace the \"current item\" reference with the\n // nextObject item\n this.nextObject = getNextObject();\n // return our item\n return flush.get();\n }", "title": "" }, { "docid": "8f7a3b4aa1cd7ab673d3d09feb605764", "score": "0.59400076", "text": "QueryIterator<T> findIterate();", "title": "" }, { "docid": "18fd218049b9d9baf118f4c5e42cdfdd", "score": "0.58448267", "text": "@Override public T next() {\n if (next == null) {\n throw new NoSuchElementException();\n }\n T result = next;\n T nextMultiple = add(result, result);\n if (nextMultiple != null) {\n queue.add(new PrimeFilter<T>(result, nextMultiple));\n }\n // Recompute next. Assume next prime is previous prime + 1. As that assumption is shown false\n // by comparing to prime filters, increment and try again.\n next = inc(next);\n while (next != null) {\n PrimeFilter<T> filter = queue.peek();\n int c = filter.nextMultiple.compareTo(next);\n if (c > 0) {\n break;\n } else {\n // this filter is below the threshold, so remove it and replace with its next multiple\n queue.remove();\n filter.nextMultiple = add(filter.prime, filter.nextMultiple);\n if (filter.nextMultiple != null) {\n queue.add(filter);\n }\n if (c == 0) {\n // This means our candidate == filter, which indicates that it is non-prime.\n // So increment and continue testing.\n next = inc(next);\n }\n }\n }\n return result;\n }", "title": "" }, { "docid": "3fcc5901ea71287bdb4c3687a7d2cf78", "score": "0.58333766", "text": "public Tuple next() throws DbException, TransactionAbortedException, NoSuchElementException {\n if (open == false) {\n throw new NoSuchElementException();\n }\n if (curPageIter != null && curPageIter.hasNext()) {\n return curPageIter.next();\n }\n //update iterator\n boolean status = hasNext();\n if (status) {\n return curPageIter.next();\n }\n throw new NoSuchElementException();\n }", "title": "" }, { "docid": "c010e6b11fa4e03c6e7a5cdcc1d56b89", "score": "0.58287185", "text": "@Override\n\t\tpublic T next() {\n\t\t\tif(!checkedFirst){\n\t\t\t\treturn curr.getData();\n\t\t\t}\n\t\t\tcurr = curr.getNext();\n\t\t\treturn curr.getData();\n\t\t}", "title": "" }, { "docid": "edfa01d5136786c60ea590aa33d00ec3", "score": "0.5822691", "text": "public ProteinMatch next() throws SQLException, IOException, ClassNotFoundException, InterruptedException {\r\n int threadIndex = incrementIndex();\r\n if (threadIndex < nMatches) {\r\n checkBuffer();\r\n String key = proteinKeys.get(threadIndex);\r\n ProteinMatch match = identification.getProteinMatch(key);\r\n return match;\r\n }\r\n return null;\r\n }", "title": "" }, { "docid": "d4a622acaa2d669cf7d4fe7e5888c6a6", "score": "0.58130634", "text": "public void next() {\r\n nextCalled = true;\r\n queryCallback.processRow(this);\r\n }", "title": "" }, { "docid": "7305c1969fccb75bf0b9137a3820eb08", "score": "0.5771219", "text": "@Override\n public Object next() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n return values[index++];\n }", "title": "" }, { "docid": "e4dbe6e6db93e5a7aba8facb20881f1e", "score": "0.57660145", "text": "public String nextFilteredRawEntry(Filter aFilter) throws IOException {\n String result = null;\n boolean lContinue = true;\n while(lContinue) {\n String tempString = this.nextRawEntry();\n // First check for 'null' (no more entries),\n // and if not 'null', check for filter passing.\n if(tempString == null) {\n lContinue = false;\n continue;\n } else if(aFilter.passesFilter(tempString)) {\n result = tempString;\n lContinue = false;\n }\n }\n\n return result;\n }", "title": "" }, { "docid": "03c96b92cd5d09003b1dd39605ef03ba", "score": "0.5760008", "text": "@Override\r\n public Integer next() {\r\n Integer p = peek;\r\n if (this.iterator.hasNext()) peek = this.iterator.next();\r\n else peek = null;\r\n return p;\r\n }", "title": "" }, { "docid": "31deba4f0868fa5b543e68a14276a7f3", "score": "0.57578725", "text": "private AtomicReference<TYPE> getNextObject() {\n // wrap all of this in a try/catch, because any of the calls\n // on the delegate may throw unchecked exceptions.\n try {\n // only try to get the next item if there is one.\n if (delegateIterator.hasNext()) {\n // Now that we know there's an item available, get it\n return new AtomicReference<>(delegateIterator.next());\n }\n } catch (RuntimeException e) {\n // if we catch an exception, hold onto it. We won't throw now,\n // because the user requested the previous item.\n caughtException = e;\n }\n return null;\n }", "title": "" }, { "docid": "25a1e1a16838b5b5a0363ee9575c2aaa", "score": "0.5754564", "text": "protected boolean next() {\n switch (state) {\n case LOOK_AHEAD:\n case LOOK_AHEAD_WITH_EOF:\n // Use batch previously read.\n assert lookahead != null;\n lookahead.exchange(scanOp.containerAccessor.container());\n assert lookahead.getRecordCount() == 0;\n lookahead = null;\n if (state == State.LOOK_AHEAD_WITH_EOF) {\n state = State.EOF;\n } else {\n state = State.ACTIVE;\n }\n return true;\n case ACTIVE:\n return readBatch();\n case EOF:\n return false;\n default:\n throw new IllegalStateException(\"Unexpected state: \" + state);\n }\n }", "title": "" }, { "docid": "a3fb80aad29897b2d7de2fe4b85ce656", "score": "0.57482475", "text": "@Override\n\t\tpublic Tuple next() throws DbException, TransactionAbortedException, NoSuchElementException {\n\t\t\tif (nextTuple==null || !status) throw new NoSuchElementException();\n\t\t\tTuple Temp=nextTuple;\n\t\t\tgetNext();\n\t\t\treturn Temp;\n\t\t}", "title": "" }, { "docid": "53327bd2b796c2bb362692b762c5892d", "score": "0.5745513", "text": "@Override public T next() {\n return iterador.next().get();\n }", "title": "" }, { "docid": "8fdebf6bc3ebf7ff53124431d09df127", "score": "0.5726981", "text": "@Override\n\tpublic List<PackageItem> findNext(Integer noOfRecords, Context ctx) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "cf84c24748e006d981cc4054ada6135b", "score": "0.57043064", "text": "@Override\n OCursor<V> next();", "title": "" }, { "docid": "47911d93e2434e87d7d594318f475d84", "score": "0.5703991", "text": "protected abstract void findNext();", "title": "" }, { "docid": "9bacf25672d5cf52259dae0a49814657", "score": "0.57003367", "text": "@Override\n public ResourceRecordSet<?> next() {\n DirectionalRecord record = peekingIterator.next();\n\n Builder<Map<String, Object>>\n builder =\n ResourceRecordSet.builder().name(record.getName()).type(record.getType())\n .qualifier(record.getGeoGroupName()).ttl(record.getTtl());\n\n builder.add(toMap(record.getType(), record.getRdata()));\n\n final String key = record.getName() + \"_\" + record.getType() + \"_\" + record.getGeoGroupName();\n if (!cache.containsKey(key)) {\n Geo profile = Geo.create(getDirectionalDNSGroupByName(zoneName, record.getName(),\n RRSetUtil.directionalRecordType(record.getType()), record.getGeoGroupName()).getRegionToTerritories());\n cache.put(key, profile);\n }\n\n builder.geo(cache.get(key));\n while (hasNext()) {\n DirectionalRecord next = peekingIterator.peek();\n if (typeTTLAndGeoGroupEquals(next, record)) {\n peekingIterator.next();\n builder.add(toMap(record.getType(), next.getRdata()));\n } else {\n break;\n }\n }\n return builder.build();\n }", "title": "" }, { "docid": "e849476fcddd87deeb61ff7949939667", "score": "0.56928056", "text": "@Override\npublic Integer next() {\n int r = this.next;\n this.next = (this.it.hasNext()) ? it.next() : null;\n return r;\n}", "title": "" }, { "docid": "794588420553e2959b88388363300d88", "score": "0.56879765", "text": "public Object next() throws NamingException {\n SearchResult result = null;\n if (hasMore()) { // Something to return!\n result = (SearchResult) searchResults[current].next();\n if (dnAttributeName != null) {// Stuff in the DN\n String rdn = result.getName(); // Get the relative dn for this match\n String dn = rdn + \",\" + executedSearch.getSearchBases()[current]; // Construct a full dn.\n Attributes attrs = result.getAttributes();\n attrs.put(dnAttributeName, dn);\n result.setAttributes(attrs);\n }\n } else {\n throw new NoSuchElementException();\n }\n return result;\n }", "title": "" }, { "docid": "322d2943ca28050ff44dce387cc6c029", "score": "0.5681243", "text": "public Map.Entry<BaseFilter, Long> runNextFilter() {\n if (filter == null) {\n // ew a nested if statement\n if (filterQueue.size() <= 0) {\n return new AbstractMap.SimpleEntry<>(null, 0L);\n }\n\n Iterator<Map.Entry<BaseFilter, Matcher>> iterator = filterQueue.entrySet().iterator();\n\n // update the linked variables\n filter = iterator.next();\n timerRun = System.currentTimeMillis() + (ChatFilter.instance.getConfig().getConfirmDelay() * 1000L);\n\n // remove from the listed queue\n iterator.remove();\n }\n\n // run the next filter action if the time left is <= 0\n if (timerRun - System.currentTimeMillis() <= 0L) {\n // run the action using the correct context\n filter.getKey().getAction().performAction(filter.getValue());\n\n // nullify the filter\n filter = null;\n timerRun = 0L;\n }\n\n return new AbstractMap.SimpleEntry<>(filter == null ? null : filter.getKey(), timerRun);\n }", "title": "" }, { "docid": "2ed651afb2ea2925a7ad7316d25f1094", "score": "0.5679309", "text": "private void fetch() {\n if (bufferPosition == bufferSize) {\n position += bufferSize;\n bufferPosition = 0;\n bufferSize = 0;\n while (bufferSize < buffer.length && iterator.hasNext()) {\n Object object = iterator.next();\n if (predicate.evaluate(object)) {\n buffer[bufferSize++] = object;\n }\n }\n size += bufferSize;\n }\n }", "title": "" }, { "docid": "cdc79cd8bd61e62e86ae3d4f708d21d1", "score": "0.56504416", "text": "@Override\r\n\tpublic Integer next() {\r\n\t\tif (!hasPeeked) {\r\n\t\t\treturn iter.next();\r\n\t\t}\r\n\r\n\t\tInteger result = peekedElement;\r\n\t\thasPeeked = false;\r\n\t\tpeekedElement = null;\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "81283f63c0c3a8e4c245bd7ceaec9ca4", "score": "0.56435925", "text": "@Override\n\tpublic Integer next() {\n Integer n = next;\n \n if(myIterator.hasNext()){\n next = myIterator.next();\n }else{\n next = null;\n }\n return n;\n\t}", "title": "" }, { "docid": "92a3a9be8649414bd92b7fdfd7e6b4eb", "score": "0.56410635", "text": "@Nonnull\n public RecordCursorResult<V> nextResult() {\n final RecordCursorResult<V> innerResult = innerFuture.join();\n final RecordCursorResult<V> result;\n if (innerResult.hasNext()) {\n result = RecordCursorResult.withNextValue(innerResult.get(), toContinuation());\n } else {\n NoNextReason reason;\n if (innerResult.getNoNextReason().isSourceExhausted()) {\n // If the outer cursor had another result, we would have skipped over this exhausted result from\n // the inner cursor and moved on to the next inner cursor (as indicated by\n // doesNotHaveReturnableResult()). Thus, the outer cursor must be stopped.\n reason = outerResult.getNoNextReason();\n } else {\n reason = innerResult.getNoNextReason();\n }\n result = RecordCursorResult.withoutNextValue(toContinuation(), reason);\n }\n innerFuture = null;\n return result;\n }", "title": "" }, { "docid": "7a1d00411025d5324e367f1eaa5c8794", "score": "0.56151336", "text": "@Override\n public E next() {\n if (!hasNext()) {\n throw new java.util.NoSuchElementException();\n }\n E returnValue = theData[index];\n index = (index + 1) % capacity;\n count++;\n \n return returnValue;\n }", "title": "" }, { "docid": "c2eb2111568d6e2ac5d0c5c3887e3ca2", "score": "0.56120676", "text": "@Field(13) \n\tpublic AVFilter next(Pointer<AVFilter > next) {\n\t\tthis.io.setPointerField(this, 13, next);\n\t\treturn this;\n\t}", "title": "" }, { "docid": "183db117d718e96736cb85d7a1f17a53", "score": "0.56102073", "text": "public Object next() throws NoSuchElementException {\n fetch();\n if (bufferPosition < bufferSize) {\n return buffer[bufferPosition++];\n } else {\n throw new NoSuchElementException();\n }\n }", "title": "" }, { "docid": "027b992b386722c69c9e00d371d877a0", "score": "0.56093407", "text": "public Attribute next(){\n return (Attribute)iterator.next();\n }", "title": "" }, { "docid": "1f05d2658dc2d3162df6a282b7f04d83", "score": "0.56061876", "text": "@Override\n\t\tpublic Integer next() {\n\t\t\tInteger tmp = nextEle;\n\t\t\tnextEle = iterator.hasNext() ? iterator.next() : null;\n\t\t\treturn tmp;\n\t\t}", "title": "" }, { "docid": "bb88194cbb069b3bfdad019d690bcb4e", "score": "0.5596348", "text": "public Row next() {\n\t\tif (this.hasNext()) {\n\t\t\tRow element = rows.get(currentIdx);\n\t\t\tcurrentIdx++;\n\t\t\treturn element;\n\t\t} else {\n\t\t\tthrow new NoSuchElementException();\n\t\t}\n\t}", "title": "" }, { "docid": "0d9881a544760f162cd818d635cc7c53", "score": "0.55722594", "text": "public IContact moveNext() {\n\t\treturn iterator.next();\n\n\t}", "title": "" }, { "docid": "0bef0e130afa04b22f6ae1a345cfe135", "score": "0.5559671", "text": "public Object next() {\r\n\r\n\t\tif (hasNext() == true) {\r\n\t\t\tcurrentNumber++;\r\n\t\t\treturn list.get(currentNumber);\r\n\t\t} else {\r\n\t\t\treturn null;\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "63d924d28d9b2c497c67ceb2a891e779", "score": "0.55592793", "text": "@Override\n public Object next() {\n if (cursor >= values.length) {\n throw new NoSuchElementException();\n }\n Object result = getNextValue();\n nextValidValueWasChecked = false;\n return result;\n }", "title": "" }, { "docid": "f6b29f0deea58b44476c90ef83e394b1", "score": "0.55544084", "text": "@Override\n public SplitPoint next() {\n SplitPoint ret;\n if (peeked) {\n peeked = false;\n ret = peekedValue;\n } else {\n ret = nextOrNull();\n }\n if (ret == null) throw new NoSuchElementException();\n return ret;\n }", "title": "" }, { "docid": "059b7932ab4169fd940cb074b0b2083a", "score": "0.55494505", "text": "@Override\r\n\tpublic Object next() {\n\t\tCarro carro = carros.get(indice);\r\n\t\tindice = indice + 1;\r\n\t\treturn carro;\r\n\t}", "title": "" }, { "docid": "a5abe375ff4c2cbb87368f13363b68d0", "score": "0.55406916", "text": "@Override\n\t\t\tpublic TData next() {\n\t\t\t\tif (!hasNext()) \n\t\t\t\t\tthrow new NoSuchElementException();\n\t\t\t\tTData data = _next_node.data;\n\t\t\t\t_next_node = _next_node.next_node;\n\t\t return data;\n\t\t\t}", "title": "" }, { "docid": "27416b8d8549ac1795a43f6513e4f7ca", "score": "0.5533007", "text": "public Object next() {\n return this.next();\n }", "title": "" }, { "docid": "c7a30930fd39e6de778797a292bc3965", "score": "0.55326015", "text": "public TYPE peek() {\n // If the last iteration threw an exception,\n // throw that exception now\n if (caughtException != null) {\n throw caughtException;\n }\n if (nextObject == null && !hasNext()) {\n // if this has been called without first calling hasNext,\n // nextObject can be empty, and we throw an exception.\n throw new NoSuchElementException();\n }\n return nextObject.get();\n }", "title": "" }, { "docid": "b79c7c042a65ad428bd985cb4a727003", "score": "0.5527268", "text": "@Override\n\tpublic Integer next() {\n\t Integer res = cur;\n cur = itr.hasNext() ? itr.next() : null;\n return res;\n\t}", "title": "" }, { "docid": "699bc2bad02c01b46922e6579e27aea1", "score": "0.5520844", "text": "@Override\n\t\tpublic E next() {\n\t\t\tif(!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tE tmp=index.data;\n\t\t\tindex = index.next;\n\t\t\treturn tmp;\n\t\t}", "title": "" }, { "docid": "746e4824705f50159c85eb3132e2b8cb", "score": "0.5500395", "text": "public Feature Get_next() {\n return this.next;\n }", "title": "" }, { "docid": "e16dd32afdebd7d4893df36be15999c1", "score": "0.5499039", "text": "Object next() {\n\t if (this.hasNext()) {\n\t\treturn this.curParser.next();\n\t } else {\n\t\tthrow new NoSuchElementException();\n\t }\n\t}", "title": "" }, { "docid": "4816864aa317a39933de915134132aa5", "score": "0.54959375", "text": "public Worker next(){\n this.currentWorker = this.workerSearch.next();\n return currentWorker;\n }", "title": "" }, { "docid": "af65bacddf3ff3e1a38fb01fd434126b", "score": "0.54956985", "text": "public Object next()\n {\n return list.get(currentIndex++);\n }", "title": "" }, { "docid": "919dbce36bdaa0d5792391dc159d61e2", "score": "0.5493485", "text": "@Override\n\t\t\tpublic T next() {\n\t\t\t\treturn elements[index++];\n\t\t\t}", "title": "" }, { "docid": "fa86a1acac1a3b234ec278b246c59af4", "score": "0.54873437", "text": "@Override\n public final O next() {\n try {\n return myMapper.map(mySource.next());\n }\n catch (ConcurrentModificationException cme) {\n int i = 5;\n throw new RuntimeException(cme);\n }\n }", "title": "" }, { "docid": "bf3981eaef007c9cc1472d5c4b44b0fd", "score": "0.54800755", "text": "public E next() {\n\n\t\t\tif (cursor > size) {\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\t}\n\t\t\tcursor++;\n\t\t\tif (data[cursor - 1] != null) {\n\t\t\t\treturn data[cursor - 1];\n\t\t\t} else {\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "00b89cda8d29899100a072af477ca043", "score": "0.5473577", "text": "public T next() {\n ConsList<T> itemsAsCons = this.items.asCons();\n T answer = itemsAsCons.first;\n this.items = itemsAsCons.rest;\n return answer;\n }", "title": "" }, { "docid": "95c60e3f5ae754e0f82e60b752082bc9", "score": "0.547035", "text": "Iterator iteratorById(int id);", "title": "" }, { "docid": "9a6098333a1438d9fb6832df6de5ff76", "score": "0.54618955", "text": "public long next() {\n\t\t\tlong result = -1l;\n\n\t\t\tif (cache < 0L && bufferElements > 0) {\n\t\t\t\tresult = getNextFromBuffer();\n\t\t\t\tbufferElements--;\n\t\t\t} else {\n\t\t\t\tresult = cache;\n\t\t\t\tcache = -1L;\n\t\t\t}\n\n\t\t\tif (!cs.isEmpty()) {\n\t\t\t\tlong first = cs.first();\n\t\t\t\tif (result > first || result == -1L) {\n\t\t\t\t\tcs.remove(first);\n\t\t\t\t\tcache = result;\n\t\t\t\t\tresult = first;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\t// adhere to the general Iterator contract to fail fast and not hand out\n\t\t\t// meaningless values\n\t\t\tif (result == -1L) {\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\t}\n\t\t\t\n\t\t\t// hand out strictly monotonic increasing elements\n\t\t\tAssert.check(previous < result, EC.GENERAL);\n\t\t\tprevious = result;\n\t\t\t\n\t\t\t// maintain read statistics\n\t\t\treadElements++;\n\t\t\t\n\t\t\treturn result;\n\t\t}", "title": "" }, { "docid": "c9995b56a8bce2783e125cd43209a94b", "score": "0.54538494", "text": "public Player nextPlayer(){\n\n if(playerIterator.hasNext())\n return playerIterator.next();\n else\n return null;\n }", "title": "" }, { "docid": "bb1a48d4c8cf69c81568da3a4948e265", "score": "0.54490507", "text": "public Item next() {\r\n position++;\r\n return items[position - 1];\r\n }", "title": "" }, { "docid": "04939bfda77a58a42e4bbc8d309acd93", "score": "0.5446826", "text": "@Override\n public E next(){\n return this.ite.next();\n }", "title": "" }, { "docid": "5ba4f16843fa237d5879bc7682eec345", "score": "0.5434982", "text": "public E next()\n { \n \t//if there is no next item, method is invalid\n \tif (!hasNext())\n {\n \t\tthrow new NoSuchElementException();\n }\n \telse\n {\n \t// previous is moved up\n \tlastItemReturned = nextItem;\n \t// next item is moved up one spot\n \tnextItem = nextItem.next;\n \t// increases index\n \tindex++;\n return lastItemReturned.data; \n }\n }", "title": "" }, { "docid": "cf5ff747f58e11f2f763abd2123f35d4", "score": "0.5434276", "text": "public boolean next() {\n\t\twhile (ts.next())\n\t\t\tif (ts.getVal(\"dataval\").equals(searchkey))\n\t\t\t\treturn true;\n\t\treturn false;\n\t}", "title": "" }, { "docid": "8be731af716aaa4a30001cadb53e8389", "score": "0.54339355", "text": "public T first() {\n return this.records.get(0);\n }", "title": "" }, { "docid": "8de4147bb3f5aae3fa279ea040880bd5", "score": "0.54276645", "text": "protected void next() { _cursor.next(); }", "title": "" }, { "docid": "e901626913d8505f43ae50aacdf9a826", "score": "0.54260236", "text": "public E next() {\n return (E) collection[currentIndex++];\n }", "title": "" }, { "docid": "dde322ad98e73391567dfc522eaa0d15", "score": "0.5422262", "text": "@Override\n public E next() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n \n E e = next.item;\n next = next.next;\n return e;\n }", "title": "" }, { "docid": "83d3b11114fd48afe9b9cbc9eeabb6a7", "score": "0.5420237", "text": "public Item next() {\n Item item = cur.item;\n cur = cur.next;\n return item;\n }", "title": "" }, { "docid": "f23408bae4b27fd9c95909bef3a67a21", "score": "0.54196596", "text": "public E getNext() {\n return list.get(incrementPointer());\n }", "title": "" }, { "docid": "0ba245a8407fc26dde6774422d182521", "score": "0.5416153", "text": "public FileResource nextResource() {\r\n\t if (!hasNext()) {\r\n\t throw new NoSuchElementException();\r\n\t }\r\n\t return resources.get(pos++);\r\n\t }", "title": "" }, { "docid": "114136137843950d8595a0dc15d96dec", "score": "0.54089624", "text": "@Override\n public E next() {\n this.modificationCheck();\n this.init();\n E result = null;\n if (!this.data.isEmpty()) {\n Node<E> element = this.data.poll();\n result = element.getValue();\n for (Node<E> node : element.leaves()) {\n this.data.offer(node);\n }\n }\n if (result == null) {\n throw new NoSuchElementException(\"No more items!\");\n }\n return result;\n }", "title": "" }, { "docid": "ed8582eb25b150bec3f6432f5a4e743f", "score": "0.54068315", "text": "public Item peek() {\n return first.item;\n }", "title": "" }, { "docid": "33409017eca71ee03247d442ebe48664", "score": "0.5401798", "text": "public Object nextElement() {\n return buffer_iter.nextElement();\n }", "title": "" }, { "docid": "f37b40120c17b739ba59a803f95b26a1", "score": "0.53992933", "text": "@Override\r\n\tpublic boolean next() {\r\n\t\tif (isLhsEmpty)\r\n\t\t\treturn false;\r\n\t\tif (idx.next()) {\r\n\t\t\tts.moveToRecordId(idx.getDataRecordId());\r\n\t\t\treturn true;\r\n\t\t} else if (!(isLhsEmpty = !s.next())) {\r\n\t\t\tresetIndex();\r\n\t\t\treturn next();\r\n\t\t} else\r\n\t\t\treturn false;\r\n\t}", "title": "" }, { "docid": "5ba476ab6777b6281db62ef89e3123bf", "score": "0.53906", "text": "public T next() {\n if (cursor >= n) {\n throw new NoSuchElementException();\n } else {\n return vertices[cursor++];\n }\n }", "title": "" }, { "docid": "036e685ccf37972de29d98c67f5cb3fb", "score": "0.5390088", "text": "public E next() {\r\n if (!hasNext()) {\r\n throw new NoSuchElementException();\r\n }\r\n E result = current.data;\r\n current = current.next;\r\n removeOK = true;\r\n return result;\r\n }", "title": "" }, { "docid": "0fbe4394c163d9401b0ca97e51acaf5d", "score": "0.53897256", "text": "private Object getNextValue() {\n Object result = null;\n if (nextValidValueWasChecked) {\n result = values[nextValidPosition];\n cursor = nextValidPosition + 1;\n } else {\n for (int i = cursor; i < values.length; i++) {\n if (isPrimeNumber(values[i])) {\n result = values[i];\n cursor = i + 1;\n break;\n }\n }\n }\n if (result == null) {\n throw new NoSuchElementException();\n }\n return result;\n }", "title": "" }, { "docid": "bcd6191942e84eb438494e0cc59b82e4", "score": "0.5385132", "text": "@Override\n\tpublic Integer next() {\n\t Integer result = current;\n \n if(iterator.hasNext()) // Check if the iterator has any element left.\n current = iterator.next(); // assign current to next element.\n else\n current = null; // else current will become null.\n return result;\n\t}", "title": "" }, { "docid": "41665a1ecaaffcbf5297d48be716243e", "score": "0.53817046", "text": "Document next() {\n\t\t// DatabaseEntries used for loading records\n\t\tfinal DatabaseEntry theData = database.next(lastKey);\n\t\tif (theData == null) {\n\t\t\t//pas de suivant\n\t\t\treturn null;\n\t\t}\n\t\tfinal Document document = (Document) processBinding.entryToObject(theData);\n\t\t//on garde la derni�re Url\n\t\tuuidBinding.objectToEntry(document.getDocumentVersion().getKey(), lastKey);\n\t\tif (document.getDocumentVersion().getUrl().contains(\"Clients - reseau\")) {\n\t\t\tSystem.out.println(\"FOUND : \" + document.getDocumentVersion().getUrl() + \"(\" + document.getSize() / 1024 + \"Ko)\");\n\t\t}\n\t\t//System.out.println(\"BerkeleyDatabaseReader : \" + document.getDocumentVersion().getUrl() + \"(\" + document.getSize() / 1024 + \"Ko)\");\n\t\treturn document;\n\t}", "title": "" }, { "docid": "00efb7756b8175aee9b4ee5c311470de", "score": "0.5377308", "text": "@Override\n\tpublic Integer next() {\n\t if (!hasNext()) {\n throw new java.util.NoSuchElementException();\n }\n Integer ret = nextVal;\n if (ret == null) {\n ret = iter.next();\n } else {\n nextVal = null;\n }\n return ret;\n\t}", "title": "" }, { "docid": "38ff966e9fe09ef76d5205fa5d89c2af", "score": "0.5371039", "text": "public Item next() \r\n throws NoSuchElementException {\r\n if (!this.hasNext()) {\r\n throw new java.util.NoSuchElementException();\r\n } else {\r\n return this.rq.dequeue();\r\n }\r\n }", "title": "" }, { "docid": "722026401469aa5504ad3bce7a96b8da", "score": "0.53561383", "text": "@Override\n public Integer next() {\n if (next == null) {\n throw new NoSuchElementException();\n }\n\n Integer toReturn = Integer.valueOf(next);\n\n if (i != null && i.hasNext()) {\n next = i.next();\n } else {\n next = null;\n }\n\n return toReturn;\n }", "title": "" }, { "docid": "fbab81fc67095133c887738f990ac838", "score": "0.53560275", "text": "@Override\n public BytesRef next() throws IOException {\n BytesRef next;\n do {\n next = super.next();\n if (next == null) {\n // No more terms.\n return null;\n }\n // Check if the term occurs for the searched field.\n } while (!termOccursInField());\n // The term occurs for the searched field.\n return next;\n }", "title": "" }, { "docid": "2332997216512ea75b4b43a7ea69640d", "score": "0.53441316", "text": "@Override\n public CloseableIterator<SAMRecord> getIterator() {\n if (mReader == null) {\n throw new IllegalStateException(\"File reader is closed\");\n }\n if (mIterator != null) {\n throw new IllegalStateException(\"Iteration in progress\");\n }\n mIterator = new RecordIterator();\n return mIterator;\n }", "title": "" }, { "docid": "8cefb218e67b7337519468aacc1a539b", "score": "0.534336", "text": "public Item peek(){\n return first.item;\n }", "title": "" }, { "docid": "500be57d529570c16bdea48381fb1a06", "score": "0.53412783", "text": "@Override\n\tpublic Integer next() {\n\t if (!hasNext()) {\n\t //Should uncomment the following, but OJ doesn't not accept it\n\t //throw new java.util.NoSuchElementException();\n\t }\n\t Integer ret = nextValue;\n\t nextValue = null;\n\t if (iter.hasNext()) {\n\t nextValue = iter.next();\n\t } else {\n\t hasNext = false;\n\t }\n\t return ret;\n\t}", "title": "" }, { "docid": "30d8b8fa84a702eab1032caf5a53f457", "score": "0.53240126", "text": "public boolean next()\n/* */ throws SQLException\n/* */ {\n/* 305 */ synchronized (this.connection)\n/* */ {\n/* */ \n/* 308 */ if (this.closed)\n/* */ {\n/* 310 */ SQLException localSQLException = DatabaseError.createSqlException(getConnectionDuringExceptionHandling(), 10);\n/* 311 */ localSQLException.fillInStackTrace();\n/* 312 */ throw localSQLException;\n/* */ }\n/* */ \n/* 315 */ if (isEmptyResultSet())\n/* */ {\n/* 317 */ return false;\n/* */ }\n/* */ \n/* */ \n/* 321 */ if (this.currentRow < 1)\n/* */ {\n/* 323 */ this.currentRow = 1;\n/* */ }\n/* */ else\n/* */ {\n/* 327 */ this.currentRow += 1;\n/* */ }\n/* */ \n/* 330 */ return isValidRow(this.currentRow);\n/* */ }\n/* */ }", "title": "" }, { "docid": "975b27114e3754a8727aa2248c0bcb39", "score": "0.5322261", "text": "public V next() {\n if(!hasNext())\n throw new NoSuchElementException();\n index++;\n return list.get(index);\n }", "title": "" }, { "docid": "ea1d0c67f3c00e91bb15383c7b2d3eb8", "score": "0.5320428", "text": "E next() throws NoSuchElementException;", "title": "" }, { "docid": "871f54bc120ae4b0f01d67f051b6db04", "score": "0.5317394", "text": "public T next() {\r\n Cons<T> itemsAsCons = this.items.asCons();\r\n T answer = itemsAsCons.first;\r\n this.items = itemsAsCons.rest;\r\n return answer;\r\n }", "title": "" }, { "docid": "1962fb4c2c99b2fd4d90b1402ed480d0", "score": "0.53106654", "text": "public Tuple get_next() throws IndexException, UnknownKeyTypeException,\n\t\t\tIOException {\n\t\tTuple t = iscan.get_next();\n\t\treturn t;\n\t}", "title": "" }, { "docid": "58954b7a5ece9b6eabb6f0ff484278b5", "score": "0.53103167", "text": "public final V next()\r\n/* 2912: */ {\r\n/* 2913: */ ConcurrentHashMapV8.Node<K, V> p;\r\n/* 2914:3238 */ if ((p = this.next) == null) {\r\n/* 2915:3239 */ throw new NoSuchElementException();\r\n/* 2916: */ }\r\n/* 2917:3240 */ V v = p.val;\r\n/* 2918:3241 */ this.lastReturned = p;\r\n/* 2919:3242 */ advance();\r\n/* 2920:3243 */ return v;\r\n/* 2921: */ }", "title": "" } ]
5472940b7cd7ad0bd3e280372e7db978
deleteTestOnly, used only to clean up after unit testing, tbh
[ { "docid": "cccd7513b5d9a5b6b77a8b502e86a7f6", "score": "0.0", "text": "public void deleteTestOnly(String name) {\n HashMap variables = new HashMap();\n variables.put(new Integer(1), name);\n this.execute(digester.getQuery(\"deleteTestOnly\"), variables);\n }", "title": "" } ]
[ { "docid": "ce08232b8333dad0c38d27b570d45ff1", "score": "0.7978018", "text": "@Test\n\tpublic void doTest() {\n\t\tdeleteTest();\n\t}", "title": "" }, { "docid": "cf2d15c3fc7362f103e64cab62eb20c2", "score": "0.77551526", "text": "public void deleteTest() {\n\t}", "title": "" }, { "docid": "dd46e7d86d29dbff7d12e136b5bc21ae", "score": "0.7541713", "text": "@AfterClass\n\tpublic static void deleteTestXmlData() {\n\n\t}", "title": "" }, { "docid": "3c835c3da33576fdefae09f5761f24ca", "score": "0.73816806", "text": "@AfterClass\n public static void tearDown() {\n File test = new File(homeDir + \"/service.json\");\n test.delete();\n }", "title": "" }, { "docid": "8dec5067f03eabee959bca47b7d4869a", "score": "0.73714906", "text": "@Override\r\n protected void tearDown() throws Exception {\r\n //to remove all\r\n }", "title": "" }, { "docid": "110aa327f1ca87cdd5e4381e8b8ae200", "score": "0.7364279", "text": "@AfterClass\n\tpublic static void testCleanup() {\n\t}", "title": "" }, { "docid": "1a49de9fd03291c16c31599bcc1e4d28", "score": "0.7308451", "text": "@Ignore(\"Not ready to run\")\n \t@AfterClass\n \tpublic static void deleteTableFiles(){\n \t}", "title": "" }, { "docid": "e5b2006ce4b463f4fb284e4720930ccf", "score": "0.7293472", "text": "@Override\r\n\tpublic void testDelete() {\n\r\n\t}", "title": "" }, { "docid": "e674dc3a2fdd54d662897da0f4604362", "score": "0.72703606", "text": "protected void cleanLucasTestCase() {\n }", "title": "" }, { "docid": "398bb3926ae198197b0e43ed90ab103d", "score": "0.7260225", "text": "@Test\r\n public void testDelete() {\r\n }", "title": "" }, { "docid": "cb81cc566f18e9828e3b2af9b95e44a0", "score": "0.7246885", "text": "@After\n\tpublic void tearDown(){\n\t\ttry {\n\t\t\tdeleteObject(testObjects.get(\"note\").toString());\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "5db0243454e21f9016dc848451bb5826", "score": "0.72462887", "text": "@Test\n public void deletedTest() {\n // TODO: test deleted\n }", "title": "" }, { "docid": "73f0e85a7c0209d4c99c20b5aa397b1f", "score": "0.7230402", "text": "@After\n\tpublic static void perTestTeardown() {\n\n\t}", "title": "" }, { "docid": "e45e95c722297f24cabeee810d72148f", "score": "0.7173817", "text": "@After\n public void tearDown() throws Exception {\n if (fileSystem != null) {\n fileSystem.delete(new Path(\"target/testing\"), true);\n }\n }", "title": "" }, { "docid": "5ef661d51c72633c14003fbc1a801a86", "score": "0.7162885", "text": "@After\n public void tearDown() throws Exception {\n testInstance = null;\n }", "title": "" }, { "docid": "cd2e87c6b7e56730b549e2596a190181", "score": "0.7137527", "text": "@AfterClass\n public static void caseCleanup() {\n System.out.println(\"---Test Cleanup---\");\n dbc.destroy();\n String path = new File(\"\").getAbsolutePath() + \"/web/WEB-INF/\" + Configuration.getInstance().getDbName();\n File f = new File(path);\n f.delete();\n System.out.println(\"---Test cleanup Complete---\");\n }", "title": "" }, { "docid": "02881deeca451627c095f6891ee99e58", "score": "0.71365476", "text": "@After\n public void tearDown() throws Exception {\n new TmpDirectory().clear();\n }", "title": "" }, { "docid": "bd72ffadc5920859f801ec1fed5875ce", "score": "0.7128506", "text": "@Test\n void deleteList() {\n }", "title": "" }, { "docid": "bd72ffadc5920859f801ec1fed5875ce", "score": "0.7128506", "text": "@Test\n void deleteList() {\n }", "title": "" }, { "docid": "3eb25350f4747b611e697101b0f8e022", "score": "0.709515", "text": "public void deleteTestDB() {\n db.deleteTestDB();\n }", "title": "" }, { "docid": "8179b20d26f8f4b33a50f71a216b7934", "score": "0.7093403", "text": "@After\n\tpublic void testTeardown() \n\t{\n\t\t\n\t}", "title": "" }, { "docid": "b41f8c9a82bb31df8acb4c543d142aae", "score": "0.70924747", "text": "@Override\r\n protected void tearDown() throws Exception {\r\n clearDir(\"test_files/removed\");\r\n clearDir(\"test_files/previewed\");\r\n }", "title": "" }, { "docid": "270c6309fb00762b00f16b8fb47bc7e7", "score": "0.7085174", "text": "@Test\n public void testUploadCodehandin() throws Exception {\n// System.out.println(\"uploadCodehandin\");\n// clean();\n// sometest();\n }", "title": "" }, { "docid": "82ee32dfdd66cf57861922c0a9502e4d", "score": "0.7075693", "text": "protected void clearAfter(DatabaseTesterBase<?> tester) throws Exception\r\n {\r\n }", "title": "" }, { "docid": "f1542de63ae894f5bf1e32470dfd837e", "score": "0.7066561", "text": "@AfterClass\n public static void tearDownClass() {\n _chunkDir.delete();\n }", "title": "" }, { "docid": "70873232342b08ef9e440aa4911faa1b", "score": "0.70626676", "text": "@AfterEach\n void tearDown() {\n test_Person = null;\n test_AddressBook = null;\n controllerTest = null;\n }", "title": "" }, { "docid": "30ad9d7ec06f449980861b496796e7ae", "score": "0.7061492", "text": "protected void tearDown() throws Exception {\n factory = null;\n }", "title": "" }, { "docid": "fcfdbe6a5ec0aaa8364bc5487314b8b4", "score": "0.70500904", "text": "@AfterClass\r\n public static void after() {\n service.excluir(testObject);\r\n }", "title": "" }, { "docid": "0b6a0bf4876d4e2460461d85be5efcc9", "score": "0.7033146", "text": "@Test\n public void unlinkTest() {\n // TODO: test unlink\n }", "title": "" }, { "docid": "c8107c14fc15c11bc4a591386eeda1c7", "score": "0.7031555", "text": "@Override\n public void tearDown() {\n getContext().deleteFile(FileManager.AT_FILE);\n fm = null;\n }", "title": "" }, { "docid": "c998572f0b488b574c49e5d8cbad4069", "score": "0.70154834", "text": "@Test(timeout = 4000)\n public void test94() throws Throwable {\n FileUtil fileUtil0 = new FileUtil();\n fileUtil0.deleteFile(\"\");\n }", "title": "" }, { "docid": "3cfd54e487dcce1572483aa8af3553ef", "score": "0.70140505", "text": "@Override\n public void tearDown() throws Exception {\n super.tearDown();\n files.clear();\n }", "title": "" }, { "docid": "fc72ffd4b4fb2f3f2574726e85ecd17d", "score": "0.70043856", "text": "@After\n\t public void tearDown() {\n\t \n\t }", "title": "" }, { "docid": "466e6d604df4485e94ceb5da3cf23a9f", "score": "0.70038486", "text": "@Override\n public void tearDown(){\n mockES.deleteTasks(mockTask);\n mockES.deleteProfile(testProfile);\n solo.finishOpenedActivities();\n\n }", "title": "" }, { "docid": "930273bfe70e8fcc33daa30042ef51ec", "score": "0.69951767", "text": "@After\r\n public void tearDown() {\r\n this.dcFactory = null;\r\n }", "title": "" }, { "docid": "d9135e55e6c4d28987f5a254dc53d6de", "score": "0.69708717", "text": "@AfterClass\n\tpublic static void tearDownAfterSuite()\n\t{\n\t\tTestUtilityFactory.tearDown();\n\t}", "title": "" }, { "docid": "3c0774c7bb8fbce99639c6470f3864f8", "score": "0.6961221", "text": "@After\n\tpublic void tearDown(){\n\t\t// Empty\n\t}", "title": "" }, { "docid": "d49dc8f653e3c48723075d864d333185", "score": "0.69592935", "text": "@Test\n @Override\n @Order(order=5)\n public void destroyTest() throws Exception {\n super.destroyTest();\n }", "title": "" }, { "docid": "edac05659bb5f5f847e267e6d43ec422", "score": "0.6948506", "text": "@After\r\n public void tearDown() {\r\n fileSystem.rebuild();\r\n }", "title": "" }, { "docid": "d3c7f7437645f66f6d8313bb8f88141c", "score": "0.69456226", "text": "@Test\n public void testRemoveAllFiles() {\n }", "title": "" }, { "docid": "d96fa9dad9995bfe81da392c27dbfd1a", "score": "0.69327414", "text": "protected void tearDown(){\n\t}", "title": "" }, { "docid": "272f740b1ac4bdc3f989a2bce0a9c038", "score": "0.69257367", "text": "@AfterClass\n\tpublic void teardown(){\n\t}", "title": "" }, { "docid": "f44de04ee08b44bf2ab54fa178f530fc", "score": "0.6922958", "text": "protected void tearDown() {\n }", "title": "" }, { "docid": "bbd6064294397b8b218815aa784f7233", "score": "0.69198644", "text": "protected void tearDown() throws Exception {\r\n TestHelper.tearDownTest();\r\n }", "title": "" }, { "docid": "856c38c5a444a23b9535dc98ebdc270e", "score": "0.6906231", "text": "@AfterClass\n public static void tearDown() throws Exception {\n endTest();\n }", "title": "" }, { "docid": "856c38c5a444a23b9535dc98ebdc270e", "score": "0.6906231", "text": "@AfterClass\n public static void tearDown() throws Exception {\n endTest();\n }", "title": "" }, { "docid": "856c38c5a444a23b9535dc98ebdc270e", "score": "0.6906231", "text": "@AfterClass\n public static void tearDown() throws Exception {\n endTest();\n }", "title": "" }, { "docid": "bb32a513112b5deadce3398c0cfeb3d2", "score": "0.6903844", "text": "@Test (dependsOnMethods = {\"userCreation\"})\n public void userDeletion (){\n deleteSingleUser();\n //delete all other users created in userCreation test\n deleteSeveralUsers();\n }", "title": "" }, { "docid": "b0634c8346a525ad83cacb9497b267dc", "score": "0.6899049", "text": "protected void tearDown() {\n studioFileType = null;\n }", "title": "" }, { "docid": "b62caae3e60a562108f112449c181907", "score": "0.6896891", "text": "@Override\r\n public synchronized void tearDown() throws Exception {\n scrubClass(ActivityInstrumentationTestCase2.class);\r\n System.gc();\r\n //super.tearDown();\r\n }", "title": "" }, { "docid": "00661a2105a02b51843f83eb034e6867", "score": "0.68950146", "text": "@AfterTest\n public void ClearMemory(){\n dr.close();\n System.gc();\n }", "title": "" }, { "docid": "a9df2eeb64ae74523dce1d78c4cb2193", "score": "0.6891731", "text": "@Override\n public void teardown() { }", "title": "" }, { "docid": "816da91fa43700ad69d074963f55e1d7", "score": "0.68906236", "text": "@AfterClass\n public static void tearDownClass() throws Exception {\n // Delete all added keys before cleanup ONLY IF TEST ACTUALLY STARTED.\n if (testStarted) {\n for (int i = 0; i <= recordsToInsert; i++) {\n delete(keyPrefix + Integer.toString(i));\n }\n }\n\n riakClient.cleanup();\n }", "title": "" }, { "docid": "d1ad503ac72f2135c803725abfccd487", "score": "0.6883435", "text": "@Test\n void deleteListDeletesListProperly() {\n\n }", "title": "" }, { "docid": "6637d300a39f4610830df4437422d86d", "score": "0.68829757", "text": "@Override\n protected void tearDown()\n {\n }", "title": "" }, { "docid": "ab317e1b9ce079c2cc51deea9d1c45c7", "score": "0.6879836", "text": "@After\n public void tearDown() {\n \n }", "title": "" }, { "docid": "ab317e1b9ce079c2cc51deea9d1c45c7", "score": "0.6879836", "text": "@After\n public void tearDown() {\n \n }", "title": "" }, { "docid": "b83ff25d3978f5dbaf60b9aded9b1d48", "score": "0.68762803", "text": "@After\r\n public void tearDown()\r\n {\r\n }", "title": "" }, { "docid": "b83ff25d3978f5dbaf60b9aded9b1d48", "score": "0.68762803", "text": "@After\r\n public void tearDown()\r\n {\r\n }", "title": "" }, { "docid": "b83ff25d3978f5dbaf60b9aded9b1d48", "score": "0.68762803", "text": "@After\r\n public void tearDown()\r\n {\r\n }", "title": "" }, { "docid": "b83ff25d3978f5dbaf60b9aded9b1d48", "score": "0.68762803", "text": "@After\r\n public void tearDown()\r\n {\r\n }", "title": "" }, { "docid": "7dcdfb96001f3cd3a60b7d5173569e2c", "score": "0.68757284", "text": "@After\r\n\tpublic void tearDown() \r\n\t{\n\t\tnewManagement = null;\r\n\t}", "title": "" }, { "docid": "28effd825ba62a34607bee50028e0c4c", "score": "0.68720686", "text": "public void tearDown() throws Exception {\n IOUtils.delete(data);\n data = null;\n }", "title": "" }, { "docid": "41424855c57d4c02c3186c05f831b211", "score": "0.68683666", "text": "@Override\n\tpublic void teardown() {\n\t}", "title": "" }, { "docid": "05ed1f2b196910e634eddac015d6e27d", "score": "0.68667096", "text": "@Override\n protected void tearDown() throws Exception {\n Runtime.getRuntime().gc();\n Runtime.getRuntime().runFinalization();\n Runtime.getRuntime().gc();\n super.tearDown();\n }", "title": "" }, { "docid": "21416ab8e581d7cc570fbb0c0d4fd6f8", "score": "0.68664956", "text": "@AfterClass\n\tpublic static void globalTeardown() {\n\n\t}", "title": "" }, { "docid": "7c0ba568692d7f31bfa388346cff16d2", "score": "0.6861477", "text": "@After\n public void tearDown() throws Exception {\n cleanup();\n }", "title": "" }, { "docid": "b8179111801145c40220b6daca63316c", "score": "0.68614334", "text": "@After\n public void tearDown() {\n identifier = null;\n }", "title": "" }, { "docid": "081d12a6a27e9048c20ec47e469cd58f", "score": "0.6859785", "text": "protected void tearDown()\n {\n strList = null;\n intList = null;\n }", "title": "" }, { "docid": "d821eafc4d47592efb126208ca79ded5", "score": "0.6854447", "text": "public void tearDown() {\n TestConfiguration.getCurrent().shutdownEngine(); \t \n removeDirectory(getSystemProperty(\"derby.system.home\") +\n File.separator + \"\\u4e10\");\n }", "title": "" }, { "docid": "a90eb02cc168e39900aba13df972a5dd", "score": "0.6853432", "text": "@Override\n public void teardown() {\n }", "title": "" }, { "docid": "a90eb02cc168e39900aba13df972a5dd", "score": "0.6853432", "text": "@Override\n public void teardown() {\n }", "title": "" }, { "docid": "076a82c5957e0b2c2a087a3ce91ab18e", "score": "0.68492216", "text": "public void teardown() {\n }", "title": "" }, { "docid": "3e81732b9004f9a6d49daf8f5140ddf2", "score": "0.68440884", "text": "@Test\n void testRemoveA() {\n t.testRemoveA();\n }", "title": "" }, { "docid": "49d11bf2b4d0aa1c87f7dd2222257f8f", "score": "0.68394095", "text": "@After\n public void tearDown() {\n dac.dropDB();\n }", "title": "" }, { "docid": "917c06f3763802ef11345a27ae356418", "score": "0.6838986", "text": "@AfterClass\n public static void tearDown() {\n TransactionWrapper.init(new TransactionWrapper.DbConfiguration(TransactionWrapper.DB.APIS, 1, testDbUrl));\n TransactionWrapper.useTxn(handle -> {\n handle.execute(\"drop table if exists txnwrapper_test\");\n handle.createUpdate(\"delete from <table> where ID = :id\")\n .define(\"table\", CHANGELOG_TABLE)\n .bind(\"id\", \"txnwrappertest\")\n .execute();\n });\n }", "title": "" }, { "docid": "02f3c20a067050c9bb0826c6bd4e3286", "score": "0.6837601", "text": "@Override\n public void tearDown() {\n }", "title": "" }, { "docid": "f2dee3bffcbb86b9b08405d5387c445f", "score": "0.6833683", "text": "@After\n public void tearDown() {\n }", "title": "" }, { "docid": "f2dee3bffcbb86b9b08405d5387c445f", "score": "0.6833683", "text": "@After\n public void tearDown() {\n }", "title": "" }, { "docid": "f2dee3bffcbb86b9b08405d5387c445f", "score": "0.6833683", "text": "@After\n public void tearDown() {\n }", "title": "" }, { "docid": "f2dee3bffcbb86b9b08405d5387c445f", "score": "0.6833683", "text": "@After\n public void tearDown() {\n }", "title": "" }, { "docid": "05a411ced30d7308ca3fd44447935166", "score": "0.6831795", "text": "@After\n\tpublic void tearDown() {\n\t}", "title": "" }, { "docid": "579c68832e69ae85d377074d8a92729f", "score": "0.6829711", "text": "protected void tearDown()\n {\n }", "title": "" }, { "docid": "8396f5c2e9fc35369591930dd130ee18", "score": "0.6827735", "text": "@AfterEach\n void tearDown() throws Exception {\n UserMethods.deleteUser(sut);\n sut = null;\n }", "title": "" }, { "docid": "f2d08ee077d15997af138cd98291f404", "score": "0.6826417", "text": "@Override\n public void testDelete()\n {\n throw new SkipException(\"TODO: test not implemented yet\");\n }", "title": "" }, { "docid": "665159bf8aab576b2c4e77181cdb48b6", "score": "0.68255264", "text": "@AfterEach\r\n public void tearDown() {\n }", "title": "" }, { "docid": "f081d130c1c6f23212d9fb3a347dd8ff", "score": "0.6815059", "text": "@After\r\n public void tearDown() {\r\n impl = null;\r\n }", "title": "" }, { "docid": "f081d130c1c6f23212d9fb3a347dd8ff", "score": "0.6815059", "text": "@After\r\n public void tearDown() {\r\n impl = null;\r\n }", "title": "" }, { "docid": "694fc50fa25223f7085ef15efd2a8404", "score": "0.6811912", "text": "@AfterClass\r\n public static void tearDown(){\n sport.getDao().getAll(LeagueDao.class).get(0).delete();\r\n sport.getDao().delete();\r\n DbConn.staticClose();\r\n }", "title": "" }, { "docid": "7650d821e26ab11262692ecffeae8486", "score": "0.6811863", "text": "@Override\n @AfterMethod\n public void tearDown() throws Exception {\n super.tearDown();\n }", "title": "" }, { "docid": "d8f47c76a98c73aadf927bb1bedbc311", "score": "0.6808617", "text": "@AfterClass\n public static void tearDown() {\n\n DBCConnection.setTestDatabase(false);\n\n }", "title": "" }, { "docid": "b252ba31610d44b64c82f1dd68fbc198", "score": "0.68058485", "text": "@Test\n public void testDeleteNweOrder() {\n }", "title": "" }, { "docid": "4b183153cf1b3151b16345fdd4b4ee07", "score": "0.68058264", "text": "protected void tearDown() {\n recImpl = null;\n }", "title": "" }, { "docid": "fc64b549cab1679f8127403ed8794fa0", "score": "0.6804933", "text": "@After\n\tpublic void tearDown(){\n\t}", "title": "" }, { "docid": "fc64b549cab1679f8127403ed8794fa0", "score": "0.6804933", "text": "@After\n\tpublic void tearDown(){\n\t}", "title": "" }, { "docid": "60aae978a217914000a1fa0daec00652", "score": "0.68035734", "text": "@After\n public void tearDown()\n {\n \n }", "title": "" }, { "docid": "23377aba6c56eca3c734547976d27501", "score": "0.6803013", "text": "@After\n public void tearDown() {\n testUser = null;\n try {\n deleteUser(\"test@gmail.com\");\n closeConn();\n closeUserConn();\n } catch (SQLException e) {\n System.out.println(e.getMessage());\n }\n\n }", "title": "" }, { "docid": "d6b6de86cbe047526a0d548db3b34292", "score": "0.6800284", "text": "@AfterEach\n public void tearDown() {\n }", "title": "" }, { "docid": "d6b6de86cbe047526a0d548db3b34292", "score": "0.6800284", "text": "@AfterEach\n public void tearDown() {\n }", "title": "" }, { "docid": "d6b6de86cbe047526a0d548db3b34292", "score": "0.6800284", "text": "@AfterEach\n public void tearDown() {\n }", "title": "" }, { "docid": "d6b6de86cbe047526a0d548db3b34292", "score": "0.6800284", "text": "@AfterEach\n public void tearDown() {\n }", "title": "" } ]
391c229aa8af3030d293dd417d025576
The text value represented.
[ { "docid": "adde78436edb73e8561db25046f2c545", "score": "0.0", "text": "public String text(){\r\n\t\tif(this.text!=null)return this.text;\r\n\t\tString text=coupler.getText(this);\r\n\t\tif(text==null&&!coupler.isValidText(this,text))\r\n\t\t\tthrow new IllegalStateException(\"Null or invalid text in \"+Debug.info(this));\r\n\t\treturn text;\r\n\t}", "title": "" } ]
[ { "docid": "f3c69c0080122f81cf44e99b7ed36eac", "score": "0.8180538", "text": "@Override\n\tpublic String asText() {\n\t\treturn value;\n\t}", "title": "" }, { "docid": "f4f66a1199d28471c8881e83d4b2d8c7", "score": "0.8158044", "text": "public String getValue() {\n\t\t\treturn text;\n\t\t}", "title": "" }, { "docid": "9fdaea58a27785679adb24245cce08de", "score": "0.8085951", "text": "@Override\r\n\tpublic String asText() {\n\t\treturn String.valueOf(value);\r\n\t}", "title": "" }, { "docid": "fa66b4fa817d1787059d7942de6073b1", "score": "0.7796287", "text": "public String getTextValue()\n {\n return this.textValue;\n }", "title": "" }, { "docid": "93a85e953e228290cfd084b3e801a0cd", "score": "0.75922567", "text": "public Object getText() {\n\t\treturn text.getText();\n\t}", "title": "" }, { "docid": "43134ca70be2af38f15d0d853ee4414e", "score": "0.74835306", "text": "@Override\n\t\tpublic String getValue() {\n\t\t\treturn valueAsText;\n\t\t}", "title": "" }, { "docid": "9d440261c30250f9373ae77bd56aace5", "score": "0.7281193", "text": "public String getText() {\r\n\t\treturn text;\r\n\t}", "title": "" }, { "docid": "9d440261c30250f9373ae77bd56aace5", "score": "0.7281193", "text": "public String getText() {\r\n\t\treturn text;\r\n\t}", "title": "" }, { "docid": "9d440261c30250f9373ae77bd56aace5", "score": "0.7281193", "text": "public String getText() {\r\n\t\treturn text;\r\n\t}", "title": "" }, { "docid": "9d440261c30250f9373ae77bd56aace5", "score": "0.7281193", "text": "public String getText() {\r\n\t\treturn text;\r\n\t}", "title": "" }, { "docid": "cc2dfdfea566c020f80e14cc6e23e45d", "score": "0.7264079", "text": "public String getText() { return text; }", "title": "" }, { "docid": "d6e7fb05a55913f538319729bc0d90a8", "score": "0.7259625", "text": "public String getTextRepresentation() {\n return null;\n }", "title": "" }, { "docid": "aa19f666fee92144c16c76c33648bfaf", "score": "0.7253434", "text": "public String getText() {\n\t\treturn text;\n\t}", "title": "" }, { "docid": "aa19f666fee92144c16c76c33648bfaf", "score": "0.7253434", "text": "public String getText() {\n\t\treturn text;\n\t}", "title": "" }, { "docid": "aa19f666fee92144c16c76c33648bfaf", "score": "0.7253434", "text": "public String getText() {\n\t\treturn text;\n\t}", "title": "" }, { "docid": "aa19f666fee92144c16c76c33648bfaf", "score": "0.7253434", "text": "public String getText() {\n\t\treturn text;\n\t}", "title": "" }, { "docid": "aa19f666fee92144c16c76c33648bfaf", "score": "0.7253434", "text": "public String getText() {\n\t\treturn text;\n\t}", "title": "" }, { "docid": "aa19f666fee92144c16c76c33648bfaf", "score": "0.7253434", "text": "public String getText() {\n\t\treturn text;\n\t}", "title": "" }, { "docid": "aa19f666fee92144c16c76c33648bfaf", "score": "0.7253434", "text": "public String getText() {\n\t\treturn text;\n\t}", "title": "" }, { "docid": "aa19f666fee92144c16c76c33648bfaf", "score": "0.7253434", "text": "public String getText() {\n\t\treturn text;\n\t}", "title": "" }, { "docid": "aa19f666fee92144c16c76c33648bfaf", "score": "0.7253434", "text": "public String getText() {\n\t\treturn text;\n\t}", "title": "" }, { "docid": "aa19f666fee92144c16c76c33648bfaf", "score": "0.7253434", "text": "public String getText() {\n\t\treturn text;\n\t}", "title": "" }, { "docid": "2489efd23af3abcd1084c79e3ad300ad", "score": "0.72410387", "text": "public String getText () {\n\t return text;\n\t }", "title": "" }, { "docid": "1b7b5b74171c10ff044649ce58a36bec", "score": "0.71871173", "text": "public String text() {\n return this.text;\n }", "title": "" }, { "docid": "095e96ca8cfc1943bb9b6c1f799478f2", "score": "0.7184742", "text": "public String getText() {\r\n return text;\r\n }", "title": "" }, { "docid": "095e96ca8cfc1943bb9b6c1f799478f2", "score": "0.7184742", "text": "public String getText() {\r\n return text;\r\n }", "title": "" }, { "docid": "095e96ca8cfc1943bb9b6c1f799478f2", "score": "0.7184742", "text": "public String getText() {\r\n return text;\r\n }", "title": "" }, { "docid": "095e96ca8cfc1943bb9b6c1f799478f2", "score": "0.7184742", "text": "public String getText() {\r\n return text;\r\n }", "title": "" }, { "docid": "6c2bc0a7da729a6a1ef05b991e41211d", "score": "0.7167004", "text": "public String getText() {\n return text;\n }", "title": "" }, { "docid": "6c2bc0a7da729a6a1ef05b991e41211d", "score": "0.7167004", "text": "public String getText() {\n return text;\n }", "title": "" }, { "docid": "6c2bc0a7da729a6a1ef05b991e41211d", "score": "0.7167004", "text": "public String getText() {\n return text;\n }", "title": "" }, { "docid": "6c2bc0a7da729a6a1ef05b991e41211d", "score": "0.7167004", "text": "public String getText() {\n return text;\n }", "title": "" }, { "docid": "6c2bc0a7da729a6a1ef05b991e41211d", "score": "0.7167004", "text": "public String getText() {\n return text;\n }", "title": "" }, { "docid": "6c2bc0a7da729a6a1ef05b991e41211d", "score": "0.7167004", "text": "public String getText() {\n return text;\n }", "title": "" }, { "docid": "6c2bc0a7da729a6a1ef05b991e41211d", "score": "0.7167004", "text": "public String getText() {\n return text;\n }", "title": "" }, { "docid": "e525a09b30868f828fd86df426f8424c", "score": "0.7166885", "text": "public String getText() {\n\treturn text;\n }", "title": "" }, { "docid": "ad69162820f13a231da6f9d333b80526", "score": "0.7165878", "text": "public String getText()\r\n {\r\n return text;\r\n }", "title": "" }, { "docid": "2696be3519040f269f53d5b0722fb1ef", "score": "0.7150992", "text": "public String text() {\n return this.text;\n }", "title": "" }, { "docid": "2da7973b7bcc77f5da46deb2d79889e6", "score": "0.7137589", "text": "public java.lang.String getText() {\r\n return text;\r\n }", "title": "" }, { "docid": "7d1cccea047e6ffbc03358314d2d256c", "score": "0.7132503", "text": "public String getText() {\n\t\treturn text == null ? \"\" : text.toString();\n\t}", "title": "" }, { "docid": "f1f5c8ffa897b46c8c224e8b25a43dd9", "score": "0.71308947", "text": "public String getText() {\n return text;\n }", "title": "" }, { "docid": "f1f5c8ffa897b46c8c224e8b25a43dd9", "score": "0.71308947", "text": "public String getText() {\n return text;\n }", "title": "" }, { "docid": "f1f5c8ffa897b46c8c224e8b25a43dd9", "score": "0.71308947", "text": "public String getText() {\n return text;\n }", "title": "" }, { "docid": "f1f5c8ffa897b46c8c224e8b25a43dd9", "score": "0.71308947", "text": "public String getText() {\n return text;\n }", "title": "" }, { "docid": "f1f5c8ffa897b46c8c224e8b25a43dd9", "score": "0.71308947", "text": "public String getText() {\n return text;\n }", "title": "" }, { "docid": "f1f5c8ffa897b46c8c224e8b25a43dd9", "score": "0.71308947", "text": "public String getText() {\n return text;\n }", "title": "" }, { "docid": "f1f5c8ffa897b46c8c224e8b25a43dd9", "score": "0.71308947", "text": "public String getText() {\n return text;\n }", "title": "" }, { "docid": "f1f5c8ffa897b46c8c224e8b25a43dd9", "score": "0.71308947", "text": "public String getText() {\n return text;\n }", "title": "" }, { "docid": "f1f5c8ffa897b46c8c224e8b25a43dd9", "score": "0.71308947", "text": "public String getText() {\n return text;\n }", "title": "" }, { "docid": "f1f5c8ffa897b46c8c224e8b25a43dd9", "score": "0.71308947", "text": "public String getText() {\n return text;\n }", "title": "" }, { "docid": "41f4cb230b14e1412ac7478f1b69dc98", "score": "0.7129842", "text": "public String getText() {\n\t\treturn this.text;\n\t}", "title": "" }, { "docid": "41f4cb230b14e1412ac7478f1b69dc98", "score": "0.7129842", "text": "public String getText() {\n\t\treturn this.text;\n\t}", "title": "" }, { "docid": "c1125c65c1cb9ecc6274381bbb0441fe", "score": "0.7125916", "text": "public String asText() {\n\t\treturn new String();\n\t}", "title": "" }, { "docid": "aea297ead3c8c7ff9f273ec7beb122a3", "score": "0.71208835", "text": "@java.lang.Override\n public java.lang.String getText() {\n java.lang.Object ref = text_;\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 if (bs.isValidUtf8()) {\n text_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "3ab61940388f2d39b92d5d09ce5cd8fd", "score": "0.71190566", "text": "public String text() {\n return text;\n }", "title": "" }, { "docid": "ecc022266c11139e885a9ae02d568a3b", "score": "0.7104763", "text": "public String getText(){\n\t\treturn this.text;\n\t}", "title": "" }, { "docid": "f92ddb44f9ef7f1bf05972e4ec54479d", "score": "0.7099548", "text": "public String text() {\n return toString();\n }", "title": "" }, { "docid": "bd2383af8061a7b5f2cde0caac554665", "score": "0.7097395", "text": "public String getText() {\r\n return this.text;\r\n }", "title": "" }, { "docid": "bd2383af8061a7b5f2cde0caac554665", "score": "0.7097395", "text": "public String getText() {\r\n return this.text;\r\n }", "title": "" }, { "docid": "0b9b3b6f386883dd030b1c4a62c80ea0", "score": "0.7089619", "text": "@Override\n public String getText() {\n return text;\n }", "title": "" }, { "docid": "e9df3877e8124bdf6c96a560ae5fe60d", "score": "0.70840955", "text": "public String getText()\n {\n return text;\n }", "title": "" }, { "docid": "c3782d6119c02fac90e68a43beab7d5b", "score": "0.70745677", "text": "@java.lang.Override\n public java.lang.String getText() {\n java.lang.Object ref = text_;\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 text_ = s;\n return s;\n }\n }", "title": "" }, { "docid": "8b62aaa79aeda31c762e7aa074318748", "score": "0.7071637", "text": "public String getText() {\n return text;\n }", "title": "" }, { "docid": "65a5e93037257dfb03c78bb8a1927b61", "score": "0.7062884", "text": "public String getText()\n {\n return _text;\n }", "title": "" }, { "docid": "2e29b34ea642f66ec826a54e29d71b10", "score": "0.7062394", "text": "public String getText() {\n return this.text;\n }", "title": "" }, { "docid": "2e29b34ea642f66ec826a54e29d71b10", "score": "0.7062394", "text": "public String getText() {\n return this.text;\n }", "title": "" }, { "docid": "2e29b34ea642f66ec826a54e29d71b10", "score": "0.7062394", "text": "public String getText() {\n return this.text;\n }", "title": "" }, { "docid": "2e29b34ea642f66ec826a54e29d71b10", "score": "0.7062394", "text": "public String getText() {\n return this.text;\n }", "title": "" }, { "docid": "1a6d875c71c09a17d8afe79749df8fe1", "score": "0.7062023", "text": "public final String getText() {\n return text;\n }", "title": "" }, { "docid": "0ffe39ff6473b76d48cd8bfb4cfcb6c5", "score": "0.7056294", "text": "public String getText() {\n\t\treturn mText;\n\t}", "title": "" }, { "docid": "18c943543fd2163a794fddbf6453c641", "score": "0.70532805", "text": "public String getText() {\n\n return text;\n\n }", "title": "" }, { "docid": "a058d7b4fb058c7a1b8e7caabb4cc5c9", "score": "0.7052836", "text": "public String getText() {\r\n return this.Text;\r\n }", "title": "" }, { "docid": "eeb6c8cccd1b4bafd50ca6872a7343b7", "score": "0.705167", "text": "public String getText() {\n\t\tString text = getElement().getText();\n\t\tif(text.isEmpty()) {\n\t\t\ttext = getValue();\n\t\t}\n\t\treturn text;\n\t}", "title": "" }, { "docid": "1386f9ed787c0268f6ec93ab150dd472", "score": "0.7040303", "text": "public String getText() {\n return text.getText();\n }", "title": "" }, { "docid": "ef682dfaaf2f2afd699df817903f9844", "score": "0.7036608", "text": "public String getText()\n {\n return this.text;\n }", "title": "" }, { "docid": "2b5a50db68959147d45772e310c26b0d", "score": "0.7031148", "text": "public final String getValue()\r\n {\r\n return value;\r\n }", "title": "" }, { "docid": "bcf0140996430f3f78f4539467a37749", "score": "0.7030354", "text": "@java.lang.Override\n public java.lang.String getText() {\n java.lang.Object ref = text_;\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 text_ = s;\n return s;\n }\n }", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.7029023", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.7029023", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.7029023", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.7029023", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.7029023", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.7029023", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.7029023", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.7029023", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.7029023", "text": "java.lang.String getValue();", "title": "" }, { "docid": "4a1ca8f1d527580660f2d9fbb8a3ee9d", "score": "0.70278203", "text": "public String getValue();", "title": "" }, { "docid": "4a1ca8f1d527580660f2d9fbb8a3ee9d", "score": "0.70278203", "text": "public String getValue();", "title": "" }, { "docid": "4a1ca8f1d527580660f2d9fbb8a3ee9d", "score": "0.70278203", "text": "public String getValue();", "title": "" }, { "docid": "4a1ca8f1d527580660f2d9fbb8a3ee9d", "score": "0.70278203", "text": "public String getValue();", "title": "" }, { "docid": "4a1ca8f1d527580660f2d9fbb8a3ee9d", "score": "0.70278203", "text": "public String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.7027458", "text": "java.lang.String getValue();", "title": "" }, { "docid": "b53a0ef143e1c23db4bdeb3ae42dd70d", "score": "0.7024392", "text": "public String getText()\n {\n return this.text;\n }", "title": "" }, { "docid": "e7b2bde75c7fbbe32fbeb0a50f650bea", "score": "0.7019489", "text": "public String getValue() {\n\treturn StringEscapeUtils.unescapeXml(value);\n }", "title": "" }, { "docid": "830a2ec90419c5a7f36effcdc77e363d", "score": "0.70194715", "text": "public String getText() {\n return this.text;\n\n }", "title": "" }, { "docid": "930ae01867987346dad06377e4ca6601", "score": "0.70083445", "text": "@Override\n\tpublic String toString() {\n\t\treturn text;\n\t}", "title": "" }, { "docid": "a15eddcb2c2ca2250039a40c12b69637", "score": "0.6989005", "text": "public String getText()\n {\n return m_text;\n }", "title": "" }, { "docid": "65bdffcb89c7336f19491170d7df46aa", "score": "0.69869727", "text": "@Override\n\t\tpublic String getValue() {\n\t\t\treturn value;\n\t\t}", "title": "" }, { "docid": "a0cdec3735767e221b8393a1fde5701c", "score": "0.69865084", "text": "String toText();", "title": "" }, { "docid": "a49b20576b0229661b9054b30d40d216", "score": "0.6966421", "text": "public java.lang.String getValue() {\n return value;\n }", "title": "" }, { "docid": "6eb95d53ee15a7c003b2d11a75f576bf", "score": "0.6958366", "text": "public String getValue() {\n return value.getValue();\n }", "title": "" } ]
ae6d380807bf16f6f262b3bc948da64a
convert value to string
[ { "docid": "a16dde518cb525efd2e56c4ec3c5d398", "score": "0.0", "text": "String toString();", "title": "" } ]
[ { "docid": "1f7e6b6e4346a70c0006f8d1217655aa", "score": "0.77746505", "text": "public String toString() {\n return String.valueOf(value);\n }", "title": "" }, { "docid": "011d507ff4f2f7a5dcc2404f8d6168d2", "score": "0.7739373", "text": "public String toString() {\n\t\treturn String.valueOf(value);\n\t}", "title": "" }, { "docid": "1428f572bccb5dd6d86619d345275e43", "score": "0.75911736", "text": "@Override\r\n\tpublic String toString() {\r\n\t\treturn String.valueOf(value);\r\n\t}", "title": "" }, { "docid": "596423edc134d461930b857c97bc8ff9", "score": "0.75515175", "text": "@Override\n\tpublic String toString() {\n\t\treturn String.valueOf(value);\n\t}", "title": "" }, { "docid": "4c516b4b859aa7047dc1d75141964c91", "score": "0.7497794", "text": "@Override\r\n\tpublic String asText() {\r\n\t\treturn String.valueOf(value);\r\n\t}", "title": "" }, { "docid": "98450c607be102c280e0327c20ccef7b", "score": "0.74760026", "text": "String getValueAsString();", "title": "" }, { "docid": "ce2075d52522717d2537ea965d2ee114", "score": "0.74318033", "text": "@Override\n @Nonnull public String toString() {\n return String.valueOf(value);\n }", "title": "" }, { "docid": "ce2075d52522717d2537ea965d2ee114", "score": "0.74318033", "text": "@Override\n @Nonnull public String toString() {\n return String.valueOf(value);\n }", "title": "" }, { "docid": "1e4ece7972865e0e4e4bdeba724d24fc", "score": "0.73911214", "text": "String asString( Object value );", "title": "" }, { "docid": "1e4ece7972865e0e4e4bdeba724d24fc", "score": "0.73911214", "text": "String asString( Object value );", "title": "" }, { "docid": "1e4f8e2decb3bfc79edbb900895f7490", "score": "0.7264201", "text": "@Override\n\tpublic String asText() {\n\t\treturn value+\"\";\n\t}", "title": "" }, { "docid": "0479d767751ce53619657028aa9ff377", "score": "0.7176913", "text": "@Override\n\tpublic String toPlainString ()\n\t{\n\t\treturn _value0 == null ? \"\" : _value0.toString();\n\t}", "title": "" }, { "docid": "c303c8d83af458764cbecfb802438820", "score": "0.7157824", "text": "String valueAsString() throws StringableException;", "title": "" }, { "docid": "fb7b7a984841b25859b246d234ce0509", "score": "0.7131357", "text": "String asReadableString( Object value );", "title": "" }, { "docid": "fbbc82b381acef1193bfce5a3b998a34", "score": "0.71276265", "text": "public String valueAsString() {\n return this.value.toString();\n }", "title": "" }, { "docid": "abaadb439b3c4b039d1e992a2203434a", "score": "0.71185493", "text": "public String toString() {\n if (value == null)\n return \"\";\n return value.toString();\n }", "title": "" }, { "docid": "e59797e9f6fb63857f70decaf8bdcfcd", "score": "0.7118412", "text": "@Override\n public String toString() {\n return \"\\\"\" + value + \"\\\"\";\n }", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.71147203", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.71147203", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.71147203", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.71147203", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.71147203", "text": "java.lang.String getValue();", "title": "" }, { "docid": "5a672099ee36dae41ed867db8d252f0d", "score": "0.7060566", "text": "public String getValueAsString ();", "title": "" }, { "docid": "fc1e73927a15d0a96e32df188cc07e6b", "score": "0.7041722", "text": "public String toString(){\n\t\treturn value;\n\t}", "title": "" }, { "docid": "841d177eed1dc2fb5dbd32b9a5a20571", "score": "0.70012826", "text": "String value();", "title": "" }, { "docid": "a48db47bcddb9f3ebfff3ecf61124ed9", "score": "0.6959707", "text": "public String toString()\r\n {\r\n return value;\r\n }", "title": "" }, { "docid": "cf998cfb2f64df9e780f332d1cc00857", "score": "0.69542444", "text": "@Override\n public String format(Object val)\n {\n return (String)val;\n }", "title": "" }, { "docid": "f9f8d100e706313e1f08c78adc5e75e4", "score": "0.6938027", "text": "java.lang.String getStrval();", "title": "" }, { "docid": "f9f8d100e706313e1f08c78adc5e75e4", "score": "0.6938027", "text": "java.lang.String getStrval();", "title": "" }, { "docid": "44be93a5bcbb2934be69382f3b5fdc2e", "score": "0.69379294", "text": "@Override\n\tpublic String toString() {\n\t\tString val = \"\";\n\t\tif(value > 0){\n\t\t\tval = \"\" + value;\n\t\t}\n\t\telse{\n\t\t\tval = \"(\" + value + \")\";\n\t\t}\n\t\treturn val;\n\t}", "title": "" }, { "docid": "b1562a4ba26f4c4b0783db38c52873c1", "score": "0.6902358", "text": "public static String encodeValue (Object value) {\n ByteArrayOutputStream bos = new ByteArrayOutputStream ();\n try {\n ObjectOutputStream oos = new ObjectOutputStream (bos);\n oos.writeObject (value);\n oos.close ();\n } catch (Exception e) {\n if (Boolean.getBoolean (\"netbeans.debug.exceptions\")) e.printStackTrace (); // NOI18N\n return null; // problem during serialization\n }\n byte[] bosBytes = bos.toByteArray ();\n StringBuffer sb = new StringBuffer (bosBytes.length);\n for (int i = 0; i < bosBytes.length; i++) {\n if (i != bosBytes.length - 1) {\n sb.append (bosBytes[i]+\",\"); // NOI18N\n } else {\n sb.append (\"\"+bosBytes[i]); // NOI18N\n }\n }\n return sb.toString ();\n }", "title": "" }, { "docid": "db706d557b2a58ea96a54c6be253c565", "score": "0.68961704", "text": "@Override\n public String encode(NumberHolder value) {\n return value.getString();\n }", "title": "" }, { "docid": "43eda42eb744d74e330d09a989c23022", "score": "0.6891427", "text": "public String toString() {\r\n\t\treturn value().toString(); // Get our value and convert it into a String\r\n\t}", "title": "" }, { "docid": "c960e111a8c48744201782a207bb750d", "score": "0.6862883", "text": "@Override\n public String toString(){\n return value.toString();\n }", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.685544", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.685544", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.685544", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.685544", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.685544", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.685544", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.685544", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.685544", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.685544", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.685544", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.685544", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.685544", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.685544", "text": "String getValue();", "title": "" }, { "docid": "b3102300fe843a93ed540c8bde37f7d0", "score": "0.68425965", "text": "public java.lang.String getValueAsString()\n {\n return getValue().toString();\n }", "title": "" }, { "docid": "be7472f0dc582463224a54dff60e2f76", "score": "0.6841009", "text": "public String getValueString(int value)\r\n {\r\n\treturn PlagSym.getValueString(value);\r\n }", "title": "" }, { "docid": "f4065e5cdb4c0555cfa856a609e19d3f", "score": "0.6839498", "text": "public String toString() {\n\t\treturn fValue.toString();\n\t}", "title": "" }, { "docid": "17542b58a826f8120e8724562eb17fec", "score": "0.683825", "text": "public String toString(){\r\n\t\tif(this.value < 10){\r\n\t\t\treturn \"0\"+this.value;\r\n\t\t}\r\n\t\treturn this.value+\"\";\r\n\t}", "title": "" }, { "docid": "d5814e2c255b975d39a07421eb3cb5ef", "score": "0.6835489", "text": "@Override\n public String toString() {\n String str = this.value;\n this.value = \"\";\n return str;\n }", "title": "" }, { "docid": "7156c84244ca79864fae2ce411d7f8a1", "score": "0.6835391", "text": "public String getValueAsString() {\n\t\treturn (String)getValue();\n\t}", "title": "" }, { "docid": "e9af675961eaa2f4c4a74d0ee5d50101", "score": "0.68337643", "text": "@Override\n public String toString() {\n return value.toString();\n }", "title": "" }, { "docid": "5bf37f130107ddf1ebcee3b870360877", "score": "0.6817869", "text": "public String conversionObjectString(Object value)\n {\n String retour = null;\n\n if (value != null)\n {\n retour = Conversion.doubleChaine((Float) value,\n ndec,\n zero,\n separ);\n }\n return retour;\n }", "title": "" }, { "docid": "e8321865ec020bced6e68eef60cdc1e8", "score": "0.68125874", "text": "private String encodePrimitiveValue (Object value) {\n if ((value instanceof Integer) ||\n (value instanceof Short) ||\n (value instanceof Byte) ||\n (value instanceof Long) ||\n (value instanceof Float) ||\n (value instanceof Double) ||\n (value instanceof Boolean) ||\n (value instanceof Character)) {\n return value.toString ();\n }\n\n if (value instanceof String) {\n return (String)value;\n }\n\n if (value instanceof Class) {\n return ((Class)value).getName ();\n }\n\n if (value == null) {\n return \"null\"; // NOI18N\n }\n\n return null; // is not a primitive type\n }", "title": "" }, { "docid": "06cd0fce6668810a8e0a2ce21d790a72", "score": "0.6809505", "text": "public String getValue() {\r\n return value.toString();\r\n }", "title": "" }, { "docid": "36564ee575ec6190dab4b9109641010d", "score": "0.6806039", "text": "@Override\n public String toString() {\n\n return value;\n }", "title": "" }, { "docid": "700222d6e87661dbe4d59fe62fa6ccb2", "score": "0.677953", "text": "public static String toString(Object value) {\n if (value == null) {\n return null;\n }\n return value.toString();\n }", "title": "" }, { "docid": "9ec59e88aa74c498fd2b1079538845b3", "score": "0.67621875", "text": "@JsonIgnore public String getValueString() {\n return (String) getValue(\"value\");\n }", "title": "" }, { "docid": "5e417d6dc4445b2332e2f1cfbd499b36", "score": "0.67442036", "text": "@Override\n public String valueAsString() {\n return (value==ONE?\"ONE\":value==TWO?\"TWO\":value==THREE?\"THREE\":value==HEART?\"HEART\":value==ENERGY?\"ENERGY\":\"CLAWS\");\n }", "title": "" }, { "docid": "61bd416d4f57b25cc6c4f4e336b65558", "score": "0.673274", "text": "public static String getValueString (Object valor){\n \tString retorno = null; \n \tif (valor instanceof String){\n \t\tretorno = getValue((String)valor);\n \t}else\n \tif (valor instanceof Long){\n \t\tretorno = longToString ((Long)valor);\n \t}else\n if (valor instanceof BigDecimal){\n \tretorno = bigDecimalToString ((BigDecimal)valor);\n \t}else\n if (valor instanceof Integer){\n \tretorno = integerToString ((Integer)valor);\n \t}else\n if (valor instanceof Double){\n \tretorno = doubleToString ((Double)valor);\n }\n \treturn retorno;\n }", "title": "" }, { "docid": "40d441c61b17278e2778aa5fbb5be884", "score": "0.67080784", "text": "@Override\n public String toString() {\n return this.value;\n }", "title": "" }, { "docid": "360d4ca97f51217e9ecde869019f760c", "score": "0.66997457", "text": "@Override\n\tpublic String toString() {\n\t\treturn this.value;\n\t}", "title": "" }, { "docid": "559602dc05ec240e289fcbe370b529e2", "score": "0.6682954", "text": "public static String stringValue(Object input) {\r\n //this isnt needed\r\n if (input == null) {\r\n return (String) input;\r\n }\r\n \r\n if (input instanceof Timestamp) {\r\n //convert to yyyy/MM/dd HH:mm:ss.SSS\r\n return timestampToString((Timestamp) input);\r\n }\r\n \r\n if (input instanceof Date) {\r\n //convert to yyyymmdd\r\n return stringValue((Date) input);\r\n }\r\n \r\n if (input instanceof Number) {\r\n DecimalFormat decimalFormat = new DecimalFormat(\r\n \"###################.###############\");\r\n return decimalFormat.format(((Number) input).doubleValue());\r\n \r\n }\r\n \r\n return input.toString();\r\n }", "title": "" }, { "docid": "59364b8caf60fb70bac0b026ca6f50af", "score": "0.6680144", "text": "@Override\n public String toString() {\n return this.value.toString();\n }", "title": "" }, { "docid": "b51a2c8dedf57cf4127126dea83a2c40", "score": "0.66662455", "text": "String get_as_string();", "title": "" }, { "docid": "4d117b2e387ed138ee5b5647ab7fac2d", "score": "0.6659201", "text": "public String toString() {\n return Double.toString(value);\n }", "title": "" }, { "docid": "1733301c2b8d32bff2f10e40140a0eb5", "score": "0.66547674", "text": "@Override\n\tpublic String toString() {\n\t\treturn value;\n\t}", "title": "" }, { "docid": "b0a8cdfc74cba3ca4cc6f863e5e49ecd", "score": "0.6642485", "text": "public String valueToString() {\r\n\t\tswitch(value) {\r\n\t\t\tcase 14:\r\n\t\t\t\treturn \"Ace\";\r\n\t\t\tcase 2:\r\n\t\t\t\treturn \"2\";\r\n\t\t\tcase 3:\r\n\t\t\t\treturn \"3\";\t\r\n\t\t\tcase 4:\r\n\t\t\t\treturn \"4\";\t\r\n\t\t\tcase 5:\r\n\t\t\t\treturn \"5\";\t\r\n\t\t\tcase 6:\r\n\t\t\t\treturn \"6\";\t\r\n\t\t\tcase 7:\r\n\t\t\t\treturn \"7\";\t\r\n\t\t\tcase 8:\r\n\t\t\t\treturn \"8\";\t\r\n\t\t\tcase 9:\r\n\t\t\t\treturn \"9\";\r\n\t\t\tcase 10:\r\n\t\t\t\treturn \"10\";\t\r\n\t\t\tcase 11:\r\n\t\t\t\treturn \"Jack\";\t\r\n\t\t\tcase 12:\r\n\t\t\t\treturn \"Queen\";\r\n\t\t\tcase 13:\r\n\t\t\t\treturn \"King\";\r\n\t\t\tdefault:\r\n\t\t\t\treturn \"XXX\";\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "f76da73ca0d81ba32e1e24c1971b8790", "score": "0.66248494", "text": "@Override\n public String toString() {\n return Integer.toString(value);\n }", "title": "" }, { "docid": "f76da73ca0d81ba32e1e24c1971b8790", "score": "0.66248494", "text": "@Override\n public String toString() {\n return Integer.toString(value);\n }", "title": "" }, { "docid": "619f8a8b881bac1095b9bd3cdc520119", "score": "0.6614855", "text": "public String convertNumberValue(final Number value) {\n\t\treturn String.valueOf(value);\n\t}", "title": "" }, { "docid": "c510285c8ff10b2da4b4845ab81e5199", "score": "0.6601248", "text": "public String paramToString(Object value) throws Exception {\n if (value instanceof String) {\n return (String) value;\n }\n return value.toString();\n }", "title": "" }, { "docid": "b1c9060915690845ba393c8bd6520f3d", "score": "0.65769196", "text": "public abstract String format(Object valore);", "title": "" }, { "docid": "4f22bafaec316655f7f17833c4aa8fcc", "score": "0.6576735", "text": "public String getValueString(double value)\n {\n if(value > 100.0)\n return(String.valueOf((int)Math.round(value)));\n \n return(String.valueOf((int)(Math.round(value*10))/10.0));\n }", "title": "" }, { "docid": "200df3914600f71e468049357075a790", "score": "0.657142", "text": "@Override\r\n\tpublic String getAsString(FacesContext context, UIComponent component,\r\n\t\t\tObject value) {\n\t\treturn (String) value;\r\n\t}", "title": "" }, { "docid": "8585957fe972c93ee6952bc6f27d2635", "score": "0.6565788", "text": "@Override\n\tpublic String getValue() {\n\t\treturn Double.toString(value);\n\t}", "title": "" }, { "docid": "92066c41af9910a2502f9ee42d7b9fc2", "score": "0.6554247", "text": "@Override\n public String toString() {\n return new String(value, 0, count);\n }", "title": "" }, { "docid": "7d25d48350401407c0e1a0574ec819cf", "score": "0.6548967", "text": "public String print_value() {\n\t\t\treturn value.toString() + (dirty ? \"*\" : \"\");\n\t\t}", "title": "" }, { "docid": "d3a39a245c0a8a95f00e59407be827db", "score": "0.65132105", "text": "@Override\n\tpublic String toString()\n\t{\n\t\treturn VALUE;\n\t}", "title": "" }, { "docid": "dd689ed778c806fa99ea18db83131f5f", "score": "0.649773", "text": "@Override\r\n\tpublic String toString(OpOrder order) {\r\n\t\treturn String.valueOf(value);\r\n\t}", "title": "" }, { "docid": "5b23c791c1f744a0aeb7db76467d7b6b", "score": "0.6496038", "text": "@Override\n public String toString() {\n return mValue;\n }", "title": "" }, { "docid": "9a10d267faa5ff18e4cf58def20dfa87", "score": "0.6490958", "text": "@Override\n public String encode(IntegerHolder value) {\n Long v = value.getValue();\n return v != null ? v.toString() : null;\n }", "title": "" }, { "docid": "226a43012d80990a340523e83e67e92f", "score": "0.6484712", "text": "public java.lang.String getValue() {\n return value;\n }", "title": "" }, { "docid": "5198916d38a708899cdd22389f093af2", "score": "0.64795935", "text": "public String getAsText() {\n return (this.value != null) ? this.value.toString() : null;\n }", "title": "" }, { "docid": "b051144dea1c0804f01c84f3098e7b71", "score": "0.6479408", "text": "public String getString() { return (String)getValue(); }", "title": "" }, { "docid": "b79ea3302c6c107f6e7e857c4fd58dc8", "score": "0.64677274", "text": "public String toString() {\n // Note: the toString() method is also used for serialization and deserialization. So\n // toString() and parse() must always return objects that return true when you call equals()\n if (mValue.length == 2) {\n return Integer.toString(toInt());\n }\n if (mValue.length == 16) {\n return toUuidString();\n }\n return \"0x\" + toHexString();\n }", "title": "" }, { "docid": "4c06a09897f4d56dff6042fe23e35727", "score": "0.64673245", "text": "private static String getValueString(XsdString value)\n {\n if (value == null || value == XsdString.NULL_XSDSTRING)\n return \"\";\n else\n return value.toString();\n }", "title": "" }, { "docid": "550d3931113da1c88efe71609e28735f", "score": "0.6462136", "text": "@Override\r\n\tpublic String getDisplayValue() \r\n\t{\t\t \r\n\t\treturn \"\" + value;\r\n\t}", "title": "" }, { "docid": "a49b20576b0229661b9054b30d40d216", "score": "0.6450211", "text": "public java.lang.String getValue() {\n return value;\n }", "title": "" }, { "docid": "98394af9434119bbdbf88b327bf4b2c4", "score": "0.6444612", "text": "private String result(Object value, Collection<DimensionalItemObject> items) {\n String valueString;\n if (value == null) {\n valueString = \"null\";\n } else if (value instanceof Double) {\n double d = (double) value;\n if (d == (int) d) {\n valueString = Integer.toString((int) d);\n } else {\n valueString = value.toString();\n }\n } else if (value instanceof String) {\n valueString = \"'\" + value + \"'\";\n } else if (value instanceof Boolean) {\n valueString = value.toString();\n } else {\n valueString = \"Class \" + value.getClass().getName() + \" \" + value.toString();\n }\n String itemsString = getItemNames(items);\n if (itemsString.length() != 0) {\n itemsString = \" \" + itemsString;\n }\n return valueString + itemsString;\n }", "title": "" }, { "docid": "f464c810f0a407aa5f23e3ce38435c85", "score": "0.6440866", "text": "public String getValue() {\n return (val);\n }", "title": "" }, { "docid": "b130e4f3d19f2e7b07b1e3ab976eb585", "score": "0.64390105", "text": "static public String getValueToString(final String value) {\n\t\tString rtn = \"\";\n\t\trtn += \"\\\"\";\n\t\tif (value != null) {\n\t\t\trtn += value;\n\t\t}\n\t\telse {\n\t\t\trtn += \"null\";\n\t\t}\n\t\trtn += \"\\\"\";\n\t\trtn += \",\";\n\t\trtn += Utils.getNewLine();\n\t\treturn rtn;\n\t}", "title": "" }, { "docid": "511bc01d22825df744cf4528bd3cdb52", "score": "0.6436268", "text": "String serialize(V value);", "title": "" }, { "docid": "cc4123ab455a43527ea7077b0b4be730", "score": "0.6436054", "text": "@Uninterruptible\n public String getValueString() {\n return this.values[this.value];\n }", "title": "" }, { "docid": "b7375e0144ee4b9371af9a0d9321e15b", "score": "0.6424172", "text": "public String obtenerValorFormateado() {\n if (this.valor < 10 && this.tope > 10) {\n return \"0\" + this.valor;\n } else {\n return String.valueOf(this.valor);\n }\n }", "title": "" }, { "docid": "4dde58c78ac83371e789ac0c3b2707d7", "score": "0.6409913", "text": "public String stringify();", "title": "" }, { "docid": "4a1ca8f1d527580660f2d9fbb8a3ee9d", "score": "0.64071256", "text": "public String getValue();", "title": "" }, { "docid": "4a1ca8f1d527580660f2d9fbb8a3ee9d", "score": "0.64071256", "text": "public String getValue();", "title": "" }, { "docid": "4a1ca8f1d527580660f2d9fbb8a3ee9d", "score": "0.64071256", "text": "public String getValue();", "title": "" } ]
6badb79de66a2b79b3a9fd1c0bd92383
Removes a draft event type created in an organization in Watson IoT Platform.
[ { "docid": "83ee49d25bbebd0cddcea6b53646ccf0", "score": "0.63343966", "text": "public boolean deleteDraftEventType(String eventTypeId) throws IoTFCReSTException {\n\t\tfinal String METHOD = \"deleteDraftEventType\";\n\t\t/**\n\t\t * Form the url based on this swagger documentation\n\t\t */\n\t\tStringBuilder sb = new StringBuilder(\"https://\");\n\t\tsb.append(orgId).\n\t\t append('.').\n\t\t append(this.domain).append(BASIC_API_V0002_URL).\n\t\t append(\"/draft/event/types/\").\n\t\t append(eventTypeId);\n\t\t\n\t\tint code = 0;\n\t\tHttpResponse response = null;\n\t\tString method = \"delete\";\n\t\ttry {\n\t\t\tresponse = connect(method, sb.toString(), null, null);\n\t\t\tcode = response.getStatusLine().getStatusCode();\n\t\t\tif(code == 204) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch(Exception e) {\n\t\t\tIoTFCReSTException ex = new IoTFCReSTException(\"Failure in removing the event from an organization in atson IoT Platform \"\n\t\t\t\t\t+ \"::\"+e.getMessage());\n\t\t\tex.initCause(e);\n\t\t\tthrow ex;\n\t\t}\n\t\t\n\t\tif(code == 400) {\n\t\t\tthrow new IoTFCReSTException(code, \"Invalid request (invalid resource id specified in the path)\");\n\t\t} if(code == 401) {\n\t\t\tthrow new IoTFCReSTException(code, \"The authentication token is empty or invalid\");\n\t\t} else if(code == 403) {\n\t\t\tthrow new IoTFCReSTException(code, \"The authentication method is invalid or the API key used does not exist\");\n\t\t} else if (code == 404) {\n\t\t\tthrow new IoTFCReSTException(code, \"A physical interface with the specified id does not exist\");\n\t\t} else if (code == 500) {\n\t\t\tthrow new IoTFCReSTException(500, \"Unexpected error\");\n\t\t}\n\t\tthrowException(response, METHOD);\n\t\treturn false;\n\t}", "title": "" } ]
[ { "docid": "e9484540fb944e6e3b582e237aac3a14", "score": "0.59109324", "text": "public JsonObject addDraftEventType(String draftEventType) throws IoTFCReSTException {\n\t\tfinal String METHOD = \"addDraftEventType\";\n\t\tHttpResponse response = null;\n\t\tJsonElement jsonResponse = null;\n\t\tint code = 0;\n\t\tString method = \"post\";\n\t\ttry {\n\t\t\tStringBuilder sb = new StringBuilder(\"https://\");\n\t\t\tsb.append(orgId).\n\t\t\t append('.').\n\t\t\t append(this.domain).append(BASIC_API_V0002_URL).\n\t\t\t append(\"/draft/event/types\");\n\t\t\tresponse = connect(method, sb.toString(), draftEventType, null);\n\t\t\tcode = response.getStatusLine().getStatusCode();\n\t\t\tif (code == 201 || code == 400 || code == 401 || code == 403 || code == 500) {\n\t\t\t\tString result = this.readContent(response, METHOD);\n\t\t\t\tjsonResponse = new JsonParser().parse(result);\n\t\t\t\tif (code == 201) {\n\t\t\t\t\t//Success\n\t\t\t\t\treturn jsonResponse.getAsJsonObject();\n\t\t\t\t} else {\n\t\t\t\t\tString reason = null;\n\t\t\t\t\tswitch (code) {\n\t\t\t\t\tcase 400:\n\t\t\t\t\t\treason = IoTFCReSTException.HTTP_ADD_DRAFT_EVENT_TYPE_ERR_400;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 401:\n\t\t\t\t\t\treason = IoTFCReSTException.HTTP_ADD_DRAFT_EVENT_TYPE_ERR_401;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 403:\n\t\t\t\t\t\treason = IoTFCReSTException.HTTP_ADD_DRAFT_EVENT_TYPE_ERR_403;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 500:\n\t\t\t\t\t\treason = IoTFCReSTException.HTTP_ADD_DRAFT_EVENT_TYPE_ERR_500;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tthrow new IoTFCReSTException(method, sb.toString(), draftEventType, code, reason, jsonResponse);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tthrow new IoTFCReSTException(code, \"Unexpected error\");\n\t\t\t}\n\t\t} catch (IoTFCReSTException e) {\n\t\t\tthrow e;\n\t\t} catch (Exception e) {\n\t\t\t// This includes JsonSyntaxException\n\t\t\tIoTFCReSTException ex = new IoTFCReSTException(\"Failure in adding draft event type to an organization in Watson IoT Platform \"\n\t\t\t\t\t+ \"::\"+e.getMessage());\n\t\t\tex.initCause(e);\n\t\t\tthrow ex;\n\t\t}\n\t}", "title": "" }, { "docid": "64c79b013c5b33942b489c38293e2a49", "score": "0.5807897", "text": "public void deleteEventType(EventType ev);", "title": "" }, { "docid": "2f8cccfb2b1c2bdc1bc25fd7af37c765", "score": "0.5648623", "text": "protected void undefineReceivedItemDocType() throws AeStorageException\r\n {\r\n undefineDocType(getCollectionName(), getSchemaName(), \"AeReceivedItem\"); //$NON-NLS-1$\r\n }", "title": "" }, { "docid": "022e30d0fdf3d5437f0258d72161517f", "score": "0.558763", "text": "public static void removeByP_S_T(\n\t\tlong groupId, int statusDraft, long typeId) {\n\n\t\tgetPersistence().removeByP_S_T(groupId, statusDraft, typeId);\n\t}", "title": "" }, { "docid": "acfe04e2408bc0a8949f942ab4141e1e", "score": "0.5499975", "text": "public JsonObject updateDraftEventType(String eventTypeId, String draftEventType) throws IoTFCReSTException {\n\t\tfinal String METHOD = \"updateDraftEventType\";\n\t\t/**\n\t\t * Form the url based on this swagger documentation\n\t\t */\n\t\tStringBuilder sb = new StringBuilder(\"https://\");\n\t\tsb.append(orgId).\n\t\t append('.').\n\t\t append(this.domain).append(BASIC_API_V0002_URL).\n\t\t append(\"/draft/event/types/\").\n\t\t append(eventTypeId);\n\t\t\n\t\tint code = 0;\n\t\tJsonElement jsonResponse = null;\n\t\tHttpResponse response = null;\n\t\tString method = \"put\";\n\t\ttry {\n\t\t\tresponse = connect(method, sb.toString(), draftEventType, null);\n\t\t\tcode = response.getStatusLine().getStatusCode();\n\t\t\tif(code == 200 || code == 409) {\n\t\t\t\tString result = this.readContent(response, METHOD);\n\t\t\t\tjsonResponse = new JsonParser().parse(result);\n\t\t\t\tif(code == 200) {\n\t\t\t\t\treturn jsonResponse.getAsJsonObject();\n\t\t\t\t}\n\t\t\t}\n\t\t} catch(Exception e) {\n\t\t\tIoTFCReSTException ex = new IoTFCReSTException(\"Failure in updating the draft event type \"\n\t\t\t\t\t+ \"::\"+e.getMessage());\n\t\t\tex.initCause(e);\n\t\t\tthrow ex;\n\t\t}\n\t\t\n\t\tif(code == 400) {\n\t\t\tthrow new IoTFCReSTException(code, \"Invalid request (Invalid resource id specified in the path, no body, invalid JSON, unexpected key, bad value)\");\n\t\t} else if(code == 401) {\n\t\t\tthrow new IoTFCReSTException(code, \"The authentication token is empty or invalid\");\n\t\t} else if(code == 403) {\n\t\t\tthrow new IoTFCReSTException(code, \"The authentication method is invalid or the API key used does not exist\");\n\t\t} else if(code == 404) {\n\t\t\tthrow new IoTFCReSTException(code, \"An Event Type with the specified id does not exist\");\n\t\t} else if(code == 412) {\n\t\t\tthrow new IoTFCReSTException(code, \"The state of the event type has been modified since the client retrieved \"\n\t\t\t\t\t+ \"its representation (response to a conditional PUT)\");\n\t\t} else if (code == 500) {\t\t\n\t\t\tthrow new IoTFCReSTException(500, \"Unexpected error\");\n\t\t}\n\t\tthrowException(response, METHOD);\n\t\treturn null;\n\t}", "title": "" }, { "docid": "7a52dbe589b1a2f8b94a6a8a8adc27a6", "score": "0.5499953", "text": "boolean remove(String documentType, String id);", "title": "" }, { "docid": "357b108e3a5bd3a5b37d8de3d617135d", "score": "0.5432032", "text": "public Builder clearType() {\n bitField0_ = (bitField0_ & ~0x00000001);\n type_ = skadistats.clarity.wire.s2.proto.S2UserMessages.PARTICLE_MESSAGE.GAME_PARTICLE_MANAGER_EVENT_CREATE;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "31178252cff5a7f6944ed4abc9e720ce", "score": "0.5407574", "text": "public void remove(Class<? extends Event> clazz) {\n\t\tdefinitions.remove(getQueueForClass(clazz));\n\t}", "title": "" }, { "docid": "1460b32caaae5f94a71c1d358daff39d", "score": "0.5388964", "text": "public JsonObject getDraftEventType(String eventTypeId) throws IoTFCReSTException {\n\t\t\n\t\tfinal String METHOD = \"getDraftEventType\";\n\t\t/**\n\t\t * Form the url based on this swagger documentation\n\t\t * \n\t\t */\n\t\tStringBuilder sb = new StringBuilder(\"https://\");\n\t\tsb.append(orgId).\n\t\t append('.').\n\t\t append(this.domain).append(BASIC_API_V0002_URL).\n\t\t append(\"/draft/event/types/\").\n\t\t append(eventTypeId);\n\t\t\n\t\tint code = 0;\n\t\tHttpResponse response = null;\n\t\tJsonElement jsonResponse = null;\n\t\ttry {\n\t\t\tresponse = connect(\"get\", sb.toString(), null, null);\n\t\t\tcode = response.getStatusLine().getStatusCode();\n\t\t\tString result = this.readContent(response, METHOD);\n\t\t\tjsonResponse = new JsonParser().parse(result);\n\t\t\tif(code == 200) {\n\t\t\t\treturn jsonResponse.getAsJsonObject();\n\t\t\t}\n\t\t} catch(Exception e) {\n\t\t\tIoTFCReSTException ex = new IoTFCReSTException(\"Failure in retrieving the draft event type with the specified id \"\n\t\t\t\t\t+ \"::\"+e.getMessage());\n\t\t\tex.initCause(e);\n\t\t\tthrow ex;\n\t\t}\n\t\tif (code == 304) {\n\t\t\tthrow new IoTFCReSTException(code, \"The state of the event type has not been modified (response to a conditional GET)\");\n\t\t} if (code == 400) {\n\t\t\tthrow new IoTFCReSTException(code, \"Invalid request (invalid resource id specified in the path)\");\n\t\t} else if(code == 401) {\n\t\t\tthrow new IoTFCReSTException(code, \"The authentication token is empty or invalid\");\n\t\t} else if (code == 403) {\n\t\t\tthrow new IoTFCReSTException(code, \"The authentication method is invalid or the API key used does not exist\");\n\t\t} else if (code == 404) {\n\t\t\tthrow new IoTFCReSTException(code, \"An event type with the specified id does not exist\");\n\t\t} else if(code == 500) {\n\t\t\tthrow new IoTFCReSTException(code, \"Unexpected error\", jsonResponse);\n\t\t}\n\t\tthrowException(response, METHOD);\n\t\treturn null;\n\t}", "title": "" }, { "docid": "8bc7c91fcb4382d9985df31fa5090309", "score": "0.53119856", "text": "public Builder clearEventType() {\n bitField0_ = (bitField0_ & ~0x00000004);\n eventType_ = 0;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "d9efc49b210e08d731601dad9e4db39e", "score": "0.53089774", "text": "public Builder clearEventType() {\n\n eventType_ = getDefaultInstance().getEventType();\n onChanged();\n return this;\n }", "title": "" }, { "docid": "3a146c8ce9384053587c28f5bd199190", "score": "0.53083724", "text": "public Builder clearEventTypeId() {\n \n eventTypeId_ = getDefaultInstance().getEventTypeId();\n onChanged();\n return this;\n }", "title": "" }, { "docid": "5dc691c2a621392378d47aaa6c1752f8", "score": "0.5267709", "text": "public void setDraftType(String draftType) {\r\n\t\tthis.draftType = draftType;\r\n\t}", "title": "" }, { "docid": "1935444cad3876545f407b5260aaf3a3", "score": "0.520649", "text": "public void unsetType()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n get_store().remove_element(TYPE$4, 0);\r\n }\r\n }", "title": "" }, { "docid": "a701ce68bf25cbe925e86bb9bc00916f", "score": "0.520337", "text": "@Override\n public void deleteCalendarEvent() {\n net.gtidev.test.model.Event event = getFormCalendarEvent();\n if (eventProvider.containsEvent(event)) {\n eventProvider.removeEvent(event);\n }\n }", "title": "" }, { "docid": "ce37b4784c9b51a95aad2067b4267f21", "score": "0.5194173", "text": "public void removeByRunType(String runType);", "title": "" }, { "docid": "e1321685f3d8452b4fb04d5c34c09715", "score": "0.5089562", "text": "public void removeByRunType_G(long groupId, String runType);", "title": "" }, { "docid": "35e24c1cf9d3bc6feff4a2762a3ec352", "score": "0.50791276", "text": "public void unsetAsOrganizationPartOf()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(ASORGANIZATIONPARTOF$16, 0);\n }\n }", "title": "" }, { "docid": "ba93b1d6d4e313946a08df512ce4c3ee", "score": "0.50486076", "text": "@Override\n public String getEventType() {\n return EventTypes.EVENT_PRIVATE_GATEWAY_DELETE;\n }", "title": "" }, { "docid": "1bd8bb1529843cf84cde7a8bcb151514", "score": "0.50126225", "text": "public void clearDocumentType() {\n this.documentTypeCase_ = 0;\n this.documentType_ = null;\n }", "title": "" }, { "docid": "aaa68ab6656c2b576d6db3f5f2e4b828", "score": "0.4995359", "text": "void removeCollectorFromEventType(EventType eventType, AnalyticsCollector collector);", "title": "" }, { "docid": "702a8ddabc9e9af76bcad4b56657e478", "score": "0.49643105", "text": "@Override\n\tpublic void deleteIssueBoard(IssueBoard dto, String eCode) throws Exception {\n\t\t\n\t}", "title": "" }, { "docid": "24b8a768edcdd82dda54811287177e50", "score": "0.4943199", "text": "public JsonObject getDraftEventTypes(List<NameValuePair> parameters) throws IoTFCReSTException {\n\t\t\n\t\tfinal String METHOD = \"getDraftEventTypes\";\n\t\t/**\n\t\t * Form the url based on this swagger documentation\n\t\t * \n\t\t */\n\t\tStringBuilder sb = new StringBuilder(\"https://\");\n\t\tsb.append(orgId).\n\t\t append('.').\n\t\t append(this.domain).append(BASIC_API_V0002_URL).\n\t\t append(\"/draft/event/types\");\n\t\t\n\t\tint code = 0;\n\t\tHttpResponse response = null;\n\t\tJsonElement jsonResponse = null;\n\t\ttry {\n\t\t\tresponse = connect(\"get\", sb.toString(), null, parameters);\n\t\t\tcode = response.getStatusLine().getStatusCode();\n\t\t\tString result = this.readContent(response, METHOD);\n\t\t\tjsonResponse = new JsonParser().parse(result);\n\t\t\tif(code == 200) {\n\t\t\t\treturn jsonResponse.getAsJsonObject();\n\t\t\t}\n\t\t} catch(Exception e) {\n\t\t\tIoTFCReSTException ex = new IoTFCReSTException(\"Failure in retrieving list of draft event types \"\n\t\t\t\t\t+ \"::\"+e.getMessage());\n\t\t\tex.initCause(e);\n\t\t\tthrow ex;\n\t\t}\n\t\tif (code == 400) {\n\t\t\tthrow new IoTFCReSTException(code, \"Invalid request (invalid query parameter, invalid query parameter value)\");\n\t\t} else if(code == 401) {\n\t\t\tthrow new IoTFCReSTException(code, \"The authentication token is empty or invalid\");\n\t\t} else if (code == 403) {\n\t\t\tthrow new IoTFCReSTException(code, \"The authentication method is invalid or the API key used does not exist\");\n\t\t} else if(code == 500) {\n\t\t\tthrow new IoTFCReSTException(code, \"Unexpected error\", jsonResponse);\n\t\t}\n\t\tthrowException(response, METHOD);\n\t\treturn null;\n\t}", "title": "" }, { "docid": "60da24512d9ecc329f0c07e8966e5517", "score": "0.4931793", "text": "void removeOrganizationStatus(int i);", "title": "" }, { "docid": "22f1f24d9756989c4c1bf7844d756487", "score": "0.49148715", "text": "void removeCollectorFromEventType(String eventType, AnalyticsCollector collector);", "title": "" }, { "docid": "5c85647f8080349ae2738b8333228861", "score": "0.49054202", "text": "void commitRemove(DynamicType type) throws CannotExistWithoutTypeException;", "title": "" }, { "docid": "5d4c49bbe8ebf060e1ed9e3305d2d7d3", "score": "0.4895417", "text": "void removeUploadType(UploadType uploadType) throws UploadPersistenceException;", "title": "" }, { "docid": "0c042bfdcbcb50786238778da2716424", "score": "0.48926136", "text": "public String getDraftType() {\r\n\t\treturn draftType;\r\n\t}", "title": "" }, { "docid": "e5be83e72745e615e2d742761e8efc29", "score": "0.48830336", "text": "public static void removeByDRAFT_STATUS(int statusDraft) {\n\t\tgetPersistence().removeByDRAFT_STATUS(statusDraft);\n\t}", "title": "" }, { "docid": "693aa88b2af4a64c577d4286ddb5a707", "score": "0.48742712", "text": "public void removeByRunType_G_U(long groupId, long userId, String runType);", "title": "" }, { "docid": "6807b2e6f7bc7d6bd8140a80aa0db150", "score": "0.4869181", "text": "@JsonView(Views.Extended.class)\n\t@DeleteMapping(\"/{id}/type/{type}\")\n\tpublic ProcessOutputSpecificationDTO removeOutputSpecificationType(\n\t\t\t@RequestHeader(name = \"jwt-auth\") final String jwt, @PathVariable(name = \"id\") final Long id,\n\t\t\t@PathVariable(name = \"type\") final ProcessOutputType type,\n\t\t\t@RequestParam(name = \"language\", required = false) final String language) {\n\n\t\tfinal RemoveOutputSpecificationTypeCommand command = RemoveOutputSpecificationTypeCommand.create(jwt, id, type,\n\t\t\t\tLanguage.getLanguage(language));\n\t\treturn sendCommand(command, \"process_outputs\").getEvent().getData();\n\n\t}", "title": "" }, { "docid": "a3c54c0b8132c704092fcbc049052d73", "score": "0.48466313", "text": "@Override\n public void processTypeDefEvent(OMRSTypeDefEvent event) {\n log.trace(\"Ignoring type event: {}\", event);\n }", "title": "" }, { "docid": "0823b2f03f0d072204394c322fa8465f", "score": "0.48451066", "text": "@Test\n\tpublic void deleteRcsBotTypeDesc() {\n\t\t// TODO: JUnit - Populate test inputs for operation: deleteRcsBotTypeDesc \n\t\tRcsBotTypeDesc rcsbottypedesc = new com.kirusa.domain.RcsBotTypeDesc();\n\t\tservice.deleteRcsBotTypeDesc(rcsbottypedesc);\n\t}", "title": "" }, { "docid": "fcff0f1c5ca13ee7930468fd516d0cb0", "score": "0.48438764", "text": "@DELETE\n public ApiResponse deleteOrganization() throws Exception {\n throw new NotImplementedException();\n }", "title": "" }, { "docid": "fea53bdcf752e9bb7e191a149957990e", "score": "0.4836865", "text": "public Builder clearRobotEventType() {\n \n robotEventType_ = 0;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "1076dc1906d95c2bb9ca6d77956bef10", "score": "0.4817051", "text": "@Override\n public void deleteExternalParty(long organizationId) {\n }", "title": "" }, { "docid": "037e057116230c0fb2e6ed414654d1d1", "score": "0.48168525", "text": "@DeleteMapping(\"/industry-types/{id}\")\n @Timed\n public ResponseEntity<Void> deleteIndustryType(@PathVariable Long id) {\n log.debug(\"REST request to delete IndustryType : {}\", id);\n industryTypeRepository.delete(id);\n industryTypeSearchRepository.delete(id);\n return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(\"industryType\", id.toString())).build();\n }", "title": "" }, { "docid": "13e5c33282abf267db4738333e45bf0e", "score": "0.4811072", "text": "public EventType getType() {\n EventType result = EventType.valueOf(type_);\n return result == null ? EventType.UNRECOGNIZED : result;\n }", "title": "" }, { "docid": "1f1b448d6e613b967bca442c8e7b8637", "score": "0.47942734", "text": "@Override\n\tpublic void delType(Integer typeId) {\n\t\tthis.blogTypeDao.delType(typeId);\n\t}", "title": "" }, { "docid": "3eb2928019c114c581a881bb3decaa25", "score": "0.47910982", "text": "public void removeFromLossPartyTypes(entity.AppCritLossPartyType element);", "title": "" }, { "docid": "b5bb37beaf285a374998d2852f97e286", "score": "0.4773154", "text": "public void unsetTypeId()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(TYPEID$2, 0);\n }\n }", "title": "" }, { "docid": "8270fa091da97edeb5139b8d4a116797", "score": "0.4765048", "text": "public EventType getType() {\n EventType result = EventType.valueOf(type_);\n return result == null ? EventType.UNRECOGNIZED : result;\n }", "title": "" }, { "docid": "04e8cbf1c88fd16e9a22609cffbec368", "score": "0.47640806", "text": "public void removeByRunType_U(long userId, String runType);", "title": "" }, { "docid": "67bb1cb1d06abbbb57682181494fac79", "score": "0.47398317", "text": "void removeSubmissionType(SubmissionType submissionType) throws UploadPersistenceException;", "title": "" }, { "docid": "958487eca104aa0d44b8448b0a36861d", "score": "0.4736682", "text": "private void removeFake(String dedupID, Integer type) throws SearchServiceException {\n String queryDeleteFake = RESOURCE_RESOURCETYPE_FIELD + \":\" + type + \" AND \" + RESOURCE_FLAG_FIELD + \":\"\n + DeduplicationFlag.FAKE.description + \" AND \" + RESOURCE_ID_FIELD + \":\\\"\" + dedupID + \"\\\"\";\n delete(queryDeleteFake);\n }", "title": "" }, { "docid": "4d8bb540de7fa1b2e3f97a90d3bd5778", "score": "0.473558", "text": "public com.madhouse.dsp.avro.MediaRequest.Builder clearDevicetype() {\n fieldSetFlags()[19] = false;\n return this;\n }", "title": "" }, { "docid": "00756817600de5f5d079e14220aaf1ce", "score": "0.47331887", "text": "public static void removeByP_S_D(\n\t\tlong groupId, int statusDraft, String docCode) {\n\n\t\tgetPersistence().removeByP_S_D(groupId, statusDraft, docCode);\n\t}", "title": "" }, { "docid": "e867fc97a21410dc33ba5fa77c5c8623", "score": "0.47283697", "text": "@Override\r\n\tpublic void removeEvent(Event event) {\r\n\t\teventRepository.delete(event);\r\n\t}", "title": "" }, { "docid": "a8e3471d83ec15da6bacde6c76fcc271", "score": "0.47199258", "text": "<T>void removeBeans(Class<T> type);", "title": "" }, { "docid": "487dee2a938b3d40d9530e29c23c8978", "score": "0.47139063", "text": "void removeRegisteredCollectorFromEventType(@NonNull String eventType, @NonNull String collectorName);", "title": "" }, { "docid": "325b1b6aee7b95cd4dd15c6c12c4eac6", "score": "0.47109526", "text": "public ITopic removeType(IOccurrence typed) {\r\n\t\tif (occurrenceTypes != null && occurrenceTypes.containsKey(typed)) {\r\n\t\t\tITopic t = occurrenceTypes.remove(typed);\r\n\t\t\tSet<IOccurrence> set = typedOccurrences.get(t);\r\n\t\t\tif (set != null) {\r\n\t\t\t\tset.remove(typed);\r\n\t\t\t\tif (set.isEmpty()) {\r\n\t\t\t\t\ttypedOccurrences.remove(t);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn t;\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "6c76ac54cf0bee2b7230470fc1dd489b", "score": "0.47084975", "text": "public Builder clearType() {\n bitField0_ = (bitField0_ & ~0x00000001);\n type_ = edu.washington.escience.myria.proto.DataProto.DataMessage.Type.NORMAL;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "d9c45aa8aa9f2a5357c1d0e4ca56af13", "score": "0.4705189", "text": "void remove(OsType operatingSystem) throws UnexpectedException;", "title": "" }, { "docid": "4eeb26c2c47e19bed7a4fd51cf32e1e6", "score": "0.47045448", "text": "public void deleteOrganization() {\n\t\tboolean editFlag = op.getEditLink().isEnabled();\n\t\tboolean delFlag = op.getDelLink().isEnabled();\n\t\tif (editFlag && delFlag) {\n\t\t\top.getDelLink().click();\n\t\t\twdu.acceptAlert(driver);\n\t\t}\n\n\t}", "title": "" }, { "docid": "767a5a4fc41d112cf0aca91137ed6832", "score": "0.46933335", "text": "public void removeFromIncidentTypes(entity.AppCritIncidentType element);", "title": "" }, { "docid": "c1d7a01d14c47bb7212526370e4a4ad6", "score": "0.46876577", "text": "@PostMapping(path = \"/connector-types/{connectorTypeGUID}/delete\")\n\n public VoidResponse removeConnectorType(@PathVariable String serverName,\n @PathVariable String userId,\n @PathVariable String connectorTypeGUID,\n @RequestBody MetadataSourceRequestBody requestBody)\n {\n return restAPI.removeConnectorType(serverName, userId, connectorTypeGUID, requestBody);\n }", "title": "" }, { "docid": "c1d7a01d14c47bb7212526370e4a4ad6", "score": "0.46876577", "text": "@PostMapping(path = \"/connector-types/{connectorTypeGUID}/delete\")\n\n public VoidResponse removeConnectorType(@PathVariable String serverName,\n @PathVariable String userId,\n @PathVariable String connectorTypeGUID,\n @RequestBody MetadataSourceRequestBody requestBody)\n {\n return restAPI.removeConnectorType(serverName, userId, connectorTypeGUID, requestBody);\n }", "title": "" }, { "docid": "13e3abb55b2703d07d5c71d4530906d5", "score": "0.46674326", "text": "public void eventTypeRemoved(NotificationEventTypeEvent event)\n {\n String eventName = event.getSourceEventType();\n NotificationEntry entry = getNotificationEntry(eventName);\n\n if(entry != null)\n removeEntry(entry);\n\n notifTable.repaint();\n }", "title": "" }, { "docid": "7f33650539200a2a3722d1d23cf6c33e", "score": "0.4653826", "text": "void unsetTypeId();", "title": "" }, { "docid": "f045a275ea38d23074b295db1c543843", "score": "0.4632291", "text": "AnyType remove( );", "title": "" }, { "docid": "ccd029df81e18d36c55c3d2ef464bddb", "score": "0.46191728", "text": "public com.madhouse.dsp.avro.MediaRequest.Builder clearType() {\n fieldSetFlags()[4] = false;\n return this;\n }", "title": "" }, { "docid": "b067253a9f93ccbb6bb774742412f5c6", "score": "0.46064925", "text": "public Event remove(long eventId) throws NoSuchEventException;", "title": "" }, { "docid": "a44315c2667c646e6538df094ee9a009", "score": "0.4605942", "text": "public void removeEvent (final T event) {\n events.remove(event);\n }", "title": "" }, { "docid": "0edbcf3875527b74910e107a1d7dc60a", "score": "0.46034873", "text": "public void deleteEvent(String eventId);", "title": "" }, { "docid": "84514ec3c8daaacf8e4f2cb6bc13f0cd", "score": "0.46003172", "text": "private void discardDraft() {\n Executor myExecutor = Executors.newSingleThreadExecutor();\n myExecutor.execute(() -> {\n journalEntryDao.delete(journalEntry);\n });\n }", "title": "" }, { "docid": "c03fed145b983626f7542e9582f62ab4", "score": "0.45997152", "text": "public Builder clearEnumtype() {\n bitField0_ = (bitField0_ & ~0x00000008);\n enumtype_ = getDefaultInstance().getEnumtype();\n onChanged();\n return this;\n }", "title": "" }, { "docid": "3e95401b91e91e64d5f14b1918fe9ec6", "score": "0.45917544", "text": "public void removeInE(E e) {\n inE.get(e.getType()).remove(e);\n }", "title": "" }, { "docid": "3e94e27f657a806523e7b7b9faa0bcd6", "score": "0.4587642", "text": "public void testDeleteTaskType() throws Exception {\r\n TaskType taskType = TestHelper.createTestingTaskType(null);\r\n delegate.createTaskType(taskType);\r\n\r\n delegate.deleteTaskType(taskType.getId());\r\n\r\n assertEquals(\"Failed to remove the task type.\", 0, delegate.getAllTaskTypes().length);\r\n }", "title": "" }, { "docid": "ac9b0f86430c4a7647ba03cf4bfb409a", "score": "0.4585988", "text": "<C extends T> Optional<C> remove(Class<C> type);", "title": "" }, { "docid": "7229005661ffd01b213b562cb6b2572a", "score": "0.45811394", "text": "public void removeDocumentation(String type) {\n Iterator iter = docs.iterator();\n while (iter.hasNext()) {\n InvDocumentation doc = (InvDocumentation) iter.next();\n String dtype = doc.getType();\n if ((dtype != null) && dtype.equalsIgnoreCase(type))\n iter.remove();\n }\n }", "title": "" }, { "docid": "313efb4bb1f64ba4249d1b58d90db6e7", "score": "0.45691693", "text": "eu.mico.platform.event.model.Event.MessageType getType();", "title": "" }, { "docid": "edaa86557acc087b3349a9cd883c4d73", "score": "0.4566297", "text": "public void removeType(final String type) {\n\t\tif (StringUtils.isEmpty(type) || type.length() > TYPE_MAX_LENGTH)\n\t\t\treturn;\n\n\t\ttypes.remove(type);\n\t}", "title": "" }, { "docid": "f319a2bcaa81c3664170faf98283ae51", "score": "0.45627752", "text": "public Builder clearType() {\n bitField0_ = (bitField0_ & ~0x00000001);\n type_ = com.NC.o2ovender.Service.Command.Mobile2Service.request.TYPE.NO_TYPE;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "db4a85719a50aa01d506a5fe361ae8dc", "score": "0.45626158", "text": "public static void removeByP_S_U_L(\n\t\tlong groupId, int statusDraft, long createdByUser, String language) {\n\n\t\tgetPersistence().removeByP_S_U_L(\n\t\t\tgroupId, statusDraft, createdByUser, language);\n\t}", "title": "" }, { "docid": "7f45d328dec9dd68847d4b09eda909e4", "score": "0.45561174", "text": "@DeleteMapping(\"/state-types/{id}\")\n @Timed\n public ResponseEntity<Void> deleteStateType(@PathVariable Long id) {\n log.debug(\"REST request to delete StateType : {}\", id);\n stateTypeRepository.delete(id);\n return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(ENTITY_NAME, id.toString())).build();\n }", "title": "" }, { "docid": "6f7d019093c4353fd3a5884c963c6d77", "score": "0.45544147", "text": "public ITopic removeType(IAssociationRole typed) {\r\n\t\tif (roleTypes != null && roleTypes.containsKey(typed)) {\r\n\t\t\tITopic t = roleTypes.remove(typed);\r\n\t\t\tSet<IAssociationRole> set = typedRoles.get(t);\r\n\t\t\tif (set != null) {\r\n\t\t\t\tset.remove(typed);\r\n\t\t\t\tif (set.isEmpty()) {\r\n\t\t\t\t\ttypedRoles.remove(t);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn t;\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "f014e5f45fe67cee840376742b0fd0c6", "score": "0.45507532", "text": "void unsetProductType();", "title": "" }, { "docid": "5d2f72c1dbc440dc4fede7722480e828", "score": "0.4517355", "text": "public static void removeByFindGroup(\n\t\tlong groupId, long companyId, int statusDraft) {\n\n\t\tgetPersistence().removeByFindGroup(groupId, companyId, statusDraft);\n\t}", "title": "" }, { "docid": "ff5d8aab7472464d685c515ce1ea23db", "score": "0.4512804", "text": "public static void destroyType() {\n\t\t\n\t}", "title": "" }, { "docid": "59a8c5030e87d1f543cdb54e3e0262fe", "score": "0.450775", "text": "public Builder clearRuneType() {\n bitField1_ = (bitField1_ & ~0x00000040);\n runeType_ = 0;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "0991a4ac572502463cfd5bc6b25a6fe4", "score": "0.45067173", "text": "void deleteAttendees(String eventId) throws OXException;", "title": "" }, { "docid": "61a0f5bf552b630db21fff6ce7d6b3ef", "score": "0.45052838", "text": "@Test\r\n\tpublic void removeBookingTest() {\r\n\t\tBooking booking1 = new Booking(1002L, LocalDate.now(), null, \"Drycleaning\", null);\r\n\t\tiBookingService.addBooking(booking1);\r\n\t\tassertEquals(\"Drycleaning\", iBookingService.removeBooking(1002L).getServiceType());\r\n\t}", "title": "" }, { "docid": "5af8ee294308a49cca9dde46f169e786", "score": "0.45045254", "text": "private void clearMsgType() {\n \n msgType_ = 0;\n }", "title": "" }, { "docid": "0bce6bff10922729d136ed723549ac7a", "score": "0.45039892", "text": "public Builder clearMessageType() {\n \n messageType_ = 0;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "39aeb5f4f189b3425a7f0b3781066714", "score": "0.44989762", "text": "public Builder clearMsgType() {\n bitField0_ = (bitField0_ & ~0x00000002);\n msgType_ = SteamMsgRemoteClient.ERemoteClientBroadcastMsg.k_ERemoteClientBroadcastMsgDiscovery;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "40f5effbe26d244186f51b09dc3b9afd", "score": "0.44977054", "text": "@Override\n\tpublic void unDo(TextDocument odfDocument)\n\t{\n\t\t/*\n\t\tAbsender toRemove = OfficeUtils.findAbsenderByName(LOADED_ABSENDER, officeContext);\n\t\tif(toRemove != null)\n\t\t{\n\t\t\tCommand removeCommand = RemoveCommand.create(domain, sender, eReference, toRemove);\n\t\t\tif (removeCommand.canExecute())\n\t\t\t\tremoveCommand.execute();\n\t\t}\n\t\t*/\t\t\n\t}", "title": "" }, { "docid": "a0b2e10ddc09fa2975d4a3b98d8c9129", "score": "0.4495634", "text": "public ITopic removeType(IName typed) {\r\n\t\tif (nameTypes != null && nameTypes.containsKey(typed)) {\r\n\t\t\tITopic t = nameTypes.remove(typed);\r\n\t\t\tSet<IName> set = typedNames.get(t);\r\n\t\t\tif (set != null) {\r\n\t\t\t\tset.remove(typed);\r\n\t\t\t\tif (set.isEmpty()) {\r\n\t\t\t\t\ttypedNames.remove(t);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn t;\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "f564a5ec1383a19013a40115be18d158", "score": "0.44950375", "text": "SimpleEvent<ProjectComponent> removedEvent();", "title": "" }, { "docid": "e8cb125d84a4d6609ff2ad7e4db2c39e", "score": "0.44935298", "text": "BusinessObjectDefinition deleteBusinessObjectDefinition(BusinessObjectDefinitionKey businessObjectDefinitionKey);", "title": "" }, { "docid": "5d8c99a738a4525353085150c60f858b", "score": "0.4492958", "text": "@Override\n\tpublic String DeleteAcrticleType(Acrticletype acrticletype) {\n\t\tConfiguration cfg = new Configuration().configure();\n\t\tSessionFactory factory = cfg.buildSessionFactory();\n\t\tSession session = null;\n\n\t\ttry {\n\t\t\tsession = factory.openSession();\n\t\t\tsession.beginTransaction();\n\t\t\tsession.delete(acrticletype);\n\t\t\tsession.getTransaction().commit();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\tsession.getTransaction().rollback();\n\t\t\treturn \"fail\";\n\t\t} finally {\n\t\t\tif (session != null) {\n\t\t\t\tif (session.isOpen()) {\n\t\t\t\t\tsession.close();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn \"success\";\n\t}", "title": "" }, { "docid": "1d5273116578a651b739ef3db0f958e2", "score": "0.44896978", "text": "public void clearBusinessType() {\n genClient.clear(CacheKey.businessType);\n }", "title": "" }, { "docid": "d9b74e355d3a201f1459902f982b1edb", "score": "0.44863227", "text": "public void deleteEvent(Event e){\n del_events.add(e);\n events.remove(e);\n sendMessageToMembers(e);\n }", "title": "" }, { "docid": "c50e0c256545723c5ca8ce5ff1bfc951", "score": "0.44704357", "text": "public Builder clearOstype() {\n bitField0_ = (bitField0_ & ~0x00000020);\n ostype_ = 0;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "2e2eb4921baa460f594c5b399a779e6d", "score": "0.44582245", "text": "public EventType getType() {\n return type;\n }", "title": "" }, { "docid": "893ce09a3cfa9d299b40bfac85dcd048", "score": "0.44577906", "text": "public void clearUnknownDocument() {\n if (this.documentTypeCase_ == 3) {\n this.documentTypeCase_ = 0;\n this.documentType_ = null;\n }\n }", "title": "" }, { "docid": "1e2d681531ba95ad8f0f1f37bf774c07", "score": "0.44528848", "text": "public Builder clearType() {\n bitField0_ = (bitField0_ & ~0x00000001);\n type_ = com.NC.o2ovender.Service.Command.Mobile2Service.response.TYPE.NO_TYPE;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "23137a77a9ffb01522375f5ac85aa1b9", "score": "0.44473535", "text": "public void removeUploadType(UploadType arg0, String arg1) throws UploadPersistenceException {\n \r\n }", "title": "" }, { "docid": "b56b918dafeb73dc6ae53b1109a73ef7", "score": "0.44331375", "text": "public void removeFromCoverageTypes(entity.AppCritCoverageType element);", "title": "" }, { "docid": "0a66c09bdccedaa8d759cb9b74a4d47f", "score": "0.44322014", "text": "DeleteCustomActionTypeResult deleteCustomActionType(DeleteCustomActionTypeRequest deleteCustomActionTypeRequest);", "title": "" }, { "docid": "046415858c9805b5b1adb4b12a3aaa3b", "score": "0.4425784", "text": "RemoveObjectsRequestType createRemoveObjectsRequestType();", "title": "" } ]
9401ff7442cdfdc0c0fea1300ed6b62c
Create the main panel
[ { "docid": "334477919696b95a016daa3ce91e4d2e", "score": "0.78808445", "text": "private void createMainPanel() {\n\t\tmainPanel = new JPanel();\n\t\tmainPanel.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));\n\t\tmainPanel.setLayout(new BoxLayout(mainPanel,BoxLayout.Y_AXIS));\n\t\tmainPanel.add(sdPanel);\n\t\tmainPanel.add(Box.createRigidArea(new Dimension(0,6)));\n\t\tmainPanel.add(bottomPanel);\n\t}", "title": "" } ]
[ { "docid": "a5ba50e38e5f389cf92521774a41db4a", "score": "0.83266044", "text": "public void createMainPanel()\r\n\t{\r\n\t\tJPanel brandPanel=createComboBox();\r\n\t\tJPanel sizePanel=createCheckBoxes();\r\n\t\tJPanel typePanel=createRadioButtons();\r\n\t\tJPanel fieldPanel=createTextField();\r\n\t\tJPanel resultsPanel=createTextArea();\r\n\t\tJPanel donePanel=createJButton();\r\n\t\t\r\n\t\t/*Orders the component panels to display them in\r\n\t\t the correct order\r\n\t\t */\r\n\t\tJPanel mainPanel=new JPanel();\r\n\t\tmainPanel.setLayout(new GridLayout(3,1));\r\n\t\tmainPanel.add(fieldPanel);\r\n\t\tmainPanel.add(brandPanel);\r\n\t\tmainPanel.add(sizePanel);\r\n\t\tmainPanel.add(typePanel);\r\n\t\tmainPanel.add(donePanel);\r\n\t\tmainPanel.add(resultsPanel);\r\n\t\t\r\n\t\t//Adds the main panel to the frame.\r\n\t\tadd(mainPanel, BorderLayout.SOUTH);\r\n\t}", "title": "" }, { "docid": "83ce8152d3eb846bf62e1e6282487049", "score": "0.8155205", "text": "private void buildPnlMain() {\n pnlMain = new Panel();\n pnlMain.setCaption(\"User Group portal\");\n pnlMain.setImmediate(false);\n pnlMain.setSizeFull();\n final VerticalLayout tabSheetLayout = buildTabSheetLayout();\n pnlMain.setContent(tabSheetLayout);\n // build footer panel\n buildPnlFooter(tabSheetLayout);\n }", "title": "" }, { "docid": "7832bd6ced44fb1dde7a398782b92d7b", "score": "0.809135", "text": "private FlowPanel makeMainPanel() {\n\t //VerticalPanel panel = new VerticalPanel();\n\t\tFlowPanel panel = new FlowPanel();\n\t\t\n\t\tFlowPanel controlPanel = new FlowPanel();\n\t\tcontrolPanel.getElement().getStyle().setBackgroundColor(\"#000066\");\n\t\tcontrolPanel.setHeight(\"500px\");\n\t\tcontrolPanel.setWidth(\"224px\");\n\t\tdefaultControl = new CtrlAddModule(false,moduleSet);\n\t\t\n\t\tfTableLeft.setWidget(0,0, buildCanvasArea(\"1136px\",\"568px\"));\n\t\tfTableRight.setWidget(0,1, buildControlArea(\"224px\",\"718px\",new CtrlWelcome(user, moduleSet)));\n\t\tfTableLeft.setWidget(1,0, buildButtonArea(\"1436px\",\"120px\"));\n\t\tfTableRight.setWidget(1,1, buildStatusArea(\"224px\",\"120px\"));\n\t\t\n\t \n\t\tfTable = new FlexTable();\n\t\tfTable.setWidget(0,0,fTableLeft);\n\t\tfTable.setWidget(0,1,fTableRight);\n\t panel.add(fTable);\n\t \n\t \n\t\t\n\t return panel;\n\t}", "title": "" }, { "docid": "3a27ccf381979700f316c035dd9ed34b", "score": "0.78623307", "text": "public void makeMainPanel()\r\n\t{\r\n\t\t//set the layout as border layout\r\n\t\tthis.setLayout(new BorderLayout());\r\n\t\t//add theup panel\r\n\t\tthis.add(makeUpPanel(), BorderLayout.NORTH); \r\n\t\t//add the board to the center\r\n\t\tthis.add(view, BorderLayout.CENTER); \r\n\t\t \r\n\t}", "title": "" }, { "docid": "f6dec9f1e2545fd6175c4dca6a48d3d5", "score": "0.7805903", "text": "public MainPanel() {\n initComponents();\n initModel();\n initUI();\n initLis();\n initALL();\n }", "title": "" }, { "docid": "feaeb957f9975d52881fb791b1762b0a", "score": "0.7768963", "text": "public void buildPanel() {\r\n mainPanel.setBounds(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT);\r\n mainPanel.setBackground(Color.BLACK);\r\n mainPanel.setVisible(true);\r\n }", "title": "" }, { "docid": "d4531f33c7a2c7f568c15529f113e4f7", "score": "0.7763963", "text": "private JPanel mainPanel(){\r\n\t\t JPanel panel = new JPanel();\r\n\t\t panel.setLayout(new GridBagLayout());\r\n\t\t panel.add(buttonsPanel(), getGBC(0,0,TWELVE));\r\n\r\n\t\t panel.add(userInputPanel(), getGBC(0,2,EIGHT));\r\n\t\t panel.add(inventoryPanel(), getGBC(EIGHT,2,EIGHT/2));\r\n\r\n\t\treturn panel;\r\n\t}", "title": "" }, { "docid": "bfaf499ac7da9a062e05884c0d89f4e8", "score": "0.76820683", "text": "private void drawMainpnl() {\r\n\t\tsetLayout(new BorderLayout(0, 0));\r\n\t\tmainPnl.setLayout(new MigLayout(\"\", \"[grow,fill][132.00,grow,fill]\",\r\n\t\t\t\t\"[fill][grow]\"));\r\n\t\tannotationPanel.setBorder(new TitledBorder(null, \"Annotation Options\",\r\n\t\t\t\tTitledBorder.LEADING, TitledBorder.TOP, null, null));\r\n\t\tannotationPanel.setLayout(new MigLayout(\"\", \"[][grow]\", \"[][]\"));\r\n\t\tannotationPanel.add(lblExposureTime, \"cell 0 0,alignx trailing\");\r\n\t\tannotationPanel.add(tfExposureTime, \"cell 1 0,growx\");\r\n\t\tannotationPanel.add(btnCreateExposureTime, \"cell 0 1 2 1\");\r\n\r\n\t\tmainPnl.add(annotationPanel, \"cell 0 1,grow\");\r\n\r\n\t\tmainPnl.add(btnMakeMovie, \"cell 1 1,alignx right\");\r\n\t\tadd(mainPnl);\r\n\t}", "title": "" }, { "docid": "db31a0794ccad88134503374f90ac55e", "score": "0.7620823", "text": "private void createUI() {\n\t\tcenterImg = new Image(\"images/employee_manager_background.jpg\");\n\t\tcenterImg.setStyleName(\"centerImg\");\n\t\tRootPanel.get().add(centerImg, 0, 0);\n\t\t\n\t\ttopPanel = new HorizontalPanel();\n\t\ttopPanel.setStyleName(\"topPanel\");\n\t\ttopPanel.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_RIGHT);\n\t\ttopPanel.setVerticalAlignment(HasVerticalAlignment.ALIGN_MIDDLE);\n\t\t\n\t\tImage logoImg = new Image(\"images/javalabs_employee_manager.jpg\");\n\t\tlogoImg.setStyleName(\"logoImg\");\n\t\tlogoImg.setPixelSize(400, 75);\n\n\t\tRootPanel.get().add(topPanel, 0, 0);\n\t\t\n\t\ttopPanel.add(logoImg);\n\t\ttopPanel.setCellHorizontalAlignment(logoImg, HasHorizontalAlignment.ALIGN_LEFT);\n\t\t\n\t\tloginPanel.setStyleName(\"loginPanel\");\n\t\ttopPanel.add(loginPanel);\n\t\t\n\t\tresize();\n\t\t\n\t\tWindow.addResizeHandler(new ResizeHandler() {\n\t\t\t@Override\n\t\t\tpublic void onResize(ResizeEvent event) {\n\t\t\t\tresize();\t\t\t\t\n\t\t\t}\n\t\t});\n\t\t\n\t\t//createCenterPanel();\n\t}", "title": "" }, { "docid": "c7f91ffd055a88a734cb02ad3c3e5d49", "score": "0.7611543", "text": "protected JPanel mainPanel() {\n JPanel p = new JPanel();\n p.setLayout(new BorderLayout());\n p.add(upperPanel(), \"Center\");\n p.add(metadataPanel(), \"South\");\n return p;\n }", "title": "" }, { "docid": "bd86dc1a8b889a7f209851ddc0ca8f33", "score": "0.7585989", "text": "private void initMainPanel() {\n mainPanel = new JPanel();\n mainPanel.setLayout(new BorderLayout());\n }", "title": "" }, { "docid": "5e587cfb83a066b87dd6a902146967f5", "score": "0.7577875", "text": "private void initMainPanel() {\n\t\tmainPanel = createEmptyWithGridBagLayoutPanel();\n\t\tmainPanel.setPreferredSize(new Dimension(width, BOX_PLOT_PANEL_HEIGHT));\n\t\tmainPanel.add(chartContainerPanel, setGrids(0, 0));\n\t}", "title": "" }, { "docid": "fac049586c38335b3203de9ec303eb33", "score": "0.75638133", "text": "public MainScreen() {\n\t\t\tthis.setLayout(new BorderLayout());\n\t\t\taddScrollPane();\n\t\t\tcreateSearchPanel();\n\t\t\tcreateBookingPanel();\n\t\t\tcreateContainerPanel();\n\t\t}", "title": "" }, { "docid": "3c6b14f70e3f551ecf5625403d23bf24", "score": "0.7527238", "text": "private JPanel createMainPanel() {\r\n \r\n JPanel mainPanel = new JPanel();\r\n mainPanel.setBackground(StimmzettelView.DEFAULTBACKGROUNDCOLOR);\r\n \r\n GridBagLayout gbl = new GridBagLayout();\r\n mainPanel.setLayout(gbl);\r\n\r\n GridBagConstraints gbc;\r\n \r\n final int insetsDefault = 2;\r\n final int insetsBigger = 10;\r\n \r\n JPanel contentPanel = createContentPanel();\r\n\r\n gbc = new GridBagConstraints();\r\n gbc.gridx = 0;\r\n gbc.gridy = 0;\r\n gbc.gridheight = 1;\r\n gbc.gridwidth = 1;\r\n gbc.ipadx = 0;\r\n gbc.ipady = 0;\r\n gbc.insets = new Insets(insetsDefault, //top\r\n insetsDefault, //left\r\n insetsBigger, //bottom\r\n insetsDefault); //right\r\n gbc.anchor = GridBagConstraints.CENTER;\r\n gbl.setConstraints(contentPanel, gbc);\r\n mainPanel.add(contentPanel);\r\n\r\n \r\n return mainPanel; \r\n }", "title": "" }, { "docid": "096fbf60be8c7f873434439c589ec388", "score": "0.7521265", "text": "private void buildMainPanel(HasWidgets container) {\n\t\t\n\t\tHorizontalPanel main = new HorizontalPanel();\n\t\t\n\t\t\n\t\tthis._viewContainer = new SimplePanel();\n\t\tmain.add(this._viewContainer);\n\t\t\n\t\tthis._mainMenu = new MainMenuPanel(this._eventBus);\n\t\tmain.add(this._mainMenu);\n\t\t\n\t\tcontainer.add(main);\n\t}", "title": "" }, { "docid": "94f59aac643f1c4f2d1b0acecae8c12d", "score": "0.7502458", "text": "private void createFrame()\r\n\t{\r\n\t\tJPanel panel = new JPanel();\r\n\t\tpanel.setLayout(new GridLayout(3,2));\r\n\t\t\r\n\t\t// Create each of the main panels\r\n\t\tpanel.add(createMapSizeComponents());\r\n\t\tpanel.add(createTileSizeComponents());\r\n\t\tpanel.add(createSheetSelectionComponents());\r\n\t\t\r\n\t\t// Add each of the panels\r\n\t\tadd(panel, BorderLayout.NORTH);\r\n\t\tadd(createColorPicker(), BorderLayout.CENTER);\r\n\t\tadd(createConfirmButtons(), BorderLayout.SOUTH);\r\n\t}", "title": "" }, { "docid": "5d29f13f3dae2bc2fddfe9c90c8f4f88", "score": "0.74962986", "text": "public MainPanel() {\n initComponents();\n dateAndTime();\n txt_logged.setText(\"Logged user : \"+NameTrack.name);\n Toolkit toolkit = getToolkit();\n Dimension size = toolkit.getScreenSize();\n setLocation(size.width/2 - getWidth()/2, size.height/2 - getHeight()/2);\n }", "title": "" }, { "docid": "036d96d1fd4582f989a5d3c246bad290", "score": "0.7479818", "text": "private void $$$setupUI$$$() {\n mainPanel = new JPanel();\n mainPanel.setLayout(new BorderLayout(0, 0));\n final JToolBar toolBar1 = new JToolBar();\n mainPanel.add(toolBar1, BorderLayout.NORTH);\n lastButton = new JButton();\n lastButton.setText(\"<\");\n toolBar1.add(lastButton);\n nextButton = new JButton();\n nextButton.setText(\">\");\n toolBar1.add(nextButton);\n clearHistoryButton = new JButton();\n clearHistoryButton.setText(\"Clear History\");\n toolBar1.add(clearHistoryButton);\n final JPanel panel1 = new JPanel();\n panel1.setLayout(new BorderLayout(0, 0));\n toolBar1.add(panel1);\n exportButton = new JButton();\n exportButton.setText(\"Export...\");\n toolBar1.add(exportButton);\n copyButton = new JButton();\n copyButton.setText(\"Copy\");\n toolBar1.add(copyButton);\n contentPanel = new JPanel();\n contentPanel.setLayout(new BorderLayout(0, 0));\n contentPanel.setEnabled(true);\n mainPanel.add(contentPanel, BorderLayout.CENTER);\n }", "title": "" }, { "docid": "3886211def939e592e83f0b4bbbf66a9", "score": "0.74746674", "text": "private void $$$setupUI$$$() {\n panelMain = new JPanel();\n panelMain.setLayout(new BorderLayout(0, 0));\n }", "title": "" }, { "docid": "67d738350ea7fac675e4ff2a4de011a0", "score": "0.74119526", "text": "private void mainPanel() {\n\t\t// Create the Panel\n\t\tmPanel = new JPanel();\n\t\tmPanel.setBorder(BorderFactory.createTitledBorder(\"Add an item to the list\"));\n\t\tmPanel.setSize(400, 415);\n\t\tFlowLayout layout = new FlowLayout();\n\t\tmPanel.setLayout(layout);\n\n\t\t// Create the text field to enter a list item\n\t\ttxtItem = new JTextField(21);\n\t\ttxtUserLogin = new JTextField(15);\n\n\t\t// Add the text field and a save button to the panel\n\t\tmPanel.add(lblUserLogin);\n\t\tmPanel.add(txtUserLogin);\n\t\tmPanel.add(btnOpenUserWindow);\n\t\tmPanel.add(lblItemDesc);\n\t\tmPanel.add(txtItem);\n\n\t\t// Create a list model and a list\n\t\tlistModel = new DefaultListModel();\n\t\tlist1 = new JList(listModel);\n\t\tlist1.setVisibleRowCount(15);\n\t\tJScrollPane scrollPane = new JScrollPane(list1);\n\t\tscrollPane.setVisible(true);\n\t\tscrollPane.setBorder(BorderFactory.createTitledBorder(\"To-Do List\"));\n\n\t\t// Creates a delete button\n\t\tdeleteButton = new JButton(\"Delete Item\");\n\n\t\t// Adds the list model, list, and delete button to the panel\n\t\tmPanel.add(scrollPane);\n\t\tmPanel.add(deleteButton);\n\t\tmPanel.add(btnMainSave);\n\t}", "title": "" }, { "docid": "17a2d7431e8b7b1cbb775aa7a9ba8dc6", "score": "0.7410119", "text": "public void addComponentsToPanels() {\n mainPanel.add(Box.createRigidArea(new Dimension(100, 0))); // Empty space between components\n mainPanel.add(titleLabel);\n mainPanel.add(Box.createRigidArea(new Dimension(50, 0))); // Empty space between components\n mainPanel.add(logoutButton);\n mainPanel.add(Box.createRigidArea(new Dimension(10, 0)));\n mainPanel.add(calendarButton);\n mainPanel.add(Box.createRigidArea(new Dimension(10, 0)));\n mainPanel.add(cPatientDoctorButton);\n mainPanel.add(Box.createRigidArea(new Dimension(10, 0)));\n mainPanel.add(bookingButton);\n mainPanel.add(Box.createRigidArea(new Dimension(10, 0)));\n mainPanel.add(patientButton);\n mainPanel.add(scrollPane);\n }", "title": "" }, { "docid": "b20f73722be8ccb516b9f9032f46a162", "score": "0.7314063", "text": "public MainPanel() {\n\tinitComponents();\n\tinitListener();\n\tinitCombobox();\n }", "title": "" }, { "docid": "134582f344a6951360eba628c140263b", "score": "0.72067636", "text": "private void setupControlPanel ()\r\n\t{\r\n\t\tm_controlPanel = new JPanel (new MigLayout (\"wrap 2, fillx\", \"[align center]\", \"\"));\r\n\t\tm_controlPanel.setBackground (UIConstants.GEOPOD_GREEN);\r\n\r\n\t\taddLimitRollControls ();\r\n\t\taddChartDomainControls ();\r\n\t\taddDebugControls ();\r\n\t\taddUserNameControls ();\r\n\t\taddFlightLogControls ();\r\n\t\taddClearFlightLogButton ();\r\n\t}", "title": "" }, { "docid": "e3e93ad415d02e2406962bd5552cfea2", "score": "0.7192713", "text": "private void createGUI() {\n this.setPreferredSize(new Dimension(width, height));\n this.setMinimumSize(new Dimension(700, 550));\n this.setVisible(true);\n this.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);\n //add keylistener to frame\n this.requestFocus();\n this.addKeyListener(this);\n\n JPanel container = new JPanel();\n BoxLayout bl = new BoxLayout(container, BoxLayout.Y_AXIS);\n container.setLayout(bl);\n container.setPreferredSize(new Dimension(width, height));\n\n if (showPanels) {\n container.setBackground(Color.gray);\n }\n\n container.add(createTop());\n container.add(createMain());\n\n this.getContentPane().add(container);\n this.pack();\n\n }", "title": "" }, { "docid": "3e324f083a34f93076fd189c604727db", "score": "0.71837175", "text": "void createMainButtonsPanel() {\r\n buttonsPanel = new JPanel(new GridBagLayout());\r\n\r\n // Restricciones para el panel de botones\r\n final GridBagConstraints consButtons = new GridBagConstraints();\r\n consButtons.fill = GridBagConstraints.NONE;\r\n consButtons.gridx = 0;\r\n consButtons.gridy = 0;\r\n consButtons.insets = new Insets(0, 10, 0, 10); // right padding\r\n consButtons.anchor = GridBagConstraints.CENTER;\r\n\r\n // OK button\r\n final JPanel okPanel = new JPanel();\r\n okButton = getButton(Messages.getString(\"PrincipalGUI.aceptar\"), KeyEvent.VK_A); //$NON-NLS-1$\r\n okButton.addKeyListener(new KeyListener() {\r\n\r\n\t\t\t@Override public void keyTyped(final KeyEvent arg0) { /* No necesario */ }\r\n\t\t\t@Override public void keyReleased(final KeyEvent arg0) { /* No necesario */ }\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void keyPressed(final KeyEvent ke) {\r\n\t\t\t\tif (ke.getKeyCode() == KeyEvent.VK_ENTER) {\r\n\t\t\t\t\tgetOkButton().doClick();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\r\n okPanel.add(okButton);\r\n buttonsPanel.add(okPanel, consButtons);\r\n\r\n okButton.addActionListener(this);\r\n\r\n }", "title": "" }, { "docid": "dda5b2e46c222fbc8abc608bb3998047", "score": "0.71721375", "text": "public JPanel getMainPanel() {\n\t\tmainPanel = new JPanel();\n\t\tmainPanel.setLayout(new FlowLayout());\n\t\tstartBtn = new JButton(\"Start\");\n\t\tstopBtn = new JButton(\"Stop\");\n\t\tstartBtn.addActionListener(this);\n\t\tstopBtn.addActionListener(this);\n\t\tmainPanel.add(startBtn);\n\t\tmainPanel.add(stopBtn);\n\t\tmainPanel.setBackground(Color.black);\n\t\treturn mainPanel;\n\t}", "title": "" }, { "docid": "e82481b56be3231fc2da5c8aedfcea82", "score": "0.7168317", "text": "private void prepareMainPanel()\r\n\t{\r\n\t\tthis.setLayout(new GridLayout(0,2)); // Infinite rows 2 columns\r\n\t\t\r\n\t\t// This contains all components that are not the form preview\r\n\t\tentryContainerPanel.setLayout(new BoxLayout(entryContainerPanel, BoxLayout.PAGE_AXIS)); // Vertical box layout\r\n\r\n\t\tprepareEditPanel();\r\n\t\t\r\n\t\tentryContainerPanel.add(editFormPanel);\r\n\t\t\r\n\t\tprepareInformationPanel();\r\n\t\t\r\n\t\tentryContainerPanel.add(formInformationPanel);\r\n\t\t\r\n\t\tprepareQuestionSelectionPanel();\r\n\t\t\r\n\t\tentryContainerPanel.add(selectionPanel);\r\n\t\t\r\n\t\tprepareButtonPanel();\r\n\t\t\r\n\t\tentryContainerPanel.add(buttonPanel);\r\n\t\t\r\n\t\tprepareFormPreview();\r\n\r\n\t\t\r\n\t\tthis.add(entryContainerPanel);\r\n\t\tthis.add(formPreviewScroller);\r\n\t\t\r\n\t\tthis.setVisible(true);\r\n\t}", "title": "" }, { "docid": "edc1c9265670141f7cefd45270e35067", "score": "0.7133721", "text": "private JPanel createMainPanel() {\n\t\tJPanel mainPanel = new JPanel();\n//\t\tFlowLayout fl = new FlowLayout();\n\t\tGridBagLayout gbl = new GridBagLayout();\n\t\tGridBagConstraints gbc = new GridBagConstraints();\n\n\t\tmainPanel.setLayout(gbl);\n//\t\tmainPanel.setLayout(fl);\n\n\t\tboolean visualComponentExists = false;\n\n\t\t// if the visual component exists, add it to the newly created panel.\n\t\tif (player.getVisualComponent() != null) {\n\t\t\tvisualComponentExists = true;\n\t\t\tgbc.gridx = 0;\n\t\t\tgbc.gridy = 0;\n//\t\t\tgbc.weightx = 1;\n//\t\t\tgbc.weighty = 1;\n\t\t\tgbc.weightx = 1;\n\t\t\tgbc.weighty = 1;\n\t\t\tgbc.fill = GridBagConstraints.BOTH;\n\t\t\tmainPanel.add(player.getVisualComponent(), gbc);\n//\t\t\tmainPanel.add(player.getVisualComponent());\n\t\t} else {\n\t\t\tSystem.out.println(\"No Visual Component\");\n\n\t\t}\n\n\t\t// if the gain control component exists, add it to the new panel.\n\t\tif ((player.getGainControl() != null) && (player.getGainControl().getControlComponent() != null)) {\n\t\t\tgbc.gridx = 1;\n\t\t\tgbc.gridy = 0;\n\t\t\tgbc.weightx = 0;\n\t\t\tgbc.weighty = 1;\n\t\t\tgbc.gridheight = 2;\n\t\t\tgbc.fill = GridBagConstraints.VERTICAL;\n\t\t\tmainPanel.add(player.getGainControl().getControlComponent(), gbc);\n//\t\t\tmainPanel.add(player.getGainControl().getControlComponent());\n\t\t} else {\n\t\t\tSystem.out.println(\"No Gain Control\");\n\t\t}\n\n\t\t// Add the control panel component if it exists (it should exists in\n\t\t// all cases.)\n\t\tif (player.getControlPanelComponent() != null) {\n\t\t\tgbc.gridx = 0;\n\t\t\tgbc.gridy = 1;\n\t\t\tgbc.weightx = 1;\n\t\t\tgbc.gridheight = 1;\n\n\t\t\tif (visualComponentExists) {\n\t\t\t\tgbc.fill = GridBagConstraints.BOTH;\n\t\t\t\tgbc.weighty = 0.05;\n\t\t\t} else {\n\t\t\t\tgbc.fill = GridBagConstraints.BOTH;\n\t\t\t\tgbc.weighty = 1;\n\t\t\t}\n\n\t\t\tmainPanel.add(player.getControlPanelComponent(), gbc);\n//\t\t\tmainPanel.add(player.getControlPanelComponent());\n\t\t} else {\n\t\t\tSystem.out.println(\"No Control Panel\");\n\t\t}\n\n\t\treturn mainPanel;\n\t}", "title": "" }, { "docid": "22015b5f29aa79c5211e3a45e265bd0e", "score": "0.7126232", "text": "public Panel createPanel() {\n panel.setContent(panelContent);\n panelContent.addComponent(createInfo());\n panelContent.addComponent(resultsTab);\n\n panelContent.setMargin(true);\n panelContent.setSpacing(true);\n\n\n return panel;\n }", "title": "" }, { "docid": "27a8e5c7fb522b1a68d060d39056c02a", "score": "0.712588", "text": "private JComponent mainScreen() {\n \t\tSpringLayout guiLayout = new SpringLayout();\t\n \t\tmainPanel = new JPanel(guiLayout);\n \t\tthis.setLayout(guiLayout);\n \n \t\tgetContentPane().add(mainButtons());\t\t\n \t\tgetContentPane().add(titleComponent());\n \t\tgetContentPane().add(quitButton());\n \t\tgetContentPane().add(themeMaker); // Set the default theme as Golden ruins\n \n \t\t// Layout the components in the frame\n \t\tguiLayout.putConstraint(SpringLayout.WEST, themeMaker, 0, SpringLayout.WEST, getContentPane());\n \t\tguiLayout.putConstraint(SpringLayout.NORTH, themeMaker, 0, SpringLayout.NORTH, getContentPane());\n \n \t\tguiLayout.putConstraint(SpringLayout.WEST, titlePanel, 50, SpringLayout.WEST, getContentPane());\n \t\tguiLayout.putConstraint(SpringLayout.NORTH, titlePanel, 30, SpringLayout.NORTH, getContentPane());\n \n \t\tguiLayout.putConstraint(SpringLayout.WEST, mainButtonsPanel, 60, SpringLayout.WEST, getContentPane());\n \t\tguiLayout.putConstraint(SpringLayout.NORTH, mainButtonsPanel, 150, SpringLayout.NORTH, getContentPane());\n \n \t\treturn mainPanel;\n \t}", "title": "" }, { "docid": "e7f9e690059afdaf607b6b6b2cc4abc9", "score": "0.71141404", "text": "protected void createContents() {\n\t\tsetText(\"Hoạt động người dùng\");\n\t\tsetSize(670, 415);\n\t\tnew FormTemplate().setCenterScreen(getShell());\n\t}", "title": "" }, { "docid": "28baaa91507b093600e1e2bd07c02d3d", "score": "0.7105693", "text": "public void createView() {\r\n\t\tthis.main = new LayoutPanel();\r\n\t\tthis.main.setStyleName(\"tinyMceContainer\");\r\n\t\tthis.displayEditor(\"\"); // first initialization\r\n\t\tthis.initWidget(main);\r\n\t\t//System.out.println(\"TinyMCEPanel createView\");\r\n\t}", "title": "" }, { "docid": "50782ff6aa5b019773250d4fd1f9953b", "score": "0.7104997", "text": "private JPanel getPnlGenerateMain() {\r\n\t\tif (pnlGenerateMain == null) {\r\n\t\t\tGridBagConstraints gridBagConstraints27 = new GridBagConstraints();\r\n\t\t\tgridBagConstraints27.fill = GridBagConstraints.BOTH;\r\n\t\t\tgridBagConstraints27.weighty = 0.1;\r\n\t\t\tgridBagConstraints27.weightx = 0.1;\r\n\t\t\tGridBagConstraints gridBagConstraints26 = new GridBagConstraints();\r\n\t\t\tgridBagConstraints26.fill = GridBagConstraints.BOTH;\r\n\t\t\tgridBagConstraints26.weighty = 0.1;\r\n\t\t\tgridBagConstraints26.weightx = 0.1;\r\n\t\t\tGridBagConstraints gridBagConstraints25 = new GridBagConstraints();\r\n\t\t\tgridBagConstraints25.gridx = 0;\r\n\t\t\tgridBagConstraints25.anchor = GridBagConstraints.EAST;\r\n\t\t\tgridBagConstraints25.gridwidth = 2;\r\n\t\t\tgridBagConstraints25.gridy = 1;\r\n\t\t\tpnlGenerateMain = new JPanel();\r\n\t\t\tpnlGenerateMain.setLayout(new GridBagLayout());\r\n\t\t\tpnlGenerateMain.add(getPnlGenerateButtons(), gridBagConstraints25);\r\n\t\t\tpnlGenerateMain.add(getPnlGenerateLang(), gridBagConstraints26);\r\n\t\t\tpnlGenerateMain.add(getPnlGenerateParts(), gridBagConstraints27);\r\n\t\t}\r\n\t\treturn pnlGenerateMain;\r\n\t}", "title": "" }, { "docid": "4464895934515835f14ba8bd4e4e0849", "score": "0.70889056", "text": "private void initializePanel() \n\t{\n\t\tcontentPane = new JPanel();\n\t\tcontentPane.setBorder(new EmptyBorder(5, 5, 5, 5) );\n\t\tsetContentPane(contentPane);\n\t\tcontentPane.setLayout(null);\t\n\t\t\n\t\t// Panel that contains the content of Administrative panel\n\t\tJPanel administrativePanel = new JPanel();\n\t\tadministrativePanel.setBorder(new TitledBorder(UIManager\n\t\t\t\t\t\t\t\t\t .getBorder(\"TitledBorder.border\"), \"Administrativo\",\n\t\t\t\t\t\t\t\t\t TitledBorder.CENTER, TitledBorder.TOP, null, null) );\n\t\tadministrativePanel.setBounds(10, 11, 379, 183);\n\t\tcontentPane.add(administrativePanel);\n\t\tadministrativePanel.setLayout(null);\n\t\t\n\t\t// This method initialize the buttons\n\t\tinitializeButtons(administrativePanel);\n\t\t\n\t}", "title": "" }, { "docid": "663becace84a68af8fbebf3ebead6b38", "score": "0.7080955", "text": "public CreateAllPanel() {\n initComponents();\n }", "title": "" }, { "docid": "dd574107c677ada3ddcb0008e718e83c", "score": "0.70804125", "text": "private void $$$setupUI$$$() {\n mainPanel = new JPanel();\n mainPanel.setLayout(new GridLayoutManager(3, 1, new Insets(0, 0, 0, 0), -1, -1));\n pnlLanguageIdentification = new JPanel();\n pnlLanguageIdentification.setLayout(new GridLayoutManager(5, 2, new Insets(0, 0, 0, 0), -1, -1));\n pnlLanguageIdentification.putClientProperty(\"BorderFactoryClass\", \"com.intellij.ui.IdeBorderFactory$PlainSmallWithIndent\");\n mainPanel.add(pnlLanguageIdentification, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));\n pnlLanguageIdentification.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(), \"Language identification\"));\n final JLabel label1 = new JLabel();\n label1.setText(\"Name:\");\n pnlLanguageIdentification.add(label1, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n final JLabel label2 = new JLabel();\n label2.setText(\"Identifier:\");\n pnlLanguageIdentification.add(label2, new GridConstraints(3, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n final JLabel label3 = new JLabel();\n label3.setText(\"Version:\");\n pnlLanguageIdentification.add(label3, new GridConstraints(4, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n final JLabel label4 = new JLabel();\n label4.setText(\"Extensions:\");\n pnlLanguageIdentification.add(label4, new GridConstraints(1, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n final JLabel label5 = new JLabel();\n label5.setText(\"Group identifier:\");\n pnlLanguageIdentification.add(label5, new GridConstraints(2, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n txtName = new JTextField();\n pnlLanguageIdentification.add(txtName, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));\n txtExtensions = new JTextField();\n pnlLanguageIdentification.add(txtExtensions, new GridConstraints(1, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));\n txtGroupID = new JTextField();\n pnlLanguageIdentification.add(txtGroupID, new GridConstraints(2, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));\n txtID = new JTextField();\n pnlLanguageIdentification.add(txtID, new GridConstraints(3, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));\n txtVersion = new JTextField();\n pnlLanguageIdentification.add(txtVersion, new GridConstraints(4, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));\n pnlLanguageOptions = new JPanel();\n pnlLanguageOptions.setLayout(new GridLayoutManager(1, 1, new Insets(0, 0, 0, 0), -1, -1));\n pnlLanguageOptions.putClientProperty(\"BorderFactoryClass\", \"com.intellij.ui.IdeBorderFactory$PlainSmallWithIndent\");\n mainPanel.add(pnlLanguageOptions, new GridConstraints(1, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));\n pnlLanguageOptions.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(), \"Language options\"));\n final Spacer spacer1 = new Spacer();\n mainPanel.add(spacer1, new GridConstraints(2, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_VERTICAL, 1, GridConstraints.SIZEPOLICY_WANT_GROW, null, null, null, 0, false));\n }", "title": "" }, { "docid": "c404fb05b1d39d8d139df194fdfb2334", "score": "0.7072582", "text": "public UserMainPanel() {\n initComponents();\n }", "title": "" }, { "docid": "b606bb0e1f33c4f54d13dbe54c889a7c", "score": "0.70673317", "text": "private void buildUI()\n {\n JPanel mainPanel = new JPanel(new BorderLayout());\n mainPanel.setBorder(new EmptyBorder(10,10,10,10));\n JPanel controlPanel = new JPanel(new FlowLayout());\n controlPanel.setBorder(new EtchedBorder());\n\n\n clearButton = new JButton(\"Clear\");\n clearButton.addActionListener(this);\n controlPanel.add(clearButton);\n\n exitButton = new JButton(\"Exit\");\n exitButton.addActionListener(this);\n controlPanel.add(exitButton);\n\n /*Add draw all button*/\n drawAllButton = new JButton(\"Draw All\");\n drawAllButton.addActionListener(this);\n controlPanel.add(drawAllButton);\n mainPanel.add(controlPanel, BorderLayout.NORTH);\n\n \n drawCanvas = new DrawingCanvas(400,400);\n drawCanvas.setBorder(new EtchedBorder());\n drawCanvas.setBackground(Color.white);\n mainPanel.add(drawCanvas, BorderLayout.CENTER);\n getContentPane().add(mainPanel, BorderLayout.CENTER);\n\n /*Add mouse event listener for click detection*/\n drawCanvas.addMouseListener(this);\n }", "title": "" }, { "docid": "bfaf7083dcadb79d9ff55bfcae438a0f", "score": "0.70572585", "text": "public MainAPP() {\n initComponents();\n \n //Inicializar Tracción Form\n deptPanel = new DepartmentPanel();\n deptPanel.setSize(getContentPane().getSize());\n getContentPane().add(deptPanel);\n deptPanel.setVisible(false);\n \n pack();\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "812875bdb37e168d3cadc90bb02dfed8", "score": "0.70532566", "text": "private void creaPanelContenedor() {\n\t\tPanel_contenedor = new JPanel();\n\t\tPanel_central.add(Panel_contenedor);\n\t\tPanel_contenedor.setLayout(new FlowLayout(FlowLayout.CENTER, 5, 5));\n\t\tPanel_contenedor.setBackground(Color.decode(\"#2A9D8F\"));\t\t\n\t}", "title": "" }, { "docid": "4b90baaed9c21652b0ff2285b83ea1e3", "score": "0.7050674", "text": "private void createPanels() {\n frame = new JFrame();\n frame.setLayout(new GridLayout(4,1));\n titleP = new JPanel(new BorderLayout());\n dataP = new JPanel(new GridLayout(2,1));\n userP = new JPanel(new FlowLayout());\n buttonP = new JPanel(new FlowLayout());\n passP = new JPanel(new FlowLayout());\n warningP = new JPanel(new FlowLayout());\n }", "title": "" }, { "docid": "d080fcd1135ac7ef61d9ea196404f312", "score": "0.7048149", "text": "public MainControls(MainPanel mainPanel){\n this.mainPanel = mainPanel;\n \n mainPanel.screen.setToLoading();\n setBackground(Color.gray);\n \n this.guiComponents = new ArrayList<Graphic>();\n this.numComponents = 0;\n \n //mouse listener:\n addMouseListener(new MouseListener(){\n @Override\n public void mouseClicked(MouseEvent e){}\n @Override\n public void mouseEntered(MouseEvent e){}\n @Override\n public void mouseExited(MouseEvent e){}\n @Override\n public void mousePressed(MouseEvent e){\n checkMousePressed(e);\n }\n @Override\n public void mouseReleased(MouseEvent e){\n checkMouseReleased(e);\n }\n });\n \n //mouse movement listener:\n addMouseMotionListener(new MouseMotionListener(){\n @Override\n public void mouseDragged(MouseEvent e){\n checkMouseDragged(e);\n }\n @Override\n public void mouseMoved(MouseEvent e){\n checkMouseMoved(e);\n }\n });\n \n //setup UI:\n setup();\n }", "title": "" }, { "docid": "316d610157320a262b7595eeecddd59b", "score": "0.70455897", "text": "private void createPanel()\n\t{\n\t\treportPanel = new JPanel();\n\t\treportPanel.setLayout(new GridLayout(reportNameLabels.length, 2, 10, 10));\n\t}", "title": "" }, { "docid": "8f5845244154f736c5bd8804d1e9fb9d", "score": "0.7038672", "text": "public void createControlPanel() {\r\n control_panel = new ControllerPanel(client, this);\r\n }", "title": "" }, { "docid": "e81ef5047b08fbdffb6a13f9958b8b89", "score": "0.7022256", "text": "private void createMain() {\r\n\t\tfinal Group g = new Group(this, SWT.NONE);\r\n\t\tfinal GridLayout gl = new GridLayout(2, false);\r\n //gl.horizontalSpacing = HORIZONTAL_SPACING;\r\n\t\tg.setText(Messages.HEComposite_Scheme);\r\n g.setLayout(gl);\r\n g.setLayoutData(new GridData(SWT.LEFT, SWT.TOP, true, true));\r\n this.createButtonArea(g);\r\n this.createAlgoArea(g);\r\n\t}", "title": "" }, { "docid": "27324666359e744f75b02545c6ca86d2", "score": "0.7010226", "text": "private void $$$setupUI$$$() {\n mainPanel = new JPanel();\n mainPanel.setLayout(new com.intellij.uiDesigner.core.GridLayoutManager(2, 2, new Insets(10, 10, 10, 10), -1, -1));\n mainPanel.setBackground(new Color(-1));\n mainPanel.setEnabled(true);\n dataPanel = new DataPanel();\n mainPanel.add(dataPanel.$$$getRootComponent$$$(), new com.intellij.uiDesigner.core.GridConstraints(0, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_BOTH, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n graphPanel = new AdditionalPanel();\n mainPanel.add(graphPanel.$$$getRootComponent$$$(), new com.intellij.uiDesigner.core.GridConstraints(1, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_BOTH, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));\n rightPanel = new JPanel();\n rightPanel.setLayout(new com.intellij.uiDesigner.core.GridLayoutManager(15, 1, new Insets(0, 0, 0, 0), -1, -1));\n mainPanel.add(rightPanel, new com.intellij.uiDesigner.core.GridConstraints(0, 1, 2, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_BOTH, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));\n startTestButton = new JButton();\n startTestButton.setBackground(new Color(-13391104));\n startTestButton.setEnabled(false);\n startTestButton.setForeground(new Color(-16777216));\n startTestButton.setText(\"Начать испытание\");\n rightPanel.add(startTestButton, new com.intellij.uiDesigner.core.GridConstraints(0, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_HORIZONTAL, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n stopTestButton = new JButton();\n stopTestButton.setBackground(new Color(-5167828));\n stopTestButton.setEnabled(false);\n stopTestButton.setForeground(new Color(-16777216));\n stopTestButton.setText(\"Завершить испытание\");\n rightPanel.add(stopTestButton, new com.intellij.uiDesigner.core.GridConstraints(2, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_HORIZONTAL, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n final com.intellij.uiDesigner.core.Spacer spacer1 = new com.intellij.uiDesigner.core.Spacer();\n rightPanel.add(spacer1, new com.intellij.uiDesigner.core.GridConstraints(1, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_VERTICAL, 1, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, new Dimension(-1, 10), new Dimension(-1, 10), new Dimension(-1, 10), 0, false));\n final com.intellij.uiDesigner.core.Spacer spacer2 = new com.intellij.uiDesigner.core.Spacer();\n rightPanel.add(spacer2, new com.intellij.uiDesigner.core.GridConstraints(3, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_VERTICAL, 1, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_WANT_GROW, null, null, null, 0, false));\n statusLabel = new JLabel();\n statusLabel.setText(\"\");\n rightPanel.add(statusLabel, new com.intellij.uiDesigner.core.GridConstraints(6, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_NONE, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n final JLabel label1 = new JLabel();\n label1.setText(\"Измереное значение\");\n rightPanel.add(label1, new com.intellij.uiDesigner.core.GridConstraints(13, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_NONE, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n final com.intellij.uiDesigner.core.Spacer spacer3 = new com.intellij.uiDesigner.core.Spacer();\n rightPanel.add(spacer3, new com.intellij.uiDesigner.core.GridConstraints(12, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_VERTICAL, 1, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_WANT_GROW, null, null, null, 0, false));\n final JPanel panel1 = new JPanel();\n panel1.setLayout(new com.intellij.uiDesigner.core.GridLayoutManager(1, 3, new Insets(0, 5, 0, 5), -1, -1, true, false));\n rightPanel.add(panel1, new com.intellij.uiDesigner.core.GridConstraints(14, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_BOTH, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));\n panel1.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(), null));\n final JLabel label2 = new JLabel();\n label2.setText(\"Проводимость\");\n panel1.add(label2, new com.intellij.uiDesigner.core.GridConstraints(0, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_WEST, com.intellij.uiDesigner.core.GridConstraints.FILL_NONE, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n firstChanel = new JLabel();\n firstChanel.setText(\"\");\n panel1.add(firstChanel, new com.intellij.uiDesigner.core.GridConstraints(0, 1, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_NONE, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n final JLabel label3 = new JLabel();\n label3.setText(\"о.е.\");\n panel1.add(label3, new com.intellij.uiDesigner.core.GridConstraints(0, 2, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_EAST, com.intellij.uiDesigner.core.GridConstraints.FILL_NONE, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n connectToCOMButton = new JButton();\n connectToCOMButton.setText(\"Подключиться\");\n rightPanel.add(connectToCOMButton, new com.intellij.uiDesigner.core.GridConstraints(8, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_HORIZONTAL, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n disconnectToCOMButton = new JButton();\n disconnectToCOMButton.setEnabled(true);\n disconnectToCOMButton.setText(\"Отключиться\");\n disconnectToCOMButton.setVisible(false);\n rightPanel.add(disconnectToCOMButton, new com.intellij.uiDesigner.core.GridConstraints(9, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_HORIZONTAL, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n final com.intellij.uiDesigner.core.Spacer spacer4 = new com.intellij.uiDesigner.core.Spacer();\n rightPanel.add(spacer4, new com.intellij.uiDesigner.core.GridConstraints(7, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_VERTICAL, 1, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_WANT_GROW, null, null, null, 0, false));\n COMStatus = new JLabel();\n COMStatus.setText(\"COM: отключено\");\n rightPanel.add(COMStatus, new com.intellij.uiDesigner.core.GridConstraints(11, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_NONE, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n final com.intellij.uiDesigner.core.Spacer spacer5 = new com.intellij.uiDesigner.core.Spacer();\n rightPanel.add(spacer5, new com.intellij.uiDesigner.core.GridConstraints(10, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_VERTICAL, 1, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_WANT_GROW, null, null, null, 0, false));\n deleteLastBar = new JButton();\n deleteLastBar.setBackground(new Color(-34795));\n deleteLastBar.setEnabled(false);\n deleteLastBar.setText(\"Удалить последнее значение\");\n rightPanel.add(deleteLastBar, new com.intellij.uiDesigner.core.GridConstraints(4, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_HORIZONTAL, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n final com.intellij.uiDesigner.core.Spacer spacer6 = new com.intellij.uiDesigner.core.Spacer();\n rightPanel.add(spacer6, new com.intellij.uiDesigner.core.GridConstraints(5, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_VERTICAL, 1, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_WANT_GROW, null, null, null, 0, false));\n }", "title": "" }, { "docid": "c20f2e2439478370d105294c2d4adce1", "score": "0.7007643", "text": "public GUI() {\r\n\t\t// Create the colour mapper\r\n\t\tColourMapper mapper = new ColourMapper();\r\n\r\n\t\t// Create the root panel\r\n\t\tJPanel rootContainer = new JPanel();\r\n\t\trootContainer.setLayout(new BoxLayout(rootContainer, BoxLayout.Y_AXIS));\r\n\r\n\t\t// Add the top settings panel\r\n\t\tsettingsPanel = new SettingsPanel();\r\n\t\tsettingsPanel.setMaximumSize(settingsPanel.getMinimumSize());\r\n\t\trootContainer.add(settingsPanel);\r\n\r\n\t\tJPanel bottomContainer = new JPanel();\r\n\t\tbottomContainer.setLayout(new BoxLayout(bottomContainer, BoxLayout.X_AXIS));\r\n\r\n\t\trootContainer.add(bottomContainer);\r\n\r\n\t\t// Create the command list pane\r\n\t\tleftPanel = new LeftPanel(this, mapper);\r\n\t\tbottomContainer.add(leftPanel);\r\n\r\n\t\t// Create the buttons pane\r\n\t\trightPanel = new RightPanel(this, mapper);\r\n\t\tbottomContainer.add(rightPanel);\r\n\r\n\t\t// Add the root container to the JFrame\r\n\t\tadd(rootContainer);\r\n\r\n\t\t// Recalculate the button statuses\r\n\t\tleftPanel.recalculateButtonStatus();\r\n\t}", "title": "" }, { "docid": "9ee010ed774609050c1e627ea47f6059", "score": "0.700129", "text": "private void setupPanel()\n\t{\n\t\tthis.setLayout(baseLayout);\n\t\tthis.setBackground(aColor);\n\t\tthis.add(textPane3);\n\t\tthis.add(textPane2);\n\t\tthis.add(textPane);\n\t\tthis.setSize(1000, 600);\n\t\tthis.add(sortIntButton);\n\t\tthis.add(sortABCButton);\n\t\tthis.add(sortDoubleButton);\n\t\tthis.add(sortGuiButton);\n\t\tthis.add(sortArrayButton);\n\t\tthis.add(searchButton);\n\t\tthis.add(quickButton);\n\t\tthis.add(inputField);\n\t\tthis.add(unsortedLabel);\n\t\tthis.add(sortedLabel);\n\t\tthis.add(timeLabel);\n\t\ttextPane.setBackground(Color.LIGHT_GRAY);\n\t\ttextPane2.setBackground(Color.LIGHT_GRAY);\n\t\ttextPane3.setBackground(Color.LIGHT_GRAY);\n\t\tunsortedLabel.setForeground(Color.YELLOW);\n\t\tsortedLabel.setForeground(Color.YELLOW);\n\t\ttimeLabel.setForeground(Color.YELLOW);\n\n\t\tinputField.setBackground(Color.WHITE);\n\n\t}", "title": "" }, { "docid": "09a2ed4946f4b8ce6022509c2648cd92", "score": "0.70006377", "text": "private JPanel getMainPanel() {\n\t\tif (mainPanel == null) {\n\t\t\tmainPanel = new JPanel();\n\t\t\tmainPanel.setLayout(new BorderLayout());\n\t\t\tmainPanel.add(getContentPanel(), BorderLayout.CENTER);\n\t\t\tmainPanel.add(getConfirmPanel(), BorderLayout.SOUTH);\n\t\t}\n\t\treturn mainPanel;\n\t}", "title": "" }, { "docid": "105eddda57742f7d53f68f6c2f7d687f", "score": "0.7000178", "text": "@Override\r\n public JPanel getPanel() {\r\n return mainPanel;\r\n }", "title": "" }, { "docid": "9d3e53dfe208bfd41db60710fcdfc992", "score": "0.69924784", "text": "public DisplayFrame(){\n this.setSize(600, 530); //The window Dimensions\n\n javax.swing.JPanel panel = new javax.swing.JPanel();\n panel.setLayout(new BorderLayout());\n MainMenu sketch = new MainMenu();\n panel.add(sketch);\n this.add(panel);\n\n sketch.init(); //this is the function used to start the execution of the sketch\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n this.setResizable(false);\n this.setVisible(true);\n }", "title": "" }, { "docid": "119d5cfb6a71ae79ac69479f020b955c", "score": "0.6989588", "text": "private void createMainLayout(JComponent... arg){\n JPanel panel = new JPanel();\n GridLayout gl = new GridLayout(1, 1);\n panel.setLayout(gl);\n panel.add(arg[0]);\n this.getContentPane().add(panel);\n }", "title": "" }, { "docid": "139f8c31acda052732b11c669e59e5bb", "score": "0.69846755", "text": "private void createGUI(){\n \t\tthis.setTitle(\"Monopoly\");\r\n \t\tthis.setSize(new Dimension(660, 660));\r\n \t\tthis.setLocation(510, 5);\r\n \t\tthis.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n \t\t\r\n \t\t// Set up the menu bar\r\n \t\tnewMItem.addActionListener(this);\r\n \t\tgameMenu.add(newMItem);\r\n \t\texitMItem.addActionListener(this);\r\n \t\tgameMenu.add(exitMItem);\r\n \t\tmenuBar.add(gameMenu);\r\n \t\tthis.setJMenuBar(menuBar);\r\n \t\t\r\n \t\t// Main layout & panels\r\n \t\tJPanel panelMain = new JPanel();\r\n \t\tpanelMain.setSize(new Dimension(660, 660));\r\n \t\t\r\n \t\tJPanel panelNorth = new JPanel();\r\n \t\tJPanel panelEast = new JPanel();\r\n \t\tJPanel panelSouth = new JPanel();\r\n \t\tJPanel panelWest = new JPanel();\r\n \t\tJPanel panelCenter = new JPanel();\r\n \t\tpanelNorth.setLayout(northGLayout);\r\n \t\tpanelNorth.setSize(new Dimension(60, 660));\r\n \t\tpanelEast.setLayout(eastGLayout);\r\n \t\tpanelEast.setSize(new Dimension(660, 60));\r\n \t\tpanelSouth.setLayout(southGLayout);\r\n \t\tpanelSouth.setSize(new Dimension(60, 660));\r\n \t\tpanelWest.setLayout(westGLayout);\r\n \t\tpanelWest.setSize(new Dimension(660, 60));\r\n \t\tpanelCenter.setSize(new Dimension(540, 540));\r\n \t\tpanelCenter.add(new JLabel(new ImageIcon(\"../Monopoly/res/center2.png\")));\r\n \t\t\r\n \t\tthis.getContentPane().add(panelNorth, BorderLayout.NORTH);\r\n \t\tthis.getContentPane().add(panelEast, BorderLayout.EAST);\r\n \t\tthis.getContentPane().add(panelSouth, BorderLayout.SOUTH);\r\n \t\tthis.getContentPane().add(panelWest, BorderLayout.WEST);\r\n \t\tthis.getContentPane().add(panelCenter, BorderLayout.CENTER);\r\n \t\t\r\n \t\t// Cases panels\r\n \t\tfor(int i = 0; i < p.getPlateau().size(); i++){\r\n \t\t\tcases.add(new CasePanel(i));\r\n \t\t}\r\n \t\t\r\n \t\t// Ajout des 40 cases l'interface graphique\r\n \t\tfor(int i = 10; i >= 0; i--)\r\n \t\t\tpanelSouth.add(cases.get(i));\r\n \t\t\r\n \t\tfor(int i = 19; i >= 11; i--)\r\n \t\t\tpanelWest.add(cases.get(i));\r\n \t\t\r\n \t\tfor(int i = 20; i <= 30; i++)\r\n \t\t\tpanelNorth.add(cases.get(i));\r\n \t\t\r\n \t\tfor(int i = 31; i <= 39; i++)\r\n \t\t\tpanelEast.add(cases.get(i));\r\n \t\t\r\n \t\tthis.setVisible(true);\r\n \t}", "title": "" }, { "docid": "3d77d973048d5640409759b27dce2db6", "score": "0.6978017", "text": "private void $$$setupUI$$$() {\n mainPanel = new JPanel();\n mainPanel.setLayout(new GridLayoutManager(5, 2, new Insets(5, 5, 5, 5), -1, -1));\n topbar = new JToolBar();\n mainPanel.add(topbar, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(-1, 20), null, 0, false));\n saveButton = new JButton();\n saveButton.setText(\"Save\");\n topbar.add(saveButton);\n openButton = new JButton();\n openButton.setText(\"Open\");\n topbar.add(openButton);\n resetButton = new JButton();\n resetButton.setText(\"Reset\");\n topbar.add(resetButton);\n deleteButton = new JButton();\n deleteButton.setText(\"Delete\");\n topbar.add(deleteButton);\n final JToolBar.Separator toolBar$Separator1 = new JToolBar.Separator();\n topbar.add(toolBar$Separator1);\n downloadOriginalButton = new JButton();\n downloadOriginalButton.setText(\"Download Original\");\n topbar.add(downloadOriginalButton);\n final JToolBar.Separator toolBar$Separator2 = new JToolBar.Separator();\n topbar.add(toolBar$Separator2);\n findReplaceButton = new JButton();\n findReplaceButton.setText(\"Find/Replace\");\n topbar.add(findReplaceButton);\n undoButton = new JButton();\n undoButton.setText(\"Undo\");\n topbar.add(undoButton);\n redoButton = new JButton();\n redoButton.setText(\"Redo\");\n topbar.add(redoButton);\n final JToolBar.Separator toolBar$Separator3 = new JToolBar.Separator();\n topbar.add(toolBar$Separator3);\n historyButton = new JButton();\n historyButton.setText(\"History\");\n topbar.add(historyButton);\n metadataButton = new JButton();\n metadataButton.setText(\"Metadata\");\n topbar.add(metadataButton);\n final JToolBar.Separator toolBar$Separator4 = new JToolBar.Separator();\n topbar.add(toolBar$Separator4);\n final JToolBar.Separator toolBar$Separator5 = new JToolBar.Separator();\n topbar.add(toolBar$Separator5);\n showProcessMonitorButton = new JButton();\n showProcessMonitorButton.setText(\"Show Process Monitor\");\n topbar.add(showProcessMonitorButton);\n playgroundScrollPane = new JScrollPane();\n mainPanel.add(playgroundScrollPane, new GridConstraints(3, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_WANT_GROW, null, new Dimension(1200, -1), null, 0, false));\n playground = new JTextPane();\n playground.setEditable(false);\n playgroundScrollPane.setViewportView(playground);\n final JPanel panel1 = new JPanel();\n panel1.setLayout(new GridLayoutManager(5, 2, new Insets(0, 0, 0, 0), -1, -1));\n mainPanel.add(panel1, new GridConstraints(0, 1, 4, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));\n final JLabel label1 = new JLabel();\n label1.setText(\"Annotation Tag:\");\n panel1.add(label1, new GridConstraints(0, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(405, 16), null, 0, false));\n final JLabel label2 = new JLabel();\n label2.setText(\"Document Categories:\");\n panel1.add(label2, new GridConstraints(2, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(405, 16), null, 0, false));\n final JScrollPane scrollPane1 = new JScrollPane();\n panel1.add(scrollPane1, new GridConstraints(3, 0, 1, 2, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_WANT_GROW, null, new Dimension(405, 128), null, 0, false));\n doccat = new JList();\n scrollPane1.setViewportView(doccat);\n final JScrollPane scrollPane2 = new JScrollPane();\n panel1.add(scrollPane2, new GridConstraints(1, 0, 1, 2, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_WANT_GROW, null, new Dimension(405, 360), null, 0, false));\n typeTree = new JTree();\n scrollPane2.setViewportView(typeTree);\n includeInNERTrainingCheckBox = new JCheckBox();\n includeInNERTrainingCheckBox.setText(\"Include in NER Model Training\");\n panel1.add(includeInNERTrainingCheckBox, new GridConstraints(4, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n includeInNERTestingCheckBox = new JCheckBox();\n includeInNERTestingCheckBox.setText(\"Include in NER Model Testing\");\n panel1.add(includeInNERTestingCheckBox, new GridConstraints(4, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n midbar = new JToolBar();\n mainPanel.add(midbar, new GridConstraints(1, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(-1, 20), null, 0, false));\n entityAutoDetectionButton = new JButton();\n entityAutoDetectionButton.setText(\"NER Model Library\");\n midbar.add(entityAutoDetectionButton);\n final JToolBar.Separator toolBar$Separator6 = new JToolBar.Separator();\n midbar.add(toolBar$Separator6);\n viewNERCorpusButton = new JButton();\n viewNERCorpusButton.setText(\"View NER Corpus\");\n midbar.add(viewNERCorpusButton);\n final JToolBar.Separator toolBar$Separator7 = new JToolBar.Separator();\n midbar.add(toolBar$Separator7);\n trainW2VModelButton = new JButton();\n trainW2VModelButton.setText(\"Train W2V Model\");\n midbar.add(trainW2VModelButton);\n trainNERModelButton = new JButton();\n trainNERModelButton.setText(\"Train NER Model\");\n midbar.add(trainNERModelButton);\n testNERModelButton = new JButton();\n testNERModelButton.setText(\"Test NER Model\");\n midbar.add(testNERModelButton);\n final JToolBar.Separator toolBar$Separator8 = new JToolBar.Separator();\n midbar.add(toolBar$Separator8);\n trainDocCatModelButton = new JButton();\n trainDocCatModelButton.setText(\"Train DocCat Model\");\n midbar.add(trainDocCatModelButton);\n testDocCatModelButton = new JButton();\n testDocCatModelButton.setText(\"Test DocCat Model\");\n midbar.add(testDocCatModelButton);\n final JToolBar.Separator toolBar$Separator9 = new JToolBar.Separator();\n midbar.add(toolBar$Separator9);\n dependencyResolverButton = new JButton();\n dependencyResolverButton.setText(\"Dependency Resolver\");\n midbar.add(dependencyResolverButton);\n lowbar = new JToolBar();\n mainPanel.add(lowbar, new GridConstraints(2, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(-1, 20), null, 0, false));\n annotateSingleF1Button = new JButton();\n annotateSingleF1Button.setText(\"Annotate Single (F1)\");\n lowbar.add(annotateSingleF1Button);\n annotateAllF2Button = new JButton();\n annotateAllF2Button.setText(\"Annotate All (F2)\");\n lowbar.add(annotateAllF2Button);\n final JToolBar.Separator toolBar$Separator10 = new JToolBar.Separator();\n lowbar.add(toolBar$Separator10);\n deleteAnnotationF3Button = new JButton();\n deleteAnnotationF3Button.setText(\"Delete Annotation (F3)\");\n lowbar.add(deleteAnnotationF3Button);\n deleteAllAnnotationsF4Button = new JButton();\n deleteAllAnnotationsF4Button.setText(\"Delete All Annotations (F4)\");\n lowbar.add(deleteAllAnnotationsF4Button);\n final JToolBar.Separator toolBar$Separator11 = new JToolBar.Separator();\n lowbar.add(toolBar$Separator11);\n annotationsTrackerButton = new JButton();\n annotationsTrackerButton.setText(\"Annotations Tracker\");\n lowbar.add(annotationsTrackerButton);\n final JToolBar.Separator toolBar$Separator12 = new JToolBar.Separator();\n lowbar.add(toolBar$Separator12);\n topicsBrowserButton = new JButton();\n topicsBrowserButton.setHideActionText(false);\n topicsBrowserButton.setText(\"Topics Browser\");\n lowbar.add(topicsBrowserButton);\n botbar = new JToolBar();\n mainPanel.add(botbar, new GridConstraints(4, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(-1, 20), null, 0, false));\n final JLabel label3 = new JLabel();\n label3.setText(\"Host URL:\");\n botbar.add(label3);\n host = new JTextField();\n botbar.add(host);\n lblServerConnection = new JLabel();\n lblServerConnection.setText(\"\");\n botbar.add(lblServerConnection);\n }", "title": "" }, { "docid": "388e59e3afc58a0b7125af31936c614a", "score": "0.69616735", "text": "protected void createContents() {\n\t\tsetText(\"SWT Application\");\n\t\tsetSize(450, 300);\n\n\t}", "title": "" }, { "docid": "a00e7be59b2d31ff81ef1c3187f122a4", "score": "0.69612813", "text": "@AutoGenerated\n\tprivate GridLayout buildMainLayout() {\n\t\tmainLayout = new GridLayout();\n\t\tmainLayout.setImmediate(false);\n\t\tmainLayout.setWidth(\"100%\");\n\t\tmainLayout.setHeight(\"-1px\");\n\t\tmainLayout.setRows(6);\n\t\tmainLayout.setColumns(1);\n\n\t\t// top-level component properties\n\t\tsetWidth(\"100.0%\");\n\t\tsetHeight(\"-1px\");\n\n\t\ttxNome = ComponentUtil.buildTextField(\"Nome\");\n\t\tmainLayout.addComponent(txNome, 0, 0);\n\n\t\treturn mainLayout;\n\t}", "title": "" }, { "docid": "caccb4d473138897b23549f387944449", "score": "0.69512606", "text": "private void setupPanel() {\r\n\t\t\r\n\t\t /** Sets the layout of VolunteerViewCurrentJobsPanel as a BorderLayout. */\r\n\t\t\r\n\t\tsetLayout(new BorderLayout(10,10));\r\n\t\t\r\n\t\t/** Creates a welcome message at this.BorderLayout.NORTH */\r\n\t\t\r\n\t\tsetupVolunteerViewCurrentJobsWelcomeLabel(true);\r\n\t\t\r\n\t\t/** Sets up the myMasterPanel and myInformationPanel panels. */\r\n\t\t\r\n\t\tsetupViewCurrentJobsPanel();\r\n\t\t\r\n\t\tmyMasterPanel.setVisible(true);\r\n\t\tadd(myMasterPanel, BorderLayout.CENTER);\r\n\t\t\r\n\t}", "title": "" }, { "docid": "701ea93f453b35c8f12d563ca0dac184", "score": "0.69490117", "text": "public Panel() {\n setTitle(\"Panel de Control - Proyecto Zaragoza\");\n setLocationRelativeTo(null);\n setResizable(false);\n initComponents();\n }", "title": "" }, { "docid": "e84aa56174c8e119eb504082d9607d6b", "score": "0.69258034", "text": "@AutoGenerated\r\n\tprivate void buildMainLayout() {\n\t\tmainLayout = new VerticalLayout();\r\n\t\tmainLayout.setImmediate(false);\r\n\t\tmainLayout.setWidth(\"100%\");\r\n\t\tmainLayout.setHeight(\"100%\");\r\n\t\tmainLayout.setMargin(true);\r\n\t\tmainLayout.setSpacing(true);\r\n\r\n\t\t// top-level component properties\r\n\t\tsetWidth(\"100.0%\");\r\n\t\tsetHeight(\"100.0%\");\r\n\r\n\t\tglGeral = bglGeral();\r\n\t\tmainLayout.addComponent(glGeral);\r\n\r\n\t\ttsGeral = new TabSheet();\r\n\t\ttsGeral.setImmediate(true);\r\n\t\ttsGeral.setSizeFull();\r\n\r\n\t\ttsGeral.addTab(bvlGeralPessoaFisica(), 0);\r\n\t\ttsGeral.addTab(bvlGeralPessoaJuridica(), 1);\r\n\t\ttsGeral.addTab(bvlPessoaContato(), 2);\r\n\t\ttsGeral.addTab(bvlPessoaEndereco(), 3);\r\n\t\ttsGeral.addTab(bvlCliente(), 4);\r\n\t\t// tsGeral.addSelectedTabChangeListener(event ->\r\n\t\t// controller.stceSelectTab(\r\n\t\t// event, tsGeral.getTabPosition(tsGeral.getTab(tsGeral\r\n\t\t// .getSelectedTab()))));\r\n\r\n\t\tmainLayout.addComponent(tsGeral);\r\n\t\tmainLayout.setExpandRatio(tsGeral, 1);\r\n\t}", "title": "" }, { "docid": "0f2453b3717a4453f053e1d49cc211ce", "score": "0.6922509", "text": "private void $$$setupUI$$$() {\n contentPane = new JPanel();\n contentPane.setLayout(new BorderLayout(0, 0));\n final JPanel panel1 = new JPanel();\n panel1.setLayout(new BorderLayout(0, 0));\n contentPane.add(panel1, BorderLayout.SOUTH);\n final JPanel panel2 = new JPanel();\n panel2.setLayout(new BorderLayout(0, 0));\n panel1.add(panel2, BorderLayout.CENTER);\n buttonClose = new JButton();\n buttonClose.setText(\"Close\");\n panel2.add(buttonClose, BorderLayout.EAST);\n final JSeparator separator1 = new JSeparator();\n panel2.add(separator1, BorderLayout.CENTER);\n final JPanel panel3 = new JPanel();\n panel3.setLayout(new BorderLayout(0, 0));\n contentPane.add(panel3, BorderLayout.CENTER);\n tabContainer = new JTabbedPane();\n tabContainer.setTabLayoutPolicy(0);\n tabContainer.setTabPlacement(2);\n panel3.add(tabContainer, BorderLayout.CENTER);\n commonTab = new JPanel();\n commonTab.setLayout(new BorderLayout(0, 0));\n tabContainer.addTab(\"Common\", commonTab);\n modulesTab = new JPanel();\n modulesTab.setLayout(new BorderLayout(0, 0));\n tabContainer.addTab(\"Modules\", modulesTab);\n }", "title": "" }, { "docid": "9b18b5c5a303156a35ac566de0901ed0", "score": "0.6921663", "text": "private void showMainPanel() {\n replaceFramePanel(new MainPanel());\n }", "title": "" }, { "docid": "0fb8deb5176edeb386653600fd658fc0", "score": "0.6912595", "text": "public void init() \n\t{\n\t\t\n\t\tjPanelMain = new JPanel();\n\t\tjPanelMain.setLayout(new BorderLayout());\n\n\t\t// Header Panel\n\t\tjPanelHeader = new JPanel();\n\t\tjPanelHeader.setLayout(new FlowLayout(FlowLayout.CENTER));\n\t\tjPanelHeader.setBackground(Color.YELLOW);\n\t\tjTextFieldS1 = new JTextField(25);\n\t\tjTextFieldS2 = new JTextField(25);\n\t\tjButtonStart = new JButton(\"Start\");\n\t\tjButtonStart.addActionListener(this);\n\t\tjButtonNext = new JButton(\"Next\");\n\t\tjButtonNext.setEnabled(false);\n\t\tjButtonNext.addActionListener(this);\n\t\tjButtonReset = new JButton(\"Reset\");\n\t\tjButtonReset.addActionListener(this);\n\t\tjButtonAutoRun = new JButton(\"Auto Run\");\n\t\tjButtonAutoRun.addActionListener(this);\n\t\tjButtonRecursion = new JButton(\"Recursion\");\n\t\tjButtonRecursion.addActionListener(this);\n\t\tjPanelHeader.add(new Label(\"String 1\"));\n\t\tjPanelHeader.add(jTextFieldS1);\n\t\tjPanelHeader.add(new Label(\"String 2\"));\n\t\tjPanelHeader.add(jTextFieldS2);\n\t\tjPanelHeader.add(jButtonStart);\n\t\tjPanelHeader.add(jButtonNext);\n\t\tjPanelHeader.add(jButtonReset);\n\t\tjPanelHeader.add(jButtonAutoRun);\n\t\tjPanelHeader.add(jButtonRecursion);\n\t\tjPanelMain.add(jPanelHeader, BorderLayout.NORTH);\n\n\t\t// Middle Panel\n\t\tjPanelMiddle = new JPanel();\n\t\tjPanelMiddle.setLayout(new GridLayout(1, 2));\n\t\tjPanelTableB = new JPanel();\n\t\tjPanelTableC = new JPanel();\n\t\tjPanelMiddle.add(jPanelTableB);\n\t\tjPanelTableB.setBackground(Color.GREEN);\n\t\tjPanelMiddle.add(jPanelTableC);\n\t\tjPanelTableC.setBackground(Color.CYAN);\n\t\tjPanelMain.add(jPanelMiddle, BorderLayout.CENTER);\n\n\t\t// Footer Panel\n\t\tjPanelFooter = new JPanel();\n\t\tjPanelFooter.setLayout(new GridLayout(1, 2));\n\n\t\tjlabelLCSLen = new JLabel(\" \");\n\t\tChangeLabelSytle(jlabelLCSLen, Color.GREEN, Color.BLACK);\n\n\t\tjLabelLCSString = new JLabel(\" \");\n\t\tChangeLabelSytle(jLabelLCSString, Color.CYAN, Color.BLACK);\n\n\t\tjPanelFooter.add(jlabelLCSLen);\n\t\tjPanelFooter.add(jLabelLCSString);\n\t\t\n\t\tjPanelMain.add(jPanelFooter, BorderLayout.SOUTH);\n\n\t\tsetSize(1000, 500);\n\t\tadd(jPanelMain);\n\n\t\tborder = BorderFactory.createLineBorder(Color.BLACK);\n\t}", "title": "" }, { "docid": "ffa71456659ec0999d73257f0caa102b", "score": "0.6909291", "text": "private void createAndShowGUI() {\n\t\t//Create and set up the window.\n\t\tentireFrame = new JFrame(resources.getString(\"title\"));\n\t\tentireFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\t\n\t\tJPanel basePanel = ViewHelper.makeNewPanel();\n\t\tentireFrame.getContentPane().add(basePanel);\n\t\t\n\t\taddMenu(basePanel);\n\t\taddPanels(basePanel);\n\t\t\n\t\tentireFrame.pack();\n\t\tentireFrame.setVisible(true);\n\t}", "title": "" }, { "docid": "e8704de133600e423756889ac3f66a72", "score": "0.6908625", "text": "public Panel newPanel() {\r\n\t\t\r\n\t\tthis.obtenDatosSesion();\r\n\t\tif (panel == null) {\r\n\t\t\tmensaje = (CIDAQmensajes) GWT.create(CIDAQmensajes.class);\r\n\r\n\t\t\tinicializaForm();\r\n\t\t\tfinal Button submitBtn = new Button(Constantes.BUSCAR,\r\n\t\t\t\t\tnew ButtonListenerAdapter() {\r\n\t\t\t\t\t\tpublic void onClick(final Button button, EventObject e) {\r\n\r\n\t\t\t\t\t\t\tif (valida()) {\r\n\t\t\t\t\t\t\t\tinicializaBusqueda();\r\n\t\t\t\t\t\t\t currentPage = 1;\r\n\t\t\t\t\t\t\t totalRows = 0;\r\n\t\t\t\t\t\t\t\tobtenDatosGrid();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\r\n\t\t\tfinal Button limpiarBtn = new Button(mensaje.msgBTNLIMPIAR(),\r\n\t\t\t\t\tnew ButtonListenerAdapter() {\r\n\t\t\t\t\t\tpublic void onClick(final Button button, EventObject e) {\r\n\r\n\t\t\t\t\t\t\t limpiaPantalla();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\r\n\t\t\tPanel wrapperPanelboton = new Panel();\r\n\t\t\tPanel panelSuperior = new Panel();\r\n\t\t\tpanelSuperior.setWidth(300);\r\n\t\t\twrapperPanelboton.setLayout(new HorizontalLayout(20));\r\n\r\n\t\t\twrapperPanelboton.setBodyStyle(Constantes.panBackGroundColor);\r\n\t\t\twrapperPanelboton.add(panelSuperior);\r\n\t\t\twrapperPanelboton.add(submitBtn);\r\n\t\t\twrapperPanelboton.add(limpiarBtn);\r\n\t\t\t\r\n\r\n\t\t\tfieldSet.add(wrapperPanelboton);\r\n\t\t\tformPanel.add(fieldSet);\r\n\r\n\t\t\tinicializaGrid();\r\n\t\t\tbottomToolbar.addButton(this.recBtnExportar = new ToolbarButton(\r\n\t\t\t\t\tConstantes.EXPORTAR, new ButtonListenerAdapter() {\r\n\t\t\t\t\t\tpublic void onClick(Button button, EventObject e) {\r\n\t\t\t\t\t\t\texportar();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}));\r\n\t\t\tthis.recBtnExportar.disable();\r\n\t\t\trecBtnExportar.setId(Constantes.BTN_RCP_EXPORTAR);\r\n\r\n\t\t\t/*bottomToolbar.addButton(this.recBtnImprimir = new ToolbarButton(\r\n\t\t\t\t\tConstantes.IMPRIMIR, new ButtonListenerAdapter() {\r\n\t\t\t\t\t\tpublic void onClick(Button button, EventObject e) {\r\n\t\t\t\t\t\t\timprimir();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}));\r\n\r\n\t\t\tthis.recBtnImprimir.disable();\r\n\t\t\trecBtnImprimir.setId(Constantes.BTN_RCP_IMPRIMIR);\r\n\t\t\tthis.recBtnImprimir.setVisible(false);*/\r\n\t\t//\tgridBusqueda.setTopToolbar(topToolbar);\r\n\r\n\t\t\tpanel = new Panel();\r\n\t\t\tpanel.setId(\"activePanelR\");\r\n\t\t\tpanel.setBorder(false);\r\n\t\t\tpanel.add(formPanel);\r\n\t\t\tpanel.add(panelInterno);\r\n\t\t}\r\n\t\telse {\r\n\t\t\tthis.obtenEmpresas();\r\n\t\t}\r\n\t\tUtilerias.aplicarSeguridad();\r\n\t\tpanel.setVisible(false);\r\n\t\treturn panel;\r\n\t}", "title": "" }, { "docid": "e2302347daa1d4b26af3310e394dfb2c", "score": "0.69060636", "text": "private void buildPanel() {\n\t\tkilometersLabel = new JLabel(\"Kilometer: \");\n\t\tkilometersTextField = new JTextField(5); // texField de tamano 5 //columns \n\n\t\tconvertButton = new JButton(\"Convert\");\n\t\tconvertButton.setMnemonic(KeyEvent.VK_C);\n\n\t\tresetButton = new JButton(\"Reset\");\n\t\tresetButton.setMnemonic(KeyEvent.VK_R);\n\n\t\tmilesLabel = new JLabel(\"Miles:\");\n\t\tmilesTextField = new JTextField(5);\n\t\t// no se puedeeditar // no se puede tampoco entra en el focus,cuando de con tab \n\t\tmilesTextField.setEditable(false);\n\t\tmilesTextField.setFocusable(false);\n\n\t\tconvertButton.addActionListener(new ButtonListener());\n\t\tresetButton.addActionListener(new ButtonListener());\n\n\t\tmainPanel = new JPanel();\n\t\tmainPanel.add(kilometersLabel);\n\t\tmainPanel.add(kilometersTextField);\n\t\tmainPanel.add(convertButton);\n\t\tmainPanel.add(resetButton);\n\t\tmainPanel.add(milesLabel);\n\t\tmainPanel.add(milesTextField);\n\n\n\t}", "title": "" }, { "docid": "4e9a4a724dd892898ae8d519cad362ef", "score": "0.6901385", "text": "public static void buildMainRunner(JFrame frame) {\n\t\tJPanel panel1 = new JPanel();\n\t\tPopularCitiesTab.createPopularCitiesTab((panel1));\n\t\tpanel1.setOpaque(false);\n\t\t\n\t\tJPanel panel3 = new JPanel();\n\t\tDestinationTab.createDestinationTab(panel3);\n\t\tpanel3.setOpaque(false);\n\t\t\n\t\tJPanel panel2 = new JPanel();\n\t\tWeatherInfoTab.createWeatherTab(panel2);\n\t\tpanel2.setOpaque(false);\n\t\t\n\t\tJTabbedPane tab = new JTabbedPane();\n\t\ttab.add(\"Pick a popular cities\", panel1);\n\t\ttab.add(\"Weather Info\", panel2);\n\t\ttab.add(\"or choose your own destination\", panel3);\n\t\t\n\t\t\n\t\tframe.setSize(660,600);\n\t\tframe.setLayout(new FlowLayout());\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tframe.setVisible(true);\n\t\tframe.setContentPane(tab);\n\t}", "title": "" }, { "docid": "379de80340130b2cda2dff8cde60bbbf", "score": "0.68870014", "text": "private JPanel getPnlMain() {\r\n\t\tif (pnlMain == null) {\r\n\t\t\tGridBagConstraints gridBagConstraints = new GridBagConstraints();\r\n\t\t\tgridBagConstraints.fill = GridBagConstraints.BOTH;\r\n\t\t\tgridBagConstraints.weighty = 1.0;\r\n\t\t\tgridBagConstraints.weightx = 1.0;\r\n\t\t\tpnlMain = new JPanel();\r\n\t\t\tpnlMain.setLayout(new GridBagLayout());\r\n\t\t\tpnlMain.add(getSpMain(), gridBagConstraints);\r\n\t\t}\r\n\t\treturn pnlMain;\r\n\t}", "title": "" }, { "docid": "6a8cbb82bfaec496eae694431dd82ba6", "score": "0.6878418", "text": "private void $$$setupUI$$$() {\n mainPanel = new JPanel();\n mainPanel.setLayout(new com.intellij.uiDesigner.core.GridLayoutManager(2, 2, new Insets(0, 0, 0, 0), -1, -1));\n final com.intellij.uiDesigner.core.Spacer spacer1 = new com.intellij.uiDesigner.core.Spacer();\n mainPanel.add(spacer1, new com.intellij.uiDesigner.core.GridConstraints(0, 1, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_HORIZONTAL, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_WANT_GROW, 1, null, null, null, 0, false));\n final com.intellij.uiDesigner.core.Spacer spacer2 = new com.intellij.uiDesigner.core.Spacer();\n mainPanel.add(spacer2, new com.intellij.uiDesigner.core.GridConstraints(1, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_VERTICAL, 1, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_WANT_GROW, null, null, null, 0, false));\n final JScrollPane scrollPane1 = new JScrollPane();\n mainPanel.add(scrollPane1, new com.intellij.uiDesigner.core.GridConstraints(1, 1, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_BOTH, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_WANT_GROW, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_WANT_GROW, null, null, null, 0, false));\n tabbedPane1 = new JTabbedPane();\n scrollPane1.setViewportView(tabbedPane1);\n final JPanel panel1 = new JPanel();\n panel1.setLayout(new com.intellij.uiDesigner.core.GridLayoutManager(4, 2, new Insets(0, 0, 0, 0), -1, -1));\n tabbedPane1.addTab(\"Transfer\", panel1);\n final JPanel panel2 = new JPanel();\n panel2.setLayout(new com.intellij.uiDesigner.core.GridLayoutManager(1, 2, new Insets(0, 0, 0, 0), -1, -1));\n panel1.add(panel2, new com.intellij.uiDesigner.core.GridConstraints(0, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_BOTH, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));\n final JLabel label1 = new JLabel();\n label1.setText(\"From Account ID\");\n panel2.add(label1, new com.intellij.uiDesigner.core.GridConstraints(0, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_WEST, com.intellij.uiDesigner.core.GridConstraints.FILL_NONE, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n fromAccTField = new JTextField();\n panel2.add(fromAccTField, new com.intellij.uiDesigner.core.GridConstraints(0, 1, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_WEST, com.intellij.uiDesigner.core.GridConstraints.FILL_HORIZONTAL, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_WANT_GROW, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));\n final com.intellij.uiDesigner.core.Spacer spacer3 = new com.intellij.uiDesigner.core.Spacer();\n panel1.add(spacer3, new com.intellij.uiDesigner.core.GridConstraints(0, 1, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_HORIZONTAL, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_WANT_GROW, 1, null, null, null, 0, false));\n final JPanel panel3 = new JPanel();\n panel3.setLayout(new com.intellij.uiDesigner.core.GridLayoutManager(1, 2, new Insets(0, 0, 0, 0), -1, -1));\n panel1.add(panel3, new com.intellij.uiDesigner.core.GridConstraints(1, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_BOTH, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));\n final JLabel label2 = new JLabel();\n label2.setText(\"To Account ID\");\n panel3.add(label2, new com.intellij.uiDesigner.core.GridConstraints(0, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_WEST, com.intellij.uiDesigner.core.GridConstraints.FILL_NONE, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n toAccTField = new JTextField();\n panel3.add(toAccTField, new com.intellij.uiDesigner.core.GridConstraints(0, 1, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_WEST, com.intellij.uiDesigner.core.GridConstraints.FILL_HORIZONTAL, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_WANT_GROW, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));\n final JPanel panel4 = new JPanel();\n panel4.setLayout(new com.intellij.uiDesigner.core.GridLayoutManager(1, 2, new Insets(0, 0, 0, 0), -1, -1));\n panel1.add(panel4, new com.intellij.uiDesigner.core.GridConstraints(2, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_BOTH, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));\n final JLabel label3 = new JLabel();\n label3.setText(\"Amount\");\n panel4.add(label3, new com.intellij.uiDesigner.core.GridConstraints(0, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_WEST, com.intellij.uiDesigner.core.GridConstraints.FILL_NONE, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n amountTField = new JTextField();\n panel4.add(amountTField, new com.intellij.uiDesigner.core.GridConstraints(0, 1, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_WEST, com.intellij.uiDesigner.core.GridConstraints.FILL_HORIZONTAL, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_WANT_GROW, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));\n final JPanel panel5 = new JPanel();\n panel5.setLayout(new com.intellij.uiDesigner.core.GridLayoutManager(1, 1, new Insets(0, 0, 0, 0), -1, -1));\n panel1.add(panel5, new com.intellij.uiDesigner.core.GridConstraints(3, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_BOTH, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));\n transferButton = new JButton();\n transferButton.setText(\"Transfer\");\n panel5.add(transferButton, new com.intellij.uiDesigner.core.GridConstraints(0, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_HORIZONTAL, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n }", "title": "" }, { "docid": "483b5e68dfa92ac29fabcb363b325406", "score": "0.68730426", "text": "Panel buildMenuPanel()\n\t{\n\t\tminIntensityCB.setValue(true);\n\t\tcontrolIntensityCB.setValue(true);\n\t\ttreatmentIntensityCB.setValue(true);\n\t\tcontrolPmaCB.setValue(true);\n\t\ttreatmentPmaCB.setValue(true);\n\t\tmaxPValueCB.setValue(true);\n\t\tratioCB.setValue(true);\n\t\tlowerRatioCB.setValue(true);\n\t\tupperRatioCB.setValue(true);\n\n\t\tupperRatioCB.setValue(false,true);\n\t\tminIntensityCB.setValue(false,true);\n\t\tcontrolPmaCB.setValue(false,true);\n\t\ttreatmentPmaCB.setValue(false,true);\n\n\t\tVerticalPanel panel = new VerticalPanel();\n\n\t\t//panel.add(buildHorizontalPanel(new Label(\"Compare\"),compareToLabel,new Label(\"to: \")));\n\t\tpanel.add(buildHorizontalPanel(new Label(\"Compare\"),controlsLB,new Label(\"to: \"),treatmentsLB));\n\t\t//panel.add(containerPanel);\n\n\t\tpanel.add(new HTML(\"<hr>\"));\n\t\tpanel.add(buildHorizontalPanel(new Label(\"Intensity type: \"), intensityType));\n\n\t\tpanel.add(new HTML(\"<hr>\"));\n\n\t\tpanel.add(minIntensityCB);\n\t\tpanel.add(buildHorizontalPanel(controlIntensityCB, controlIntensityTB, controlPmaCB,controlPmaLB));\n\t\tpanel.add(buildHorizontalPanel(minIntensityOperationAnd,minIntensityOperationOr));\n\t\tpanel.add(buildHorizontalPanel(treatmentIntensityCB, treatmentIntensityTB, treatmentPmaCB,treatmentPmaLB));\n\n\t\tpanel.add(new HTML(\"<hr>\"));\n\n\t\tpanel.add(buildHorizontalPanel(maxPValueCB,maxPValueTB));\n\n\t\tpanel.add(new HTML(\"<hr>\"));\n\n\t\tpanel.add(ratioCB);\n\t\tpanel.add(buildHorizontalPanel(lowerRatioCB, lowerRatioTB));\n\t\tpanel.add(new Label(\"or\"));\n\t\tpanel.add(buildHorizontalPanel(upperRatioCB, upperRatioTB));\n\n\t\tpanel.add(submitSearchButton);\n\t\tpanel.setStylePrimaryName(\"selectionPanel\");\n\n\t\treturn panel;\n\t}", "title": "" }, { "docid": "a0682d7a0bb13c6411d0a4236b22e3a7", "score": "0.68713", "text": "public xmpppanel() {\n initComponents();\n }", "title": "" }, { "docid": "da246056b70f4480913184103d8b6bbc", "score": "0.6866937", "text": "public void setupPanels() {\n\t\tJPanel panel = new JPanel(new BorderLayout());\n\t\tpanel.add(createListPanel(), BorderLayout.CENTER);\n\t\tpanel.add(createAddPanel(), BorderLayout.SOUTH);\n\t\tpanel.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));\n\t\tthis.add(panel, BorderLayout.CENTER);\n\t\t\n\t\tstatus = new StatusBar();\n\t\tJPanel statusBar = new JPanel(new BorderLayout());\n\t\tstatusBar.setBorder(BorderFactory.createLoweredSoftBevelBorder());\n\t\tstatusBar.add(status, BorderLayout.WEST);\n\t\tthis.add(statusBar, BorderLayout.SOUTH);\n\t}", "title": "" }, { "docid": "522026fc9b9e28dcfb16813f4118234d", "score": "0.6866773", "text": "protected void createContents() {\n\t\tsetText(\"SWT Application\");\n\t\tsetSize(382, 264);\n\n\t}", "title": "" }, { "docid": "852fd301f78a04c90f2ece440c105037", "score": "0.6862982", "text": "@AutoGenerated\r\n\tprivate AbsoluteLayout buildMainLayout() {\n\t\tmainLayout = new AbsoluteLayout();\r\n\t\tmainLayout.setImmediate(false);\r\n\t\tmainLayout.setWidth(\"100%\");\r\n\t\tmainLayout.setHeight(\"100%\");\r\n\t\t\r\n\t\t// top-level component properties\r\n\t\tsetWidth(\"100.0%\");\r\n\t\tsetHeight(\"100.0%\");\r\n\t\t\r\n\t\t// btnNewPatient\r\n\t\tbtnNewPatient = new Button();\r\n\t\tbtnNewPatient.setCaption(\"Neuer Patient\");\r\n\t\tbtnNewPatient.setImmediate(true);\r\n\t\tbtnNewPatient.setWidth(\"-1px\");\r\n\t\tbtnNewPatient.setHeight(\"-1px\");\r\n\t\tmainLayout.addComponent(btnNewPatient, \"top:20.0px;left:250.0px;\");\r\n\t\t\r\n\t\t// panMaster\r\n\t\tpanMaster = buildPanMaster();\r\n\t\tmainLayout.addComponent(panMaster, \"top:60.0px;left:20.0px;\");\r\n\t\t\r\n\t\t// lblView\r\n\t\tlblView = new Label();\r\n\t\tlblView.setImmediate(false);\r\n\t\tlblView.setWidth(\"-1px\");\r\n\t\tlblView.setHeight(\"-1px\");\r\n\t\tlblView.setValue(\"Patient\");\r\n\t\tmainLayout.addComponent(lblView, \"top:20.0px;left:20.0px;\");\r\n\t\t\r\n\t\treturn mainLayout;\r\n\t}", "title": "" }, { "docid": "e67e2fc2135e91036b98ff9ac5bfa065", "score": "0.68577653", "text": "public void buildDataPanel() {\n\n titlePanel = new JPanel();\n buttonPanel = new JPanel();\n dataGlobalPanel = new JPanel();\n\n scriptDescription = scriptDescription.replaceFirst(\"-- \", \"\");\n\n // Localized titles and labels\n scrName = titles.getString(\"ScrName\");\n defSelVals = titles.getString(\"DefSelVals\");\n\n JTextArea title1 = new JTextArea(scriptDescription);\n title1.setFont(new Font(\"Helvetica\", Font.PLAIN, 20));\n title1.setEditable(false);\n JTextArea title2 = new JTextArea(scrName + scriptName);\n title2.setFont(new Font(\"Helvetica\", Font.PLAIN, 16));\n title2.setEditable(false);\n JTextArea title3 = new JTextArea(defSelVals);\n title3.setForeground(DIM_BLUE); // Dim blue\n title3.setEditable(false);\n titlePanel.setLayout(new BoxLayout(titlePanel, BoxLayout.PAGE_AXIS));\n titlePanel.setAlignmentX(Box.LEFT_ALIGNMENT);\n titlePanel.add(title1);\n titlePanel.add(title2);\n titlePanel.add(title3);\n\n title1.setBackground(titlePanel.getBackground());\n title2.setBackground(titlePanel.getBackground());\n title3.setBackground(titlePanel.getBackground());\n\n // Build a panel with input fields with labels\n // -------------------------------------------\n buildInputPanel();\n\n // Build button row\n buttonPanel.setLayout(new BoxLayout(buttonPanel, BoxLayout.LINE_AXIS));\n buttonPanel.setAlignmentX(Box.LEFT_ALIGNMENT);\n buttonPanel.add(returnButton);\n buttonPanel.add(Box.createRigidArea(new Dimension(20, 0)));\n buttonPanel.add(refreshOrigButton);\n buttonPanel.add(Box.createRigidArea(new Dimension(20, 0)));\n buttonPanel.add(refreshEnteredButton);\n buttonPanel.add(Box.createRigidArea(new Dimension(20, 0)));\n buttonPanel.add(enterButton);\n\n // buttonPanel.setSize(100, 50);\n buttonPanel.add(Box.createRigidArea(new Dimension(0, 60)));\n\n // Set blank message initially\n message = new JLabel(\" \");\n\n try {\n dataPanel = new JPanel();\n layout = new GroupLayout(dataPanel);\n dataPanel.setLayout(layout);\n\n // Arrange panels in group layout\n layout.setAutoCreateGaps(true);\n layout.setAutoCreateContainerGaps(true);\n layout.setHorizontalGroup(layout.createSequentialGroup().addGroup(\n layout.createParallelGroup(LEADING).addComponent(titlePanel)\n .addComponent(inputPanel).addComponent(buttonPanel).addComponent(message)));\n layout.setVerticalGroup(layout.createSequentialGroup().addGroup(\n layout.createSequentialGroup().addComponent(titlePanel).addComponent(inputPanel)\n .addComponent(buttonPanel).addComponent(message)));\n\n scrollPaneData = new JScrollPane(dataGlobalPanel);\n scrollPaneData.setBorder(BorderFactory.createEmptyBorder(0, 10, 0, 10));\n scrollPaneData.setBackground(dataPanel.getBackground());\n\n dataGlobalPanel.add(dataPanel);\n dataContentPane = getContentPane();\n dataContentPane.add(scrollPaneData);\n\n // Window height is a variable depending on number of input fields\n // i. e. the size of the marker array list or number of question marks\n // in the SQL statement.\n dataPanelHeight = markerArrayList.size() * (txtFldHeight + 20) + 260;\n\n } catch (IllegalArgumentException iae) {\n System.out.println(iae.getLocalizedMessage());\n }\n }", "title": "" }, { "docid": "62e655c3fa767b78f388148492839d17", "score": "0.68567985", "text": "private void initComponents() {\n \n mainPanel = new javax.swing.JPanel();\n \n setLayout(new java.awt.BorderLayout());\n \n mainPanel.setLayout(new java.awt.BorderLayout());\n add(mainPanel, java.awt.BorderLayout.CENTER);\n }", "title": "" }, { "docid": "db41db82bb5d2ddbd1b654019c3dc80d", "score": "0.68501264", "text": "private void createComponents() {\n pnMain = new JPanel();\n pnMain.setBackground(this.getBackground());\n bnRegister = new JButton(\"Registrieren\");\n bnBack = new JButton(\"Zurück\");\n\n bnRegister.addActionListener(new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n onRegister();\n }\n });\n\n bnBack.addActionListener(new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n onBack();\n }\n });\n\n this.lbMail = new JLabel(\"Email:\");\n this.lbPassword = new JLabel(\"Passwort:\");\n this.lbFirstname = new JLabel(\"Vorname:\");\n this.lbLastname = new JLabel(\"Nachname:\");\n\n this.tfMail = new JTextField();\n this.tfPassword = new JPasswordField();\n this.tfPassword = new JPasswordField();\n this.tfPasswordRecap = new JPasswordField();\n this.tfFirstname = new JTextField();\n this.tfLastname = new JTextField();\n }", "title": "" }, { "docid": "9b3fc2997ddfab25cf9aad6834d8bbbd", "score": "0.6849575", "text": "private void resetMainPanel() {\n mainPanel = new JPanel();\n mainPanel.setLayout(new GridLayout(3, 1));\n JLabel title = new JLabel(\"Final Project Application\");\n title.setFont(titleFont);\n \n JTextArea information = new JTextArea(\"This is an application to perform \"\n + \"the three main tasks involved in the final project for Math 2605.\"\n + \"\\n\\nThose tasks include implementing a Modified \"\n + \"Gauss Newton Method (using QR-factorization), \\nthe Power Method (including a plot \" \n + \" of data collected from running the power method on a large \\nnumber of matrices), \"\n + \"and a simple animation illustrating various transformations.\"\n + \"\\n\\nAccess the different tasks by clicking the appropriate selection from \"\n + \"the task menu located on the \\nmenu bar. Go back to this screen by clicking \"\n + \"the home button.\");\n information.setLineWrap(true);\n information.setEditable(false);\n information.setFont(mainFont);\n \n mainPanel.add(title);\n mainPanel.add(information);\n mainPanel.setPreferredSize(new Dimension(700,450));\n JScrollPane scroll = new JScrollPane(mainPanel);\n setContentPane(scroll);\n setVisible(true);\n }", "title": "" }, { "docid": "a16b7c4b0ea9324ba095c34d3e9019b3", "score": "0.6846701", "text": "private void buildTopPanel() {\n\t\ttopPanel = new JPanel();\n\n\t\t// Create two radio buttons.\n\t\tradioSchedule = new JRadioButton(\"Schedule\", true);\n\t\tradioUnschedule = new JRadioButton(\"Unschedule\");\n\n\t\t// Create a ButtonGroup object.\n\t\tButtonGroup group = new ButtonGroup();\n\t\t// Add the radio buttons to the ButtonGroup object.\n\t\tgroup.add(radioSchedule);\n\t\tgroup.add(radioUnschedule);\n\n\t\t// Add action listeners to the radio buttons\n\t\tradioSchedule.addActionListener(new RadioActionListener());\n\t\tradioUnschedule.addActionListener(new RadioActionListener());\n\n\t\t// create combo boxes\n\t\tprofNameBox = new JComboBox(professorNames);\n\t\tcourseNameBox = new JComboBox(courseName);\n\t\tcolorNameBox = new JComboBox(colorNames);\n\n\n\t\t// Register an action listener for each combo box\n\t\tprofNameBox.addActionListener(new ComboBoxListener());\n\t\tcourseNameBox.addActionListener(new ComboBoxListener());\n\t\tcolorNameBox.addActionListener(new ComboBoxListener());\n\n\t\ttopPanel.add(radioSchedule);\n\t\ttopPanel.add(radioUnschedule);\n\n\t\t// add the combo boxes into the content pane\n\t\ttopPanel.add(profNameBox);\n\t\ttopPanel.add(courseNameBox);\n\t\ttopPanel.add(colorNameBox);\n\t}", "title": "" }, { "docid": "1caed2c5eca42affdd09d5fe195e7a0e", "score": "0.68445003", "text": "private void inicializarPrimerPanel() {\n //Le agregamos un titulo centrado\n jPanel1.add(new JLabel(\"Titulo\",JLabel.CENTER), BorderLayout.NORTH);\n //Agregaos una imagén al codigo\n jPanel1.add(new JLabel(new ImageIcon(getClass().getResource(\"/Images/Icono1.png\"), BorderLayout.CENTER)));\n //Instanciamos un nuevo panel\n JPanel botones = new JPanel();\n //Creamos los botones de dicho panel.\n botones.setLayout(new FlowLayout(FlowLayout.CENTER));\n botones.add(new JButton(\"1\"));\n botones.add(new JButton(\"2\"));\n botones.add(new JButton(\"3\"));\n botones.add(new JButton(\"4\"));\n jPanel1.add(botones, BorderLayout.SOUTH);\n }", "title": "" }, { "docid": "d9a28792c71a23d4930aba58c7ebbd9e", "score": "0.6837027", "text": "private JPanel makeTopPane() {\n final JPanel top = new JPanel();\n final JRadioButton depos = new JRadioButton(\"Deposit\");\n depos.addActionListener(e -> {\n mode = 1;\n });\n final JRadioButton deduct = new JRadioButton(\"Deduction\");\n deduct.addActionListener(e -> {\n mode = 2;\n });\n final ButtonGroup bg = new ButtonGroup();\n bg.add(depos);\n bg.add(deduct);\n \n top.add(depos);\n top.add(deduct);\n // add space\n top.add(Box.createRigidArea(new Dimension(55, 0)));\n \n top.add(new JLabel(\"Price:\"));\n inputPrice = new JTextField(\"\");\n inputPrice.setColumns(5);\n top.add(inputPrice);\n \n top.add(new JLabel(\"Comment:\"));\n inputComment = new JTextField(\"\");\n inputComment.setColumns(30);\n top.add(inputComment);\n \n final JButton ok = new JButton(\"OK\");\n ok.addActionListener(e -> {\n \n });\n top.add(ok);\n \n return top;\n }", "title": "" }, { "docid": "a2f3b8c83ed7e40454fca5f7d62d0b50", "score": "0.68355507", "text": "private static void createAndShowGUI() {\n\t\t\n\t\t//PF: JFrame\n\t\tJFrame main_frame = new JFrame();\n\t\tmain_frame.setTitle(\"Picasso\");\n\t\tmain_frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\t\n\t\t//PF: MenuBar\n\t\tMenuBar menu_bar = new MenuBar();\n\t\tmain_frame.setJMenuBar(menu_bar);\n\t\t\n\t\t//PF: Instantiate Model, View, and Controller\n\t\tMainModel model = new MainModel();\n\t\tMainView view = new MainView(model);\n\t\tMainController controller = new MainController(model, view);\n\t\t\n\t\tmain_frame.setContentPane(view);\n\t\tmain_frame.setExtendedState(JFrame.MAXIMIZED_BOTH); //Set Maximized at Start\n\t\tmain_frame.setMinimumSize(new Dimension(230, 0));\n\t\tmain_frame.pack();\n\t\tmain_frame.setVisible(true);\n\t\t\n\t}", "title": "" }, { "docid": "74f52ce3de4c66046903d34521bf9fa1", "score": "0.6820424", "text": "private void createPartControl() {\n\t\tnew JPanel();\n\t\tint width = sudokuPuzzle.getGUIDimension() * sudokuPuzzle.getSudokuDimension() + 1;\n\t\taddMouseListener(new SetValueListener(sudokuFrame, sudokuPuzzle));\n\t\tsetPreferredSize(new Dimension(width, width));\n\t}", "title": "" }, { "docid": "c72fdb7c831163070fc8b972b0021820", "score": "0.68148404", "text": "@AutoGenerated\r\n\tprivate VerticalLayout buildMainLayout() {\n\t\tmainLayout = new VerticalLayout();\r\n\t\tmainLayout.setImmediate(false);\r\n\t\tmainLayout.setSizeFull();\r\n\t\tmainLayout.setMargin(true);\r\n\t\tmainLayout.setSpacing(true);\r\n\r\n\t\t// top-level component properties\r\n\t\tsetWidth(\"100.0%\");\r\n\t\tsetHeight(\"100.0%\");\r\n\r\n\t\ttsGeral = new TabSheet();\r\n\t\ttsGeral.setImmediate(true);\r\n\t\ttsGeral.setSizeFull();\r\n\r\n\t\ttsGeral.addTab(bvlProduto(), 0);\r\n\r\n\t\tmainLayout.addComponent(tsGeral);\r\n\t\tmainLayout.setExpandRatio(tsGeral, 1);\r\n\r\n\t\treturn mainLayout;\r\n\t}", "title": "" }, { "docid": "7ea3bf7805c859792b6a373cfa8303fd", "score": "0.68096364", "text": "public JPanel createContentPane () {\n JPanel totalGUI = new JPanel();\n totalGUI.setLayout(null);\n\n // TitlePanel\n titlePanel = new JPanel();\n titlePanel.setLayout(null);\n titlePanel.setLocation(150, 10);\n titlePanel.setSize(400, 50);\n titlePanel.setBorder(BorderFactory.createLineBorder(Color.black));\n totalGUI.add(titlePanel);\n\n batteryLabel = new JLabel(\"Battery Level\");\n batteryLabel.setLocation(0, 0);\n batteryLabel.setSize(120, 30);\n batteryLabel.setHorizontalAlignment(0);\n titlePanel.add(batteryLabel);\n\n batteryLabelValue = new JLabel(\"\" + batteryLevel);\n batteryLabelValue.setLocation(0, 0);\n batteryLabelValue.setSize(120, 70);\n batteryLabelValue.setHorizontalAlignment(0);\n titlePanel.add(batteryLabelValue);\n\n hoverLabel = new JLabel(\"Hover Status\");\n hoverLabel.setLocation(130, 0);\n hoverLabel.setSize(120, 30);\n hoverLabel.setHorizontalAlignment(0);\n titlePanel.add(hoverLabel);\n\n hoverLabelValue = new JLabel(\"\" + hoverStatus);\n hoverLabelValue.setLocation(130, 0);\n hoverLabelValue.setSize(120, 70);\n hoverLabelValue.setHorizontalAlignment(0);\n titlePanel.add(hoverLabelValue);\n\n statusLabel = new JLabel(\"Status\");\n statusLabel.setLocation(260, 0);\n statusLabel.setSize(120, 30);\n statusLabel.setHorizontalAlignment(0);\n titlePanel.add(statusLabel);\n\n statusLabelValue = new JLabel(\"\" + statusValue);\n statusLabelValue.setLocation(260, 0);\n statusLabelValue.setSize(120, 70);\n statusLabelValue.setHorizontalAlignment(0);\n titlePanel.add(statusLabelValue);\n\n // ButtonPanelA\n buttonPanelA = new JPanel();\n buttonPanelA.setLayout(null);\n buttonPanelA.setLocation(50, 650);\n buttonPanelA.setSize(300, 70);\n totalGUI.add(buttonPanelA);\n\n bRecharge = new JButton(\"Recharge battery\");\n bRecharge.setLocation(0, 0);\n bRecharge.setSize(150, 30);\n bRecharge.addActionListener(this);\n buttonPanelA.add(bRecharge);\n\n bHover = new JButton(\"Hover ON/OFF\");\n bHover.setLocation(170, 0);\n bHover.setSize(120, 30);\n bHover.addActionListener(this);\n buttonPanelA.add(bHover);\n\n resetButton = new JButton(\"Reset\");\n resetButton.setLocation(0, 40);\n resetButton.setSize(290, 30);\n resetButton.addActionListener(this);\n buttonPanelA.add(resetButton);\n\n // ButtonPanelB\n buttonPanelB = new JPanel();\n buttonPanelB.setLayout(null);\n buttonPanelB.setLocation(450, 650);\n buttonPanelB.setSize(300, 70);\n totalGUI.add(buttonPanelB);\n\n upButton = new JButton(\"Up\");\n upButton.setLocation(90, 0);\n upButton.setSize(80, 30);\n upButton.addActionListener(this);\n buttonPanelB.add(upButton);\n\n leftButton = new JButton(\"Left\");\n leftButton.setLocation(0, 40);\n leftButton.setSize(80, 30);\n leftButton.addActionListener(this);\n buttonPanelB.add(leftButton);\n\n downButton = new JButton(\"Down\");\n downButton.setLocation(90, 40);\n downButton.setSize(80, 30);\n downButton.addActionListener(this);\n buttonPanelB.add(downButton);\n\n rightButton = new JButton(\"Right\");\n rightButton.setLocation(180, 40);\n rightButton.setSize(80, 30);\n rightButton.addActionListener(this);\n buttonPanelB.add(rightButton);\n\n // Game panel\n gamePanel = new JPanel();\n gamePanel.setLayout(null);\n gamePanel.setLocation(0, 0);\n gamePanel.setSize(750, 600);\n gamePanel.setBorder(BorderFactory.createLineBorder(Color.black));\n totalGUI.add(gamePanel);\n\n Image landscapeImage = null;\n URL droidGroundedImageURL = null;\n URL droidHoverImageURL = null;\n\n try {\n URL landscapeImageURL = new URL(\"http://www.mfphoto.co.uk/VisualDroid/img/landscape2.jpg\");\n landscapeImage = ImageIO.read(landscapeImageURL);\n droidHoverImageURL = new URL(\"http://www.mfphoto.co.uk/VisualDroid/img/droidHover.gif\");\n droidImageHover = new ImageIcon(droidHoverImageURL);\n droidGroundedImageURL = new URL(\"http://www.mfphoto.co.uk/VisualDroid/img/droidGrounded.gif\");\n droidImageGrounded = new ImageIcon(droidGroundedImageURL);\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n droidLabel = new JLabel(new ImageIcon(droidGroundedImageURL));\n droidLabel = new JLabel(new ImageIcon(droidHoverImageURL));\n droidLabel.setLocation(droidPositionX, droidPositionY);\n droidLabel.setSize(50, 50);\n droidLabel.createImage(50, 50);\n droidLabel.setIcon(droidImageGrounded);\n gamePanel.add(droidLabel);\n\n landscapeLabel = new JLabel(new ImageIcon(landscapeImage));\n landscapeLabel.setLocation(0, 80);\n landscapeLabel.setSize(750, 600);\n landscapeLabel.createImage(750, 600);\n gamePanel.add(landscapeLabel);\n\n totalGUI.setOpaque(true);\n return totalGUI;\n }", "title": "" }, { "docid": "5657c72d628b4df671e26ff3f7401c78", "score": "0.68092185", "text": "private void createComponents() {\n\n\t\tpnlContent = new JPanel();\n\t\tpnlContent.add(createSearchPanel());\n\t\tlblWarning = new JLabel();\n\t\tlblWarning.setForeground(Color.RED);\n\t\tlblWarning.setFont(new Font(\"Arial\", Font.ITALIC, 12));\n\t\tadd(pnlContent, BorderLayout.CENTER);\n\t\tadd(createButtonPanel(), BorderLayout.NORTH);\n\t\tadd(lblWarning, BorderLayout.SOUTH);\n\t}", "title": "" }, { "docid": "3357c9c82fe28a223f75ddbf018c121f", "score": "0.6801184", "text": "protected void createContents() {\n\t\tsetText(\"Engima\");\n\t\tsetSize(450, 300);\n\n\t}", "title": "" }, { "docid": "7f4953349d742ecbe0189a142e8ab92f", "score": "0.6799679", "text": "private void setupPanel()\n\t{\n\t\tthis.setLayout(baseLayout);\n\t\tthis.add(firstButton);\n\t\tthis.add(firstTextField);\n\t\tthis.setBackground(Color.BLUE);\n\t}", "title": "" }, { "docid": "167762dfda6e14068ddc6da4d36acdae", "score": "0.67980283", "text": "public MainInterface() {\n initComponents();\n \n \n patientRegistrationPanel = new PatientRegistrationPanel();\n jPanelCard.add(patientRegistrationPanel, \"jPanelPatientReg\");\n\n patientInfoPanel = new PatientInfoPanel();\n jPanelCard.add(patientInfoPanel, \"jPanelPatientInfo\");\n \n patientCheckoutPanel = new PatientCheckoutPanel();\n jPanelCard.add(patientCheckoutPanel, \"jPanelPatientCheckout\");\n \n roomInfoPanel = new RoomInfoPanel();\n jPanelCard.add(roomInfoPanel, \"jPanelRoomInfo\");\n\n card = (CardLayout) jPanelCard.getLayout();\n\n }", "title": "" }, { "docid": "6a5994dda81a3c61c0a0cf2d62a1ab77", "score": "0.67979586", "text": "protected JPanel createControlPanel() {\n\t\tJPanel mainPanel = new JPanel(new BorderLayout());\n\n\t\tGridBagLayout gridbag = new GridBagLayout();\n\t\tGridBagConstraints c = new GridBagConstraints();\n\t\tc.gridwidth = GridBagConstraints.REMAINDER; // end row\n\t\tc.fill = GridBagConstraints.HORIZONTAL;\n\n\t\tJPanel panel = new JPanel(gridbag);\n\t\tpanel.setBorder(new TitledBorder(\"Control\"));\n\n\t\tmAddAndOperBtn = makeButton(panel, \"Add AND\", gridbag, c);\n\t\tmAddOROperBtn = makeButton(panel, \"Add OR\", gridbag, c);\n\t\tmAddCondBtn = makeButton(panel, \"Add Condition\", gridbag, c);\n\t\tmRemoveBtn = makeButton(panel, \"Remove\", gridbag, c);\n\t\tmainPanel.add(panel, BorderLayout.NORTH);\n\n\t\tmAddCondBtn.setEnabled(true);\n\t\tmAddAndOperBtn.setEnabled(true);\n\t\tmAddOROperBtn.setEnabled(true);\n\t\tmRemoveBtn.setEnabled(false);\n\n\t\tmAddCondBtn.addActionListener(new AbstractAction() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tDBWhereOperator parent = getParentForInsert();\n\t\t\t\t// if (parent != null || mModel.getSize() == 0) {\n\t\t\t\tif (mModel.getSize() == 0) {\n\t\t\t\t\tString tableName = (String) mTablesCombobox.getItemAt(0);\n\t\t\t\t\tString fieldName = (String) mFieldsCombobox.getItemAt(0);\n\t\t\t\t\tDBWhereCondition cond = new DBWhereCondition(parent,\n\t\t\t\t\t\t\ttableName, fieldName, DataType.STR);\n\t\t\t\t\tDSTableFieldIFace fieldIFace = DBUIUtils.getFieldByName(\n\t\t\t\t\t\t\tmSchema, tableName, fieldName);\n\t\t\t\t\tif (fieldIFace != null) {\n\t\t\t\t\t\tcond.setDataType(fieldIFace.getDataType());\n\t\t\t\t\t}\n\t\t\t\t\taddNewItem(parent, cond);\n\t\t\t\t\tgenerateAndSetWhereText();\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\tmAddAndOperBtn.addActionListener(new AbstractAction() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\taddOperator(DBWhereOperator.AND_OPER);\n\t\t\t}\n\t\t});\n\n\t\tmAddOROperBtn.addActionListener(new AbstractAction() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\taddOperator(DBWhereOperator.OR_OPER);\n\t\t\t}\n\t\t});\n\n\t\tmRemoveBtn.addActionListener(new AbstractAction() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tint inx = mList.getSelectedIndex();\n\t\t\t\tif (inx != -1) {\n\t\t\t\t\tDBWhereIFace item = (DBWhereIFace) mModel.getElementAt(inx);\n\n\t\t\t\t\t// First remove the item from its parent\n\t\t\t\t\tDBWhereIFace parent = item.getParent();\n\t\t\t\t\tif (parent != null) {\n\t\t\t\t\t\tif (parent.isOperator()\n\t\t\t\t\t\t\t\t&& parent instanceof DBWhereOperator) // safety\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// checks\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// (should\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// NEVER\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// fail)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t((DBWhereOperator) parent).remove(item);\n\t\t\t\t\t\t\tif (item.isOperator()\n\t\t\t\t\t\t\t\t\t&& item instanceof DBWhereOperator) {\n\t\t\t\t\t\t\t\t((DBWhereOperator) parent)\n\t\t\t\t\t\t\t\t\t\t.remove(((DBWhereOperator) item)\n\t\t\t\t\t\t\t\t\t\t\t\t.getClosure());\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Now remove it from the List Model\n\t\t\t\t\tmModel.remove(item);\n\t\t\t\t\tmList.clearSelection();\n\t\t\t\t\tgenerateAndSetWhereText();\n\n\t\t\t\t\tSwingUtilities.invokeLater(new Runnable() {\n\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t// valueChanged(null);\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\treturn mainPanel;\n\t}", "title": "" }, { "docid": "146661a23ffae00609f9d87bea240219", "score": "0.6795902", "text": "private void $$$setupUI$$$() {\n mainPanel = new JPanel();\n mainPanel.setLayout(new GridLayoutManager(2, 1, new Insets(0, 0, 0, 0), -1, -1));\n mainPanel.setAutoscrolls(true);\n mainPanel.setOpaque(false);\n bottomPanel = new JPanel();\n bottomPanel.setLayout(new GridLayoutManager(1, 3, new Insets(0, 0, 0, 0), -1, -1));\n mainPanel.add(bottomPanel, new GridConstraints(1, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));\n textField1 = new JTextField();\n textField1.setAlignmentX(0.0f);\n textField1.setAlignmentY(0.0f);\n textField1.setMargin(new Insets(2, 6, 2, 6));\n textField1.setToolTipText(\"Введите ваше сообщение\");\n bottomPanel.add(textField1, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));\n sendButton = new JButton();\n sendButton.setText(\"Отправить\");\n bottomPanel.add(sendButton, new GridConstraints(0, 2, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n fileButton = new JButton();\n fileButton.setText(\"Файл\");\n bottomPanel.add(fileButton, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n final JPanel panel1 = new JPanel();\n panel1.setLayout(new GridLayoutManager(1, 2, new Insets(0, 0, 0, 0), -1, -1));\n mainPanel.add(panel1, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_WANT_GROW, null, null, null, 0, false));\n scrollPane = new JScrollPane();\n panel1.add(scrollPane, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_WANT_GROW, null, null, null, 0, false));\n textArea = new JTextArea();\n textArea.setFocusable(false);\n textArea.setLineWrap(true);\n textArea.setWrapStyleWord(true);\n panel1.add(textArea, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, new Dimension(150, 50), null, 0, false));\n }", "title": "" }, { "docid": "4b5015bb4f36e581e6d916afeca6dec8", "score": "0.67927516", "text": "public abstract JPanel getMainPanel();", "title": "" }, { "docid": "42a49897f3be9e5cee194e8985a61a02", "score": "0.67829555", "text": "public void onModuleLoad() {\r\n\t\t//Create 3 verticals panels\r\n\t\tHorizontalPanel mainPanel_HorizontalPanel = new HorizontalPanel();\r\n\t\t\r\n\t\tVerticalPanel leftPanel_VerticalPanel = new VerticalPanel();\r\n\t\tleftPanel_VerticalPanel.setStyleName(CSS_STYLE_COLUMN);\r\n\t\tmainPanel_HorizontalPanel.add(leftPanel_VerticalPanel);\r\n\t\tVerticalPanel centerPanel_VerticalPanel = new VerticalPanel();\r\n\t\tcenterPanel_VerticalPanel.setStyleName(CSS_STYLE_COLUMN);\r\n\t\tmainPanel_HorizontalPanel.add(centerPanel_VerticalPanel);\r\n\t\tVerticalPanel rightPanel_VerticalPanel = new VerticalPanel();\r\n\t\trightPanel_VerticalPanel.setStyleName(CSS_STYLE_COLUMN);\r\n\t\tmainPanel_HorizontalPanel.add(rightPanel_VerticalPanel);\r\n\t\t\r\n\t\tLabel surfaceTitle_Label = new Label(\"Surface\");\r\n\t\tsurfaceTitle_Label.setStyleName(CSS_STYLE_TITLE);\r\n\t\tleftPanel_VerticalPanel.add(surfaceTitle_Label);\r\n\t\tLabel nativeHandlerTitle_Label = new Label(\"Native Events\");\r\n\t\tnativeHandlerTitle_Label.setStyleName(CSS_STYLE_TITLE);\r\n\t\tcenterPanel_VerticalPanel.add(nativeHandlerTitle_Label);\r\n\t\tLabel mouseManagerTitle_Label = new Label(\"Mouse Manager Events\");\r\n\t\tmouseManagerTitle_Label.setStyleName(CSS_STYLE_TITLE);\r\n\t\trightPanel_VerticalPanel.add(mouseManagerTitle_Label);\r\n\t\t\r\n\t\tsurface = new AdvSurface(300, 300);\r\n\t\taddNativeMouseHandlers(surface);\r\n\t\taddMouseHandlers(surface);\t\t\t\r\n\t\tleftPanel_VerticalPanel.add(surface);\r\n\t\t\r\n\t\tnativeEvents_VerticalPanel = new VerticalPanel();\r\n\t\tcenterPanel_VerticalPanel.add(nativeEvents_VerticalPanel);\r\n\t\t\r\n\t\tmouseManagerEvents_VerticalPanel = new VerticalPanel();\r\n\t\trightPanel_VerticalPanel.add(mouseManagerEvents_VerticalPanel);\r\n\t\t\r\n\t\tRootPanel.get().add(mainPanel_HorizontalPanel);\r\n\t}", "title": "" }, { "docid": "1e94f370c4d10a010c844963f140883b", "score": "0.6782332", "text": "protected void createContents() {\n\t\tshlHostel = new Shell();\n\t\tshlHostel.setBackground(SWTResourceManager.getColor(255, 182, 193));\n\t\tshlHostel.setSize(450, 300);\n\t\tshlHostel.setText(\"Hostel\");\n\t\t\n\t\tLabel lblNewLabel = new Label(shlHostel, SWT.NONE);\n\t\tlblNewLabel.setBackground(SWTResourceManager.getColor(255, 218, 185));\n\t\tlblNewLabel.setBounds(10, 10, 414, 159);\n\t\tlblNewLabel.setText(\"About the hostel\");\n\t\t\n\t\tLabel lblNewLabel_1 = new Label(shlHostel, SWT.NONE);\n\t\tlblNewLabel_1.setBounds(10, 179, 127, 72);\n\t\tlblNewLabel_1.setText(\"pics\");\n\t\t\n\t\tLabel lblPics = new Label(shlHostel, SWT.NONE);\n\t\tlblPics.setBounds(143, 179, 140, 72);\n\t\tlblPics.setText(\"pics\");\n\t\t\n\t\tLabel lblPics_1 = new Label(shlHostel, SWT.NONE);\n\t\tlblPics_1.setBounds(289, 179, 121, 71);\n\t\tlblPics_1.setText(\"pics\");\n\n\t}", "title": "" }, { "docid": "833aa540e1fd72a83842c2e1fe03d058", "score": "0.67795676", "text": "protected void createFrame() {\n // basic setup\n setIconImage(ComponentHelper.getImage(\"weka_icon.gif\"));\n setSize(ArffViewerMainPanel.WIDTH, ArffViewerMainPanel.HEIGHT);\n setCenteredLocation();\n setDefaultCloseOperation(DISPOSE_ON_CLOSE);\n // remove the listener - otherwise we get the strange behavior that one\n // frame receives a window-event for every single open frame!\n removeWindowListener(this);\n // add listener anew\n addWindowListener(this);\n \n getContentPane().setLayout(new BorderLayout());\n \n m_MainPanel = new ArffViewerMainPanel(this);\n m_MainPanel.setConfirmExit(false);\n getContentPane().add(m_MainPanel, BorderLayout.CENTER);\n \n setJMenuBar(m_MainPanel.getMenu());\n }", "title": "" }, { "docid": "60fb0c6c1920a134f216997f88ef833c", "score": "0.6773849", "text": "public JComponent getMainPanel();", "title": "" }, { "docid": "2b4198e279b77ebe38b28c5951e3dc35", "score": "0.67683715", "text": "protected void initTopPanel() {\n\t\torg.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(hidrocon.HidroconApp.class).getContext().getResourceMap(HidroconView.class);\n\t\ttopPanel.setTitle(\" \" + resourceMap.getString(\"buildingselection.toppanel.title\"));\n\n HidroSelectButton selectButton = new HidroSelectButton();\n HidroExitButton exitButton = new HidroExitButton();\n \n \t\tselectButton.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n selectBuilding();\n\t\t\t}\n\t\t});\n\t\texitButton.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tclose();\n\t\t\t}\n\t\t});\n\n selectButton.setToolTipText(resourceMap.getString(\"buildingselection.toolbar.selectbutton.tooltip\"));\n exitButton.setToolTipText(resourceMap.getString(\"buildingselection.toolbar.exitbutton.tooltip\"));\n\n topPanel.addButton(selectButton);\n topPanel.addButton(exitButton);\n\t}", "title": "" }, { "docid": "cc458fb9a11c1847b932c03164736a35", "score": "0.67657083", "text": "private JPanel initializeTopPane() {\r\n // top panel\r\n JPanel labelPanel = new JPanel();\r\n labelPanel.setLayout(new BorderLayout());\r\n labelPanel.setOpaque(false);\r\n\r\n // count label\r\n try {\r\n countLabel = new MzDataCountLabel(controller.getNumberOfSpectra(), controller.getNumberOfChromatograms());\r\n } catch (DataAccessException e) {\r\n String msg = \"Error while creating mzData count label\";\r\n logger.error(msg);\r\n context.addThrowableEntry(new ThrowableEntry(MessageType.ERROR, msg, e));\r\n }\r\n labelPanel.add(countLabel, BorderLayout.WEST);\r\n\r\n // button panel\r\n JToolBar toolBar = new JToolBar();\r\n toolBar.setOpaque(false);\r\n toolBar.setFloatable(false);\r\n toolBar.setLayout(new FlowLayout(FlowLayout.RIGHT));\r\n\r\n // load next button\r\n // load icon\r\n Icon loadNextIcon = GUIUtilities.loadIcon(context.getProperty(\"load.next.mzdata.small.icon\"));\r\n loadNextButton = GUIUtilities.createLabelLikeButton(loadNextIcon, context.getProperty(\"load.next.mzdata.title\"));\r\n loadNextButton.setToolTipText(context.getProperty(\"load.next.mzdata.tooltip\"));\r\n loadNextButton.setForeground(Color.blue);\r\n // set action command\r\n loadNextButton.setActionCommand(LOAD_NEXT);\r\n loadNextButton.addActionListener(this);\r\n\r\n toolBar.add(loadNextButton);\r\n\r\n // add gap\r\n toolBar.add(Box.createRigidArea(new Dimension(10, 10)));\r\n\r\n // load all button\r\n // load icon\r\n Icon loadAllIcon = GUIUtilities.loadIcon(context.getProperty(\"load.all.mzdata.small.icon\"));\r\n loadAllButton = GUIUtilities.createLabelLikeButton(loadAllIcon, context.getProperty(\"load.all.mzdata.title\"));\r\n loadAllButton.setToolTipText(context.getProperty(\"load.all.mzdata.tooltip\"));\r\n loadAllButton.setForeground(Color.blue);\r\n\r\n // set action command\r\n loadAllButton.setActionCommand(LOAD_ALL);\r\n loadAllButton.addActionListener(this);\r\n\r\n toolBar.add(loadAllButton);\r\n // add gap\r\n toolBar.add(Box.createRigidArea(new Dimension(10, 10)));\r\n\r\n // export button\r\n Icon exportIcon = GUIUtilities.loadIcon(context.getProperty(\"export.enabled.small.icon\"));\r\n Icon disabledExportIcon = GUIUtilities.loadIcon(context.getProperty(\"export.disabled.small.icon\"));\r\n\r\n exportButton = GUIUtilities.createLabelLikeButton(exportIcon, \"Export\");\r\n exportButton.setDisabledIcon(disabledExportIcon);\r\n exportButton.setToolTipText(context.getProperty(\"export.tooltip\"));\r\n exportButton.setForeground(Color.blue);\r\n\r\n // set action command\r\n exportButton.setActionCommand(EXPORT);\r\n exportButton.addActionListener(this);\r\n\r\n toolBar.add(exportButton);\r\n // add gap\r\n toolBar.add(Box.createRigidArea(new Dimension(10, 10)));\r\n\r\n // Help button\r\n // load icon\r\n Icon helpIcon = GUIUtilities.loadIcon(context.getProperty(\"help.icon.small\"));\r\n JButton helpButton = GUIUtilities.createLabelLikeButton(helpIcon, null);\r\n helpButton.setToolTipText(\"Help\");\r\n helpButton.setForeground(Color.blue);\r\n CSH.setHelpIDString(helpButton, \"help.browse.mzgraph\");\r\n helpButton.addActionListener(new CSH.DisplayHelpFromSource(context.getMainHelpBroker()));\r\n toolBar.add(helpButton);\r\n\r\n labelPanel.add(toolBar, BorderLayout.EAST);\r\n\r\n return labelPanel;\r\n }", "title": "" }, { "docid": "34e4d2b8034c6cc12aa8ac7e8b69a727", "score": "0.67647237", "text": "private JPanel createNorthPanel() \n\t{\n\t\tJPanel panel = new JPanel();\n\t\t\n\t\tpanel.setLayout(new BorderLayout());\n\t\t\t\n\t\tJPanel tabPanel = createTabPanel();\n\t\tpanel.add(tabPanel, BorderLayout.SOUTH);\n\t\t\n\t\treturn panel;\n\t}", "title": "" }, { "docid": "fe94ac1b7a09ed07664e270d7d3f9509", "score": "0.67611176", "text": "public void makeListYourCarPanel() {\r\n\r\n listingsPage = new JPanel(new GridLayout(0, 2));\r\n JButton mainMenuButton = new JButton(\"Return to Main Menu\");\r\n mainMenuButton.setActionCommand(\"Return to main menu\");\r\n mainMenuButton.addActionListener(this);\r\n addMenuButton(mainMenuButton, listingsPage);\r\n\r\n createListingsPage();\r\n addLabelsToListings();\r\n }", "title": "" }, { "docid": "3e526bac953fdeb9cad53544ad4d7b1c", "score": "0.67601377", "text": "private void $$$setupUI$$$() {\r\n panel = new JPanel();\r\n panel.setLayout(new GridLayoutManager(5, 3, new Insets(0, 0, 0, 0), -1, -1));\r\n panel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10), null, TitledBorder.DEFAULT_JUSTIFICATION, TitledBorder.DEFAULT_POSITION, this.$$$getFont$$$(null, -1, -1, panel.getFont()), null));\r\n b_start_host = new JButton();\r\n b_start_host.setIcon(new ImageIcon(getClass().getResource(\"/server.png\")));\r\n b_start_host.setText(\"Host Game\");\r\n b_start_host.setToolTipText(\"Host a game\");\r\n panel.add(b_start_host, new GridConstraints(1, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\r\n b_start_join = new JButton();\r\n b_start_join.setIcon(new ImageIcon(getClass().getResource(\"/link.png\")));\r\n b_start_join.setText(\"Join Game\");\r\n b_start_join.setToolTipText(\"Join a game\");\r\n panel.add(b_start_join, new GridConstraints(2, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\r\n b_settings = new JButton();\r\n b_settings.setIcon(new ImageIcon(getClass().getResource(\"/settings.png\")));\r\n b_settings.setText(\"Settings\");\r\n b_settings.setToolTipText(\"Open the settings\");\r\n panel.add(b_settings, new GridConstraints(3, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\r\n b_exit = new JButton();\r\n b_exit.setIcon(new ImageIcon(getClass().getResource(\"/logout.png\")));\r\n b_exit.setText(\"Exit\");\r\n b_exit.setToolTipText(\"Exit the application\");\r\n panel.add(b_exit, new GridConstraints(4, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\r\n final Spacer spacer1 = new Spacer();\r\n panel.add(spacer1, new GridConstraints(1, 2, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, 1, null, null, null, 0, false));\r\n final Spacer spacer2 = new Spacer();\r\n panel.add(spacer2, new GridConstraints(1, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, 1, null, null, null, 0, false));\r\n gameName = new JLabel();\r\n gameName.setIcon(new ImageIcon(getClass().getResource(\"/ship.png\")));\r\n gameName.setText(\"BattleShip game v.0.0.1\");\r\n panel.add(gameName, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\r\n }", "title": "" } ]
18d19beea15357b2b95e3f697181a53b
menu buttons clicks handling
[ { "docid": "f815a77c747d41cd468f0c1a6d95d2fb", "score": "0.0", "text": "public void handleClicks(ActionEvent actionEvent) throws IOException {\n if (actionEvent.getSource() == btnOverview) {\n showOverview();\n }\n if (actionEvent.getSource() == btnCustomers) {\n showCustomers();\n }\n if (actionEvent.getSource() == btnCars) {\n showCars();\n }\n if (actionEvent.getSource() == btnBlacklist) {\n showBlacklist();\n }\n if (actionEvent.getSource() == btnInfo) {\n showInfo();\n }\n if(actionEvent.getSource() == btnSignout)\n {\n Parent parent = FXMLLoader.load(getClass().getResource(\"../UI/login.fxml\"));\n Scene signoutScene = new Scene(parent);\n Stage window = (Stage)((Node)actionEvent.getSource()).getScene().getWindow();\n\n window.setScene(signoutScene);\n window.show();\n }\n }", "title": "" } ]
[ { "docid": "2d4452281e9de9b791cff0b76f573ccf", "score": "0.75600505", "text": "@Override\n public void onMenuClick() {\n }", "title": "" }, { "docid": "36b511f9576f1a42eb3927855ba98b99", "score": "0.7425774", "text": "@OnClick(R.id.menu_button)\n public void menuButtonClicked() {\n //unfold the menu.\n //photo icon credits go to www.flaticon.com\n\n //if the toolbar is not unfolded.\n //play sound.\n if (unFoldMenu == false) {\n //unfold the buttons down.\n unfoldMenu();\n } else {\n //if they are unfolded, fold them back up.\n foldMenu();\n }\n }", "title": "" }, { "docid": "472a3477aea59f1575239ca8ad63ab8a", "score": "0.739028", "text": "private void menuHandler(){\n topUpOption.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n Intent moveToPurchaseCoins = new Intent(getContext(), PurchaseCoinsActivity.class);\n startActivity(moveToPurchaseCoins);\n }\n });\n\n dailyServiceOption.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n moveToDailyService();\n }\n });\n\n monthlyServiceOption.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n moveToMontlhyMaid();\n }\n });\n }", "title": "" }, { "docid": "72b6048d5ad884d31ef113fbd7cffa14", "score": "0.7224161", "text": "Object getNextClickedMenu();", "title": "" }, { "docid": "93060bf553328a61a639d6a71a9e48ac", "score": "0.7222306", "text": "@Override\n\tpublic void onClick(View v) {\n\t\tswitch (v.getId()) {\n\t\tcase R.id.menu_first_btn:\n\t\t\tpresenter.initPopItems(v);\n\t\t\tbreak;\n\t\tcase R.id.menu_second_btn:\n\t\t\t// startActivity(new Intent(MainActivity.this,\n\t\t\t// WhiteListActivity.class));\n\t\t\tpresenter.initPopItems(v);\n\t\t\tbreak;\n\t\tcase R.id.menu_third_btn:\n\t\t\tpresenter.initPopItems(v);\n\t\t\tbreak;\n\t\tcase R.id.menu_fourth_btn:\n\t\t\tpresenter.initPopItems(v);\n\t\t\tbreak;\n\t\tcase R.id.tracking_button:\n\t\t\tif (presenter.trackingSwitch())\n\t\t\t\tToast.makeText(this, \"追踪模式开启\", Toast.LENGTH_SHORT)\n\t\t\t\t\t\t.show();\n\t\t\telse\n\t\t\t\tToast.makeText(this, \"追踪模式关闭\", Toast.LENGTH_SHORT)\n\t\t\t\t\t\t.show();\n\t\t\tbreak;\n\t\tcase R.id.locating_button:\n\t\t\tbreak;\n\t\tcase R.id.terminal_name_layout:\n\t\t\tpresenter.initPopItems(v);\n\t\t\tbreak;\n\t\t}\n\t}", "title": "" }, { "docid": "827ff07151d1223e4329416b1ea6bca1", "score": "0.72097594", "text": "public void clickMenuButton()\n\t{\n\t\ttry {\n\t\t\tminWait();\n\t\t\taDriver.pressKeyCode(AndroidKeyCode.KEYCODE_MENU);\n\t\t\tminWait();\n\t\t}catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "463ef92095017c199a159a2f30829c7f", "score": "0.7128926", "text": "String getClickedMenu();", "title": "" }, { "docid": "12a538eb52ce25661c1dd68476a829d4", "score": "0.71036935", "text": "public void onMenuShow(Button button, Menu menu) {\n\n\t}", "title": "" }, { "docid": "b33e7a41237e1ddc727d81a178bc800e", "score": "0.6999265", "text": "public void clickOnMenu(){\n AndroidHelper.click(driver,MENU);\n }", "title": "" }, { "docid": "f74ba81ccab027bd364d02bf02efc97b", "score": "0.69711095", "text": "public void pressClickInTheMenuPresentation() {\r\n\t\twaitForAnExplicitElement(BOTTON_PLUS_MENU);\r\n\t\tclick(BOTTON_PLUS_MENU);\r\n\t\twaitForAnExplicitElement(BOTTON_PLUS_MENU);\r\n\t\tclick(BOTTON_PLUS_MENU);\r\n\t}", "title": "" }, { "docid": "ed9fb0b350cab34179e63f30ae12d3c9", "score": "0.69255286", "text": "void setClickedMenu(String clickedMenu);", "title": "" }, { "docid": "e303859313a0e417642319c9b84db9a5", "score": "0.6903483", "text": "@Override\n public void onClick(View view) {\n Log.d(TAG, \"clicked: \" + menuItem.getItemId());\n }", "title": "" }, { "docid": "87d036d7c1881f53c18b70201f5b7731", "score": "0.6900285", "text": "boolean onMenuAction(MenuItem item);", "title": "" }, { "docid": "e5b46efe306ff2ccfe065a0aec5202e1", "score": "0.6869555", "text": "public void mouseClicked(MouseEvent e)\n { \n int x = e.getX();\t\t//The x,y coordinates of the mouseclick\n int y = e.getY();\n \n //Check the current STATE to see what buttons to be \"activated\" and possible to click on\n if(m.getState()==STATE.MENU)\t\t\n { \n \tmenuButtons(m, m.getMenu(),x,y);\n }\n if(m.getState()==STATE.CARCONFIG) {\n \tcarConfigButtons(m, m.getMenu(),x,y);\n } \n if(m.getState()==STATE.MAP_SELECTION)\t\n { \n \tselectMapButtons(m, m.getMenu(),x,y);\n }\n if(m.getState()==STATE.GAMEFINISHED) {\n \t\n \tplayagainOptionButtons(m, m.getMenu(),x,y);\n }\n if(m.getState()==STATE.HIGHSCORE)\t\t\n { \n \tselectHighscoreButtons(m, m.getMenu(),x,y);\n }\n \n \n }", "title": "" }, { "docid": "bd324c000df47c1e35bed47261a0efff", "score": "0.6839271", "text": "private void menu3ActionPerformed(ActionEvent e) {\n }", "title": "" }, { "docid": "4ae2ed0211d6a011a3ba56454315b7eb", "score": "0.67926574", "text": "public void onMenuItemPressed(int id) {\n boolean isCloseMenu = true;\n switch (id) {\n default:\n isCloseMenu = false;\n break;\n }\n\n if (isCloseMenu) closeMenuPanel();\n }", "title": "" }, { "docid": "2c5f9200ccedfaeee0411fd1e63bcd8a", "score": "0.67778134", "text": "public void buttonBuyMenu()\n {\n\n }", "title": "" }, { "docid": "8927a8e70225b644596aab26d18754e2", "score": "0.677615", "text": "private void viewMenuSearchButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_viewMenuSearchButtonActionPerformed\n viewMenu(); \n }", "title": "" }, { "docid": "1d5d796424a827ec151277928bf6940b", "score": "0.6772485", "text": "public void menuClick(View view) {\n if (view.getId() == R.id.prefsButton) {\n Intent intent = new Intent(this, PreferencesActivity.class);\n startActivity(intent);\n } else if (view.getId() == R.id.addFriends) {\n Intent intent = new Intent(this, FriendActivity.class);\n startActivity(intent);\n } else if (view.getId() == R.id.addGroup) {\n Intent intent = new Intent(this, GroupActivity.class);\n startActivity(intent);\n }\n }", "title": "" }, { "docid": "70916abb3228b73bc4a438b2204e6e2e", "score": "0.6772178", "text": "void onItemClick(ItemMenu item, int posicion);", "title": "" }, { "docid": "b6576dbf072e3efd2a81be3f1f113ab3", "score": "0.67699075", "text": "private void menuButtons(Model model, Menu m,int x,int y)\n {\n \t//Check on playBtn\n if(x >= m.getPlayBtn().getX() && x <= m.getPlayBtn().getX()+m.getPlayBtn().getWidth())\n {\n if(y >= m.getPlayBtn().getY() && y <= m.getPlayBtn().getY()+m.getPlayBtn().getHeight())\n {\n \t model.stateMap();\n }\n }\n \t//Check on ConfigBtn \n if(x >= m.getConfigBtn().getX() && x <= m.getConfigBtn().getX()+m.getConfigBtn().getWidth())\n {\n if(y >= m.getConfigBtn().getY() && y <= m.getConfigBtn().getY()+m.getConfigBtn().getHeight())\n {\n model.stateConfig();\n }\n }\n //Check on quitBtn\n if(x >= m.getQuitBtn().getX() && x <= m.getQuitBtn().getX()+m.getQuitBtn().getWidth())\n {\n if(y >= m.getQuitBtn().getY() && y <= m.getQuitBtn().getY()+m.getQuitBtn().getHeight())\n {\n System.exit(0);\n }\n }\n //Check on HighscoreBtn\n if(x >= m.getHighscoreBtn().getX() && x <= m.getHighscoreBtn().getX()+m.getHighscoreBtn().getWidth())\n {\n if(y >= m.getHighscoreBtn().getY() && y <= m.getHighscoreBtn().getY()+m.getHighscoreBtn().getHeight())\n {\n model.stateHighscore();\n }\n } \n }", "title": "" }, { "docid": "8c886d5e59df5a9af50b43c5f7881871", "score": "0.6766058", "text": "@Override\n\t\t\tpublic boolean onMenuItemClick(MenuItem arg0) {\n\t\t\t\tfindall();\n\t\t\t\treturn false;\n\t\t\t}", "title": "" }, { "docid": "6ed42f819b0e19f740123f127569ff20", "score": "0.6764526", "text": "public void mainMenu() {\n\t\t\r\n\t}", "title": "" }, { "docid": "3721c8f6a33ac48b4b68edab434df6b1", "score": "0.6760198", "text": "public void switchMenu() {\n // TODO: 2/25/2017\n }", "title": "" }, { "docid": "5a32538f1e46a9f29c1051031eea804d", "score": "0.67502546", "text": "@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tshowMenu();\n\t\t\t}", "title": "" }, { "docid": "2bc041f5d326cb907a0a2873d54d0a08", "score": "0.67428476", "text": "@Override\r\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tString cmd = e.getActionCommand();\r\n\t\tif(cmd.equals(\"Home\")){\r\n\t\t\t\r\n\t\t\thome();\r\n\t\t\t\r\n\t\t\r\n\t\t}\r\n\t\telse if(cmd.equals(\"Back\")){\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tback();\r\n\t\t\r\n\t\t}\r\n\t\telse if(cmd.equals(\"Sub\")){\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tview();\r\n\t\t\t\r\n\t\t\t}\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n\t\r\n\r\n\t}", "title": "" }, { "docid": "44d10bea8a922e7df005b00e62a39cd5", "score": "0.674073", "text": "@Override\n public void clicked(InputEvent event, float x, float y) {\n game.setScreen(game.menuScreen);\n super.clicked(event, x, y);\n }", "title": "" }, { "docid": "0c3f8336a20b49d18ed23bf04a5cd1dc", "score": "0.6736651", "text": "@Override\n\t\t\tpublic void onClick() {\n\t\t\t\tdisableUIManager();\n\t\t\t\tsimulation.getMenuState().enableUIManager();\n\t\t\t\tState.setState(simulation.getMenuState());\n\t\t\t}", "title": "" }, { "docid": "1ce3187770ffb730a8726fb4d75e3922", "score": "0.6730987", "text": "public void MenuButtonClicked(View view)\n {\n Intent menuInt = new Intent(this, MenuActivity.class);\n startActivity(menuInt);\n }", "title": "" }, { "docid": "703ed9f1a187ade10d945bb523b69975", "score": "0.67154795", "text": "void menuEvent(double x, double y, double xAbs, double yAbs,\n boolean isKeyboardTrigger);", "title": "" }, { "docid": "87e41f000147c83052a76be948c7b04b", "score": "0.67065567", "text": "@Override\n\tpublic void onMenuKeyPressed() {\n\t\t\n\t}", "title": "" }, { "docid": "1c286c77b54b7a1b1a7911fa21e47cb2", "score": "0.6690724", "text": "private void showMainMenuButtons() {\n // remove unused actions\n menu.removeAction(ACTION_WEAVE_STATE_MACHINES);\n menu.removeAction(ACTION_WEAVE_STATE_MACHINES_NO_CSP);\n menu.removeAction(ACTION_BACK);\n menu.removeAction(ACTION_CLOSE_SPLIT_VIEW);\n\n // Back to concern button\n if (menu.getAction(ACTION_CONCERN_BACK) == null) {\n this.getMenu().addAction(Strings.MENU_BACK_CONCERN, Icons.ICON_MENU_BACK, ACTION_CONCERN_BACK, this, true);\n }\n // Generate and weave\n if (menu.getAction(ACTION_GENERATE_CODE) == null) {\n this.getMenu().addAction(Strings.MENU_GENERATE_CODE, Icons.ICON_MENU_GENERATE, ACTION_GENERATE_CODE,\n this, SUBMENU_GENERATE, true);\n }\n if (menu.getAction(ACTION_WEAVE_ALL) == null) {\n this.getMenu().addAction(Strings.MENU_WEAVE_ALL, Icons.ICON_MENU_WEAVE, ACTION_WEAVE_ALL, this,\n SUBMENU_WEAVE, true);\n }\n }", "title": "" }, { "docid": "4b7ab5a2c3030caf8594461810767670", "score": "0.66809756", "text": "public void menu();", "title": "" }, { "docid": "d7156ca5856f3c0d055efb1db015054e", "score": "0.66712177", "text": "void clicked();", "title": "" }, { "docid": "a114bf6124058e77c4ec4253019315a8", "score": "0.66511035", "text": "public void buttonSellMenu()\n {\n\n }", "title": "" }, { "docid": "29c6ab4065f7b583b3dc677bac840a59", "score": "0.6650115", "text": "@Override\r\n\tpublic void onClick(int whichButton) {\n\t\tif (whichButton == 1) {\r\n\t\t\t\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "3e678c3caace76ac6e7c62888ea7a5f5", "score": "0.66321427", "text": "void onGlobalMenuButtonShown();", "title": "" }, { "docid": "4861c51eb9cb9bd53f050485f245b0f1", "score": "0.6581127", "text": "private void doMenuLogic() {\n\t\tif(menuControlsBuffer.isEmpty()) {\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tint key = 0;\n\t\t\n\t\ttry {\n\t\t\tkey = menuControlsBuffer.dequeue();\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\tif(key == KeyEvent.VK_UP) {\n\t\t\tif(selectedMenuItem == 0) {\n\t\t\t\tselectedMenuItem = 2;\n\t\t\t} else {\n\t\t\t\tselectedMenuItem--;\n\t\t\t}\n\t\t} else if(key == KeyEvent.VK_DOWN) {\n\t\t\tif(selectedMenuItem == 2) {\n\t\t\t\tselectedMenuItem = 0;\n\t\t\t} else {\n\t\t\t\tselectedMenuItem++;\n\t\t\t}\n\t\t} else if(key == KeyEvent.VK_ENTER) {\n\t\t\tif(selectedMenuItem == 0) { // Start button\n\t\t\t\tresetGame();\n\t\t\t\tgameState = 1;\n\t\t\t} else if(selectedMenuItem == 1) { // Settings button\n\t\t\t\t// TODO: Create the settings menu\n\t\t\t} else { // Exit button\n\t\t\t\ttimer.stop();\n\t\t\t\t//Spaceship.spaceship.dispose();\n\t\t\t}\n\t\t} \n\t}", "title": "" }, { "docid": "e51b777edb99ab6488032a0c2698c36b", "score": "0.6560954", "text": "public void actionPerformed(ActionEvent arg0) {\r\n\t\t\tController.callmenu();\r\n\t\t}", "title": "" }, { "docid": "8fb0639390b9eaa5956cb0ab34302038", "score": "0.6556374", "text": "public void clickMenu(View view) {\n\n Intent intent = new Intent(this, FTMSMENU.class);\n startActivity(intent);\n\n }", "title": "" }, { "docid": "823c5a33973eee7de0f326626b1a54fe", "score": "0.6554502", "text": "private void singleBtnMouseClicked(java.awt.event.MouseEvent evt) {\n }", "title": "" }, { "docid": "41de6d4acbcdb9b13c1aaee0b597f911", "score": "0.65473086", "text": "protected void onMouseButton(int button, int action, int mode){}", "title": "" }, { "docid": "35a5f15ab38b17752c4355afb8397799", "score": "0.65424615", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.button_clicked, menu);\n return true;\n }", "title": "" }, { "docid": "eb5c60c6d73e2820e91c3ab9d31d6dc0", "score": "0.6533775", "text": "public void menuSelect(MenuSelectionEvent event);", "title": "" }, { "docid": "6eafc154f09d8a4e12831fc4ff01931c", "score": "0.6529225", "text": "public void menu() {\n }", "title": "" }, { "docid": "e8bd888564393f191b546d53f2c1d5c8", "score": "0.6519454", "text": "public void mouseClicked(MouseEvent e){\n int xClick = e.getX();\n int yClick = e.getY();\n\n if (gameState.equals(\"menu\")) {\n if (xClick < WIDTH / 8 - 10 && yClick < HEIGHT / 8 + 10) {\n gameState = \"help\";\n menuPolygons = initializeMenuPolygons(10, 140, WIDTH / 2, HEIGHT / 2 - 10);\n return;\n }\n clickMenuPolygon(xClick, yClick);\n }\n\n if (gameState.equals(\"help\")) {\n if (xClick < WIDTH / 8 && yClick < HEIGHT / 8) {\n gameState = \"menu\";\n frame.setBackground(Color.BLACK);\n menuPolygons = initializeMenuPolygons(10, 180);\n return;\n }\n clickMenuPolygon(xClick, yClick);\n }\n }", "title": "" }, { "docid": "b840ffd383c7d4c7647e19fabeda0956", "score": "0.64960486", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t/**\n * Creating all buttons instances\n * */\n // bouton du menu affichage par classe \n Button btn_classe = (Button) findViewById(R.id.menu1);\n \n // bouton du menu affichage complet\n Button btn_tous = (Button) findViewById(R.id.menu2);\n \n /**\n * Handling all button click events\n * */\n \n // Listening to News Feed button click\n \n\t\treturn true;\n\t}", "title": "" }, { "docid": "5acf77a1b43ba8e68c825d04ae88394e", "score": "0.6494653", "text": "@Override\n public boolean onMenuItemClick(MenuItem item) {\n return true;\n }", "title": "" }, { "docid": "ece22dcdccba02d17aaa91396a7571e3", "score": "0.6477815", "text": "public void processMouseEvent(MouseEvent event,MenuElement path[],MenuSelectionManager manager);", "title": "" }, { "docid": "f5572767983d4295f65cb468be5b99a7", "score": "0.64720577", "text": "public void buttonSetUpForMainMenu() {\n createButtonsForMainMenu();\n\n instructionButton.setActionCommand(\"instructionButton\");\n instructionButton.addActionListener(this);\n studyButton.setActionCommand(\"studyButton\");\n studyButton.addActionListener(this);\n quizButton.setActionCommand(\"quizButton\");\n quizButton.addActionListener(this);\n toMemorizeListButton.setActionCommand(\"toMemorizeListButton\");\n toMemorizeListButton.addActionListener(this);\n checkPointButton.setActionCommand(\"checkPointButton\");\n checkPointButton.addActionListener(this);\n saveButton.setActionCommand(\"saveButton\");\n saveButton.addActionListener(this);\n loadButton.setActionCommand(\"loadButton\");\n loadButton.addActionListener(this);\n quitButton.setActionCommand(\"quitButton\");\n quitButton.addActionListener(this);\n }", "title": "" }, { "docid": "6604ba4565b4642b2d8d2f14d4435270", "score": "0.6459409", "text": "public void clickOnToTheMenuButton() {\n\n\t\ttry {\n\t\t\ttoTheMenuButton.click();\n\t\t} catch (Exception e) {\n\t\t\tlog.info(\"Exception occured while clicking on To the menu button\" + e);\n\t\t}\n\t}", "title": "" }, { "docid": "2c3fc22f098fef3778268ec04e828e51", "score": "0.6448848", "text": "public void showMenu(){\r\n\t\t\r\n\t}", "title": "" }, { "docid": "2f9be1241db88e43058c7d081a93f814", "score": "0.6444435", "text": "public void buttonPressed(ButtonPressedEvent arg0) {\n\t\t\t\tmenu.close();\n\t\t\t\t\n\t\t\t\t/* Creo la pantalla de opciones de juego */\n\t\t\t\tbuildGameOptionsMenu();\n\t\t\t}", "title": "" }, { "docid": "4bab755e054b5b79eaf536d2a6a7e42e", "score": "0.64443994", "text": "public static void menu() {\n String text = MainConstants.MENU_PROMPT_1 + gamesPlayed + \n MainConstants.MENU_PROMPT_2 + totalPoints + \n MainConstants.MENU_PROMPT_3 + \n MainConstants.MENU_PROMPT_4 + \"2019 \" +\n MainConstants.MENU_PROMPT_5;\n String choice = MainClass.dialog.buttons(text, \n MainConstants.EXAMPLE_OPTIONS);\n if (choice.equals(MainConstants.EXAMPLE_OPTIONS[0])) \n menuCS30S();\n else if (choice.equals(MainConstants.EXAMPLE_OPTIONS[1])) \n menuCS40S();\n else if (choice.equals(MainConstants.EXAMPLE_OPTIONS[2])) \n MainClass.menu(); \n else \n MainClass.end();\n }", "title": "" }, { "docid": "f7faa32676222028ea796bee68ed8d19", "score": "0.64391404", "text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case R.id.btnActionMenu:\n Intent openMenu = new Intent(SingleChannel.this, com.example.matteo.tesidopocatastrofe.Menu.class);\n startActivity(openMenu);\n //apriMenu();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }", "title": "" }, { "docid": "07a0add4b4d252323cc0679a05cfbef2", "score": "0.6432698", "text": "public void commandMenuPopup() {\n if( MyDebug.LOG )\n Log.d(TAG, \"commandMenuPopup\");\n if( popupIsOpen() ) {\n if( selectingIcons() ) {\n clickSelectedIcon();\n }\n else {\n highlightPopupIcon(true, false);\n }\n }\n }", "title": "" }, { "docid": "dc33c7a43307d9bd8629377a5d14327a", "score": "0.64220095", "text": "@Override\n public boolean onMenuItemClick(MenuItem menu) {\n switch (menu.getItemId()) {\n case R.id.one:\n Toast.makeText(MenuActivity.this, \"one_show\", Toast.LENGTH_LONG).show();\n return true;\n case R.id.two:\n Toast.makeText(MenuActivity.this, \"two_show\", Toast.LENGTH_LONG).show();\n return true;\n case R.id.three:\n Toast.makeText(MenuActivity.this, \"three_show\", Toast.LENGTH_LONG).show();\n return true;\n\n default:\n return false;\n }\n }", "title": "" }, { "docid": "1003805992952302420c800cc7d66992", "score": "0.64201283", "text": "@Override\n\tpublic void rightClick() {\n\t}", "title": "" }, { "docid": "11f24b9bdb7562f84d631faa57556e80", "score": "0.6420059", "text": "public void onMenuTriggerOut(Button button, Menu menu, EventObject e) {\n\n\t}", "title": "" }, { "docid": "1bc3a5d6b3a59c51bade6867ab2d018f", "score": "0.64181685", "text": "void click();", "title": "" }, { "docid": "30b661aa19b9789d8588ccb4bf15954d", "score": "0.6416769", "text": "private void menu() {\n \tText t1 = new Text();\n t1.setText(\"solo\");\n t1.setFont(Font.font (\"Comic Sans MS\",FontWeight.BOLD,50));\n t1.setX(250);\n t1.setY(500);\n t1.setFill(Color.WHITE);\n t1.setCursor(Cursor.CLOSED_HAND);\n t1.setOnMouseClicked(new EventHandler<MouseEvent>() {\n @Override\n public void handle(MouseEvent event) {\n \ttry {\n \t\t\tJeu jeu = new Jeu();\n \t\t\tViewJeu vj = new ViewJeu(jeu);\n \t\t} catch(Exception e) {\n \t\t\te.printStackTrace();\n \t\t}\n }\n });\n root.getChildren().add(t1);\n Text t2 = new Text();\n t2.setText(\"multi\");\n t2.setFont(Font.font (\"Comic Sans MS\",FontWeight.BOLD,50));\n t2.setX(240);\n t2.setY(570);\n t2.setFill(Color.WHITE);\n t2.setCursor(Cursor.CLOSED_HAND);\n root.getChildren().add(t2);\n Text t3 = new Text();\n t3.setText(\"quitter\");\n t3.setFont(Font.font (\"Comic Sans MS\",FontWeight.BOLD,50));\n t3.setX(225);\n t3.setY(640);\n t3.setCursor(Cursor.CLOSED_HAND);\n t3.setFill(Color.WHITE);\n t3.setOnMouseClicked(new EventHandler<MouseEvent>() {\n @Override\n public void handle(MouseEvent event) {\n \tSystem.exit(0);\n }\n });\n root.getChildren().add(t3);\n }", "title": "" }, { "docid": "00ed82b1b6fedec10f004efdd0e5d8b2", "score": "0.6413639", "text": "private void menuItem2ActionPerformed(ActionEvent e) {\n }", "title": "" }, { "docid": "cb56b7d54f6bf46800a1879ae99e73ec", "score": "0.6410875", "text": "@Override\n public void actionPerformed(ActionEvent ae) {\n OknoGlowne menu = new OknoGlowne(\"\"); \n try {\n menu.menuGlowne();\n } catch (IOException ex) {\n Logger.getLogger(PKlawiaturaPianina.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "title": "" }, { "docid": "8b050950187045bacdc19659507addc1", "score": "0.6407201", "text": "public void onMenuTriggerOver(Button button, Menu menu, EventObject e) {\n\n\t}", "title": "" }, { "docid": "4a34342625b084d4cbc15064ad616530", "score": "0.6402062", "text": "public void onClick(View v) {\n switch (v.getId()) {\n case R.id.btnMenu:\n btnMenu();\n break;\n\n }\n\n }", "title": "" }, { "docid": "96fd8bb856420cdecef05a6a6c984438", "score": "0.6398746", "text": "@Override\n\t\tpublic void onClick(View v) {\n\t\t\tif (!((MainViewActivity) context).isSlidingMenuOpen()) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tboolean excuted = false;\n\n\t\t\tswitch (v.getId()) {\n\t\t\t\tcase R.string.menu_view_grid:\n\t\t\t\t\tshowGridView();\n\t\t\t\t\tTextView menuItem = (TextView) v;\n\t\t\t\t\tmenuItem.setText(R.string.menu_view_list);\n\t\t\t\t\tmenuItem.setId(R.string.menu_view_list);\n\t\t\t\t\tbreak;\n\t\t\t\tcase R.string.menu_view_list:\n\t\t\t\t\tcurrentPageOrders = bridge.getOrderList();\n\t\t\t\t\tshowExpandableView();\n\t\t\t\t\tmenuItem = (TextView) v;\n\t\t\t\t\tmenuItem.setText(R.string.menu_view_grid);\n\t\t\t\t\tmenuItem.setId(R.string.menu_view_grid);\n\t\t\t\t\tbreak;\n\t\t\t\tcase R.string.menu_thumb_folder:\n\t\t\t\t\tcheckToStartThumbView();\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase R.string.menu_create_order:\n\t\t\t\t\taddNewOrder();\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (!excuted) {\n\t\t\t\t((MainViewActivity) context).slidingMenuListener.onClick(v);\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "76a1347bef2679b31ac7c16c0e5eaced", "score": "0.6398704", "text": "@Override\n /**\n * reagiert auf die Klicks in der Actionbar\n */\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n View menuItemView = findViewById(R.id.action_menu);\n if (id == R.id.action_menu) {\n onClickMainMenu(menuItemView);\n } else if (id == R.id.action_back) {\n // Intent intent = new Intent(this, SinglePlacesActivity.class);\n // intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n // startActivity(intent);\n finish();\n }\n return super.onOptionsItemSelected(item);\n }", "title": "" }, { "docid": "c06ea8e70bb72a773dd8858fc9334a39", "score": "0.6395875", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "c06ea8e70bb72a773dd8858fc9334a39", "score": "0.6395875", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "c06ea8e70bb72a773dd8858fc9334a39", "score": "0.6395875", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "c06ea8e70bb72a773dd8858fc9334a39", "score": "0.6395875", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "c06ea8e70bb72a773dd8858fc9334a39", "score": "0.6395875", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "8280b1b12ff6ab778d8bac8a646e11a9", "score": "0.6389455", "text": "public void menu() {\n\n System.out.println(\"Press 2 for LIST\");\n System.out.println(\"Press 3 for INSERT\");\n System.out.println(\"Press 4 for DELETE\");\n System.out.println(\"Press 5 for UPDATE\");\n return;\n }", "title": "" }, { "docid": "1119f3693de18e4ce4c1b0238e43963a", "score": "0.63841313", "text": "public void onClickMenu(View v){\r\n Log.d(TAG, \"*********** View Touched are \"+v.getId()+ \"*********** \");\r\n Intent intent;\r\n switch (v.getId()) {\r\n case R.id.informacion:\r\n intent = new Intent(this, informacion.class);\r\n startActivity(intent);\r\n break;\r\n case R.id.calificaciones:\r\n intent = new Intent(this, calificaciones.class);\r\n startActivity(intent);\r\n break;\r\n case R.id.horario:\r\n intent = new Intent(this, horario.class);\r\n startActivity(intent);\r\n break;\r\n case R.id.feed:\r\n intent = new Intent(this, feeds.class);\r\n startActivity(intent);\r\n break;\r\n case R.id.noticias:\r\n break;\r\n case R.id.mapa:\r\n intent = new Intent(this, mapaIte.class);\r\n startActivity(intent);\r\n break;\r\n case R.id.directorio:\r\n intent = new Intent(this, Directory.class);\r\n startActivity(intent);\r\n break;\r\n case R.id.actividades:\r\n intent = new Intent(this, Directory.class);\r\n startActivity(intent);\r\n break;\r\n\r\n default:\r\n break;\r\n }\r\n }", "title": "" }, { "docid": "133ed83b194ec0141450778fc5a69efd", "score": "0.6378623", "text": "private void presentMenu() {\n for (Action action : actions) {\n io.answer(action.actionInfo());\n }\n }", "title": "" }, { "docid": "fa845d9995e3ccf0743b09962ee84d75", "score": "0.6378111", "text": "private void setClicks() {\n\t\tTypeface font = Typeface.createFromAsset(getAssets(), \"pricedown.ttf\");\n\t\tButton b = (Button) findViewById(R.id.start);\n\t\tb.setTypeface(font);\n\t\tb.setOnClickListener(new OnClickListener() {\n\t\t\t@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tonModes = true;\n\t\t\t\tsetContentView(R.layout.modes);\n\t\t\t\tsetModeClicks();\n\t\t\t}\n\t\t});\n\t\tb = (Button) findViewById(R.id.hscores);\n\t\tb.setTypeface(font);\n\t\tb.setOnClickListener(new OnClickListener() {\n\t\t\t@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tonModes = true;\n\t\t\t\tdisplayScores(\"Normal\");\n\t\t\t}\n\t\t});\n\t\tb = (Button) findViewById(R.id.how);\n\t\tb.setTypeface(font);\n\t\tb.setOnClickListener(new OnClickListener() {\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tDialog dialog = new Dialog(GemsRisingActivity.this);\n\t\t\t\tdialog.setContentView(R.layout.howtoplay);\n\t\t\t\tdialog.setTitle(\"How To Play\");\n\t\t\t\tdialog.setCancelable(true);\n\t\t\t\tdialog.setOnCancelListener(new DialogInterface.OnCancelListener() {\n\t\t\t\t @Override\n\t\t\t\t public void onCancel(DialogInterface dialog)\n\t\t\t\t {\n\t\t\t\t \tcurrentD = null;\n\t\t\t\t \tdialog.dismiss();\n\t\t\t\t }\n\t\t\t\t});\n\t\t\t\tcurrentD = dialog;\n\t\t\t\tdialog.setOwnerActivity(GemsRisingActivity.this);\n\t\t\t\tdialog.show();\n\t\t\t}\n\t\t});\n\t\tb = (Button) findViewById(R.id.options);\n\t\tb.setTypeface(font);\n\t\tb.setOnClickListener(new OnClickListener() {\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tsetOptionMenu();\n\t\t\t}\n\t\t});\n\t}", "title": "" }, { "docid": "5ac22cc3956fb0bed9ffb816e040bfe0", "score": "0.6372707", "text": "protected void onContextMenuItemClicked(int id) {\r\n\t}", "title": "" }, { "docid": "e8baa2c93d865436d018a50b2a730377", "score": "0.63706106", "text": "@Override\r\n\tpublic void onClick(View v)\r\n\t{\n\t\tif (v.getId() == systemMenus[0].getId())\r\n\t\t{\r\n\t\t\t// 切换账户\r\n\t\t\tupdateSysIconState((byte) 0);\r\n\t\t\tSharedPreferences sharedpreferences = context.getSharedPreferences(Globle.sPreference_name, Context.MODE_PRIVATE);\r\n\t\t\tSharedPreferences.Editor edit = sharedpreferences.edit();\r\n\t\t\tedit.putBoolean(Globle.sPreference_autoLogin, false);\r\n\t\t\tedit.commit();\r\n\t\t\tTools.getTools().goToUI(context, LoginActivity.class, null);\r\n\t\t}\r\n\t\telse if (v.getId() == systemMenus[1].getId())\r\n\t\t{\r\n\t\t\t// 软件设置\r\n\t\t\tupdateSysIconState((byte) 1);\r\n\t\t}\r\n\t\telse if (v.getId() == systemMenus[2].getId())\r\n\t\t{\r\n\t\t\t// 共享设置\r\n\t\t\tupdateSysIconState((byte) 2);\r\n\t\t}\r\n\t\telse if (v.getId() == systemMenus[3].getId())\r\n\t\t{\r\n\t\t\t// 帮助更新\r\n\t\t\tupdateSysIconState((byte) 3);\r\n\t\t\tTools.getTools().goToUI(context, HelpUpdateActivity.class, null);\r\n\t\t}\r\n\t\telse if (v.getId() == systemMenus[4].getId())\r\n\t\t{\r\n\t\t\t// 退出程序\r\n\t\t\tupdateSysIconState((byte) 4);\r\n\t\t\tTools.getTools().exitApp(context);\r\n\t\t}\r\n\t\tsetPopOrHide();\r\n\t}", "title": "" }, { "docid": "3be16ce00bf889f7d66f78a7aec1f962", "score": "0.63664025", "text": "public void click();", "title": "" }, { "docid": "95cceefe8d3b9bd4b4acef14b2bfecf7", "score": "0.6363606", "text": "private void menuHandlerMode (ActionEvent ae) {\n\t\tif (ae.getSource() == ItemMod) {\n\t\t\tmc.setMenu(ItemMod);\n\t\t} else if (ae.getSource() == ItemPlot) {\n\t\t\tmc.setMenu(ItemPlot);\n\t\t}\n\t\tmc.changeGUI();\n\t}", "title": "" }, { "docid": "3905614a7656537b4ece8c76601a6c4b", "score": "0.6361906", "text": "@Override\n\tpublic void menuSelected(MenuEvent arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "e4b983e7bbb89e59968660f8f9849ab2", "score": "0.6360928", "text": "private void fireMenuButtonClicked(MenuButton menuButton) {\n core.executeCommand(menuButton.getType(), String.valueOf(true));\n StateButton button = menuButton.getParentButton();\n boolean toggle = (button.getType().contentEquals(GuiConstants.studentClose));\n if (toggle) {\n button.toggle();\n updateButtonsForAction(button);\n getMainFrame().repaint();\n }\n }", "title": "" }, { "docid": "ecfc1c2bd9df633252deb7b1788edfa5", "score": "0.6360816", "text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()){\n\n case 1:\n Toast.makeText(this,\"Computer Clicked \",Toast.LENGTH_SHORT).show();\n break;\n\n case 2:\n Toast.makeText(this,\"Gamepad Clicked \",Toast.LENGTH_SHORT).show();\n break;\n\n case 3:\n Toast.makeText(this,\"Camera Clicked \",Toast.LENGTH_SHORT).show();\n break;\n\n case 4:\n Toast.makeText(this,\"Video Clicked \",Toast.LENGTH_SHORT).show();\n break;\n\n case 5:\n Toast.makeText(this,\"Email Clicked \",Toast.LENGTH_SHORT).show();\n break;\n }\n\n return super.onOptionsItemSelected(item);\n }", "title": "" }, { "docid": "900f455a5b0fdbaa45ba9606aedde38b", "score": "0.63525015", "text": "abstract void onLeftClick();", "title": "" }, { "docid": "8d232463f4da0e573c9e719687ee8f21", "score": "0.6349497", "text": "public void otherButtonSetUp() {\n mainMenuButton = new JButton(\"Go back to the main menu\");\n mainMenuButton.setBackground(Color.yellow);\n\n mainMenuButton.setActionCommand(\"mainMenuButton\");\n mainMenuButton.addActionListener(this);\n\n studyChordsButton = new JButton(\"Study chords\");\n studyScalesButton = new JButton(\"Study scales\");\n\n studyChordsButton.setActionCommand(\"studyChordsButton\");\n studyChordsButton.addActionListener(this);\n studyScalesButton.setActionCommand(\"studyScalesButton\");\n studyScalesButton.addActionListener(this);\n\n enterButtonForMajorChordQuiz = new JButton(\"Enter\");\n enterButtonForMinorChordQuiz = new JButton(\"Enter\");\n\n enterButtonForMajorChordQuiz.setActionCommand(\"enterButtonForMajorChordQuiz\");\n enterButtonForMajorChordQuiz.addActionListener(this);\n enterButtonForMinorChordQuiz.setActionCommand(\"enterButtonForMinorChordQuiz\");\n enterButtonForMinorChordQuiz.addActionListener(this);\n }", "title": "" }, { "docid": "6f91be17032b413d30fdff48cb979f6d", "score": "0.6341712", "text": "public void onClick(View v) {\n List<String> drillDownMenuTupes = XmlUtil.getDrillDownMenuTypes(\"drilldownmenus\", menuXml);\n System.out.println(drillDownMenuTupes);\n DrillDownMenuItemDetail menuItemDetail = loadMenuItemDetail(buttonText, menuXml);\n System.out.println(\"Got here \"+menuItemDetail);\n }", "title": "" }, { "docid": "bbb30714aa0436f779d9678e2c4f92a6", "score": "0.6338201", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\n\t\t\t}", "title": "" }, { "docid": "222efa9cc138ef19d6204e26c1179fca", "score": "0.63364005", "text": "public void click(int x, int y, boolean isRightMouseButton) {}", "title": "" }, { "docid": "9756afa2e3a674b579360fb83d0f7775", "score": "0.63335794", "text": "public void actionPerformed(ActionEvent e) {\n ///add code here to pull up accroding menu\n DeleteCategoryUI.showDeleteCategoryUI();\n }", "title": "" }, { "docid": "4d8f7c217cf9f37bf845c9083bf7ff60", "score": "0.6331398", "text": "@Override\n public boolean onMenuItemClick(MenuItem menuItem) {\n switch (menuItem.getItemId()) {\n case R.id.menu_feedback:\n Analytics.trackClick(\"Feedback\");\n Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(\"http://getswitchpal.com/\"));\n startActivity(i);\n return true;\n\n case R.id.menu_new_device:\n Analytics.trackClick(\"NewDevice\");\n Intent intent = new Intent(this, QRScanActivity.class);\n startActivity(intent);\n return true;\n\n default:\n return false;\n }\n }", "title": "" }, { "docid": "60555cb0f462aeda093b5b9df9fe706c", "score": "0.6327776", "text": "@Override\n\tpublic void menuSelected(MenuEvent e) {\n\n\t}", "title": "" }, { "docid": "ee812eeebb177cfa960cc8c9401f6ab8", "score": "0.6323902", "text": "@Override\r\n\tpublic void click() {\n\t\t\r\n\t}", "title": "" }, { "docid": "feb866adb363f4f04dc5197060300be6", "score": "0.63200194", "text": "void clickMouse(int button);", "title": "" }, { "docid": "45773dc8cc8d29c58266c76668945f25", "score": "0.6306958", "text": "public void actionPerformed(ActionEvent e) {\n ///add code here to pull up accroding menu\n AddCategoryUI.showAddCategoryUI();\n }", "title": "" }, { "docid": "b3f5f15d81f51590ff053d5986e38acd", "score": "0.6299786", "text": "private void jMenuItem9ActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "8886f0ddf3790c4ae9ba524ac1d4b43b", "score": "0.6299752", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "8886f0ddf3790c4ae9ba524ac1d4b43b", "score": "0.6299752", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "8886f0ddf3790c4ae9ba524ac1d4b43b", "score": "0.6299752", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "8886f0ddf3790c4ae9ba524ac1d4b43b", "score": "0.6299752", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "8886f0ddf3790c4ae9ba524ac1d4b43b", "score": "0.6299752", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "8886f0ddf3790c4ae9ba524ac1d4b43b", "score": "0.6299752", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\t\n\t\t\t}", "title": "" } ]
7229dd0bb39a05dced2dee5f350bd393
Called if there's an existing ParametersAction to transform.
[ { "docid": "5b19be4c43c522f6a0fdc93bc3864d19", "score": "0.68920213", "text": "public abstract ParametersAction transformParametersAction(ParametersAction a, Job<?,?> project);", "title": "" } ]
[ { "docid": "c3f98684aabb2afcd3c46da10a8a4433", "score": "0.5223271", "text": "Map<String, ProvidedValue<?>> provideActionArgs(String actionName, ProvideArgsParameters parameters);", "title": "" }, { "docid": "250f6971a85849d399ccebc186beb5d2", "score": "0.51882416", "text": "public final Parameter[] getParameters()\n {\n return ActionUtils.cloneParameterArray(_parameters);\n }", "title": "" }, { "docid": "6d9216ff8b77c15ee24106182875e518", "score": "0.5180896", "text": "public interface ActionRegistration\n{\n /**\n * Returns the property model for the return type for the action registration\n *\n * @return return type of the action\n */\n PropertyModel getReturnType();\n\n /**\n * Returns a list of formal parameter property models for the action. This is the list of all parameters for which\n * no {@link ParameterProvider} was registered, in the order in which they appear in the original Java method.\n *\n * @return list of action parameter types\n */\n List<DomainProperty> getParameterModels();\n\n /**\n * Executes the action with the given arguments and optionally converts the result.\n * <p>\n * The arguments are expected in Java-side JSON equivalent values, their types must fit the underlying action registration.\n * </p>\n *\n *\n * @param runtimeContext runtime context\n * @param args list of action arguments.\n *\n * @return result or converted result\n *\n * @throws InvalidActionParameterException in case an argument does not match the expected type \n */\n ActionResult execute(RuntimeContext runtimeContext, ActionParameters args) throws InvalidActionParameterException;\n\n\n boolean isVarArgs();\n\n String getActionName();\n\n boolean isServerSide();\n\n String getDescription();\n}", "title": "" }, { "docid": "c13157d976f79eb18dcd822c11a46243", "score": "0.5121229", "text": "void processAction(Object[] params);", "title": "" }, { "docid": "c2ca3d77bfe7997f54d063e339cd27ca", "score": "0.5116551", "text": "private void updateUnmodifiableParameters() {\n unmodifiableParameters = Collections.unmodifiableMap(parameters);\n }", "title": "" }, { "docid": "9f8075fa345269d6b5189074d9b3a80c", "score": "0.51083076", "text": "@Override\n public void doPreAction(Map<String, String> parameters, JSONArray data, DataSourceAction action) {\n\n }", "title": "" }, { "docid": "0521e771ded6c516fea1a7878268b0ed", "score": "0.5078048", "text": "protected void usingParameterValues()\n \t{\n \t\tif (!parameterChanged)\n \t\t{\n \t\t\treturn;\n \t\t}\n \t\t\n \t\tparameterChanged = false;\n \t\t\n \t\t//clear previous settings\n \t\texecutionContext.getParams().clear();\n \t\trunValues.clear();\n \t\t\n \t\t//set the user setting values into the execution context\n \t\texecutionContext.getParams().putAll(inputValues);\n \t\trunValues.putAll(inputValues);\n \t\t\n \t\t//use default value for the parameter without user value.\n \t\tnew ParameterVisitor()\n \t\t{\n\t\t\tboolean visitScalaraParameter( ScalarParameterHandle param )\n \t\t\t{\n \t\t\t\tString name = param.getName();\n \t\t\t\tif (!inputValues.containsKey(name))\n \t\t\t\t{\n \t\t\t\t\tObject value = evaluate(param.getDefaultValue(), param.getDataType());\n \t\t\t\t\texecutionContext.getParams().put(name, value);\n \t\t\t\t\trunValues.put(name, value);\n \t\t\t\t}\n \t\t\t\treturn true;\n \t\t\t}\n \n \t\t\tboolean visitParameterGroup( ParameterGroupHandle group )\n \t\t\t{\n \t\t\t\treturn visitParametersInGroup( group );\n \t\t\t}\n \t\t}.visit();\n \t}", "title": "" }, { "docid": "0d47c57731883237f8253b1ed8fb4544", "score": "0.5006828", "text": "public boolean finalMethodCallParametersExist() {\n\t\tAction finalCall = (Action) actions.get(actions.size() - 1);\n\t\tList params = finalCall.getParameterObjects();\n\t\tMap availableObjects = new HashMap();\n\t\tIterator i = actions.iterator();\n\t\twhile (i.hasNext()) {\n\t\t\tAction act = (Action) i.next();\n\t\t\tif (act instanceof ConstructorInvocation) {\n\t\t\t\tavailableObjects.put(act.getObject(), act);\n\t\t\t}\n\t\t}\n\t\tList requiredObjects = new LinkedList();\n\t\trequiredObjects.addAll(params);\n\t\twhile (requiredObjects.size() > 0) {\n\t\t\tString objId = (String) requiredObjects.remove(0);\n\t\t\tif (!availableObjects.containsKey(objId))\n\t\t\t\treturn false;\n\t\t\tAction act = (Action) availableObjects.get(objId);\n\t\t\trequiredObjects.addAll(act.getParameterObjects());\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "f81e0aef2f3b72923aaf0b966e74fcc6", "score": "0.49958903", "text": "@Override\n public void afterActionProcessing() {\n \n }", "title": "" }, { "docid": "f58bb3ba210744ea701facae60c9515c", "score": "0.49681512", "text": "public RESULT doAction(PARAMETER parameter);", "title": "" }, { "docid": "691b0a6503e8ad6e58706f4b5eeefb22", "score": "0.4914859", "text": "final public void prepare() {\n\t\tif (null == getAction()) {\n\t\t\tthrow new RuntimeException(\"Action is null\");\n\t\t}\n\t\t\n\t\tif (null == getBuildContext()) {\n\t\t\tthrow new RuntimeException(\"BuildContext is null\");\n\t\t}\n\t\t\n\t\tLOG.info(\"Starting to prepare: \" + getAction().getId());\n\t\tdoPrepare();\n\t\tLOG.info(\"Finished preparing: \" + getAction().getId());\n\t}", "title": "" }, { "docid": "4c2eadb7874939f953265f46558e53ee", "score": "0.490196", "text": "void beforeParsingParameters();", "title": "" }, { "docid": "724f4b7f9ca0c2cff6ec26274692254c", "score": "0.48636997", "text": "public void analyzeParameters(){\n determineTitle();\n determineSQLStatements();\n determineCustomization();\n }", "title": "" }, { "docid": "f5fa3c44c1dfce670c92eeaf05cb599d", "score": "0.48520705", "text": "public int numActionParams();", "title": "" }, { "docid": "a6f0839f1dac9d060212c7e10f02d5f9", "score": "0.48130578", "text": "@Override\n\tpublic void applyParams(Object[] params) {\n\t\t\n\t}", "title": "" }, { "docid": "d7483e5e83b166e68c1920497a3e343d", "score": "0.47837925", "text": "public abstract Parameter<T> forward(Object[] forwardParams);", "title": "" }, { "docid": "b89dd0ea8a8187f57ac3031501ea2c81", "score": "0.47826412", "text": "public void setParameters( Map parameters )\n\t{\n\t}", "title": "" }, { "docid": "213c36c7da0902128e0595319a7e3eb0", "score": "0.47799772", "text": "TransformAction.Builder transform(BuilderSupport<TransformAction.Builder> configurer);", "title": "" }, { "docid": "b861585c89facb999c7d2876404f3cbf", "score": "0.47741193", "text": "private void setTransformerParameters(Transformer transformer) {\n if (userParameters != null) {\n Iterator it = userParameters.keySet().iterator();\n\n cat.debug(\">>> setting params...\");\n while (it.hasNext()) {\n String key = (String) it.next();\n transformer.setParameter(key, userParameters.get(key));\n if (cat.isDebugEnabled()) {\n cat.debug(key + \"=\" + userParameters.get(key));\n }\n }\n cat.debug(\">>> setting params...end\");\n }\n }", "title": "" }, { "docid": "bcaa8d522bf2d0a5eaf2e459f8b2f553", "score": "0.4751123", "text": "@Override\n protected void startFromAction(Map<String, Object> params) {\n\n }", "title": "" }, { "docid": "f9d4d5aeeae57cd88a672ad826b71d25", "score": "0.47446993", "text": "@Override\n protected void setActionMessageParameters() {\n super.setActionMessageParameters();\n addCanDoActionMessage(VdcBllMessages.VAR__ACTION__ADD);\n }", "title": "" }, { "docid": "5bc228a4642246402e9fccca22851be9", "score": "0.4742898", "text": "ActionResult execute(RuntimeContext runtimeContext, ActionParameters args) throws InvalidActionParameterException;", "title": "" }, { "docid": "b712cf754849e8663ed94b8f8174d3c8", "score": "0.4740439", "text": "public List<ActionParameter> getArguments() {\n return arguments;\n }", "title": "" }, { "docid": "8f2576c7e2058226194ba585f54c72cd", "score": "0.46927595", "text": "@Override\n public ParameterDescriptorGroup getParameterDescriptors() {\n return Affine.PARAMETERS;\n }", "title": "" }, { "docid": "9e72d312399bac62bf7325c4469fdc14", "score": "0.46870512", "text": "@Override\n protected Object doInvoke( Object instance, List<String> parameterNames,\n Object[] parameterValues ) throws IllegalArgumentException,\n IllegalAccessException, InvocationTargetException,\n ActionExecutionException {\n\n if (log.isDebugEnabled()) {\n log.debug(\"Executing '\" + actionName + \"' with arguments \"\n + StringUtils.methodInputArgumentsToString(parameterValues));\n }\n\n TemplateActionsResponseVerificationConfigurator responseVerificationConfigurator = (TemplateActionsResponseVerificationConfigurator) ThreadContext.getAttribute(ThreadContext.TEMPLATE_ACTION_VERIFICATION_CONFIGURATOR);\n String actionsXml = getActionsXml();\n\n // insert any customer parameters into the thread scope map\n for (int iParameter = 0; iParameter < parameterNames.size(); iParameter++) {\n\n Object value = parameterValues[iParameter];\n\n // if the value is an object with more than one values, add them in a Queue\n if (value != null && (value instanceof Iterable || value.getClass().isArray())) {\n Queue<Object> queue = new LinkedList<Object>();\n if (value instanceof Iterable) {\n for (Object oneValue : (Iterable<?>) value) {\n queue.add(oneValue);\n }\n } else {\n for (Object oneValue : (Object[]) value) {\n queue.add(oneValue);\n }\n }\n value = queue;\n }\n ThreadContext.setAttribute(parameterNames.get(iParameter), value);\n }\n\n long actionStartTimestamp = -1;\n long totalTimeOfAllActionStepsNet = 0;\n long totalTimeOfAllActionStepsBetweenReqAndResp = 0;\n Object objectToReturn = null;\n String checkpointName;\n if (AbstractActionTask.REGISTER_FULL_AND_NET_ACTION_TIME_FOR_TEMPLATE_ACTIONS) {\n checkpointName = actionName + \"-net\";\n } else {\n checkpointName = actionName;\n }\n try {\n log.info(\"START running template actions from \" + actionsXml);\n\n actionStartTimestamp = System.currentTimeMillis();\n if (isRegisterActionExecution() && !isLoggingInBatchMode) {\n autoLogger.startCheckpoint(checkpointName, \"\", actionStartTimestamp);\n }\n\n XmlReader xmlReader = new XmlReader(actionsXml);\n XmlUtilities xmlUtilities = new XmlUtilities();\n\n long xmlParsingTime = System.currentTimeMillis() - actionStartTimestamp;\n // this is the actual Action start time, skipping the actionXML parsing time\n actionStartTimestamp += xmlParsingTime;\n\n int actionNum = 1;\n long currentTimeOfActionStepRequest;\n NetworkingStopWatch stopWatch = new NetworkingStopWatch(actionMethodName);\n while (xmlReader.goToNextAction()) {\n\n String actionStep = actionMethodName + \"[\" + actionNum + \"]\";\n stopWatch.step0_SetNewContext(actionStep);\n String httpUrl = xmlReader.getRequestHttpUrl();\n String httpMethod = xmlReader.getRequestHttpMethod();\n List<ActionHeader> httpHeaders = xmlReader.getRequestHttpHeaders();\n\n // connect to the specified URL\n HttpClient httpClient = new HttpClient(httpUrl, httpMethod, httpHeaders, stopWatch);\n // send HTTP request\n String fileToSend = xmlReader.getRequestResourceFile();\n httpClient.sendHttpRequest(actionStep, fileToSend,\n xmlReader.hasParamsInRequestResourceFile());\n\n currentTimeOfActionStepRequest = stopWatch.getNetworkingTime();\n // Measure and log time between last data sent and start of receive.\n // Thread could be suspended but this could be server processing time too.\n stopWatch.step5_StartInterimTimer(); // and log request time\n\n // read response\n ActionResponseObject expectedHttpResponseNode = xmlReader.getResponse();\n // disconnect the connection\n // httpClient.disconnect(); // TODO: why this is needed. This is also before getting response\n if (xmlReader.isLastAction()\n && (wantedXpathEntries != null || returnResponseBodyAsString)) {\n if (returnResponseBodyAsString) {\n\n // this is the last action and user wants to extract the response content as string\n ActionParser actualHttpResponse = xmlUtilities.readActionResponse(httpClient,\n actionsXml,\n actionNum, true);\n String contentAsString = actualHttpResponse.getBodyContentAsString();\n actualHttpResponse.cleanupMembers();\n objectToReturn = contentAsString;\n // log response time below and after that return result\n } else {\n\n // this is the last action and user wants to extract some data from the response\n ActionParser actualHttpResponse = xmlUtilities.readActionResponse(httpClient,\n actionsXml,\n actionNum, false);\n String[][] extractedXpathEntries = XmlUtilities.extractXpathEntries(null,\n wantedXpathEntries);\n actualHttpResponse.cleanupMembers();\n\n objectToReturn = extractedXpathEntries;\n // log response time below and after that return result\n }\n\n } else {\n // verify the received response\n xmlUtilities.verifyResponse(actionsXml, actionMethodName, actionNum,\n expectedHttpResponseNode, httpClient,\n responseVerificationConfigurator);\n }\n\n long currentTimeOfActionStepEnd = stopWatch.getNetworkingTime();\n totalTimeOfAllActionStepsNet += currentTimeOfActionStepEnd;\n totalTimeOfAllActionStepsBetweenReqAndResp += stopWatch.getTimeBetweenReqAndResponse();\n\n if (HttpClient.logTimer.isTraceEnabled()) {\n HttpClient.logTimer.trace(\"This action step \" + actionStep\n + \" time between end of send request and start of getting response time took \"\n + stopWatch.getTimeBetweenReqAndResponse() + \" ms\");\n HttpClient.logTimer.trace(\"This action step \" + actionStep\n + \" response network time took \" + (currentTimeOfActionStepEnd\n - currentTimeOfActionStepRequest)\n + \" ms\");\n HttpClient.logTimer.trace(\"This action step \" + actionStep + \" total network time took \"\n + currentTimeOfActionStepEnd + \" ms\");\n }\n\n actionNum++;\n }\n\n if (isRegisterActionExecution()) {\n if (HttpClient.logTimer.isTraceEnabled()) {\n HttpClient.logTimer.trace(\"\\t Total net time: \" + totalTimeOfAllActionStepsNet\n + \"(action \" + actionsXml + \")| actionStartTimestamp : \"\n + (actionStartTimestamp - xmlParsingTime)\n + \"| total time between Req and Resp: \"\n + totalTimeOfAllActionStepsBetweenReqAndResp);\n }\n if (isLoggingInBatchMode) {\n autoLogger.insertCheckpoint(checkpointName, actionStartTimestamp - xmlParsingTime,\n totalTimeOfAllActionStepsNet, 0L /* transferSize */,\n \"\" /* unit name */, CheckpointResult.PASSED);\n } else {\n autoLogger.endCheckpoint(checkpointName, 0L /* transferSize */, CheckpointResult.PASSED,\n actionStartTimestamp - xmlParsingTime\n /* the XML parsing time was previously added to the actionStartTimestamp (but after starting the Checkpoint) */\n + totalTimeOfAllActionStepsNet);\n }\n }\n log.info(\"COMPLETE running template actions from \" + actionsXml);\n } catch (Exception e) {\n if (isRegisterActionExecution()) {\n if (isLoggingInBatchMode) {\n autoLogger.insertCheckpoint(checkpointName, 0L /* response time */,\n CheckpointResult.FAILED);\n } else {\n autoLogger.endCheckpoint(checkpointName, 0L /* transfer size */,\n CheckpointResult.FAILED);\n }\n }\n throw new ActionExecutionException(\"Error executing a template action\", e);\n }\n\n if (AbstractActionTask.REGISTER_FULL_AND_NET_ACTION_TIME_FOR_TEMPLATE_ACTIONS) {\n // Time between end of request and start of response reading - could be enabled only for some detailed investigations\n autoLogger.insertCheckpoint(actionName + \"-betweenReqAndResp\", actionStartTimestamp,\n totalTimeOfAllActionStepsBetweenReqAndResp, 0L, null,\n CheckpointResult.PASSED);\n }\n\n return new CompositeResult(objectToReturn, totalTimeOfAllActionStepsNet);\n }", "title": "" }, { "docid": "d71d235f510905d2e1e3bc3db44e9ece", "score": "0.46829945", "text": "public Action getAction(NodeRef nodeRef)\n {\n // Get the action definition. We can not go to the service are some are not exposed.\n // So we find them from the application context.\n ActionExecuter actionExecutor = (ActionExecuter)applicationContext.getBean(getActionName());\n ActionDefinition actionDefinition = actionExecutor.getActionDefinition();\n \n \n // Build the base action\n Action action = actionService.createAction(getActionName());\n\n // Go through the template definitions and set the values.\n for (String paramName : parameterTemplates.keySet())\n {\n // Transform the template\n String template = parameterTemplates.get(paramName);\n String stringValue = templateService.processTemplateString(getTemplateActionModelFactory()\n .getTemplateEngine(), template, getTemplateActionModelFactory().getModel(nodeRef));\n\n // Find the data type from the action defintion\n DataTypeDefinition dataTypeDef;\n if (actionDefinition.getParameterDefintion(paramName) != null)\n {\n dataTypeDef = dictionaryService\n .getDataType(actionDefinition.getParameterDefintion(paramName).getType());\n }\n // Fall back to the DD using the property name of it is not defined\n // This is sometimes used for setting a property to a value.\n // There can be no definition for such an ad hoc property.\n else\n {\n dataTypeDef = dictionaryService.getProperty(QName.createQName(paramName)).getDataType();\n }\n \n // Convert the template result into the correct type and set the parameter\n Object value = DefaultTypeConverter.INSTANCE.convert(dataTypeDef, stringValue);\n if (value instanceof Serializable)\n {\n action.setParameterValue(paramName, (Serializable) value);\n }\n\n }\n\n // If there is a compensating action then set it.\n if (getCompensatingTemplateCompositeActionDefinition() != null)\n {\n action.setCompensatingAction(getCompensatingTemplateCompositeActionDefinition().getAction(nodeRef));\n }\n\n return action;\n }", "title": "" }, { "docid": "34e9e05722776c87e196b9be800aab13", "score": "0.46827456", "text": "public void visit(DesignatorStatementActParameters designatorStatementActParameters) {\n\t\tObj desMethod = designatorStatementActParameters.getDesignator().obj;\n\t\tif (desMethod.getKind() == Obj.Meth) {\n\n\t\t\tDumpSymbolTableVisitor dump = new DumpSymbolTableVisitor();\n\t\t\tdump.visitObjNode(desMethod);\n\t\t\treport_info(\"Poziva se funkcija \" + dump.getOutput(), designatorStatementActParameters);\n\n\t\t\tif (desMethod.getLevel() == nActParams) {\n\t\t\t\tfor (int currentPos = 1; currentPos <= nActParams; currentPos++) {\n\t\t\t\t\tfor (Iterator<Obj> i = desMethod.getLocalSymbols().iterator(); i.hasNext();) {\n\t\t\t\t\t\tObj localVar = i.next();\n\t\t\t\t\t\tif (localVar.getFpPos() == currentPos) {\n\t\t\t\t\t\t\tif (!localVar.getType().equals(actualParameters.get(currentPos - 1))) {\n\t\t\t\t\t\t\t\treport_error(\n\t\t\t\t\t\t\t\t\t\t\"Greska na liniji \" + designatorStatementActParameters.getLine()\n\t\t\t\t\t\t\t\t\t\t\t\t+ \" : nekompatibilni tipovi stvarnih i formalnih argumenata \"\n\t\t\t\t\t\t\t\t\t\t\t\t+ localVar.getName() + \", metode \"\n\t\t\t\t\t\t\t\t\t\t\t\t+ designatorStatementActParameters.getDesignator().obj.getName() + \"! \",\n\t\t\t\t\t\t\t\t\t\tnull);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tcurrentPos++;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t} else {\n\t\t\t\treport_error(\n\t\t\t\t\t\t\"Greska na liniji \" + designatorStatementActParameters.getLine()\n\t\t\t\t\t\t\t\t+ \" : broj stvarnih i formalnih argumenata metode \"\n\t\t\t\t\t\t\t\t+ designatorStatementActParameters.getDesignator().obj.getName() + \" mora biti isti! \",\n\t\t\t\t\t\tnull);\n\t\t\t}\n\t\t}\n\n\t\telse {\n\t\t\treport_error(\"Greska na liniji \" + designatorStatementActParameters.getLine() + \" : dezignator \"\n\t\t\t\t\t+ designatorStatementActParameters.getDesignator().obj.getName() + \" mora biti globalna metoda! \",\n\t\t\t\t\tnull);\n\t\t}\n\n\t\tactualParameters = new ArrayList<>();\n\t\tnActParams = 0;\n\t}", "title": "" }, { "docid": "6807587281f20f6da59b016781a291e1", "score": "0.46705988", "text": "@Override\n public Object create(ActionParameter argument, Context context, ParameterFactories engine) {\n Object object = createNewInstance(argument.getRawType(), context, engine);\n\n for (Method method : argument.getRawType().getMethods()) {\n if (method.getName().startsWith(SETTER_PREFIX)) {\n if (method.getParameterTypes().length != 1) {\n LOGGER.warn(\"The class {} has a setter method called {} but with too many parameters to be \" +\n \"injected with the 'BeanParameter' annotation\", argument.getRawType().getName(),\n method.getName());\n continue;\n }\n\n // Only 1 parameter\n Annotation[] annotation = method.getParameterAnnotations()[0];\n Class<?> typesOfParameter = method.getParameterTypes()[0];\n Type genericTypeOfParameter = method.getGenericParameterTypes()[0];\n ActionParameter parameter = ActionParameter.from(method, annotation, typesOfParameter,\n genericTypeOfParameter);\n // An exception is thrown if we can't build the parameter object.\n Object value = Bindings.create(parameter, context, engine);\n if (value != null) {\n inject(object, method, value);\n }\n }\n }\n return object;\n }", "title": "" }, { "docid": "b2ca183960d72c5560f5c42654aab75b", "score": "0.46634683", "text": "@Override\n public Object resolveParameter(ParameterContext parameterContext, ExtensionContext context) {\n return true;\n }", "title": "" }, { "docid": "d3c6ba8a2edc361b913e1cf00d844d8d", "score": "0.4644831", "text": "@Override\n\tprotected void prepare()\n\t{\n\t\tProcessInfoParameter[] para = getParameter();\n\t\tfor (ProcessInfoParameter element : para) {\n\t\t\tString name = element.getParameterName();\n\t\t\tif (element.getParameter() == null && element.getParameter_To() == null)\n\t\t\t\t;\n\t\t\telse if (name.equals(\"AD_Client_ID\"))\n\t\t\t\tp_client_id = element.getParameterAsInt();\n\t\t\telse if (name.equals(\"C_Order_ID\"))\n\t\t\t\tp_order_id = element.getParameterAsInt();\n\t\t\telse\n\t\t\t\tlog.log(Level.SEVERE, \"Unknown Parameter: \" + name);\n\t\t}\n\t}", "title": "" }, { "docid": "9566e19c29c6b3c4fb4c7a30f00fccfa", "score": "0.46388945", "text": "protected void convertParameters(final Object... iArgs) {\r\n\t\tif (iArgs == null)\r\n\t\t\treturn;\r\n\r\n\t\t// FILTER PARAMETERS\r\n\t\tfor (int i = 0; i < iArgs.length; ++i)\r\n\t\t\tiArgs[i] = convertParameter(iArgs[i]);\r\n\t}", "title": "" }, { "docid": "da13a23f8e6449c1133aa55bdd58e4db", "score": "0.4635868", "text": "void afterParsingParameters();", "title": "" }, { "docid": "979b8936f650b5c99ad1c500fafb353b", "score": "0.46217382", "text": "private void applyTransformation() {\n\t\tthis.scene = Pipeline.applyTransformation(this.transformation, this.scene);\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "e7401e92867c51b792d75321ae14256e", "score": "0.46164918", "text": "public BatchController(ParameterSetter parameters) {\n params = parameters;\n //getParameterNames();\n ParameterUtility.createInstance(params);\n }", "title": "" }, { "docid": "f41a30a2a374b858a270b8c4895edd2d", "score": "0.45957655", "text": "@Override\n\tpublic void storeParameters() {\n\t\t\n\t}", "title": "" }, { "docid": "99d11942f0215cd94c1035285ffb25b3", "score": "0.45957518", "text": "public void compile() {\r\n\t\tif(!containsInParameter())\r\n\t\t\treturn;\r\n\t\t\r\n\t\t//To be safe, order parameters by original index\r\n\t\tCollections.sort(parameters);\r\n\r\n\t\t// Make a copy of original parameters\r\n\t\tList<StatementParameter> tmpParameters = new LinkedList<StatementParameter>(parameters);\r\n\r\n\t\t// The change will be made into original parameters\r\n\t\tint i = 0;\r\n\t\tfor(StatementParameter p: tmpParameters) {\r\n\t\t\tif(p.isInParam()) {\r\n\t\t\t\t// Remove the original\r\n\t\t\t\tparameters.remove(p);\r\n\t\t\t\tList<?> values = p.getValue();\r\n\t\t\t\tfor(Object val : values) {\r\n\t\t\t\t\tparameters.add(i, new StatementParameter(p).setIndex((i+1)).setInParam(false).setValue(val));\r\n\t\t\t\t\ti++;\r\n\t\t\t\t}\r\n\t\t\t}else {\r\n\t\t\t\tp.setIndex(++i);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "59cc0e231f0a70387d4103644587ff0b", "score": "0.45872197", "text": "public PrimitiveConversionHelper(Method m, ObjectInspector[] parameters) {\n this.m = m;\n this.parameters = parameters;\n \n Type[] acceptedParameters = m.getGenericParameterTypes();\n assert(parameters.length == acceptedParameters.length);\n \n for (int i = 0; i < parameters.length; i++) {\n ObjectInspector acceptedParameterOI = PrimitiveObjectInspectorFactory\n .getPrimitiveObjectInspectorFromClass((Class<?>)acceptedParameters[i]);\n Converter pc = ObjectInspectorConverters\n .getConverter(parameters[i], acceptedParameterOI);\n // Conversion is needed?\n if (pc != null) {\n if (converters == null) {\n // init converters only if needed.\n converters = new Converter[parameters.length];\n convertedParameters = new Object[parameters.length];\n }\n converters[i] = pc;\n }\n }\n }", "title": "" }, { "docid": "cdd4ecf398a4ea62e35f7397411dadf7", "score": "0.4586086", "text": "@Override\n \tpublic void visit(ParametersNode node){\n \t}", "title": "" }, { "docid": "385aeedf802b0996f8665741dccd5ce8", "score": "0.45743573", "text": "public boolean isParameter() {\r\n return this.equals(PARAMTER);\r\n }", "title": "" }, { "docid": "fddb2867f04ec95f3b76a20d1a1330c0", "score": "0.45741898", "text": "private interface Action {\n void apply(List<String> output, List<Binding> bindings, EvalEnv evalEnv);\n }", "title": "" }, { "docid": "880d4bf3a4f281790bda252822651847", "score": "0.4566576", "text": "private SetParametersRequest(){}", "title": "" }, { "docid": "496a4dccba2ae01c7ae3edb60687dc3b", "score": "0.45495585", "text": "protected HookExecutionDecorator(HookExecutingAction action) {\n\t\tthis.action = action;\n\t}", "title": "" }, { "docid": "1fdc19c5e841d04211f99989dcd4b324", "score": "0.45424873", "text": "@Override\n public Map getParameterMap() {\n return this.parameters;\n }", "title": "" }, { "docid": "4ca9f5ece19ca4726a890af005705e1c", "score": "0.45414853", "text": "private void ensureMethodLoad() {\r\n if (this.argumentTypes.get() != null) return;\r\n this.method.set(Stream.of(this.classLocation.getMethods()).filter(m -> {\r\n Action a = m.getAnnotation(Action.class);\r\n return a != null && a.value() == this;\r\n }).findFirst().orElse(null));\r\n if (this.method.get() == null) Log.ERROR.log(\"No method found for MachineAction \" + this);\r\n this.argumentTypes.set((Class<Object>[]) this.method.get().getParameterTypes());\r\n }", "title": "" }, { "docid": "7ecaf5994e7fb29b55681a121b915e89", "score": "0.45408586", "text": "@Override\n public boolean isActionInvocation() {\n return action != null;\n }", "title": "" }, { "docid": "a8171a232688d2473c6a5a23fac3df20", "score": "0.4539158", "text": "private void captureParameters() {\n refactoring.setSuperClassName(panel.getSuperClassName());\n refactoring.setMembers(panel.getMembers());\n }", "title": "" }, { "docid": "b490f41ebe79c99be2f718e25ea5732d", "score": "0.45365492", "text": "public abstract boolean bulkTransformation();", "title": "" }, { "docid": "67f8b4791f0c6a6af2e054f44e02814e", "score": "0.45288953", "text": "public void setParameters(List<AuditParameter> parameters) {\n this.parameters = parameters;\n }", "title": "" }, { "docid": "00ea683edb298935fc47055b7c949d02", "score": "0.4523808", "text": "private InstantiateTransformer() {\n/* 74 */ this.iParamTypes = null;\n/* 75 */ this.iArgs = null;\n/* */ }", "title": "" }, { "docid": "0ef2d2c86b0dd695097c8f4d6e17f519", "score": "0.4517393", "text": "public void actionPerformed(ActionEvent e) {\n \t\tif (e.getSource() == parametersButton) {\n \t\t\tparametersButtonClicked();\n \t\t} else if (e.getSource() == executeButton ) {\n \t\t // Check if we can run the operation\n \t\t Suitability suitability = evaluateSuitability();\n \t\t \n \t\t if (!suitability.isOk()) {\n \t\t application.showDialog(\"Check parameters\", suitability.toString(), \"\",\n \t\t Severity.INFO, true,\n \t\t DetailsVisibility.DETAILS_ALWAYS_HIDDEN, null);\n \t\t return;\n \t\t }\n \t\t \n \t\t // Run it\t \n \t\t\tif (chosenOperation instanceof OperationDefinition) {\n \t\t\t\tapplication.executeOperation((OperationDefinition)chosenOperation, null);\n \t\t\t} else {\t\t\t\t\n \t\t\t\ttry {\n \t\t\t\t\t// we MUST clone the operation, or otherwise results share the same\n \t\t\t\t\t// operation as long as it is executed and parameter panel is not closed\n \t\t\t\t\tOperation clonedOperation = new Operation((Operation)chosenOperation);\n \t\t\t\t\tapplication.executeOperation(clonedOperation);\n \t\t\t\t} catch (MicroarrayException me) {\n \t\t\t\t\tthrow new RuntimeException(me);\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \t}", "title": "" }, { "docid": "c1160f37651af634b475292d54d47d78", "score": "0.4514022", "text": "@SuppressWarnings(\"unchecked\")\n\tpublic void setRenderParameters(Map parameters)\n {\n // mResponse is a protected memeber of PortletResponseDecorator\n ((ActionResponse) mResponse).setRenderParameters(parameters);\n }", "title": "" }, { "docid": "85312d0ee309f8d8cb10a91e3c47c9cc", "score": "0.45026186", "text": "protected void prepare()\n\t{\n\t\tProcessInfoParameter[] parameters = getParameter();\n\t\tfor (ProcessInfoParameter para : parameters) {\n\t\t\tString name = para.getParameterName();\n\t\t\tif (para.getParameter() == null)\n\t\t\t\t;\n\t\t\telse if (name.equals(\"ConsolidateDocument\"))\n\t\t\t\tp_ConsolidateDocument = para.getParameterAsBoolean();\n\t\t\telse if (name.equals(\"DocAction\"))\n\t\t\t\tp_docAction = para.getParameterAsString();\n\t\t\telse if (name.equals(MInvoice.COLUMNNAME_C_Invoice_ID))\n\t\t\t\tp_C_Invoice_ID = para.getParameterAsInt();\n\t\t\telse if (name.equals(MInvoice.COLUMNNAME_DateInvoiced))\n\t\t\t\tp_DateInvoiced = para.getParameterAsTimestamp();\n\t\t\telse if (name.equals(MDocType.COLUMNNAME_C_DocType_ID))\n\t\t\t\tp_C_Doctype_ID = para.getParameterAsInt();\n\t\t\telse\n\t\t\t\tlog.log(Level.SEVERE, \"Unknown Parameter: \" + name);\n\t\t}\n\n\t\t//\tLogin Date\n\t\tif (p_DateInvoiced == null)\n\t\t\tp_DateInvoiced = Env.getContextAsDate(getCtx(), \"#Date\");\n\t\tif (p_DateInvoiced == null)\n\t\t\tp_DateInvoiced = new Timestamp(System.currentTimeMillis());\n\t}", "title": "" }, { "docid": "4b40749beb3ea9b5950d83a6d6ec8987", "score": "0.449043", "text": "@Override\n\tprotected void prepare() {\n\t\tProcessInfoParameter[] para = getParameter();\n\t\tfor (ProcessInfoParameter element : para) {\n\t\t\tString name = element.getParameterName();\n\t\t\tif (element.getParameter() == null)\n\t\t\t\t;\n\t\t\telse if (name.equals(\"AD_Client_ID\"))\n\t\t\t\tm_AD_Client_ID = ((BigDecimal) element.getParameter())\n\t\t\t\t\t\t.intValue();\n\t\t\telse if (name.equals(\"DeleteOldImported\"))\n\t\t\t\tm_deleteOldImported = \"Y\".equals(element.getParameter());\n\t\t\telse if (name.equals(\"M_PriceList_Version_ID\"))\n\t\t\t\tp_M_PriceList_Version_ID = element.getParameterAsInt();\n\t\t\telse\n\t\t\t\tlog.log(Level.SEVERE, \"Unknown Parameter: \" + name);\n\t\t}\n\t\tif (m_DateValue == null)\n\t\t\tm_DateValue = new Timestamp(System.currentTimeMillis());\n\t}", "title": "" }, { "docid": "047aef5ea8c332a63f14a7f92f57a215", "score": "0.44797707", "text": "@Override\n\tpublic boolean constrain(Map<String, Object> parameters) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "54883f927e91f702430b26e297aaa92f", "score": "0.44733793", "text": "public void setChangedParameters(HashMap<String, Setting> parameters) {\n this.parameters = parameters;\n }", "title": "" }, { "docid": "5806f11959d9071da31e22f08c7b8af9", "score": "0.44713387", "text": "private void verifyAllParameters() {\n for (String parameter : parameterValueMap.keySet()) {\n verifyParameter(parameter);\n }\n }", "title": "" }, { "docid": "c4247f3435ef3b55ef94a3a4644d8865", "score": "0.4468345", "text": "@Override\r\n\tpublic Collection<KnowIt> getParameters() {\r\n\t\treturn this.getComponent().getRequiredParameters();\r\n\t}", "title": "" }, { "docid": "6c4ad744ffd1f1a38a0d3a983eb7f659", "score": "0.44619948", "text": "@Override\n public Object[] getParameters() {\n return null;\n }", "title": "" }, { "docid": "2ca1151b89128fc40a3edc3427de9ea7", "score": "0.4461531", "text": "boolean isApplyRequestValuesPhase();", "title": "" }, { "docid": "3bf98601e9bdddb43261138f2d5d889c", "score": "0.445985", "text": "public void setParameters(Map<String, String> newParameters) \n {\n parameters = newParameters;\n }", "title": "" }, { "docid": "491e4c53401a217b51cd9648ee74c56f", "score": "0.4434219", "text": "protected void prepare()\n \t{\n \t\tfor (ProcessInfoParameter para : getParameter())\n \t\t{\n \t\t\tString name = para.getParameterName();\n \n \t\t\tif (para.getParameter() == null)\n \t\t\t\t;\n \t\t\telse if (name.equals(MCostElement.COLUMNNAME_AD_Org_ID))\n \t\t\t\tp_AD_Org_ID = para.getParameterAsInt();\n \t\t\telse if (name.equals(MAcctSchema.COLUMNNAME_C_AcctSchema_ID)) \n \t\t\t\tp_C_AcctSchema_ID = para.getParameterAsInt();\n \t\t\telse if (name.equals(MCostType.COLUMNNAME_M_CostType_ID))\n \t\t\t\tp_M_CostType_ID = para.getParameterAsInt();\n \t\t\telse if (name.equals(MCostElement.COLUMNNAME_CostingMethod))\n \t\t\t\tp_ConstingMethod=(String)para.getParameter();\t\n \t\t\telse if (name.equals(MProduct.COLUMNNAME_M_Product_ID)) \n \t\t\t\tp_M_Product_ID = para.getParameterAsInt();\n \t\t\telse if (name.equals(MProduct.COLUMNNAME_M_Product_Category_ID))\n \t\t\t\tp_M_Product_Category_ID = para.getParameterAsInt();\n \t\t\telse\n \t\t\t\tlog.log(Level.SEVERE,\"prepare - Unknown Parameter: \" + name);\n \t\t}\n \t}", "title": "" }, { "docid": "c6e95c1d301d8ea54b90bd9a0e0bb3f5", "score": "0.4433506", "text": "@Override\n public ParameterValueGroup getParameterValues() {\n return ProjectiveTransform.getParameterValues(getMatrix());\n }", "title": "" }, { "docid": "2d0982bf116bc5eb4d0ef7ffa2516393", "score": "0.4433299", "text": "protected void prepare()\n\t{\n\t\tProcessInfoParameter[] para = getParameter();\n \n\t\tfor (int i = 0; i < para.length; i++)\n\t\t{\n\t\t\tString name = para[i].getParameterName();\n \n\t\t\tif (para[i].getParameter() == null)\n\t\t\t\t;\n\t\t\telse if (name.equals(\"M_Product_ID\") && morepara == 0)\n { \n\t\t\t\tp_M_Product_ID = ((BigDecimal)para[i].getParameter()).intValue();\n morepara = 1;\n }\n else if (name.equals(\"ValidTo\"))\n\t\t\t\tp_ValidTo = ((Timestamp)para[i].getParameter());\n else if (name.equals(\"ValidFrom\"))\n\t\t\t\tp_ValidFrom = ((Timestamp)para[i].getParameter());\n else if (name.equals(\"Action\"))\n\t\t\t\tp_Action = ((String)para[i].getParameter());\n else if (name.equals(\"M_Product_ID\"))\n\t\t\t\tp_New_M_Product_ID = ((BigDecimal)para[i].getParameter()).intValue();\n else if (name.equals(\"Qty\"))\n\t\t\t\tp_Qty = ((BigDecimal)para[i].getParameter());\n\t\t\telse\n\t\t\t\tlog.log(Level.SEVERE,\"prepare - Unknown Parameter: \" + name);\n\t\t}\n\t}", "title": "" }, { "docid": "7dca4e9e73d4bd97128fb8be9537f1bc", "score": "0.44283906", "text": "public void putParameters(final Map<String, String> parameters) {\n if (parameters != null) {\n for (Map.Entry<String, String> entry : parameters.entrySet()) {\n putParameterIfAbsent(entry.getKey(), entry.getValue());\n }\n\n updateUnmodifiableParameters();\n }\n }", "title": "" }, { "docid": "2225f30f56f86f8eb867188698da9b3c", "score": "0.44153938", "text": "public void setParameters(Map<String, String> parameters) {\n this.parameters = parameters;\n }", "title": "" }, { "docid": "5e78841dc84ba9e2d0bb6b66b91f6f25", "score": "0.44116443", "text": "public final void setAction(final String paramaction)\r\n\t{\r\n\t\tthis.action = paramaction;\r\n\t}", "title": "" }, { "docid": "6fbde191d4f154b2b05c7716879f24ed", "score": "0.44062307", "text": "protected void prepare()\r\n\t{\r\n\t\tProcessInfoParameter[] para = getParameter();\r\n\t\tfor (int i = 0; i < para.length; i++)\r\n\t\t{\r\n\t\t\tString name = para[i].getParameterName();\r\n\t\t\tif (para[i].getParameter() == null)\r\n\t\t\t\t;\r\n\t\t\telse\r\n\t\t\t\tlog.log(Level.SEVERE, \"Unknown Parameter: \" + name);\r\n\t\t}\r\n\t\tm_C_TableAnalyze_ID = getRecord_ID();\r\n\r\n\t}", "title": "" }, { "docid": "16380749cc0d21401704cd211e64abdd", "score": "0.44029275", "text": "public void submitChangedParameters(List<GuiParameter> changedParameters);", "title": "" }, { "docid": "749e9e8ea27d3240646331bd61ca1006", "score": "0.44027805", "text": "private void prepareModifySubmissionRequestActionView() {\n protocolModifySubmissionBean.prepareView();\n canModifyProtocolSubmission = hasCanModifySubmissionPermission();\n canModifyProtocolSubmissionUnavailable = hasCanModifySubmissionUnavailablePermission();\n // Initialize the assign committee key values (expensive call) only after checking the conditions for the display of the committee selection\n if (canModifyProtocolSubmission) {\n // pass in the current committee id and the doc route status to the committee finder service\n Collection<? extends CommitteeBase<?, ?, ?>> committees\n = getCommitteeIdByUnitValuesFinderService().getAssignmentCommittees(null, getDocRouteStatus(), assignCmtSchedBean.getCommitteeId());\n assignCmtSchedActionCommitteeIdByUnitKeyValues = getKeyValuesForCommitteeSelection(committees);\n }\n }", "title": "" }, { "docid": "63de89fcb5e538524ab418681c3b94b5", "score": "0.43873024", "text": "@Override\r\n public void action(List<String> parameters) throws LogicException {\r\n logger.info(\"Action of forwarding to points page executing.\");\r\n if (parameters.size() != Constants.POINTS_PARAMETERS_AMOUNT) {\r\n logger.error(\"Invalid rental points page parameters amount!\");\r\n throw new LogicException(\"Invalid rental points page parameters amount!\");\r\n }\r\n try {\r\n Map<Bicycle, RentalPoint> points = bicycleDao.findBicyclesWithLocation();\r\n pointsJson = new JsonArray();\r\n for (Map.Entry<Bicycle, RentalPoint> point : points.entrySet()) {\r\n JsonObject object = new JsonObject();\r\n object.addProperty(Constants.X_COORDINATE, point.getValue().getX_coordinate());\r\n object.addProperty(Constants.Y_COORDINATE, point.getValue().getY_coordinate());\r\n pointsJson.add(object);\r\n }\r\n bicycles = bicycleDao.findBicyclesWithPoints();\r\n logger.info(\"Succefull rental points forwarding!\");\r\n } catch (DaoException ex) {\r\n throw new LogicException(\"Forwarding to rental points page failed!\", ex);\r\n }\r\n }", "title": "" }, { "docid": "895e20f6de64f4ebcca138de717354b2", "score": "0.43848634", "text": "public void setForwardParameter(Object[] forwardParams) {fParam.setValues(forwardParams);}", "title": "" }, { "docid": "311c884abe39ecd0ed2cb2beb1556b6a", "score": "0.43771437", "text": "protected void prepare()\n \t{\n \t\tProcessInfoParameter[] para = getParameter();\n \n \t\tfor (int i = 0; i < para.length; i++)\n \t\t{\n \t\t\tString name = para[i].getParameterName();\n \n \t\t\tif (para[i].getParameter() == null)\n \t\t\t\t;\n \t\t\telse if (name.equals(\"AD_Org_ID\")) \n \t\t\t\tp_AD_Org_ID = ((BigDecimal)para[i].getParameter()).intValue(); \n \t\t\telse if (name.equals(\"M_Warehouse_ID\"))\n \t\t\t\tp_M_Warehouse_ID = ((BigDecimal)para[i].getParameter()).intValue(); \n \t\t\telse if (name.equals(\"M_DistributionList_ID\"))\n \t\t\t\tp_M_DistributionList_ID = ((BigDecimal)para[i].getParameter()).intValue(); \n \t\t\telse if (name.equals(\"DatePromised\"))\n \t\t\t{\n \t\t\t\tp_DatePromised = (Timestamp)para[i].getParameter();\n \t\t\t\t//p_DatePromised_To = (Timestamp)para[i].getParameter_To();\n \t\t\t}\n \t\t\telse if(name.equals(\"ConsolidateDocument\"))\n \t\t\t\tp_ConsolidateDocument = (String)para[i].getParameter();\n \t\t\telse if (name.equals(\"IsRequiredDRP\"))\n \t\t\t\tp_BasedInDamnd = (String)para[i].getParameter();\n \t\t\telse if (name.equals(\"IsTest\"))\n \t\t\t\tp_IsTest = (String)para[i].getParameter();\n \t\t\telse\n \t\t\t\tlog.log(Level.SEVERE,\"prepare - Unknown Parameter: \" + name);\n \t\t} \n \n \t}", "title": "" }, { "docid": "62d4b8e98c0cc9e22cc0a2bcbbe980e3", "score": "0.43723506", "text": "protected void sequence_FunctionParameters(ISerializationContext context, FunctionParameters semanticObject) {\n\t\tgenericSequencer.createSequence(context, semanticObject);\n\t}", "title": "" }, { "docid": "57803d0b43cc7d05f5db8978549615d6", "score": "0.4372142", "text": "private BidiMap transformGoalReplacements(BidiMap originalGoalReplacements) {\n\t\t// Modify the goal replacements based on the moduleParamReplacements\n\t\tBidiMap goalReplacements = originalGoalReplacements;\n\t\tif (moduleParamReplacements_ != null\n\t\t\t\t&& !moduleParamReplacements_.isEmpty()) {\n\t\t\t// Swap any terms shown in the replacements\n\t\t\tBidiMap modGoalReplacements = new DualHashBidiMap();\n\t\t\tfor (RelationalArgument ruleParam : moduleParamReplacements_\n\t\t\t\t\t.keySet()) {\n\t\t\t\tRelationalArgument goalParam = moduleParamReplacements_\n\t\t\t\t\t\t.get(ruleParam);\n\t\t\t\tmodGoalReplacements.put(goalReplacements.getKey(goalParam),\n\t\t\t\t\t\truleParam);\n\t\t\t}\n\n\t\t\tgoalReplacements = modGoalReplacements;\n\t\t}\n\t\treturn goalReplacements;\n\t}", "title": "" }, { "docid": "159ce3b61264e2afb77b6ca6b335346d", "score": "0.43707484", "text": "public ParametersTool(MVCContext mvcContext, RequestParameters parameters)\n {\n super(parameters);\n this.mvcContext = mvcContext;\n }", "title": "" }, { "docid": "64f1d8a615e334534ef3f4886549a9e0", "score": "0.43692714", "text": "@java.lang.Override\n public boolean hasParams() {\n return params_ != null;\n }", "title": "" }, { "docid": "64f1d8a615e334534ef3f4886549a9e0", "score": "0.43692714", "text": "@java.lang.Override\n public boolean hasParams() {\n return params_ != null;\n }", "title": "" }, { "docid": "6155ca54ae5f17b1573da3e8c0b22578", "score": "0.4347388", "text": "@Override\r\n\tpublic void onActionPointsChanged(int oldValue, int newValue) {\n\t}", "title": "" }, { "docid": "e5a5083b677ab42111f83c62938b0b5b", "score": "0.43372974", "text": "private void parameterDataFlow(){\n\t\tassert(mQ.getOperator() instanceof Invoke);\n\t\t\n\t\tRegister paraRegister = Invoke.getParam(mQ, 1).getRegister();\n\t\tassert(paraRegister != null);\n\t\t\n\t\t@SuppressWarnings(\"unchecked\")\n\t\tSet<Quad> dataFlowQs = mReachingDefs.getReachingDefs(quadBBMap.get(mQ), mQ, paraRegister);\n\t\t\n\t\tif(dataFlowQs != null && \n\t\t\t\tdataFlowQs.size() == 1){\n\t\t\tQuad q = null;\n\t\t\tfor(Quad dataFlowQ : dataFlowQs)\n\t\t\t\tq = dataFlowQ;\n\t\t\t\n\t\t\tassert(q != null);\n\t\t\t\n\t\t\tif(q.getOperator() instanceof Move){\n\t\t\t\tOperand srcOperand = Move.getSrc(q);\n\t\t\t\tif(srcOperand != null &&\n\t\t\t\t\t\tsrcOperand instanceof AConstOperand){\n\t\t\t\t\tAConstOperand mAConstOperand = (AConstOperand) srcOperand;\n\t\t\t\t\tif(mAConstOperand.toString().equals(\"AConst: null\")){\n\t\t\t\t\t\tparameterIsNull = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} \n\t\t\n\t}", "title": "" }, { "docid": "e7adc4af8e18a4fd020fa2479751d707", "score": "0.43302733", "text": "public T caseParameters(Parameters object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "555b1c420a67f1e537f6154d2544c892", "score": "0.4309098", "text": "private Action getDisplayAllArgumentsAction() {\r\n \r\n if (displayAllArgumentsAction == null) {\r\n \r\n String toolTipId = argumentTree.getArgumentTreeModel().getDisplayUnusedArguments() ? \r\n \"AE_DisplayingAllArgumentsToolTip\" : \"AE_NotDisplayingAllArgumentsToolTip\";\r\n \r\n displayAllArgumentsAction = new AbstractAction (GemCutter.getResourceString(\"AE_DisplayAllArguments\"), showAllArgumentsIcon) {\r\n private static final long serialVersionUID = -536379607757716250L;\r\n\r\n public void actionPerformed(ActionEvent evt) {\r\n ArgumentTreeModel treeModel = argumentTree.getArgumentTreeModel();\r\n boolean wasDisplayingAllArguments = argumentTree.getArgumentTreeModel().getDisplayedCollector() == null;\r\n displayAllArguments = !wasDisplayingAllArguments;\r\n treeModel.setDisplayUnusedArguments(displayAllArguments);\r\n\r\n // Set the collector to display in the tree model.\r\n if (!wasDisplayingAllArguments) {\r\n // Display all arguments.\r\n collectorToDisplay = null;\r\n \r\n } else {\r\n // Display the target only.\r\n collectorToDisplay = treeModel.getGemGraph().getTargetCollector();\r\n }\r\n treeModel.setCollectorToDisplay(collectorToDisplay);\r\n\r\n // Update the action map.\r\n putValue(ACTION_SELECTED_KEY, Boolean.valueOf(treeModel.getDisplayUnusedArguments()));\r\n }\r\n };\r\n \r\n displayAllArgumentsAction.putValue(Action.SHORT_DESCRIPTION, GemCutter.getResourceString(toolTipId));\r\n displayAllArgumentsAction.setEnabled(true);\r\n }\r\n \r\n return displayAllArgumentsAction;\r\n }", "title": "" }, { "docid": "c6fa6233207745d13b075e66bc2a1144", "score": "0.4298362", "text": "protected abstract void handleActionProduced(Action r_Action);", "title": "" }, { "docid": "72d2fa34a867d9909f64a686138b4abb", "score": "0.4297696", "text": "protected void handleParameters(Connection c) {\n\t\tfor (String key : parameters.keySet()) {\n\t\t\tc.addParameter(key, parameters.get(key));\n\t\t}\n\t\tif (requestMethod != null)\n\t\t\tc.setRequestMethod(requestMethod);\n\t}", "title": "" }, { "docid": "d11f98955359ed2e17e1ac5916fe56e9", "score": "0.42928118", "text": "protected void sequence_DeclaredParameter(ISerializationContext context, DeclaredParameter semanticObject) {\n\t\tif (errorAcceptor != null) {\n\t\t\tif (transientValues.isValueTransient(semanticObject, StateMachinePackage.Literals.DECLARED_PARAMETER__NAME) == ValueTransient.YES)\n\t\t\t\terrorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, StateMachinePackage.Literals.DECLARED_PARAMETER__NAME));\n\t\t}\n\t\tSequenceFeeder feeder = createSequencerFeeder(context, semanticObject);\n\t\tfeeder.accept(grammarAccess.getDeclaredParameterAccess().getNameVarNameParserRuleCall_0_0(), semanticObject.getName());\n\t\tfeeder.finish();\n\t}", "title": "" }, { "docid": "c2cdf1c7020722551fbff068ca31f30d", "score": "0.42925584", "text": "@Override\r\n\tprotected void doBefore(Map<String, Object> params, JSONObject param) {\n\t}", "title": "" }, { "docid": "811ac9077251e7d0d192423fbee3ef86", "score": "0.4291923", "text": "@Override\n public List<String> getControllerParameterKeys() {\n return new ArrayList<>();\n }", "title": "" }, { "docid": "a120094b2ede6d4aa071029db65c5a43", "score": "0.42884243", "text": "@Override\n public void removeAllRequestValues()\n {\n if (this.rewrittenParameters != null)\n {\n this.rewrittenParameters.clear();\n }\n }", "title": "" }, { "docid": "0704fa041b31587485eaa759b4af217c", "score": "0.42882717", "text": "@Override\n public String toString() {\n final StringBuffer parameters = new StringBuffer();\n final ActionInvocationFacet facet = getFacet(ActionInvocationFacet.class);\n final NakedObjectSpecification onType = facet.getOnType();\n return \"JavaAction [name=\" + getIdentifier().getMemberName() + \",type=\" + onType.getShortName() + \",parameters=\"\n + parameters + \"]\";\n }", "title": "" }, { "docid": "8fbc388ea78787752f8189c1791302a0", "score": "0.42857805", "text": "@Override\n public ActionResult onAction(Control source) {\n submitCalled = true;\n return new ActionResult();\n }", "title": "" }, { "docid": "8fbc388ea78787752f8189c1791302a0", "score": "0.42857805", "text": "@Override\n public ActionResult onAction(Control source) {\n submitCalled = true;\n return new ActionResult();\n }", "title": "" }, { "docid": "212f0a8f5b09dba68c77dd7f664affea", "score": "0.42813915", "text": "@Override\r\n\t\t\tpublic void mappingParameters(PreparedStatement stmt) throws SQLException{\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "adc09f8de0a754ae4862384e1ad65a64", "score": "0.42780092", "text": "protected void sequence_FunctionCallParameters(ISerializationContext context, FunctionCallParameters semanticObject) {\n\t\tgenericSequencer.createSequence(context, semanticObject);\n\t}", "title": "" }, { "docid": "5c227ef5c58789026cc5295311df1bc6", "score": "0.42777023", "text": "public Collection<Parameter> getParameters()\n {\n return _parameters.values();\n }", "title": "" }, { "docid": "3029f19f38e8757936cc5ce289898875", "score": "0.4274265", "text": "@Override\n\tprotected void initActions() {\n\t\t\n\t}", "title": "" }, { "docid": "9f4f7945bae378163c94cb1989c26082", "score": "0.42689914", "text": "public boolean execute(ActionContext actionContext)\n throws Exception {\n ActionForm form = findOrCreateForm(actionContext);\n\n if (isEmpty(getToKey())) {\n throw new IllegalStateException(\"Property 'toKey' must be defined.\");\n }\n\n actionContext.put(getToKey(), form);\n\n return false;\n }", "title": "" }, { "docid": "23ccedd80ec72cad0766e112ba66204e", "score": "0.42682683", "text": "public Map act(Redirector arg0, SourceResolver arg1, Map map, String arg3, Parameters parameters) throws Exception {\r\n\r\n\t\tHttpRequest request = (HttpRequest)map.get(\"request\");\r\n\t\tStringBuffer bMessage = new StringBuffer(parameters.getParameter(\"message\"));\r\n\t\t\r\n\t\tbMessage.append(\" by user: \" + request.getRemoteUser());\r\n\t\t\r\n\t\tEnumeration eParameterNames = request.getParameterNames();\r\n\t\t\r\n\t\twhile(eParameterNames.hasMoreElements())\r\n\t\t{\r\n\t\t\tString parameterName = (String)eParameterNames.nextElement();\r\n\t\t\tString parameterValue = \"unknown\";\r\n\t\t\t\r\n\t\t\tif(request.get(parameterName) instanceof PartOnDisk)\r\n\t\t\t{\r\n\t\t\t\tPartOnDisk filePart = (PartOnDisk)request.get(parameterName);\r\n\t\t\t\tparameterValue = filePart.getFileName();\t\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tparameterValue = request.getParameter(parameterName);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tbMessage.append(\" / \"+ parameterName +\": \"+ parameterValue); \t\r\n\t\t}\r\n\t\t\r\n\t\tLogger mylogger = Logger.getLogger(DBActionLogLevel.class);\r\n\t\tmylogger.log(DBActionLogLevel.DBACTION, bMessage.toString());\r\n\t\t\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "5539aee5c701a9c47719cb75bab2976e", "score": "0.42666453", "text": "private void explodeArgs() {\r\n\t\tif ( getKeyword().equals(ACTION) || getKeyword().equals(PRIMITIVE) ) { return; }\r\n\t\tfor ( Map.Entry<String, IExpressionDescription> arg : msi.gama.util.GAML.getExpressionFactory()\r\n\t\t\t.createArgumentMap(getAction(), facets.get(WITH), this).entrySet() ) {\r\n\t\t\tString name = arg.getKey();\r\n\t\t\targs.put(name, createArg(name, arg.getValue()));\r\n\t\t}\r\n\t\t// FIXME We should not play with the facets like this. Commented for the moment unless it creates problems.\r\n\t\t// facets.remove(WITH);\r\n\t}", "title": "" }, { "docid": "7c9d245593e5ccef3fb4809b6187c57b", "score": "0.42634007", "text": "protected abstract boolean areParametersCorrect();", "title": "" }, { "docid": "8b1109ae93fa10b675810abe6ffa3e5c", "score": "0.4259246", "text": "@Override\n public void setParams()\n {\n\n }", "title": "" }, { "docid": "d5a0d861dcdffb8f6402f51a257526d4", "score": "0.42578983", "text": "@Override\n public void doPostAction(Map<String, String> parameters, JSONObject content,\n DataSourceAction action, String originalObject) {\n try {\n OBContext.setAdminMode();\n // We can identify the save and update using _doingAdd flag in parameter map\n // do the business logic what ever you want with the parameters\n if (parameters.containsKey(Operation_Type) && parameters.get(Operation_Type).equals(\"update\")\n && PROPOSAL_TAB_ID.equals(parameters.get(TAB_ID))) {\n JSONObject responseJson = content.getJSONObject(\"response\");\n JSONArray dataJson = responseJson.getJSONArray(\"data\");\n String proposalId = dataJson.getJSONObject(0).getString(\"id\");\n EscmProposalMgmt proposal = OBDal.getInstance().get(EscmProposalMgmt.class, proposalId);\n if (proposal != null) {\n for (EscmProposalmgmtLine line : proposal.getEscmProposalmgmtLineList()) {\n line.setProcess(false);\n OBDal.getInstance().save(line);\n }\n }\n\n }\n } catch (Exception e) {\n log.error(\"Error while handling post save actions\" + e.getMessage());\n } finally {\n OBContext.restorePreviousMode();\n }\n\n }", "title": "" } ]
4fb7c5a83327621393bfe51c9e2c7dd1
Creates the transactions pipeline.
[ { "docid": "bff5608d8188d0bda8813e71efc14a8b", "score": "0.73236716", "text": "@PostConstruct\n public void createPipeline() {\n LOG.info(\"Going to subscribe on Stellar Transactions stream\");\n\n Flux\n .<TransactionResponse>push(\n sink -> subscribe(\n sink::next,\n SubscriberErrorsHandler::handleFatalApplicationError\n )\n )\n .publishOn(Schedulers.newElastic(\"transactions-subscriber-thread\"))\n .timeout(this.errorsHandler.timeoutDuration())\n .map(this::enrichTransaction)\n .buffer(this.batchSettings.transactionsInChunk())\n .retryWhen(errorsHandler::onError)\n .subscribe(\n entities -> this.apiClient.publishWithState(\"/transactions\", entities),\n SubscriberErrorsHandler::handleFatalApplicationError\n );\n }", "title": "" } ]
[ { "docid": "a43a262bd26d82ea7b10de31cdb9dc8b", "score": "0.5932904", "text": "protected void createTransaction() {\n\n }", "title": "" }, { "docid": "5a38fed8cb1417f8be43d1d87887e5bb", "score": "0.57267797", "text": "public PipeTransformExecutor<T> create(PipelinePhase pipeline) throws Exception {\n // populate the pipe stages in reverse topological order to ensure that an output is always created before its\n // input. this will allow us to setup all outputs for a stage when we get to it.\n Dag pipelineDag = pipeline.getDag();\n // dag is null if the pipeline phase contains a single stage.\n List<String> traversalOrder = pipelineDag == null\n ? Collections.singletonList(pipeline.iterator().next().getName())\n : pipelineDag.getTopologicalOrder();\n Collections.reverse(traversalOrder);\n\n Map<String, PipeStage> pipeStages = new HashMap<>();\n for (String stageName : traversalOrder) {\n pipeStages.put(stageName, getPipeStage(pipeline, stageName, pipeStages));\n }\n\n // sourceStageName will be null in reducers, so need to handle that case\n Set<String> startingPoints =\n (sourceStageName == null) ? pipeline.getSources() : Sets.newHashSet(sourceStageName);\n return new PipeTransformExecutor<>(pipeStages, startingPoints);\n }", "title": "" }, { "docid": "ff48c7a086c8f7eee4aed098eadd7c37", "score": "0.5724375", "text": "public void initTransactions() {\n List<Transaction> list = transactionStore.getOpenTransactions();\n for (Transaction t : list) {\n if (t.getStatus() == Transaction.STATUS_COMMITTING) {\n t.commit();\n } else if (t.getStatus() != Transaction.STATUS_PREPARED) {\n t.rollback();\n }\n }\n }", "title": "" }, { "docid": "5733ccd600516e6ffdbfd76d69bfd648", "score": "0.56754446", "text": "public Transactions() {\n }", "title": "" }, { "docid": "987ae5ce2a6dfa76391b75a059122d56", "score": "0.56644416", "text": "public abstract void createTransactionSequence();", "title": "" }, { "docid": "208d206b69e5a3fd4376be9f90e3c6af", "score": "0.5646782", "text": "@Override\n\tpublic void createTransaction() {\n\t\t\n\t}", "title": "" }, { "docid": "f217c48b7bcbeffcf841d1a74fee3cec", "score": "0.5600932", "text": "FhirTransactions transactions();", "title": "" }, { "docid": "85ae573400eea2fe2b66f92eb79616b8", "score": "0.5581982", "text": "private void createTransaction() {\n\n double sum = calculate(OPERATION_NONE);\n\n String note = noteInput.getText().toString();\n\n Account account = (Account) accountSelection.getSelectedItem();\n Category category = selectedCategory;\n\n Transaction transaction = new Transaction(date, sum, note, account, category);\n dbAdapter.addTransaction(transaction, Manager.getLoggedUser().getId());\n\n DiagramFragment fragment = new DiagramFragment();\n Bundle arguments = new Bundle();\n arguments.putSerializable(\"TRANSACTION\", transaction);\n fragment.setArguments(arguments);\n getFragmentManager().beginTransaction()\n .replace(R.id.main_fragment_frame, fragment, getString(R.string.diagram_fragment_tag))\n .addToBackStack(getString(R.string.diagram_fragment_tag))\n .commit();\n }", "title": "" }, { "docid": "27f27aeaf810f087a32fb211c6d1bfba", "score": "0.5505207", "text": "private void executeTransactions(){\n\t\tchain.getCurrentTransactions()\n\t\t\t\t.stream().parallel().sorted(Transaction.transactionsComparator).\n\t\t\t\tcollect(Collectors.toList()).subList(0, 4).forEach(tr -> t.executeTransaction(tr));\n\t\tchain = bc.getInstance();\n\t}", "title": "" }, { "docid": "d94f73741ffe6a372a3a04ac9cde9a62", "score": "0.54981095", "text": "private void createTransaction() {\n Transaction newTransaction = new Transaction();\n Account transactionAccount = (Account) accountSpinner.getSelectedItem();\n BigDecimal transactionAmount = new BigDecimal(inputAmount.getText().toString());\n Category transactionCategory = (Category) categorySpinner.getSelectedItem();\n\n newTransaction.setAccount(transactionAccount);\n newTransaction.setCategory(transactionCategory);\n newTransaction.setAmount(transactionAmount);\n newTransaction.setDate(date);\n\n if (transactionCategory.getType() == Category.Type.INCOME)\n accountDao.addAmount(transactionAccount, transactionAmount);\n else\n accountDao.subtractAmount(transactionAccount, transactionAmount);\n\n getRealmManager().createTransactionDao().save(newTransaction);\n }", "title": "" }, { "docid": "0eea6eadf904c20605c63928c024b4e6", "score": "0.54862565", "text": "public void populate() {\n newTransaction((tx1) -> {\n insert(Time.stamp(), 11);\n insert(Time.stamp(), 12);\n \n // Start a new transaction within\n newTransaction(tx2 -> {\n insert(Time.stamp(), -21);\n insert(Time.stamp(), -22);\n \n // Another one\n newTransaction(tx3 -> {\n insert(Time.stamp(), 31);\n insert(Time.stamp(), 32);\n });\n \n // Continue on the previous last active one (same as tx2) \n requireTransaction(tx4 -> {\n insert(Time.stamp(), -41);\n insert(Time.stamp(), -42);\n });\n \n // Neither -21 ... or -41 ... will get into db since that tx rolledback\n tx2.rollback();\n \n // The same as tx1, no issues there. Should be in. \n requireTransaction(tx5 -> {\n insert(Time.stamp(), 51);\n insert(Time.stamp(), 52);\n \n // The same as tx1 and tx5, no issues there. Should enter db. \n requireTransaction(($Transaction tx6) -> {\n insert(Time.stamp(), 61);\n insert(Time.stamp(), 62);\n \n // New transaction, will be in \n newTransaction(($Transaction tx7) -> {\n insert(Time.stamp(), 71);\n insert(Time.stamp(), 72);\n });\n \n // New transaction, won't be in since rolled back \n newTransaction(($Transaction tx8) -> {\n insert(Time.stamp(), -81);\n insert(Time.stamp(), -82);\n \n tx8.rollback();\n });\n });\n });\n });\n });\n }", "title": "" }, { "docid": "f85ecc50be2c554d8544af6287c02c56", "score": "0.5402548", "text": "public Transaction(){}", "title": "" }, { "docid": "b46bce66d46295e67dc791ef62505f0b", "score": "0.5338102", "text": "public TransactionController()\n {\n transactionList = new ArrayList<Transaction>();\n }", "title": "" }, { "docid": "0d858054beb834c9ad4dfe3f6f33964d", "score": "0.53354406", "text": "protected Transaction() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "6cb3d0b735126865250db2cb40e339e8", "score": "0.5320737", "text": "public Transaction() {\n\t}", "title": "" }, { "docid": "9d828e1978728e3a435e1702ca50e451", "score": "0.52989346", "text": "public Pipeline() {\n super();\n }", "title": "" }, { "docid": "824cd3deb9ead271ca45eb5c3607432f", "score": "0.5291366", "text": "public void applyTransactions(Iterable<Block.Transaction> txs);", "title": "" }, { "docid": "b1e0b5d1f94f357532ea14273e45dfe2", "score": "0.524347", "text": "private void processTransactions() {\n\t\tSystem.out.println(\"Processing transactions...\");\n\t\t\n\t\ttransactionFile.openReadFile(transactionFileName);\n\t\tTransactionParser transactionData = transactionFile.getNextTransaction();\n\t\t\n\t\t// Build and execute all transactions retrieved from the file except invalid transactions\n\t\twhile(transactionData != null){\n\t\t\tITransaction transaction = Transaction.getTransaction(transactionData);\n\t\t\t\n\t\t\tif(transaction != null){\n\t\t\t\ttransaction.build(transactionData);\n\t\t\t\ttransaction.process();\n\t\t\t}\n\t\t\t\n\t\t\ttransactionData = transactionFile.getNextTransaction();\n\t\t}\n\t}", "title": "" }, { "docid": "b0aca1e402fca385903cd91b226eee2f", "score": "0.5184702", "text": "public WriteBack(Pipeline pipeline) {\n\n this.pipeline = pipeline;\n }", "title": "" }, { "docid": "f84abe6a5d9257b4c9bf9b2a5f29cfa7", "score": "0.5162064", "text": "public TransactionBase() {\n }", "title": "" }, { "docid": "a1020332d6c46e4bea4fc24df6e166dc", "score": "0.5155343", "text": "private void generateTicketHistoryAndTransaction(){\n TicketTransaction ticketTransaction0 = TicketTransaction.builder()\n .id(null)\n .status(TicketStatus.STORNO)\n .ticketHistories(null)\n .customer(this.customers.get(0))\n .outdated(false)\n .build();\n ticketTransactionRepository.save(ticketTransaction0);\n try { Thread.sleep(0,1);} catch (InterruptedException e){}\n\n TicketTransaction ticketTransaction1 = TicketTransaction.builder()\n .id(null)\n .status(TicketStatus.RESERVED)\n .ticketHistories(null)\n .customer(this.customers.get(0))\n .outdated(false)\n .build();\n ticketTransactionRepository.save(ticketTransaction1);\n try { Thread.sleep(0,1);} catch (InterruptedException e){}\n\n TicketTransaction ticketTransaction2 = TicketTransaction.builder()\n .id(null)\n .status(TicketStatus.BOUGHT)\n .ticketHistories(null)\n .customer(this.customers.get(0))\n .outdated(false)\n .build();\n ticketTransactionRepository.save(ticketTransaction2);\n try { Thread.sleep(0,1);} catch (InterruptedException e){}\n\n TicketTransaction ticketTransaction3 = TicketTransaction.builder()\n .id(null)\n .status(TicketStatus.STORNO)\n .ticketHistories(null)\n .customer(this.customers.get(0))\n .outdated(false)\n .build();\n ticketTransactionRepository.save(ticketTransaction3);\n try { Thread.sleep(0,1);} catch (InterruptedException e){}\n\n TicketHistory ticketHistory0 = new TicketHistory(\n null,\n ticketsToPerf0.get(1),\n ticketTransaction0\n );\n ticketHistoryRepository.save(ticketHistory0);\n\n TicketHistory ticketHistory1 = new TicketHistory(\n null,\n ticketsToPerf0.get(3),\n ticketTransaction0\n );\n ticketHistoryRepository.save(ticketHistory1);\n\n TicketHistory ticketHistory2 = new TicketHistory(\n null,\n ticketsToPerf0.get(0),\n ticketTransaction1\n );\n ticketHistoryRepository.save(ticketHistory2);\n\n TicketHistory ticketHistory3 = new TicketHistory(\n null,\n ticketsToPerf0.get(1),\n ticketTransaction1\n );\n ticketHistoryRepository.save(ticketHistory3);\n\n TicketHistory ticketHistory4 = new TicketHistory(\n null,\n ticketsToPerf0.get(2),\n ticketTransaction1\n );\n ticketHistoryRepository.save(ticketHistory4);\n\n TicketHistory ticketHistory5 = new TicketHistory(\n null,\n ticketsToPerf0.get(2),\n ticketTransaction2\n );\n ticketHistoryRepository.save(ticketHistory5);\n\n TicketHistory ticketHistory6 = new TicketHistory(\n null,\n ticketsToPerf0.get(3),\n ticketTransaction2\n );\n ticketHistoryRepository.save(ticketHistory6);\n\n TicketHistory ticketHistory7 = new TicketHistory(\n null,\n ticketsToPerf0.get(4),\n ticketTransaction2\n );\n ticketHistoryRepository.save(ticketHistory7);\n\n TicketHistory ticketHistory8 = new TicketHistory(\n null,\n ticketsToPerf0.get(0),\n ticketTransaction3\n );\n ticketHistoryRepository.save(ticketHistory8);\n\n TicketHistory ticketHistory9 = new TicketHistory(\n null,\n ticketsToPerf0.get(4),\n ticketTransaction3\n );\n ticketHistoryRepository.save(ticketHistory9);\n\n TicketHistory ticketHistory10 = new TicketHistory(\n null,\n ticketsToPerf0.get(5),\n ticketTransaction3\n );\n ticketHistoryRepository.save(ticketHistory10);\n }", "title": "" }, { "docid": "8a8a0fed2c0d8913ca011abc767c3081", "score": "0.51086926", "text": "public ITransactionHandler create() throws CreateException, RemoteException;", "title": "" }, { "docid": "b6f29c8408305642716701fd6da51281", "score": "0.50908005", "text": "public Pipeline() {\n insFetch = new InstructionFetch(this);\n issue = new Issue(this);\n executor = new Executor(this);\n mem= new Mem(this);\n writeBack = new WriteBack(this);\n preIssue = new PreIssue(this);\n }", "title": "" }, { "docid": "2190092032c6f70eb95338d94edb8df5", "score": "0.5073108", "text": "private void createTransaction(Integer transactionId) throws OperationException {\n\t\tif(!transactions.containsKey(transactionId)){\n\t\t\tTransaction Ti = new TransactionImpl(transactionId, ++timeStamp, this);\n\t\t\ttransactions.put(transactionId, Ti);\n\t\t\tnew Thread(Ti).start();\n\t\t\t\n\t\t\tLog.outputMsg(Ti.getTransactionName()+\" was created. **\");\n\t\t\tLog.outputMsg(\"ts(\"+Ti.getTransactionName()+\")=\" + Ti.getTimeStamp()+\".\");\n\t\t} else {\n\t\t\tthrow new OperationException(transactions.get(transactionId).getTransactionName()+\" already exists!\");\n\t\t}\n\t}", "title": "" }, { "docid": "adbb0742d791227a9b406bd0f4dbcf25", "score": "0.5034674", "text": "public void runMainTransaction() {\n\t\tcreateMemberReports(1);\n\t\tcreateProviderReports(1);\n\t\tcreateSummaryReport(1);\n\t\t\n\t}", "title": "" }, { "docid": "3881240c2e29c7b6b507553478cc0c43", "score": "0.50325066", "text": "void addTransaction(String instanceName, List<String> transactionItems) throws IOException;", "title": "" }, { "docid": "29130057d5361eb2f94478281875c918", "score": "0.5018333", "text": "private CompositeTransactionImp createCT ( String tid ,\r\n CoordinatorImp coordinator , Stack lineage , boolean serial )\r\n throws SysException\r\n {\r\n \t\tConfiguration.logDebug ( \"Creating composite transaction: \" + tid );\r\n CompositeTransactionImp ct = new CompositeTransactionImp ( this,\r\n lineage, tid, serial, coordinator );\r\n\r\n setTidToTx ( ct.getTid (), ct );\r\n return ct;\r\n }", "title": "" }, { "docid": "ca7a4d54e02c4eb5c7b745508c06a7af", "score": "0.49985442", "text": "BatchCommit createBatchCommit();", "title": "" }, { "docid": "9109c49fb5370a6bf1f940c42839eba9", "score": "0.4978731", "text": "@Override\n public Transaction createTransaction(TransactionDTO transactionDTO) {\n log.debug(\"Create Transaction: {}\", transactionDTO);\n\n Transaction transactionValidated = createValidateTransaction(transactionDTO);\n\n try {\n\n transactionValidated.setCreatedDate(Timestamp.from(Instant.now()));\n transactionValidated.setLastModified(Instant.now());\n\n return transactionRepository.save(transactionValidated);\n\n } catch (Exception e) {\n log.error(e.getMessage());\n e.printStackTrace();\n Transaction transactiondError = new Transaction();\n transactiondError.setId(-500L);\n\n return transactiondError;\n }\n\n }", "title": "" }, { "docid": "776e8395e17a2bf7b91318531565d6e4", "score": "0.49666536", "text": "protected static ObjectTransactionImpl createObjectTransaction(TaskOwner owner, ObjectTransactionImpl objectTransactor) {\n \tObjectTransactionImpl transaction = new ObjectTransactionImpl(objectTransactor, owner, transactionId++);\n \towner.setTransaction(transaction);\n \treturn transaction;\n }", "title": "" }, { "docid": "eccb658504b3f86c002211e7d0782413", "score": "0.4945279", "text": "Transaction newCreateTableTransaction();", "title": "" }, { "docid": "b5edad871e88d90b1766fb0ed81d7a07", "score": "0.49440432", "text": "public void startTransaction() {\n }", "title": "" }, { "docid": "38268b0195715d6bef7b9216ebeb11c8", "score": "0.4933119", "text": "public TransitSystem(){\n this.adminUsers = new AdminUserList();\n this.cardHolders = new CardHolderList();\n this.stations = new StationList();\n this.transitData = new TransitData(this);\n this.programlog = new Logger();\n }", "title": "" }, { "docid": "ec0ce11f9202808f5b12520a66fd6a8b", "score": "0.4922724", "text": "Publisher createPublisher(String name) throws TransactionException;", "title": "" }, { "docid": "a0b97619210e0999d4a212e9dda32d92", "score": "0.49187", "text": "protected Transaction newTransaction() {\n return new Transaction(this);\n }", "title": "" }, { "docid": "6e01909d98627df947a971d60f376c3a", "score": "0.49059907", "text": "protected void sequence_External_Pipeline(ISerializationContext context, External semanticObject) {\n\t\tgenericSequencer.createSequence(context, semanticObject);\n\t}", "title": "" }, { "docid": "c5d01a57f1b935098b0b946e63900c3b", "score": "0.48882094", "text": "private Transaction createValidateTransaction(TransactionDTO transactionDTO) {\n\n Transaction transactionEmpty = new Transaction();\n\n if (transactionDTO.getConcepto() == null || transactionDTO.getImporte() == null || transactionDTO.getTipoMovimiento() == null || ValidateTypeOfMovimiento(transactionDTO.getTipoMovimiento()) != true) {\n return transactionEmpty;\n }\n if (transactionDTO.getIdBankAccount() == null && transactionDTO.getIdCreditCard() == null) {\n return transactionEmpty;\n } else {\n // If passed all validations\n\n Transaction transaction = new Transaction();\n\n transaction.setConcepto(transactionDTO.getConcepto());\n transaction.setImporte(transactionDTO.getImporte());\n transaction.setTipoMovimiento(transactionDTO.getTipoMovimiento());\n transaction.setCreatedDate(Timestamp.from(Instant.now()));\n\n if (transactionDTO.getIdBankAccount() != null) {\n Optional<BankAccount> bankAccount = bankAccountRepository.findById(transactionDTO.getIdBankAccount());\n transaction.setBankAccount(bankAccount.get());\n }\n\n if (transactionDTO.getIdCategory() != null) {\n Optional<Category> category = categoryRepository.findOneById(transactionDTO.getIdCategory());\n transaction.setCategory(category.get());\n }\n\n if (transactionDTO.getIdCreditCard() != null) {\n Optional<CreditCard> creditCard = creditCardRepository.findOneById(transactionDTO.getIdCreditCard());\n transaction.setCreditCard(creditCard.get());\n }\n\n // Function to set current balance in the BankAccounts and in Transaction before an operation\n currentBalance(transaction);\n\n\n return transaction;\n }\n\n\n }", "title": "" }, { "docid": "7291c0e3cf8222407f9f52cd74eed14a", "score": "0.48872024", "text": "public static ObjectTransaction createTransaction(TaskOwner owner) {\n \tObjectTransactionImpl transaction = owner.isTransactional() ? \n \t\tcreateObjectTransaction(owner, (ObjectTransactionImpl) getTransaction())\n \t\t:\n \t\tcreateObjectNullTransaction(owner, (ObjectTransactionImpl) getTransaction());\n \tregisterTransaction(transaction);\n \ttransaction.setState(\"Created\");\n \treturn transaction;\n }", "title": "" }, { "docid": "758db8a43bb09a960928c04f77f89141", "score": "0.48679176", "text": "Settlement createSettlement();", "title": "" }, { "docid": "2dfe83603761d4f4ead23d6697fed440", "score": "0.48328683", "text": "public TransactionRecord(Long transactionId, LocalDate txDate, Integer clientId, String clientGender, Integer clientYearOfBirth, BigDecimal amount, String merchantUid, String merchantCategory, String shopTags, String merchantCategoryId, String shopUid, String shopType, String region, String country, String[] tagArray) {\n super(Transaction.TRANSACTION);\n\n set(0, transactionId);\n set(1, txDate);\n set(2, clientId);\n set(3, clientGender);\n set(4, clientYearOfBirth);\n set(5, amount);\n set(6, merchantUid);\n set(7, merchantCategory);\n set(8, shopTags);\n set(9, merchantCategoryId);\n set(10, shopUid);\n set(11, shopType);\n set(12, region);\n set(13, country);\n set(14, tagArray);\n }", "title": "" }, { "docid": "265d65a4ef420e5082c2b57768241e72", "score": "0.4825166", "text": "protected void sequence_Pipeline_WindowPipeline(ISerializationContext context, Window semanticObject) {\n\t\tgenericSequencer.createSequence(context, semanticObject);\n\t}", "title": "" }, { "docid": "a3abb38a9a0d859654aba2d055dab97a", "score": "0.4809634", "text": "final protected void begin(){\n\t\ttransactionId = new TransactionEvent(subscriptionContainer.getName(), subscriptionContainer.agent().getNextTransactionID());\n\t\tsubscriptionContainer.agent().beginTran(transactionId);\n\t}", "title": "" }, { "docid": "85300e46bb1db7245928567d6d68d0dc", "score": "0.48002598", "text": "public void beginTransaction() {\n\n }", "title": "" }, { "docid": "fe535a46f5cfcf001f311644edde10e8", "score": "0.47968966", "text": "CompletableFuture<TransactionClient> transaction();", "title": "" }, { "docid": "7ed1b1ca7229ee39b0b2630f91b6016b", "score": "0.4795174", "text": "private void newTransaction(int id, String type, String tickerSymbol, LocalDate transactionDate, double pricePerShare, double transactionCost, int numOfShares, LocalDate minDate) {\n\t\t\tif (type.equals(\"Buy\")) {\n\t\t\t\t//Buy transaction\n\t\t\t\tuserPortfolio.createPurchaseTransaction(id, tickerSymbol, transactionDate, pricePerShare, transactionCost, numOfShares, minDate);\n\t\t\t} else {\n\t\t\t\t//Sell transaction\n\t\t\t\tuserPortfolio.createSellTransaction(id, tickerSymbol, numOfShares, transactionDate, transactionCost, pricePerShare);\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "0d336d814cb6360978bc58a9f53cc20f", "score": "0.4790839", "text": "public Executor(Pipeline pipeline) {\n this.pipeline = pipeline;\n }", "title": "" }, { "docid": "018cca727565306dd1473c0754dffef7", "score": "0.478554", "text": "public Transaction() {\n super();\n this.rollbackRequested = false;\n }", "title": "" }, { "docid": "13ddd2fb14be7d60365f770cdcf8af8b", "score": "0.47752023", "text": "@POST\r\n @Consumes({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})\r\n public void createTransaction(MoneyTransaction transaction){\r\n moneyTransactionJDBCTemplate.createTransaction(transaction.getAccount_id(), transaction.getDestination_account_id(), transaction.getTransactionAmount());\r\n }", "title": "" }, { "docid": "085b45af8693e4b300db73bf873624db", "score": "0.47718972", "text": "private void createTransaction(Object request, Boolean transactionSuccess, TransactionType transactionType){\n switch (transactionType) {\n case TRANSFER: {\n if(request instanceof TransferRequest) {\n TransferRequest transferRequest = (TransferRequest) request;\n\n TransferTransaction transferTransaction = new TransferTransaction();\n transferTransaction.setTransactionId(IdService.getNextTransactionId());\n transferTransaction.setFromAccountId(transferRequest.getFromAccountId());\n transferTransaction.setToAccountId(transferRequest.getToAccountId());\n transferTransaction.setTransactionSuccess(transactionSuccess);\n transferTransaction.setAmount(transferRequest.getAmount());\n transferTransaction.setTimestamp(LocalDateTime.now());\n transferTransactionsRepository.save(transferTransaction);\n }\n }\n case ADD: {\n if(request instanceof AddMoneyRequest) {\n AddMoneyRequest addMoneyRequest = (AddMoneyRequest) request;\n AddMoneyTransaction addMoneyTransaction = new AddMoneyTransaction();\n addMoneyTransaction.setTransactionId(IdService.getNextTransactionId());\n addMoneyTransaction.setAccountId(addMoneyRequest.getAccountId());\n addMoneyTransaction.setTransactionSuccess(transactionSuccess);\n addMoneyTransaction.setAmount(addMoneyRequest.getAmount());\n addMoneyTransaction.setTimestamp(LocalDateTime.now());\n addMoneyTransactionsRepository.save(addMoneyTransaction);\n }\n }\n }\n }", "title": "" }, { "docid": "9650476e50c0c956f2c55956f2d78a5c", "score": "0.47668877", "text": "public void applyTransaction(Block.Transaction tx);", "title": "" }, { "docid": "21b4c5183ecc59d00873d4dedaebef78", "score": "0.4761567", "text": "public TransactionManager()\n {\n initComponents();\n accountType = new ButtonGroup();\n addRadio();\n db = new BankDatabase();\n list = new Vector();\n }", "title": "" }, { "docid": "7b7c0f4c683981d311d3eb56c42ac37b", "score": "0.47583863", "text": "private void createTransaction(Account account, double amount, String description) {\r\n List<Transaction> tList = account.getTransactionList();\r\n Transaction trans = new Transaction();\r\n //set transaction number (assigned as a random number)\r\n Random random = new Random();\r\n int transactionNumber = 100000 + random.nextInt(900000);\r\n findAndSetTransactionType(account, trans);\r\n trans.setTransactionNumber(transactionNumber);\r\n trans.setDescription(description);\r\n trans.setPostBalance(account.getBalance());\r\n trans.setAmount(amount);\r\n trans.setTransactionCreated(new Date());\r\n tList.add(trans);\r\n }", "title": "" }, { "docid": "7b1cd461e9ff42d0e0c5b8d4ffb071c7", "score": "0.47459576", "text": "@Override\n public Transaction newTransaction(DataSource dataSource, TransactionIsolationLevel level, boolean autoCommit) {\n return new ShardingSpringManagedTransaction(this);\n }", "title": "" }, { "docid": "b02287a490ee7d19d999033e878d844e", "score": "0.47449985", "text": "public void startTransaction();", "title": "" }, { "docid": "4ad927631473460523fdff2a592f6734", "score": "0.474076", "text": "TransactionMediator createTransactionMediator();", "title": "" }, { "docid": "e9a9ebccd9e45d4a3f064e3b0222ec18", "score": "0.47381198", "text": "FinAccountTrans createFinAccountTrans();", "title": "" }, { "docid": "7f84d8f85c6d6213207e708bf25d1355", "score": "0.47313592", "text": "public PipelineTo1() {\r\n //requires();\r\n\r\n }", "title": "" }, { "docid": "aa80ea869c35f6e6592978404eef6f90", "score": "0.47279784", "text": "private void createTransformProcess() {\n IHistoryProcessor historyProcessor = getHistoryProcessor();\n\n if(historyProcessor != null && shape.length == 3) {\n int skipFrame = historyProcessor.getConf().getSkipFrame();\n int frameStackLength = historyProcessor.getConf().getHistoryLength();\n\n int height = shape[1];\n int width = shape[2];\n\n int cropBottom = height - historyProcessor.getConf().getCroppingHeight();\n int cropRight = width - historyProcessor.getConf().getCroppingWidth();\n\n transformProcess = TransformProcess.builder()\n .filter(new UniformSkippingFilter(skipFrame))\n .transform(\"data\", new EncodableToImageWritableTransform())\n .transform(\"data\", new MultiImageTransform(\n new CropImageTransform(historyProcessor.getConf().getOffsetY(), historyProcessor.getConf().getOffsetX(), cropBottom, cropRight),\n new ResizeImageTransform(historyProcessor.getConf().getRescaledWidth(), historyProcessor.getConf().getRescaledHeight()),\n new ColorConversionTransform(COLOR_BGR2GRAY)\n //new ShowImageTransform(\"crop + resize + greyscale\")\n ))\n .transform(\"data\", new ImageWritableToINDArrayTransform())\n .transform(\"data\", new SimpleNormalizationTransform(0.0, 255.0))\n .transform(\"data\", HistoryMergeTransform.builder()\n .isFirstDimenstionBatch(true)\n .build(frameStackLength))\n .build(\"data\");\n }\n else {\n transformProcess = TransformProcess.builder()\n .transform(\"data\", new EncodableToINDArrayTransform())\n .build(\"data\");\n }\n }", "title": "" }, { "docid": "891f892f57af8cb36c900a8f9edde046", "score": "0.47202152", "text": "public List<Transaction> getTransactions() {\n ArrayList<Transaction> transactions = new ArrayList<>();\n\n transactions.add(Transaction.builder().timestamp(LocalDateTime.now()).purpose(Purpose.DRINKS).amount(-5.9).build());\n transactions.add(Transaction.builder().timestamp(LocalDateTime.now()).purpose(Purpose.FOOD).amount(-3.0).build());\n transactions.add(Transaction.builder().timestamp(LocalDateTime.now()).purpose(Purpose.DEPOSIT).amount(20.0).build());\n\n return transactions;\n }", "title": "" }, { "docid": "f0bc1740b40e69011484e90810c889cc", "score": "0.4718942", "text": "private Pipe buildPipe() {\n\t\tArrayList<Pipe> pipeList = new ArrayList<Pipe>();\n\n\t\tpipeList.add(new POSTagger());\n\t\tpipeList.add(new SimpleTaggerSentence2TokenSequence());\n\t\tpipeList.add(new TokenSequence2FeatureSequence());\n\t\tpipeList.add(new FeatureSequence2FeatureVector());\n\n\t\t/* um ou outro */\n\t\tpipeList.add(new Target2Label());\n\t\t// pipeList.add(new Target2LabelSequence());\n\n\t\t// pipeList.add(new PrintInputAndTarget());\n\n\t\treturn new SerialPipes(pipeList);\n\t}", "title": "" }, { "docid": "121de98b1e33e3adaf67bcd3a19e7e0e", "score": "0.47180116", "text": "public BrokerTransformer() {\n SAXParserFactory sparserFactory = SAXParserFactory.newInstance();\n try {\n sparserFactory.setValidating(true);\n sparserFactory.setNamespaceAware(true);\n parser = sparserFactory.newSAXParser();\n // create Transfromers\n addTransformer(ACTIVITY_XSL);\n addTransformer(AIRLINE_XSL);\n addTransformer(LODGING_XSL);\n } catch (Exception ex) {\n logger.error(\"BrokerTransformer initizalization error: \", ex);\n }\n }", "title": "" }, { "docid": "44e890639d333ae12c51220a75c9d017", "score": "0.4717819", "text": "public ParametricStatement[] createForPaymentTransaction (PaymentTransaction paymentTransaction) throws SQLException {\n CurrencyType baseType = paymentTransaction.getBaseCurrencyType();\n ArrayList parametricStatements = new ArrayList();\n Date date = paymentTransaction.getProcessDate();\n String storeId = paymentTransaction.getStore().getId();\n String employeeId = paymentTransaction.getTheOperator().getId();\n // String registerId = paymentTransaction.getId();\n // int registerIdIndex = registerId.indexOf('*') + 1;\n // registerId = registerId.substring(registerIdIndex, registerId.indexOf('*', registerIdIndex));\n String registerId = paymentTransaction.getRegisterId();\n String txnType = paymentTransaction.getTransactionType();\n String voidedType = \"\";\n ArmCurrency txnAmount;\n ArmCurrency taxAmount;\n ArmCurrency regionalTaxAmount;\n Hashtable reductionAmounts;\n if (paymentTransaction instanceof VoidTransaction) {\n ITransaction originalTxn = ((VoidTransaction)paymentTransaction).getOriginalTransaction();\n if (!(originalTxn instanceof PaymentTransaction)) {\n return new ParametricStatement[0];\n }\n PaymentTransaction originalPaymentTransaction = (PaymentTransaction)originalTxn;\n voidedType = originalPaymentTransaction.getTransactionType();\n txnAmount = originalPaymentTransaction.getTotalPaymentAmount();\n taxAmount = this.getTax(originalPaymentTransaction);\n regionalTaxAmount = this.getRegionalTax(originalPaymentTransaction);\n reductionAmounts = this.getReductions(originalPaymentTransaction, false);\n } \n else {\n txnAmount = paymentTransaction.getTotalPaymentAmount();\n taxAmount = this.getTax(paymentTransaction);\n regionalTaxAmount = this.getRegionalTax(paymentTransaction);\n reductionAmounts = this.getReductions(paymentTransaction, false);\n }\n ArmCurrency totalReduction = (ArmCurrency)reductionAmounts.get(TxnTypeSummaryOracleDAO.TOTAL);\n reductionAmounts.remove(TxnTypeSummaryOracleDAO.TOTAL);\n TxnTypeSummary[] currentTxnTypeSummaries = this.selectByDateStoreIdEmployeeId(date, storeId, employeeId);\n boolean found = false;\n for (int index = 0; index < currentTxnTypeSummaries.length; index++) {\n if (txnType.equals(currentTxnTypeSummaries[index].getTxnType()) && registerId.equals(currentTxnTypeSummaries[index].getRegisterId()) && voidedType.equals(currentTxnTypeSummaries[index].getVoidedTxnType())) {\n found = true;\n ArmCurrency currentTotal = currentTxnTypeSummaries[index].getTotal();\n if (currentTotal == null) {\n currentTotal = new ArmCurrency(baseType, 0.0d);\n }\n ArmCurrency currentTaxTotal = currentTxnTypeSummaries[index].getTaxTotal();\n if (currentTaxTotal == null) {\n currentTaxTotal = new ArmCurrency(baseType, 0.0d);\n }\n ArmCurrency currentRegionalTaxTotal = currentTxnTypeSummaries[index].getRegionalTaxTotal();\n if (currentRegionalTaxTotal == null) {\n currentRegionalTaxTotal = new ArmCurrency(baseType, 0.0d);\n }\n ArmCurrency currentReductionTotal = currentTxnTypeSummaries[index].getReductionTotal();\n if (currentReductionTotal == null) {\n currentReductionTotal = new ArmCurrency(baseType, 0.0d);\n }\n Hashtable currentReductions = currentTxnTypeSummaries[index].getReductions();\n if (currentReductions.get(TxnTypeSummary.DEALS) == null) {\n currentReductions.put(TxnTypeSummary.DEALS, new ArmCurrency(baseType, 0.0));\n }\n if (currentReductions.get(TxnTypeSummary.MARKDOWNS) == null) {\n currentReductions.put(TxnTypeSummary.MARKDOWNS, new ArmCurrency(baseType, 0.0d));\n }\n if (currentReductions.get(TxnTypeSummary.DISCOUNTS) == null) {\n currentReductions.put(TxnTypeSummary.DISCOUNTS, new ArmCurrency(baseType, 0.0d));\n }\n try {\n currentTxnTypeSummaries[index].doSetTransactionCount(currentTxnTypeSummaries[index].getTransactionCount() + 1);\n currentTxnTypeSummaries[index].doSetTotal(currentTotal.add(txnAmount));\n currentTxnTypeSummaries[index].doSetTaxTotal(currentTaxTotal.add(taxAmount));\n currentTxnTypeSummaries[index].doSetRegionalTaxTotal(currentRegionalTaxTotal.add(regionalTaxAmount));\n currentTxnTypeSummaries[index].doSetReductionTotal(currentReductionTotal.add(totalReduction));\n ArmCurrency deals = ((ArmCurrency)currentReductions.get(TxnTypeSummary.DEALS)).add(((ArmCurrency)reductionAmounts.get(TxnTypeSummary.DEALS)));\n ArmCurrency markdowns = ((ArmCurrency)currentReductions.get(TxnTypeSummary.MARKDOWNS)).add(((ArmCurrency)reductionAmounts.get(TxnTypeSummary.MARKDOWNS)));\n ArmCurrency discounts = ((ArmCurrency)currentReductions.get(TxnTypeSummary.DISCOUNTS)).add(((ArmCurrency)reductionAmounts.get(TxnTypeSummary.DISCOUNTS)));\n currentReductions.put(TxnTypeSummary.DEALS, deals);\n currentReductions.put(TxnTypeSummary.MARKDOWNS, markdowns);\n currentReductions.put(TxnTypeSummary.DISCOUNTS, discounts);\n currentTxnTypeSummaries[index].doSetReductions(currentReductions);\n // This has to be done to prevent a rounding problem going\n // to/from the cloudscape database. ~mda\n currentTxnTypeSummaries[index].doSetDate(date);\n } catch (Exception ex) {\n // ignore currency exception?\n }\n List list = fromObjectToBean(currentTxnTypeSummaries[index]).toList();\n list.add(currentTxnTypeSummaries[index].getId());\n parametricStatements.add(new ParametricStatement(updateSql, list));\n break;\n }\n }\n if (!found) {\n TxnTypeSummary txnTypeSummary = new TxnTypeSummary();\n txnTypeSummary.doSetDate(date);\n txnTypeSummary.doSetEmployeeId(employeeId);\n txnTypeSummary.doSetStoreId(storeId);\n txnTypeSummary.doSetRegisterId(registerId);\n txnTypeSummary.doSetTransactionCount(1L);\n txnTypeSummary.doSetTotal(txnAmount);\n txnTypeSummary.doSetTaxTotal(taxAmount);\n txnTypeSummary.doSetRegionalTaxTotal(regionalTaxAmount);\n txnTypeSummary.doSetReductionTotal(totalReduction);\n txnTypeSummary.doSetReductions(reductionAmounts);\n txnTypeSummary.doSetTxnType(txnType);\n txnTypeSummary.doSetVoidedTxnType(voidedType);\n txnTypeSummary.doSetId(this.getNextChelseaId());\n parametricStatements.add(new ParametricStatement(insertSql, fromObjectToBean(txnTypeSummary).toList()));\n }\n return (ParametricStatement[])parametricStatements.toArray(new ParametricStatement[parametricStatements.size()]);\n }", "title": "" }, { "docid": "a7aa5fe953d50e12998e332e8d6d5969", "score": "0.47125012", "text": "private static Transaction buildTransaction(TransactionInfo transInfo) {\n Transaction result = new ObjectFactory().createComplexTypeTransaction();\n\n result.setTransactionInfo(transInfo);\n\n return result;\n }", "title": "" }, { "docid": "31661f0a7ac938bb3af09738ad4da30f", "score": "0.47112408", "text": "TransactionalSignal createTransactionalSignal();", "title": "" }, { "docid": "1d97d88f49a4fe5eadf27e727efdf6c4", "score": "0.47098124", "text": "public TransactionManager(TransactionConfig transactionConfig) {\n this.config = transactionConfig;\n }", "title": "" }, { "docid": "d22e6a720e0ca7654591010af81d9773", "score": "0.47049412", "text": "public static List<Pipeline> createDefaultPipelines() {\n //Pipeline 1\n IPCondition ipCondition = new IPCondition(PolicyConstants.IP_RANGE_TYPE);\n ipCondition.setStartingIP(\"192.168.12.3\");\n ipCondition.setEndingIP(\"192.168.88.19\");\n IPCondition ipConditionSpecific = new IPCondition(PolicyConstants.IP_SPECIFIC_TYPE);\n ipConditionSpecific.setSpecificIP(\"123.42.14.56\");\n\n //adding above conditions to condition list of pipeline 1\n List<Condition> conditionsList = new ArrayList<>(); //contains conditions for each pipeline\n conditionsList.add(ipCondition);\n conditionsList.add(ipConditionSpecific);\n //set quota policy with bandwidth limit\n BandwidthLimit bandwidthLimit = new BandwidthLimit(TIME_UNIT_MONTH, 1, 1000, PolicyConstants.MB);\n QuotaPolicy quotaPolicy1 = new QuotaPolicy();\n quotaPolicy1.setType(PolicyConstants.BANDWIDTH_TYPE);\n quotaPolicy1.setLimit(bandwidthLimit);\n\n Pipeline pipeline1 = new Pipeline();\n pipeline1.setConditions(conditionsList);\n pipeline1.setQuotaPolicy(quotaPolicy1);\n\n //End of pipeline 1 -> Beginning of pipeline 2\n HeaderCondition headerCondition = new HeaderCondition();\n headerCondition.setHeader(\"Browser\");\n headerCondition.setValue(\"Chrome\");\n JWTClaimsCondition jwtClaimsCondition = new JWTClaimsCondition();\n jwtClaimsCondition.setClaimUrl(\"/path/path2\");\n jwtClaimsCondition.setAttribute(\"attributed\");\n QueryParameterCondition queryParameterCondition = new QueryParameterCondition();\n queryParameterCondition.setParameter(\"Location\");\n queryParameterCondition.setValue(\"Colombo\");\n\n //adding conditions to condition list of pipeline2\n conditionsList = new ArrayList<>();\n conditionsList.add(headerCondition);\n conditionsList.add(jwtClaimsCondition);\n conditionsList.add(queryParameterCondition);\n //pipeline 2 with request count as quota policy\n RequestCountLimit requestCountLimit = new RequestCountLimit(TIME_UNIT_SECONDS, 1, 1000);\n QuotaPolicy quotaPolicy2 = new QuotaPolicy();\n quotaPolicy2.setType(PolicyConstants.REQUEST_COUNT_TYPE);\n quotaPolicy2.setLimit(requestCountLimit);\n\n Pipeline pipeline2 = new Pipeline();\n pipeline2.setConditions(conditionsList);\n pipeline2.setQuotaPolicy(quotaPolicy2);\n //adding pipelines\n List<Pipeline> pipelineList = new ArrayList<>(); //contains all the default pipelines\n pipelineList.add(pipeline1);\n pipelineList.add(pipeline2);\n\n return pipelineList;\n }", "title": "" }, { "docid": "c76b6b95365f634730dc6e61a9363766", "score": "0.47008872", "text": "public void transactionStart(Application application,\n Object transactionData);", "title": "" }, { "docid": "e13f5ca073a341a566a7c45fc3e251cb", "score": "0.4696992", "text": "public TransactionRecord() {\n super(Transaction.TRANSACTION);\n }", "title": "" }, { "docid": "e95eb40bd0c3a1d3809a0b347a6ba9ef", "score": "0.46896878", "text": "@Test\n public void transactionMustHaveOneInputs() {\n /**** This test case also checks the both parties actually sign the transaction ***/\n transaction(ledgerServices,tx -> {\n tx.input(REQUEST_TO_BANK_CONTRACT_ID,dealerBankState);\n tx.output(REQUEST_TO_BANK_CONTRACT_ID, dealerBankState);\n tx.command(ImmutableList.of(dealer.getParty().getOwningKey(), bank.getParty().getOwningKey()), new RequestToBankContract.Commands.ResponseFromBank());\n tx.verifies();\n return null;\n });\n }", "title": "" }, { "docid": "d9f938d0cab59dcb5b4a2bd78715cc6f", "score": "0.46878308", "text": "private static void addAPIPipeline(Connection connection, List<Pipeline> pipelines, String uuid)\n throws SQLException, APIMgtDAOException {\n\n final String query =\n \"INSERT INTO AM_CONDITION_GROUP (UUID, QUOTA_TYPE, UNIT_TIME, TIME_UNIT, DESCRIPTION, QUOTA, \"\n + \"QUOTA_UNIT) VALUES (?,?,?,?,?,?,?)\";\n String dbProductName = connection.getMetaData().getDatabaseProductName();\n try (PreparedStatement statement = connection.prepareStatement(query, new String[] {DAOUtil\n .getConvertedAutoGeneratedColumnName(dbProductName,\n APIMgtConstants.ThrottlePolicyConstants.COLUMN_CONDITION_GROUP_ID)})) {\n for (Pipeline pipeline : pipelines) {\n statement.setString(1, uuid);\n statement.setString(2, pipeline.getQuotaPolicy().getType());\n statement.setLong(3, pipeline.getQuotaPolicy().getLimit().getUnitTime());\n statement.setString(4, pipeline.getQuotaPolicy().getLimit().getTimeUnit());\n statement.setString(5, pipeline.getDescription());\n Limit limit = pipeline.getQuotaPolicy().getLimit();\n setDefaultThrottlePolicyDetailsPreparedStmt(limit, statement);\n statement.executeUpdate();\n ResultSet rs = statement.getGeneratedKeys();\n if (rs.next()) {\n // get the auto increment id\n int conditionId = rs.getInt(1);\n List<Condition> conditionList = pipeline.getConditions();\n for (Condition condition : conditionList) {\n if (PolicyConstants.IP_CONDITION_TYPE.equals(condition.getType()) ||\n PolicyConstants.IP_SPECIFIC_TYPE.equals(condition.getType()) ||\n PolicyConstants.IP_RANGE_TYPE.equals(condition.getType())) {\n addIPCondition(connection, condition, conditionId);\n } else if (PolicyConstants.HEADER_CONDITION_TYPE.equals(condition.getType())) {\n addHeaderCondition(connection, condition, conditionId);\n } else if (PolicyConstants.JWT_CLAIMS_CONDITION_TYPE.equals(condition.getType())) {\n addJWTClaimCondition(connection, condition, conditionId);\n } else if (PolicyConstants.QUERY_PARAMS_CONDITION_TYPE.equals(condition.getType())) {\n addParamCondition(connection, condition, conditionId);\n } else {\n // unsupported Condition\n throw new IllegalArgumentException(\"Unsupported Condition type: \" + condition.getType());\n }\n }\n } else {\n String errorMsg = \"Unable to retrieve auto incremented id, hence unable to add Pipeline Condition\";\n throw new IllegalStateException(errorMsg);\n }\n }\n }\n }", "title": "" }, { "docid": "b1d6dc6ffc6df368849811bcb155a565", "score": "0.46878013", "text": "public Transaction createNewTransaction(TransactionRequest transactionRequest) \n\t\tthrows InvalidDataException\n\t{\n\t\tTransactionEntity transactionEntity = transactionMapper.toEntity(transactionRequest);\n\t\t\n\t\t// Owner is not included in the request DTO and must be set manually.\n\t\t// It is retrieved from the currently logged-in user's details.\n\t\tUserEntity owner = serviceUtils.getCurrentlyLoggedInUserEntity();\n\t\ttransactionEntity.setUser(owner);\n\t\t\n\t\tboolean containsValidFromToData = containsValidFromToData(transactionRequest);\n\t\tif (!containsValidFromToData) {\n\t\t\tthrow new InvalidDataException(\"Transaction contains invalid from-to data!\");\n\t\t}\n\t\t\n\t\t// Make appropriate changes to affected accounts/categories\n\t\texecuteTransactionFromRequest(transactionRequest);\n\t\t\n\t\ttransactionEntity = transactionRepository.save(transactionEntity);\n\t\t\n\t\tTransaction transactionDTO = transactionMapper.fromEntity(transactionEntity);\n\t\t\n\t\treturn transactionDTO;\n\t}", "title": "" }, { "docid": "06aca960bbb0ced1f0dbea6c6983f254", "score": "0.46669284", "text": "protected void sequence_Transformation(ISerializationContext context, Transformation semanticObject) {\n\t\tgenericSequencer.createSequence(context, semanticObject);\n\t}", "title": "" }, { "docid": "535bdf48791f4b41f6a1724073532315", "score": "0.46636477", "text": "public void makeTransaction(){\n account.getBalance();\n transactionEndTime = System.nanoTime();\n }", "title": "" }, { "docid": "7522596d9329a44bfdd5b4e774bb9383", "score": "0.46464932", "text": "public TransactionConfig(){\n }", "title": "" }, { "docid": "b246a7baa774983ff88153f7d55bce93", "score": "0.46370274", "text": "final public CommitTransaction CommitTransaction() throws ParseException {\n NodeChoice n0 = null;\n NodeToken n1 = null;\n Token n2 = null;\n NodeToken n3 = null;\n Token n4 = null;\n NodeOptional n5 = new NodeOptional();\n NodeChoice n6 = null;\n NodeToken n7 = null;\n Token n8 = null;\n NodeToken n9 = null;\n Token n10 = null;\n NodeToken n11 = null;\n Token n12 = null;\n switch (jj_nt.kind) {\n case COMMIT_:\n n2 = jj_consume_token(COMMIT_);\n n1 = JTBToolkit.makeNodeToken(n2);\n n0 = new NodeChoice(n1, 0, 2);\n break;\n case END_:\n n4 = jj_consume_token(END_);\n n3 = JTBToolkit.makeNodeToken(n4);\n n0 = new NodeChoice(n3, 1, 2);\n break;\n default:\n jj_la1[384] = jj_gen;\n jj_consume_token(-1);\n throw new ParseException();\n }\n switch (jj_nt.kind) {\n case TRAN_:\n case WORK_:\n case TRANSACTION_:\n switch (jj_nt.kind) {\n case TRANSACTION_:\n n8 = jj_consume_token(TRANSACTION_);\n n7 = JTBToolkit.makeNodeToken(n8);\n n6 = new NodeChoice(n7, 0, 3);\n break;\n case TRAN_:\n n10 = jj_consume_token(TRAN_);\n n9 = JTBToolkit.makeNodeToken(n10);\n n6 = new NodeChoice(n9, 1, 3);\n break;\n case WORK_:\n n12 = jj_consume_token(WORK_);\n n11 = JTBToolkit.makeNodeToken(n12);\n n6 = new NodeChoice(n11, 2, 3);\n break;\n default:\n jj_la1[385] = jj_gen;\n jj_consume_token(-1);\n throw new ParseException();\n }\n n5.addNode(n6);\n break;\n default:\n jj_la1[386] = jj_gen;\n ;\n }\n {if (true) return new CommitTransaction(n0, n5);}\n throw new Error(\"Missing return statement in function\");\n }", "title": "" }, { "docid": "1ce433b0a4997872897ab7ff94fd75fd", "score": "0.46354076", "text": "@Test\n public void transactionMustHaveNoInputs() {\n\n transaction(ledgerServices,tx -> {\n tx.output(REQUEST_TO_BANK_CONTRACT_ID, dealerBankState);\n tx.command(ImmutableList.of(dealer.getParty().getOwningKey(), bank.getParty().getOwningKey()), new RequestToBankContract.Commands.RequestForLoan());\n tx.verifies();\n return null;\n });\n\n /**** uncomment for failure criteria **/\n /* transaction(ledgerServices,tx -> {\n tx.input(REQUEST_TO_BANK_CONTRACT_ID, dealerBankState);\n tx.output(REQUEST_TO_BANK_CONTRACT_ID, dealerBankState);\n tx.command(ImmutableList.of(dealer.getParty().getOwningKey(), bank.getParty().getOwningKey()), new RequestToBankContract.Commands.RequestForLoan());\n tx.failsWith(\"No inputs should be consumed when issuing .\");\n return null;\n });*/\n }", "title": "" }, { "docid": "f5e55bfc97901eb23faf34d2966f9748", "score": "0.4634918", "text": "java.util.concurrent.Future<CreatePipelineResult> createPipelineAsync(CreatePipelineRequest createPipelineRequest);", "title": "" }, { "docid": "1e0af29b8010ca8e9c3c66c42825877e", "score": "0.46313322", "text": "final protected void commit(){\n\t\tsubscriptionContainer.agent().commitTran(transactionId);\n\t\ttransactionId=defaultTran;\n\t}", "title": "" }, { "docid": "a98a1e064e5d29a855dd9982c481e120", "score": "0.46289748", "text": "public TransactionProcessor(Map<String, Item> items, Map<String, User> users){\n this.items=items;\n this.users=users;\n }", "title": "" }, { "docid": "9e088f526e3521da78ff04566459532d", "score": "0.46207976", "text": "public void setTransactions(Set<Transaction> transactions) {\n this.transactions = transactions;\n }", "title": "" }, { "docid": "b6fffd679cd90fc8ed1d2cbdd1cda638", "score": "0.4615682", "text": "void addTransaction(Transaction transaction);", "title": "" }, { "docid": "0e878d937935a55fca138d1af0093b00", "score": "0.4613279", "text": "public Transaction.Builder addTransactionsBuilder() {\n return getTransactionsFieldBuilder().addBuilder(\n Transaction.getDefaultInstance());\n }", "title": "" }, { "docid": "0e878d937935a55fca138d1af0093b00", "score": "0.4613279", "text": "public Transaction.Builder addTransactionsBuilder() {\n return getTransactionsFieldBuilder().addBuilder(\n Transaction.getDefaultInstance());\n }", "title": "" }, { "docid": "0e878d937935a55fca138d1af0093b00", "score": "0.4613279", "text": "public Transaction.Builder addTransactionsBuilder() {\n return getTransactionsFieldBuilder().addBuilder(\n Transaction.getDefaultInstance());\n }", "title": "" }, { "docid": "9f5982d5565e11d1ed093dd73b28c01d", "score": "0.4610467", "text": "public static Transactions getTransactions() {\n return Transactions;\n }", "title": "" }, { "docid": "5c6580f1791b25eebc13ceb874b0875b", "score": "0.4605968", "text": "public PipelinePolicy() {\n }", "title": "" }, { "docid": "835f5dc098ce3016d104deeba5d4ad16", "score": "0.46058008", "text": "public CustomCommit() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "ad88b8617755734c6e70fde56c04128e", "score": "0.46047395", "text": "@Override\n @Transactional\n public void CreationRecords() throws IOException {\n tableRecordsCreationService.createPokkemonTypeRecords(\"pokkemontype.txt\");\n tableRecordsCreationService.createPokkemonRecords(\"pokkemon.txt\");\n\n }", "title": "" }, { "docid": "6cc2a6c2bb065a2d8faf96e010732f64", "score": "0.4599191", "text": "public Result startTransaction();", "title": "" }, { "docid": "b871c9ec3c035677bfc0311f825474ca", "score": "0.45899272", "text": "public static void main (String[] args)\n\t{\n\t\ttransaction();\n\t}", "title": "" }, { "docid": "db326d845ff697af55b34d889050e196", "score": "0.45813027", "text": "public iroha.protocol.BlockOuterClass.Transaction.Builder addTransactionsBuilder() {\n return getTransactionsFieldBuilder().addBuilder(\n iroha.protocol.BlockOuterClass.Transaction.getDefaultInstance());\n }", "title": "" }, { "docid": "bed02dd7b057fadacc12c30d03037c59", "score": "0.45795938", "text": "TreePipeline() {}", "title": "" }, { "docid": "4b487764d14df3a77a3a74cfd7f4859b", "score": "0.4574743", "text": "public TransactionExtension()\n {\n transactionAttributes = new HashMap<Method, TransactionAttributeType>();\n }", "title": "" }, { "docid": "50792e60c51dfc6a34dc72a922834c6b", "score": "0.45696193", "text": "Publisher createPublisher(String name, String address, String phone) throws TransactionException;", "title": "" }, { "docid": "d7c897c986230ea81fa53553cfc65874", "score": "0.45674208", "text": "public Transaction(InMemoryDB inMemoryDB) {\n this.inMemoryDB = inMemoryDB;\n instructions = new Stack<Instruction>();\n }", "title": "" }, { "docid": "69cab8e0929537bf53b977e694b980d4", "score": "0.45668468", "text": "public TransactionServiceImp ( String name ,\r\n StateRecoveryManager recoverymanager , UniqueIdMgr tidmgr ,\r\n Console console , long maxtimeout , int maxActives , boolean single_threaded_2pc )\r\n {\r\n this ( name , recoverymanager , tidmgr , console , maxtimeout , true ,\r\n maxActives , single_threaded_2pc );\r\n }", "title": "" }, { "docid": "777772f653f3622a0572a29849883c35", "score": "0.45525798", "text": "@PostMapping(\"/testmake\")\n\tpublic Mono<Transaction> testmake(@RequestBody Transaction transaction) {\n\t\tMono<BankAccount> cuentaBancaria = getBankAccountByIdCuenta(transaction.getIdCuenta());\n\t\t\n\t\t//Validar si existe una cuenta bancaria existente\n\t\tif (cuentaBancaria != null) {\n\t\t\t\n\t\t\tmadeTransactionAmount(transaction.getIdCuenta(), transaction.getTipoTransaccion(), transaction.getMontoTransaccion());\n\t\t\treturn transactionService.createTransaction(transaction);\n\t\t\t\n\t\t}else {\n\t\t\t\n\t\t\treturn null;\n\t\t\t\n\t\t}\n\t}", "title": "" }, { "docid": "b3e0a65cefae4a6537cca907c33c04b6", "score": "0.4542088", "text": "public void testCreateMultipleAccountTransactions() {\r\n\r\n Session session = HibernateUtil.getSessionFactory().getCurrentSession();\r\n session.beginTransaction();\r\n\r\n AccountTransactionService accountTransactionService = new AccountTransactionService();\r\n List<AccountTransaction> accountTransactions = new ArrayList<AccountTransaction>();\r\n\r\n // Create an account\r\n // ------ -- -------\r\n Account account = createCheckingAccount();\r\n\r\n // Create 10 account transactions for account. Because this is a\r\n // set, need some time between the ebills to set a different due\r\n // date, hence the sleep\r\n // ---------------------------------------------------------\r\n for (int i = 0; i < 10; i++) {\r\n AccountTransaction accountTransaction = createElectronicAccountTransaction(\r\n account, 10);\r\n accountTransactions.add(accountTransaction);\r\n accountTransactionService\r\n .saveOrUpdateAccountTransaction(accountTransaction);\r\n sleep(100);\r\n }\r\n\r\n session.getTransaction().commit();\r\n HibernateUtil.getSessionFactory().getCurrentSession().close();\r\n\r\n long accountId = account.getAccountId();\r\n\r\n // Retrieve the persisted account and ensure that the account\r\n // contains the 10 transactions.\r\n // ----------------------------------------------------------\r\n session = HibernateUtil.getSessionFactory().getCurrentSession();\r\n session.beginTransaction();\r\n\r\n AccountService accountService = new AccountService();\r\n\r\n account = accountService.getAccount(accountId);\r\n System.out.println(account);\r\n TestCase.assertEquals(10, account.getAccountTransactions().size());\r\n TestCase.assertEquals(new Double(900), account.getBalance());\r\n\r\n session.getTransaction().commit();\r\n HibernateUtil.getSessionFactory().getCurrentSession().close();\r\n\r\n // cleanup\r\n // -------\r\n deleteAccount(account);\r\n HibernateUtil.getSessionFactory().close();\r\n }", "title": "" }, { "docid": "c13ee659d694b19cc18d52aaa6f53149", "score": "0.4533692", "text": "public Builder addAllTransactions(\n java.lang.Iterable<? extends iroha.protocol.BlockOuterClass.Transaction> values) {\n if (transactionsBuilder_ == null) {\n ensureTransactionsIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, transactions_);\n onChanged();\n } else {\n transactionsBuilder_.addAllMessages(values);\n }\n return this;\n }", "title": "" }, { "docid": "1f8a2a2190e1fcf3fd0f8b5edc774cf0", "score": "0.45307368", "text": "public void prsTransaction() throws IOException {\n Scanner fileR = new Scanner(new File(\"../data/transaction.txt\"));\n while (fileR.hasNext())\n {\n String itemNo = fileR.next();\n int transType = fileR.nextInt();\n int amt = fileR.nextInt();\n\n handleTransTypes(transType, amt, itemNo);\n }\n\n writeNewFile();\n }", "title": "" } ]
5dae554641eea9d9c20c7164d4091f79
abstract (generic) method implementation of 'AbstractBaseItemAssocDAOMysqlImpl'
[ { "docid": "7d4847f0c351081f9c319a4ab150138f", "score": "0.61717117", "text": "@Override\n public int insertItemAssoc(ItemAssocVO<Integer,Integer> itemAssoc) {\n // validate input parameters\n if (itemAssoc == null) {\n throw new IllegalArgumentException(\"missing 'itemAssoc'\");\n }\n\n // validate unique key\n validateUniqueKey(itemAssoc);\n validateAssocValue(itemAssoc);\n validateViewType(itemAssoc);\n\n if (logger.isDebugEnabled()) {\n logger.debug(\"inserting 'itemAssoc': \" + itemAssoc);\n }\n\n // @HINT: maybe use UniqueIdService later (instead of auto_imcrement)\n StringBuilder sqlString = new StringBuilder(\"INSERT INTO \");\n sqlString.append(DEFAULT_TABLE_NAME);\n sqlString.append(\" (\");\n sqlString.append(DEFAULT_TENANT_COLUMN_NAME);\n sqlString.append(\", \");\n sqlString.append(DEFAULT_ITEM_FROM_COLUMN_NAME);\n sqlString.append(\", \");\n sqlString.append(DEFAULT_ITEM_FROM_TYPE_COLUMN_NAME);\n sqlString.append(\", \");\n sqlString.append(DEFAULT_ASSOC_TYPE_COLUMN_NAME);\n sqlString.append(\", \");\n sqlString.append(DEFAULT_ASSOC_VALUE_COLUMN_NAME);\n sqlString.append(\", \");\n sqlString.append(DEFAULT_ITEM_TO_COLUMN_NAME);\n sqlString.append(\", \");\n sqlString.append(DEFAULT_ITEM_TO_TYPE_COLUMN_NAME);\n sqlString.append(\", \");\n sqlString.append(DEFAULT_SOURCE_TYPE_COLUMN_NAME);\n sqlString.append(\", \");\n sqlString.append(DEFAULT_SOURCE_INFO_COLUMN_NAME);\n sqlString.append(\", \");\n sqlString.append(DEFAULT_VIEW_TYPE_COLUMN_NAME);\n sqlString.append(\", \");\n if (itemAssoc.isActive() != null) {\n sqlString.append(DEFAULT_ACTIVE_COLUMN_NAME);\n sqlString.append(\", \");\n }\n sqlString.append(DEFAULT_CHANGE_DATE_COLUMN_NAME);\n if (itemAssoc.getChangeDate() == null) {\n itemAssoc.setChangeDate(new Date(System.currentTimeMillis()));\n }\n if (itemAssoc.isActive() != null) {\n sqlString.append(\") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)\");\n } else {\n sqlString.append(\") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)\");\n }\n\n Object[] args;\n int[] argTypes;\n if (itemAssoc.isActive() != null) {\n args = new Object[]{itemAssoc.getTenant(), itemAssoc.getItemFrom().getItem(),\n itemAssoc.getItemFrom().getType(), itemAssoc.getAssocType(), itemAssoc.getAssocValue(),\n itemAssoc.getItemTo().getItem(), itemAssoc.getItemTo().getType(), itemAssoc.getSourceType(),\n itemAssoc.getSourceInfo(), itemAssoc.getViewType(), itemAssoc.isActive(),\n itemAssoc.getChangeDate()};\n argTypes = new int[]{Types.INTEGER, Types.INTEGER, Types.INTEGER, Types.INTEGER, Types.DOUBLE,\n Types.INTEGER, Types.INTEGER, Types.INTEGER, Types.VARCHAR, Types.INTEGER, Types.BOOLEAN,\n Types.TIMESTAMP};\n } else {\n args = new Object[]{itemAssoc.getTenant(), itemAssoc.getItemFrom().getItem(),\n itemAssoc.getItemFrom().getType(), itemAssoc.getAssocType(), itemAssoc.getAssocValue(),\n itemAssoc.getItemTo().getItem(), itemAssoc.getItemTo().getType(), itemAssoc.getSourceType(),\n itemAssoc.getSourceInfo(), itemAssoc.getViewType(), itemAssoc.getChangeDate()};\n argTypes = new int[]{Types.INTEGER, Types.INTEGER, Types.INTEGER, Types.INTEGER, Types.DOUBLE,\n Types.INTEGER, Types.INTEGER, Types.INTEGER, Types.VARCHAR, Types.INTEGER, Types.TIMESTAMP};\n }\n PreparedStatementCreatorFactory factory = new PreparedStatementCreatorFactory(sqlString.toString(), argTypes);\n factory.setReturnGeneratedKeys(true);\n KeyHolder keyHolder = new GeneratedKeyHolder();\n\n int rowsAffected = getJdbcTemplate().update(factory.newPreparedStatementCreator(args), keyHolder);\n\n // retrieve auto increment id, and set to VO\n itemAssoc.setId(keyHolder.getKey().longValue());\n\n return rowsAffected;\n }", "title": "" } ]
[ { "docid": "a35c0b24596456e6d87ed320d7c40e00", "score": "0.6278646", "text": "@Override\n public int updateItemAssocUsingUniqueKey(\n ItemAssocVO<Integer,Integer> itemAssoc) {\n // validate input parameters\n if (itemAssoc == null) {\n throw new IllegalArgumentException(\"missing 'itemAssoc'\");\n }\n\n validateUniqueKey(itemAssoc);\n validateAssocValue(itemAssoc);\n validateViewType(itemAssoc);\n\n if (logger.isDebugEnabled()) {\n logger.debug(\"updating 'itemAssoc' by unique key: \" + itemAssoc);\n }\n\n StringBuilder sqlString;\n\n sqlString = new StringBuilder(\"UPDATE \");\n sqlString.append(DEFAULT_TABLE_NAME);\n sqlString.append(\" SET \");\n sqlString.append(DEFAULT_ASSOC_VALUE_COLUMN_NAME);\n sqlString.append(\"=?, \");\n sqlString.append(DEFAULT_VIEW_TYPE_COLUMN_NAME);\n sqlString.append(\"=?, \");\n if (itemAssoc.isActive() != null) {\n sqlString.append(DEFAULT_ACTIVE_COLUMN_NAME);\n sqlString.append(\"=?, \");\n }\n sqlString.append(DEFAULT_CHANGE_DATE_COLUMN_NAME);\n if (itemAssoc.getChangeDate() == null) {\n itemAssoc.setChangeDate(new Date(System.currentTimeMillis()));\n }\n sqlString.append(\"=? WHERE \");\n sqlString.append(DEFAULT_ITEM_FROM_COLUMN_NAME);\n sqlString.append(\"=? AND \");\n sqlString.append(DEFAULT_ITEM_TO_COLUMN_NAME);\n sqlString.append(\"=? AND \");\n sqlString.append(DEFAULT_ITEM_FROM_TYPE_COLUMN_NAME);\n sqlString.append(\"=? AND \");\n sqlString.append(DEFAULT_ITEM_TO_TYPE_COLUMN_NAME);\n sqlString.append(\"=? AND \");\n sqlString.append(DEFAULT_ASSOC_TYPE_COLUMN_NAME);\n sqlString.append(\"=? AND \");\n sqlString.append(DEFAULT_SOURCE_TYPE_COLUMN_NAME);\n sqlString.append(\"=? AND \");\n sqlString.append(DEFAULT_TENANT_COLUMN_NAME);\n sqlString.append(\"=?\");\n\n Object[] args;\n int[] argTypes;\n if (itemAssoc.isActive() != null) {\n args = new Object[]{itemAssoc.getAssocValue(), itemAssoc.getViewType(), itemAssoc.isActive(),\n itemAssoc.getChangeDate(), itemAssoc.getItemFrom().getItem(), itemAssoc.getItemTo().getItem(),\n itemAssoc.getItemFrom().getType(), itemAssoc.getItemTo().getType(), itemAssoc.getAssocType(),\n itemAssoc.getSourceType(), itemAssoc.getTenant()};\n argTypes = new int[]{Types.DOUBLE, Types.INTEGER, Types.BOOLEAN, Types.TIMESTAMP, Types.INTEGER,\n Types.INTEGER, Types.INTEGER, Types.INTEGER, Types.INTEGER, Types.INTEGER, Types.INTEGER};\n } else {\n args = new Object[]{itemAssoc.getAssocValue(), itemAssoc.getViewType(), itemAssoc.getChangeDate(),\n itemAssoc.getItemFrom().getItem(), itemAssoc.getItemTo().getItem(),\n itemAssoc.getItemFrom().getType(), itemAssoc.getItemTo().getType(), itemAssoc.getAssocType(),\n itemAssoc.getSourceType(), itemAssoc.getTenant()};\n argTypes = new int[]{Types.DOUBLE, Types.INTEGER, Types.TIMESTAMP, Types.INTEGER, Types.INTEGER,\n Types.INTEGER, Types.INTEGER, Types.INTEGER, Types.INTEGER, Types.INTEGER};\n }\n return getJdbcTemplate().update(sqlString.toString(), args, argTypes);\n }", "title": "" }, { "docid": "b6b5115300ce608e6efc670113ffdceb", "score": "0.60601103", "text": "@Override\n public ItemAssocVO<Integer,Integer> loadItemAssocByUniqueKey(\n ItemAssocVO<Integer,Integer> itemAssoc) {\n // validate input parameters & unique key\n validateUniqueKey(itemAssoc);\n\n if (logger.isDebugEnabled()) {\n StringBuilder buff = new StringBuilder(\n \"loading 'itemAssoc' with unique key (itemFromId,itemToId,itemFromType,itemToType,assocType,sourceType,sourceInfo,tenantId): (\");\n buff.append(itemAssoc);\n buff.append(\")\");\n logger.debug(buff.toString());\n }\n\n StringBuilder sqlString = new StringBuilder(\"SELECT * FROM \");\n sqlString.append(DEFAULT_TABLE_NAME);\n sqlString.append(\" WHERE \");\n sqlString.append(DEFAULT_ITEM_FROM_COLUMN_NAME);\n sqlString.append(\"=? AND \");\n sqlString.append(DEFAULT_ITEM_TO_COLUMN_NAME);\n sqlString.append(\"=? AND \");\n sqlString.append(DEFAULT_ITEM_FROM_TYPE_COLUMN_NAME);\n sqlString.append(\"=? AND \");\n sqlString.append(DEFAULT_ITEM_TO_TYPE_COLUMN_NAME);\n sqlString.append(\"=? AND \");\n sqlString.append(DEFAULT_ASSOC_TYPE_COLUMN_NAME);\n sqlString.append(\"=? AND \");\n sqlString.append(DEFAULT_SOURCE_TYPE_COLUMN_NAME);\n sqlString.append(\"=? AND \");\n sqlString.append(DEFAULT_SOURCE_INFO_COLUMN_NAME);\n sqlString.append(\"=? AND \");\n sqlString.append(DEFAULT_TENANT_COLUMN_NAME);\n sqlString.append(\"=?\");\n\n Object[] args = {itemAssoc.getItemFrom().getItem(), itemAssoc.getItemTo().getItem(),\n itemAssoc.getItemFrom().getType(), itemAssoc.getItemTo().getType(), itemAssoc.getAssocType(),\n itemAssoc.getSourceType(), itemAssoc.getSourceInfo(), itemAssoc.getTenant()};\n int[] argTypes = {Types.INTEGER, Types.INTEGER, Types.INTEGER, Types.INTEGER, Types.INTEGER, Types.INTEGER,\n Types.VARCHAR, Types.INTEGER};\n try {\n return getJdbcTemplate().queryForObject(sqlString.toString(), args, argTypes, itemAssocVORowMapper);\n } catch (EmptyResultDataAccessException ex) {\n logger.warn(\"An error occurred!\", ex);\n return null;\n }\n }", "title": "" }, { "docid": "7cbdf132568a55f96f4b0a7c8dd7ded1", "score": "0.60448253", "text": "public interface RuleminingItemAssocDAO extends ItemAssocDAO {\n\n public int insertOrUpdateItemAssoc(ItemAssocVO<Integer,Integer> itemAssoc);\n\n}", "title": "" }, { "docid": "8e19233dfb24072243b9b112c818cb66", "score": "0.5899792", "text": "@Override\n public int updateItemAssocUsingPrimaryKey(\n ItemAssocVO<Integer,Integer> itemAssoc) {\n // validate input parameters\n if (itemAssoc == null) {\n throw new IllegalArgumentException(\"missing 'itemAssoc'\");\n }\n\n validatePrimaryKey(itemAssoc);\n validateAssocValue(itemAssoc);\n validateViewType(itemAssoc);\n\n if (logger.isDebugEnabled()) {\n logger.debug(\"updating 'itemAssoc' by primary key: \" + itemAssoc);\n }\n\n StringBuilder sqlString;\n\n sqlString = new StringBuilder(\"UPDATE \");\n sqlString.append(DEFAULT_TABLE_NAME);\n sqlString.append(\" SET \");\n sqlString.append(DEFAULT_ASSOC_VALUE_COLUMN_NAME);\n sqlString.append(\"=?, \");\n sqlString.append(DEFAULT_VIEW_TYPE_COLUMN_NAME);\n sqlString.append(\"=?, \");\n if (itemAssoc.isActive() != null) {\n sqlString.append(DEFAULT_ACTIVE_COLUMN_NAME);\n sqlString.append(\"=?, \");\n }\n sqlString.append(DEFAULT_CHANGE_DATE_COLUMN_NAME);\n if (itemAssoc.getChangeDate() == null) {\n itemAssoc.setChangeDate(new Date(System.currentTimeMillis()));\n }\n sqlString.append(\"=? WHERE \");\n sqlString.append(DEFAULT_ID_COLUMN_NAME);\n sqlString.append(\"=?\");\n\n Object[] args;\n int[] argTypes;\n if (itemAssoc.isActive() != null) {\n args = new Object[]{itemAssoc.getAssocValue(), itemAssoc.getViewType(), itemAssoc.isActive(),\n itemAssoc.getChangeDate(), itemAssoc.getId()};\n argTypes = new int[]{Types.DOUBLE, Types.INTEGER, Types.BOOLEAN, Types.TIMESTAMP, Types.INTEGER};\n } else {\n args = new Object[]{itemAssoc.getAssocValue(), itemAssoc.getViewType(), itemAssoc.getChangeDate(),\n itemAssoc.getId()};\n argTypes = new int[]{Types.DOUBLE, Types.INTEGER, Types.TIMESTAMP, Types.INTEGER};\n }\n\n return getJdbcTemplate().update(sqlString.toString(), args, argTypes);\n }", "title": "" }, { "docid": "f5ae51294eeb765cf2fedb4d168c9fa8", "score": "0.5740208", "text": "public interface IUserAttrDAO {\r\n \r\n /**\r\n * Insert method that returns a key. For standard inserts the returned key would be the \r\n * same as the key contained in the record. For tables with auto-generated columns, the \r\n * key would contain the generated value for that column.\r\n \r\n * @param record a UserAttr object containing the data to insert\r\n * @return a key object containing the auto-generated column value\r\n */\r\n UserAttrKey insert(UserAttr record);\r\n\r\n /**\r\n * Update by primary key.\r\n * @param record a UserAttr object containing the data to insert\r\n * the primary key columns are required, all others optional.\r\n * @return rows number of rows updated\r\n */\r\n int updateByPrimaryKeySelective(UserAttr record);\r\n\r\n /**\r\n * Select by primary key.\r\n * @param key the table primary key object, all ordinals required\r\n * @return record a single database record\r\n */\r\n UserAttr selectByPrimaryKey(UserAttrKey key);\r\n \r\n /**\r\n * Delete by primary key.\r\n * @param key the table primary key object, all ordinals required\r\n * @return rows the number of rows deleted\r\n */\r\n int deleteByPrimaryKey(UserAttrKey key);\r\n \r\n /**\r\n * Find a range of records by primary key. The minimum value for the first primary key is required, all\r\n * the rest of the values are optional. A range is not required, however if the end value is specified\r\n * the start value must also be specified.\r\n *\r\n * @param userAttrIdMin The USER_ATTR_ID lower limit.\r\n * @param userAttrIdMax The USER_ATTR_ID upper limit.\r\n * @param rownumMin The row number lower limit.\r\n * @param rownumMax The row number upper limit.\r\n * \r\n * @return records a list of database records\r\n */\r\n \r\n List<UserAttr> findRangeByUserAttrId(String userAttrIdMin, String userAttrIdMax, Integer rownumMin, Integer rownumMax);\r\n /**\r\n * Select by index AK1_USER_ATTR, selective.\r\n * @param userAttrNm the USER_ATTR_NM column\r\n * @return record a database record\r\n */\r\n public UserAttr selectByAk1UserAttr(String userAttrNm);\r\n \r\n \r\n /**\r\n * Find a range of records by the provided criteria. The minimum value for the leading index column is \r\n * required, the rest of the values are optional. A range is not required, however if the end value is \r\n * specified the start value must also be specified.\r\n *\r\n * @param userAttrNmMin The USER_ATTR_NM lower limit.\r\n * @param userAttrNmMax The USER_ATTR_NM upper limit.\r\n * @param rownumMin The row number lower limit.\r\n * @param rownumMax The row number upper limit.\r\n * \r\n * @return records a list of database records\r\n */\r\n \r\n List<UserAttr> findRangeByUserAttrNm(String userAttrNmMin, String userAttrNmMax, Integer rownumMin, Integer rownumMax); \r\n \r\n /**\r\n * Select by index IE1_USER_ATTR, selective.\r\n * @param userAttrTypeCd the USER_ATTR_TYPE_CD column\r\n * @return records a list of database records\r\n */\r\n \r\n List<UserAttr> selectByIe1UserAttr( String userAttrTypeCd ); \r\n \r\n /**\r\n * Find a range of records by the provided criteria. The minimum value for the leading index column is \r\n * required, the rest of the values are optional. A range is not required, however if the end value is \r\n * specified the start value must also be specified.\r\n *\r\n * @param userAttrTypeCdMin The USER_ATTR_TYPE_CD lower limit.\r\n * @param userAttrTypeCdMax The USER_ATTR_TYPE_CD upper limit.\r\n * @param rownumMin The row number lower limit.\r\n * @param rownumMax The row number upper limit.\r\n * \r\n * @return records a list of database records\r\n */\r\n \r\n List<UserAttr> findRangeByUserAttrTypeCd(String userAttrTypeCdMin, String userAttrTypeCdMax, Integer rownumMin, Integer rownumMax); \r\n \r\n}", "title": "" }, { "docid": "c778f757a6f143d3df5dd363a46cc1f1", "score": "0.5669632", "text": "@Override\n public ItemAssocVO<Integer,Integer> loadItemAssocByPrimaryKey(\n Long itemAssocId) {\n // validate input parameters\n if (itemAssocId == null) {\n throw new IllegalArgumentException(\"missing 'itemAssocId'\");\n }\n\n if (logger.isDebugEnabled()) {\n logger.debug(\"loading 'itemAssoc' with primary key '\" + itemAssocId + \"'\");\n }\n\n StringBuilder sqlString = new StringBuilder(\"SELECT * FROM \");\n sqlString.append(DEFAULT_TABLE_NAME);\n sqlString.append(\" WHERE \");\n sqlString.append(DEFAULT_ID_COLUMN_NAME);\n sqlString.append(\"=?\");\n Object[] args = {itemAssocId};\n int[] argTypes = {Types.INTEGER};\n\n try {\n return getJdbcTemplate().queryForObject(sqlString.toString(), args, argTypes, itemAssocVORowMapper);\n } catch (EmptyResultDataAccessException ex) {\n logger.warn(\"An error occurred!\", ex);\n return null;\n }\n }", "title": "" }, { "docid": "82f491e0d19cccd1d5bcf170c1ac8287", "score": "0.5601223", "text": "public interface StoreAchievementDao extends BaseJPADao<AchievementTbl> {\n}", "title": "" }, { "docid": "e3cbc670d7375b16689c34e1177cb517", "score": "0.5546737", "text": "public interface EdbItemDAO {\n List<EdbItemDO> queryEdbItems(EdbItemQTO edbItemQTO);\n\n Long totalAllEdbItemsCount(EdbItemQTO edbItemQTO);\n}", "title": "" }, { "docid": "13c5c389f30863f7d325522610efdff0", "score": "0.5496367", "text": "public interface CatalogIndividualDBAdaptor extends CatalogAnnotationSetDBAdaptor<Individual, IndividualAclEntry> {\n\n default boolean individualExists(long sampleId) throws CatalogDBException {\n return count(new Query(QueryParams.ID.key(), sampleId)).first() > 0;\n }\n\n default void checkIndividualId(long individualId) throws CatalogDBException {\n if (individualId < 0) {\n throw CatalogDBException.newInstance(\"Individual id '{}' is not valid: \", individualId);\n }\n\n if (!individualExists(individualId)) {\n throw CatalogDBException.newInstance(\"Indivivual id '{}' does not exist\", individualId);\n }\n }\n\n QueryResult<Individual> createIndividual(long studyId, Individual individual, QueryOptions options) throws CatalogDBException;\n\n QueryResult<Individual> getIndividual(long individualId, QueryOptions options) throws CatalogDBException;\n\n// @Deprecated\n// QueryResult<Individual> getAllIndividuals(Query query, QueryOptions options) throws CatalogDBException;\n\n// QueryResult<Individual> getAllIndividualsInStudy(long studyId, QueryOptions options) throws CatalogDBException;\n\n// @Deprecated\n// QueryResult<Individual> modifyIndividual(long individualId, QueryOptions parameters) throws CatalogDBException;\n\n QueryResult<AnnotationSet> annotateIndividual(long individualId, AnnotationSet annotationSet, boolean overwrite) throws\n CatalogDBException;\n\n QueryResult<AnnotationSet> deleteAnnotation(long individualId, String annotationId) throws CatalogDBException;\n\n QueryResult<Individual> deleteIndividual(long individualId, QueryOptions options) throws CatalogDBException;\n\n default QueryResult<IndividualAclEntry> getIndividualAcl(long individualId, String member) throws CatalogDBException {\n return getIndividualAcl(individualId, Arrays.asList(member));\n }\n\n QueryResult<IndividualAclEntry> getIndividualAcl(long individualId, List<String> members) throws CatalogDBException;\n\n QueryResult<IndividualAclEntry> setIndividualAcl(long individualId, IndividualAclEntry acl, boolean override) throws CatalogDBException;\n\n void unsetIndividualAcl(long individualId, List<String> members, List<String> permissions) throws CatalogDBException;\n\n void unsetIndividualAclsInStudy(long studyId, List<String> members) throws CatalogDBException;\n\n long getStudyIdByIndividualId(long individualId) throws CatalogDBException;\n\n enum QueryParams implements QueryParam {\n ID(\"id\", DECIMAL, \"\"),\n NAME(\"name\", TEXT, \"\"),\n FATHER_ID(\"fatherId\", DECIMAL, \"\"),\n MOTHER_ID(\"motherId\", DECIMAL, \"\"),\n FAMILY(\"family\", TEXT, \"\"),\n GENDER(\"gender\", TEXT, \"\"),\n RACE(\"race\", TEXT, \"\"),\n STATUS_NAME(\"status.name\", TEXT, \"\"),\n STATUS_MSG(\"status.msg\", TEXT, \"\"),\n STATUS_DATE(\"status.date\", TEXT, \"\"),\n SPECIES(\"species\", TEXT, \"\"),\n SPECIES_TAXONOMY_CODE(\"species.taxonomyCode\", TEXT, \"\"),\n SPECIES_SCIENTIFIC_NAME(\"species.scientificName\", TEXT, \"\"),\n SPECIES_COMMON_NAME(\"species.commonName\", TEXT, \"\"),\n POPULATION_NAME(\"population.name\", TEXT, \"\"),\n POPULATION_SUBPOPULATION(\"population.subpopulation\", TEXT, \"\"),\n POPULATION_DESCRIPTION(\"population.description\", TEXT, \"\"),\n ACL(\"acl\", TEXT_ARRAY, \"\"),\n ACL_MEMBER(\"acl.member\", TEXT_ARRAY, \"\"),\n ACL_PERMISSIONS(\"acl.permissions\", TEXT_ARRAY, \"\"),\n ATTRIBUTES(\"attributes\", TEXT, \"\"), // \"Format: <key><operation><stringValue> where <operation> is [<|<=|>|>=|==|!=|~|!~]\"\n NATTRIBUTES(\"nattributes\", DECIMAL, \"\"), // \"Format: <key><operation><numericalValue> where <operation> is [<|<=|>|>=|==|!=|~|!~]\"\n BATTRIBUTES(\"battributes\", BOOLEAN, \"\"), // \"Format: <key><operation><true|false> where <operation> is [==|!=]\"\n\n STUDY_ID(\"studyId\", DECIMAL, \"\"),\n ANNOTATION_SETS(\"annotationSets\", TEXT_ARRAY, \"\"),\n VARIABLE_SET_ID(\"variableSetId\", DECIMAL, \"\"),\n ANNOTATION_SET_NAME(\"annotationSetName\", TEXT, \"\"),\n ANNOTATION(\"annotation\", TEXT, \"\");\n\n private static Map<String, QueryParams> map;\n static {\n map = new LinkedMap();\n for (QueryParams params : QueryParams.values()) {\n map.put(params.key(), params);\n }\n }\n\n private final String key;\n private Type type;\n private String description;\n\n QueryParams(String key, Type type, String description) {\n this.key = key;\n this.type = type;\n this.description = description;\n }\n\n @Override\n public String key() {\n return key;\n }\n\n @Override\n public Type type() {\n return type;\n }\n\n @Override\n public String description() {\n return description;\n }\n\n public static Map<String, QueryParams> getMap() {\n return map;\n }\n\n public static QueryParams getParam(String key) {\n return map.get(key);\n }\n }\n\n @Deprecated\n enum IndividualFilterOption implements AbstractCatalogDBAdaptor.FilterOption {\n studyId(Type.NUMERICAL, \"\"),\n id(Type.NUMERICAL, \"\"),\n name(Type.TEXT, \"\"),\n fatherId(Type.NUMERICAL, \"\"),\n motherId(Type.NUMERICAL, \"\"),\n family(Type.TEXT, \"\"),\n gender(Type.TEXT, \"\"),\n race(Type.TEXT, \"\"),\n species(Type.TEXT, \"\"),\n population(Type.TEXT, \"\"),\n\n variableSetId(Type.NUMERICAL, \"\"),\n annotationSetName(Type.NUMERICAL, \"\"),\n annotation(Type.TEXT, \"\"),\n\n attributes(\"attributes\", Type.TEXT, \"\"),\n nattributes(\"attributes\", Type.NUMERICAL, \"\"),\n battributes(\"attributes\", Type.BOOLEAN, \"\");\n\n private final String _key;\n private final String _description;\n private final Type _type;\n\n IndividualFilterOption(Type type, String description) {\n this._key = name();\n this._description = description;\n this._type = type;\n }\n\n IndividualFilterOption(String key, Type type, String description) {\n this._key = key;\n this._description = description;\n this._type = type;\n }\n\n @Override\n public String getDescription() {\n return _description;\n }\n\n @Override\n public Type getType() {\n return _type;\n }\n\n @Override\n public String getKey() {\n return _key;\n }\n }\n\n\n}", "title": "" }, { "docid": "4f34d22341c0f5780703582b2e4d2dea", "score": "0.54531205", "text": "public interface CellBaseDBAdaptor<T> extends Iterable<T> {\n\n\n// int insert(List objectList);\n\n QueryResult<Long> update(List objectList, String field, String[] innerFields);\n\n// QueryResult<Long> update(Query query, ObjectMap parameters);\n\n\n default QueryResult<Long> count() {\n return count(new Query());\n }\n\n QueryResult<Long> count(Query query);\n\n\n default QueryResult distinct(String field) {\n return distinct(new Query(), field);\n }\n\n QueryResult distinct(Query query, String field);\n\n\n default QueryResult stats() {\n return stats(new Query());\n }\n\n QueryResult stats(Query query);\n\n\n /*\n Main methods to query.\n */\n QueryResult<T> get(Query query, QueryOptions options);\n\n default List<QueryResult<T>> get(List<Query> queries, QueryOptions options) {\n Objects.requireNonNull(queries);\n List<QueryResult<T>> queryResults = new ArrayList<>(queries.size());\n for (Query query : queries) {\n queryResults.add(get(query, options));\n }\n return queryResults;\n }\n\n QueryResult nativeGet(Query query, QueryOptions options);\n\n default List<QueryResult> nativeGet(List<Query> queries, QueryOptions options) {\n Objects.requireNonNull(queries);\n List<QueryResult> queryResults = new ArrayList<>(queries.size());\n for (Query query : queries) {\n queryResults.add(nativeGet(query, options));\n }\n return queryResults;\n }\n\n\n\n @Override\n default Iterator<T> iterator() {\n return iterator(new Query(), new QueryOptions());\n }\n\n default Iterator nativeIterator() {\n return nativeIterator(new Query(), new QueryOptions());\n }\n\n Iterator<T> iterator(Query query, QueryOptions options);\n\n Iterator nativeIterator(Query query, QueryOptions options);\n\n\n\n QueryResult rank(Query query, String field, int numResults, boolean asc);\n\n QueryResult groupBy(Query query, String field, QueryOptions options);\n\n QueryResult groupBy(Query query, List<String> fields, QueryOptions options);\n\n\n\n @Override\n default void forEach(Consumer action) {\n forEach(new Query(), action, new QueryOptions());\n }\n\n void forEach(Query query, Consumer<? super Object> action, QueryOptions options);\n\n}", "title": "" }, { "docid": "370a5dc89fdbb584c934d7724d125c29", "score": "0.53970677", "text": "public interface GenericItemDAO extends CountableDAO, \r\nCrudDAO<GenericItem>, NameListDAO, NonUniqueNameDAO<GenericItem>\r\n{\r\n\t/**\r\n\t * Find the item for with the specified name and collection id.\r\n\t * \r\n\t * @param name of the item\r\n\t * @param id id of the parent collection\r\n\t * @return the found item or null if the collection is not found.\r\n\t */\r\n\tpublic GenericItem getItemForCollection(String name, Long irCollectionId);\r\n\t\r\n\t/**\r\n\t * Get a count for the number of contributions made by a given contributor -\r\n\t * this is a name/contribution type combination.\r\n\t * \r\n\t * @param contributor that made contributions to an item\r\n\t * @return count of item contributions.\r\n\t */\r\n\tpublic Long getItemContributionCount(Contributor contributor);\r\n\t\r\n\t/**\r\n\t * Get a count for the number of contributions made by a given contributor -\r\n\t * this name\r\n\t * \r\n\t * @param contributorId id of the contributor\r\n\t * @return count of item contributions.\r\n\t */\r\n\tpublic Long getContributionCountByPersonName(PersonName personName);\r\n\t\r\n\t/**\r\n\t * Get the list of contributions this person has made based on a given name. It\r\n\t * should not include a contribution type that is already associated \r\n\t * to this item for the given person name. \r\n\t * \t\r\n\t * @param personNameId - name id of the person who made the contribution\r\n\t * @param itemId - GenericItem the contribution was made to.\r\n\t * @return list of available contributions.\r\n\t */\r\n\tpublic List<ContributorType> getPossibleContributions(Long personNameId, Long itemId);\r\n\t\r\n\t\r\n\t/**\r\n\t * Get a list of identifier types that can be applied to this\r\n\t * item. Identifier types that have already been used will not\r\n\t * be returned.\r\n\t * \r\n\t * @param itemId the item to get possible identifier types for.\r\n\t * @return\r\n\t */\r\n\tpublic List<IdentifierType> getPossibleIdentifierTypes(Long itemId);\r\n\r\n\t/**\r\n\t * Get the list of items owned by an user\r\n\t * \t\r\n\t * @param userId - User Id owning the items \r\n\t * @return list of Items\r\n\t */\r\n\tpublic List<GenericItem> getAllItemsForUser(Long userId);\r\n\t\r\n\t/**\r\n\t * Get the download count of all files within an item.\r\n\t * \r\n\t * @param itemId - id of the item to get the downloads for\r\n\t * @return - the count of downloads.\r\n\t */\r\n\tpublic Long getDownloadCount(Long itemId);\r\n\t\r\n\t/**\r\n\t * Get a count of items that have the specified contributor type.\r\n\t * \r\n\t * @param contributorType - the contributor type to check\r\n\t * @return count of the number of items that have the specified contributor type.\r\n\t */\r\n\tpublic Long getContributorTypeCount(ContributorType contributorType);\r\n\t\r\n\t\r\n\r\n}", "title": "" }, { "docid": "3515d47459e217ad63dfb29bb7954bb8", "score": "0.52126783", "text": "@Override\r\n\tpublic void doDelete(ArticoloBean item) throws SQLException {\n\t\t\r\n\t}", "title": "" }, { "docid": "361b5783a1ae0ac09f19e71f831e6c03", "score": "0.5197489", "text": "public interface ExamItemDao extends GenericDAO<ExamItem, Integer> {\n\n List<ExamItem> findAllExam(List<String> graSNs);\n\n List<ExamItem> findAllExam();\n\n void disabledExamItemById(Integer exnSn);\n\n List<ExamItem> findSynExamItemScore();\n\n}", "title": "" }, { "docid": "9c35cbb13eaca253f696abae540a164e", "score": "0.5163222", "text": "public interface ItemDao {\r\n\r\n /**\r\n * 向数据库表插入一个新收集项信息\r\n * @param item\r\n */\r\n boolean insertInfoGatherItem(InfoGatherItem item);\r\n\r\n /**\r\n * 通过工程id读取收集项信息\r\n * @param projectId\r\n */\r\n List<Map<String, Object>> loadInfoGatherItemByProjectId(int projectId);\r\n\r\n /**\r\n * 更新收集项信息\r\n * @param item\r\n */\r\n int updateInfoGatherItemById(InfoGatherItem item);\r\n\r\n /**\r\n * 根据收集项ID删除收集项\r\n * @param id\r\n */\r\n int deleteInfoGatherItemById(int id);\r\n\r\n /**\r\n * 根据工程ID删除收集项\r\n * @param projecctId\r\n */\r\n int deleteInfoGatherItemByProjectId(int projecctId);\r\n}", "title": "" }, { "docid": "8511848a592c7ccd62befdd0e8493114", "score": "0.51523113", "text": "public interface IBaseDao<T> extends IBaseDB<T> {\n\n\t/**\n\t * delete model by id, physical delete\n\t * @param t\n\t * @return\n\t * @throws DaoException\n\t */\n\tInteger deletePhysical(T t) throws DaoException;\n\t/**\n\t * delete records physically by batch\n\t * @see #deletePhysical(Object)\n\t */\n\t<PK> Integer deletePhysicalBatch(List<PK> ids) throws DaoException;\n\t/**\n\t * delete model by id\n\t * @param id\n\t * @return the total number of affected row\n\t * @throws DaoException\n\t */\n\t<PK> Integer deleteById(PK id) throws DaoException;\n\t/**\n\t * Query given SQL to create a prepared statement from SQL and a\n\t * list of arguments to bind to the query, expecting a result list.\n\t * <p>The results will be mapped to a List (one entry for each row) of\n\t * Maps (one entry for each column, using the column name as the key).\n\t * Each element in the list will be of the form returned by this interface's\n\t * queryForMap() methods.\n\t * @param sql SQL query to execute\n\t * @param args arguments to bind to the query\n\t * (leaving it to the PreparedStatement to guess the corresponding SQL type);\n\t * @return a List that contains a Map per row\n\t * @throws DaoException if the query fails\n\t */\n\tList<Map<String, Object>> queryForMapList(String sql, Object... args) throws DaoException;\n\t/**\n\t * Query given SQL to create a prepared statement from SQL and a\n\t * list of arguments to bind to the query, expecting a result Map.\n\t * The queryForMap() methods defined by this interface are appropriate\n\t * when you don't have a domain model. Otherwise, consider using\n\t * one of the queryForObject() methods.\n\t * <p>The query is expected to be a single row query; the result row will be\n\t * mapped to a Map (one entry for each column, using the column name as the key).\n\t * @param sql SQL query to execute\n\t * @param args arguments to bind to the query\n\t * (leaving it to the PreparedStatement to guess the corresponding SQL type);\n\t * @return the result Map (one entry for each column, using the, null if the query does not\n\t * column name as the key)\n\t * return exactly one row\n\t * @throws DaoException if the query fails\n\t */\n\tMap<String, Object> queryForMap(String sql, Object... args) throws DaoException;\n\t/**\n\t * execute the sql, and retrieve a list with element mapped by @param clazz\n\t * @param sql\n\t * @param clazz\n\t * @param args\n\t * @return\n\t * @throws DaoException\n\t */\n\t<E> List<E> queryForList(String sql, Class<E> clazz, Object... args) throws DaoException;\n\t/**\n\t * Query given SQL to create a prepared statement from SQL and a list\n\t * of arguments to bind to the query, mapping each row to a Java object.<br>\n\t * call example:\n\t * queryForList(\"select * from meta_recommend_page_tbl where id in(:ids)\",\n\t * ModelRecommendPage.class, Collections.singletonMap(\"ids\",\n\t * Arrays.asList(new Long[]{1L,2L})))\n\t * \n\t * @param sql\n\t * @param elementType\n\t * @param paramMap\n\t * @return the result List, containing the specified type\n\t * @throws DaoException\n\t */\n\t<E> List<E> queryForList(String sql, Class<E> elementType, Map<String, ?> paramMap) throws DaoException;\n\t/**\n\t * execute the sql, and retrieve an single object mapped by @param clazz\n\t * @param sql\n\t * @param clazz\n\t * @param args\n\t * @return null if no available result was expected\n\t * @throws DaoException\n\t */\n\t<E> E queryForObject(String sql, Class<E> clazz, Object... args) throws DaoException;\n\t/**\n\t * Query given SQL to create a prepared statement from SQL and a\n\t * list of arguments to bind to the query, expecting a result object.\n\t * <p>The query is expected to be a single row/single column query; the returned\n\t * result will be directly mapped to the corresponding object type.\n\t * @param sql SQL query to execute\n\t * @param requiredType the type that the result object is expected to match\n\t * @param args arguments to bind to the query\n\t * @return the result object of the required type, or <code>null</code> in case of SQL NULL\n\t * @throws DaoException\n\t */\n\t<E> E queryForSingleColVal(String sql, Class<E> requiredType, Object... args) throws DaoException;\n\t/**\n\t * Issue multiple SQL updates on a single JDBC Statement using batching.\n\t * <p>Will fall back to separate updates on a single Statement if the JDBC\n\t * driver does not support batch updates.\n\t * @param sql defining an array of SQL statements that will be executed.\n\t * @return an array of the number of rows affected by each statement\n\t * @throws DaoException if there is any problem executing the batch\n\t */\n\tint[] batchUpdate(String[] sql) throws DaoException;\n\t/**\n\t * Issue a single SQL execute, typically a DDL statement.\n\t * @param sql static SQL to execute\n\t * @throws DaoException if there is any problem\n\t */\n\tvoid execute(String sql) throws DaoException;\n\t/**\n\t * Issue a single SQL update operation (such as an insert, update or delete statement)\n\t * via a prepared statement, binding the given arguments.\n\t * @param sql SQL containing bind parameters\n\t * @param args arguments to bind to the query\n\t * (leaving it to the PreparedStatement to guess the corresponding SQL type);\n\t * @return the number of rows affected\n\t * @throws DaoException if there is any problem issuing the update\n\t */\n\tint update(String sql, Object... args) throws DaoException;\n}", "title": "" }, { "docid": "b2f25b7087e30103c051cc11a85a2742", "score": "0.5139703", "text": "public interface I_T_Aging \n{\n\n /** TableName=T_Aging */\n public static final String Table_Name = \"T_Aging\";\n\n /** AD_Table_ID=631 */\n public static final int Table_ID = MTable.getTable_ID(Table_Name);\n\n KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);\n\n /** AccessLevel = 3 - Client - Org \n */\n BigDecimal accessLevel = BigDecimal.valueOf(3);\n\n /** Load Meta Data */\n\n /** Column name AD_Client_ID */\n public static final String COLUMNNAME_AD_Client_ID = \"AD_Client_ID\";\n\n\t/** Get Client.\n\t * Client/Tenant for this installation.\n\t */\n\tpublic int getAD_Client_ID();\n\n /** Column name AD_Org_ID */\n public static final String COLUMNNAME_AD_Org_ID = \"AD_Org_ID\";\n\n\t/** Set Organization.\n\t * Organizational entity within client\n\t */\n\tpublic void setAD_Org_ID (int AD_Org_ID);\n\n\t/** Get Organization.\n\t * Organizational entity within client\n\t */\n\tpublic int getAD_Org_ID();\n\n /** Column name AD_PInstance_ID */\n public static final String COLUMNNAME_AD_PInstance_ID = \"AD_PInstance_ID\";\n\n\t/** Set Process Instance.\n\t * Instance of the process\n\t */\n\tpublic void setAD_PInstance_ID (int AD_PInstance_ID);\n\n\t/** Get Process Instance.\n\t * Instance of the process\n\t */\n\tpublic int getAD_PInstance_ID();\n\n\tpublic org.compiere.model.I_AD_PInstance getAD_PInstance() throws RuntimeException;\n\n /** Column name C_Activity_ID */\n public static final String COLUMNNAME_C_Activity_ID = \"C_Activity_ID\";\n\n\t/** Set Activity.\n\t * Business Activity\n\t */\n\tpublic void setC_Activity_ID (int C_Activity_ID);\n\n\t/** Get Activity.\n\t * Business Activity\n\t */\n\tpublic int getC_Activity_ID();\n\n\tpublic org.compiere.model.I_C_Activity getC_Activity() throws RuntimeException;\n\n /** Column name C_BankAccount_ID */\n public static final String COLUMNNAME_C_BankAccount_ID = \"C_BankAccount_ID\";\n\n\t/** Set Bank Account.\n\t * Account at the Bank\n\t */\n\tpublic void setC_BankAccount_ID (int C_BankAccount_ID);\n\n\t/** Get Bank Account.\n\t * Account at the Bank\n\t */\n\tpublic int getC_BankAccount_ID();\n\n\tpublic org.compiere.model.I_C_BankAccount getC_BankAccount() throws RuntimeException;\n\n /** Column name C_BPartner_ID */\n public static final String COLUMNNAME_C_BPartner_ID = \"C_BPartner_ID\";\n\n\t/** Set Business Partner .\n\t * Identifies a Business Partner\n\t */\n\tpublic void setC_BPartner_ID (int C_BPartner_ID);\n\n\t/** Get Business Partner .\n\t * Identifies a Business Partner\n\t */\n\tpublic int getC_BPartner_ID();\n\n\tpublic org.compiere.model.I_C_BPartner getC_BPartner() throws RuntimeException;\n\n /** Column name C_BP_Group_ID */\n public static final String COLUMNNAME_C_BP_Group_ID = \"C_BP_Group_ID\";\n\n\t/** Set Business Partner Group.\n\t * Business Partner Group\n\t */\n\tpublic void setC_BP_Group_ID (int C_BP_Group_ID);\n\n\t/** Get Business Partner Group.\n\t * Business Partner Group\n\t */\n\tpublic int getC_BP_Group_ID();\n\n\tpublic org.compiere.model.I_C_BP_Group getC_BP_Group() throws RuntimeException;\n\n /** Column name C_Campaign_ID */\n public static final String COLUMNNAME_C_Campaign_ID = \"C_Campaign_ID\";\n\n\t/** Set Campaign.\n\t * Marketing Campaign\n\t */\n\tpublic void setC_Campaign_ID (int C_Campaign_ID);\n\n\t/** Get Campaign.\n\t * Marketing Campaign\n\t */\n\tpublic int getC_Campaign_ID();\n\n\tpublic org.compiere.model.I_C_Campaign getC_Campaign() throws RuntimeException;\n\n /** Column name C_CashFlow_ID */\n public static final String COLUMNNAME_C_CashFlow_ID = \"C_CashFlow_ID\";\n\n\t/** Set C_CashFlow_ID\t */\n\tpublic void setC_CashFlow_ID (int C_CashFlow_ID);\n\n\t/** Get C_CashFlow_ID\t */\n\tpublic int getC_CashFlow_ID();\n\n\tpublic org.eevolution.model.I_C_CashFlow getC_CashFlow() throws RuntimeException;\n\n /** Column name C_Currency_ID */\n public static final String COLUMNNAME_C_Currency_ID = \"C_Currency_ID\";\n\n\t/** Set Currency.\n\t * The Currency for this record\n\t */\n\tpublic void setC_Currency_ID (int C_Currency_ID);\n\n\t/** Get Currency.\n\t * The Currency for this record\n\t */\n\tpublic int getC_Currency_ID();\n\n\tpublic org.compiere.model.I_C_Currency getC_Currency() throws RuntimeException;\n\n /** Column name C_Invoice_ID */\n public static final String COLUMNNAME_C_Invoice_ID = \"C_Invoice_ID\";\n\n\t/** Set Invoice.\n\t * Invoice Identifier\n\t */\n\tpublic void setC_Invoice_ID (int C_Invoice_ID);\n\n\t/** Get Invoice.\n\t * Invoice Identifier\n\t */\n\tpublic int getC_Invoice_ID();\n\n\tpublic org.compiere.model.I_C_Invoice getC_Invoice() throws RuntimeException;\n\n /** Column name C_InvoicePaySchedule_ID */\n public static final String COLUMNNAME_C_InvoicePaySchedule_ID = \"C_InvoicePaySchedule_ID\";\n\n\t/** Set Invoice Payment Schedule.\n\t * Invoice Payment Schedule\n\t */\n\tpublic void setC_InvoicePaySchedule_ID (int C_InvoicePaySchedule_ID);\n\n\t/** Get Invoice Payment Schedule.\n\t * Invoice Payment Schedule\n\t */\n\tpublic int getC_InvoicePaySchedule_ID();\n\n\tpublic org.compiere.model.I_C_InvoicePaySchedule getC_InvoicePaySchedule() throws RuntimeException;\n\n /** Column name C_Order_ID */\n public static final String COLUMNNAME_C_Order_ID = \"C_Order_ID\";\n\n\t/** Set Order.\n\t * Order\n\t */\n\tpublic void setC_Order_ID (int C_Order_ID);\n\n\t/** Get Order.\n\t * Order\n\t */\n\tpublic int getC_Order_ID();\n\n\tpublic org.compiere.model.I_C_Order getC_Order() throws RuntimeException;\n\n /** Column name C_PaymentTerm_ID */\n public static final String COLUMNNAME_C_PaymentTerm_ID = \"C_PaymentTerm_ID\";\n\n\t/** Set Payment Term.\n\t * The terms of Payment (timing, discount)\n\t */\n\tpublic void setC_PaymentTerm_ID (int C_PaymentTerm_ID);\n\n\t/** Get Payment Term.\n\t * The terms of Payment (timing, discount)\n\t */\n\tpublic int getC_PaymentTerm_ID();\n\n\tpublic org.compiere.model.I_C_PaymentTerm getC_PaymentTerm() throws RuntimeException;\n\n /** Column name C_Project_ID */\n public static final String COLUMNNAME_C_Project_ID = \"C_Project_ID\";\n\n\t/** Set Project.\n\t * Financial Project\n\t */\n\tpublic void setC_Project_ID (int C_Project_ID);\n\n\t/** Get Project.\n\t * Financial Project\n\t */\n\tpublic int getC_Project_ID();\n\n\tpublic org.compiere.model.I_C_Project getC_Project() throws RuntimeException;\n\n /** Column name Created */\n public static final String COLUMNNAME_Created = \"Created\";\n\n\t/** Get Created.\n\t * Date this record was created\n\t */\n\tpublic Timestamp getCreated();\n\n /** Column name CreatedBy */\n public static final String COLUMNNAME_CreatedBy = \"CreatedBy\";\n\n\t/** Get Created By.\n\t * User who created this records\n\t */\n\tpublic int getCreatedBy();\n\n /** Column name DateAcct */\n public static final String COLUMNNAME_DateAcct = \"DateAcct\";\n\n\t/** Set Account Date.\n\t * Accounting Date\n\t */\n\tpublic void setDateAcct (boolean DateAcct);\n\n\t/** Get Account Date.\n\t * Accounting Date\n\t */\n\tpublic boolean isDateAcct();\n\n /** Column name DaysDue */\n public static final String COLUMNNAME_DaysDue = \"DaysDue\";\n\n\t/** Set Days due.\n\t * Number of days due (negative: due in number of days)\n\t */\n\tpublic void setDaysDue (int DaysDue);\n\n\t/** Get Days due.\n\t * Number of days due (negative: due in number of days)\n\t */\n\tpublic int getDaysDue();\n\n /** Column name Due0 */\n public static final String COLUMNNAME_Due0 = \"Due0\";\n\n\t/** Set Due Today\t */\n\tpublic void setDue0 (BigDecimal Due0);\n\n\t/** Get Due Today\t */\n\tpublic BigDecimal getDue0();\n\n /** Column name Due0_30 */\n public static final String COLUMNNAME_Due0_30 = \"Due0_30\";\n\n\t/** Set Due Today-30\t */\n\tpublic void setDue0_30 (BigDecimal Due0_30);\n\n\t/** Get Due Today-30\t */\n\tpublic BigDecimal getDue0_30();\n\n /** Column name Due0_7 */\n public static final String COLUMNNAME_Due0_7 = \"Due0_7\";\n\n\t/** Set Due Today-7\t */\n\tpublic void setDue0_7 (BigDecimal Due0_7);\n\n\t/** Get Due Today-7\t */\n\tpublic BigDecimal getDue0_7();\n\n /** Column name Due15_30 */\n public static final String COLUMNNAME_Due15_30 = \"Due15_30\";\n\n\t/** Set Due 15-30\t */\n\tpublic void setDue15_30 (BigDecimal Due15_30);\n\n\t/** Get Due 15-30\t */\n\tpublic BigDecimal getDue15_30();\n\n /** Column name Due1_7 */\n public static final String COLUMNNAME_Due1_7 = \"Due1_7\";\n\n\t/** Set Due 1-7\t */\n\tpublic void setDue1_7 (BigDecimal Due1_7);\n\n\t/** Get Due 1-7\t */\n\tpublic BigDecimal getDue1_7();\n\n /** Column name Due31_60 */\n public static final String COLUMNNAME_Due31_60 = \"Due31_60\";\n\n\t/** Set Due 31-60\t */\n\tpublic void setDue31_60 (BigDecimal Due31_60);\n\n\t/** Get Due 31-60\t */\n\tpublic BigDecimal getDue31_60();\n\n /** Column name Due31_Plus */\n public static final String COLUMNNAME_Due31_Plus = \"Due31_Plus\";\n\n\t/** Set Due > 31\t */\n\tpublic void setDue31_Plus (BigDecimal Due31_Plus);\n\n\t/** Get Due > 31\t */\n\tpublic BigDecimal getDue31_Plus();\n\n /** Column name Due61_90 */\n public static final String COLUMNNAME_Due61_90 = \"Due61_90\";\n\n\t/** Set Due 61-90\t */\n\tpublic void setDue61_90 (BigDecimal Due61_90);\n\n\t/** Get Due 61-90\t */\n\tpublic BigDecimal getDue61_90();\n\n /** Column name Due61_Plus */\n public static final String COLUMNNAME_Due61_Plus = \"Due61_Plus\";\n\n\t/** Set Due > 61\t */\n\tpublic void setDue61_Plus (BigDecimal Due61_Plus);\n\n\t/** Get Due > 61\t */\n\tpublic BigDecimal getDue61_Plus();\n\n /** Column name Due8_14 */\n public static final String COLUMNNAME_Due8_14 = \"Due8_14\";\n\n\t/** Set Due 8-14\t */\n\tpublic void setDue8_14 (BigDecimal Due8_14);\n\n\t/** Get Due 8-14\t */\n\tpublic BigDecimal getDue8_14();\n\n /** Column name Due8_30 */\n public static final String COLUMNNAME_Due8_30 = \"Due8_30\";\n\n\t/** Set Due 8-30\t */\n\tpublic void setDue8_30 (BigDecimal Due8_30);\n\n\t/** Get Due 8-30\t */\n\tpublic BigDecimal getDue8_30();\n\n /** Column name Due91_Plus */\n public static final String COLUMNNAME_Due91_Plus = \"Due91_Plus\";\n\n\t/** Set Due > 91\t */\n\tpublic void setDue91_Plus (BigDecimal Due91_Plus);\n\n\t/** Get Due > 91\t */\n\tpublic BigDecimal getDue91_Plus();\n\n /** Column name DueAmt */\n public static final String COLUMNNAME_DueAmt = \"DueAmt\";\n\n\t/** Set Amount due.\n\t * Amount of the payment due\n\t */\n\tpublic void setDueAmt (BigDecimal DueAmt);\n\n\t/** Get Amount due.\n\t * Amount of the payment due\n\t */\n\tpublic BigDecimal getDueAmt();\n\n /** Column name DueDate */\n public static final String COLUMNNAME_DueDate = \"DueDate\";\n\n\t/** Set Due Date.\n\t * Date when the payment is due\n\t */\n\tpublic void setDueDate (Timestamp DueDate);\n\n\t/** Get Due Date.\n\t * Date when the payment is due\n\t */\n\tpublic Timestamp getDueDate();\n\n /** Column name InvoicedAmt */\n public static final String COLUMNNAME_InvoicedAmt = \"InvoicedAmt\";\n\n\t/** Set Invoiced Amount.\n\t * The amount invoiced\n\t */\n\tpublic void setInvoicedAmt (BigDecimal InvoicedAmt);\n\n\t/** Get Invoiced Amount.\n\t * The amount invoiced\n\t */\n\tpublic BigDecimal getInvoicedAmt();\n\n /** Column name IsActive */\n public static final String COLUMNNAME_IsActive = \"IsActive\";\n\n\t/** Set Active.\n\t * The record is active in the system\n\t */\n\tpublic void setIsActive (boolean IsActive);\n\n\t/** Get Active.\n\t * The record is active in the system\n\t */\n\tpublic boolean isActive();\n\n /** Column name IsListInvoices */\n public static final String COLUMNNAME_IsListInvoices = \"IsListInvoices\";\n\n\t/** Set List Invoices.\n\t * Include List of Invoices\n\t */\n\tpublic void setIsListInvoices (boolean IsListInvoices);\n\n\t/** Get List Invoices.\n\t * Include List of Invoices\n\t */\n\tpublic boolean isListInvoices();\n\n /** Column name IsSOTrx */\n public static final String COLUMNNAME_IsSOTrx = \"IsSOTrx\";\n\n\t/** Set Sales Transaction.\n\t * This is a Sales Transaction\n\t */\n\tpublic void setIsSOTrx (boolean IsSOTrx);\n\n\t/** Get Sales Transaction.\n\t * This is a Sales Transaction\n\t */\n\tpublic boolean isSOTrx();\n\n /** Column name OpenAmt */\n public static final String COLUMNNAME_OpenAmt = \"OpenAmt\";\n\n\t/** Set Open Amount.\n\t * Open item amount\n\t */\n\tpublic void setOpenAmt (BigDecimal OpenAmt);\n\n\t/** Get Open Amount.\n\t * Open item amount\n\t */\n\tpublic BigDecimal getOpenAmt();\n\n /** Column name PastDue1_30 */\n public static final String COLUMNNAME_PastDue1_30 = \"PastDue1_30\";\n\n\t/** Set Past Due 1-30\t */\n\tpublic void setPastDue1_30 (BigDecimal PastDue1_30);\n\n\t/** Get Past Due 1-30\t */\n\tpublic BigDecimal getPastDue1_30();\n\n /** Column name PastDue15_30 */\n public static final String COLUMNNAME_PastDue15_30 = \"PastDue15_30\";\n\n\t/** Set Past Due 15-30\t */\n\tpublic void setPastDue15_30 (BigDecimal PastDue15_30);\n\n\t/** Get Past Due 15-30\t */\n\tpublic BigDecimal getPastDue15_30();\n\n /** Column name PastDue1_7 */\n public static final String COLUMNNAME_PastDue1_7 = \"PastDue1_7\";\n\n\t/** Set Past Due 1-7\t */\n\tpublic void setPastDue1_7 (BigDecimal PastDue1_7);\n\n\t/** Get Past Due 1-7\t */\n\tpublic BigDecimal getPastDue1_7();\n\n /** Column name PastDue120_180 */\n public static final String COLUMNNAME_PastDue120_180 = \"PastDue120_180\";\n\n\t/** Set PastDue120_180\t */\n\tpublic void setPastDue120_180 (BigDecimal PastDue120_180);\n\n\t/** Get PastDue120_180\t */\n\tpublic BigDecimal getPastDue120_180();\n\n /** Column name PastDue180_360 */\n public static final String COLUMNNAME_PastDue180_360 = \"PastDue180_360\";\n\n\t/** Set PastDue180_360\t */\n\tpublic void setPastDue180_360 (BigDecimal PastDue180_360);\n\n\t/** Get PastDue180_360\t */\n\tpublic BigDecimal getPastDue180_360();\n\n /** Column name PastDue31_60 */\n public static final String COLUMNNAME_PastDue31_60 = \"PastDue31_60\";\n\n\t/** Set Past Due 31-60\t */\n\tpublic void setPastDue31_60 (BigDecimal PastDue31_60);\n\n\t/** Get Past Due 31-60\t */\n\tpublic BigDecimal getPastDue31_60();\n\n /** Column name PastDue31_Plus */\n public static final String COLUMNNAME_PastDue31_Plus = \"PastDue31_Plus\";\n\n\t/** Set Past Due > 31\t */\n\tpublic void setPastDue31_Plus (BigDecimal PastDue31_Plus);\n\n\t/** Get Past Due > 31\t */\n\tpublic BigDecimal getPastDue31_Plus();\n\n /** Column name PastDue360_plus */\n public static final String COLUMNNAME_PastDue360_plus = \"PastDue360_plus\";\n\n\t/** Set PastDue360_plus\t */\n\tpublic void setPastDue360_plus (BigDecimal PastDue360_plus);\n\n\t/** Get PastDue360_plus\t */\n\tpublic BigDecimal getPastDue360_plus();\n\n /** Column name PastDue61_90 */\n public static final String COLUMNNAME_PastDue61_90 = \"PastDue61_90\";\n\n\t/** Set Past Due 61-90\t */\n\tpublic void setPastDue61_90 (BigDecimal PastDue61_90);\n\n\t/** Get Past Due 61-90\t */\n\tpublic BigDecimal getPastDue61_90();\n\n /** Column name PastDue61_Plus */\n public static final String COLUMNNAME_PastDue61_Plus = \"PastDue61_Plus\";\n\n\t/** Set Past Due > 61\t */\n\tpublic void setPastDue61_Plus (BigDecimal PastDue61_Plus);\n\n\t/** Get Past Due > 61\t */\n\tpublic BigDecimal getPastDue61_Plus();\n\n /** Column name PastDue8_14 */\n public static final String COLUMNNAME_PastDue8_14 = \"PastDue8_14\";\n\n\t/** Set Past Due 8-14\t */\n\tpublic void setPastDue8_14 (BigDecimal PastDue8_14);\n\n\t/** Get Past Due 8-14\t */\n\tpublic BigDecimal getPastDue8_14();\n\n /** Column name PastDue8_30 */\n public static final String COLUMNNAME_PastDue8_30 = \"PastDue8_30\";\n\n\t/** Set Past Due 8-30\t */\n\tpublic void setPastDue8_30 (BigDecimal PastDue8_30);\n\n\t/** Get Past Due 8-30\t */\n\tpublic BigDecimal getPastDue8_30();\n\n /** Column name PastDue90_120 */\n public static final String COLUMNNAME_PastDue90_120 = \"PastDue90_120\";\n\n\t/** Set PastDue90_120\t */\n\tpublic void setPastDue90_120 (BigDecimal PastDue90_120);\n\n\t/** Get PastDue90_120\t */\n\tpublic BigDecimal getPastDue90_120();\n\n /** Column name PastDue91_Plus */\n public static final String COLUMNNAME_PastDue91_Plus = \"PastDue91_Plus\";\n\n\t/** Set Past Due > 91\t */\n\tpublic void setPastDue91_Plus (BigDecimal PastDue91_Plus);\n\n\t/** Get Past Due > 91\t */\n\tpublic BigDecimal getPastDue91_Plus();\n\n /** Column name PastDueAmt */\n public static final String COLUMNNAME_PastDueAmt = \"PastDueAmt\";\n\n\t/** Set Past Due\t */\n\tpublic void setPastDueAmt (BigDecimal PastDueAmt);\n\n\t/** Get Past Due\t */\n\tpublic BigDecimal getPastDueAmt();\n\n /** Column name SalesRep_ID */\n public static final String COLUMNNAME_SalesRep_ID = \"SalesRep_ID\";\n\n\t/** Set Sales Representative.\n\t * Sales Representative or Company Agent\n\t */\n\tpublic void setSalesRep_ID (int SalesRep_ID);\n\n\t/** Get Sales Representative.\n\t * Sales Representative or Company Agent\n\t */\n\tpublic int getSalesRep_ID();\n\n\tpublic org.compiere.model.I_AD_User getSalesRep() throws RuntimeException;\n\n /** Column name StatementDate */\n public static final String COLUMNNAME_StatementDate = \"StatementDate\";\n\n\t/** Set Statement date.\n\t * Date of the statement\n\t */\n\tpublic void setStatementDate (Timestamp StatementDate);\n\n\t/** Get Statement date.\n\t * Date of the statement\n\t */\n\tpublic Timestamp getStatementDate();\n\n /** Column name Updated */\n public static final String COLUMNNAME_Updated = \"Updated\";\n\n\t/** Get Updated.\n\t * Date this record was updated\n\t */\n\tpublic Timestamp getUpdated();\n\n /** Column name UpdatedBy */\n public static final String COLUMNNAME_UpdatedBy = \"UpdatedBy\";\n\n\t/** Get Updated By.\n\t * User who updated this records\n\t */\n\tpublic int getUpdatedBy();\n\n /** Column name UUID */\n public static final String COLUMNNAME_UUID = \"UUID\";\n\n\t/** Set Immutable Universally Unique Identifier.\n\t * Immutable Universally Unique Identifier\n\t */\n\tpublic void setUUID (String UUID);\n\n\t/** Get Immutable Universally Unique Identifier.\n\t * Immutable Universally Unique Identifier\n\t */\n\tpublic String getUUID();\n}", "title": "" }, { "docid": "7e45859045f9fe90e6f7027d31bc8dfc", "score": "0.5129403", "text": "public interface TCustAlgmntAttrDAO {\n\n\t/**\n\t * Stores a new TCustAlgmntAttr entity object in to the persistent store\n\t * \n\t * @param tCustAlgmntAttr\n\t * TCustAlgmntAttr Entity object to be persisted\n\t * @return tCustAlgmntAttr Persisted TCustAlgmntAttr object\n\t */\n\tTCustAlgmntAttr createTCustAlgmntAttr(TCustAlgmntAttr tCustAlgmntAttr);\n\n\t/**\n\t * Deletes a TCustAlgmntAttr entity object from the persistent store\n\t * \n\t * @param tCustAlgmntAttr\n\t * TCustAlgmntAttr Entity object to be deleted\n\t */\n\tvoid deleteTCustAlgmntAttr(TCustAlgmntAttrId tCustAlgmntAttrId);\n\n\t/**\n\t * Updates a TCustAlgmntAttr entity object in to the persistent store\n\t * \n\t * @param tCustAlgmntAttr\n\t * TCustAlgmntAttr Entity object to be updated\n\t * @return tCustAlgmntAttr Persisted TCustAlgmntAttr object\n\t */\n\tTCustAlgmntAttr updateTCustAlgmntAttr(TCustAlgmntAttr tCustAlgmntAttr);\n\n\t/**\n\t * Retrieve an TCustAlgmntAttr object based on given TCustAlgmntAttrId.\n\t * \n\t * @param tCustAlgmntAttrId\n\t * the primary key value of the TCustAlgmntAttr Entity.\n\t * @return an Object if it exists against given primary key. Returns null of\n\t * not found\n\t */\n\tTCustAlgmntAttr findTCustAlgmntAttrById(TCustAlgmntAttrId tCustAlgmntAttrId);\n\n\t/**\n\t * Retrieve TCustAlgmntAttr based on given search criteria using Dynamic JPAQL.\n\t * \n\t * @param searchFilter\n\t * The query criteria and search filter conditions are set\n\t * @return List<TCustAlgmntAttr> list of TCustAlgmntAttrs if it exists against given\n\t * criteria. Returns null if not found\n\t */\n\tList<TCustAlgmntAttr> findTCustAlgmntAttrs(SearchFilter<TCustAlgmntAttr> searchFilter);\n\n\t/**\n\t * Count TCustAlgmntAttr based on given search criteria using Dynamic JPAQL.\n\t * \n\t * @param searchFilter\n\t * The query criteria and search filter conditions are set\n\t * @return a Object indicating the count\n\t */\n\tObject countTCustAlgmntAttrs(SearchFilter<TCustAlgmntAttr> searchFilter);\n\n\t/**\n\t * Retrieve TCustAlgmntAttr based on given search criteria using JPA named Query.\n\t * The search criteria is of TCustAlgmnt type.\n\t * \n\t * @param searchFilter\n\t * The query criteria and search filter conditions are set\n\t * @return List<TCustAlgmntAttr> list of TCustAlgmntAttrs if it exists against given\n\t * criteria. Returns null if not found\n\t */\n\tList<TCustAlgmntAttr> getTCustAlgmntAttrsByTCustAlgmnt(SearchFilter<TCustAlgmnt> searchFilter);\n\n\t/**\n\t * Count TCustAlgmntAttr based on given search criteria using JPA named Query.\n\t * The search criteria is of TCustAlgmnt type.\n\t * \n\t * @param searchFilter\n\t * The query criteria and search filter conditions are set\n\t * @return a Object indicating the count\n\t */\n\tObject countTCustAlgmntAttrsByTCustAlgmnt(SearchFilter<TCustAlgmnt> searchFilter);\n\n\t/**\n\t * Retrieve TCustAlgmntAttr based on given search criteria using JPA named Query.\n\t * The search criteria is of TAttrDef type.\n\t * \n\t * @param searchFilter\n\t * The query criteria and search filter conditions are set\n\t * @return List<TCustAlgmntAttr> list of TCustAlgmntAttrs if it exists against given\n\t * criteria. Returns null if not found\n\t */\n\tList<TCustAlgmntAttr> getTCustAlgmntAttrsByTAttrDef(SearchFilter<TAttrDef> searchFilter);\n\n\t/**\n\t * Count TCustAlgmntAttr based on given search criteria using JPA named Query.\n\t * The search criteria is of TAttrDef type.\n\t * \n\t * @param searchFilter\n\t * The query criteria and search filter conditions are set\n\t * @return a Object indicating the count\n\t */\n\tObject countTCustAlgmntAttrsByTAttrDef(SearchFilter<TAttrDef> searchFilter);\n\t\n\t/**\n\t * Gets the t cust algmnt attrs by attr.\n\t *\n\t * @param custAlgmntId the cust algmnt id\n\t * @param attrId the attr id\n\t * @param tenantId the tenant id\n\t * @return the t cust algmnt attrs by attr\n\t */\n\tList<TCustAlgmntAttr> getTCustAlgmntAttrsByAttr(long custAlgmntId, Long attrId, short tenantId);\n\t\n\t\n\t/**\n\t * Gets the t cust algmnt attr by id.\n\t *\n\t * @param searchFilter the search filter\n\t * @return the t cust algmnt attr by id\n\t */\n\tList<TCustAlgmntAttr> getTCustAlgmntAttrById(SearchFilter<TCustAlgmntAttr> searchFilter);\n\t\n\t/**\n\t * Gets the t cust algmnt attrs by cust algmnt id.\n\t *\n\t * @param custAlgmntId the cust algmnt id\n\t * @return the t cust algmnt attrs by cust algmnt id\n\t */\n\tpublic List<TCustAlgmntAttr> getTCustAlgmntAttrsByCustAlgmntId(long custAlgmntId);\n\t\n\t\n\t/**\n\t * Gets the t cust algmnt attr by attr id.\n\t *\n\t * @param tCustAlgmntAttr the t cust algmnt attr\n\t * @return the t cust algmnt attr by attr id\n\t */\n\tpublic List<TCustAlgmntAttr> getTCustAlgmntAttrByAttrId(TCustAlgmntAttr tCustAlgmntAttr);\n\n\t/**\n\t * Gets the t cust algmnt attr by id list.\n\t *\n\t * @param custAlgmntIdList the cust algmnt id list\n\t * @param tenantId the tenant id\n\t * @return the t cust algmnt attr by id list\n\t */\n\tList<TCustAlgmntAttr> getTCustAlgmntAttrByIdList(\n\t\t\tList<Long> custAlgmntIdList, Short tenantId);\n\n\t/**\n\t * Find all attrs for cust algmnt.\n\t *\n\t * @param custAlgmntId the cust algmnt id\n\t * @param attrIds the attr ids\n\t * @return the list\n\t */\n\tList<TCustAlgmntAttr> findAllAttrsForCustAlgmnt(Long custAlgmntId,\n\t\t\tList<Long> attrIds);\n\n\t/**\n\t * Find all attrs for all cust algmnt.\n\t *\n\t * @param custAlgmntIds the cust algmnt ids\n\t * @param attrIds the attr ids\n\t * @param tenantId the tenant id\n\t * @return the list\n\t */\n\tList<TCustAlgmntAttr> findAllAttrsForAllCustAlgmnt(\n\t\t\tList<Long> custAlgmntIds,List<Long> attrIds, Short tenantId);\n\t\n\t/**\n\t * Update t cust algmnt attrs.\n\t *\n\t * @param tCustAlgmntAttrs the t cust algmnt attrs\n\t * @return the list\n\t */\n\tList<TCustAlgmntAttr> updateTCustAlgmntAttrs(List<TCustAlgmntAttr> tCustAlgmntAttrs) ;\n\t\n\t/**\n\t * Store t cust algmnt attrs.\n\t *\n\t * @param tCustAlgmntAttrs the t cust algmnt attrs\n\t * @return the list\n\t */\n\tList<TCustAlgmntAttr> storeTCustAlgmntAttrs(List<TCustAlgmntAttr> tCustAlgmntAttrs) ;\n\t\n}", "title": "" }, { "docid": "0ae7dbfac70c828adff34ba4be3ad1a8", "score": "0.5126704", "text": "public interface OrderItemAbnDao extends BaseDao<OrderItemAbn,Long>{\n\t\n}", "title": "" }, { "docid": "a451380277455e31e4a121bfe3bf86cd", "score": "0.5119836", "text": "public interface IDatabaseAdapter {\n void configure(HashMap<String,Object> config);\n Integer insert(String collectionName,ArrayList<HashMap<String,Object>> data);\n Integer update(String collectionName,ArrayList<HashMap<String,Object>> data);\n ArrayList<HashMap<String,Object>> select(String sql,String collectionName);\n}", "title": "" }, { "docid": "c6f518fe8ec4d4096ce857e2e5acae36", "score": "0.5098589", "text": "@Override\n\tprotected IQueryExecutor getQueryExecutor(IMetaDataPK arg0,\n\t\t\tEntityViewInfo arg1) {\n\t\tIQueryExecutor iq = super.getQueryExecutor(arg0, arg1);\n\t\treturn iq;\n\t}", "title": "" }, { "docid": "583f3ea0045ff68baf26d4c210d0edb8", "score": "0.50902826", "text": "private ResultSetItem( )\n \t{\n \t\t\n \t}", "title": "" }, { "docid": "d1dfe98b69c55be402d308e428f38cb2", "score": "0.508385", "text": "public interface AdminNotificationPreferenceDAO extends BaseDAO<AdminNotificationPreference>, InsertableDAO<AdminNotificationPreference>, UpdatableDAO<AdminNotificationPreference>, DeletableDAO<AdminNotificationPreference> {\n\n /**\n * Loads the notification preference for the given administrator, returning null when there are no preferences for that admin\n */\n AdminNotificationPreference load(Administrator admin, Relationship... fetch) throws DaoException;\n\n /**\n * Returns administrators to notify according to the given arguments\n */\n List<Administrator> searchAdmins(AdminNotificationPreferenceQuery query);\n\n}", "title": "" }, { "docid": "2e90ca1039815f2fc42cf5b729874e4d", "score": "0.50779575", "text": "public abstract DatabaseAccessObject databaseAccessObject();", "title": "" }, { "docid": "35d07c2c161ccd8c4bc95cacabb76072", "score": "0.50733703", "text": "public abstract G_DataAccess getDAO();", "title": "" }, { "docid": "d0f333035a8a9987a1df5d496436132d", "score": "0.50580305", "text": "public interface ProcesoEDUAuditoriaDAO extends DAO {\n\n\t/**\n\t * Realiza el proceso de Cerrar Cursos Vigentes\n\t * @param criteria\n\t */\n\tpublic void executeAuditoria(Map criteria);\n\n\tpublic List getListAuditoria(Auditoria auditoria);\n\n\tpublic List getListDetalleAuditoria(Auditoria auditoria);\n\t\n\t\n\t\n}", "title": "" }, { "docid": "76d42dcf918c895c72ab7efb42cbf31b", "score": "0.5026976", "text": "abstract protected String entryColumnID();", "title": "" }, { "docid": "6619b722d4a9ae6c7c9b6f138e9689e6", "score": "0.5004578", "text": "public interface GTM_Dao {\n //Connectionθ╬¬▓╬╩říú\n public <T> List<T> findAll(Class<T> c);\n public <T> List<T> findAllBySuffix(Class<T> c, String suffix);\n public <T> List<T> findByKey(Class<T> clazz,String primary_key, int id);\n public <T> T findById(Class<T> c,String primary_key, int id);\n public long insert(String sql, Object... args);\n public long update(String sql, Object... args);\n public List<Map<String, Object>> executeQuery(String sql, Object... args);\n public long getCount(String sql, Object... args);\n public long executeUpdate(String sql, Object... args);\n public void delete(String sql, Object... args);\n public int[] batchUpdate(String sql, Object[][] objs);\n}", "title": "" }, { "docid": "37f04a95a8b9479f5662bd010117546b", "score": "0.49943075", "text": "void createAssocs();", "title": "" }, { "docid": "e397fd56411c20b4d4f427ed43f8306a", "score": "0.4992726", "text": "public interface CoursePreferenceDAO\nextends BaseIbatisDAO<CoursePreference> {\n}", "title": "" }, { "docid": "8cd23c9c6190b92ca61c7063075f79d2", "score": "0.49889177", "text": "public abstract void insertItem(String dbName, String tableName,\n String rowID, String columnName, String value) throws Exception;", "title": "" }, { "docid": "6f7b30540aaa3e783463bca6db4e8a6c", "score": "0.4988577", "text": "public interface RemoteAssocService {\n\n /**\n * Adds a manually created rule to the itemassoc table.\n *\n * @param tenantId\n * @param itemFromId\n * @param itemToId\n * @param assocType\n * @param assocValue\n */\n public void addRule(Integer tenantId, String itemFromId, String itemFromTypeId, String itemToId,\n String itemToTypeId, Integer assocTypeId, Float assocValue);\n\n /**\n * This function activates a rule.\n *\n * @param ruleId\n */\n public void activate(Integer tenantId, String itemFromId, String itemFromTypeId, String itemToId, String itemToTypeId);\n\n /**\n * This function deactivates a rule.\n *\n * @param ruleId\n */\n public void deactivate(Integer tenantId, String itemFromId, String itemFromTypeId, String itemToId, String itemToTypeId);\n\n\n}", "title": "" }, { "docid": "f85f3b8e59023210969a752435c113a8", "score": "0.49701837", "text": "public interface IEXClassBaseInfoDAO {\n /**\n * 同步教室基础信息\n * @param jwClassBaseInfos\n * @return\n */\n// Integer syncClassInfo(List<JwClassBaseInfo> jwClassBaseInfos);\n\n /**\n * 查询教室集合\n *\n * @param map\n * @return\n */\n// List<JwClassBaseInfo> queryClassList(Map<String,Object> map);\n}", "title": "" }, { "docid": "feb671e069f997e81c19d79b98e1a511", "score": "0.49630797", "text": "private void executeQueryPredicate(List<Item> itemList, String tableName, IMDGResultSet hrs){\n\t\tTableMetaData tableMetaData = hazelcastDatabaseMetaData.getTableMetaData(tableName);\n\t\tIMap<String, HazelcastObject> myMap = hazelcast.getMap(IMDGString.TABLE_NAME_PREFIX + tableName);\n\t\tCollection<HazelcastObject> resultSet = myMap.values();\n\t\t\n\t\tList<String> requiredAttributeNameList = new ArrayList<String>();\n\t\tfor(Item item : itemList){\n\t\t\tif(item.getTableName().equals(tableName)){\n\t\t\t\tString attributeName = item.getAttributeName();\n\t\t\t\t@SuppressWarnings(\"rawtypes\")\n\t\t\t\tClass attributeClass = tableMetaData.getColumnClassByAttributeName(attributeName);\n\t\t\t\trequiredAttributeNameList.add(attributeName);\n\t\t\t\thrs.addMetaDataCol(attributeName, attributeClass, tableName, null);\n\t\t\t}\n\t\t}\n\t\t\n\t\tList<List<Object>> partialResultList = new ArrayList<List<Object>>();\n\t\tfor(int i = 0; i < requiredAttributeNameList.size(); i++){\n\t\t\tpartialResultList.add(new ArrayList<Object>());\n\t\t}\n\t\tfor(HazelcastObject hazelcastObject : resultSet){\n\t\t\tfor(int i = 0; i < requiredAttributeNameList.size(); i++){\n\t\t\t\tString requiredAttributeName = requiredAttributeNameList.get(i);\n\t\t\t\tList<Object> columnList = partialResultList.get(i);\n\t\t\t\tField field = null;\t\t\t\t\n\t\t\t\ttry {\n\t\t\t\t\tfield = hazelcastObject.getClass().getDeclaredField(\"$cglib_prop_\"+requiredAttributeName);\n\t\t\t\t\tfield.setAccessible(true);\n\t\t\t\t\tcolumnList.add(field.get(hazelcastObject));\n\t\t\t\t\t//System.out.println(requiredAttributeName + \"\\t\" + field.get(hazelcastObject));\n\t\t\t\t} catch (SecurityException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t} catch (NoSuchFieldException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t} catch (IllegalArgumentException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t} catch (IllegalAccessException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t}\t\t\n\t\t\n\t\tfor(int i = 0; i < partialResultList.size(); i++){\n\t\t\ttry {\n\t\t\t\thrs.addValueDataColumn(partialResultList.get(i));\n\t\t\t} catch (SQLException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\t\n\t}", "title": "" }, { "docid": "9ead57f853470a56047fa77633014659", "score": "0.4942", "text": "public List<Map<String /*columnName*/, Object /*value*/>> executeQuery(String querySQL, List<String> params) throws AAException, RemoteException;", "title": "" }, { "docid": "cec8fcbd0488a3d87f10fc052a4b23c5", "score": "0.49312186", "text": "public interface CatalogItemDao extends GenericDao<CatalogItem, Long> {\n}", "title": "" }, { "docid": "9b8aae6caf11cdc09101323f5df57cf5", "score": "0.49161947", "text": "public abstract ItemDao movieDao();", "title": "" }, { "docid": "da5d4c838d0107b090dfff9788cca13b", "score": "0.4910873", "text": "protected abstract String getDdbTableKeyValue();", "title": "" }, { "docid": "34b8d4cf872b0c86378873954cee71fc", "score": "0.49017218", "text": "public interface AppKeyMapper {\n int insert(AppKey record);\n\n int insertSelective(AppKey record);\n\n //搜索\n String SelectKey(Map<String, Object> paramMap);\n}", "title": "" }, { "docid": "ecf65aa8acb6e8d4e3eff2969453e490", "score": "0.4898711", "text": "public interface ApprShopDao extends EntityDao<ApprShop,Long> {\r\n\t\r\n\tList<ApprShop> findApprShop(Map<String, Object> map);\r\n\tList<ApprShop> findApprShopEmpty(Map<String, Object> map);\r\n\tvoid insertShop(ApprShop appr);\r\n\tvoid updateShop(ApprShop appr);\r\n\tList<ApprShop> findByCreatTime(Map<String, Object> map);\r\n\tvoid deleteBySupplierId(Long supplierId);\r\n\tvoid deleteUserShareItemBySupplierId(Long supplierId);\r\n}", "title": "" }, { "docid": "a8245bfe0178369f0470fd413f978666", "score": "0.4896178", "text": "public interface ISQLEntryData\n{\n\n /**\n * <p>Loads the needed data from the result set.</p>\n * <p>Get the values and don't store the result set\n * anywhere as it will be closed to prevent leaks.</p>\n *\n * @param set set to load from\n *\n * @throws java.sql.SQLException when retrieving a value from the result set goes wrong\n */\n public void loadData(ResultSet set) throws SQLException;\n}", "title": "" }, { "docid": "332c6496b3dd7103d049372d374e344e", "score": "0.48925582", "text": "public interface MySQLDao {\n void addPostback(PostBackEntity postBackEntity);\n List<AdvertsEntity> getAllAdverts();\n List<TrackerEntity> getTrackers();\n List<AffiliatesEntity> getAffiliates();\n TrackerEntity getTrackerByPrefix(int prefix);\n AffiliatesEntity getAffiliateByAffid(int affid);\n}", "title": "" }, { "docid": "e674853c473e5eb6a9edf310435f28ab", "score": "0.4889036", "text": "@Override\n\tpublic void update(ItemContrato entity) throws SQLException {\n\t\t\n\t}", "title": "" }, { "docid": "deeb086d4f35a4b95afabe8264d8cf18", "score": "0.48638368", "text": "private Collection<HazelcastObject> executeQueryPredicate(List<Item> itemList, QueryPredicate queryPredicate, Map<String, String> tableNameAliasMap, IMDGResultSet hrs) throws SQLException{\n\t\tString tableName = queryPredicate.getTableName();\n\t\tString realTableName = tableNameAliasMap.get(tableName);\n\t\tIMap<String, HazelcastObject> myMap = hazelcast.getMap(IMDGString.TABLE_NAME_PREFIX + realTableName);\n\t\tTableMetaData tableMetaData = hazelcastDatabaseMetaData.getTableMetaData(realTableName);\n\t\tString requiredKey = queryPredicate.getRequiredKey(tableMetaData.getPrimaryKeyList());\n\t\tArrayList<String> requiredKeyList = requiredKey == null ? queryPredicate.getRequiredKeyList(tableMetaData.getPrimaryKeyList()):null;\n\n\t\tCollection<HazelcastObject> resultSet = new HashSet<HazelcastObject>();\n\t\tif(requiredKey != null){\n\t\t\tresultSet = new HashSet<HazelcastObject>();\n\t\t\t// jiang yong 2015-06-14\n\t\t\t// add tableName, tableName is for persistence\n\t\t\tObject object= myMap.get(realTableName + IMDGString.TABLE_TAG + requiredKey);\n//\t\t\tObject object= myMap.get(requiredKey);\n\t\t\tif(object instanceof HazelcastObject){\n\t\t\t\tresultSet.add((HazelcastObject) object);\n\t\t\t}\n\t\t}\n\t\telse if(requiredKeyList != null){\n\t\t\tresultSet = new HashSet<HazelcastObject>();\n\t\t\tfor(String key : requiredKeyList){\n\t\t\t\tObject object= myMap.get(realTableName + IMDGString.TABLE_TAG + key);\n\t\t\t\tif(object instanceof HazelcastObject){\n\t\t\t\t\tresultSet.add((HazelcastObject) object);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\telse{\n\t\t\tSqlPredicate sqlPredicate = new SqlPredicate(queryPredicate.getPredicate());\n\t\t\tSet<HazelcastObject> collection = (Set<HazelcastObject>) myMap.values(sqlPredicate);\n\t\t\tIterator<HazelcastObject> it = (Iterator<HazelcastObject>) collection.iterator();\n\t\t\twhile(it.hasNext()) {\n\t\t\t\tHazelcastObject object = it.next();\n\t\t\t\tresultSet.add(object);\n\t\t\t}\n\t\t}\n\t\t\n\t\tList<String> requiredAttributeNameList = new ArrayList<String>();\n\t\tfor(Item item : itemList){\n\t\t\tif(item.getTableName().equals(tableName)){\n\t\t\t\tString attributeName = item.getAttributeName();\n\t\t\t\t@SuppressWarnings(\"rawtypes\")\n\t\t\t\tClass attributeClass = tableMetaData.getColumnClassByAttributeName(attributeName);\n\t\t\t\trequiredAttributeNameList.add(attributeName);\n\t\t\t\thrs.addMetaDataCol(attributeName, attributeClass, realTableName, null);\n\t\t\t}\n\t\t}\n\t\t\n\t\tList<List<Object>> partialResultList = new ArrayList<List<Object>>();\n\t\tfor(int i = 0; i < requiredAttributeNameList.size(); i++){\n\t\t\tpartialResultList.add(new ArrayList<Object>());\n\t\t}\t\t\n\n\t\tfor(HazelcastObject hazelcastObject : resultSet){\n\t\t\tfor(int i = 0; i < requiredAttributeNameList.size(); i++){\n\t\t\t\tString requiredAttributeName = requiredAttributeNameList.get(i);\n\t\t\t\tList<Object> columnList = partialResultList.get(i);\n\t\t\t\tField field = null;\t\t\t\t\n\t\t\t\ttry {\n\t\t\t\t\tfield = hazelcastObject.getClass().getDeclaredField(\"$cglib_prop_\"+requiredAttributeName);\n\t\t\t\t\tfield.setAccessible(true);\t\t\t\t\t\n\t\t\t\t\tcolumnList.add(field.get(hazelcastObject));\t\n\t\t\t\t\t//System.out.println(requiredAttributeName + \"\\t\" + field.get(hazelcastObject));\n\t\t\t\t} catch (SecurityException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t} catch (NoSuchFieldException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t} catch (IllegalArgumentException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t} catch (IllegalAccessException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < partialResultList.size(); i++){\n\t\t\thrs.addValueDataColumn(partialResultList.get(i));\n\t\t}\t\t\n\n\t\treturn resultSet;\n\t}", "title": "" }, { "docid": "ce2eb7c2addb6a0e255668e3657c05f3", "score": "0.48479939", "text": "public interface TimetableItemRelatedDAO extends JpaDao<TimetableItemRelated> {\n\n\t/**\n\t * JPQL Query - findTimetableItemRelatedById\n\t *\n\t */\n\tpublic TimetableItemRelated findTimetableItemRelatedById(Integer id) throws DataAccessException;\n\n\t/**\n\t * JPQL Query - findTimetableItemRelatedById\n\t *\n\t */\n\tpublic TimetableItemRelated findTimetableItemRelatedById(Integer id, int startResult, int maxRows) throws DataAccessException;\n\n\t/**\n\t * JPQL Query - findTimetableItemRelatedByPrimaryKey\n\t *\n\t */\n\tpublic TimetableItemRelated findTimetableItemRelatedByPrimaryKey(Integer id_1) throws DataAccessException;\n\n\t/**\n\t * JPQL Query - findTimetableItemRelatedByPrimaryKey\n\t *\n\t */\n\tpublic TimetableItemRelated findTimetableItemRelatedByPrimaryKey(Integer id_1, int startResult, int maxRows) throws DataAccessException;\n\n\t/**\n\t * JPQL Query - findAllTimetableItemRelateds\n\t *\n\t */\n\tpublic Set<TimetableItemRelated> findAllTimetableItemRelateds() throws DataAccessException;\n\n\t/**\n\t * JPQL Query - findAllTimetableItemRelateds\n\t *\n\t */\n\tpublic Set<TimetableItemRelated> findAllTimetableItemRelateds(int startResult, int maxRows) throws DataAccessException;\n\n}", "title": "" }, { "docid": "49877e1f4a0261eadba1bd48806093b7", "score": "0.48454893", "text": "public interface InstructorTeachBatchJDBCInterface {\n // Note the primary key is the whole 4 attributes in the table \n public InstructorTeachBatch getInsTchBat(String userId, String batchId);\n public boolean deleteInsTchBat(String userId, String batchId);\n public ArrayList<InstructorTeachBatch> getAllInsTchBat();\n public boolean addInsTchBat(InstructorTeachBatch InsTchBat);\n}", "title": "" }, { "docid": "c2eb84c34e40ec651b710ed41aeec0b8", "score": "0.48428658", "text": "public interface BidDAO {\n\t/**\n\t * Insert new bid on goods in table bids\n\t * \n\t * @param insertedBid inserted bid\n\t * @return result operation\n\t */\n\tboolean insertBid(BidTransfer insertedBid);\n\t\n\t/**\n\t * Select max bid\n\t * \n\t * @param goodsId goods id\n\t * @return bid\n\t */\n\t BidTransfer selectMaxBid(int goodsId);\n}", "title": "" }, { "docid": "76ce8400b9dc4d3d1ba9fbdfb6104c18", "score": "0.48412064", "text": "protected AbstractSqlEamDb() throws EamDbException {\n bulkArtifactsCount = 0;\n bulkArtifacts = new HashMap<>();\n\n defaultCorrelationTypes = CorrelationAttributeInstance.getDefaultCorrelationTypes();\n defaultCorrelationTypes.forEach((type) -> {\n bulkArtifacts.put(EamDbUtil.correlationTypeToInstanceTableName(type), new ArrayList<>());\n });\n }", "title": "" }, { "docid": "4c64b5807c3dad72c5c843a94882a573", "score": "0.48370758", "text": "public interface IMenuDAO {\r\n\r\n public abstract DBAccessor getDBAccessor();\r\n\r\n public abstract void setDBAccessor(DBAccessor dbAccessor);\r\n \r\n public abstract void saveMenuItem(MenuItem menuItem) throws DataAccessException;\r\n \r\n public abstract void deleteMenuItem(MenuItem menuItem) throws DataAccessException;\r\n\r\n public abstract List getAllMenuItems() throws DataAccessException;\r\n\r\n public abstract MenuItem getMenuItemById(String id) throws DataAccessException;\r\n\r\n\r\n}", "title": "" }, { "docid": "57608681f48fa87acf0ad2d9e9c8588c", "score": "0.48306835", "text": "public interface MenuDAO {\n /**\n * @return the all the Menu record.\n */\n @SqlQuery(\"select m.men_id,m.men_item,j.jun_price,m.MEN_CALORIES,j.ven_id,j.jun_rating,v.VEN_NAME,\"\n + \" j.jun_reviews,m.MEN_SPECIALITY \"\n + \" from menu m , junc_menu_vendor j , vendor v\"\n + \" where m.men_id = j.men_id and j.ven_id = v.ven_id ORDER BY m.men_id;\")\n @Mapper(MenuMapper.class)\n List<Menu> show();\n /**\n * @return the all the Menu record.\n */\n @SqlQuery(\"select m.men_id,m.men_item,j.jun_price,m.MEN_CALORIES,j.ven_id,j.jun_rating,v.VEN_NAME,\"\n + \" j.jun_reviews,m.MEN_SPECIALITY \"\n + \" from menu m left outer join junc_menu_vendor j\"\n + \" on m.men_id = j.men_id left outer join vendor v\"\n + \" on j.ven_id = v.ven_id;\")\n @Mapper(MenuMapper.class)\n List<Menu> showadd();\n /**\n * @return the all the Vendor record.\n * @param menId to initialize id.\n */\n @SqlQuery(\"select m.men_id,m.men_item,j.jun_price,m.MEN_CALORIES,j.ven_id,j.jun_rating,j.jun_reviews,v.VEN_NAME,m.MEN_SPECIALITY\"\n + \" from menu m , junc_menu_vendor j , vendor v\"\n + \" where m.men_id = j.men_id and j.ven_id = v.ven_id and j.MEN_ID=:menId;\")\n @Mapper(MenuMapper.class)\n List<Menu> showVendorName(@Bind(\"menId\")int menId);\n /**\n * @return the all the Menu record.\n * @param venId to initialize vendor Id.\n * @param menId to initialize menu Id.\n */\n @SqlQuery(\"select jun_price\"\n + \" from junc_menu_vendor\"\n + \" where men_id = :menId and ven_id = :venId;\")\n double fetchOrderPrice(@Bind(\"menId\")int menId, @Bind(\"venId\")int venId);\n /**\n * @return the price.\n * @param venId to initialize vendor Id.\n * @param menId to initialize menu Id.\n */\n @SqlQuery(\"select count(*) from junc_menu_vendor where men_id = :menId and ven_id = :venId;\")\n int fetchMenVenId(@Bind(\"menId\")int menId, @Bind(\"venId\")int venId);\n /**\n * @param venId to initialize vendor Id.\n * @param menId to initialize menu Id.\n */\n @SqlUpdate(\"delete from JUNC_MENU_VENDOR where men_id = :menId and ven_id = :venId;\")\n void deleteVenMen(@Bind(\"menId\")int menId, @Bind(\"venId\")int venId);\n /**\n * @param venId to initialize vendor Id.\n * @param menId to initialize menu Id.\n * @param price to initialize price.\n */\n @SqlUpdate(\"insert into JUNC_MENU_VENDOR(MEN_ID,VEN_ID,JUN_PRICE)\"\n + \" VALUES (:menId,:venId,:price);\")\n void updateJunction(@Bind(\"menId\")int menId, @Bind(\"venId\")int venId, @Bind(\"price\")double price);\n /**\n * @return the count.\n * @param menId to initialize menu Id.\n */\n @SqlQuery(\"select count(*) from junc_menu_vendor where men_id = :menId;\")\n int fetchMenId(@Bind(\"menId\")int menId);\n}", "title": "" }, { "docid": "1aef61b0148f3e0321695ca002e1ee5f", "score": "0.4826533", "text": "public interface IDAO<K,V> {\n public boolean doCreate(V vo)throws Exception;\n public boolean doUpdate(V vo)throws Exception;\n public boolean doRemove(K id)throws Exception;\n public V findById(K id)throws Exception;\n public List<V> findAll()throws Exception;\n public List<V> findAll(String column,String keyWord,Integer currentPage,Integer lineSize)throws Exception;\n public Integer getAllCount(String column,String keyWord)throws Exception;\n\n}", "title": "" }, { "docid": "42333f6f4412236e2a85a6beaaacfd10", "score": "0.4822733", "text": "@Override\n\tpublic void populate(Map<String, Object> mapData, IDBEntity entity) {\n\t\t\n\t}", "title": "" }, { "docid": "dbc114868a11e9bf9acbdba802c67ebb", "score": "0.4821665", "text": "public abstract void insertItem(String dbName, String tableName,\n String columnName, String value) throws Exception;", "title": "" }, { "docid": "4ec7e5161501d30342e2816c0bae13c6", "score": "0.478767", "text": "@MyBatisRepository\npublic interface TqCheckCategoryDao extends BaseDao<TqCheckCategory> {\n\n}", "title": "" }, { "docid": "3b3888d165f1e734e3456abb4868f48d", "score": "0.4783648", "text": "public interface TenderitemMapper {\n\n @Insert(\"<script>\" +\n \"insert into tenderitem(\" +\n \"tenderdeclarationid,purchasecontent,item,sequence,receiptunits,\" +\n \"purchaseamount,arriveplace,userid,version,createtime) values(\" +\n \"#{tenderdeclarationid},#{purchasecontent},#{item},#{sequence},#{receiptunits},\" +\n \"#{purchaseamount},#{arriveplace},#{userid},0,now() )\" +\n \"</script>\")\n @Options(useGeneratedKeys = true)\n public void addTenderItem(TenderItem tenderItem);\n\n @Delete(\"delete from tenderitem where tenderdeclarationid=#{tenderdeclarationid} and userid=#{userid} \")\n public int deleteItemByDeclarId(@Param(\"tenderdeclarationid\")int tenderdeclarationid, @Param(\"userid\")int userid);\n\n @Select(\"select * from tenderitem where tenderdeclarationid=#{tenderdeclarationid}\")\n List<TenderItem> findTendItemByDecalarId(int tenderdeclarationid);\n\n /**\n * 导出公告下的所有投标\n * @param userId 用户id\n * @param declareId 公告id\n * @return\n * \n */\n @Select(\"select mt.id,ti.receiptunits, ti.sequence projectId, tp.sequence packetId,c.name companyName,mt.coaltype,\" +\n \"mt.NCV,mt.RS,mt.ADV,mt.ADV02,mt.TM,mt.supplyamount,mt.deliverymode,mt.price from bid b inner \" +\n \"join tenderdeclaration td on td.id=b.tenderdeclarationid inner join mytender mt on mt.bidid=b.id \" +\n \"inner join tenderitem ti on ti.id=mt.tenderitemid inner join tenderpacket tp on tp.id=mt.tenderpacketid \" +\n \"inner join companies c on c.id=mt.competecompanyid where td.userid=#{userId} and td.id=#{declareId} and (b.paymentstatus='paidUp' \" +\n \"or td.margins=0) group by mt.id order by projectid,packetid,mt.price \")\n public List<Map<String,Object>> findTenderInDeclare(@Param(\"userId\")int userId,@Param(\"declareId\")int declareId);\n\n\n //导出公告下的所有中标\n @Select(\"select mt.id, ti.receiptunits,mt.needamount,ti.sequence projectId, tp.sequence packetId,c.name companyName, \" +\n \"mt.supplyamount,mt.price,mt.deliverymode from bid b \" +\n \"inner join tenderdeclaration td on td.id=b.tenderdeclarationid \" +\n \"inner join mytender mt on mt.bidid=b.id \" +\n \" inner join tenderitem ti on ti.id=mt.tenderitemid \" +\n \"inner join tenderpacket tp on tp.id=mt.tenderpacketid \" +\n \"inner join companies c on c.userid=b.userid \" +\n \"where td.userid=#{userId} and td.id=#{declareId} and mt.status='MYTENDER_SUCCEED' group by mt.id order by ti.sequence,tp.sequence,mt.price\")\n public List<Map<String,Object>> findWinTenderItem(@Param(\"userId\")int userId,@Param(\"declareId\")int declareId);\n\n}", "title": "" }, { "docid": "0974b194b3819703326e69af47efa319", "score": "0.478361", "text": "public interface ShopDataDao extends GenericDao {\n\n\n // base shop info\n\n @DAOAction(action = DAOActionType.QUERY)\n public List<BaseShopDTO> loadShopsByPreLastShopId(@DAOParam(\"lastShopId\") int lastShopId);\n\n @DAOAction(action = DAOActionType.QUERY)\n public List<BaseShopDTO> loadShopsByShopIds(@DAOParam(\"shopIds\") List<Integer> shopIds);\n\n @DAOAction(action = DAOActionType.LOAD)\n public BaseShopDTO loadSingleShop(@DAOParam(\"shopId\") int shopId);\n\n @DAOAction(action = DAOActionType.QUERY)\n public List<BaseShopDTO> loadIncreaseShop(@DAOParam(\"lastShopId\") int lastShopId,@DAOParam(\"beginTime\") String beginTime,@DAOParam(\"endTime\") String endTime);\n\n\n\n\n // shop category info\n\n @DAOAction(action = DAOActionType.LOAD)\n public ShopCategory loadShopMainCategoryByShopId(@DAOParam(\"shopId\") int shopId);\n\n @DAOAction(action = DAOActionType.QUERY)\n public List<ShopCategory> loadShopMainCategoriesByShopIds(@DAOParam(\"shopIds\") List<Integer> shopIds);\n\n\n}", "title": "" }, { "docid": "198356486cc670e421435413b4cf9a35", "score": "0.4782664", "text": "public interface FrtRulePkgDefDAO {\n\n\t/**\n\t * Insert one <tt>FrtRulePkgDefDO</tt> object to DB table <tt>FRT_RULE_PKG_DEF</tt>, return primary key\n\t *\n\t * <p>\n\t * The sql statement for this operation is <br>\n\t * <tt>insert into frt_rule_pkg_def(ID,pkg_id,pkg_name,pkg_type,status,creator,gmt_create,updator,gmt_modified,remark) values (?, ?, ?, ?, ?, ?, sysdate, ?, sysdate, ?)</tt>\n\t *\n\t *\t@param frtRulePkgDef\n\t *\t@return String\n\t *\t@throws DataAccessException\n\t */\t \n @SuppressWarnings(\"unchecked\")\n public String insert(FrtRulePkgDefDO frtRulePkgDef) throws DataAccessException;\n\n\n\t/**\n\t * Query DB table <tt>FRT_RULE_PKG_DEF</tt> for records.\n\t *\n\t * <p>\n\t * The sql statement for this operation is <br>\n\t * <tt>select * from frt_rule_pkg_def where (pkg_id = ?)</tt>\n\t *\n\t *\t@param pkgId\n\t *\t@return FrtRulePkgDefDO\n\t *\t@throws DataAccessException\n\t */\t \n @SuppressWarnings(\"unchecked\")\n public FrtRulePkgDefDO getByPkgId(String pkgId) throws DataAccessException;\n\n}", "title": "" }, { "docid": "eb37594c43066f115be991c9c3d46eaf", "score": "0.47662717", "text": "public interface IDataBaseUtility {\n\t\n\tpublic String getSupportedDataType(String dataType);\n\n\tpublic String getDiscribeQuery(String tableName); \n\t\n\tpublic String getSelectQuery(String coulmnNameString);\n}", "title": "" }, { "docid": "9e1250580137d41467a3d45257b858e1", "score": "0.47649804", "text": "public interface DynamoDBItemType extends DynamoDBType {\n}", "title": "" }, { "docid": "e20718da4486971662c866f8567ac5f9", "score": "0.4763579", "text": "public interface I_Z_AcctAperturaLin \n{\n\n /** TableName=Z_AcctAperturaLin */\n public static final String Table_Name = \"Z_AcctAperturaLin\";\n\n /** AD_Table_ID=1000354 */\n public static final int Table_ID = MTable.getTable_ID(Table_Name);\n\n KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);\n\n /** AccessLevel = 3 - Client - Org \n */\n BigDecimal accessLevel = BigDecimal.valueOf(3);\n\n /** Load Meta Data */\n\n /** Column name AD_Client_ID */\n public static final String COLUMNNAME_AD_Client_ID = \"AD_Client_ID\";\n\n\t/** Get Client.\n\t * Client/Tenant for this installation.\n\t */\n\tpublic int getAD_Client_ID();\n\n /** Column name AD_Org_ID */\n public static final String COLUMNNAME_AD_Org_ID = \"AD_Org_ID\";\n\n\t/** Set Organization.\n\t * Organizational entity within client\n\t */\n\tpublic void setAD_Org_ID (int AD_Org_ID);\n\n\t/** Get Organization.\n\t * Organizational entity within client\n\t */\n\tpublic int getAD_Org_ID();\n\n /** Column name AmtAcctCr */\n public static final String COLUMNNAME_AmtAcctCr = \"AmtAcctCr\";\n\n\t/** Set Accounted Credit.\n\t * Accounted Credit Amount\n\t */\n\tpublic void setAmtAcctCr (BigDecimal AmtAcctCr);\n\n\t/** Get Accounted Credit.\n\t * Accounted Credit Amount\n\t */\n\tpublic BigDecimal getAmtAcctCr();\n\n /** Column name AmtAcctDr */\n public static final String COLUMNNAME_AmtAcctDr = \"AmtAcctDr\";\n\n\t/** Set Accounted Debit.\n\t * Accounted Debit Amount\n\t */\n\tpublic void setAmtAcctDr (BigDecimal AmtAcctDr);\n\n\t/** Get Accounted Debit.\n\t * Accounted Debit Amount\n\t */\n\tpublic BigDecimal getAmtAcctDr();\n\n /** Column name AmtSourceCr */\n public static final String COLUMNNAME_AmtSourceCr = \"AmtSourceCr\";\n\n\t/** Set Source Credit.\n\t * Source Credit Amount\n\t */\n\tpublic void setAmtSourceCr (BigDecimal AmtSourceCr);\n\n\t/** Get Source Credit.\n\t * Source Credit Amount\n\t */\n\tpublic BigDecimal getAmtSourceCr();\n\n /** Column name AmtSourceDr */\n public static final String COLUMNNAME_AmtSourceDr = \"AmtSourceDr\";\n\n\t/** Set Source Debit.\n\t * Source Debit Amount\n\t */\n\tpublic void setAmtSourceDr (BigDecimal AmtSourceDr);\n\n\t/** Get Source Debit.\n\t * Source Debit Amount\n\t */\n\tpublic BigDecimal getAmtSourceDr();\n\n /** Column name C_BPartner_ID */\n public static final String COLUMNNAME_C_BPartner_ID = \"C_BPartner_ID\";\n\n\t/** Set Business Partner .\n\t * Identifies a Business Partner\n\t */\n\tpublic void setC_BPartner_ID (int C_BPartner_ID);\n\n\t/** Get Business Partner .\n\t * Identifies a Business Partner\n\t */\n\tpublic int getC_BPartner_ID();\n\n\tpublic I_C_BPartner getC_BPartner() throws RuntimeException;\n\n /** Column name C_Currency_ID */\n public static final String COLUMNNAME_C_Currency_ID = \"C_Currency_ID\";\n\n\t/** Set Currency.\n\t * The Currency for this record\n\t */\n\tpublic void setC_Currency_ID (int C_Currency_ID);\n\n\t/** Get Currency.\n\t * The Currency for this record\n\t */\n\tpublic int getC_Currency_ID();\n\n\tpublic I_C_Currency getC_Currency() throws RuntimeException;\n\n /** Column name C_ElementValue_ID */\n public static final String COLUMNNAME_C_ElementValue_ID = \"C_ElementValue_ID\";\n\n\t/** Set Account Element.\n\t * Account Element\n\t */\n\tpublic void setC_ElementValue_ID (int C_ElementValue_ID);\n\n\t/** Get Account Element.\n\t * Account Element\n\t */\n\tpublic int getC_ElementValue_ID();\n\n\tpublic I_C_ElementValue getC_ElementValue() throws RuntimeException;\n\n /** Column name CodigoCuenta */\n public static final String COLUMNNAME_CodigoCuenta = \"CodigoCuenta\";\n\n\t/** Set CodigoCuenta.\n\t * Codigo de cuenta contable\n\t */\n\tpublic void setCodigoCuenta (String CodigoCuenta);\n\n\t/** Get CodigoCuenta.\n\t * Codigo de cuenta contable\n\t */\n\tpublic String getCodigoCuenta();\n\n /** Column name Created */\n public static final String COLUMNNAME_Created = \"Created\";\n\n\t/** Get Created.\n\t * Date this record was created\n\t */\n\tpublic Timestamp getCreated();\n\n /** Column name CreatedBy */\n public static final String COLUMNNAME_CreatedBy = \"CreatedBy\";\n\n\t/** Get Created By.\n\t * User who created this records\n\t */\n\tpublic int getCreatedBy();\n\n /** Column name CurrencyRate */\n public static final String COLUMNNAME_CurrencyRate = \"CurrencyRate\";\n\n\t/** Set Rate.\n\t * Currency Conversion Rate\n\t */\n\tpublic void setCurrencyRate (BigDecimal CurrencyRate);\n\n\t/** Get Rate.\n\t * Currency Conversion Rate\n\t */\n\tpublic BigDecimal getCurrencyRate();\n\n /** Column name IsActive */\n public static final String COLUMNNAME_IsActive = \"IsActive\";\n\n\t/** Set Active.\n\t * The record is active in the system\n\t */\n\tpublic void setIsActive (boolean IsActive);\n\n\t/** Get Active.\n\t * The record is active in the system\n\t */\n\tpublic boolean isActive();\n\n /** Column name Updated */\n public static final String COLUMNNAME_Updated = \"Updated\";\n\n\t/** Get Updated.\n\t * Date this record was updated\n\t */\n\tpublic Timestamp getUpdated();\n\n /** Column name UpdatedBy */\n public static final String COLUMNNAME_UpdatedBy = \"UpdatedBy\";\n\n\t/** Get Updated By.\n\t * User who updated this records\n\t */\n\tpublic int getUpdatedBy();\n\n /** Column name UUID */\n public static final String COLUMNNAME_UUID = \"UUID\";\n\n\t/** Set Immutable Universally Unique Identifier.\n\t * Immutable Universally Unique Identifier\n\t */\n\tpublic void setUUID (String UUID);\n\n\t/** Get Immutable Universally Unique Identifier.\n\t * Immutable Universally Unique Identifier\n\t */\n\tpublic String getUUID();\n\n /** Column name Z_AcctApertura_ID */\n public static final String COLUMNNAME_Z_AcctApertura_ID = \"Z_AcctApertura_ID\";\n\n\t/** Set Z_AcctApertura ID\t */\n\tpublic void setZ_AcctApertura_ID (int Z_AcctApertura_ID);\n\n\t/** Get Z_AcctApertura ID\t */\n\tpublic int getZ_AcctApertura_ID();\n\n\tpublic I_Z_AcctApertura getZ_AcctApertura() throws RuntimeException;\n\n /** Column name Z_AcctAperturaLin_ID */\n public static final String COLUMNNAME_Z_AcctAperturaLin_ID = \"Z_AcctAperturaLin_ID\";\n\n\t/** Set Z_AcctAperturaLin ID\t */\n\tpublic void setZ_AcctAperturaLin_ID (int Z_AcctAperturaLin_ID);\n\n\t/** Get Z_AcctAperturaLin ID\t */\n\tpublic int getZ_AcctAperturaLin_ID();\n}", "title": "" }, { "docid": "9ec720dabe6216fdf11beee57494e8d7", "score": "0.4761086", "text": "public interface ArticleDAO extends IBaseDAO<Article,Long> {\n\n}", "title": "" }, { "docid": "ea7092d62fb0b2b6607598c396377425", "score": "0.4757559", "text": "@Override\n\tprotected void consultarImpl() throws BusinessException, Exception {\n\n\t}", "title": "" }, { "docid": "4dc0a5dd9e39081e81d991ba8285b69c", "score": "0.47554213", "text": "public interface Impl extends KeyElement.Impl {\n /** Changes the content of this object.\n * @param arr array of objects to change\n * @param action the action to do\n */\n\t\tpublic void changeColumnPairs(ColumnPairElement[] pairs, int action) throws DBException;\n \n /** Gets all column pairs.\n * @return the column pairs\n */\n public ColumnPairElement[] getColumnPairs();\n\n /** Finds a column pair by name.\n * @param name the name of the column pair for which to look\n * @return the column pair or <code>null</code> if not found\n */\n public ColumnPairElement getColumnPair(DBIdentifier name);\n\t}", "title": "" }, { "docid": "096986222e2fc9b24d9f0764351bdb43", "score": "0.47504097", "text": "@Override\n\tpublic Object iteraDadosObject(ResultSet arg0) throws SQLException {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "6581e13626eb6ab4825c0aa08a9968fa", "score": "0.47488567", "text": "public interface InterfaceBoDao {\n\n void addGomAddProdInfo(Map<String,Object> param);\n\n void bachAddGomAddProdAttrInfo(List<Map<String, Object>> addAttrList);\n\n /**\n * 根据srvOrdId查询最后一个工单id\n * @param srvOrdId tacheCode\n * @return\n */\n Map<String,Object> queryWoIdBySrvOrdId(@Param(\"srvOrdId\") String srvOrdId,@Param(\"tacheCode\") String tacheCode);\n\n List<Map<String, Object>> getAttrFileMsgInfo(@Param(\"srvOrdId\") String srvOrdId);\n\n /**\n * 查询核查单反馈接口需要的A、Z端信息\n * @param woId\n * @param type\n * @return\n */\n List<Map<String,Object>> getCheckBackInfo(@Param(\"woId\") String woId, @Param(\"type\") String type);\n\n /**\n * 查询通用信息 A端、Z端、全程(B)都需要\n * @param woId\n * @return\n */\n List<Map<String,Object>> queryGeneralInfo(@Param(\"woId\") String woId);\n\n /**\n * 根据tradeid查询srvOrdId\n * @param tradeId\n * @return\n */\n Map<String,Object> querySrvInfoByTradeId(@Param(\"tradeId\") String tradeId);\n\n /**\n * 查询起止租环节的woId和orderid\n * @param srvOrdId\n * @return\n */\n Map<String,Object> queryWoInfo(@Param(\"srvOrdId\") String srvOrdId);\n\n /**\n * 集客编码与内部编码转换\n * @param attrCode\n * @param attrValue\n * @param serviceId\n * @return\n */\n List<Map<String,Object>> qryAttrInfo(@Param(\"attrCode\")String attrCode, @Param(\"attrValue\")String attrValue, @Param(\"oldAttrValue\")String oldAttrValue, @Param(\"serviceId\")String serviceId);\n\n /**\n * 核查单,查询核查汇总环节上传的附件\n * @param srvOrdId\n * @return\n */\n List<Map<String, Object>> getAttrFileMsgInfoCheck(@Param(\"srvOrdId\") String srvOrdId);\n\n /**\n * 更新客户订单编码\n * @param\n */\n void updateApplyOrdName(@Param(\"cstOrdId\")int cstOrdId, @Param(\"APPLY_ORD_NAME\")String APPLY_ORD_NAME);\n\n List<String> qryActName(@Param(\"CODE_TYPE\")String CODE_TYPE, @Param(\"CODE_VALUE\")String CODE_VALUE);\n\n /**\n * 更新到接口日志表\n * @param srvOrdId\n * @param subscribeId\n */\n void updateSrvOrdId(@Param(\"srvOrdId\")int srvOrdId, @Param(\"subscribeId\")String subscribeId);\n\n Map<String,Object> qryCstOrdId(Map<String, Object> cstOrdInfo);\n\n /**\n * 更新到电路表\n * @param srvOrdId\n * @param orderId\n */\n void updateOrderIdBySrvOrdId(@Param(\"srvOrdId\")int srvOrdId, @Param(\"orderId\")String orderId);\n /**\n * 更新到电路表\n * @param srvOrdId\n * @param activeType\n */\n void updateActTypeBySrvOrdId(@Param(\"srvOrdId\")int srvOrdId, @Param(\"activeType\")String activeType);\n\n void insertInterfLog(Map<String, Object> interflog);\n\n /**\n * 查询工建核查单反馈接口需要的A、Z端信息\n * @param woId\n * @param type\n * @return\n */\n List<Map<String,Object>> getConstructCheckInfo(@Param(\"woId\") String woId, @Param(\"type\") String type);\n\n /**\n * 查询AZ端核查标准化信息\n * @param woId\n * @param type\n * @return\n */\n List<Map<String, Object>> queryCheckStandInfo(@Param(\"woId\") String woId, @Param(\"type\") String type);\n /**\n * 查询汇总后的核查标准化信息\n * @param woId\n * @return\n */\n Map<String, Object> queryCheckStandAllInfo(@Param(\"woId\") String woId);\n}", "title": "" }, { "docid": "7653748ee14b5d0ff99a25d4416c7624", "score": "0.47391146", "text": "public interface I_SPS_Menu \n{\n\n /** TableName=SPS_Menu */\n public static final String Table_Name = \"SPS_Menu\";\n\n /** SPS_Table_ID=50105 */\n public static final int SPS_Table_ID = 50105;\n KeyNamePair Model = new KeyNamePair(SPS_Table_ID, Table_Name);\n\n /** Load Meta Data */\n\n /** Column name Action */\n public static final String COLUMNNAME_Action = \"Action\";\n\n\t/** Set Action.\n\t * Indicates the Action to be performed\n\t */\n\tpublic void setAction (String Action);\n\n\t/** Get Action.\n\t * Indicates the Action to be performed\n\t */\n\tpublic String getAction();\n\n /** Column name ActivityMenu_ID */\n public static final String COLUMNNAME_ActivityMenu_ID = \"ActivityMenu_ID\";\n\n\t/** Set Activity Menu\t */\n\tpublic void setActivityMenu_ID (int ActivityMenu_ID);\n\n\t/** Get Activity Menu\t */\n\tpublic int getActivityMenu_ID();\n\n /** Column name AD_Client_ID */\n public static final String COLUMNNAME_AD_Client_ID = \"AD_Client_ID\";\n\n\t/** Get Client.\n\t * Client/Tenant for this installation.\n\t */\n\tpublic int getAD_Client_ID();\n\n /** Column name AD_Form_ID */\n public static final String COLUMNNAME_AD_Form_ID = \"AD_Form_ID\";\n\n\t/** Set Special Form.\n\t * Special Form\n\t */\n\tpublic void setAD_Form_ID (int AD_Form_ID);\n\n\t/** Get Special Form.\n\t * Special Form\n\t */\n\tpublic int getAD_Form_ID();\n\n /** Column name AD_Org_ID */\n public static final String COLUMNNAME_AD_Org_ID = \"AD_Org_ID\";\n\n\t/** Set Organization.\n\t * Organizational entity within client\n\t */\n\tpublic void setAD_Org_ID (int AD_Org_ID);\n\n\t/** Get Organization.\n\t * Organizational entity within client\n\t */\n\tpublic int getAD_Org_ID();\n\n /** Column name AD_Process_ID */\n public static final String COLUMNNAME_AD_Process_ID = \"AD_Process_ID\";\n\n\t/** Set Process.\n\t * Process or Report\n\t */\n\tpublic void setAD_Process_ID (int AD_Process_ID);\n\n\t/** Get Process.\n\t * Process or Report\n\t */\n\tpublic int getAD_Process_ID();\n\n /** Column name Created */\n public static final String COLUMNNAME_Created = \"Created\";\n\n\t/** Get Created.\n\t * Date this record was created\n\t */\n\tpublic Date getCreated();\n\n /** Column name CreatedBy */\n public static final String COLUMNNAME_CreatedBy = \"CreatedBy\";\n\n\t/** Get Created By.\n\t * User who created this records\n\t */\n\tpublic int getCreatedBy();\n\n /** Column name DeploymentType */\n public static final String COLUMNNAME_DeploymentType = \"DeploymentType\";\n\n\t/** Set Deployment Type\t */\n\tpublic void setDeploymentType (String DeploymentType);\n\n\t/** Get Deployment Type\t */\n\tpublic String getDeploymentType();\n\n /** Column name Description */\n public static final String COLUMNNAME_Description = \"Description\";\n\n\t/** Set Description.\n\t * Optional short description of the record\n\t */\n\tpublic void setDescription (String Description);\n\n\t/** Get Description.\n\t * Optional short description of the record\n\t */\n\tpublic String getDescription();\n\n /** Column name EntityType */\n public static final String COLUMNNAME_EntityType = \"EntityType\";\n\n\t/** Set Entity Type.\n\t * Dictionary Entity Type;\n Determines ownership and synchronization\n\t */\n\tpublic void setEntityType (String EntityType);\n\n\t/** Get Entity Type.\n\t * Dictionary Entity Type;\n Determines ownership and synchronization\n\t */\n\tpublic String getEntityType();\n\n /** Column name ErrImgUrl */\n public static final String COLUMNNAME_ErrImgUrl = \"ErrImgUrl\";\n\n\t/** Set Error Image URL\t */\n\tpublic void setErrImgUrl (String ErrImgUrl);\n\n\t/** Get Error Image URL\t */\n\tpublic String getErrImgUrl();\n\n /** Column name GroupByClause */\n public static final String COLUMNNAME_GroupByClause = \"GroupByClause\";\n\n\t/** Set GROUP BY Clause\t */\n\tpublic void setGroupByClause (String GroupByClause);\n\n\t/** Get GROUP BY Clause\t */\n\tpublic String getGroupByClause();\n\n /** Column name ImageURL */\n public static final String COLUMNNAME_ImageURL = \"ImageURL\";\n\n\t/** Set Image URL.\n\t * URL of image\n\t */\n\tpublic void setImageURL (String ImageURL);\n\n\t/** Get Image URL.\n\t * URL of image\n\t */\n\tpublic String getImageURL();\n\n /** Column name IsActive */\n public static final String COLUMNNAME_IsActive = \"IsActive\";\n\n\t/** Set Active.\n\t * The record is active in the system\n\t */\n\tpublic void setIsActive (boolean IsActive);\n\n\t/** Get Active.\n\t * The record is active in the system\n\t */\n\tpublic boolean isActive();\n\n /** Column name IsCentrallyMaintained */\n public static final String COLUMNNAME_IsCentrallyMaintained = \"IsCentrallyMaintained\";\n\n\t/** Set Centrally maintained.\n\t * Information maintained in System Element table\n\t */\n\tpublic void setIsCentrallyMaintained (boolean IsCentrallyMaintained);\n\n\t/** Get Centrally maintained.\n\t * Information maintained in System Element table\n\t */\n\tpublic boolean isCentrallyMaintained();\n\n /** Column name IsInsertRecord */\n public static final String COLUMNNAME_IsInsertRecord = \"IsInsertRecord\";\n\n\t/** Set Insert Record.\n\t * The user can insert a new Record\n\t */\n\tpublic void setIsInsertRecord (boolean IsInsertRecord);\n\n\t/** Get Insert Record.\n\t * The user can insert a new Record\n\t */\n\tpublic boolean isInsertRecord();\n\n /** Column name IsReadWrite */\n public static final String COLUMNNAME_IsReadWrite = \"IsReadWrite\";\n\n\t/** Set Read Write.\n\t * Field is read / write\n\t */\n\tpublic void setIsReadWrite (boolean IsReadWrite);\n\n\t/** Get Read Write.\n\t * Field is read / write\n\t */\n\tpublic boolean isReadWrite();\n\n /** Column name IsSOTrx */\n public static final String COLUMNNAME_IsSOTrx = \"IsSOTrx\";\n\n\t/** Set Sales Transaction.\n\t * This is a Sales Transaction\n\t */\n\tpublic void setIsSOTrx (boolean IsSOTrx);\n\n\t/** Get Sales Transaction.\n\t * This is a Sales Transaction\n\t */\n\tpublic boolean isSOTrx();\n\n /** Column name IsSummary */\n public static final String COLUMNNAME_IsSummary = \"IsSummary\";\n\n\t/** Set Summary Level.\n\t * This is a summary entity\n\t */\n\tpublic void setIsSummary (boolean IsSummary);\n\n\t/** Get Summary Level.\n\t * This is a summary entity\n\t */\n\tpublic boolean isSummary();\n\n /** Column name MenuType */\n public static final String COLUMNNAME_MenuType = \"MenuType\";\n\n\t/** Set Menu Type\t */\n\tpublic void setMenuType (String MenuType);\n\n\t/** Get Menu Type\t */\n\tpublic String getMenuType();\n\n /** Column name Name */\n public static final String COLUMNNAME_Name = \"Name\";\n\n\t/** Set Name.\n\t * Alphanumeric identifier of the entity\n\t */\n\tpublic void setName (String Name);\n\n\t/** Get Name.\n\t * Alphanumeric identifier of the entity\n\t */\n\tpublic String getName();\n\n /** Column name OrderByClause */\n public static final String COLUMNNAME_OrderByClause = \"OrderByClause\";\n\n\t/** Set Sql ORDER BY.\n\t * Fully qualified ORDER BY clause\n\t */\n\tpublic void setOrderByClause (String OrderByClause);\n\n\t/** Get Sql ORDER BY.\n\t * Fully qualified ORDER BY clause\n\t */\n\tpublic String getOrderByClause();\n\n /** Column name QuickActionMenu_ID */\n public static final String COLUMNNAME_QuickActionMenu_ID = \"QuickActionMenu_ID\";\n\n\t/** Set Quick Action Menu\t */\n\tpublic void setQuickActionMenu_ID (int QuickActionMenu_ID);\n\n\t/** Get Quick Action Menu\t */\n\tpublic int getQuickActionMenu_ID();\n\n /** Column name SPS_Menu_ID */\n public static final String COLUMNNAME_SPS_Menu_ID = \"SPS_Menu_ID\";\n\n\t/** Set Menu Option\t */\n\tpublic void setSPS_Menu_ID (int SPS_Menu_ID);\n\n\t/** Get Menu Option\t */\n\tpublic int getSPS_Menu_ID();\n\n /** Column name SPS_SyncMenu_ID */\n public static final String COLUMNNAME_SPS_SyncMenu_ID = \"SPS_SyncMenu_ID\";\n\n\t/** Set Sync/Option Menu\t */\n\tpublic void setSPS_SyncMenu_ID (int SPS_SyncMenu_ID);\n\n\t/** Get Sync/Option Menu\t */\n\tpublic int getSPS_SyncMenu_ID();\n\n /** Column name SPS_Table_ID */\n public static final String COLUMNNAME_SPS_Table_ID = \"SPS_Table_ID\";\n\n\t/** Set Mobile Table\t */\n\tpublic void setSPS_Table_ID (int SPS_Table_ID);\n\n\t/** Get Mobile Table\t */\n\tpublic int getSPS_Table_ID();\n\n /** Column name SPS_Window_ID */\n public static final String COLUMNNAME_SPS_Window_ID = \"SPS_Window_ID\";\n\n\t/** Set Window Mobile\t */\n\tpublic void setSPS_Window_ID (int SPS_Window_ID);\n\n\t/** Get Window Mobile\t */\n\tpublic int getSPS_Window_ID();\n\n /** Column name Updated */\n public static final String COLUMNNAME_Updated = \"Updated\";\n\n\t/** Get Updated.\n\t * Date this record was updated\n\t */\n\tpublic Date getUpdated();\n\n /** Column name UpdatedBy */\n public static final String COLUMNNAME_UpdatedBy = \"UpdatedBy\";\n\n\t/** Get Updated By.\n\t * User who updated this records\n\t */\n\tpublic int getUpdatedBy();\n\n /** Column name WhereClause */\n public static final String COLUMNNAME_WhereClause = \"WhereClause\";\n\n\t/** Set Sql WHERE.\n\t * Fully qualified SQL WHERE clause\n\t */\n\tpublic void setWhereClause (String WhereClause);\n\n\t/** Get Sql WHERE.\n\t * Fully qualified SQL WHERE clause\n\t */\n\tpublic String getWhereClause();\n}", "title": "" }, { "docid": "94f329a048080bf11b3241f4140fd7ed", "score": "0.4738362", "text": "@Override\n public List<Bean84A> selectAll() {\n // build where condition\n String[] _args={};\n\n //StringUtils, SqlUtils will be used in case of dynamic parts of SQL\n Logger.info(SqlUtils.formatSQL(\"SELECT id, column_list_string, column_map_integer_string, column_array_char, column_array_char_type, column_bean, column_array_byte_type, value_string FROM bean84_a\",(Object[])_args));\n try (Cursor cursor = database().rawQuery(\"SELECT id, column_list_string, column_map_integer_string, column_array_char, column_array_char_type, column_bean, column_array_byte_type, value_string FROM bean84_a\", _args)) {\n Logger.info(\"Rows found: %s\",cursor.getCount());\n\n LinkedList<Bean84A> resultList=new LinkedList<Bean84A>();\n Bean84A resultBean=null;\n\n if (cursor.moveToFirst()) {\n\n int index0=cursor.getColumnIndex(\"id\");\n int index1=cursor.getColumnIndex(\"column_list_string\");\n int index2=cursor.getColumnIndex(\"column_map_integer_string\");\n int index3=cursor.getColumnIndex(\"column_array_char\");\n int index4=cursor.getColumnIndex(\"column_array_char_type\");\n int index5=cursor.getColumnIndex(\"column_bean\");\n int index6=cursor.getColumnIndex(\"column_array_byte_type\");\n int index7=cursor.getColumnIndex(\"value_string\");\n\n do\n {\n resultBean=new Bean84A();\n\n if (!cursor.isNull(index0)) { resultBean.id=cursor.getLong(index0); }\n if (!cursor.isNull(index1)) { resultBean.columnListString=Bean84ATable.parseColumnListString(cursor.getBlob(index1)); }\n if (!cursor.isNull(index2)) { resultBean.columnMapIntegerString=Bean84ATable.parseColumnMapIntegerString(cursor.getBlob(index2)); }\n if (!cursor.isNull(index3)) { resultBean.columnArrayChar=Bean84ATable.parseColumnArrayChar(cursor.getBlob(index3)); }\n if (!cursor.isNull(index4)) { resultBean.columnArrayCharType=Bean84ATable.parseColumnArrayCharType(cursor.getBlob(index4)); }\n if (!cursor.isNull(index5)) { resultBean.columnBean=Bean84ATable.parseColumnBean(cursor.getBlob(index5)); }\n if (!cursor.isNull(index6)) { resultBean.columnArrayByteType=Bean84ATable.parseColumnArrayByteType(cursor.getBlob(index6)); }\n if (!cursor.isNull(index7)) { resultBean.valueString=cursor.getString(index7); }\n\n resultList.add(resultBean);\n } while (cursor.moveToNext());\n }\n\n return resultList;\n }\n }", "title": "" }, { "docid": "7eeef2a24021ba2d590f6758b2ee7370", "score": "0.47367743", "text": "abstract protected String entryColumnUID();", "title": "" }, { "docid": "c678ccf415cac73c622c59438703af50", "score": "0.4735101", "text": "@Insert({\r\n \"insert into CRUD_ITEM (ID, CRUD_DEF_ID, \",\r\n \"FK_TYPE, TITLE, VAR_NAME, \",\r\n \"ITEM_TYPE, INPUT_TYPE, \",\r\n \"INPUT_SIZE, FORMAT, \",\r\n \"ACTION_TYPE, HREF, \",\r\n \"WEB_CHK_RULE, SERVER_CHK_RULE, \",\r\n \"OPTION_TYPE, OPTION_VALUE, \",\r\n \"CRUD_DS_ID, ITEM_ORDER, \",\r\n \"DESCRIPT, DELETED, \",\r\n \"CREATED_AT, UPDATED_AT)\",\r\n \"values (#{id,jdbcType=DECIMAL}, #{crudDefId,jdbcType=DECIMAL}, \",\r\n \"#{fkType,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR}, #{varName,jdbcType=VARCHAR}, \",\r\n \"#{itemType,jdbcType=VARCHAR}, #{inputType,jdbcType=VARCHAR}, \",\r\n \"#{inputSize,jdbcType=VARCHAR}, #{format,jdbcType=VARCHAR}, \",\r\n \"#{actionType,jdbcType=VARCHAR}, #{href,jdbcType=VARCHAR}, \",\r\n \"#{webChkRule,jdbcType=VARCHAR}, #{serverChkRule,jdbcType=VARCHAR}, \",\r\n \"#{optionType,jdbcType=VARCHAR}, #{optionValue,jdbcType=VARCHAR}, \",\r\n \"#{crudDsId,jdbcType=DECIMAL}, #{itemOrder,jdbcType=DECIMAL}, \",\r\n \"#{descript,jdbcType=VARCHAR}, #{deleted,jdbcType=DECIMAL}, \",\r\n \"#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP})\"\r\n })\r\n @SelectKey(statement=\"SELECT SEQ_CRUD_ITEM.NEXTVAL FROM DUAL\", keyProperty=\"id\", before=true, resultType=Long.class)\r\n int insert(CrudItem record);", "title": "" }, { "docid": "ac2bab6ae238579cf85a0f124bc221b0", "score": "0.47349948", "text": "public interface MySQLData {\n\n public void fromCursor(Cursor cursor);\n\n public ContentValues toContentValues();\n\n public String getName();\n}", "title": "" }, { "docid": "72728b2d0d9d0cb64e2b0c9a85023559", "score": "0.47253275", "text": "public interface DatabaseMethodInterface {\n /**\n * 执行数据库更新语句,返回影响的记录数量\n *\n * @param sql\n * @param paramValues\n * @return\n * @throws SQLException\n */\n int execute(String sql,Object... paramValues) throws SQLException;\n /**\n * 查询返回结果\n *\n * @param sql\n * @param paramValues\n * @return\n * @throws SQLException\n */\n DataTable queryDataTable(String sql, Object... paramValues) throws SQLException;\n\n /**\n * 执行sql语句返回唯一数字\n * @param sql\n * @param paramValues\n * @return\n * @throws SQLException\n */\n int total(String sql, Object... paramValues) throws SQLException;\n\n /**\n * 执行sql语句返回唯一单结果\n * @param sql\n * @param paramValues\n * @return\n * @throws SQLException\n */\n Object queryScalar(String sql, Object... paramValues) throws SQLException;\n\n /**\n * 根据sql分页查询\n *\n * @param sql\n * @param page\n * @param pageSize\n * @param paramValues\n * @return\n * @throws SQLException\n */\n PageResultInfo<DataRow> queryPage(String sql, int page, int pageSize, Object... paramValues) throws SQLException;\n\n PageResultInfo queryPage(String sql, Class<?> entityClass, int page, int pageSize, Object... paramValues) throws SQLException;\n\n /**\n * 分页查询\n * @param pageInfo\n * @param restrains\n * @return\n * @throws SQLException\n */\n PageResultInfo queryPage(PageInfo pageInfo,Restrain... restrains) throws SQLException;\n\n /**\n * sql查询返回实体类的集合\n *\n * @param sql\n * @param entityClass\n * @param paramValues\n * @return\n * @throws Exception\n */\n List queryBySql(String sql, Class<?> entityClass, Object... paramValues) throws SQLException;\n\n /**\n * 快速查询方法\n *\n * @param entity 方法会根据这个对象构造查询语句,对于int会使用等于,对于string会使用like....\n * @param restrains 附加查询限制条件\n * @return 返回实体类对象的集合\n * @throws Exception\n */\n List queryByEntity(Object entity, Restrain... restrains) throws SQLException;\n /**\n * 根据entity的id修改\n *\n * @param entity\n * @throws SQLException\n */\n int update(Object entity) throws SQLException;\n\n /**\n * 将entity保存到数据库中\n * @param entity\n * @return\n * @throws SQLException\n */\n int save(Object entity) throws SQLException;\n\n /**\n * 将entity保存到数据库中,并自动设置产生的id\n * @param entity\n * @return\n * @throws SQLException\n */\n int saveAutoSetId(Object entity) throws SQLException;\n /**\n * 删除单个数据,根据id删除\n * @param entity\n * @return\n * @throws SQLException\n */\n int remove(Object entity) throws SQLException;\n\n}", "title": "" }, { "docid": "101c269144fec14ada5d314f6d742013", "score": "0.472436", "text": "abstract protected T getAdapter();", "title": "" }, { "docid": "a1e27989b9254496d1cbda01ec5c020f", "score": "0.4720083", "text": "@Override\n public void executingQuery()\n {\n }", "title": "" }, { "docid": "73173bf114b4fd40d1dd34444074625d", "score": "0.4719093", "text": "public interface DAO {\n\t\n\t/**\n\t * Returns a {@code List} of {@link Poll} references corresponding\n\t * to all rows from the <i>Polls</i> table.\n\t * \n\t * @return A {@code List} of all {@link Poll}s.\n\t * @throws DAOException If an error occurs.\n\t */\n\tpublic List<Poll> getPolls() throws DAOException;\n\t\n\t/**\n\t * Returns a {@link Poll} corresponding to the row from the <i>Polls</i> table\n\t * with the specified ID.\n\t * \n\t * @param id The specified ID.\n\t * @return The corresponding {@link Poll}.\n\t * @throws DAOException If an error occurs.\n\t */\n\tpublic Poll getPoll(long id) throws DAOException;\n\t\n\t/**\n\t * Returns a {@code List} of {@link PollOption} references corresponding\n\t * to all rows from the <i>PollOptions</i> table with the specified PollID.\n\t * \n\t * @param pollId The specified PollID.\n\t * @return A {@code List} of all corresponding {@link PollOption}s.\n\t * @throws DAOException If an error occurs.\n\t */\n\tpublic List<PollOption> getPollOptions(long pollId) throws DAOException;\n\t\n\t/**\n\t * Returns a {@link PollOption} corresponding to the row from the\n\t * <i>PollOptions</i> table with the specified ID.\n\t * \n\t * @param id The specified ID.\n\t * @return The corresponding {@link PollOption}.\n\t * @throws DAOException If an error occurs.\n\t */\n\tpublic PollOption getPollOption(long id) throws DAOException;\n\t\n\t/**\n\t * Finds the {@link PollOption} corresponding to the specified ID in the\n\t * <i>PollOptions</i> table and increments its <i>votesCount</i>.\n\t * \n\t * @param id The specified ID.\n\t * @throws DAOException If an error occurs.\n\t */\n\tpublic void registerVote(long id) throws DAOException;\n}", "title": "" }, { "docid": "02557a6e81043296fa080f4f4e951c36", "score": "0.4717794", "text": "public abstract MyDao myDao();", "title": "" }, { "docid": "d09795cd460d888d5dc3f3d18989e1e9", "score": "0.47115582", "text": "public interface ProductoDAO {\r\n\r\n\tpublic boolean crearProducto(Producto p);\r\n\t\r\n\tpublic Producto getProductoByCodigo(String cod);\r\n\t\r\n\tpublic ArrayList<Producto> getProductosByCampo(String nom, String categoria);\r\n\r\n\tpublic boolean actualizarProducto(String c, Producto p);\r\n\t\r\n\tpublic void darBajaProducto(String c);\r\n\t\r\n\tpublic Map<String,Producto> getProductoMap();\r\n\t\r\n\tpublic boolean setUp(String url, String driver, String user, String pass);\r\n\t\r\n\tpublic boolean disconnect();\r\n}", "title": "" }, { "docid": "5c5eacaaf63a3b74da8b0109b00b6d80", "score": "0.4710729", "text": "public interface AuthoritiesDao extends Dao<Authorities, Integer> {\n}", "title": "" }, { "docid": "866bda3e29a577263e3ce0a9a26f03cd", "score": "0.47063133", "text": "public interface AuctionDAO {\n public List<Auction> getAuctions(Timestamp date);\n\n Auction getAuction(int aid);\n\n List<AuctionPic> getAuctionPic(int aid);\n\n List<History> getHistory(int aid);\n\n void addHistory(History history);\n\n void addWanted(Map<String, Integer> map);\n\n List<AuctionOrder> getAuctionOrder(int userID);\n\n int getMAXID();\n\n void addAuction(Auction auction);\n\n void addAuctionPic(AuctionPic auctionPic);\n}", "title": "" }, { "docid": "7563cee26d2682c123636e9bd79c477c", "score": "0.4699462", "text": "public abstract void prepareSelectOneRow() throws QueryException;", "title": "" }, { "docid": "6083c121205427d0dc78f1c07765837c", "score": "0.4697865", "text": "@Override\npublic void updateSQLXML(int columnIndex, SQLXML xmlObject) throws SQLException {\n\t\n}", "title": "" }, { "docid": "32431896a026016e0713726bbf7eea76", "score": "0.46972272", "text": "@Override\r\n@Transactional\r\npublic void updateItem(Item itm) {\n\tdao.updateItem(itm);\r\n}", "title": "" }, { "docid": "7cf51e6043e80f63732c3c1d86d07a07", "score": "0.46912572", "text": "protected abstract void populateSpecificValues(IdentityDataType identityData, Entity e);", "title": "" }, { "docid": "13e311494d84709398a2755d5548d79e", "score": "0.4688785", "text": "public interface PrdEstateMapper extends ICrudGenericDAO<Long, PrdEstate> {\n}", "title": "" }, { "docid": "f63860ca9cc182d0c89ba788bf809e21", "score": "0.46840808", "text": "@Override\r\n\tpublic InterfaceMntProveedor getInterfaceMntProveedorDAO() {\n\t\treturn new MySqlMntProveedorDAO();\r\n\t}", "title": "" }, { "docid": "c0703ef5b39fc8712a99a74bf19439d1", "score": "0.46840325", "text": "public interface IContractReportDbDao extends IMyBatisBaseDao<ContractPeriodEntity,Long> {\n\n List<ContractPeriodEntity> selectContractPeriodCus(Map<String,Object> param);\n\n List<ContractPeriodEntity> selectContractPeriodHos(Map<String,Object> param);\n}", "title": "" }, { "docid": "be25abb0fa1310e658b764db4fbca953", "score": "0.4677932", "text": "public interface OrdersDAO {\n\n /**\n * @param cusId customer id\n * @return the all the orders record.\n */\n @SqlQuery(\"Select * from Orders where CUS_ID = :cusId\")\n @Mapper(OrdersMapper.class)\n List<Orders> show(@Bind(\"cusId\") int cusId);\n\n /**\n * @return the all the orders record.\n */\n @SqlQuery(\"Select * from Orders\")\n @Mapper(OrdersMapper.class)\n List<Orders> showFullOrders();\n\n /**\n * @return the all the orders record.\n * @param ordId to get order id\n */\n // @SqlQuery(\"Select * from Orders where ORD_ID = :ordId\")\n // @Mapper(OrdersMapper.class)\n // int selectOrdering(@Bind(\"ordId\") int ordId);\n\n /**\n * @param cusId for storing email id.\n * @return calculated the grand total of the order.\n @SqlUpdate(\"update ORDERS SET GRAND_TOTAL=SUM(TOTAL) GROUP BY CUS_ID = cusId\")\n int calGrandTotal(@Bind(\"cusId\") String cusId); */\n\n /**\n * @param cusId customer id\n * @return order id\n */\n @SqlQuery(\"select * from ORDERS where ORD_DATE = (SELECT max(ORD_DATE) FROM ORDERS WHERE CUS_ID = :cusId)\")\n @Mapper(OrdersMapper.class)\n Orders genOrdId(@Bind(\"cusId\") int cusId);\n\n /**\n * @return Updated order.\n * @param ordid to update order\n */\n @SqlUpdate(\"update ORDERS inner join MENU on MENU.FOOD_ID=ORDERS.FOOD_ID set ORDERS.TOTAL\"\n + \"= (ORDERS.QUANTITY * MENU.FOOD_COST) where ORDERS.ORD_ID = :ordid\")\n int calTotal(@Bind(\"ordid\") int ordid);\n\n /**\n * @param foodId add food id\n * @param quantity add quantity\n * @param cusId add cus id\n * @param d1 add order date.\n * @return added orders\n */\n @SqlUpdate(\"insert into ORDERS(CUS_ID, QUANTITY, FOOD_ID, ORD_DATE) values(:cusId, :quantity, :foodId, :orddate)\")\n int addOrders(@Bind(\"cusId\") int cusId, @Bind(\"quantity\") int quantity, @Bind(\"foodId\") int foodId,\n @Bind(\"orddate\") Date d1);\n\n\n\n /**\n * @param cid to delete\n * @return after deletion orders\n */\n @SqlQuery(\"select * from CUSTOMER where CUS_ID =:cid\")\n @Mapper(CustomerMapper.class)\n Customer getAmount(@Bind(\"cid\") int cid);\n/**\n * @param token token\n * @param ordid order id\n * @return integer\n */\n @SqlUpdate(\"update ORDERS set TOKEN = :token where ORD_ID = :ordid\")\n int updateToken(@Bind(\"token\") int token, @Bind(\"ordid\") int ordid);\n\n /**\n * @param ordid token.\n * @param ordStatus order status.\n * @return integer\n */\n @SqlUpdate(\"Update ORDERS set ORD_STATUS = :ordStatus where ORD_ID = :ordid\")\n int orderStatus(@Bind(\"ordStatus\") String ordStatus, @Bind(\"ordid\") int ordid);\n\n /**\n *\n * @param cid d\n * @return int\n */\n @SqlQuery(\"select * from ORDERS where CUS_ID =:cid\")\n @Mapper(OrdersMapper.class)\n Orders checkcoup(@Bind(\"cid\") int cid);\n\n /**\n * @param foodId add food id\n * @param quantity add quantity\n * @param cusId add cus id\n * @param d1 add order date.\n * @param finalprice ff\n * @return added orders\n */\n @SqlUpdate(\"insert into ORDERS(CUS_ID, QUANTITY, FOOD_ID, ORD_DATE, TOTAL) values(:cusId, :quantity, :foodId, :orddate, :finalprice)\")\n int addOrderoff(@Bind(\"cusId\") int cusId, @Bind(\"quantity\") int quantity, @Bind(\"foodId\") int foodId,\n @Bind(\"orddate\") Date d1, @Bind(\"finalprice\") int finalprice);\n\n\n\n}", "title": "" }, { "docid": "9f0a42b94abf9d574c5e3fbf1eb9e3d8", "score": "0.46759096", "text": "public abstract void insertRowItems(String dbName, String tableName, String rowName, Map<String, String> items) throws Exception;", "title": "" }, { "docid": "7e98896f5cc576545824d75981cfa463", "score": "0.46757635", "text": "public interface ConversationDAO\nextends BaseIbatisDAO<Conversation> {\n}", "title": "" }, { "docid": "89a3c03f6da48a1ee9e0414a230a6aa6", "score": "0.46713284", "text": "abstract void loadFromDBInfo(DBInfo dbInfo);", "title": "" }, { "docid": "a0ee195248caa0b82cc56d9b7255eb1e", "score": "0.46685374", "text": "public interface IAdUserClickCountDAO {\n /**\n * 批量更新用户广告点击量\n * @param adUserClickCountList\n */\n void updateBatch(List<AdUserClickCount> adUserClickCountList);\n\n /**\n * 根据多个key查询用户广告点击量\n * @param date\n * @param userId\n * @param adId\n * @return\n */\n int findClickCountByMultiKey(String date, long userId, long adId);\n}", "title": "" }, { "docid": "079d02f4d67832dd2ff0e8bb8372f2e3", "score": "0.46678036", "text": "public interface ProductDetailDao extends BaseDao<ProductDetail> {\n}", "title": "" }, { "docid": "7008667e4e9096d7f773c276fb064caf", "score": "0.4666776", "text": "public interface BaseDao {\n\n /**\n * @param object\n * Set a object, include all kind type that extends from class Object.\n * @return\n * Default is null.\n */\n String insertData(Object object);\n\n /**\n * @param _id\n * Set a string that the table id in database.\n * @return\n * Default is false.\n */\n boolean deleteData(String _id);\n\n /**\n * @param object\n * Set a object, include all kind type that extends from class Object.\n * @return\n * Default is false.\n */\n boolean updateData(Object object);\n\n /**\n * @param _id\n * Set a string that the table id in database.\n * @return\n * Default is null.\n * You can return any type that you defined under the class Object.\n */\n Object selectData(String _id);\n\n /**\n * @return\n * Default is null.\n * But the type has been defined as ArrayList.\n */\n ArrayList<Object> selectData();\n}", "title": "" }, { "docid": "7a0ba4b97d53d33eed0c7126236fd392", "score": "0.466379", "text": "public interface AccountsAdvInfoMapper {\n int deleteByPrimaryKey(Integer id);\n\n int insert(AccountsAdvInfo record);\n\n int insertSelective(AccountsAdvInfo record);\n\n AccountsAdvInfo selectByPrimaryKey(Integer id);\n\n int updateByPrimaryKeySelective(AccountsAdvInfo record);\n\n int updateByPrimaryKey(AccountsAdvInfo record);\n}", "title": "" }, { "docid": "966d76984418056969424249c1d323e7", "score": "0.46629304", "text": "public interface PrescriptionDAO extends GenericDAO<Prescription, PrescriptionException>, JdbcDAOSupport {\n \n /**\n * Adds restriction for getMany() and getInitializedMany() methods.\n * \n * @param name - restriction object\n * @return dao object with restriction\n */\n PrescriptionDAO hasName(String name);\n\n}", "title": "" }, { "docid": "490c8788438b33932cc57d5fb916fb3b", "score": "0.46621346", "text": "public SqlMapDdpDAOImpl() {\n super();\n }", "title": "" }, { "docid": "9551c6c6fecb7fcca9b6acfb12996452", "score": "0.4658031", "text": "public interface SQLEntities {\n /**\n * Based on the class that inherits this interface, it must provide the entities that\n * can be used in order to gather the data entities for it's instance field.\n *\n * @return a HashMap where the Key will be the entity type and the values will contain\n * the data associated with the key.\n */\n public SQLMap getEntities();\n}", "title": "" }, { "docid": "45b598a9fed65db784ac74079990a78d", "score": "0.4657987", "text": "@SqlQuery(\"SELECT DISTRICT,CROPNAME,ATTRIBUTE,QUANTITY,UPDATEDATE,CREATEDATE FROM NGOCROP WHERE ATTRIBUTE=:ATTRIBUTE\")\n @MapResultAsBean\n public abstract Iterator<Ngocrop> getByAttribute(@Bind(\"ATTRIBUTE\") String Attribute);", "title": "" }, { "docid": "2a94299ff465b48541e8c03e1ea4f315", "score": "0.4655743", "text": "@SuppressWarnings(\"all\")\npublic interface I_JP_PP_DocT \n{\n\n /** TableName=JP_PP_DocT */\n public static final String Table_Name = \"JP_PP_DocT\";\n\n /** AD_Table_ID=1000265 */\n public static final int Table_ID = MTable.getTable_ID(Table_Name);\n\n KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);\n\n /** AccessLevel = 1 - Org \n */\n BigDecimal accessLevel = BigDecimal.valueOf(1);\n\n /** Load Meta Data */\n\n /** Column name AD_Client_ID */\n public static final String COLUMNNAME_AD_Client_ID = \"AD_Client_ID\";\n\n\t/** Get Client.\n\t * Client/Tenant for this installation.\n\t */\n\tpublic int getAD_Client_ID();\n\n /** Column name AD_OrgTrx_ID */\n public static final String COLUMNNAME_AD_OrgTrx_ID = \"AD_OrgTrx_ID\";\n\n\t/** Set Trx Organization.\n\t * Performing or initiating organization\n\t */\n\tpublic void setAD_OrgTrx_ID (int AD_OrgTrx_ID);\n\n\t/** Get Trx Organization.\n\t * Performing or initiating organization\n\t */\n\tpublic int getAD_OrgTrx_ID();\n\n /** Column name AD_Org_ID */\n public static final String COLUMNNAME_AD_Org_ID = \"AD_Org_ID\";\n\n\t/** Set Organization.\n\t * Organizational entity within client\n\t */\n\tpublic void setAD_Org_ID (int AD_Org_ID);\n\n\t/** Get Organization.\n\t * Organizational entity within client\n\t */\n\tpublic int getAD_Org_ID();\n\n /** Column name C_Activity_ID */\n public static final String COLUMNNAME_C_Activity_ID = \"C_Activity_ID\";\n\n\t/** Set Activity.\n\t * Business Activity\n\t */\n\tpublic void setC_Activity_ID (int C_Activity_ID);\n\n\t/** Get Activity.\n\t * Business Activity\n\t */\n\tpublic int getC_Activity_ID();\n\n\tpublic org.compiere.model.I_C_Activity getC_Activity() throws RuntimeException;\n\n /** Column name C_BPartner_ID */\n public static final String COLUMNNAME_C_BPartner_ID = \"C_BPartner_ID\";\n\n\t/** Set Business Partner .\n\t * Identifies a Business Partner\n\t */\n\tpublic void setC_BPartner_ID (int C_BPartner_ID);\n\n\t/** Get Business Partner .\n\t * Identifies a Business Partner\n\t */\n\tpublic int getC_BPartner_ID();\n\n\tpublic org.compiere.model.I_C_BPartner getC_BPartner() throws RuntimeException;\n\n /** Column name C_Campaign_ID */\n public static final String COLUMNNAME_C_Campaign_ID = \"C_Campaign_ID\";\n\n\t/** Set Campaign.\n\t * Marketing Campaign\n\t */\n\tpublic void setC_Campaign_ID (int C_Campaign_ID);\n\n\t/** Get Campaign.\n\t * Marketing Campaign\n\t */\n\tpublic int getC_Campaign_ID();\n\n\tpublic org.compiere.model.I_C_Campaign getC_Campaign() throws RuntimeException;\n\n /** Column name C_Country_ID */\n public static final String COLUMNNAME_C_Country_ID = \"C_Country_ID\";\n\n\t/** Set Country.\n\t * Country \n\t */\n\tpublic void setC_Country_ID (int C_Country_ID);\n\n\t/** Get Country.\n\t * Country \n\t */\n\tpublic int getC_Country_ID();\n\n\tpublic org.compiere.model.I_C_Country getC_Country() throws RuntimeException;\n\n /** Column name C_DocType_ID */\n public static final String COLUMNNAME_C_DocType_ID = \"C_DocType_ID\";\n\n\t/** Set Document Type.\n\t * Document type or rules\n\t */\n\tpublic void setC_DocType_ID (int C_DocType_ID);\n\n\t/** Get Document Type.\n\t * Document type or rules\n\t */\n\tpublic int getC_DocType_ID();\n\n\tpublic org.compiere.model.I_C_DocType getC_DocType() throws RuntimeException;\n\n /** Column name C_ProjectPhase_ID */\n public static final String COLUMNNAME_C_ProjectPhase_ID = \"C_ProjectPhase_ID\";\n\n\t/** Set Project Phase.\n\t * Phase of a Project\n\t */\n\tpublic void setC_ProjectPhase_ID (int C_ProjectPhase_ID);\n\n\t/** Get Project Phase.\n\t * Phase of a Project\n\t */\n\tpublic int getC_ProjectPhase_ID();\n\n\tpublic org.compiere.model.I_C_ProjectPhase getC_ProjectPhase() throws RuntimeException;\n\n /** Column name C_ProjectTask_ID */\n public static final String COLUMNNAME_C_ProjectTask_ID = \"C_ProjectTask_ID\";\n\n\t/** Set Project Task.\n\t * Actual Project Task in a Phase\n\t */\n\tpublic void setC_ProjectTask_ID (int C_ProjectTask_ID);\n\n\t/** Get Project Task.\n\t * Actual Project Task in a Phase\n\t */\n\tpublic int getC_ProjectTask_ID();\n\n\tpublic org.compiere.model.I_C_ProjectTask getC_ProjectTask() throws RuntimeException;\n\n /** Column name C_Project_ID */\n public static final String COLUMNNAME_C_Project_ID = \"C_Project_ID\";\n\n\t/** Set Project.\n\t * Financial Project\n\t */\n\tpublic void setC_Project_ID (int C_Project_ID);\n\n\t/** Get Project.\n\t * Financial Project\n\t */\n\tpublic int getC_Project_ID();\n\n\tpublic org.compiere.model.I_C_Project getC_Project() throws RuntimeException;\n\n /** Column name C_UOM_ID */\n public static final String COLUMNNAME_C_UOM_ID = \"C_UOM_ID\";\n\n\t/** Set UOM.\n\t * Unit of Measure\n\t */\n\tpublic void setC_UOM_ID (int C_UOM_ID);\n\n\t/** Get UOM.\n\t * Unit of Measure\n\t */\n\tpublic int getC_UOM_ID();\n\n\tpublic org.compiere.model.I_C_UOM getC_UOM() throws RuntimeException;\n\n /** Column name Created */\n public static final String COLUMNNAME_Created = \"Created\";\n\n\t/** Get Created.\n\t * Date this record was created\n\t */\n\tpublic Timestamp getCreated();\n\n /** Column name CreatedBy */\n public static final String COLUMNNAME_CreatedBy = \"CreatedBy\";\n\n\t/** Get Created By.\n\t * User who created this records\n\t */\n\tpublic int getCreatedBy();\n\n /** Column name Description */\n public static final String COLUMNNAME_Description = \"Description\";\n\n\t/** Set Description.\n\t * Optional short description of the record\n\t */\n\tpublic void setDescription (String Description);\n\n\t/** Get Description.\n\t * Optional short description of the record\n\t */\n\tpublic String getDescription();\n\n /** Column name DocumentNote */\n public static final String COLUMNNAME_DocumentNote = \"DocumentNote\";\n\n\t/** Set Document Note.\n\t * Additional information for a Document\n\t */\n\tpublic void setDocumentNote (String DocumentNote);\n\n\t/** Get Document Note.\n\t * Additional information for a Document\n\t */\n\tpublic String getDocumentNote();\n\n /** Column name Help */\n public static final String COLUMNNAME_Help = \"Help\";\n\n\t/** Set Comment/Help.\n\t * Comment or Hint\n\t */\n\tpublic void setHelp (String Help);\n\n\t/** Get Comment/Help.\n\t * Comment or Hint\n\t */\n\tpublic String getHelp();\n\n /** Column name IsActive */\n public static final String COLUMNNAME_IsActive = \"IsActive\";\n\n\t/** Set Active.\n\t * The record is active in the system\n\t */\n\tpublic void setIsActive (boolean IsActive);\n\n\t/** Get Active.\n\t * The record is active in the system\n\t */\n\tpublic boolean isActive();\n\n /** Column name IsCompleteAutoByEndProcessJP */\n public static final String COLUMNNAME_IsCompleteAutoByEndProcessJP = \"IsCompleteAutoByEndProcessJP\";\n\n\t/** Set Doc Complete by End Process\t */\n\tpublic void setIsCompleteAutoByEndProcessJP (boolean IsCompleteAutoByEndProcessJP);\n\n\t/** Get Doc Complete by End Process\t */\n\tpublic boolean isCompleteAutoByEndProcessJP();\n\n /** Column name IsCompleteAutoJP */\n public static final String COLUMNNAME_IsCompleteAutoJP = \"IsCompleteAutoJP\";\n\n\t/** Set Auto Complete\t */\n\tpublic void setIsCompleteAutoJP (boolean IsCompleteAutoJP);\n\n\t/** Get Auto Complete\t */\n\tpublic boolean isCompleteAutoJP();\n\n /** Column name JP_NonBusinessDayCalendar_ID */\n public static final String COLUMNNAME_JP_NonBusinessDayCalendar_ID = \"JP_NonBusinessDayCalendar_ID\";\n\n\t/** Set Nonbusiness Day Calendar\t */\n\tpublic void setJP_NonBusinessDayCalendar_ID (int JP_NonBusinessDayCalendar_ID);\n\n\t/** Get Nonbusiness Day Calendar\t */\n\tpublic int getJP_NonBusinessDayCalendar_ID();\n\n\tpublic org.compiere.model.I_C_Calendar getJP_NonBusinessDayCalendar() throws RuntimeException;\n\n /** Column name JP_PP_DocT_ID */\n public static final String COLUMNNAME_JP_PP_DocT_ID = \"JP_PP_DocT_ID\";\n\n\t/** Set PP Doc Template.\n\t * JPIERE-0501:JPBP\n\t */\n\tpublic void setJP_PP_DocT_ID (int JP_PP_DocT_ID);\n\n\t/** Get PP Doc Template.\n\t * JPIERE-0501:JPBP\n\t */\n\tpublic int getJP_PP_DocT_ID();\n\n /** Column name JP_PP_DocT_UU */\n public static final String COLUMNNAME_JP_PP_DocT_UU = \"JP_PP_DocT_UU\";\n\n\t/** Set PP Doc Template(UU)\t */\n\tpublic void setJP_PP_DocT_UU (String JP_PP_DocT_UU);\n\n\t/** Get PP Doc Template(UU)\t */\n\tpublic String getJP_PP_DocT_UU();\n\n /** Column name JP_Processing1 */\n public static final String COLUMNNAME_JP_Processing1 = \"JP_Processing1\";\n\n\t/** Set Process Now\t */\n\tpublic void setJP_Processing1 (String JP_Processing1);\n\n\t/** Get Process Now\t */\n\tpublic String getJP_Processing1();\n\n /** Column name JP_Processing2 */\n public static final String COLUMNNAME_JP_Processing2 = \"JP_Processing2\";\n\n\t/** Set Process Now\t */\n\tpublic void setJP_Processing2 (String JP_Processing2);\n\n\t/** Get Process Now\t */\n\tpublic String getJP_Processing2();\n\n /** Column name JP_Processing3 */\n public static final String COLUMNNAME_JP_Processing3 = \"JP_Processing3\";\n\n\t/** Set Process Now\t */\n\tpublic void setJP_Processing3 (String JP_Processing3);\n\n\t/** Get Process Now\t */\n\tpublic String getJP_Processing3();\n\n /** Column name JP_Processing4 */\n public static final String COLUMNNAME_JP_Processing4 = \"JP_Processing4\";\n\n\t/** Set Process Now\t */\n\tpublic void setJP_Processing4 (String JP_Processing4);\n\n\t/** Get Process Now\t */\n\tpublic String getJP_Processing4();\n\n /** Column name JP_Processing5 */\n public static final String COLUMNNAME_JP_Processing5 = \"JP_Processing5\";\n\n\t/** Set Process Now\t */\n\tpublic void setJP_Processing5 (String JP_Processing5);\n\n\t/** Get Process Now\t */\n\tpublic String getJP_Processing5();\n\n /** Column name JP_Processing6 */\n public static final String COLUMNNAME_JP_Processing6 = \"JP_Processing6\";\n\n\t/** Set Process Now\t */\n\tpublic void setJP_Processing6 (String JP_Processing6);\n\n\t/** Get Process Now\t */\n\tpublic String getJP_Processing6();\n\n /** Column name JP_ProductionDays */\n public static final String COLUMNNAME_JP_ProductionDays = \"JP_ProductionDays\";\n\n\t/** Set Production Days \t */\n\tpublic void setJP_ProductionDays (int JP_ProductionDays);\n\n\t/** Get Production Days \t */\n\tpublic int getJP_ProductionDays();\n\n /** Column name JP_Remarks */\n public static final String COLUMNNAME_JP_Remarks = \"JP_Remarks\";\n\n\t/** Set Remarks.\n\t * JPIERE-0490:JPBP\n\t */\n\tpublic void setJP_Remarks (String JP_Remarks);\n\n\t/** Get Remarks.\n\t * JPIERE-0490:JPBP\n\t */\n\tpublic String getJP_Remarks();\n\n /** Column name JP_Subject */\n public static final String COLUMNNAME_JP_Subject = \"JP_Subject\";\n\n\t/** Set Subject.\n\t * JPIERE-0490:JPBP\n\t */\n\tpublic void setJP_Subject (String JP_Subject);\n\n\t/** Get Subject.\n\t * JPIERE-0490:JPBP\n\t */\n\tpublic String getJP_Subject();\n\n /** Column name M_Product_ID */\n public static final String COLUMNNAME_M_Product_ID = \"M_Product_ID\";\n\n\t/** Set Product.\n\t * Product, Service, Item\n\t */\n\tpublic void setM_Product_ID (int M_Product_ID);\n\n\t/** Get Product.\n\t * Product, Service, Item\n\t */\n\tpublic int getM_Product_ID();\n\n\tpublic org.compiere.model.I_M_Product getM_Product() throws RuntimeException;\n\n /** Column name Name */\n public static final String COLUMNNAME_Name = \"Name\";\n\n\t/** Set Name.\n\t * Alphanumeric identifier of the entity\n\t */\n\tpublic void setName (String Name);\n\n\t/** Get Name.\n\t * Alphanumeric identifier of the entity\n\t */\n\tpublic String getName();\n\n /** Column name ProductionQty */\n public static final String COLUMNNAME_ProductionQty = \"ProductionQty\";\n\n\t/** Set Production Quantity.\n\t * Quantity of products to produce\n\t */\n\tpublic void setProductionQty (BigDecimal ProductionQty);\n\n\t/** Get Production Quantity.\n\t * Quantity of products to produce\n\t */\n\tpublic BigDecimal getProductionQty();\n\n /** Column name QtyEntered */\n public static final String COLUMNNAME_QtyEntered = \"QtyEntered\";\n\n\t/** Set Quantity.\n\t * The Quantity Entered is based on the selected UoM\n\t */\n\tpublic void setQtyEntered (BigDecimal QtyEntered);\n\n\t/** Get Quantity.\n\t * The Quantity Entered is based on the selected UoM\n\t */\n\tpublic BigDecimal getQtyEntered();\n\n /** Column name SalesRep_ID */\n public static final String COLUMNNAME_SalesRep_ID = \"SalesRep_ID\";\n\n\t/** Set Sales Rep.\n\t * Sales Representative or Company Agent\n\t */\n\tpublic void setSalesRep_ID (int SalesRep_ID);\n\n\t/** Get Sales Rep.\n\t * Sales Representative or Company Agent\n\t */\n\tpublic int getSalesRep_ID();\n\n\tpublic org.compiere.model.I_AD_User getSalesRep() throws RuntimeException;\n\n /** Column name UPC */\n public static final String COLUMNNAME_UPC = \"UPC\";\n\n\t/** Set UPC/EAN.\n\t * Bar Code (Universal Product Code or its superset European Article Number)\n\t */\n\tpublic void setUPC (String UPC);\n\n\t/** Get UPC/EAN.\n\t * Bar Code (Universal Product Code or its superset European Article Number)\n\t */\n\tpublic String getUPC();\n\n /** Column name Updated */\n public static final String COLUMNNAME_Updated = \"Updated\";\n\n\t/** Get Updated.\n\t * Date this record was updated\n\t */\n\tpublic Timestamp getUpdated();\n\n /** Column name UpdatedBy */\n public static final String COLUMNNAME_UpdatedBy = \"UpdatedBy\";\n\n\t/** Get Updated By.\n\t * User who updated this records\n\t */\n\tpublic int getUpdatedBy();\n\n /** Column name User1_ID */\n public static final String COLUMNNAME_User1_ID = \"User1_ID\";\n\n\t/** Set User Element List 1.\n\t * User defined list element #1\n\t */\n\tpublic void setUser1_ID (int User1_ID);\n\n\t/** Get User Element List 1.\n\t * User defined list element #1\n\t */\n\tpublic int getUser1_ID();\n\n\tpublic org.compiere.model.I_C_ElementValue getUser1() throws RuntimeException;\n\n /** Column name User2_ID */\n public static final String COLUMNNAME_User2_ID = \"User2_ID\";\n\n\t/** Set User Element List 2.\n\t * User defined list element #2\n\t */\n\tpublic void setUser2_ID (int User2_ID);\n\n\t/** Get User Element List 2.\n\t * User defined list element #2\n\t */\n\tpublic int getUser2_ID();\n\n\tpublic org.compiere.model.I_C_ElementValue getUser2() throws RuntimeException;\n\n /** Column name Value */\n public static final String COLUMNNAME_Value = \"Value\";\n\n\t/** Set Search Key.\n\t * Search key for the record in the format required - must be unique\n\t */\n\tpublic void setValue (String Value);\n\n\t/** Get Search Key.\n\t * Search key for the record in the format required - must be unique\n\t */\n\tpublic String getValue();\n}", "title": "" }, { "docid": "2d1e2fd43e249fa98298bf13c1a75f90", "score": "0.46532562", "text": "interface DAO<E> extends ResourceHelper {\n /**\n * Method for inserting a new record to a table\n * @param object\n * @throws SQLException\n */\n void insert(E object) throws SQLException;\n /**\n * Method for querying all records from a table\n * @return List of Java representation/Objects of the records of that table\n * @throws SQLException\n */\n List<E> queryAll() throws SQLException;\n\n /**\n * Method that queries a single record by its id\n * @param id\n * @return Java representation/Object of that record\n * @throws SQLException\n */\n E queryById(int id) throws SQLException;\n\n /**\n * Gets the next id for a new record\n * @return the new id\n * @throws SQLException\n */\n int getId() throws SQLException;\n\n /**\n * Populates a list with the result set\n * @param resultSet the result of the query\n * @param list list that is being populated\n * @throws SQLException\n */\n void mapRows(ResultSet resultSet, List<E> list) throws SQLException;\n}", "title": "" }, { "docid": "f7a0aec86aeead47f01b6a1528522a7f", "score": "0.46528846", "text": "public interface QuestionMapper extends IGenericDAO<QuestionEntity> {\n\n\n}", "title": "" }, { "docid": "c7a0681e47a7f4076939cb9504eb66d0", "score": "0.4646139", "text": "@RegisterMapper(CategoryMapper.class)\npublic interface CategoryDao extends AutoCloseable{\n\n\n @SqlQuery(\"select * from Category c where categoryId = :id\")\n Category findCategoryById(@Bind(\"id\") int categoryId);\n\n /**\n * gets all categories from database\n * @return List of Category objects\n */\n @SqlQuery(\"select * from category\")\n List<Category> getallCategories();\n\n /**\n * gets categories of a user from the database\n * @param userId the user's unique ID\n * @return List of Category objects\n */\n @SqlQuery(\"select c.categoryId, c.categoryName, c.categoryDescription from category c natural join (select * from UserCategory where userId = :id) \")\n List<Category> getCategoriesOfUser(@Bind(\"id\") int userId);\n\n /**\n * gets categories a meal is in from the database\n * @param mealId the meal's unique ID\n * @return List of Category objects\n */\n @SqlQuery(\"select c.categoryId, c.categoryName, c.categoryDescription from category c natural join (select * from MealCategory where mealId = :id)\")\n List<Category> getCategoriesByMeal(@Bind(\"id\") int mealId);\n\n /**\n * inserts new category into database\n * @param categoryName the new category's name\n * @param categoryDescription the new category's description\n */\n @GetGeneratedKeys\n @SqlUpdate(\"Insert into Category (categoryName, categoryDescription) values (:categoryName, :categoryDescription)\")\n int newCategory(@Bind(\"categoryName\") String categoryName, @Bind(\"categoryDescription\") String categoryDescription);\n\n /**\n * updates an existing category in the database\n * @param categoryName the new name of the category\n * @param categoryDescription the new description of the category\n * @param categoryId the unique ID of the category that will be updated\n */\n @SqlUpdate(\"update Category set categoryName= :categoryName, categoryDescription= :categoryDescription where categoryId = :id\")\n void updateCategory(@Bind(\"categoryName\") String categoryName, @Bind(\"categoryDescription\") String categoryDescription, @Bind(\"id\") int categoryId);\n\n /**\n * deletes an entry in the category table in the database\n * @param categoryId the unique ID of the category that will be deleted\n */\n @SqlUpdate(\"delete from Category where categoryId = :id\")\n void deleteCategoryById(@Bind(\"id\") int categoryId);\n\n\n void close();\n}", "title": "" } ]
a72e57debc0619b15cf6f9b2e17cd771
Save a VM image in a file...
[ { "docid": "b34606f77810e67e13e1d330906e8903", "score": "0.6087733", "text": "public void save(String fileName) {\n\n new ImageSerializer(this).serialize(fileName);\n }", "title": "" } ]
[ { "docid": "32dd4ae4fc611edb8adbf2c1c99ff991", "score": "0.6635241", "text": "public void saveImage() throws IOException {\n imageAddress = newImageUrl();\n String baseUrl = \"/usr/local/var/www/\";\n byte[] data = Base64.decodeBase64(imageBase64);\n try (OutputStream stream = new FileOutputStream(baseUrl + imageAddress)) {\n stream.write(data);\n\n }\n }", "title": "" }, { "docid": "884d3226aeef438fb91112ac0e0b0090", "score": "0.6626142", "text": "public void save(){\r\n try{\r\n ImageIO.write(image,\"png\",new File(\"calc output.png\"));\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n }", "title": "" }, { "docid": "62a999676691a70d99e18f0fdd925cb7", "score": "0.6514612", "text": "public void savePrintable() throws IOException {\n try {\n File tempDir = new File(PRINTABLE_DIRECTORY_PATH);\n if (!tempDir.exists()) {\n new File(PRINTABLE_DIRECTORY_PATH).mkdir();\n }\n if (isValidFileName(fileName)) {\n File file = new File(PRINTABLE_DIRECTORY_PATH + fileName + PNG_FILE_TYPE);\n ImageIO.write(SwingFXUtils.fromFXImage(image, null), \"png\", file);\n } else {\n throw new IOException();\n }\n } catch (IOException ex) {\n throw new IOException(MESSAGE_SCREENSHOT_SCHEDULE_FILE_ERROR);\n }\n }", "title": "" }, { "docid": "6c55db3a3870419ea9c3dab2c4cc1202", "score": "0.6404472", "text": "private void save(String path) {\n\t\tFile toOutput = new File(path);\n\t\tBufferedImage image = getImage();\n\t\ttry {\n\t\t\tif (image != null) {\n\t\t\t\tImageIO.write(image, \"jpg\", toOutput);\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "b1d6fcb0861d1ad080bda924d6aee70c", "score": "0.630223", "text": "static private void saveImage(String path, java.awt.Image img) {\n\t\tFile file = new File(path);\n\n\n\t\tBufferedImage bufferedImage = toBufferedImage(img);\n\t\ttry {\n\t\t\tImageIO.write(bufferedImage, \"jpg\", file);\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "17c4978cf205b420493aebca29e6e982", "score": "0.62143666", "text": "@Override\n\tpublic void save() {\n\n\t\tSystem.out.println(\"将图片保存成 PNG 格式\");\n\t}", "title": "" }, { "docid": "633a2431ff8492fff8443f4cac9bacb3", "score": "0.6184206", "text": "public void quickSave(BorderPane pane, boolean changesMade, File save_file){\r\n try { /* same as top boy */\r\n WritableImage writableImage = new WritableImage(1200, 800);\r\n pane.snapshot(null, writableImage);\r\n RenderedImage renderedImage = SwingFXUtils.fromFXImage(writableImage, null);\r\n ImageIO.write(renderedImage, \"png\", save_file);\r\n changesMade = false;\r\n } catch (IOException ex) {\r\n makeAlert(\"Save Incomplete!\", \"Unable to Save!\");\r\n }}", "title": "" }, { "docid": "5bbdcdeeb48cd2e1f7019b4d994a1534", "score": "0.61615515", "text": "public void saveView(String filePath)\n\t{\n\t\tint width = currentUser.heatmap.getWidth()+ currentUser.heatmapXOffset;\n\t\tint height = currentUser.heatmap.getHeight();\n\t\tDimension dimension =new Dimension(width, height);\n\t\t\n\t\t\n\t\tif(dimension != null)\n\t\t{\n\t\t\tBufferedImage bim = new BufferedImage((int)((dimension.width)* SAVE_VIEW_ZOOM),(int)((dimension.height)*SAVE_VIEW_ZOOM), BufferedImage.TYPE_INT_ARGB);\n\t\t\t\n\t\t\tGraphics2D g = bim.createGraphics();\n//\t\t\tg.translate(-INIT_X-TITLE_X+300, -INIT_Y);\n\t\t\tg.scale(SAVE_VIEW_ZOOM, SAVE_VIEW_ZOOM);\n\t\t\t\n\t\t\trender(g);\n\t\t\tg.dispose();\n\t\t\t\n\t\t\tif(!filePath.contains(\".PNG\"))\n\t\t\t{\n\t\t\t\tfilePath+=\".PNG\";\n\t\t\t}\n\t\t\t\n\t\t\ttry {\n\t\t\t\tImageIO.write(bim, \"PNG\", new File(filePath));\n\t\t\t\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tSystem.out.println(\"Image Saved:\"+filePath);\n\t\t}\n\t}", "title": "" }, { "docid": "e662e73bb5c4c7bdada3c01ff6545208", "score": "0.61561954", "text": "@SuppressWarnings(\"unused\")\n private void saveImageToTmpFile(String testMethodName, BufferedImage im) {\n\n File outputfile = new File(testMethodName + \"_image.png\");\n try {\n ImageIO.write(im, \"png\", outputfile);\n } catch (IOException e) {\n fail(\"Unable to write image to file: \" + e.getMessage());\n }\n }", "title": "" }, { "docid": "bb3781325f164ee0af18a78384cd15e1", "score": "0.6096104", "text": "public void saveToFile(String fname) {\n\t\tthis.pv.setDrawingCacheEnabled(true);\n\t\tthis.pv.invalidate();\n\t\tString path = Environment.getExternalStorageDirectory().toString();\n\t\tOutputStream fOut = null;\n\t\tfinal File file = new File(path, \"drawing/\" + fname + \".jpg\");\n\t\tfile.getParentFile().mkdirs();\n\n\t\ttry {\n\t\t\tfile.createNewFile();\n\t\t} catch (Exception e) {\n\t\t\t//Log.e(\"draw_save\", e.toString());\n\t\t}\n\n\t\ttry {\n\t\t\tfOut = new FileOutputStream(file);\n\t\t} catch (Exception e) {\n\t\t\t//Log.e(\"draw_save1\", e.toString());\n\t\t}\n\n\t\tif (this.pv.getDrawingCache() == null) {\n\t\t\t//Log.e(\"lal\", \"tis null\");\n\t\t}\n\n\t\tthis.pv.getDrawingCache()\n\t\t\t\t.compress(Bitmap.CompressFormat.JPEG, 80, fOut);\n\n\t\ttry {\n\t\t\tfOut.flush();\n\t\t\tfOut.close();\n\t\t} catch (IOException e) {\n\t\t\t//Log.e(\"draw_save1\", e.toString());\n\t\t}\n\t\tToast.makeText(DrawActivity.this, \"File saved in \\\"/drawing/\"+fname+\".jpg\\\"\", Toast.LENGTH_SHORT).show();\n\t\t\n\t}", "title": "" }, { "docid": "2e19709ed31775a55e5500292b681c0a", "score": "0.6093794", "text": "private void saveToDisk(Path p) throws IOException {\n ObjectOutputStream s = new ObjectOutputStream(Files.newOutputStream(p, StandardOpenOption.CREATE));\n s.writeObject(EvolutionaryProcess.this);\n }", "title": "" }, { "docid": "a7ce68a838ed6f1e271f8162baad93d6", "score": "0.60794806", "text": "public void saveImages() {\r\n File images = new File(IMG_PATH);\r\n if (!images.exists() && !images.mkdir()) {\r\n System.out.println(\"Cannot create images file\");\r\n }\r\n sync();\r\n deleteAllImages();\r\n for (String key: allSavedImage.keySet()) {\r\n try {\r\n FileOutputStream fileOut = new FileOutputStream(\r\n IMG_PATH + File.separator + key.substring(0, key.lastIndexOf(\".\")) + \".ser\");\r\n ObjectOutputStream outImg = new ObjectOutputStream(fileOut);\r\n outImg.writeObject(allSavedImage.get(key));\r\n outImg.close();\r\n fileOut.close();\r\n } catch(IOException e) {\r\n e.printStackTrace();\r\n }\r\n }\r\n }", "title": "" }, { "docid": "77bb86751648a7453ef83c9376419a6b", "score": "0.60733795", "text": "private void saveImage(Bitmap image) {\n ((ImageView) findViewById(R.id.img_custom_recipe)).setImageBitmap(image);\n\n // Overwrite any existing temporary image:\n try {\n FileOutputStream fos = this.openFileOutput(Constants.TEMP_IMG_NAME, Context.MODE_PRIVATE);\n image.compress(Bitmap.CompressFormat.PNG, 100, fos);\n fos.flush();\n fos.close();\n\n } catch (IOException e) {\n Log.e(TAG, e.getMessage());\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "d03f619531e49d6b9cff117d1e828d16", "score": "0.60212606", "text": "@Test\r\n\tpublic void test() {\r\n\t\tDataSaver ds = new DataSaver(); \r\n\t\t\r\n\t\tds.writeToDisk(new ImageInfo()); \r\n\t}", "title": "" }, { "docid": "9d61352a8fb49c89829656a2ca455066", "score": "0.60146785", "text": "private static void save(BufferedImage image) {\n try {\n File file = new File(\"C:\\\\Users\\\\Tomek\\\\IdeaProjects\\\\ImageProcessing1\\\\result\\\\res_kirsch_manalisa.jpg\");\n ImageIO.write(image, \"jpg\", file);\n } catch (IOException e) {\n System.out.println(e);\n }\n }", "title": "" }, { "docid": "72ecac4df4bc29c33aa3cbf596df1f56", "score": "0.6004106", "text": "@Override\n\tpublic void SaveImage(View v) {\n\t\t\n\t}", "title": "" }, { "docid": "3293705dd6742e9beae6de02f755d760", "score": "0.5975937", "text": "public void writeNewMemory()\n {\n File newImage = new File(\"newImage.o\"); //create a new file to write to\n PrintWriter pw = null;\n try{\n if(!newImage.exists()){ //if the file does not exist, create a new one\n newImage.createNewFile();\n pw = new PrintWriter(new FileWriter(newImage));\n pw.println(\"#hex:WS-\"+wordSize+\":RC-\"+regcnt+\":MM-0x\"+Integer.toHexString(maxmem)+\":FP-0x\" +Integer.toHexString(Integer.parseInt(FP.getData(),2))+\":SP-0x\"+Integer.toHexString(Integer.parseInt(SP.getData(),2))); //write code here\n pw.println(mem);\n pw.flush();\n pw.close(); //close file \n } \n }catch(IOException e){\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "a2d3b37c839823d263ccdae75fa66433", "score": "0.5948636", "text": "@Test\n public void testSaveImage() throws IOException {\n mockView.loadImage(mockController, \"input.jpg\");\n mockView.saveImage(mockController, \"output.jpg\");\n assertEquals(\"load input.jpg save output.jpg \", mockController.toString());\n }", "title": "" }, { "docid": "dc6f0b3003b215239e302fa8d27b9c89", "score": "0.5939427", "text": "public File save(Bitmap bitmap) {\n FileOutputStream fileOutputStream;\n File createFile = createFile();\n try {\n fileOutputStream = new FileOutputStream(createFile());\n bitmap.compress(Bitmap.CompressFormat.PNG, 100, fileOutputStream);\n fileOutputStream.close();\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return createFile;\n }", "title": "" }, { "docid": "0ba73986e7aec63b36812a085164f104", "score": "0.5920569", "text": "public void save(String filePath)\n\t{\n\t\ttry \n\t\t{\n\t\t\tFile file = new File(filePath);\n\t\t\tImageIO.write(img, \"png\", file);\n\t\t}\n\t\tcatch (Exception error)\n\t\t{\n\t\t\terror.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "35079eccec47e9aa40367e2e2e9049b3", "score": "0.5908328", "text": "@Override\n public void close() {\n try {\n File file = new File(fileName);\n ImageIO.write(image, \"png\", file);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "5fef4468da1660d31f51af388a262d2c", "score": "0.58748746", "text": "Save(CustomImage image) throws IOException {\n JFileChooser chooser = new JFileChooser();\n String name = image.getName();\n image.getImgType();\n\n chooser.setCurrentDirectory(new File(System.getProperty(\"user.dir\")));\n chooser.setSelectedFile(new File(name.contains(\".\") ? name : name + \".\" + image.getImgType()));\n\n\n\n if (chooser.showSaveDialog(null) == JFileChooser.APPROVE_OPTION)\n ImageIO.write(image.getBufferedImage(), image.getImgType(), chooser.getSelectedFile());\n }", "title": "" }, { "docid": "057346c4146b361694bfc790cbfd64b0", "score": "0.58742267", "text": "public void saveImage()\r\n {\r\n if (fileName!=null) {\r\n String outputFileName = fileName.substring(0, fileName.lastIndexOf('.'))\r\n +\"_processed.pgm\"; //new output file name with path\r\n System.out.println(\"Output Image path is: \"+outputFileName);\r\n \r\n try {\r\n FileWriter fwriter = new FileWriter(outputFileName);\r\n PrintWriter outputFile = new PrintWriter(fwriter);\r\n outputFile.print(header);\r\n outputFile.print(\"\" + columnN + \" \" + rowN + \"\\n\"+maxG+\"\\n\");\r\n for (int i=0; i<rowN; i++) {\r\n for (int j=0; j< columnN; j++) {\r\n outputFile.print(img[i][j] + \" \");\r\n }\r\n outputFile.print(\"\\n\");\r\n }\r\n fwriter.close();\r\n }\r\n catch (IOException e) {\r\n System.out.println(\"warning: file output error\");\r\n }\r\n }\r\n getImg();\r\n }", "title": "" }, { "docid": "7d464743f9f597a03cec000755ff4088", "score": "0.58331716", "text": "public void save(String file){\r\n\t\ttry{\r\n\t\t\t//Create BufferedImage instance\r\n\t\t\tBufferedImage bi = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);\r\n\t\t\tfor(int i=0;i<height;i++)\r\n\t\t\t\tfor(int j=0;j<width;j++){\r\n\t\t\t\t\tint temp = 0; \r\n\t\t\t\t\tif(data[j][i]==BINARY_ON)\r\n\t\t\t\t\t\ttemp = 255; //white\r\n\t\t\t\t\telse\r\n\t\t\t\t\t\ttemp = 0; //black\r\n\t\t\t\t\tColor new_c = new Color(temp, temp, temp);\r\n\t\t\t\t\tbi.setRGB(j, i, new_c.getRGB());\r\n\t\t\t\t}\r\n\t\t\tString out = file + \".jpg\";\r\n\t\t\tFile output = new File(out);\r\n\t\t\tImageIO.write(bi, \"jpg\", output);\r\n\t\t}catch(Exception e){\r\n\t\t\tSystem.out.println(e.toString());\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "bc5f747e4c74bd9e000044df79e546ac", "score": "0.5825316", "text": "private void saveImage(BufferedImage image, String filename, String formatName) {\n try {\n ImageIO.write(image, formatName, new File(\"./\" + relativePath + \"/\" + filename + \".\" + formatName));\n\n // print to indicate that file has been written\n System.out.print(\"w\");\n\n } catch (IOException e) {\n System.out.println(\"Cannot write file \" + filename);\n System.exit(1);\n }\n }", "title": "" }, { "docid": "e48a2b477ad7c5b5776750535f5cbcda", "score": "0.58128", "text": "public void takeSnapshot(String imgname);", "title": "" }, { "docid": "1e9edb82fe0a2d5f090202b7fab7803c", "score": "0.57480884", "text": "void saveImage(Image image, boolean last) throws FormatException, IOException;", "title": "" }, { "docid": "afee7cbca63c44af5a7fd736ceca0d08", "score": "0.5727945", "text": "public boolean saveImage(String path)\n\t\t{\n\t\t\ttry {\n\t\t\t File outputfile = new File(path);\n\t\t\t ImageIO.write(this.image, \"jpg\", outputfile);\n\t\t\t System.out.println(\"Saved\");\n\t\t\t} catch (IOException e) {\n\t\t\t System.out.println(\"Error\");\n\t\t\t return false;\n\t\t\t}\n\t\t\treturn true;\n\t\t}", "title": "" }, { "docid": "62321284f219780d6f097e40f18fadd6", "score": "0.57029885", "text": "public static void SaveImageTo(BufferedImage image, String file)\n throws IOException {\n FileOutputStream output = new FileOutputStream(file);\n ImageIO.write(image, \"png\", output);\n output.flush();\n output.close();\n }", "title": "" }, { "docid": "0d6ce9fc544f405e4b2b880b6ab63663", "score": "0.56947005", "text": "private boolean saveImage(HttpServletRequest req, String vin) throws IOException, ServletException {\n boolean result = false;\n List<Part> fileParts = req.getParts().stream().filter(part -> FILE.equals(part.getName())).collect(Collectors.toList());\n if (fileParts.size() > 0 && fileParts.get(0).getContentType().contains(IMAGE)) {\n String path = this.checkPaths(vin);\n for (Part filePart : fileParts) {\n String fileName = Paths.get(filePart.getSubmittedFileName()).getFileName().toString();\n filePart.write(path + File.separator + fileName);\n }\n result = true;\n }\n return result;\n }", "title": "" }, { "docid": "2c0ae9790b7fd0962ba671f9b1d257f3", "score": "0.5692296", "text": "public void save(View view) {\n if (ContextCompat.checkSelfPermission(this, Manifest.permission.WRITE_EXTERNAL_STORAGE) != PackageManager.PERMISSION_GRANTED) {\n requestPermissions(new String[] {Manifest.permission.WRITE_EXTERNAL_STORAGE}, 0);\n }\n\n java.io.File pictureFile = getOutputMediaFile();\n\n if (pictureFile == null) {\n Log.d(TAG,\"Error creating media file, check storage permissions: \");\n return;\n }\n\n try {\n FileOutputStream fos = new FileOutputStream(pictureFile);\n bitmap.compress(Bitmap.CompressFormat.PNG, 90, fos);\n fos.flush();\n fos.close();\n } catch (FileNotFoundException e) {\n Log.d(TAG, \"File not found: \" + e.getMessage());\n } catch (IOException e) {\n Log.d(TAG, \"Error accessing file: \" + e.getMessage());\n }\n\n Toast.makeText(this, \"Saved\", Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "7bd641f48d5675a53a58e17abaf699da", "score": "0.56866074", "text": "public static void saveImage(byte[] data, String name) throws IOException {\n System.out.println(\"saving image..\");\n FileOutputStream saveStream = new FileOutputStream(System.getProperty(\"user.dir\") + File.separator + name + \".jpg\");\n saveStream.write(data);\n saveStream.close();\n }", "title": "" }, { "docid": "3e876b1f8a5868af36acce1e565d25c8", "score": "0.56768364", "text": "public static boolean saveImage(CameraCharacteristics characteristics, CaptureResult captureResult, Image image, File file) {\n\n DngCreator dngCreator = new DngCreator(characteristics, captureResult);\n\n boolean is_error = false;\n FileOutputStream output = null;\n try {\n output = new FileOutputStream(file);\n dngCreator.writeImage(output, image);\n } catch (IOException e) {\n e.printStackTrace();\n } finally {\n image.close();\n }\n\n try {\n if (output != null) output.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return !is_error;\n\n}", "title": "" }, { "docid": "b1f131eeb3aeb250cfa5060bb2a36d3f", "score": "0.567376", "text": "private File saveImage(Bitmap bitmap) {\n\n File dest = null;\n FileOutputStream output = null;\n\n try {\n\n dest = getImageFile();\n output = new FileOutputStream(dest);\n bitmap.compress(Bitmap.CompressFormat.JPEG, 100, output);\n\n } catch (IOException e) {\n Log.e(TAG, \"Swibr image save fail cause\", e);\n\n\n } finally {\n\n if (null != output) {\n try {\n output.close();\n } catch (IOException e) {\n Log.e(TAG, \"saveImage: IOException\", e);\n }\n }\n }\n\n return dest;\n }", "title": "" }, { "docid": "925ecbc9b77524fa935888a4203b6f47", "score": "0.5664003", "text": "@Override\n \t\t\t public void run() {\n \t \t\tsaveImage();\n \t\t\t }", "title": "" }, { "docid": "29ae41b609960fc4378c1fde33b4d7cc", "score": "0.5653263", "text": "public void save(View v) {\n try {\n new Handler().postDelayed(new Runnable() {\n @Override\n public void run() {\n mBitmap = getBitmapFromView(v);\n ByteArrayOutputStream baos = new ByteArrayOutputStream();\n Objects.requireNonNull(mBitmap).compress(Bitmap.CompressFormat.JPEG, 50, baos);\n byte[] byt = baos.toByteArray();\n String encodedImage = Base64.encodeToString(byt, Base64.DEFAULT);\n Log.e(\"encoded \", \"signature >>>>> \" + encodedImage);\n if (encodedImage != null && !encodedImage.equalsIgnoreCase(\"\")) {\n String fileName = FieldsNameConstant.Sketch + \"_\" + System.currentTimeMillis();\n PhotoListModel photoListModel = new PhotoListModel();\n photoListModel.setPhoto(fileName);\n photoListModel.setDescription(etDescription.getText().toString());\n photoListModel.setStatus(\"0\");\n String path = Utilities.getInstance(SketchActivity.this).writeFile(encodedImage, fileName, ProcessCreationActivity.directoryImage);\n photoListModel.setPath(path);\n imageList = new ArrayList<>();\n imageList.add(photoListModel);\n }\n v.setDrawingCacheEnabled(false);\n Intent intentProcess = new Intent();\n intentProcess.putExtra(GenericConstant.SKETCH_LIST, imageList);\n setResult(RESULT_OK, intentProcess);\n finish();\n overridePendingTransition(R.anim.translate_in, R.anim.translate_out);\n }\n }, 500);\n } catch (Exception e) {\n ExceptionLogger.Logger(e.getCause(), e.getMessage(), SketchActivity.class, \"docSave\");\n }\n }", "title": "" }, { "docid": "d57e5e474557180a00ac9494ed478bea", "score": "0.56516975", "text": "public void doSave(){\n DateFormat dateFormat = new SimpleDateFormat(\"HH.mm.ss dd MM yy \");\n String timeDate = dateFormat.format(new Date());\n try{\n ImageIO.write(fractalImage, \"PNG\",new File(timeDate+choiceFractal+\".png\"));\n }catch(IOException e){\n e.printStackTrace();\n }\n JOptionPane.showMessageDialog(null, \"The fractal has been successfully saved.\", \"Fractal Generator-Save Image\", 1);\n }", "title": "" }, { "docid": "9664585bd89f558157de774c661b2db7", "score": "0.56493026", "text": "private File imageToFile(BufferedImage img, String imageType) throws IOException {\n\n\t\tFile imageFile = obtainDiffCmpFilename(imageType);\n\t\t//imageFile.deleteOnExit();\n\n\t\tImageWriter writer = ImageWriterRegistry.getInstance().getWriterFor(\"image/png\");\n\n\t\ttry (OutputStream out = new FileOutputStream(imageFile)) {\n\t\t\twriter.writeImage(img, out);\n\t\t}\n\n\t\treturn imageFile;\n\n\t}", "title": "" }, { "docid": "cb3120b8d6d16a700176b1b0652a369c", "score": "0.56413", "text": "public void writeToimage() {\r\n\t\tFile ouFile = new File(PROJECT_PATH + \"/\" + _imageName + \".jpg\");\r\n\t\ttry {\r\n\t\t\tjavax.imageio.ImageWriter jpgWriter = ImageIO.getImageWritersByFormatName(\"jpg\").next();\r\n\t\t\tImageWriteParam jpgWriteParam = jpgWriter.getDefaultWriteParam();\r\n\t\t\tjpgWriteParam.setCompressionMode(ImageWriteParam.MODE_EXPLICIT);\r\n\t\t\tjpgWriteParam.setCompressionQuality(1f);\r\n\t\t\tjpgWriter.setOutput(new FileImageOutputStream(ouFile));\r\n\t\t\tjpgWriter.write(null, new IIOImage(_image, null, null), jpgWriteParam);\r\n\t\t\t// ImageIO.write(_image, \"jpg\", ouFile);\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "5a419fdbd53d49bc1903de9a52308c0b", "score": "0.5638735", "text": "private void savePageImage(final BufferedImage image, final int pageIndex) throws PrinterIOException {\n final String outputName = String.format(RENDERED_IMAGE_NAME, pageIndex);\n final File outputFile = newOutputFile(outputName);\n try {\n ImageIO.write(image, \"png\", outputFile);\n } catch (final IOException ioe) {\n throw new PrinterIOException(ioe);\n }\n }", "title": "" }, { "docid": "51745e275a5176b395775d6356f7ea90", "score": "0.5626697", "text": "@Override\n\tpublic void exportPNG(String filename) {\n\n\t}", "title": "" }, { "docid": "7cfeb45af2ccce8ee99ed8ba238b9cd6", "score": "0.56176966", "text": "public void save(String filename) throws IOException\r\n\t{\r\n\t\tYaml yaml = new Yaml();\r\n\t\tObject rep = ((SceneNode)treeModel.getRoot()).getYamlObjectRepresentation();\r\n\t\tString output = yaml.dump(rep);\r\n\r\n\t\tFileWriter fstream = new FileWriter(filename);\r\n\t\tBufferedWriter out = new BufferedWriter(fstream);\r\n\t\tout.write(output);\r\n\t\tout.close();\r\n\t}", "title": "" }, { "docid": "7ab294660e169b039cd393f4b8972159", "score": "0.56174797", "text": "private void writeImage( Image output, HttpServletResponse httpResponse, String mime ) {\n try {\n\n OutputStream os = httpResponse.getOutputStream();\n httpResponse.setContentType( mime );\n\n if ( mime.equalsIgnoreCase( \"image/jpg\" ) || mime.equalsIgnoreCase( \"image/jpeg\" ) ) {\n\n OGCWebService service = WPVServiceFactory.createInstance();\n WPVSConfiguration config = (WPVSConfiguration) ( (WPVService) service ).getCapabilities();\n float quality = config.getDeegreeParams().getViewQuality();\n ImageUtils.saveImage( (BufferedImage) output, os, \"jpeg\", quality );\n } else if ( mime.equalsIgnoreCase( \"image/png\" ) ) {\n ImageUtils.saveImage( (BufferedImage) output, os, \"png\", 1 );\n } else if ( mime.equalsIgnoreCase( \"image/tif\" ) || mime.equalsIgnoreCase( \"image/tiff\" ) ) {\n ImageUtils.saveImage( (BufferedImage) output, os, \"tiff\", 1 );\n } else if ( mime.equalsIgnoreCase( \"image/bmp\" ) ) {\n ImageUtils.saveImage( (BufferedImage) output, os, \"bmp\", 1 );\n } else {\n httpResponse.setContentType( \"text/xml\" );\n os = httpResponse.getOutputStream();\n OGCWebServiceException exce = new OGCWebServiceException( \"WMS:writeImage\",\n \"unsupported image format: \" + mime );\n sendExceptionReport( httpResponse, exce );\n }\n\n os.close();\n } catch ( Exception e ) {\n LOG.logError( \"-\", e );\n }\n }", "title": "" }, { "docid": "96bd2e738cb46aa1ab74c6f1e23c6345", "score": "0.56151986", "text": "private void saveToExternalSorage(Bitmap thumbnail) {\n\n Calendar calendar = Calendar.getInstance();\n long timeInMillis = calendar.getTimeInMillis();\n\n imageName = \"vis_1m_plot_\" + timeInMillis + PhoneUtils.getFormatedId();\n\n File file1 = new File(ApplicationClass.PHOTO_PATH, imageName);\n\n if (file1.exists()) file1.delete();\n try {\n FileOutputStream out = new FileOutputStream(file1);\n thumbnail.compress(Bitmap.CompressFormat.JPEG, 90, out);\n out.flush();\n out.close();\n Toast.makeText(getApplicationContext(), \"Saved \" + imageName, Toast.LENGTH_SHORT).show();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "0b121f415e5d2e676d0766902656975e", "score": "0.56116724", "text": "private void saveToFile() {\n }", "title": "" }, { "docid": "55b488b926974c179f7057e461e8aad9", "score": "0.5611343", "text": "public void write ()\n {\n try {\n int i,j;\n // Create file\n FileWriter fstream = new FileWriter(\"images/\" + this.getFileName());\n BufferedWriter out = new BufferedWriter(fstream);\n\n // Write image header info\n out.write(this.getMagicNumber() + \"\\n\");\n out.write(this.getWidth() + \" \" + this.getHeight() + \"\\n\");\n out.write(getMaxGrayValue() + \"\\n\");\n\n // Write image contents\n for(i = 0; i < this.getHeight(); i++) {\n for(j = 0; j < this.getWidth(); j++) {\n out.write(this.getImage()[i][j]+\"\\n\");\n }\n }\n } catch (Exception e) { //Catch exception if any\n System.err.println(\"Error: \" + e.getMessage());\n }\n }", "title": "" }, { "docid": "bbaf7cc83dc523b0cfdf325ac66c19a1", "score": "0.558719", "text": "private void saveWebElementScreenshot(WebDriver driver, WebElement element, String filePath) throws IOException {\n Screenshot screenshot = new AShot()\n .coordsProvider(new WebDriverCoordsProvider())\n .takeScreenshot(driver, element);\n // write an image to file\n ImageIO.write(screenshot.getImage(), \"PNG\", new File(filePath));\n }", "title": "" }, { "docid": "261150efe1286b55f1676030a7084f00", "score": "0.55834436", "text": "private void writeToFile(File imageFile, byte[] image) throws Exception {\n\t\tFileOutputStream fos = new FileOutputStream(imageFile);\n\t\tfos.write(image);\n\t\tfos.close();\n\t}", "title": "" }, { "docid": "c5d77d327b7f45f3ba08e1ed6a437df7", "score": "0.5579101", "text": "public static File SaveBitmap(Bitmap bitmap){\n File file;\n String file_path = Constant.Filepath_Image;\n File dir = new File(file_path);\n if(!dir.exists())\n dir.mkdirs();\n file = new File(dir, \"images\");\n Generalfunction.DisplayLog(\"SaveBitmap: File: \"+file);\n FileOutputStream fOut;\n try {\n fOut = new FileOutputStream(file);\n bitmap.compress(Bitmap.CompressFormat.PNG, 85, fOut);\n fOut.flush();\n fOut.close();\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n return file;\n }", "title": "" }, { "docid": "6ae3fb999bb4f8c1fbd819bdf27e0831", "score": "0.55751705", "text": "public static void savePicture(String path, XSSFPictureData pic){\n byte[] data = pic.getData();\n //如果是emf格式的\n if(\"image/x-emf\".equals(pic.getMimeType())){\n path = path.substring(0, path.lastIndexOf(\".\")) + \".emf\";\n }\n if(\"image/x-wmf\".equals(pic.getMimeType())){\n path = path.substring(0, path.lastIndexOf(\".\")) + \".wmf\";\n }\n FileOutputStream out = null;\n try {\n out = new FileOutputStream(path);\n out.write(data);\n out.close();\n// if(\"image/x-emf\".equals(pic.getMimeType())){\n// InputStream inputStream = new FileInputStream(path);\n// emfToPng(inputStream);\n// }\n } catch (FileNotFoundException e) {\n throw new ProcurementServiceException(e);\n } catch (IOException e) {\n throw new ProcurementServiceException(e);\n }\n }", "title": "" }, { "docid": "cba3b2d49db96e41b7793fe6902c9f30", "score": "0.5573876", "text": "public void exportScreenCapture(String path) {\n \t\t PGraphics canvas = createGraphics(width, height, P2D);\n \t\t canvas.beginDraw();\n \t\t canvas.textFont(nodeFont);\n \t\t canvas.background(backgroundColor.getRed(), backgroundColor.getGreen(), backgroundColor.getBlue());\n canvas.pushMatrix();\n canvas.translate((float)xstart, (float)ystart);\n canvas.rotate((float)(treerotation*Math.PI/180.0));\n canvas.translate((float)-xstart, (float)-ystart);\n \t\t drawTree(root, canvas);\n canvas.popMatrix();\n \t\t canvas.endDraw();\n \t\t canvas.save(path);\n }", "title": "" }, { "docid": "61d801d0d802136630c15fc99de2e3f7", "score": "0.5569471", "text": "private void dump( BufferedImage img, String fname){\n \n \tif (debugDumpImg == true) { \n \t\tdbg(\"Dumping: \" + fname);\n try{\n ImageIO.write(img, \"jpeg\", new File(fname));\n }\n catch (IOException e){\n e.printStackTrace();\n }\n \t} \n }", "title": "" }, { "docid": "8dbf06056d64cee95c5e5235fd720afb", "score": "0.5550407", "text": "private String createDirectoryAndSaveFile(Bitmap imageToSave) {\n\n String file_path = Environment.getExternalStorageDirectory().getAbsolutePath() + \"/Imagenes/\";\n\n File direct = new File(file_path);\n\n if (!direct.exists()) {\n direct.mkdirs();\n }\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String photoname = \"IMGUser_\" + timeStamp + \".png\";\n File file = new File(direct, photoname);\n try {\n FileOutputStream out = new FileOutputStream(file);\n imageToSave.compress(Bitmap.CompressFormat.PNG, 85, out);\n out.flush();\n out.close();\n } catch (Exception e) {\n e.printStackTrace();\n }\n return photoname;\n }", "title": "" }, { "docid": "5f60a4d4e17acff514d529e81c99d3d4", "score": "0.5547847", "text": "public static void saveImage(String fileLoc, String title){\r\n try {\r\n ReadableByteChannel in1 = Channels.newChannel(\r\n new URL(fileLoc).openStream());\r\n FileOutputStream out = new FileOutputStream(title);\r\n out.getChannel().transferFrom(in1, 0, 1 << 24);\r\n out.close();\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n }", "title": "" }, { "docid": "0890c61c20b8c32db4c1899260b1c903", "score": "0.55410486", "text": "public void doSaveAs() throws IOException {\n FileDialog fileDialog = new FileDialog(this.canvas.getShell(), \n SWT.SAVE);\n String[] extensions = { \"*.png\" };\n fileDialog.setFilterExtensions(extensions);\n String filename = fileDialog.open();\n if (filename != null) {\n if (isEnforceFileExtensions()) {\n if (!filename.endsWith(\".png\")) {\n filename = filename + \".png\";\n }\n }\n //TODO replace getSize by getBounds ?\n ChartUtilities.saveChartAsPNG(new File(filename), this.chart, \n this.canvas.getSize().x, this.canvas.getSize().y);\n }\n }", "title": "" }, { "docid": "6619c41c040c4599b38c97722728bf57", "score": "0.5532438", "text": "private void writeObject(ObjectOutputStream s) throws IOException {\n\t\tImageIO.write(img, \"jpg\", ImageIO.createImageOutputStream(s));\n\t}", "title": "" }, { "docid": "041d88df5d0402a575d745a6905f2503", "score": "0.5522734", "text": "void save() throws IOException;", "title": "" }, { "docid": "041d88df5d0402a575d745a6905f2503", "score": "0.5522734", "text": "void save() throws IOException;", "title": "" }, { "docid": "041d88df5d0402a575d745a6905f2503", "score": "0.5522734", "text": "void save() throws IOException;", "title": "" }, { "docid": "fa5bb3592138f38705c7063947dbdece", "score": "0.5507692", "text": "public static void saving(Context context, String fileName, Vault vault) {\n FileOutputStream fos;\n ObjectOutputStream os;\n try {\n fos = context.openFileOutput(fileName, Context.MODE_PRIVATE);\n os = new ObjectOutputStream(fos);\n\n os.writeObject(vault);\n\n os.close();\n fos.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "894608a3ebe973732dec8c227398f5d4", "score": "0.5504209", "text": "public boolean saveImage(){\n return false;\n }", "title": "" }, { "docid": "32340d8ff3a83251701771949f1fcb99", "score": "0.5498819", "text": "void saveTo(String filename);", "title": "" }, { "docid": "37451d4d5ec7d5d8d176e19ab6dd5c76", "score": "0.549428", "text": "private void saveSegResult(String imageFile, opencv_core.Mat image, List<Panel> panels)\n {\n String xmlFile = FilenameUtils.removeExtension(imageFile) + \"_data.xml\";\n Path xmlPath = targetFolder.resolve(xmlFile);\n try {\n iPhotoDraw.savePanelSeg(xmlPath.toFile(), panels);\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n //Save original jpg file\n Path origPath = targetFolder.resolve(imageFile);\n opencv_imgcodecs.imwrite(origPath.toString(), image);\n\n //Save preview in jpg file\n Path previewFolder = targetFolder.resolve(\"preview\");\n if (!Files.exists(previewFolder)) previewFolder.toFile().mkdir();\n\n Path previewPath = previewFolder.resolve(imageFile);\n opencv_core.Mat preview = Figure.drawAnnotation(image, panels);\n opencv_imgcodecs.imwrite(previewPath.toString(), preview);\n }", "title": "" }, { "docid": "4164a0a1c48eb6027f57e88d448c118a", "score": "0.54862815", "text": "private void writeImage( Object output, String mime, HttpServletResponse resp ) {\n try {\n OutputStream os = null;\n resp.setContentType( mime );\n\n if ( mime.equalsIgnoreCase( \"image/gif\" ) ) {\n os = resp.getOutputStream();\n ImageUtils.saveImage( (BufferedImage) output, os, \"gif\", 1 );\n } else if ( mime.equalsIgnoreCase( \"image/jpg\" ) || mime.equalsIgnoreCase( \"image/jpeg\" ) ) {\n os = resp.getOutputStream();\n ImageUtils.saveImage( (BufferedImage) output, os, \"jpeg\", 1 );\n } else if ( mime.equalsIgnoreCase( \"image/png\" ) ) {\n os = resp.getOutputStream();\n ImageUtils.saveImage( (BufferedImage) output, os, \"png\", 1 );\n } else if ( mime.equalsIgnoreCase( \"image/tif\" ) || mime.equalsIgnoreCase( \"image/tiff\" ) ) {\n os = resp.getOutputStream();\n ImageUtils.saveImage( (BufferedImage) output, os, \"tif\", 1 );\n } else if ( mime.equalsIgnoreCase( \"image/bmp\" ) ) {\n os = resp.getOutputStream();\n ImageUtils.saveImage( (BufferedImage) output, os, \"bmp\", 1 );\n } else if ( mime.equalsIgnoreCase( \"image/svg+xml\" ) ) {\n os = resp.getOutputStream();\n PrintWriter pw = new PrintWriter( os );\n DOMPrinter.printNode( pw, (Node) output );\n pw.close();\n } else {\n resp.setContentType( \"text/xml; charset=\" + CharsetUtils.getSystemCharset() );\n os = resp.getOutputStream();\n OGCWebServiceException exce = new OGCWebServiceException( \"WMS:writeImage\",\n \"unsupported image format: \" + mime );\n sendExceptionReport( resp, exce );\n }\n\n os.close();\n } catch ( Exception e ) {\n LOG.logError( e.getMessage(), e );\n }\n }", "title": "" }, { "docid": "c46f351468e3adbd41dceee6cb21884e", "score": "0.5480507", "text": "private void saveState(int counter){\r\n BufferedImage bi = new BufferedImage(_panel.getSize().width, _panel.getSize().height, BufferedImage.TYPE_INT_ARGB);\r\n Graphics g = bi.createGraphics();\r\n _panel.saveImage(new File(\"files/simulation_captures/test\"+Integer.toString(counter)+\".png\"));\r\n }", "title": "" }, { "docid": "c4c3d356078b29d78609358481a40906", "score": "0.5478824", "text": "@Override\n\tpublic int saveObject(Img entity) {\n\t\treturn imgMapper.saveObject(entity)\n\t\t\t\t;\n\t}", "title": "" }, { "docid": "7b549fc700ea5bf36130946a18bf1d82", "score": "0.54774296", "text": "public static void write(BufferedImage imagem, String path) throws IOException{\n File output_file = new File(path);\n\n ImageIO.write(imagem, \"bmp\", output_file);\n }", "title": "" }, { "docid": "5da20cdfb319121f9c28810053b37d1b", "score": "0.54754794", "text": "public void dump(){\n String directory = \"vision_dump/\";\n\n Imgproc.cvtColor(currentMat, currentMat, Imgproc.COLOR_HSV2BGR);\n FTCUtilities.saveImage(currentMat, directory + \"1_unprocessed.png\");\n\n if (backboardThresholdMat != null) {\n if (!backboardThresholdMat.empty()) {\n Imgproc.cvtColor(backboardThresholdMat, backboardThresholdMat, Imgproc.COLOR_GRAY2BGR);\n FTCUtilities.saveImage(backboardThresholdMat, directory + \"2_bb_thresh.png\");\n }\n }\n\n if (backboardTrimmedMat != null) {\n if (!backboardTrimmedMat.empty()) {\n Imgproc.cvtColor(backboardTrimmedMat, backboardTrimmedMat, Imgproc.COLOR_GRAY2BGR);\n FTCUtilities.saveImage(backboardTrimmedMat, directory + \"3_bb_trimmed.png\");\n }\n }\n\n if (unprocessedTarget != null) {\n if (!unprocessedTarget.empty()) {\n Imgproc.cvtColor(unprocessedTarget, unprocessedTarget, Imgproc.COLOR_HSV2BGR);\n FTCUtilities.saveImage(unprocessedTarget, directory + \"4_target.png\");\n }\n }\n\n if (processedTarget != null) {\n if (!processedTarget.empty()) {\n Imgproc.cvtColor(processedTarget, processedTarget, Imgproc.COLOR_GRAY2BGR);\n FTCUtilities.saveImage(processedTarget, directory + \"5_target_processed.png\");\n }\n }\n }", "title": "" }, { "docid": "fef7f42180669953268fa642ecc39cb8", "score": "0.54692537", "text": "public void takePhoto(String titulo){\n if (!imagesPath.isDirectory())imagesPath.mkdir();\n BufferedImage image = wc.getImage();\n\n try {\n // save image to PNG file\n ImageIO.write(image, \"PNG\", new File(imagesPath,titulo+\".png\"));\n } catch (IOException ex) {\n Logger.getLogger(WebCamController.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "title": "" }, { "docid": "a9054623fff3273eb8763f9062dcf86e", "score": "0.54589385", "text": "final void save(Bitmap signature) {\n File myDir = new File(DIRECTORY);\n\n // make the directory if it does not exist yet\n if (!myDir.exists()) {\n myDir.mkdirs();\n }\n String signature_name = new SimpleDateFormat(\"yyyyMMdd_HHmmss\", Locale.getDefault()).format(new Date());\n\n\n // in our case, we delete the previous file, you can remove this\n File file = new File(myDir, signature_name+\".png\");\n if (file.exists()) {\n file.delete();\n }\n\n try {\n\n // save the signature\n FileOutputStream out = new FileOutputStream(file);\n signature.compress(Bitmap.CompressFormat.PNG, 90, out);\n out.flush();\n out.close();\n signaturepath = file.getAbsolutePath();\n //Toast.makeText(Newrunsheet.this, \"Signature saved.\", Toast.LENGTH_LONG).show();\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "43dd3d1b19f63668fd19f104b5ee32e5", "score": "0.54550415", "text": "public void saveBitmap(Bitmap bitmap){\n\t\tCalendar c = Calendar.getInstance();\n\t\tSimpleDateFormat sdfName = new SimpleDateFormat(\"yyyyMMddHHmmss\");\n\t\tString imgName = sdfName.format(c.getTime());\n\t\t\n\t\tFile imagePath = new File(Environment.getExternalStorageDirectory()+ \"/mySurveyPhoto/summary-\" + imgName + \".jpg\");\n\t\tFileOutputStream fos;\n\t\ttry {\n\t\t\tfos = new FileOutputStream(imagePath);\n\t\t\tbitmap.compress(CompressFormat.JPEG, 100, fos);\n\t\t\tMessage.message(this,\"This result has been successfully downloaded to \"+ imagePath.getPath());\n\t\t\tfos.flush();\n\t\t\tfos.close();\n\t\t} catch (FileNotFoundException e) {\n\t\t\tLog.e(\"GREC\", e.getMessage(),e);\n\t\t} catch (IOException e) {\n\t\t\tLog.e(\"GREC\", e.getMessage(),e);\n\t\t}\n\t}", "title": "" }, { "docid": "ac0dc73406d4f27579ada7127ab7ccf1", "score": "0.54542565", "text": "@Override\n public void WriteToFile() throws VendingMachinePersistenceException\n { \n WriteVendingMachine();\n }", "title": "" }, { "docid": "abaa4acd42278754d1c34529f1354dbf", "score": "0.54532003", "text": "public void SaveImage(Bitmap bitmap, String source) {\r\n File __file = new File(source);\r\n try {\r\n FileOutputStream fOut = new FileOutputStream(__file);\r\n bitmap.compress(Bitmap.CompressFormat.PNG, 0, fOut);\r\n fOut.flush();\r\n fOut.close();\r\n __i++;\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n }", "title": "" }, { "docid": "b856f3c593758fb42ac82b4c5c139d3d", "score": "0.54516315", "text": "public static void write(BufferedImage image, String type, File f) {\n try {\n if (f.exists()) {\n f.delete();\n }\n ImageIO.write(image, type, f);\n } catch (Exception ex) {\n //ex.printStackTrace();\n // LiquidRoundup.Proxy.print(\"Image write crapped out!\");\n }\n }", "title": "" }, { "docid": "5eee05edf282625ec342d083dfb8a8ff", "score": "0.5440487", "text": "private void saveFileToDrive() {\r\n\t // Start by creating a new contents, and setting a callback.\r\n\t Log.i(TAG, \"Creating new contents.\");\r\n\t final Bitmap image = mBitmapToSave;\r\n\t Drive.DriveApi.newDriveContents(mGoogleApiClient)\r\n\t .setResultCallback(new ResultCallback<DriveContentsResult>() {\r\n\r\n\t @Override\r\n\t public void onResult(DriveContentsResult result) {\r\n\t // If the operation was not successful, we cannot do anything\r\n\t // and must\r\n\t // fail.\r\n\t if (!result.getStatus().isSuccess()) {\r\n\t Log.i(TAG, \"Failed to create new contents.\");\r\n\t return;\r\n\t }\r\n\t // Otherwise, we can write our data to the new contents.\r\n\t Log.i(TAG, \"New contents created.\");\r\n\t // Get an output stream for the contents.\r\n\t OutputStream outputStream = result.getDriveContents().getOutputStream();\r\n\t // Write the bitmap data from it.\r\n\t ByteArrayOutputStream bitmapStream = new ByteArrayOutputStream();\r\n\t image.compress(Bitmap.CompressFormat.PNG, 100, bitmapStream);\r\n\t try {\r\n\t outputStream.write(bitmapStream.toByteArray());\r\n\t } catch (IOException e1) {\r\n\t Log.i(TAG, \"Unable to write file contents.\");\r\n\t }\r\n\t // Create the initial metadata - MIME type and title.\r\n\t // Note that the user will be able to change the title later.\r\n\t MetadataChangeSet metadataChangeSet = new MetadataChangeSet.Builder()\r\n\t .setMimeType(\"image/jpeg\").setTitle(\"Android Photo.png\").build();\r\n\t Drive.DriveApi.getRootFolder(mGoogleApiClient)\r\n\t .createFile(mGoogleApiClient, metadataChangeSet, result.getDriveContents())\r\n\t .setResultCallback(fileCallback);\r\n\t }\r\n\t });\r\n\t }", "title": "" }, { "docid": "385d00e5e12863c175cc1f45514144cd", "score": "0.5440191", "text": "public void takescreenshot(String filename) throws IOException\r\n{ \r\n\t\r\n\tTakesScreenshot ts=(TakesScreenshot) objdriver;\r\n\tFile src = ts.getScreenshotAs(OutputType.FILE);\r\n\tFile dest=new File(\"./snapshot/\"+filename+\".png\");\r\n\tFileUtils.copyFile(src, dest);\r\n\t\t\r\n}", "title": "" }, { "docid": "33fbdac07c6049a9ffa4ef385ffc42e0", "score": "0.5434832", "text": "void saveToFile(String filePath) throws IOException {\n\n OutputStream file = new FileOutputStream(filePath);\n OutputStream buffer = new BufferedOutputStream(file);\n ObjectOutput output = new ObjectOutputStream(buffer);\n\n // serialize the Map\n output.writeObject(photos);\n output.close();\n }", "title": "" }, { "docid": "505734b72699bec128f89856685b3f1f", "score": "0.5429547", "text": "public void save() {\n\n if(map.getMap() != null) {\n JFileChooser fileChooser = new JFileChooser();\n int returnVal = fileChooser.showSaveDialog(tilePanel);\n if(returnVal == JFileChooser.APPROVE_OPTION){\n String fileName = fileChooser.getSelectedFile().getName();\n exportMap.exportProcess(fileName);\n }\n }\n else{\n text = \"Load a file first\\n\";\n JOptionPane.showMessageDialog(null,text);\n }\n \n }", "title": "" }, { "docid": "426f47cda05656173fded46891bfca23", "score": "0.54240835", "text": "private void SaveImage(Bitmap bitmapImage) {\n\n\n File file = null;\n try {\n file = createImageFile();\n } catch (IOException ex) {\n // Error occurred while creating the File\n Toast.makeText(AddVisitors.this, \"Error occurred while creating the File\", Toast.LENGTH_SHORT).show();\n }\n if (file != null) ;\n try {\n FileOutputStream out = new FileOutputStream(file);\n int nh = (int) (bitmapImage.getHeight() * (512.0 / bitmapImage.getWidth()));\n Bitmap scaled = Bitmap.createScaledBitmap(bitmapImage, 512, nh, true);\n scaled.compress(Bitmap.CompressFormat.JPEG, 100, out);\n out.flush();\n out.close();\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n }", "title": "" }, { "docid": "be1af40d39da35b9e3b8e677b28e2dae", "score": "0.5420583", "text": "public void save()\r\n\t{\t\t\r\n\t\tXMLEncoder e;\r\n\t\ttry {\r\n\t\t\te = new XMLEncoder(new BufferedOutputStream(new FileOutputStream(filePath)));\r\n\t\t\tmazeSolvingAlgorithm = \"bfs\";\r\n\t\t\tmazeName = \"mymaze\";\r\n\t\t\tmazeWidth = 10;\r\n\t\t\tmazeHeight = 8;\r\n\t\t\tmazeFloors = 3;\r\n\t\t\tview = \"GUI\";\r\n\t\t\thost = \"localhost\";\r\n\t\t\tport = 9999;\r\n\t\t\te.writeObject(mazeSolvingAlgorithm);\r\n\t\t\te.writeObject(mazeName);\r\n\t\t\te.writeObject(mazeWidth);\r\n\t\t\te.writeObject(mazeHeight);\r\n\t\t\te.writeObject(mazeFloors);\r\n\t\t\te.writeObject(view);\r\n\t\t\te.writeObject(host);\r\n\t\t\te.writeObject(port);\r\n\t\t\te.close();\r\n\t\t} catch (FileNotFoundException e1) {\r\n\t\t\te1.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "d09becb26ce21d8f0bf762985a803f75", "score": "0.5400904", "text": "public BufferedImage getSaveImage(){\n return saveImage;\n }", "title": "" }, { "docid": "da6a7726ada2ff822ef6954a34d6c9c5", "score": "0.53987586", "text": "public static void saveFile(Stage secondaryStage, Image saveImage){\n FileChooser explorer = new FileChooser();\n\n // Set the title of the window that will be opened\n explorer.setTitle(\"Find Location and Set Name for the Image\");\n\n // Create a extension filter that will only allow .jpg .png to be displayed when saving the file\n FileChooser.ExtensionFilter filter = new FileChooser.ExtensionFilter(\"Select Image File\", new String[] { \"*.jpg\", \"*.png\" });\n\n // Add the filter to the explorer\n explorer.getExtensionFilters().add(filter);\n\n // Opens the explorer window so the user can save the file\n File imageFile = explorer.showSaveDialog(secondaryStage);\n\n // Makes sure the file explorer opened correctly and user entered file name and selected a location\n if(imageFile != null) {\n try {\n // Writes an image using an arbitrary ImageWriter that supports the given format to a File\n // Snapshots the specified JavaFX Image object and stores a copy of its pixels into a BufferedImage object\n ImageIO.write(SwingFXUtils.fromFXImage(saveImage, null), \"png\", imageFile);\n } catch (IOException e) {\n // Run of the mill IOException try-catch\n e.printStackTrace();\n }\n }\n }", "title": "" }, { "docid": "8beaf8aedef79ff42c04abcbca0a1134", "score": "0.53984135", "text": "void saveTransform();", "title": "" }, { "docid": "735da6caaf0686633f1a419ac39759cd", "score": "0.53916293", "text": "public static void saveImg(BufferedImage bi, File f) throws IOException {\n ImageIO.write(bi, \"jpg\", f);\n }", "title": "" }, { "docid": "f11e070a31110cd698fa8b30a06334a6", "score": "0.5379752", "text": "@Test\n public void testSave() throws Exception {\n pull(BUSYBOX_LATEST);\n final File imageFile = save(BUSYBOX);\n assertTrue(imageFile.length() > 0);\n }", "title": "" }, { "docid": "f1b9167716316dfcc5296eb26c2cc88e", "score": "0.5378735", "text": "public void writeTo(OutputStream out)\n \t\t\tthrows org.vfny.geoserver.ServiceException, java.io.IOException {\n \t\tformatImageOutputStream(this.image, out);\n \t}", "title": "" }, { "docid": "31b5085d5e0f53421fdcb93fa340f80f", "score": "0.53720623", "text": "@Override\n public boolean exportPNG(File fd, Image img)\n {\n try {\n FileOutputStream fos;\n fos = new FileOutputStream(fd);\n\n exportPNG(fos, img);\n\n fos.close();\n }\n catch ( Exception e ) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "4b4dd92d0cd980443adea1ad00012c5a", "score": "0.53586006", "text": "public void save(File file) throws IOException;", "title": "" }, { "docid": "c84edcd0ed4d06dab13082a348df212f", "score": "0.53580683", "text": "public static void saveImageOnInternalStorage(Context context, String fileName, Bitmap bitmap) {\n File path = new File(context.getFilesDir(), \"Vinh\" + File.separator + \"Images\");\n if (!path.exists()) path.mkdirs();\n\n File f = new File(path, fileName);\n FileOutputStream fos = null;\n try {\n fos = new FileOutputStream(f);\n bitmap.compress(Bitmap.CompressFormat.PNG, 90, fos);\n fos.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "902e62cb344823189538c36ba11d1bf5", "score": "0.5356261", "text": "public void save(String path, String name) throws IOException {\n\n File saveFile = null;\n String formatName = null;\n\n int idx = name.lastIndexOf(\".\");\n\n if (idx == -1) {\n saveFile = new File(path + \".bmp\");\n formatName = new String(\"BMP\");\n } else {\n formatName = path.substring(idx+1).toUpperCase();\n saveFile = new File(path);\n }\n ImageIO.write(image, \"BMP\", saveFile);\n }", "title": "" }, { "docid": "ce2a975d00330b4e038311232a46be75", "score": "0.53556925", "text": "private void writeImage( OutputStream os, File request ) throws Exception {\n\t\n\tif ( request.exists() ) \n\t\tos.write(Files.readAllBytes(request.toPath()));\n}", "title": "" }, { "docid": "38337061189c5446b3e2fdb21d548d47", "score": "0.5346728", "text": "public void save(View v, String StoredPath) {\n if (bitmap2 == null) {\r\n bitmap2 = Bitmap.createBitmap(mContent.getWidth(), mContent.getHeight(), Bitmap.Config.RGB_565);\r\n }\r\n Canvas canvas = new Canvas(bitmap2);\r\n try {\r\n // Output the file\r\n FileOutputStream mFileOutStream = new FileOutputStream(StoredPath);\r\n v.draw(canvas);\r\n // Convert the output file to Image such as .png\r\n //bitmap2.compress(Bitmap.CompressFormat.PNG, 70, mFileOutStream);\r\n // Bitmap bitmap1 = MediaStore.Images.Media.getBitmap(getContentResolver(),fileUri);\r\n // Bitmap photo1=ThumbnailUtils.extractThumbnail(photo,200,100);\r\n if (bitmap2 != null)\r\n\r\n signature.setAdjustViewBounds(true);\r\n signature.setImageBitmap(Bitmap.createScaledBitmap(bitmap2, 200, 100, false));\r\n sign_url = BitMapToString(bitmap2);\r\n // sign_url=sign_url.trim();\r\n // byte[] ImagBytes = ImageUtils.compressImage(StoredPath);\r\n // byte [] b=baos.toByteArray();\r\n // sign_url= Base64.encodeToString(ImagBytes, Base64.DEFAULT);\r\n Log.e(\"sign_url\", sign_url);\r\n mFileOutStream.flush();\r\n mFileOutStream.close();\r\n } catch (Exception e) {\r\n // Log.v(\"log_tag\", e.toString());\r\n }\r\n }", "title": "" }, { "docid": "4f6b6bd79cdb13f8d2e3aa2c4da5fa03", "score": "0.5346187", "text": "private void saveImage(long fieldId, Bitmap bitmap) {\n String absolutePath = Environment\n .getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES)\n .getAbsolutePath();\n Log.i(TAG, \"saveImage: \" + absolutePath);\n String imgFile = fieldId + \".jpg\";\n File file = new File(absolutePath, imgFile);\n FileOutputStream fos = null;\n try {\n fos = new FileOutputStream(file);\n fos.flush();\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n bitmap.compress(Bitmap.CompressFormat.JPEG, 100, fos);\n\n }", "title": "" }, { "docid": "c9ac2932c0dab3789b5392b9024fe789", "score": "0.53405315", "text": "@RequiresApi(api = Build.VERSION_CODES.N)\n public void savePic(Bitmap b) {\n try {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"paradise\" + timeStamp + \"_\";\n File storageDir = android.os.Environment.getExternalStorageDirectory();\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".png\", /* suffix */\n storageDir /* directory */\n );\n FileOutputStream fos;\n fos = new FileOutputStream(image.getAbsolutePath());\n b.compress(Bitmap.CompressFormat.PNG, 90, fos);\n fos.flush();\n fos.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "64e2c284cf8fbcbf471c66ef4d502438", "score": "0.5333481", "text": "private void saveMap() {\n\t\tFileSelect fileDir = new FileSelect(SWT.SAVE, new String[] { \"*.pl;\" });\n\t\tfileDir.setMessage(\"Guardar el archivo de mapa de la base de datos.\");\n\t\tfileDir.setFilterPath(\"C:\\\\\");\n\t\tDisplay.getDefault().syncExec(fileDir);\n\t\tString filePath = fileDir.getPath();\n\t\tif (filePath == null) {\n\t\t\treturn;\n\t\t}\n\t\ttry {\n\t\t\tgenerator.saveSession(filePath);\n\t\t\tMessageDialog.openInformation(\n\t\t\t\t\tDisplay.getDefault().getActiveShell(), \"Informacion\",\n\t\t\t\t\t\"Mapa guardado exitosamente en \" + filePath);\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t\tAbstractView.showError(ex);\n\t\t}\n\t}", "title": "" }, { "docid": "1e8ff38f986fa6312e6e6e5c08ef8976", "score": "0.53281575", "text": "public void save(String file) throws IOException {\n\t\tLOGGER.info(\"Saving binary: \" + file);\n\t\tSerializator.serialize(project, file);\n\t}", "title": "" }, { "docid": "b5a365ca83c94d74908e539e08a86c20", "score": "0.53279173", "text": "private File createImageFile() throws IOException {\n\t\tString timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n\t\tString imageFileName = \"JPEG_\" + timeStamp + \".jpg\";\n\t\tString storageDir = getScreenTemplateDir();\n\n\t\tFile mediaDir = new File(storageDir);\n\t\tif (!mediaDir.exists()){\n\t\t\tmediaDir.mkdir();\n\t\t}\n\n\t\tFile image = new File(storageDir,imageFileName);\n\t\treturn image;\n\t}", "title": "" }, { "docid": "dab7a480c0e47cb9fe88ff5ebb13d605", "score": "0.53254247", "text": "public Image myWrite(Image image, String filePath) {\n try {\n File imgFile = new File(filePath + \"bmp\");\n\n // Using BufferedImage and Graphics2D\n BufferedImage buffer = new BufferedImage(image.getWidth(null), image.getHeight(null),\n BufferedImage.TYPE_INT_RGB);\n Graphics2D graph = buffer.createGraphics();\n graph.drawImage(image, ZERO, ZERO, null);\n graph.dispose();\n ImageIO.write(buffer, \"bmp\", imgFile);\n } catch (Exception e) {\n\n } finally {\n return image;\n }\n\n }", "title": "" }, { "docid": "15178d60f70ed0c867e40dc81f64b6c6", "score": "0.53151304", "text": "public\t\n\tMachineValue eval(MachineState ms, MachineValue [] params) \n\t{\t\t\t\t\t\n\t\treturn PictureIO.storeToFile(params[1].toString(),(MVPicture)params[0]);\t\t\n\t}", "title": "" }, { "docid": "9635369268f95b6e5d8f8d75caa18f5d", "score": "0.531262", "text": "public static void saveJpgSumUp(){\n try {\n int width = 500, height = 1250;\n ZonedDateTime today = ZonedDateTime.now(ZoneId.of(\"Europe/Warsaw\"));\n String dateQ = DateTimeFormatter.ISO_LOCAL_DATE.format(today);\n String timeQ = DateTimeFormatter.ISO_LOCAL_TIME.format(today);\n Vector<String> vecS = MyResultsS.getCol();\n BufferedImage bi = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);\n\n Graphics2D ig2 = bi.createGraphics();\n ig2.setColor(Color.white);\n ig2.setBackground(Color.WHITE);\n ig2.fillRect(0, 0, width, height);\n Font font = new Font(\"TimesRoman\", Font.BOLD, 20);\n ig2.setFont(font);\n ig2.setPaint(Color.BLACK);\n\n StringBuilder sb = new StringBuilder();\n String path = new String();\n sb.append(\"F:/JavaTesty/Podsumowanie_\");\n sb.append(dateQ);\n sb.append(\".JPG\");\n path = sb.toString();\n File file = new File(path);\n\n int x = 10;\n int y = 30;\n\n ig2.drawString(\"Podsumowanie, \" + dateQ + \" \" + timeQ, x, y);\n y = y + 50;\n ig2.drawString(vecS.get(1), x, y);\n y = y + 30;\n ig2.drawString(\"Średnia ocena: \" + qualityMean, x, y);\n y=y+30;\n ig2.drawString(\"Ilość ocen '1': \"+ quality1,x,y);\n y=y+30;\n ig2.drawString(\"Ilość ocen '2': \"+ quality2,x,y);\n y=y+30;\n ig2.drawString(\"Ilość ocen '3': \"+ quality3,x,y);\n y=y+60;\n\n ig2.drawString(vecS.get(2), x, y);\n y = y + 30;\n ig2.drawString(\"Średnia ocena: \" + reportMean, x, y);\n y=y+30;\n ig2.drawString(\"Ilość ocen '1': \"+ report1,x,y);\n y=y+30;\n ig2.drawString(\"Ilość ocen '2': \"+ report2,x,y);\n y=y+30;\n ig2.drawString(\"Ilość ocen '3': \"+ report3,x,y);\n y=y+60;\n\n ig2.drawString(vecS.get(3), x, y);\n y = y + 30;\n ig2.drawString(\"Średnia ocena: \" + promptessMean, x, y);\n y=y+30;\n ig2.drawString(\"Ilość ocen '1': \"+ promptness1,x,y);\n y=y+30;\n ig2.drawString(\"Ilość ocen '2': \"+ promptness2,x,y);\n y=y+30;\n ig2.drawString(\"Ilość ocen '3': \"+ promptness3,x,y);\n y=y+60;\n\n ig2.drawString(vecS.get(4), x, y);\n y = y + 30;\n ig2.drawString(\"Średnia ocena: \" + complaintMean, x, y);\n y=y+30;\n ig2.drawString(\"Ilość ocen '1': \"+ complaint1,x,y);\n y=y+30;\n ig2.drawString(\"Ilość ocen '2': \"+ complaint2,x,y);\n y=y+30;\n ig2.drawString(\"Ilość ocen '3': \"+ complaint3,x,y);\n y=y+60;\n\n ig2.drawString(vecS.get(5), x, y);\n y = y + 30;\n ig2.drawString(\"Średnia ocena: \" + currentMean, x, y);\n y=y+30;\n ig2.drawString(\"Ilość ocen '1': \"+ current1,x,y);\n y=y+30;\n ig2.drawString(\"Ilość ocen '2': \"+ current2,x,y);\n y=y+30;\n ig2.drawString(\"Ilość ocen '3': \"+ current3,x,y);\n y=y+60;\n\n ig2.drawString(vecS.get(6), x, y);\n y = y + 30;\n ig2.drawString(\"Średnia ocena: \" + contactMean, x, y);\n y=y+30;\n ig2.drawString(\"Ilość ocen '1': \"+ contact1,x,y);\n y=y+30;\n ig2.drawString(\"Ilość ocen '2': \"+ contact2,x,y);\n y=y+30;\n ig2.drawString(\"Ilość ocen '3': \"+ contact3,x,y);\n y=y+60;\n\n ig2.drawString(\"Pierwszy wpis: \"+ dateArraySTR2.get(0),x,y);\n y=y+30;\n ig2.drawString(\"Ostatni wpis: \"+ dateArraySTR.get(0),x,y);\n\n ImageIO.write(bi, \"JPEG\", file);\n }\n catch (IOException ex){ex.printStackTrace();}\n\n }", "title": "" } ]
11572cf4c640e0fcd1c4de13253a9598
/Define objeto que contiene el HomePage de la pagina a automatizar private StoreDemoQaHomePage storedemoqahomepage;
[ { "docid": "4c6f5475c652968d3c1360b9b4046020", "score": "0.0", "text": "@Before\r\n\tpublic void preparaEscenario() {\r\n\t\tOnStage.setTheStage(new OnlineCast()); \r\n\t}", "title": "" } ]
[ { "docid": "02171ada895ba5d067bf1879f09ff297", "score": "0.73999506", "text": "public HomePage(){\t\t\t\n\t\t\tPageFactory.initElements(driver, this);\n\t\t}", "title": "" }, { "docid": "fc0df7b6c394e479f6707b560afcdc67", "score": "0.73663914", "text": "public Home navigateToHomePage() {\n\n\t\t// Calling general function\n\n\t\tgeneralFunctions.productSwitcher(\"Research\");\n\n\t\treturn new Home(scriptHelper);\n\t}", "title": "" }, { "docid": "ab606b3615bb45cff7bfd6ced9307710", "score": "0.726876", "text": "public HomePage homePage() {\r\n if (homePage == null) {\r\n homePage = new HomePage();\r\n }\r\n return homePage;\r\n }", "title": "" }, { "docid": "1431edf65ee4a0069056032360e104e6", "score": "0.71739686", "text": "AbstractHomePage getHomePage();", "title": "" }, { "docid": "066190514bada19ea145e974813430af", "score": "0.71391827", "text": "public HomePage() {\n\t\t\n\t\tPageFactory.initElements(driver, this);\n\t}", "title": "" }, { "docid": "1e1a51a390dee38caf942d1cd57a991e", "score": "0.711896", "text": "public HomePage() {\n\t\tPageFactory.initElements(driver, this);\n\t}", "title": "" }, { "docid": "bcf5a60cb75d281c144fe779de3738f2", "score": "0.70668787", "text": "public homepage()\n\t\t{\n\t\t\tPageFactory.initElements(driver, this);//initElement initializes the current class objects\n\t\t\t\n\t\t\t\n\t\t}", "title": "" }, { "docid": "3364a1a05fac285e805213077f231966", "score": "0.699815", "text": "public HomePage()\n\t\t\t{\n\t\t\t\tPageFactory.initElements(driver, this);\n\t\t\t}", "title": "" }, { "docid": "8082dae1a39b51f0adfb82e53e656b0f", "score": "0.699733", "text": "public String getHomepage() {\n return homepage;\n }", "title": "" }, { "docid": "46b9ed348c6c05837563e06c8396213e", "score": "0.69945335", "text": "public HomePageImpl navigateToHomePage() {\n\t\tdriver.get(new ConfigFileReader().getProperty(\"amazon.url\"));\n\t\treturn this;\n\t}", "title": "" }, { "docid": "dae809be16c20f0a49312237b03c9846", "score": "0.6890004", "text": "@Override\n\tpublic Class<? extends Page> getHomePage() {\n\t\treturn HomePage.class;\n\t}", "title": "" }, { "docid": "23ba4cd44eaa434e8df89076e322fa57", "score": "0.680864", "text": "public HomePageHeader() {\n\t\t// super(driver);\n\t\tPageFactory.initElements(driver, this);\n\t\tdriver.get(url);\n\t\tLog4jManager.info(\"we get the web\");\n\n\t}", "title": "" }, { "docid": "ddd95306c602188a12b59465fcf3d63c", "score": "0.6686737", "text": "public HomePageObject openHomePage() {\n\t\twaitForElementClickable(driver, LoginPageUI.HOMEPAGE_IMG);\r\n\t\tclickToElement(driver, LoginPageUI.HOMEPAGE_IMG);\r\n\t\treturn PageGeneratorManager.getHomePage(driver);\r\n\t}", "title": "" }, { "docid": "6508d6220dbd960117713963b86ca9c6", "score": "0.6661053", "text": "@Test\r\n\tpublic void tc_1() throws Exception {\n\t\t\r\n\t\t home=new HomePage(commonDriver.getdriver());\r\n\t\thome.clickingHomeButton();\r\n\t\t\r\n\t}", "title": "" }, { "docid": "bbdab738ea52c2649461106207eeec83", "score": "0.6660239", "text": "@Test(priority = 0)\r\n\tpublic void test_Home_Page_Appear_Correct() {\r\n\t\t//Create Login Page object\r\n\t\tobjLogin = new Guru99Login(driver);\r\n\r\n\t\t//Verify login page title\r\n\t\tString loginPageTitle = objLogin.getLoginTitle();\r\n\t\tAssert.assertTrue(loginPageTitle.toLowerCase().contains(\"guru99 bank\"));\r\n\r\n\t\t//login to application\r\n\t\tobjLogin.loginToGuru99(\"mngr65981\", \"jyhaqUh\");\r\n\r\n\t\t// go the next page\r\n\t\tobjHomePage = new Guru99HomePage(driver);\r\n\r\n\t\t//Verify home page\r\n\t\tAssert.assertTrue(objHomePage.getHomePageDashboardUserName()\r\n\t\t\t\t.toLowerCase().contains(\"manger id : mngr65981\"));\r\n\t}", "title": "" }, { "docid": "1f16eb584fcc51de2d9caa6b4f2efca4", "score": "0.6573106", "text": "public HomePageTablet goHome(){\n goHomeButton.click();\n return new HomePageTablet();\n }", "title": "" }, { "docid": "47bd06187593751ddd89eba743eb7f4d", "score": "0.6572926", "text": "public ClearTripHomePage getClearTripHomePageObj()\n {\n ClearTripHomePage clearTripHomePage = new ClearTripHomePage();\n return clearTripHomePage;\n }", "title": "" }, { "docid": "4ef1da432aaedc2d4308a9bb20e82e07", "score": "0.65601265", "text": "@Action(semantics = SemanticsOf.SAFE)\n @HomePage\n public HomePageViewModel homePage() {\n return serviceRegistry.injectServicesInto(new HomePageViewModel());\n }", "title": "" }, { "docid": "ed0bdcdaf4df1d51ca5684fffefe0fbb", "score": "0.6532755", "text": "@Override\n\t\tpublic Class<? extends Page> getHomePage() {\n\t\t\treturn Login.class;\n\t\t}", "title": "" }, { "docid": "b73a27a46f6092131b043f08387642b8", "score": "0.650215", "text": "public HomePage() {}", "title": "" }, { "docid": "bd980debb2f09fa22b0fd8d50e53924c", "score": "0.6459182", "text": "@Given(\"^User is on Home Page$\")\n\tpublic void user_is_on_Home_Page() throws Throwable {\n\t\tSystem.setProperty(Constants.WebDriver_Name, Constants.WebDriver_Path);\t\n\t\tdriver = new FirefoxDriver();\n\t\tdriver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);\n\t\tString url = \"http://www.store.demoqa.com\";\n\t\tdriver.get(url);\n\t\t//throw new PendingException();\n\t}", "title": "" }, { "docid": "db6344bbc9471334c22222fd9974e403", "score": "0.6415392", "text": "public void gotoHomePage(){\n\t\t\n\t\tdriver.get(baseUrl);\n\t}", "title": "" }, { "docid": "24009a962247ec4c1c758f2170675ae2", "score": "0.64148736", "text": "public void buildFrontPage() {\n }", "title": "" }, { "docid": "f591d836ef96df540b2cb4c68a870eb4", "score": "0.64141595", "text": "@Given(\"^User is on Home Page$\")\n\tpublic void user_is_on_Home_Page() throws Throwable {\n\t\tString exePath = \"D:\\\\Cucumeber_Excersie\\\\chromedriver.exe\";\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", exePath);\n\t\tdriver = new ChromeDriver();\n\t\t\n driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);\n driver.get(\"http://www.store.demoqa.com\");\n \n\t // throw new PendingException();\n\t}", "title": "" }, { "docid": "30f81e4a83dbd2f4743c7bf7226e67df", "score": "0.64067996", "text": "@Override\n\tpublic HomeBean getHomePageBean() {\n\t\tList<Post> posts=postDAO.findHostPost(1, 9);\n\t\tList<Club> clubs=clubDAO.findPreClub(6);\n\t\tHomeBean homeBean=new HomeBean();\n\t\thomeBean.setHostPosts(posts);\n\t\thomeBean.setHostClubs(clubs);\n\t\treturn homeBean;\n\t}", "title": "" }, { "docid": "73fbc8353de3f51f7bed17b4c517eee1", "score": "0.64060324", "text": "public AOL_HomePage(WebDriver driver) {\n\t\tPageFactory.initElements(driver, this);\n\t}", "title": "" }, { "docid": "f28ff79fead3f4d88ac66bb508a717ac", "score": "0.6405392", "text": "Home createHome();", "title": "" }, { "docid": "9c1d6433a2cf9b5995b8a0bda25a6f38", "score": "0.6363297", "text": "public pf_homepage(WebDriver driver){\n\t\t\n\t\tPageFactory.initElements(driver, this);\n\t}", "title": "" }, { "docid": "2b7c8ca6831226ab36c373dcd383a40d", "score": "0.63319695", "text": "public URL homePage()\n {\n try\n {\n URL url = new URL(protocol, webSiteName, webSitePort, HTMLPath+\"/index.html\");\n return url;\n }\n catch (java.net.MalformedURLException e)\n {\n System.out.println(\"Error while generating home page URL: \"+e.getMessage());\n return null;\n }\n }", "title": "" }, { "docid": "d8e9fda0f76522ca6a5b53bce742e74f", "score": "0.6228033", "text": "public HomePage PageAssert(){\n\t\tAssert.softAssert.assertEquals(driver.getTitle(), \"Facebook\", \"Wrong Fat Value : expected <\" + \"Facebook\" + \"> but was <\" + driver.getTitle() + \">\");\n\t\treturn new HomePage(driver);\n\t}", "title": "" }, { "docid": "ca76a2765217a7f890d61e6fe6e7eaab", "score": "0.6212509", "text": "public String enterHome() {\r\n\t\tlogger.info(\"Entering Home...\");\r\n\t\t//initializeHeader();\r\n\t\t//initNavigations();\r\n\t\tLoginBean loginBean = (LoginBean) ManagedBeanUtility.getManagedBean(\"LoginBean\");\r\n\t\ttry {\r\n\t\t\tinitializeUser(loginBean.getUserName());\r\n\t\t} catch (DocSpaceException e) {\r\n\t\t\tFacesMessage message = new FacesMessage(e.getMessage());\r\n\t\t\tFacesContext.getCurrentInstance().addMessage(\"Error Occured.\", message);\r\n\t\t\treturn \"error\";\r\n\t\t}\r\n\t\tDocumentHandlerBean documentHandlerBean = (DocumentHandlerBean) ManagedBeanUtility.getManagedBean(\"DocumentHandlerBean\");\r\n\t\tdocumentHandlerBean.loadHomeFolders();\r\n\t\treturn \"homepage\";\r\n\t}", "title": "" }, { "docid": "e7f8a9a894092beea697b55fea775abd", "score": "0.6195155", "text": "public void setHomepage(URL homepage) {\n\t\tthis.homepage = homepage;\n\t}", "title": "" }, { "docid": "d9a87e20cfcc5ce4a756d110a074977f", "score": "0.61820644", "text": "@Given(\"^I am on Demoqa home page$\")\n\tpublic void i_am_on_Demoqa_home_page() throws Throwable {\n\t\tSystem.setProperty(\"webdriver.chrome.driver\",\"C:\\\\Users\\\\selvam\\\\eclipse-workspace\\\\Greens\\\\driver\\\\chromedriver.exe\");\n\t\tdriver = new ChromeDriver();\n\t\tdriver.get(\"http://demoqa.com/registration/\");\n\t\tdriver.manage().window().maximize();\n\t}", "title": "" }, { "docid": "01dc310a3b4201f51979ac8d634455ec", "score": "0.6170073", "text": "public HUHomePage(WebDriver driver) {\n\t\tsuper(driver);\n\t\tPageFactory.initElements(this.driver, this);\n\t}", "title": "" }, { "docid": "3639af734b2874a77893d98c5eebb063", "score": "0.61569506", "text": "public TelaHome(WebDriver driver) {\n\t\tfuncionalidadeUteis = new FuncionalidadeUteis(driver);\n\t\tPageFactory.initElements(driver, this);\n\t\tnew MetodoEspera(driver);\n\t}", "title": "" }, { "docid": "99762531c036da38f70a1f98a1628a02", "score": "0.6142195", "text": "public String getHome() \n\t{\n\t\treturn myHome;\n\t}", "title": "" }, { "docid": "006f0705244fcf910d6fa97af9b94e7d", "score": "0.6120766", "text": "@Test\n\tpublic void testAppHomePage() throws Exception {\n\t\tthis.mockMvcWelcome.perform(get(\"/recycleManagementHomePage\")).andExpect(status().isOk())\n\t\t\t\t.andExpect(view().name(\"homePage\")).andDo(MockMvcResultHandlers.print()).andReturn();\n\t}", "title": "" }, { "docid": "e27d758455725f54d23113df7c3f3e0d", "score": "0.611659", "text": "public WebDriver TemporaryMethod_HomePage() {\n\t\tLoginPasswordPage LoginPasswordPage = new LoginPasswordPage();\n\t\tWebDriver driver = LoginPasswordPage.TemporaryMethod_LoginPasswordPage();\n\t\tPageFactory.initElements(driver, this);\n\t\twaitTime(3000);\n\t\t// HighLight_Element(driver, obj_UserName);\n\t\t// HighLight_Element(driver, obj_LogOut);\n\t\twaitTime(3000);\n\t\tobj_LogOut.click();\n\t\treturn driver;\n\t}", "title": "" }, { "docid": "0d51a8e139027273628e95891f116fbb", "score": "0.6104256", "text": "public HomePage() {\n initComponents();\n un = Login.UName;\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "3c187d6d134077543202e5fb9a34d959", "score": "0.6078246", "text": "private String generateMainPage(){\n MainPage mainPage = new MainPage();\n\n mainPage.generateTopbar(\"topbar.html\");\n mainPage.generateContainer();\n mainPage.generateFooter();\n\n\n\n mainPage.makePage(\"index.html\");\n\n page = mainPage.getPage().toString();\n return page;\n\n }", "title": "" }, { "docid": "b39e2a03f466f47359e21eb0ec059f6f", "score": "0.6070432", "text": "public Home() {\r\n initComponents(); \r\n khoitao();\r\n }", "title": "" }, { "docid": "566b90f9ea0d73b882c8dea8ddfecd6d", "score": "0.6062165", "text": "public HomePage() {\n initComponents();\n conn = getRemoteConnection(dbDriver, dbURL);\n populateAdminStaffTypes();\n populateNurseStaffTypes();\n }", "title": "" }, { "docid": "a9071329988d6f415356a66a115e6744", "score": "0.606149", "text": "public String goHome() {\n return \"index\";\n }", "title": "" }, { "docid": "ad190560d18b19bf654e23a9b1d630d5", "score": "0.60354114", "text": "public void openHomePage() {\n// disableNotification();\n// killCookies();\n }", "title": "" }, { "docid": "646e2b69ac913d88773858b649665757", "score": "0.6033635", "text": "public FlipkartHomePage(WebDriver driver)\r\n {\r\n this.driver = driver;\r\n PageFactory.initElements(driver, this);\r\n }", "title": "" }, { "docid": "45e820bb1a4737c34c6f6732dacf9377", "score": "0.6032652", "text": "@Given(\"^I am on employee page$\")\n public void iAmOnEmployeePage() {\n new Homepage().doLogin(\"Admin\",\"admin123\");\n new DashboardPage().iAmOnAddEmployeePage();\n }", "title": "" }, { "docid": "bdc8cc16c62255b5005400d570e93f75", "score": "0.60285854", "text": "private void goToHomePage() {\n this.state = State.HOME_PAGE;\n this.currentPanel = paint();\n }", "title": "" }, { "docid": "3de7a0b427f7701b90fb5f266bf42bee", "score": "0.6018845", "text": "public void goToHomeWikiPage(){\n\t\tinfo(\"-- Go to wiki home page --\");\n\t\tclick(ELEMENT_WIKI_HOME_PAGE_LINK);\n\t\twaitForAndGetElement(ELEMENT_WIKI_HOME_PAGE_TEXT);\n\t}", "title": "" }, { "docid": "8efd17176d0bcd9b9a8838ddd7d7b86d", "score": "0.60036224", "text": "@Test\n public void testStartPage() {\n tester.startPage(app.getHomePage());\n\n tester.assertRenderedPage(HomePage.class);\n }", "title": "" }, { "docid": "ba96c88de1b3fb97709347db3142bfa1", "score": "0.59962785", "text": "public void clickOnHomeButton()\n {\n clickOnElement(By.xpath(\"//a[text()='Home']\"));\n\n // Verify that User navigate to Home Page\n assertTrueContains(\"topic-block-title\",\"class\",\"Welcome to our store\",\"User Not navigate to Home page\");\n }", "title": "" }, { "docid": "46ec6a7a1df43864c6f4d4d1a6c2efae", "score": "0.5986357", "text": "@Override\n\tpublic boolean goHomePage(PageContext context) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "9ec6b069e58bf9a130e484205bd8177b", "score": "0.5964877", "text": "private void defaultPage() {\n\t\tDefaultPage defaultPage = new DefaultPage(); \n\t\thPanel.clear();\n\t\thPanel.add(defaultPage);\n\t}", "title": "" }, { "docid": "ec25a6d21d4ca4dffdf6a42b8472bdcb", "score": "0.5959183", "text": "@Test(description = \"TC001\")\r\n\tpublic void getSearchbox() {\r\n\t\t\r\n\t\tHomePage homePage = new HomePage(driver);\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t}", "title": "" }, { "docid": "06e01d37f717d52c2cd476e3053e3998", "score": "0.5956214", "text": "public void setHomepage(String homepage) {\n this.homepage = homepage == null ? null : homepage.trim();\n }", "title": "" }, { "docid": "b5062e0f63ce75e3b36d0a1feacb3dd3", "score": "0.5954282", "text": "public void goHome() {\r\n\r\n if (pref.homeURL != null) {\r\n goToLink(new CalHistoryItem(pref.homeURL, viewer.name, pref.homeURL.getRef(), null, null), 0);\r\n }\r\n }", "title": "" }, { "docid": "a2a208dd56e5c43e9d4c12338b26797c", "score": "0.59516305", "text": "public LandingPage() {\n\t\t\n\t\tPageFactory.initElements(driver,this);\n\t}", "title": "" }, { "docid": "309ca1dbf4bcab437dae536ae8a925ec", "score": "0.59280413", "text": "@Given(\"^user is on the home page$\")\r\n\tpublic void user_is_on_the_home_page() throws Exception \r\n\t{\n\t\tSystem.setProperty(\"webdriver.chrome.driver\",\"C:\\\\NexGenTesting\\\\chromedriver.exe\");\r\n\t\t driver = new ChromeDriver();\r\n\t\t driver.get(\"http://demoaut.com/\");\r\n\t}", "title": "" }, { "docid": "30e342f8293453ffd7f5e3e0e676b454", "score": "0.5923535", "text": "@GET\n @Path(\"/home\")\n public String getHome() {\n \tPageHome p = new PageHome(BASE_URI+\"/auth\");\n \treturn p.getPage();\n }", "title": "" }, { "docid": "eb5f6ec1b5d72c6421c92526352f317c", "score": "0.5911197", "text": "private Button setHomeButton(final Main main)\n {\n\tButton setHome = new Button(\"Set Home\");\n\tsetHome.setGraphic(new ImageView(new Image(main.getClass()\n\t\t.getResourceAsStream(\"Home.png\"), 33, 33, true, false)));\n\tsetHome.setTooltip(new Tooltip(\"Set the Home Page\"));\n\tsetHome.setOnAction(new EventHandler<ActionEvent>()\n\t{\n\n\t @Override\n\t public void handle(ActionEvent arg0)\n\t {\n\t\ttry\n\t\t{\n\t\t Main.homePage = ((GUI) main\n\t\t\t .getTabs()\n\t\t\t .getTabs()\n\t\t\t .get(main.getTabs().getSelectionModel()\n\t\t\t\t .getSelectedIndex()).getContent())\n\t\t\t .getWebViewController().getWebEngine()\n\t\t\t .getLocation();\n\t\t Main.showMessageDialog(\"New home page set!\\n\"\n\t\t\t + Main.homePage);\n\t\t}\n\t\tcatch (ArrayIndexOutOfBoundsException e)\n\t\t{\n\n\t\t}\n\t }\n\t});\n\treturn setHome;\n }", "title": "" }, { "docid": "1e171e05149339543655bd36a6ef46c5", "score": "0.5907839", "text": "public HomePage(WebDriver driver){\n this.driver = driver;\n }", "title": "" }, { "docid": "2d12e6d3a03b790e4060371f10be65e6", "score": "0.5894847", "text": "public Home() {\n initComponents();\n colocarTema();\n }", "title": "" }, { "docid": "057e6018aa690b31e86ed3d751957257", "score": "0.588223", "text": "@BeforeMethod\n public void beforeMethod() throws IOException {\n\t SeleniumDriver.setUpDriver();\n\t \n\t hp = new homePage(); // Page Objects\n\t //hp = PageFactory.initElements(SeleniumDriver.getDriver(), homePageL.class); // Page Factory\n\t ctap = new catalogueTestAutomationPage();\n }", "title": "" }, { "docid": "11d1465ea1bdf52ab1925aeeef747e9d", "score": "0.58751017", "text": "public Home() {\n\t\tsuper();\n\t\t// TODO Auto-generated constructor stub\n\t}", "title": "" }, { "docid": "36f9b9784377ea0a834713d52e0bc8ac", "score": "0.58592576", "text": "public void setHome(String url)\n\t{\n\t\tmyHome = url;\n\t}", "title": "" }, { "docid": "098212a8d73d1d810c096a42362f61a0", "score": "0.5854877", "text": "@Test\n\tpublic void visitHomepage() {\n\t\ttry {\n\t\t\tdriver.get(uiPath);\n\t\t\tWebElement startGame = driver.findElement(By.id(\"startGame\"));\n\t\t\tWebElement exitGame = driver.findElement(By.id(\"exitGame\"));\n\t\t\tassertEquals(startGame, driver.findElement(By.id(\"startGame\")));\n\t\t\tassertEquals(exitGame, driver.findElement(By.id(\"exitGame\")));\n\t\t} finally {\n\t\t\tdriver.quit();\n\t\t}\n\t}", "title": "" }, { "docid": "86a7b25a29439c5adadb1ea9b049c9d0", "score": "0.58519596", "text": "public HomePage(AndroidDriver<AndroidElement> driver) {\r\n\t\t// Initialize all elements with driver\r\n\t\tPageFactory.initElements(new AppiumFieldDecorator(driver), this);\r\n\t}", "title": "" }, { "docid": "dacce733829d6bd0c56c22c9540bfc46", "score": "0.58482146", "text": "public HomePage(WebDriver driver) {\n super(driver);\n }", "title": "" }, { "docid": "dbcfec39c9ccba4005ad51df297b3b13", "score": "0.58472097", "text": "public Home(WebDriver driver)\r\n\t{\r\n\t\tthis.driver = driver;\r\n\t\tPageFactory.initElements(driver, this);\r\n\t}", "title": "" }, { "docid": "2f26cb1c45afff306d3cba7bc7b543b2", "score": "0.58344424", "text": "protected abstract String getFrontPageUrl();", "title": "" }, { "docid": "97ab6ea286168fc6e6b661ed2cc46a69", "score": "0.58302635", "text": "public void goToHomePage()\r\n {\r\n Intent intent = new Intent(this, HomeActivity.class);\r\n startActivity(intent);\r\n }", "title": "" }, { "docid": "2bc0dbe996cc89608042aa0fbbb929fe", "score": "0.5827949", "text": "@Test(description = \"TC002\")\r\n\tpublic void getMenuItems() {\r\n\t\t\r\n\t\tHomePage homePage = new HomePage(driver);\r\n\t\t\t\t\r\n\t}", "title": "" }, { "docid": "47dfb9593dac518c2f61c31ef650bf84", "score": "0.58276474", "text": "public static void basePage() {\n\t\tSystem.out.println(\"basepage constructor\");\n//\t\tString absPath = new File(\"\").getAbsolutePath();\t\t\n//\t\tSystem.setProperty(\"webdriver.chrome.driver\", absPath + \"//webdrivers//chromedriver\");\n//\t\twait = new WebDriverWait(driver, 10);\n//\t\tdriver = new ChromeDriver();\n//\t\tlandingPageURL = \"localhost:8080\";\n\t}", "title": "" }, { "docid": "dbc8305720e7610af227f8dc9c45895a", "score": "0.5818029", "text": "@BeforeMethod\n public void before() {\n HomePage homePage = PageFactory.initElements(driver, HomePage.class);\n homePage.ir(driver);\n homePage.waiting(driver);\n }", "title": "" }, { "docid": "e72c5533c9ddd5afe34f3f0bccf67451", "score": "0.58151066", "text": "public HomepageItem getHomepageItems() {\n HomepageItem homepageItems = new HomepageItem();\n\n homepageItems.setNewsAndAdviceText(homeItem.get(1).findElement(By.cssSelector(\"h4\")).getText());\n homepageItems.setStudentsText(homeItem.get(2).findElement(By.cssSelector(\"strong\")).getText());\n homepageItems.setITFinanceText(homeItem.get(3).findElement(By.cssSelector(\"strong\")).getText());\n homepageItems.setLetRecruitersFindYouText(homeItem.get(4).findElement(By.cssSelector(\"h4\")).getText());\n homepageItems.setFeaturedCompaniesText(homeItem.get(5).findElement(By.cssSelector(\"h4\")).getText());\n homepageItems.setPollText(homeItem.get(6).findElement(By.cssSelector(\"h4\")).getText());\n homepageItems.setEditorsPicksText(homeItem.get(7).findElement(By.cssSelector(\"h4\")).getText());\n\n return homepageItems;\n }", "title": "" }, { "docid": "00c409050390aff0351c3e6714f03ab9", "score": "0.5806091", "text": "public HomePage() {\n preference.changeUI();\n initComponents();\n dateAndDay();\n labelDate.setText(currentDate);\n labelDay.setText(currentDay);\n refreshTable(); // Set Database data\n setIconImage(Toolkit.getDefaultToolkit().getImage(getClass().getResource(\"/Images/DTS-icon.png\")));\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "b0a8d7ac71e4dc88613019719c0fb8e2", "score": "0.57994527", "text": "@Test\n\t public PGHomePage MenuDetails( ) throws Exception \n\t {\n\t\t /** Launching NBC Website **/\n\t\t if(new PGLaunchNBC(driver).LaunchNBC())\n\t\t {\n\t\t\t Assert.assertTrue(true,\"NBC Logo is visible.\");\n\t\t\t \n\t\t }\n\t\t else\n\t\t {\n\t\t\t Assert.assertFalse(false,\"NBC Logo is not visible.\");\n\t\t }\n\t\t \n\t\t Synchronization.waitForPageLoad(driver);\n\t\t \n\t\t lstObject=db.getTestDataObject(\"Select * from HomePage\",\"ObjectRepository\"); //Reading Object from HomePage Sheet\n\t\t \n\t\t lstTestData=db.getTestDataObject(\"Select * from HomePage where Menu IS NOT NULL\",\"Input\"); //Reading Test Data from HomePage Sheet\n\t\t\n\t\t try {\n\t\t\t\tscreenshotExtension=Extent_Reports.getScreenshot(driver); //Initializing Screenshot Object\n\t\t\t} catch (Exception exc) {\n\t\t\t\t\n\t\t\t\tExtent_Reports.executionLog(\"FAIL\",exc.getMessage(),driver);\n\t\t\t}\n\t\ttry\n\t\t {\n\t\t\tList<WebElement> totalNavigationmenu = Utilities.returnElements(driver,lstObject.get(2),lstObject.get(1)); //Retrieving Object\n\t\t\t\n\t\t\tIterator<WebElement> iter = totalNavigationmenu.iterator();\n\t\t \n\t\t\twhile(iter.hasNext()) \n\t\t\t{\n\t\t\t\tWebElement we = iter.next();\n\t\t\t\tfor ( iLoop = 0; iLoop < lstTestData.size();iLoop++) \n\t\t\t\t{\n\t\t\t\t\tif (lstTestData.get(iLoop).equalsIgnoreCase(we.getText()))\n\t\t\t\t\t{\n\t\t\t\t\t\t\n\t\t\t\t\t\tAssert.assertEquals(lstTestData.get(iLoop), we.getText(),\"Expected Navigation Link is available.\");\n\t\t\t\t\t\tExtent_Reports.executionLog(\"PASS\", Extent_Reports.logExpected + \"Menu:\"+ lstTestData.get(iLoop) +Extent_Reports.logActual + \"Menu:\"+we.getText(),driver);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t}\n\t\t \n\t\t\t}\n\t\t }\n\t\t catch(Exception exc)\n\t\t {\n\t\t\t\tExtent_Reports.executionLog(\"FAIL\",exc.getMessage(),driver);\n\n\t\t }\n\t//\tdriver.close();\n\t\treturn null;\n\t\n\t}", "title": "" }, { "docid": "5f5af74d30af01558cc11a9de0312c26", "score": "0.5788489", "text": "public FoxyMainPage() {\n //super();\n //this.isAuthorize(MENU_CODE);\n }", "title": "" }, { "docid": "2cb19175c1d2ad9ee0634c0547a37db4", "score": "0.57832646", "text": "public String getHomePageTitle() {\r\n\t\treturn getPageTitle();\r\n\r\n\t}", "title": "" }, { "docid": "d97a43e87d3042198b20e618e53688ca", "score": "0.5780029", "text": "public static void main(String[] args) {\n\t\t\n\t\tHomePage obj = new HomePage();\n\t\tobj.getURL();\n\t\tobj.getText();\n\t\t\n\n\t}", "title": "" }, { "docid": "2aff46f629c432ea288f026adf2c6392", "score": "0.57798046", "text": "public String getHomeTitle(){\t\t\n\t\treturn driver.getTitle();\n\t}", "title": "" }, { "docid": "e6d6ac73782f3bf5fb38a2d8452f26f1", "score": "0.57680875", "text": "@SuppressWarnings(\"squid:S3366\")\r\n public HomePage(final BaseConfig baseconfig) {\r\n this.baseconfig = baseconfig;\r\n PageFactory.initElements(baseconfig.getBaseDriver(), this);\r\n commonUtils = new CommonUtils(baseconfig);\r\n LOGGER.info(\"Constructor initialize in Generate Production Order class\");\r\n }", "title": "" }, { "docid": "0de1d09ee7b92f34cca7023fb96f6f1f", "score": "0.57663894", "text": "@Test(enabled = true)\n\tpublic void TemporaryMethod_HomePage2() {\n\t\tLoginPasswordPage LoginPasswordPage = new LoginPasswordPage();\n\t\tWebDriver driver = LoginPasswordPage.TemporaryMethod_LoginPasswordPage();\n\t\tPageFactory.initElements(driver, this);\n\t\twaitTime(3000);\n\t\tHighLight_Element(driver, obj_UserName);\n\t\tHighLight_Element(driver, obj_LogOut);\n\t}", "title": "" }, { "docid": "bb00528e9340e8f5aba504c00c940c3f", "score": "0.5763265", "text": "public void setHomepage(String v) \n {\n \n\n\n if (!ObjectUtils.equals(this.homepage, v))\n {\n this.homepage = v;\n setModified(true);\n }\n\n \n }", "title": "" }, { "docid": "0da98cb1a68618e3fa9d759397712f0a", "score": "0.57457227", "text": "public void setHomeUrl(String url) {\n\t\tthis.homeUrl = url;\n\t}", "title": "" }, { "docid": "5bc059d0bf295498ae7fc394ec9f97c5", "score": "0.57448965", "text": "@Given(\"user is on home page\")\r\n\tpublic void user_is_on_home_page() {\n\t System.out.println(\"Inside Step - user is on home page\");\r\n\t String projectPath=System.getProperty(\"user.dir\");\r\n\t \r\n\t System.out.println(\"Projectpath is \"+projectPath);\r\n\t \r\n\t \r\n\t System.setProperty(\"webdriver.chrome.driver\",projectPath+\"/src/test/resources/drivers/chromedriver.exe\");\r\n\t driver = new ChromeDriver();\r\n\t \r\n\t driver.manage().timeouts().implicitlyWait(Duration.ofSeconds(30));\r\n\t driver.manage().timeouts().pageLoadTimeout(Duration.ofSeconds(30));\r\n\t\t\r\n\t \r\n\t}", "title": "" }, { "docid": "dddb4572e2ea6e136f81915b4d609cd0", "score": "0.57306165", "text": "String getHomeUrl();", "title": "" }, { "docid": "2eb7104391edac2f13d85eb85860a5d7", "score": "0.5722909", "text": "@Given(\"open home page url\")\n\tpublic void open_home_page_url() {\n\t\t JavascriptExecutor js = (JavascriptExecutor) driver;\n\t\t js.executeScript(\"scroll(0,300)\");\n\t}", "title": "" }, { "docid": "13c7ae19b72b77fa02304992af6c0b26", "score": "0.5720691", "text": "public void toMyStorePage() {\n\t\texplicitWaitClickable(homeBtn);\n\t\t// sleep(500);\n\t\tclick(homeBtn);\n\t}", "title": "" }, { "docid": "038a9365c83c5d265debae844a2e5e63", "score": "0.5712898", "text": "public Vector getHomePages() {\n return homePages;\n }", "title": "" }, { "docid": "e826f905828d1a88ce16c5da6f51d26a", "score": "0.5703593", "text": "@Test\n public void enterStore() throws InterruptedException {\n\t System.setProperty(\"webdriver.chrome.driver\", \"chromedriver.exe\");\n\t\tWebDriver driver = new ChromeDriver();\n\t\tdriver.manage().window().maximize();\n\t\tString URL = HomePage.MainUrl;\n\t\tdriver.get(URL);\n\t\tHomePage.getMainUrl(driver);\n\t\tHomePage.enterStore(driver);\n\t\tSoftAssert test = new SoftAssert();\n\t\ttest.assertEquals(driver.getCurrentUrl(), HomePage.HomePage_Url);\n\t\ttest.assertAll();\n\t\tThread.sleep(2000);\n\t\tdriver.close();\n\t\t\n }", "title": "" }, { "docid": "2655b58e26e469e1b913a8e0ce9691e1", "score": "0.570253", "text": "public void goToUserHomepage() {\n clickOnButton(driver.findElement(USER_HOMEPAGE_ELEMENT));\n System.out.println(\"Loading User Homepage...\");\n }", "title": "" }, { "docid": "8d7dd2f1dfe023a9990071d04c40f880", "score": "0.5693358", "text": "@Override\n public String getPageTitle() {\n\tUI current = UI.getCurrent();\n\tLocale locale = current.getLocale();\n\treturn getTranslation(AppTitleMsg.APP_TITLE_HOME, locale);\n }", "title": "" }, { "docid": "5c8ec6be967024c2ac5158a1494d66fc", "score": "0.56912965", "text": "@BeforeMethod\n\tpublic void setUp() {\n\t\tinitialization();\n\t\ttestUtil = new TestUtil();\n\t\t// contactsPage = new ContactsPage();\n\t\t// loginPage = new LoginPage();\n\t\tchainsCatalogue=new ChainsCataloguePage();\n\t\thomePage = new HomePage();\n\t\t\n\t}", "title": "" }, { "docid": "e597f24fb6a053f5faebc5b8e405da16", "score": "0.5690261", "text": "public LoginPage clickLoginlinkinHomePage()\r\n\t{\n\t\tSystem.out.println(\"Login clicked and naviageted to login page\");\r\n\t\treturn new LoginPage(driver);\r\n\t}", "title": "" }, { "docid": "ff82b8f37a685065996da3d15680494e", "score": "0.56733185", "text": "public HotelsPage getHotelsPageObj()\n {\n HotelsPage hotelsPage = new HotelsPage();\n return hotelsPage;\n }", "title": "" }, { "docid": "0b3930c45abf49482719890fc3dbde8e", "score": "0.5673087", "text": "private void setHomepageButtons(ProfGUI pg) {\n\t\tpg.getProfCoursePagePanel().setHomepageButtonListener(new CardChangerListener(\"PROFHOMEPAGE\"));\n\t\tpg.getViewStudentsPanel().setHomepageButtonListener(new CardChangerListener(\"PROFHOMEPAGE\"));\n\t\tpg.getProfAssignmentPanel().setHomepageButtonListener(new CardChangerListener(\"PROFHOMEPAGE\"));\n\t\tpg.getEmailPage().setHomepageButtonListener(new CardChangerListener(\"PROFHOMEPAGE\"));\n\t\tpg.getDropboxPage().setHomepageButtonListener(new CardChangerListener(\"PROFHOMEPAGE\"));\n\t}", "title": "" }, { "docid": "df01d0a282e66dfa62be1fba412749fc", "score": "0.5667655", "text": "public adminHome() {\n initComponents();\n }", "title": "" }, { "docid": "61a4296e6ceb8eaa29b39d52757d2b5b", "score": "0.56672764", "text": "@RequestMapping(value=\"/home\", method = RequestMethod.GET)\n\t\tpublic ModelAndView home() {\n\t\t ModelAndView mav = new ModelAndView(\"home\");\n\t\treturn mav;\n\t\t}", "title": "" }, { "docid": "b744325c1d4ec0df4771cd814dce58ae", "score": "0.56606984", "text": "@Given(\"^I am on Darksky home page$\")\n public void iAmOnDarkskyHomePage() {\n }", "title": "" }, { "docid": "b5a3928e5d8860f50857449721daa97f", "score": "0.5650999", "text": "private void gotoHome(){\n }", "title": "" }, { "docid": "e5cba98b0f2b280c2e2798be93e997e4", "score": "0.5629173", "text": "HtmlPage configPage();", "title": "" } ]
3527e1773ecd4633e0a08103e39c0e1c
Write your code here
[ { "docid": "0b88b04fe715977532608da95d06b03c", "score": "0.0", "text": "public static List<String> weightedUniformStrings(String s, List<Integer> queries) {\n List<String> result = new ArrayList<>();\n List<Integer> weight = new ArrayList<>();\n Set<Character> uniqueChars = new HashSet();\n for(int i = 0; i<s.length(); i++) {\n uniqueChars.add(s.charAt(i));\n }\n\n String alpha = \"abcdefghijklmnopqrstuvwxyz\";\n HashMap<Character, Integer> charNumMap = new HashMap<>();\n\n for(int i=0; i< alpha.length(); i++){\n charNumMap.put(alpha.charAt(i), i+1);\n }\n\n HashMap<Character, Integer> charCount = new HashMap<>();\n\n uniqueChars.forEach(i -> {\n int count = 0;\n for(int j =0; j<s.length(); j++){\n if(i == s.charAt(j)){\n count++;\n }\n }\n charCount.put(i, count);\n count=0;\n\n });\n charCount.forEach((key, value) -> {\n for(int i=1; i<= value; i++){\n weight.add(charNumMap.get(key)*i);\n }\n });\n\n for(int i=0; i<queries.size(); i++){\n if(weight.contains(queries.get(i))){\n result.add(\"YES\");\n }\n else {\n result.add(\"NO\");\n }\n }\n\n return result;\n\n\n\n }", "title": "" } ]
[ { "docid": "15866a7b08117c65b3998c597de3cb1f", "score": "0.6216996", "text": "public void writeVeryComplicatedCode() {\n }", "title": "" }, { "docid": "0f4b3e53e6cc56e2f5b6bb08baeddbb0", "score": "0.6077695", "text": "private static void logic() {\n }", "title": "" }, { "docid": "6750be75bde4378f891ef232ce154af6", "score": "0.5976876", "text": "@Override\r\n\tprotected void doAnything() {\n\t\t\r\n\t}", "title": "" }, { "docid": "680a0d25967a28e3b7a6643d55703105", "score": "0.59482086", "text": "public void contaaordem() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2698e2df29a24b9998ee11e61625c8a0", "score": "0.59465075", "text": "private void method() {\n\t\t\t}", "title": "" }, { "docid": "81758c2988d9979c7d4b3fd5b3cce0e5", "score": "0.59341395", "text": "@Override\r\n\tpublic void pular() {\n\r\n\t}", "title": "" }, { "docid": "1de1d91c192888f0e3a70817cbf900e2", "score": "0.5885173", "text": "protected static void prueba() {\n\t\t\n\t}", "title": "" }, { "docid": "35e5940d13f06d1f0d6a21cf2739c70a", "score": "0.58848196", "text": "public function() {}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.58741415", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "4bcb97244e9c8f36b7e8f5921db971d9", "score": "0.5871379", "text": "@Override\n\tprotected void hienThiThongTin() {\n\n\t}", "title": "" }, { "docid": "03dd0e2a869f00d936d631b73dfdcc3c", "score": "0.5863964", "text": "@Override\r\n\tpublic void chonglang() {\n\t\t\r\n\t}", "title": "" }, { "docid": "39da14b1f6e1adac9c0b748811e78b68", "score": "0.5860149", "text": "public void mo12645zl() {\n }", "title": "" }, { "docid": "c4efc9f9911178a27ec9261384d5f141", "score": "0.5854137", "text": "public void mo12644zk() {\n }", "title": "" }, { "docid": "5d259e9a9ed31ac29902b25db191acd1", "score": "0.58277404", "text": "@Override\n\tpublic void bewegen() {\n\t\t\n\t}", "title": "" }, { "docid": "e5ed4f779565d3748189df979cb5e709", "score": "0.5800719", "text": "void doYourHomework(){\n }", "title": "" }, { "docid": "065c64597087fbe72812d55d26061060", "score": "0.5781957", "text": "@Override\n\tpublic void logic() {\n\t\t\n\t}", "title": "" }, { "docid": "0f6ef84eda4aca388485f31ef7548685", "score": "0.57742894", "text": "public void contapoupanša() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5c8e848472fb111129ff96ea7e3eea3d", "score": "0.5771935", "text": "@Override\n public void pintar() {\n \n }", "title": "" }, { "docid": "ee0f5f270c3e0eea9f37c3d1e42b1161", "score": "0.57458615", "text": "public void mo12736g() {\n }", "title": "" }, { "docid": "9991c9aa8df7498abfa808c6646f14c4", "score": "0.572509", "text": "public void codeGen() { }", "title": "" }, { "docid": "ad9f697e273b88c4b3c7bd3458c30f50", "score": "0.570584", "text": "public static void giveIntro() {\n\t // your code\n\t }", "title": "" }, { "docid": "3879f8825b5176d9a653a3079d877d43", "score": "0.5662966", "text": "public static void main(String[] args) {\n\n Scanner scanner = new Scanner(System.in);\n int myAge = scanner.nextInt();\n\n // code Start here don't change before this line\n\n if (myAge <= 10){\n System.out.println(\"too young to create a Facebook account\");\n }else if (myAge <= 16){\n System.out.println(\"too young to get a driver's license\");\n }else if (myAge <= 18){\n System.out.println(\"too young to get a tattoo\");\n }else if (myAge <= 21 ){\n System.out.println(\"too young to drink alcohol\");\n }else{\n System.out.println(\"do what ever you want to do\");\n }\n\n }", "title": "" }, { "docid": "ef8bc7ae2b28cff81616fcb0ed1a0325", "score": "0.5652958", "text": "public void output(){\r\n // pilihan untuk keluar atau lanjut\r\n \r\n }", "title": "" }, { "docid": "063358a42c753115736979629c1e4673", "score": "0.5650976", "text": "@Override\r\n\tpublic void demo() {\n\r\n\t}", "title": "" }, { "docid": "9c8b8986ea0128d182cff7cd12f363f1", "score": "0.5650089", "text": "@Override\r\n\tpublic void study() {\n\t\tSystem.out.println(\"ÎÒҪѧϰPHP¿Î³Ì£¡\");\r\n\t}", "title": "" }, { "docid": "86873ab379d889d031cbc486bf7ee4a4", "score": "0.56029916", "text": "private void cierrecontable(){\n }", "title": "" }, { "docid": "60d367804b22f56bfb219938e6f229ce", "score": "0.5597936", "text": "@Override\n\tpublic void function() {\n\t\t\n\t}", "title": "" }, { "docid": "1283662453dd2aabe5dd94937e3e22f5", "score": "0.55922717", "text": "private void utworzAkcje() {\n }", "title": "" }, { "docid": "118f2b8a20f48999973063ac332d07d3", "score": "0.5583387", "text": "@Override\r\n\t\t\tpublic void atras() {\n\r\n\t\t\t}", "title": "" }, { "docid": "15c9cae08ae101b3a04f9ff3b519ae04", "score": "0.55698884", "text": "public void mo8316a() {\n }", "title": "" }, { "docid": "52796605f7f7baa7158a293c5b2650aa", "score": "0.5567473", "text": "private void method() {\n\t\t}", "title": "" }, { "docid": "716efc40735d73f71c95e18c33f2e9b2", "score": "0.55633414", "text": "void execute() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "3faa0b01fbed0c6d586174c555e53f12", "score": "0.55609417", "text": "@Override\n\tpublic void Engine() {\n\t\tSystem.out.println(\"Engine features of Hyundai !\");\n\t\tSystem.out.println(\"5.) Engine 1200 CC.\");\t\t\n\t}", "title": "" }, { "docid": "8436022dbd33301a64633011031cfa7b", "score": "0.5543504", "text": "protected void filtrarHoyDDPF() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b9b1accefb9dfdc03434ea65ec63d306", "score": "0.5532336", "text": "private void drow() {\n\t\t\n\t}", "title": "" }, { "docid": "9e048792611ef3e0ef5d7b916aa1a7e2", "score": "0.55311906", "text": "private void Data() {\n\r\n\t}", "title": "" }, { "docid": "473f27583fe535ea06934046f9cf391c", "score": "0.5514737", "text": "@Override\n protected void execute() {\n \n }", "title": "" }, { "docid": "f5a32bcc258723c66b024ca08e01604f", "score": "0.5513984", "text": "@Override\n\t\t\tpublic void run() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "f5a32bcc258723c66b024ca08e01604f", "score": "0.5513984", "text": "@Override\n\t\t\tpublic void run() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "d0a79718ff9c5863618b11860674ac5e", "score": "0.55075884", "text": "@Override\n\tpublic void comer() {\n\n\t}", "title": "" }, { "docid": "6db196fe12df2040e890be66656ff251", "score": "0.550363", "text": "@Override\n\tprotected void execute() {\n\t\t\n\t}", "title": "" }, { "docid": "6db196fe12df2040e890be66656ff251", "score": "0.550363", "text": "@Override\n\tprotected void execute() {\n\t\t\n\t}", "title": "" }, { "docid": "6db196fe12df2040e890be66656ff251", "score": "0.550363", "text": "@Override\n\tprotected void execute() {\n\t\t\n\t}", "title": "" }, { "docid": "3e9c4de332bfb94422f785054fa63ada", "score": "0.54950726", "text": "@Override\r\n\tpublic void limpiar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a56ce606ea5cc945279ea9725eed5272", "score": "0.548631", "text": "@Override\n\tpublic void alearga() {\n\t\t\n\t}", "title": "" }, { "docid": "81e972d5f73d3084f51b723de3647ac4", "score": "0.5484141", "text": "@Override\n\tpublic void doAnything() {\n\t\t\n\t}", "title": "" }, { "docid": "1953c78f4251246708e71a58f3665c28", "score": "0.5473651", "text": "public void mo16482c() {\n }", "title": "" }, { "docid": "ca4ed0e30bba02c89bec41e5c47c0136", "score": "0.5459608", "text": "@Override\n\tpublic void run() {\n\t\t\n\t\n\t\t\n\t\n\t\t\n\t\n\t\t\n\t}", "title": "" }, { "docid": "85b25c664df01fd0b02e103c9bbc8372", "score": "0.54544765", "text": "@Override\r\n\tpublic void arreter() {\n\r\n\t}", "title": "" }, { "docid": "0649a609e65f50430ea17a11110f63db", "score": "0.54502004", "text": "protected void execute() {\n\t\t\n\t}", "title": "" }, { "docid": "d6d75432f50fcf22c3834bdfb660cd26", "score": "0.5446211", "text": "@Override\n public void use(){\n \n }", "title": "" }, { "docid": "66bdc82f9e0364b33b01c06756d91863", "score": "0.5440752", "text": "private void ucitajDriver() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ef8c13365895705ddbaa9b51389c2443", "score": "0.5432925", "text": "protected void tell_them(){}", "title": "" }, { "docid": "9ce3a5b1cc8316c195c1794f5cc0d01c", "score": "0.54224503", "text": "static void SampleItinerary()\n {\n\tSystem.out.println(\"\\n ***Everyone piles on the boat and goes to Molokai***\");\n\tbg.AdultRowToMolokai();\n\tbg.ChildRideToMolokai();\n\tbg.AdultRideToMolokai();\n\tbg.ChildRideToMolokai();\n }", "title": "" }, { "docid": "9ce3a5b1cc8316c195c1794f5cc0d01c", "score": "0.54224503", "text": "static void SampleItinerary()\n {\n\tSystem.out.println(\"\\n ***Everyone piles on the boat and goes to Molokai***\");\n\tbg.AdultRowToMolokai();\n\tbg.ChildRideToMolokai();\n\tbg.AdultRideToMolokai();\n\tbg.ChildRideToMolokai();\n }", "title": "" }, { "docid": "09badae030cca9913c90b8636b2b526b", "score": "0.5419421", "text": "@Override\n public void engagement() {\n }", "title": "" }, { "docid": "4091cf005c4c28b133cd303967237af0", "score": "0.54125214", "text": "public static void test(){\n\t\t\r\n\t}", "title": "" }, { "docid": "d47142a9d0f1dec25ff1ee3db4618961", "score": "0.5408496", "text": "@Override\r\n\tprotected void execute()\r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "a158972c21854b3252ed90c553ae9e01", "score": "0.540559", "text": "void mo31913c();", "title": "" }, { "docid": "b9936bc3db0ac97ae50d7643a27379b4", "score": "0.54014504", "text": "@Override\n\tpublic void intercourse() {\n\n\t}", "title": "" }, { "docid": "8bf8511f65e0c2b04c8bd3242cfd3d0d", "score": "0.53956586", "text": "public void mo25201a() {\n }", "title": "" }, { "docid": "35eb0c3dd144d365e08ce389906c5f96", "score": "0.5391995", "text": "@SuppressLint(\"InlinedApi\")\r\n @Override\r\n public void run() {\r\n }", "title": "" }, { "docid": "397fa748b2d21cbc0b7a654e75c530b6", "score": "0.5383337", "text": "public static void main(String[] args) {\n\n aaaaa();\n // purchasePlan();\n\n\n /*excel();*/\n }", "title": "" }, { "docid": "e8868463a89178c883ee18ebd43b8a61", "score": "0.538013", "text": "public final void mo34057y() {\n }", "title": "" }, { "docid": "eb65a57bcae1971078950998abb7090f", "score": "0.53773284", "text": "@Override\n\tpublic void potenciar() {\n\t\t\n\t}", "title": "" }, { "docid": "166678195f66702eab36b551ed9f41a5", "score": "0.53697443", "text": "private void diy() {\n // TODO Auto-generated method stub\n }", "title": "" }, { "docid": "23d32e184a88bab31671010c45922a93", "score": "0.53622794", "text": "private void inic() {}", "title": "" }, { "docid": "1abb2d33daeea43ab5d53eadf3b99e92", "score": "0.5362021", "text": "@Override\n public void execute() {\n \n }", "title": "" }, { "docid": "777efb33041da4779c6ec15b9d85097c", "score": "0.5349988", "text": "@Override\r\n\tpublic void attaque() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9d4a40f4886155fee3d61ff00c43a1d8", "score": "0.53466254", "text": "@Override\r\n\tvoid status() {\n\t\tSystem.out.println(\"Engine is good\");\r\n\t\t\r\n\t}", "title": "" }, { "docid": "42de99882a18664f103030f241019fac", "score": "0.53453934", "text": "@Override\n\t\t\tprotected void onPreExecute() {\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "8ece597bdfee5a053d5086e7dc982d0b", "score": "0.53436387", "text": "public void mo47860a() {\n }", "title": "" }, { "docid": "122fd771f9df91706a3f3e97830867f2", "score": "0.5340891", "text": "@Override\n\tpublic void content() {\n\t\t\n\t}", "title": "" }, { "docid": "b90019334af427582237b47d6785cb8d", "score": "0.5338446", "text": "@Override\n\tprotected void processLogic() {\n\n\t}", "title": "" }, { "docid": "b46a4282f2416d8b0c8ecbdd64bad3c1", "score": "0.53347266", "text": "public void mo1618a() {\n }", "title": "" }, { "docid": "accb418584e7479cc7a59ab2b24435b0", "score": "0.5334308", "text": "@Override\r\n\tpublic void goFast() {\r\n\t\t// TODO Auto-generated method stub\r\n\r\n\t}", "title": "" }, { "docid": "2cc97f340071c93ab12395f2981731ee", "score": "0.53318524", "text": "public void mo25307b() {\n }", "title": "" }, { "docid": "faf0058c55116bb45ab2a6bf968ab8c7", "score": "0.53301585", "text": "@Override\r\n\t\t\tpublic void run() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "2db3f17285406dadd701f15923363cd1", "score": "0.53284174", "text": "@Override\r\n\tpublic void action()\r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "7464123b5004e5355e0ce0496e1e9181", "score": "0.53223443", "text": "@Override\n protected void execute() {\n \n }", "title": "" }, { "docid": "df89b968807fade64158ed6c7401bc7a", "score": "0.53204775", "text": "@Override\r\n\tpublic void afficher() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d87000313f7b5075ec45a2b0ee7df323", "score": "0.5317691", "text": "@Override\r\n\tprotected void location() {\n\t\t\r\n\t}", "title": "" }, { "docid": "550a5213ed2d610688e65412e41e8c2c", "score": "0.53160167", "text": "private void asientoManual(){\n }", "title": "" }, { "docid": "0b812af084ac0cb033ab904c49294fed", "score": "0.5313925", "text": "public void mo25703a() {\n }", "title": "" }, { "docid": "4fb3de7b15b834516ada521fe6036c4d", "score": "0.53122556", "text": "public void mo2541a() {\n }", "title": "" }, { "docid": "5eebcc2947c1a4fcb19a893fec1786a0", "score": "0.53097516", "text": "public void review() {\n\r\n\t}", "title": "" }, { "docid": "d543549ae3bda78b4ea214b5f19cdbcd", "score": "0.5309003", "text": "public void boutonOkAppuye() {\n }", "title": "" }, { "docid": "d12c6f47c849e8e832a548f643b62ac5", "score": "0.5308043", "text": "static void SampleItinerary() {\n\t\tSystem.out\n\t\t\t\t.println(\"\\n ***Everyone piles on the boat and goes to Molokai***\");\n\t\tbg.AdultRowToMolokai();\n\t\tbg.ChildRideToMolokai();\n\t\tbg.AdultRideToMolokai();\n\t\tbg.ChildRideToMolokai();\n\t\t}", "title": "" }, { "docid": "52f9cc13f25bd854aaf783d82fd69e2c", "score": "0.5307998", "text": "void mo1251s();", "title": "" }, { "docid": "f5e1ae3a4d039b7d4764c4cf2b016a8e", "score": "0.5306233", "text": "public void customMethods() {\n }", "title": "" }, { "docid": "ad75e4c77a9941a1cd07239b91d65f37", "score": "0.5305318", "text": "public void mo35955d() {\n }", "title": "" }, { "docid": "1f2d8172e3b9a5cba0bf6b554ce5cd4d", "score": "0.5300102", "text": "public void mymethod() {\n\t\tSystem.out.println(\"Patel Akash\");\n\t}", "title": "" }, { "docid": "6b0e2e41d411b76c357d16b3eb3a159c", "score": "0.52967894", "text": "protected abstract void entschuldigen();", "title": "" }, { "docid": "f49c78f75d453eb0d4ee820eb571edec", "score": "0.5292492", "text": "private void limpaCampos() {\n }", "title": "" }, { "docid": "ee6eb11e5c71484f0468968e78d2b7d8", "score": "0.5291833", "text": "public void mo477b() {\n }", "title": "" }, { "docid": "f5c1dda9eb831c574ceb86d7f68bc102", "score": "0.5290617", "text": "public void run() {\n\t\t\t\t\t\t\t}", "title": "" }, { "docid": "c2d0aa150597e51f72cb1208aee42129", "score": "0.5289999", "text": "private void efface() \n\t{\n\t\t\n\t}", "title": "" }, { "docid": "2fde870b51b7d9ea45f3ef153f5e146e", "score": "0.5288978", "text": "private void descuentos(){\n }", "title": "" }, { "docid": "655864b1e4cb977491d3437f4cf2383e", "score": "0.5287794", "text": "protected void execute() \n {\n \n }", "title": "" }, { "docid": "dd33c77673d942c12dc78c4ab28caea3", "score": "0.5285353", "text": "@Override\r\n\tpublic void combattre() {\n\t\t\r\n\t}", "title": "" }, { "docid": "07779d53803dc6875c03bdee2e1afeb5", "score": "0.52831566", "text": "@Override\n public void ordenar() {\n }", "title": "" } ]
41124109937d16a76c8f108e9e7be537
string traveler_id = 8;
[ { "docid": "9523804a5afdc0b1ba6ed0fa3e1bd885", "score": "0.6547693", "text": "public java.lang.String getTravelerId() {\n java.lang.Object ref = travelerId_;\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 travelerId_ = s;\n return s;\n }\n }", "title": "" } ]
[ { "docid": "2bcd058e0fcd82693a3792e9d2cdbe48", "score": "0.6511103", "text": "public java.lang.String getTravelerId() {\n java.lang.Object ref = travelerId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n travelerId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "b6aec0fae0112968429879070b683273", "score": "0.6248838", "text": "java.lang.String getRideId();", "title": "" }, { "docid": "85180a654f024b6524a7c0cbe538688f", "score": "0.6197735", "text": "public com.google.protobuf.ByteString\n getTravelerIdBytes() {\n java.lang.Object ref = travelerId_;\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 travelerId_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "58facba08a50613ee19ee041994b5aa8", "score": "0.61261356", "text": "java.lang.String getLocationId();", "title": "" }, { "docid": "58facba08a50613ee19ee041994b5aa8", "score": "0.61261356", "text": "java.lang.String getLocationId();", "title": "" }, { "docid": "cbd7f2a4254bc7c3c796cceb520ca087", "score": "0.6095556", "text": "public com.google.protobuf.ByteString\n getTravelerIdBytes() {\n java.lang.Object ref = travelerId_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n travelerId_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "44029fa6ebf26b91d202fc3f390365ee", "score": "0.60944957", "text": "int getId(String value);", "title": "" }, { "docid": "9f8f17276a935c7e74dee87c179c8ec7", "score": "0.60457444", "text": "public Builder setTravelerId(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n travelerId_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "620d1beac83114675fe82c926fe861ef", "score": "0.59907246", "text": "int getID(String wordString);", "title": "" }, { "docid": "c35f82a3e1ef360592e0c4ade18d20ef", "score": "0.59338933", "text": "public String getDrone_Id() {\n String result = \"\";\n for (int i = 0; i < 24; i++) {\n if (drone_ID[i] != 0)\n result = result + (char) drone_ID[i];\n else\n break;\n }\n return result;\n\n }", "title": "" }, { "docid": "3de8bfb236a28a9d2e728b13b0153508", "score": "0.59103173", "text": "String getSofaID();", "title": "" }, { "docid": "3de8bfb236a28a9d2e728b13b0153508", "score": "0.59103173", "text": "String getSofaID();", "title": "" }, { "docid": "7d8c4611460de9d5f2b0e75a9f748ba3", "score": "0.587853", "text": "public String getFlightID(){\r\n return flightID;\r\n }", "title": "" }, { "docid": "b4ea8a5a0058ec9279db73a6a0ad0080", "score": "0.58521307", "text": "private String getVehicleTypeId(String s) {\n String mVehicleTypeId = \"\";\n for (int i = 0; i < lookUpVehicleTypeModel.getLookupNames().size(); i++) {\n if (lookUpVehicleTypeModel.getLookUpModels().get(i).getLookupname().equals(s)) {\n mVehicleTypeId = lookUpVehicleTypeModel.getLookUpModels().get(i).getLookupid();\n }\n }\n return mVehicleTypeId;\n }", "title": "" }, { "docid": "86afb023244a441266e407d14b8deef1", "score": "0.58401287", "text": "public void setID(String s) { id = s; }", "title": "" }, { "docid": "c6aeb3a8c2e3eb45c64d65ef35a06168", "score": "0.5732897", "text": "java.lang.String getDealerId();", "title": "" }, { "docid": "feec99f8d9056e13a77601d2d7cd159c", "score": "0.5676717", "text": "java.lang.String getHallId();", "title": "" }, { "docid": "feec99f8d9056e13a77601d2d7cd159c", "score": "0.5676717", "text": "java.lang.String getHallId();", "title": "" }, { "docid": "7fc5728fda448d562ff2221cde866225", "score": "0.56312263", "text": "protected String getLocationid(){ return this.locationid ;}", "title": "" }, { "docid": "634f1fe6d91a7956a48aeaf128de37ec", "score": "0.5609761", "text": "String getID();", "title": "" }, { "docid": "634f1fe6d91a7956a48aeaf128de37ec", "score": "0.5609761", "text": "String getID();", "title": "" }, { "docid": "634f1fe6d91a7956a48aeaf128de37ec", "score": "0.5609761", "text": "String getID();", "title": "" }, { "docid": "634f1fe6d91a7956a48aeaf128de37ec", "score": "0.5609761", "text": "String getID();", "title": "" }, { "docid": "634f1fe6d91a7956a48aeaf128de37ec", "score": "0.5609761", "text": "String getID();", "title": "" }, { "docid": "634f1fe6d91a7956a48aeaf128de37ec", "score": "0.5609761", "text": "String getID();", "title": "" }, { "docid": "9f3a17ceff48cfca3e98d5e212ecd6e1", "score": "0.5606228", "text": "String getAgentId();", "title": "" }, { "docid": "30cb9d0a51958b6dc734971a47630ac4", "score": "0.5581331", "text": "java.lang.String getTournamentId();", "title": "" }, { "docid": "660ccf182de3ea72555c2ba5468a346b", "score": "0.554729", "text": "public static String generarID() {\n BingoDAO bingodao = new BingoDAO();\n String id = \"\";\n int parseID;\n for (BingoVO bingoVO : bingodao.getAll()) {\n \n id = bingoVO.getId();\n\n }\n // Si no hay registros en la tabla que los ponga automaticamente a 0 para poder sumarle 1 posteriormente\n if (id.equalsIgnoreCase(\"\")) {\n id =\"0\";\n }\n parseID = Integer.parseInt(id) + 1;\n id = String.valueOf(parseID);\n\n return id;\n }", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.55459917", "text": "String getId();", "title": "" }, { "docid": "24c5845ce0265d20de601006dd9353d9", "score": "0.5522156", "text": "int getAgentID();", "title": "" }, { "docid": "e403866991815ec23a7cfecdade7e78e", "score": "0.5506536", "text": "public String getTourID() {\r\n\t\treturn tourID;\r\n\t}", "title": "" }, { "docid": "e7622ec13cc7356d1683d25e9532efbd", "score": "0.54760087", "text": "public int getSelecetedTeamId()\n { \n //get selected team and cast it to string example \"2 Sydney ski club\"\n String strTeamText = (String) cboTeam.getSelectedItem(); \n String strTeamId = \"\";\n int intTeamId;\n\n //build string containing the id integer. keep loop until space\n for (int i = 0; i < strTeamText.length(); i++)\n { \n if (strTeamText.charAt(i) == ' ')\n {\n break;\n }\n else\n {\n strTeamId += strTeamText.charAt(i);\n }\n }\n\n //convert to integer\n intTeamId = Integer.parseInt(strTeamId);\n \n return intTeamId;\n }", "title": "" }, { "docid": "1bcc11e7ca4b908ed0713193e239b5d3", "score": "0.5469549", "text": "java.lang.String getId1();", "title": "" }, { "docid": "65020b6424fb0eaba7a885638a53b99c", "score": "0.5466276", "text": "public int getM_Locator_ID() \n{\nInteger ii = (Integer)get_Value(\"M_Locator_ID\");\nif (ii == null) return 0;\nreturn ii.intValue();\n}", "title": "" }, { "docid": "78d8eb2338903098ebeb3b486fccc48d", "score": "0.5453384", "text": "java.lang.String getId2();", "title": "" }, { "docid": "3b88dde3a88537bee3a45c66271bc3dc", "score": "0.54466003", "text": "String getRouteId();", "title": "" }, { "docid": "806af234692d82b991f82b26aaabaf09", "score": "0.54359674", "text": "java.lang.String getId3();", "title": "" }, { "docid": "ae1be798c01d440133b77ad799f813cd", "score": "0.54346734", "text": "String getIdLit();", "title": "" }, { "docid": "9d95a3a8708aca5ae1fb7c466bd87335", "score": "0.5416111", "text": "java.lang.String getAgentId();", "title": "" }, { "docid": "3d6ecfb81868f6de3b1ef84abe2db384", "score": "0.5406892", "text": "protected void setLocationid( String locationid){ this.locationid = locationid;}", "title": "" }, { "docid": "3af1c28be88f35e590034187a194d5b2", "score": "0.5400333", "text": "int getRoomdId();", "title": "" }, { "docid": "9b1b21ef0827553949de62890fd749fc", "score": "0.5390084", "text": "private String getGOId(String uriId){\n return uriId.substring(uriId.length()-7, uriId.length());\n }", "title": "" }, { "docid": "9b9f1e7de1191e600709eb716f3dd580", "score": "0.53681815", "text": "public String getID(){\r\n return \"A-\" + ID;\r\n }", "title": "" }, { "docid": "ce2e72e0c3aacc4f19a9df92bfdbda76", "score": "0.5367919", "text": "public Builder setTravelerIdBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n travelerId_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "c43792dd56a99944fc4333199409feb5", "score": "0.53668004", "text": "java.lang.String getGymId();", "title": "" }, { "docid": "8732d94ceebcb5787f205446d23adf88", "score": "0.5356071", "text": "public String getStationId(String s) {\n return (stationId != CHARNULL ? stationId.replace('\"','\\'') : \"\");\n }", "title": "" }, { "docid": "a8e1e1435efba1e9927536a698a4d1e1", "score": "0.53476495", "text": "String getDungeonId();", "title": "" }, { "docid": "846e631fa2c54eec6325ca1f08e654d5", "score": "0.53456515", "text": "public void setId(String str){\n this.id = str;\n }", "title": "" }, { "docid": "f954d16d52d71f76107766cdd47355eb", "score": "0.5324258", "text": "long getWareid();", "title": "" }, { "docid": "0010ad11dd5b65d574b4e4c08a447509", "score": "0.53181666", "text": "int getBattleId();", "title": "" }, { "docid": "799a8b721d444f1cabfcd672a1ccac6a", "score": "0.5317894", "text": "protected String getStationid(){ return this.stationid ;}", "title": "" }, { "docid": "e231cf7924c46d02e25b1c9864bf964d", "score": "0.530821", "text": "java.lang.String getRoomId();", "title": "" }, { "docid": "e231cf7924c46d02e25b1c9864bf964d", "score": "0.530821", "text": "java.lang.String getRoomId();", "title": "" }, { "docid": "e231cf7924c46d02e25b1c9864bf964d", "score": "0.530821", "text": "java.lang.String getRoomId();", "title": "" }, { "docid": "a1676eb37ea6bc83915ebb13da6a489d", "score": "0.52919614", "text": "String getActivityId();", "title": "" }, { "docid": "9afd59695b9e6159b09de98c232c5cde", "score": "0.5283587", "text": "public java.lang.String getDirectionId(){\r\n return localDirectionId;\r\n }", "title": "" }, { "docid": "9afd59695b9e6159b09de98c232c5cde", "score": "0.5283587", "text": "public java.lang.String getDirectionId(){\r\n return localDirectionId;\r\n }", "title": "" }, { "docid": "9afd59695b9e6159b09de98c232c5cde", "score": "0.5283587", "text": "public java.lang.String getDirectionId(){\r\n return localDirectionId;\r\n }", "title": "" }, { "docid": "ee6b13395700f560d988a523d7f7f327", "score": "0.52762866", "text": "private static Station getInputAsId() {\n String stringToId = new Scanner(System.in).nextLine().toUpperCase();\n for(int i = 0; i < network.getStations().length; i++) {\n if (Objects.equals(network.getStations()[i].id, stringToId)) {\n return network.getStations()[i];\n }\n }\n return null;\n }", "title": "" }, { "docid": "7ac9d47c5ef796452164357659b8e154", "score": "0.5257088", "text": "String identifier();", "title": "" }, { "docid": "c21c93eb9630a5cac8ede0dc564e2beb", "score": "0.52529013", "text": "public String getTempId(String tempString) {\n\t\tString[] temp = tempString.split(\";\");\n\t\treturn temp[0];\n\t}", "title": "" }, { "docid": "b4f24b4b0266b2b4870f22b63f9b962a", "score": "0.52423596", "text": "int getMovieId();", "title": "" }, { "docid": "b4f24b4b0266b2b4870f22b63f9b962a", "score": "0.52423596", "text": "int getMovieId();", "title": "" }, { "docid": "b4f24b4b0266b2b4870f22b63f9b962a", "score": "0.52423596", "text": "int getMovieId();", "title": "" }, { "docid": "b4f24b4b0266b2b4870f22b63f9b962a", "score": "0.52423596", "text": "int getMovieId();", "title": "" }, { "docid": "29be8d714de1abf85849a07b65af4151", "score": "0.52310383", "text": "public void setID(String value) {\n tokenString_ID = value;\n }", "title": "" } ]
a7c3727211766309e85d8ce4d77e180e
$ANTLR end "ruleFeatureCallID" $ANTLR start "entryRuleIdOrSuper" InternalDroneScript.g:1629:1: entryRuleIdOrSuper : ruleIdOrSuper EOF ;
[ { "docid": "86b3c0231747f092796ad0680868863b", "score": "0.8222997", "text": "public final void entryRuleIdOrSuper() throws RecognitionException {\r\n try {\r\n // InternalDroneScript.g:1630:1: ( ruleIdOrSuper EOF )\r\n // InternalDroneScript.g:1631:1: ruleIdOrSuper EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getIdOrSuperRule()); \r\n }\r\n pushFollow(FOLLOW_1);\r\n ruleIdOrSuper();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getIdOrSuperRule()); \r\n }\r\n match(input,EOF,FOLLOW_2); if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n }\r\n return ;\r\n }", "title": "" } ]
[ { "docid": "496045b21ed6326790011eeda4c7e5a4", "score": "0.8002265", "text": "public final void entryRuleIdOrSuper() throws RecognitionException {\r\n try {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:1442:1: ( ruleIdOrSuper EOF )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:1443:1: ruleIdOrSuper EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getIdOrSuperRule()); \r\n }\r\n pushFollow(FOLLOW_ruleIdOrSuper_in_entryRuleIdOrSuper3014);\r\n ruleIdOrSuper();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getIdOrSuperRule()); \r\n }\r\n match(input,EOF,FOLLOW_EOF_in_entryRuleIdOrSuper3021); if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "cc740ca07e8c7ec0147d463afdc56d3b", "score": "0.7981671", "text": "public final void entryRuleIdOrSuper() throws RecognitionException {\n try {\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:1221:1: ( ruleIdOrSuper EOF )\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:1222:1: ruleIdOrSuper EOF\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getIdOrSuperRule()); \n }\n pushFollow(FOLLOW_ruleIdOrSuper_in_entryRuleIdOrSuper2536);\n ruleIdOrSuper();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getIdOrSuperRule()); \n }\n match(input,EOF,FOLLOW_EOF_in_entryRuleIdOrSuper2543); if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "title": "" }, { "docid": "409d4c8179b2b9ebb2bb4db18c937a45", "score": "0.73895717", "text": "public final void rule__IdOrSuper__Alternatives() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDroneScript.g:3297:1: ( ( ruleFeatureCallID ) | ( 'super' ) )\r\n int alt33=2;\r\n int LA33_0 = input.LA(1);\r\n\r\n if ( (LA33_0==RULE_ID||(LA33_0>=45 && LA33_0<=48)) ) {\r\n alt33=1;\r\n }\r\n else if ( (LA33_0==49) ) {\r\n alt33=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return ;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 33, 0, input);\r\n\r\n throw nvae;\r\n }\r\n switch (alt33) {\r\n case 1 :\r\n // InternalDroneScript.g:3298:2: ( ruleFeatureCallID )\r\n {\r\n // InternalDroneScript.g:3298:2: ( ruleFeatureCallID )\r\n // InternalDroneScript.g:3299:3: ruleFeatureCallID\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getIdOrSuperAccess().getFeatureCallIDParserRuleCall_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleFeatureCallID();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getIdOrSuperAccess().getFeatureCallIDParserRuleCall_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 2 :\r\n // InternalDroneScript.g:3304:2: ( 'super' )\r\n {\r\n // InternalDroneScript.g:3304:2: ( 'super' )\r\n // InternalDroneScript.g:3305:3: 'super'\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getIdOrSuperAccess().getSuperKeyword_1()); \r\n }\r\n match(input,49,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getIdOrSuperAccess().getSuperKeyword_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "7d7f02ca83c37f034536f5319574d33a", "score": "0.6812247", "text": "public final void rule__XFeatureCall__FeatureAssignment_2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDroneScript.g:18766:1: ( ( ( ruleIdOrSuper ) ) )\r\n // InternalDroneScript.g:18767:2: ( ( ruleIdOrSuper ) )\r\n {\r\n // InternalDroneScript.g:18767:2: ( ( ruleIdOrSuper ) )\r\n // InternalDroneScript.g:18768:3: ( ruleIdOrSuper )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXFeatureCallAccess().getFeatureJvmIdentifiableElementCrossReference_2_0()); \r\n }\r\n // InternalDroneScript.g:18769:3: ( ruleIdOrSuper )\r\n // InternalDroneScript.g:18770:4: ruleIdOrSuper\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXFeatureCallAccess().getFeatureJvmIdentifiableElementIdOrSuperParserRuleCall_2_0_1()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleIdOrSuper();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXFeatureCallAccess().getFeatureJvmIdentifiableElementIdOrSuperParserRuleCall_2_0_1()); \r\n }\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXFeatureCallAccess().getFeatureJvmIdentifiableElementCrossReference_2_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "527ebec6452f9cb45a2cd3f9c517c9e6", "score": "0.6717247", "text": "public final void ruleIdOrSuper() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDroneScript.g:1642:2: ( ( ( rule__IdOrSuper__Alternatives ) ) )\r\n // InternalDroneScript.g:1643:2: ( ( rule__IdOrSuper__Alternatives ) )\r\n {\r\n // InternalDroneScript.g:1643:2: ( ( rule__IdOrSuper__Alternatives ) )\r\n // InternalDroneScript.g:1644:3: ( rule__IdOrSuper__Alternatives )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getIdOrSuperAccess().getAlternatives()); \r\n }\r\n // InternalDroneScript.g:1645:3: ( rule__IdOrSuper__Alternatives )\r\n // InternalDroneScript.g:1645:4: rule__IdOrSuper__Alternatives\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__IdOrSuper__Alternatives();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getIdOrSuperAccess().getAlternatives()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "044fef7ecb53006db553473c6c704740", "score": "0.66938365", "text": "public final void rule__IdOrSuper__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:2308:1: ( ( RULE_ID ) | ( 'super' ) )\n int alt18=2;\n int LA18_0 = input.LA(1);\n\n if ( (LA18_0==RULE_ID) ) {\n alt18=1;\n }\n else if ( (LA18_0==31) ) {\n alt18=2;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 18, 0, input);\n\n throw nvae;\n }\n switch (alt18) {\n case 1 :\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:2309:1: ( RULE_ID )\n {\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:2309:1: ( RULE_ID )\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:2310:1: RULE_ID\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getIdOrSuperAccess().getIDTerminalRuleCall_0()); \n }\n match(input,RULE_ID,FOLLOW_RULE_ID_in_rule__IdOrSuper__Alternatives4975); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getIdOrSuperAccess().getIDTerminalRuleCall_0()); \n }\n\n }\n\n\n }\n break;\n case 2 :\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:2315:6: ( 'super' )\n {\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:2315:6: ( 'super' )\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:2316:1: 'super'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getIdOrSuperAccess().getSuperKeyword_1()); \n }\n match(input,31,FOLLOW_31_in_rule__IdOrSuper__Alternatives4993); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getIdOrSuperAccess().getSuperKeyword_1()); \n }\n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "f44baf79f3c96d1fe808cf4ea087a209", "score": "0.6603209", "text": "public final void rule__XMemberFeatureCall__FeatureAssignment_1_1_2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDroneScript.g:17887:1: ( ( ( ruleIdOrSuper ) ) )\r\n // InternalDroneScript.g:17888:2: ( ( ruleIdOrSuper ) )\r\n {\r\n // InternalDroneScript.g:17888:2: ( ( ruleIdOrSuper ) )\r\n // InternalDroneScript.g:17889:3: ( ruleIdOrSuper )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXMemberFeatureCallAccess().getFeatureJvmIdentifiableElementCrossReference_1_1_2_0()); \r\n }\r\n // InternalDroneScript.g:17890:3: ( ruleIdOrSuper )\r\n // InternalDroneScript.g:17891:4: ruleIdOrSuper\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXMemberFeatureCallAccess().getFeatureJvmIdentifiableElementIdOrSuperParserRuleCall_1_1_2_0_1()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleIdOrSuper();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXMemberFeatureCallAccess().getFeatureJvmIdentifiableElementIdOrSuperParserRuleCall_1_1_2_0_1()); \r\n }\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXMemberFeatureCallAccess().getFeatureJvmIdentifiableElementCrossReference_1_1_2_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "75575dc1ed5cf5fc2e400119e68816ff", "score": "0.65837824", "text": "public final void ruleIdOrSuper() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:1233:2: ( ( ( rule__IdOrSuper__Alternatives ) ) )\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:1234:1: ( ( rule__IdOrSuper__Alternatives ) )\n {\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:1234:1: ( ( rule__IdOrSuper__Alternatives ) )\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:1235:1: ( rule__IdOrSuper__Alternatives )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getIdOrSuperAccess().getAlternatives()); \n }\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:1236:1: ( rule__IdOrSuper__Alternatives )\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:1236:2: rule__IdOrSuper__Alternatives\n {\n pushFollow(FOLLOW_rule__IdOrSuper__Alternatives_in_ruleIdOrSuper2569);\n rule__IdOrSuper__Alternatives();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getIdOrSuperAccess().getAlternatives()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "7cdc9a6f7d0a33a0f5ba5c1039bad3db", "score": "0.65246737", "text": "public final void rule__IdOrSuper__Alternatives() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2930:1: ( ( ruleValidID ) | ( 'super' ) )\r\n int alt26=2;\r\n int LA26_0 = input.LA(1);\r\n\r\n if ( (LA26_0==RULE_ID) ) {\r\n alt26=1;\r\n }\r\n else if ( (LA26_0==39) ) {\r\n alt26=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return ;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 26, 0, input);\r\n\r\n throw nvae;\r\n }\r\n switch (alt26) {\r\n case 1 :\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2931:1: ( ruleValidID )\r\n {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2931:1: ( ruleValidID )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2932:1: ruleValidID\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getIdOrSuperAccess().getValidIDParserRuleCall_0()); \r\n }\r\n pushFollow(FOLLOW_ruleValidID_in_rule__IdOrSuper__Alternatives6351);\r\n ruleValidID();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getIdOrSuperAccess().getValidIDParserRuleCall_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 2 :\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2937:6: ( 'super' )\r\n {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2937:6: ( 'super' )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2938:1: 'super'\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getIdOrSuperAccess().getSuperKeyword_1()); \r\n }\r\n match(input,39,FOLLOW_39_in_rule__IdOrSuper__Alternatives6369); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getIdOrSuperAccess().getSuperKeyword_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "05d3f22de58b731cb89680620491cff3", "score": "0.64188784", "text": "public final void entryRuleIdOrString() throws RecognitionException {\n try {\n // ../org.eclipse.ese.android.dsl.ui/src-gen/org/eclipse/ese/ui/contentassist/antlr/internal/InternalAndroid.g:258:1: ( ruleIdOrString EOF )\n // ../org.eclipse.ese.android.dsl.ui/src-gen/org/eclipse/ese/ui/contentassist/antlr/internal/InternalAndroid.g:259:1: ruleIdOrString EOF\n {\n before(grammarAccess.getIdOrStringRule()); \n pushFollow(FollowSets000.FOLLOW_ruleIdOrString_in_entryRuleIdOrString481);\n ruleIdOrString();\n _fsp--;\n\n after(grammarAccess.getIdOrStringRule()); \n match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleIdOrString488); \n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "title": "" }, { "docid": "45d00dbbbb710d88945ee4ec349340e1", "score": "0.6410179", "text": "public final void ruleIdOrSuper() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:1454:2: ( ( ( rule__IdOrSuper__Alternatives ) ) )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:1455:1: ( ( rule__IdOrSuper__Alternatives ) )\r\n {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:1455:1: ( ( rule__IdOrSuper__Alternatives ) )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:1456:1: ( rule__IdOrSuper__Alternatives )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getIdOrSuperAccess().getAlternatives()); \r\n }\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:1457:1: ( rule__IdOrSuper__Alternatives )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:1457:2: rule__IdOrSuper__Alternatives\r\n {\r\n pushFollow(FOLLOW_rule__IdOrSuper__Alternatives_in_ruleIdOrSuper3047);\r\n rule__IdOrSuper__Alternatives();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getIdOrSuperAccess().getAlternatives()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "d99116deeedeebc272b3957839666143", "score": "0.6307864", "text": "public final void rule__XFeatureCall__FeatureAssignment_3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:13100:1: ( ( ( ruleIdOrSuper ) ) )\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:13101:1: ( ( ruleIdOrSuper ) )\n {\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:13101:1: ( ( ruleIdOrSuper ) )\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:13102:1: ( ruleIdOrSuper )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXFeatureCallAccess().getFeatureJvmIdentifiableElementCrossReference_3_0()); \n }\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:13103:1: ( ruleIdOrSuper )\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:13104:1: ruleIdOrSuper\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXFeatureCallAccess().getFeatureJvmIdentifiableElementIdOrSuperParserRuleCall_3_0_1()); \n }\n pushFollow(FOLLOW_ruleIdOrSuper_in_rule__XFeatureCall__FeatureAssignment_326319);\n ruleIdOrSuper();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXFeatureCallAccess().getFeatureJvmIdentifiableElementIdOrSuperParserRuleCall_3_0_1()); \n }\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXFeatureCallAccess().getFeatureJvmIdentifiableElementCrossReference_3_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "b269c12eddc2471d773af4a66d5a51a9", "score": "0.62883544", "text": "public final void rule__FeatureCallID__Alternatives() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDroneScript.g:3258:1: ( ( ruleValidID ) | ( 'extends' ) | ( 'static' ) | ( 'import' ) | ( 'extension' ) )\r\n int alt32=5;\r\n switch ( input.LA(1) ) {\r\n case RULE_ID:\r\n {\r\n alt32=1;\r\n }\r\n break;\r\n case 45:\r\n {\r\n alt32=2;\r\n }\r\n break;\r\n case 46:\r\n {\r\n alt32=3;\r\n }\r\n break;\r\n case 47:\r\n {\r\n alt32=4;\r\n }\r\n break;\r\n case 48:\r\n {\r\n alt32=5;\r\n }\r\n break;\r\n default:\r\n if (state.backtracking>0) {state.failed=true; return ;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 32, 0, input);\r\n\r\n throw nvae;\r\n }\r\n\r\n switch (alt32) {\r\n case 1 :\r\n // InternalDroneScript.g:3259:2: ( ruleValidID )\r\n {\r\n // InternalDroneScript.g:3259:2: ( ruleValidID )\r\n // InternalDroneScript.g:3260:3: ruleValidID\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getFeatureCallIDAccess().getValidIDParserRuleCall_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleValidID();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getFeatureCallIDAccess().getValidIDParserRuleCall_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 2 :\r\n // InternalDroneScript.g:3265:2: ( 'extends' )\r\n {\r\n // InternalDroneScript.g:3265:2: ( 'extends' )\r\n // InternalDroneScript.g:3266:3: 'extends'\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getFeatureCallIDAccess().getExtendsKeyword_1()); \r\n }\r\n match(input,45,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getFeatureCallIDAccess().getExtendsKeyword_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 3 :\r\n // InternalDroneScript.g:3271:2: ( 'static' )\r\n {\r\n // InternalDroneScript.g:3271:2: ( 'static' )\r\n // InternalDroneScript.g:3272:3: 'static'\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getFeatureCallIDAccess().getStaticKeyword_2()); \r\n }\r\n match(input,46,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getFeatureCallIDAccess().getStaticKeyword_2()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 4 :\r\n // InternalDroneScript.g:3277:2: ( 'import' )\r\n {\r\n // InternalDroneScript.g:3277:2: ( 'import' )\r\n // InternalDroneScript.g:3278:3: 'import'\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getFeatureCallIDAccess().getImportKeyword_3()); \r\n }\r\n match(input,47,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getFeatureCallIDAccess().getImportKeyword_3()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 5 :\r\n // InternalDroneScript.g:3283:2: ( 'extension' )\r\n {\r\n // InternalDroneScript.g:3283:2: ( 'extension' )\r\n // InternalDroneScript.g:3284:3: 'extension'\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getFeatureCallIDAccess().getExtensionKeyword_4()); \r\n }\r\n match(input,48,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getFeatureCallIDAccess().getExtensionKeyword_4()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "aca64e7e114c33912275f646ebd077fe", "score": "0.6249962", "text": "public final void rule__XFeatureCall__FeatureAssignment_3() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:18579:1: ( ( ( ruleIdOrSuper ) ) )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:18580:1: ( ( ruleIdOrSuper ) )\r\n {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:18580:1: ( ( ruleIdOrSuper ) )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:18581:1: ( ruleIdOrSuper )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXFeatureCallAccess().getFeatureJvmIdentifiableElementCrossReference_3_0()); \r\n }\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:18582:1: ( ruleIdOrSuper )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:18583:1: ruleIdOrSuper\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXFeatureCallAccess().getFeatureJvmIdentifiableElementIdOrSuperParserRuleCall_3_0_1()); \r\n }\r\n pushFollow(FOLLOW_ruleIdOrSuper_in_rule__XFeatureCall__FeatureAssignment_337544);\r\n ruleIdOrSuper();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXFeatureCallAccess().getFeatureJvmIdentifiableElementIdOrSuperParserRuleCall_3_0_1()); \r\n }\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXFeatureCallAccess().getFeatureJvmIdentifiableElementCrossReference_3_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "bea4ea9b590f9a8b1138f09fbbb0b83c", "score": "0.5810025", "text": "public final void entryRuleFeatureCallID() throws RecognitionException {\r\n try {\r\n // InternalDroneScript.g:1605:1: ( ruleFeatureCallID EOF )\r\n // InternalDroneScript.g:1606:1: ruleFeatureCallID EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getFeatureCallIDRule()); \r\n }\r\n pushFollow(FOLLOW_1);\r\n ruleFeatureCallID();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getFeatureCallIDRule()); \r\n }\r\n match(input,EOF,FOLLOW_2); if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "5df07cb6510c7ce05889198d8754af55", "score": "0.5629744", "text": "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40359:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40359:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40359:11: ( '^' )?\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0=='^') ) {\n alt1=1;\n }\n switch (alt1) {\n case 1 :\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40359:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40359:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "37fdd4b5841c6515dd3bafb932146124", "score": "0.5495389", "text": "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2134:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2134:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2134:11: ( '^' )?\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0=='^') ) {\n alt1=1;\n }\n switch (alt1) {\n case 1 :\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2134:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2134:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "12db12d9676924195ec4e2ba7244f5d4", "score": "0.54945743", "text": "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2533:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2533:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2533:11: ( '^' )?\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0=='^') ) {\n alt7=1;\n }\n switch (alt7) {\n case 1 :\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2533:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2533:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( ((LA8_0>='0' && LA8_0<='9')||(LA8_0>='A' && LA8_0<='Z')||LA8_0=='_'||(LA8_0>='a' && LA8_0<='z')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "08d76e0ee36b845984c25d7051b29be0", "score": "0.54633904", "text": "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:663:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:663:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:663:11: ( '^' )?\n int alt6=2;\n int LA6_0 = input.LA(1);\n\n if ( (LA6_0=='^') ) {\n alt6=1;\n }\n switch (alt6) {\n case 1 :\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:663:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:663:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop7:\n do {\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( ((LA7_0>='0' && LA7_0<='9')||(LA7_0>='A' && LA7_0<='Z')||LA7_0=='_'||(LA7_0>='a' && LA7_0<='z')) ) {\n alt7=1;\n }\n\n\n switch (alt7) {\n \tcase 1 :\n \t // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop7;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "67daaffeddb14d6054c344ae9b2f8283", "score": "0.54585546", "text": "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:15368:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalMyDsl.g:15368:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalMyDsl.g:15368:11: ( '^' )?\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0=='^') ) {\n alt7=1;\n }\n switch (alt7) {\n case 1 :\n // InternalMyDsl.g:15368:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalMyDsl.g:15368:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( ((LA8_0>='0' && LA8_0<='9')||(LA8_0>='A' && LA8_0<='Z')||LA8_0=='_'||(LA8_0>='a' && LA8_0<='z')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // InternalMyDsl.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "6202e49907bebdc0c620aac405a75427", "score": "0.54547644", "text": "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalSpeADL.g:23486:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' | '0' .. '9' )* )\n // InternalSpeADL.g:23486:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' | '0' .. '9' )*\n {\n // InternalSpeADL.g:23486:11: ( '^' )?\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( (LA9_0=='^') ) {\n alt9=1;\n }\n switch (alt9) {\n case 1 :\n // InternalSpeADL.g:23486:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( input.LA(1)=='$'||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalSpeADL.g:23486:44: ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' | '0' .. '9' )*\n loop10:\n do {\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='$'||(LA10_0>='0' && LA10_0<='9')||(LA10_0>='A' && LA10_0<='Z')||LA10_0=='_'||(LA10_0>='a' && LA10_0<='z')) ) {\n alt10=1;\n }\n\n\n switch (alt10) {\n \tcase 1 :\n \t // InternalSpeADL.g:\n \t {\n \t if ( input.LA(1)=='$'||(input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop10;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "384ee97b51d58a3ac608317c7108ed26", "score": "0.5452432", "text": "public final void entryRuleValidID() throws RecognitionException {\r\n try {\r\n // InternalDroneScript.g:2263:1: ( ruleValidID EOF )\r\n // InternalDroneScript.g:2264:1: ruleValidID EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getValidIDRule()); \r\n }\r\n pushFollow(FOLLOW_1);\r\n ruleValidID();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getValidIDRule()); \r\n }\r\n match(input,EOF,FOLLOW_2); if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "e2302ab89ec365fda0d4c0bc65c2c05d", "score": "0.5434682", "text": "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:93:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:93:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:93:11: ( '^' )?\n int alt22=2;\n int LA22_0 = input.LA(1);\n\n if ( (LA22_0=='^') ) {\n alt22=1;\n }\n switch (alt22) {\n case 1 :\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:93:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:93:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop23:\n do {\n int alt23=2;\n int LA23_0 = input.LA(1);\n\n if ( ((LA23_0>='0' && LA23_0<='9')||(LA23_0>='A' && LA23_0<='Z')||LA23_0=='_'||(LA23_0>='a' && LA23_0<='z')) ) {\n alt23=1;\n }\n\n\n switch (alt23) {\n \tcase 1 :\n \t // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop23;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "b72d178cee8eb9e435a8d4a74ab9f5eb", "score": "0.54008776", "text": "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:2385:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalMyDsl.g:2385:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalMyDsl.g:2385:11: ( '^' )?\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( (LA2_0=='^') ) {\n alt2=1;\n }\n switch (alt2) {\n case 1 :\n // InternalMyDsl.g:2385:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalMyDsl.g:2385:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')||(LA3_0>='A' && LA3_0<='Z')||LA3_0=='_'||(LA3_0>='a' && LA3_0<='z')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // InternalMyDsl.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop3;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "b597a065eca57ea0e2d50d834a4fc587", "score": "0.5396914", "text": "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:6368:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalMyDsl.g:6368:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalMyDsl.g:6368:11: ( '^' )?\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( (LA2_0=='^') ) {\n alt2=1;\n }\n switch (alt2) {\n case 1 :\n // InternalMyDsl.g:6368:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalMyDsl.g:6368:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')||(LA3_0>='A' && LA3_0<='Z')||LA3_0=='_'||(LA3_0>='a' && LA3_0<='z')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // InternalMyDsl.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop3;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "f1552ddb1abd6f9600d275c5fa636766", "score": "0.5391586", "text": "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalIotLuaXtext.g:7228:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalIotLuaXtext.g:7228:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalIotLuaXtext.g:7228:11: ( '^' )?\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0=='^') ) {\n alt1=1;\n }\n switch (alt1) {\n case 1 :\n // InternalIotLuaXtext.g:7228:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalIotLuaXtext.g:7228:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // InternalIotLuaXtext.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "9ae5d5b1b4b3f491a00f572d13868a6a", "score": "0.5387289", "text": "public final String entryRuleID() throws RecognitionException {\n String current = null;\n\n AntlrDatatypeRuleToken iv_ruleID = null;\n\n\n try {\n // InternalMyDsl.g:10001:42: (iv_ruleID= ruleID EOF )\n // InternalMyDsl.g:10002:2: iv_ruleID= ruleID EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getIDRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleID=ruleID();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleID.getText(); \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\n\n }\n\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n }\n return current;\n }", "title": "" }, { "docid": "d2e2d653d165ca048ca8eb574ed7495f", "score": "0.5352779", "text": "public final void mRULE_ID() throws RecognitionException {\r\n try {\r\n int _type = RULE_ID;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19810:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19810:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n {\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19810:11: ( '^' )?\r\n int alt14=2;\r\n int LA14_0 = input.LA(1);\r\n\r\n if ( (LA14_0=='^') ) {\r\n alt14=1;\r\n }\r\n switch (alt14) {\r\n case 1 :\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19810:11: '^'\r\n {\r\n match('^'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n input.consume();\r\n\r\n }\r\n else {\r\n MismatchedSetException mse = new MismatchedSetException(null,input);\r\n recover(mse);\r\n throw mse;}\r\n\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19810:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n loop15:\r\n do {\r\n int alt15=2;\r\n int LA15_0 = input.LA(1);\r\n\r\n if ( ((LA15_0>='0' && LA15_0<='9')||(LA15_0>='A' && LA15_0<='Z')||LA15_0=='_'||(LA15_0>='a' && LA15_0<='z')) ) {\r\n alt15=1;\r\n }\r\n\r\n\r\n switch (alt15) {\r\n \tcase 1 :\r\n \t // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:\r\n \t {\r\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop15;\r\n }\r\n } while (true);\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 }\r\n }", "title": "" }, { "docid": "5968f826f7a7e1e368289c89f6421cb2", "score": "0.53339314", "text": "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:16701:9: ( ( '^' )? ( 'a' .. 'z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalDSL.g:16701:11: ( '^' )? ( 'a' .. 'z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalDSL.g:16701:11: ( '^' )?\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( (LA2_0=='^') ) {\n alt2=1;\n }\n switch (alt2) {\n case 1 :\n // InternalDSL.g:16701:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalDSL.g:16701:31: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')||(LA3_0>='A' && LA3_0<='Z')||LA3_0=='_'||(LA3_0>='a' && LA3_0<='z')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // InternalDSL.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop3;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "f0bc55d5da28f144c912bf3f32fd3742", "score": "0.5331662", "text": "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:2286:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalDSL.g:2286:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalDSL.g:2286:11: ( '^' )?\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( (LA3_0=='^') ) {\n alt3=1;\n }\n switch (alt3) {\n case 1 :\n // InternalDSL.g:2286:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalDSL.g:2286:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop4:\n do {\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( ((LA4_0>='0' && LA4_0<='9')||(LA4_0>='A' && LA4_0<='Z')||LA4_0=='_'||(LA4_0>='a' && LA4_0<='z')) ) {\n alt4=1;\n }\n\n\n switch (alt4) {\n \tcase 1 :\n \t // InternalDSL.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop4;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "8fb6b27913078abaf645c8156ba023c1", "score": "0.5253647", "text": "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalReqLNG.g:1718:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalReqLNG.g:1718:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalReqLNG.g:1718:11: ( '^' )?\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( (LA2_0=='^') ) {\n alt2=1;\n }\n switch (alt2) {\n case 1 :\n // InternalReqLNG.g:1718:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalReqLNG.g:1718:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')||(LA3_0>='A' && LA3_0<='Z')||LA3_0=='_'||(LA3_0>='a' && LA3_0<='z')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // InternalReqLNG.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop3;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "24ea9736b36fb560f0f71c0d2c202272", "score": "0.52437454", "text": "public final void entryRuleID0() throws RecognitionException {\n try {\n // InternalMyDsl.g:279:1: ( ruleID0 EOF )\n // InternalMyDsl.g:280:1: ruleID0 EOF\n {\n before(grammarAccess.getID0Rule()); \n pushFollow(FOLLOW_1);\n ruleID0();\n\n state._fsp--;\n\n after(grammarAccess.getID0Rule()); \n match(input,EOF,FOLLOW_2); \n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "title": "" }, { "docid": "27001adf1acb4fbc64119a5594133885", "score": "0.5183101", "text": "public final void ruleFeatureCallID() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDroneScript.g:1617:2: ( ( ( rule__FeatureCallID__Alternatives ) ) )\r\n // InternalDroneScript.g:1618:2: ( ( rule__FeatureCallID__Alternatives ) )\r\n {\r\n // InternalDroneScript.g:1618:2: ( ( rule__FeatureCallID__Alternatives ) )\r\n // InternalDroneScript.g:1619:3: ( rule__FeatureCallID__Alternatives )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getFeatureCallIDAccess().getAlternatives()); \r\n }\r\n // InternalDroneScript.g:1620:3: ( rule__FeatureCallID__Alternatives )\r\n // InternalDroneScript.g:1620:4: rule__FeatureCallID__Alternatives\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__FeatureCallID__Alternatives();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getFeatureCallIDAccess().getAlternatives()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "ea672e396db3f387b85bfba2fbd9d68d", "score": "0.51453775", "text": "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalStateMachine.g:845:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalStateMachine.g:845:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalStateMachine.g:845:11: ( '^' )?\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( (LA2_0=='^') ) {\n alt2=1;\n }\n switch (alt2) {\n case 1 :\n // InternalStateMachine.g:845:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalStateMachine.g:845:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')||(LA3_0>='A' && LA3_0<='Z')||LA3_0=='_'||(LA3_0>='a' && LA3_0<='z')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // InternalStateMachine.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop3;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "1c68b9321b8df65546eacb0fa57eed79", "score": "0.5135293", "text": "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalVizualizer.g:1752:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalVizualizer.g:1752:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalVizualizer.g:1752:11: ( '^' )?\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0=='^') ) {\n alt1=1;\n }\n switch (alt1) {\n case 1 :\n // InternalVizualizer.g:1752:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalVizualizer.g:1752:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // InternalVizualizer.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "69096b387d57552c4207662bbc2556af", "score": "0.51254493", "text": "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalEsm.g:13288:9: ( ( '^' )? ( RULE_LETTER | '_' ) ( RULE_LETTER | '_' | '0' .. '9' )* )\n // InternalEsm.g:13288:11: ( '^' )? ( RULE_LETTER | '_' ) ( RULE_LETTER | '_' | '0' .. '9' )*\n {\n // InternalEsm.g:13288:11: ( '^' )?\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0=='^') ) {\n alt1=1;\n }\n switch (alt1) {\n case 1 :\n // InternalEsm.g:13288:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z')||(input.LA(1)>='\\u00C0' && input.LA(1)<='\\u00D6')||(input.LA(1)>='\\u00D8' && input.LA(1)<='\\u00F6')||(input.LA(1)>='\\u00F8' && input.LA(1)<='\\u00FF') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalEsm.g:13288:34: ( RULE_LETTER | '_' | '0' .. '9' )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')||(LA2_0>='\\u00C0' && LA2_0<='\\u00D6')||(LA2_0>='\\u00D8' && LA2_0<='\\u00F6')||(LA2_0>='\\u00F8' && LA2_0<='\\u00FF')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // InternalEsm.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z')||(input.LA(1)>='\\u00C0' && input.LA(1)<='\\u00D6')||(input.LA(1)>='\\u00D8' && input.LA(1)<='\\u00F6')||(input.LA(1)>='\\u00F8' && input.LA(1)<='\\u00FF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "48b15cac9ad82333671de2af6f4bab33", "score": "0.51174164", "text": "public final void mRULE_ID() throws RecognitionException {\r\n try {\r\n int _type = RULE_ID;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2481:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2481:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n {\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2481:11: ( '^' )?\r\n int alt2=2;\r\n int LA2_0 = input.LA(1);\r\n\r\n if ( (LA2_0=='^') ) {\r\n alt2=1;\r\n }\r\n switch (alt2) {\r\n case 1 :\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2481:11: '^'\r\n {\r\n match('^'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n input.consume();\r\n\r\n }\r\n else {\r\n MismatchedSetException mse = new MismatchedSetException(null,input);\r\n recover(mse);\r\n throw mse;}\r\n\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2481:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n loop3:\r\n do {\r\n int alt3=2;\r\n int LA3_0 = input.LA(1);\r\n\r\n if ( ((LA3_0>='0' && LA3_0<='9')||(LA3_0>='A' && LA3_0<='Z')||LA3_0=='_'||(LA3_0>='a' && LA3_0<='z')) ) {\r\n alt3=1;\r\n }\r\n\r\n\r\n switch (alt3) {\r\n \tcase 1 :\r\n \t // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:\r\n \t {\r\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop3;\r\n }\r\n } while (true);\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 }\r\n }", "title": "" }, { "docid": "9e1cea25d15bff6fcb1c7f934e9a7e98", "score": "0.51170623", "text": "public final void mRULE_ID() throws RecognitionException {\r\n try {\r\n int _type = RULE_ID;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // InternalSpringConfigDsl.g:34495:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\r\n // InternalSpringConfigDsl.g:34495:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n {\r\n // InternalSpringConfigDsl.g:34495:11: ( '^' )?\r\n int alt1=2;\r\n int LA1_0 = input.LA(1);\r\n\r\n if ( (LA1_0=='^') ) {\r\n alt1=1;\r\n }\r\n switch (alt1) {\r\n case 1 :\r\n // InternalSpringConfigDsl.g:34495:11: '^'\r\n {\r\n match('^'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n input.consume();\r\n\r\n }\r\n else {\r\n MismatchedSetException mse = new MismatchedSetException(null,input);\r\n recover(mse);\r\n throw mse;}\r\n\r\n // InternalSpringConfigDsl.g:34495:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n loop2:\r\n do {\r\n int alt2=2;\r\n int LA2_0 = input.LA(1);\r\n\r\n if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) {\r\n alt2=1;\r\n }\r\n\r\n\r\n switch (alt2) {\r\n \tcase 1 :\r\n \t // InternalSpringConfigDsl.g:\r\n \t {\r\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop2;\r\n }\r\n } while (true);\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 }\r\n }", "title": "" }, { "docid": "856802a0702de0c0861d91a6cdc924ab", "score": "0.5046615", "text": "public final void entryRuleValidID() throws RecognitionException {\n try {\n // InternalCsv.g:580:1: ( ruleValidID EOF )\n // InternalCsv.g:581:1: ruleValidID EOF\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getValidIDRule()); \n }\n pushFollow(FOLLOW_1);\n ruleValidID();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getValidIDRule()); \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "title": "" }, { "docid": "022db1745c3936ef2676a3246ea28599", "score": "0.50381815", "text": "public final void mRULE_ID() throws RecognitionException {\r\n try {\r\n int _type = RULE_ID;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3473:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3473:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n {\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3473:11: ( '^' )?\r\n int alt3=2;\r\n int LA3_0 = input.LA(1);\r\n\r\n if ( (LA3_0=='^') ) {\r\n alt3=1;\r\n }\r\n switch (alt3) {\r\n case 1 :\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3473:11: '^'\r\n {\r\n match('^'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n input.consume();\r\n\r\n }\r\n else {\r\n MismatchedSetException mse = new MismatchedSetException(null,input);\r\n recover(mse);\r\n throw mse;}\r\n\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3473:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n loop4:\r\n do {\r\n int alt4=2;\r\n int LA4_0 = input.LA(1);\r\n\r\n if ( ((LA4_0>='0' && LA4_0<='9')||(LA4_0>='A' && LA4_0<='Z')||LA4_0=='_'||(LA4_0>='a' && LA4_0<='z')) ) {\r\n alt4=1;\r\n }\r\n\r\n\r\n switch (alt4) {\r\n \tcase 1 :\r\n \t // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:\r\n \t {\r\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop4;\r\n }\r\n } while (true);\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 }\r\n }", "title": "" }, { "docid": "2583543ff85ca5fd7e9b9f90dc53a030", "score": "0.5024843", "text": "public final String entryRuleIdentifier() throws RecognitionException {\n String current = null;\n\n AntlrDatatypeRuleToken iv_ruleIdentifier = null;\n\n\n try {\n // InternalMyDsl.g:10035:50: (iv_ruleIdentifier= ruleIdentifier EOF )\n // InternalMyDsl.g:10036:2: iv_ruleIdentifier= ruleIdentifier EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getIdentifierRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleIdentifier=ruleIdentifier();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleIdentifier.getText(); \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\n\n }\n\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n }\n return current;\n }", "title": "" }, { "docid": "2212e50cb549effa974565b67f1dcfae", "score": "0.5012388", "text": "public final void entryRuleValidID() throws RecognitionException {\r\n try {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2103:1: ( ruleValidID EOF )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2104:1: ruleValidID EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getValidIDRule()); \r\n }\r\n pushFollow(FOLLOW_ruleValidID_in_entryRuleValidID4422);\r\n ruleValidID();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getValidIDRule()); \r\n }\r\n match(input,EOF,FOLLOW_EOF_in_entryRuleValidID4429); if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "ef8a11d3ae61f1b07a10cd027bf7d526", "score": "0.48890862", "text": "public final void ruleValidID() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDroneScript.g:2275:2: ( ( RULE_ID ) )\r\n // InternalDroneScript.g:2276:2: ( RULE_ID )\r\n {\r\n // InternalDroneScript.g:2276:2: ( RULE_ID )\r\n // InternalDroneScript.g:2277:3: RULE_ID\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getValidIDAccess().getIDTerminalRuleCall()); \r\n }\r\n match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getValidIDAccess().getIDTerminalRuleCall()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "cb890458295d556dd24cd5d44213f4f6", "score": "0.48391476", "text": "public final AntlrDatatypeRuleToken ruleIdentifier() throws RecognitionException {\n AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();\n\n AntlrDatatypeRuleToken this_ID_0 = null;\n\n\n\n \tenterRule();\n\n try {\n // InternalMyDsl.g:10048:2: (this_ID_0= ruleID )\n // InternalMyDsl.g:10049:2: this_ID_0= ruleID\n {\n if ( state.backtracking==0 ) {\n\n \t\tnewCompositeNode(grammarAccess.getIdentifierAccess().getIDParserRuleCall());\n \t\n }\n pushFollow(FOLLOW_2);\n this_ID_0=ruleID();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\tcurrent.merge(this_ID_0);\n \t\n }\n if ( state.backtracking==0 ) {\n\n \t\tafterParserOrEnumRuleCall();\n \t\n }\n\n }\n\n if ( state.backtracking==0 ) {\n\n \tleaveRule();\n\n }\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n }\n return current;\n }", "title": "" }, { "docid": "df418fdd6fd4e27d823f04e0ae9c4275", "score": "0.48371297", "text": "public final void rule__SQLCall__SRightAssignment_2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalBSQL2Java.g:3453:1: ( ( RULE_ID ) )\n // InternalBSQL2Java.g:3454:2: ( RULE_ID )\n {\n // InternalBSQL2Java.g:3454:2: ( RULE_ID )\n // InternalBSQL2Java.g:3455:3: RULE_ID\n {\n before(grammarAccess.getSQLCallAccess().getSRightIDTerminalRuleCall_2_0()); \n match(input,RULE_ID,FOLLOW_2); \n after(grammarAccess.getSQLCallAccess().getSRightIDTerminalRuleCall_2_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "5b7627f418a987e792deeb84c4630f83", "score": "0.48329502", "text": "public final void rule__IDENTIFIER__Group_1__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalGo.g:4957:1: ( ( RULE_ID ) )\r\n // InternalGo.g:4958:1: ( RULE_ID )\r\n {\r\n // InternalGo.g:4958:1: ( RULE_ID )\r\n // InternalGo.g:4959:2: RULE_ID\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getIDENTIFIERAccess().getIDTerminalRuleCall_1_1()); \r\n }\r\n match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getIDENTIFIERAccess().getIDTerminalRuleCall_1_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "daeb17cead99cc87f5a6d2170edd12ea", "score": "0.48308653", "text": "public final AntlrDatatypeRuleToken ruleID() throws RecognitionException {\n AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();\n\n Token this_SIMPLE_ID_0=null;\n Token this_ESCAPED_ID_1=null;\n\n\n \tenterRule();\n\n try {\n // InternalMyDsl.g:10014:2: ( (this_SIMPLE_ID_0= RULE_SIMPLE_ID | this_ESCAPED_ID_1= RULE_ESCAPED_ID ) )\n // InternalMyDsl.g:10015:2: (this_SIMPLE_ID_0= RULE_SIMPLE_ID | this_ESCAPED_ID_1= RULE_ESCAPED_ID )\n {\n // InternalMyDsl.g:10015:2: (this_SIMPLE_ID_0= RULE_SIMPLE_ID | this_ESCAPED_ID_1= RULE_ESCAPED_ID )\n int alt148=2;\n int LA148_0 = input.LA(1);\n\n if ( (LA148_0==RULE_SIMPLE_ID) ) {\n alt148=1;\n }\n else if ( (LA148_0==RULE_ESCAPED_ID) ) {\n alt148=2;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return current;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 148, 0, input);\n\n throw nvae;\n }\n switch (alt148) {\n case 1 :\n // InternalMyDsl.g:10016:3: this_SIMPLE_ID_0= RULE_SIMPLE_ID\n {\n this_SIMPLE_ID_0=(Token)match(input,RULE_SIMPLE_ID,FOLLOW_2); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\tcurrent.merge(this_SIMPLE_ID_0);\n \t\t\n }\n if ( state.backtracking==0 ) {\n\n \t\t\tnewLeafNode(this_SIMPLE_ID_0, grammarAccess.getIDAccess().getSIMPLE_IDTerminalRuleCall_0());\n \t\t\n }\n\n }\n break;\n case 2 :\n // InternalMyDsl.g:10024:3: this_ESCAPED_ID_1= RULE_ESCAPED_ID\n {\n this_ESCAPED_ID_1=(Token)match(input,RULE_ESCAPED_ID,FOLLOW_2); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\tcurrent.merge(this_ESCAPED_ID_1);\n \t\t\n }\n if ( state.backtracking==0 ) {\n\n \t\t\tnewLeafNode(this_ESCAPED_ID_1, grammarAccess.getIDAccess().getESCAPED_IDTerminalRuleCall_1());\n \t\t\n }\n\n }\n break;\n\n }\n\n\n }\n\n if ( state.backtracking==0 ) {\n\n \tleaveRule();\n\n }\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n }\n return current;\n }", "title": "" }, { "docid": "4528acd8097c71ff655f2fa17a621334", "score": "0.48154908", "text": "public final void entryRuleIDENTIFIER() throws RecognitionException {\r\n try {\r\n // InternalGo.g:255:1: ( ruleIDENTIFIER EOF )\r\n // InternalGo.g:256:1: ruleIDENTIFIER EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getIDENTIFIERRule()); \r\n }\r\n pushFollow(FOLLOW_1);\r\n ruleIDENTIFIER();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getIDENTIFIERRule()); \r\n }\r\n match(input,EOF,FOLLOW_2); if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "a2a8f05b7436e139ceff6c91a90932de", "score": "0.48099905", "text": "public final EObject ruleRuleInvocationSuper() throws RecognitionException {\n EObject current = null;\n int ruleRuleInvocationSuper_StartIndex = input.index();\n Token otherlv_1=null;\n\n enterRule(); \n \n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 122) ) { return current; }\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:5025:28: ( ( () otherlv_1= KEYWORD_63 ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:5026:1: ( () otherlv_1= KEYWORD_63 )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:5026:1: ( () otherlv_1= KEYWORD_63 )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:5026:2: () otherlv_1= KEYWORD_63\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:5026:2: ()\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:5027:2: \n {\n if ( state.backtracking==0 ) {\n \n \t /* */ \n \t\n }\n if ( state.backtracking==0 ) {\n\n current = forceCreateModelElement(\n grammarAccess.getRuleInvocationSuperAccess().getRuleInvocationSuperAction_0(),\n current);\n \n }\n\n }\n\n otherlv_1=(Token)match(input,KEYWORD_63,FOLLOW_KEYWORD_63_in_ruleRuleInvocationSuper10300); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \tnewLeafNode(otherlv_1, grammarAccess.getRuleInvocationSuperAccess().getSuperKeyword_1());\n \n }\n\n }\n\n\n }\n\n if ( state.backtracking==0 ) {\n leaveRule(); \n }\n }\n \n \tcatch (RecognitionException re) { \n \t recover(input,re); \n \t appendSkippedTokens();\n \t}\n finally {\n if ( state.backtracking>0 ) { memoize(input, 122, ruleRuleInvocationSuper_StartIndex); }\n }\n return current;\n }", "title": "" }, { "docid": "7662d5041106de9ae2ed305b8155ddb4", "score": "0.4789098", "text": "public final void rule__Script__DroneAssignment_2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDroneScript.g:17075:1: ( ( ( RULE_ID ) ) )\r\n // InternalDroneScript.g:17076:2: ( ( RULE_ID ) )\r\n {\r\n // InternalDroneScript.g:17076:2: ( ( RULE_ID ) )\r\n // InternalDroneScript.g:17077:3: ( RULE_ID )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getScriptAccess().getDroneDroneCrossReference_2_0()); \r\n }\r\n // InternalDroneScript.g:17078:3: ( RULE_ID )\r\n // InternalDroneScript.g:17079:4: RULE_ID\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getScriptAccess().getDroneDroneIDTerminalRuleCall_2_0_1()); \r\n }\r\n match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getScriptAccess().getDroneDroneIDTerminalRuleCall_2_0_1()); \r\n }\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getScriptAccess().getDroneDroneCrossReference_2_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "83951fad4451da381d8d713b95f27b72", "score": "0.47609842", "text": "public final EObject entryRuleidColonne() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleidColonne = null;\n\n\n try {\n // InternalMyDsl.g:543:50: (iv_ruleidColonne= ruleidColonne EOF )\n // InternalMyDsl.g:544:2: iv_ruleidColonne= ruleidColonne EOF\n {\n newCompositeNode(grammarAccess.getIdColonneRule()); \n pushFollow(FOLLOW_1);\n iv_ruleidColonne=ruleidColonne();\n\n state._fsp--;\n\n current =iv_ruleidColonne; \n match(input,EOF,FOLLOW_2); \n\n }\n\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n }\n return current;\n }", "title": "" }, { "docid": "0793fa3fc5741197ea613b9d0acdfa92", "score": "0.4755445", "text": "public final String entryRuleValidID() throws RecognitionException {\n String current = null;\n\n AntlrDatatypeRuleToken iv_ruleValidID = null;\n\n\n try {\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:3072:2: (iv_ruleValidID= ruleValidID EOF )\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:3073:2: iv_ruleValidID= ruleValidID EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getValidIDRule()); \n }\n pushFollow(FOLLOW_ruleValidID_in_entryRuleValidID7330);\n iv_ruleValidID=ruleValidID();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleValidID.getText(); \n }\n match(input,EOF,FOLLOW_EOF_in_entryRuleValidID7341); if (state.failed) return current;\n\n }\n\n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "title": "" }, { "docid": "3c2c225d2fe2ca628bac6e3195e620d3", "score": "0.47272432", "text": "public final void entryRuleIdentifierList() throws RecognitionException {\r\n try {\r\n // InternalGo.g:630:1: ( ruleIdentifierList EOF )\r\n // InternalGo.g:631:1: ruleIdentifierList EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getIdentifierListRule()); \r\n }\r\n pushFollow(FOLLOW_1);\r\n ruleIdentifierList();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getIdentifierListRule()); \r\n }\r\n match(input,EOF,FOLLOW_2); if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "1cbce6d0052422b0e9be859aafa87e84", "score": "0.4713473", "text": "public Rule idExpr()\n \t{\n \t\treturn firstOf(idExprReq(), id());\n \t}", "title": "" }, { "docid": "9da8a1d2bc5d4bb489abd4abb878398c", "score": "0.46991646", "text": "public Rule idExprReq()\n \t{\n \t\treturn firstOf(field(), call());\n \t}", "title": "" }, { "docid": "4aa021c8a46a22cce1a4872b6c333b54", "score": "0.46827298", "text": "public final void ruleValidID() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalCsv.g:592:2: ( ( RULE_ID ) )\n // InternalCsv.g:593:2: ( RULE_ID )\n {\n // InternalCsv.g:593:2: ( RULE_ID )\n // InternalCsv.g:594:3: RULE_ID\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getValidIDAccess().getIDTerminalRuleCall()); \n }\n match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getValidIDAccess().getIDTerminalRuleCall()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "800cce4254360aeb03d44a5cc0311943", "score": "0.46575665", "text": "public final void entrySuperXExpression() throws RecognitionException {\r\n try {\r\n // InternalDroneScript.g:455:1: ( superXExpression EOF )\r\n // InternalDroneScript.g:456:1: superXExpression EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXbaseXExpressionRule()); \r\n }\r\n pushFollow(FOLLOW_1);\r\n superXExpression();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXbaseXExpressionRule()); \r\n }\r\n match(input,EOF,FOLLOW_2); if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "59d924373775ba8e9da0a538e87a2995", "score": "0.46486148", "text": "public final void rule__IdOrString__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipse.ese.android.dsl.ui/src-gen/org/eclipse/ese/ui/contentassist/antlr/internal/InternalAndroid.g:339:1: ( ( RULE_ID ) | ( RULE_STRING ) )\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( (LA3_0==RULE_ID) ) {\n alt3=1;\n }\n else if ( (LA3_0==RULE_STRING) ) {\n alt3=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"335:1: rule__IdOrString__Alternatives : ( ( RULE_ID ) | ( RULE_STRING ) );\", 3, 0, input);\n\n throw nvae;\n }\n switch (alt3) {\n case 1 :\n // ../org.eclipse.ese.android.dsl.ui/src-gen/org/eclipse/ese/ui/contentassist/antlr/internal/InternalAndroid.g:340:1: ( RULE_ID )\n {\n // ../org.eclipse.ese.android.dsl.ui/src-gen/org/eclipse/ese/ui/contentassist/antlr/internal/InternalAndroid.g:340:1: ( RULE_ID )\n // ../org.eclipse.ese.android.dsl.ui/src-gen/org/eclipse/ese/ui/contentassist/antlr/internal/InternalAndroid.g:341:1: RULE_ID\n {\n before(grammarAccess.getIdOrStringAccess().getIDTerminalRuleCall_0()); \n match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_rule__IdOrString__Alternatives665); \n after(grammarAccess.getIdOrStringAccess().getIDTerminalRuleCall_0()); \n\n }\n\n\n }\n break;\n case 2 :\n // ../org.eclipse.ese.android.dsl.ui/src-gen/org/eclipse/ese/ui/contentassist/antlr/internal/InternalAndroid.g:346:6: ( RULE_STRING )\n {\n // ../org.eclipse.ese.android.dsl.ui/src-gen/org/eclipse/ese/ui/contentassist/antlr/internal/InternalAndroid.g:346:6: ( RULE_STRING )\n // ../org.eclipse.ese.android.dsl.ui/src-gen/org/eclipse/ese/ui/contentassist/antlr/internal/InternalAndroid.g:347:1: RULE_STRING\n {\n before(grammarAccess.getIdOrStringAccess().getSTRINGTerminalRuleCall_1()); \n match(input,RULE_STRING,FollowSets000.FOLLOW_RULE_STRING_in_rule__IdOrString__Alternatives682); \n after(grammarAccess.getIdOrStringAccess().getSTRINGTerminalRuleCall_1()); \n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "c0e05d1793efe71adc810a3f54864668", "score": "0.46475834", "text": "public final void entryRulePrimaryExpr() throws RecognitionException {\r\n try {\r\n // InternalGo.g:2430:1: ( rulePrimaryExpr EOF )\r\n // InternalGo.g:2431:1: rulePrimaryExpr EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getPrimaryExprRule()); \r\n }\r\n pushFollow(FOLLOW_1);\r\n rulePrimaryExpr();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getPrimaryExprRule()); \r\n }\r\n match(input,EOF,FOLLOW_2); if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "8671bbe3ff416389a9e3ff599e555833", "score": "0.46448776", "text": "public final void ruleIdOrString() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipse.ese.android.dsl.ui/src-gen/org/eclipse/ese/ui/contentassist/antlr/internal/InternalAndroid.g:270:2: ( ( ( rule__IdOrString__Alternatives ) ) )\n // ../org.eclipse.ese.android.dsl.ui/src-gen/org/eclipse/ese/ui/contentassist/antlr/internal/InternalAndroid.g:271:1: ( ( rule__IdOrString__Alternatives ) )\n {\n // ../org.eclipse.ese.android.dsl.ui/src-gen/org/eclipse/ese/ui/contentassist/antlr/internal/InternalAndroid.g:271:1: ( ( rule__IdOrString__Alternatives ) )\n // ../org.eclipse.ese.android.dsl.ui/src-gen/org/eclipse/ese/ui/contentassist/antlr/internal/InternalAndroid.g:272:1: ( rule__IdOrString__Alternatives )\n {\n before(grammarAccess.getIdOrStringAccess().getAlternatives()); \n // ../org.eclipse.ese.android.dsl.ui/src-gen/org/eclipse/ese/ui/contentassist/antlr/internal/InternalAndroid.g:273:1: ( rule__IdOrString__Alternatives )\n // ../org.eclipse.ese.android.dsl.ui/src-gen/org/eclipse/ese/ui/contentassist/antlr/internal/InternalAndroid.g:273:2: rule__IdOrString__Alternatives\n {\n pushFollow(FollowSets000.FOLLOW_rule__IdOrString__Alternatives_in_ruleIdOrString514);\n rule__IdOrString__Alternatives();\n _fsp--;\n\n\n }\n\n after(grammarAccess.getIdOrStringAccess().getAlternatives()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "6c2d91b8628bb9bd589d3a97305bf968", "score": "0.4625101", "text": "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6926:9: ( ( '_' | 'a' .. 'z' | 'A' .. 'Z' ) ( '0' .. '9' | '_' | 'a' .. 'z' | 'A' .. 'Z' )* )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6926:11: ( '_' | 'a' .. 'z' | 'A' .. 'Z' ) ( '0' .. '9' | '_' | 'a' .. 'z' | 'A' .. 'Z' )*\n {\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse =\n new MismatchedSetException(null,input);\n recover(mse); throw mse;\n }\n\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6926:35: ( '0' .. '9' | '_' | 'a' .. 'z' | 'A' .. 'Z' )*\n loop1:\n do {\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( ((LA1_0>='0' && LA1_0<='9')||(LA1_0>='A' && LA1_0<='Z')||LA1_0=='_'||(LA1_0>='a' && LA1_0<='z')) ) {\n alt1=1;\n }\n\n\n switch (alt1) {\n \tcase 1 :\n \t // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse =\n \t new MismatchedSetException(null,input);\n \t recover(mse); throw mse;\n \t }\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop1;\n }\n } while (true);\n\n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "title": "" }, { "docid": "3161e0b9e888a929e8de07fd330c2ee6", "score": "0.46199", "text": "public TerminalRule getIDRule() {\r\n\t\treturn gaXtype.getIDRule();\r\n\t}", "title": "" }, { "docid": "6d8944362c4e85847add633bc5f2770f", "score": "0.46160793", "text": "public final EObject entryRuleRuleInvocationSuper() throws RecognitionException {\n EObject current = null;\n int entryRuleRuleInvocationSuper_StartIndex = input.index();\n EObject iv_ruleRuleInvocationSuper = null;\n\n\n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 121) ) { return current; }\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:5014:2: (iv_ruleRuleInvocationSuper= ruleRuleInvocationSuper EOF )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:5015:2: iv_ruleRuleInvocationSuper= ruleRuleInvocationSuper EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getRuleInvocationSuperRule()); \n }\n pushFollow(FOLLOW_ruleRuleInvocationSuper_in_entryRuleRuleInvocationSuper10240);\n iv_ruleRuleInvocationSuper=ruleRuleInvocationSuper();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleRuleInvocationSuper; \n }\n match(input,EOF,FOLLOW_EOF_in_entryRuleRuleInvocationSuper10250); if (state.failed) return current;\n\n }\n\n }\n \n \tcatch (RecognitionException re) { \n \t recover(input,re); \n \t appendSkippedTokens();\n \t}\n finally {\n if ( state.backtracking>0 ) { memoize(input, 121, entryRuleRuleInvocationSuper_StartIndex); }\n }\n return current;\n }", "title": "" }, { "docid": "c8e05862f8a5d38a7b8e293f6b24c2ad", "score": "0.45965126", "text": "public final void synpred3_InternalGo_fragment() throws RecognitionException { \r\n // InternalGo.g:3135:2: ( ( RULE_ID ) )\r\n // InternalGo.g:3135:2: ( RULE_ID )\r\n {\r\n // InternalGo.g:3135:2: ( RULE_ID )\r\n // InternalGo.g:3136:3: RULE_ID\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getIDENTIFIERAccess().getIDTerminalRuleCall_0()); \r\n }\r\n match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;\r\n\r\n }\r\n\r\n\r\n }\r\n }", "title": "" }, { "docid": "e0d2a4d66cac5bfec289759563565f1c", "score": "0.45949584", "text": "public TerminalRule getIDRule() {\n\t\treturn gaXtype.getIDRule();\n\t}", "title": "" }, { "docid": "e0d2a4d66cac5bfec289759563565f1c", "score": "0.45949584", "text": "public TerminalRule getIDRule() {\n\t\treturn gaXtype.getIDRule();\n\t}", "title": "" }, { "docid": "4d24dd511cc2344a894ac17623a10ed2", "score": "0.45813203", "text": "public XbaseGrammarAccess.IdOrSuperElements getIdOrSuperAccess() {\n\t\treturn gaXbase.getIdOrSuperAccess();\n\t}", "title": "" }, { "docid": "4d24dd511cc2344a894ac17623a10ed2", "score": "0.45813203", "text": "public XbaseGrammarAccess.IdOrSuperElements getIdOrSuperAccess() {\n\t\treturn gaXbase.getIdOrSuperAccess();\n\t}", "title": "" }, { "docid": "b678ae674ea65544080204b8940722a1", "score": "0.45779884", "text": "public final void mID_CORE() throws RecognitionException {\n\t\ttry {\n\t\t\t// /Users/Sarah/Projects/ontop/obdalib-core/src/main/java/it/unibz/krdb/obda/parser/Datalog.g:453:17: ( ( ID_START | DIGIT ) )\n\t\t\t// /Users/Sarah/Projects/ontop/obdalib-core/src/main/java/it/unibz/krdb/obda/parser/Datalog.g:\n\t\t\t{\n\t\t\tif ( (input.LA(1) >= '0' && input.LA(1) <= '9')||(input.LA(1) >= 'A' && input.LA(1) <= 'Z')||input.LA(1)=='_'||(input.LA(1) >= 'a' && input.LA(1) <= 'z') ) {\n\t\t\t\tinput.consume();\n\t\t\t}\n\t\t\telse {\n\t\t\t\tMismatchedSetException mse = new MismatchedSetException(null,input);\n\t\t\t\trecover(mse);\n\t\t\t\tthrow mse;\n\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "title": "" }, { "docid": "53f31ef6d719a2646338bb0728973cbf", "score": "0.45488152", "text": "public final EObject entryRuleArg() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleArg = null;\n\n\n try {\n // InternalSafetyParser.g:5865:44: (iv_ruleArg= ruleArg EOF )\n // InternalSafetyParser.g:5866:2: iv_ruleArg= ruleArg EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getArgRule()); \n }\n pushFollow(FollowSets000.FOLLOW_1);\n iv_ruleArg=ruleArg();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleArg; \n }\n match(input,EOF,FollowSets000.FOLLOW_2); if (state.failed) return current;\n\n }\n\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n }\n return current;\n }", "title": "" }, { "docid": "f04001503cf8aae014c59ff3b7b0cd98", "score": "0.45473126", "text": "public Rule typeAndOrId()\n \t{\n \t\treturn firstOf(sequence(type(), id()), type()/*, id()*/);\n \t}", "title": "" }, { "docid": "a44c58d5b21a794ad42294a93e4ebc11", "score": "0.45393023", "text": "public XbaseGrammarAccess.IdOrSuperElements getIdOrSuperAccess() {\r\n\t\treturn gaXbase.getIdOrSuperAccess();\r\n\t}", "title": "" }, { "docid": "5fd3eb71fcef4c731839f8a4f84c0a40", "score": "0.4531046", "text": "public final void entryRuleOpUnary() throws RecognitionException {\r\n try {\r\n // InternalDroneScript.g:930:1: ( ruleOpUnary EOF )\r\n // InternalDroneScript.g:931:1: ruleOpUnary EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getOpUnaryRule()); \r\n }\r\n pushFollow(FOLLOW_1);\r\n ruleOpUnary();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getOpUnaryRule()); \r\n }\r\n match(input,EOF,FOLLOW_2); if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "72cad3507ceddd6b296288446042c1e0", "score": "0.4502666", "text": "public void setRuleId(String ruleId) {\n this.ruleId = ruleId;\n }", "title": "" }, { "docid": "87a3716ea5f7f3d15b4c22ffb1a0d106", "score": "0.4484049", "text": "public final void rule__Buchung__EmpfaengerAssignment_7_0_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:17101:1: ( ( ( RULE_ID ) ) )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:17102:1: ( ( RULE_ID ) )\r\n {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:17102:1: ( ( RULE_ID ) )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:17103:1: ( RULE_ID )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getBuchungAccess().getEmpfaengerKontaktCrossReference_7_0_1_0()); \r\n }\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:17104:1: ( RULE_ID )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:17105:1: RULE_ID\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getBuchungAccess().getEmpfaengerKontaktIDTerminalRuleCall_7_0_1_0_1()); \r\n }\r\n match(input,RULE_ID,FOLLOW_RULE_ID_in_rule__Buchung__EmpfaengerAssignment_7_0_134516); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getBuchungAccess().getEmpfaengerKontaktIDTerminalRuleCall_7_0_1_0_1()); \r\n }\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getBuchungAccess().getEmpfaengerKontaktCrossReference_7_0_1_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "6621979166acab0f430aa98909850d62", "score": "0.44826886", "text": "private @Nullable IdentifierToken eatIdOrKeywordAsId() {\n Token token = nextToken();\n if (token.type == TokenType.IDENTIFIER) {\n return (IdentifierToken) token;\n } else if (Keywords.isKeyword(token.type)) {\n return new IdentifierToken(token.location, Keywords.get(token.type).toString());\n } else {\n reportExpectedError(token, TokenType.IDENTIFIER);\n }\n return null;\n }", "title": "" }, { "docid": "d69f8188f5b62e8559290bd1e31994bb", "score": "0.4469704", "text": "public final EObject ruleEPREFIX_ID() throws RecognitionException {\n EObject current = null;\n\n Token lv_module_0_0=null;\n Token otherlv_1=null;\n Token lv_id_2_0=null;\n Token otherlv_3=null;\n Token lv_version_4_0=null;\n\n\n \tenterRule();\n\n try {\n // InternalRMParser.g:9175:2: ( ( ( ( (lv_module_0_0= RULE_ID ) ) otherlv_1= Solidus )? ( (lv_id_2_0= RULE_ID ) ) (otherlv_3= CommercialAt ( (lv_version_4_0= RULE_VERSION ) ) )? ) )\n // InternalRMParser.g:9176:2: ( ( ( (lv_module_0_0= RULE_ID ) ) otherlv_1= Solidus )? ( (lv_id_2_0= RULE_ID ) ) (otherlv_3= CommercialAt ( (lv_version_4_0= RULE_VERSION ) ) )? )\n {\n // InternalRMParser.g:9176:2: ( ( ( (lv_module_0_0= RULE_ID ) ) otherlv_1= Solidus )? ( (lv_id_2_0= RULE_ID ) ) (otherlv_3= CommercialAt ( (lv_version_4_0= RULE_VERSION ) ) )? )\n // InternalRMParser.g:9177:3: ( ( (lv_module_0_0= RULE_ID ) ) otherlv_1= Solidus )? ( (lv_id_2_0= RULE_ID ) ) (otherlv_3= CommercialAt ( (lv_version_4_0= RULE_VERSION ) ) )?\n {\n // InternalRMParser.g:9177:3: ( ( (lv_module_0_0= RULE_ID ) ) otherlv_1= Solidus )?\n int alt72=2;\n int LA72_0 = input.LA(1);\n\n if ( (LA72_0==RULE_ID) ) {\n int LA72_1 = input.LA(2);\n\n if ( (LA72_1==Solidus) ) {\n alt72=1;\n }\n }\n switch (alt72) {\n case 1 :\n // InternalRMParser.g:9178:4: ( (lv_module_0_0= RULE_ID ) ) otherlv_1= Solidus\n {\n // InternalRMParser.g:9178:4: ( (lv_module_0_0= RULE_ID ) )\n // InternalRMParser.g:9179:5: (lv_module_0_0= RULE_ID )\n {\n // InternalRMParser.g:9179:5: (lv_module_0_0= RULE_ID )\n // InternalRMParser.g:9180:6: lv_module_0_0= RULE_ID\n {\n lv_module_0_0=(Token)match(input,RULE_ID,FOLLOW_89); \n\n \t\t\t\t\t\tnewLeafNode(lv_module_0_0, grammarAccess.getEPREFIX_IDAccess().getModuleIDTerminalRuleCall_0_0_0());\n \t\t\t\t\t\n\n \t\t\t\t\t\tif (current==null) {\n \t\t\t\t\t\t\tcurrent = createModelElement(grammarAccess.getEPREFIX_IDRule());\n \t\t\t\t\t\t}\n \t\t\t\t\t\tsetWithLastConsumed(\n \t\t\t\t\t\t\tcurrent,\n \t\t\t\t\t\t\t\"module\",\n \t\t\t\t\t\t\tlv_module_0_0,\n \t\t\t\t\t\t\t\"org.sodalite.dsl.RM.ID\");\n \t\t\t\t\t\n\n }\n\n\n }\n\n otherlv_1=(Token)match(input,Solidus,FOLLOW_5); \n\n \t\t\t\tnewLeafNode(otherlv_1, grammarAccess.getEPREFIX_IDAccess().getSolidusKeyword_0_1());\n \t\t\t\n\n }\n break;\n\n }\n\n // InternalRMParser.g:9201:3: ( (lv_id_2_0= RULE_ID ) )\n // InternalRMParser.g:9202:4: (lv_id_2_0= RULE_ID )\n {\n // InternalRMParser.g:9202:4: (lv_id_2_0= RULE_ID )\n // InternalRMParser.g:9203:5: lv_id_2_0= RULE_ID\n {\n lv_id_2_0=(Token)match(input,RULE_ID,FOLLOW_90); \n\n \t\t\t\t\tnewLeafNode(lv_id_2_0, grammarAccess.getEPREFIX_IDAccess().getIdIDTerminalRuleCall_1_0());\n \t\t\t\t\n\n \t\t\t\t\tif (current==null) {\n \t\t\t\t\t\tcurrent = createModelElement(grammarAccess.getEPREFIX_IDRule());\n \t\t\t\t\t}\n \t\t\t\t\tsetWithLastConsumed(\n \t\t\t\t\t\tcurrent,\n \t\t\t\t\t\t\"id\",\n \t\t\t\t\t\tlv_id_2_0,\n \t\t\t\t\t\t\"org.sodalite.dsl.RM.ID\");\n \t\t\t\t\n\n }\n\n\n }\n\n // InternalRMParser.g:9219:3: (otherlv_3= CommercialAt ( (lv_version_4_0= RULE_VERSION ) ) )?\n int alt73=2;\n int LA73_0 = input.LA(1);\n\n if ( (LA73_0==CommercialAt) ) {\n alt73=1;\n }\n switch (alt73) {\n case 1 :\n // InternalRMParser.g:9220:4: otherlv_3= CommercialAt ( (lv_version_4_0= RULE_VERSION ) )\n {\n otherlv_3=(Token)match(input,CommercialAt,FOLLOW_91); \n\n \t\t\t\tnewLeafNode(otherlv_3, grammarAccess.getEPREFIX_IDAccess().getCommercialAtKeyword_2_0());\n \t\t\t\n // InternalRMParser.g:9224:4: ( (lv_version_4_0= RULE_VERSION ) )\n // InternalRMParser.g:9225:5: (lv_version_4_0= RULE_VERSION )\n {\n // InternalRMParser.g:9225:5: (lv_version_4_0= RULE_VERSION )\n // InternalRMParser.g:9226:6: lv_version_4_0= RULE_VERSION\n {\n lv_version_4_0=(Token)match(input,RULE_VERSION,FOLLOW_2); \n\n \t\t\t\t\t\tnewLeafNode(lv_version_4_0, grammarAccess.getEPREFIX_IDAccess().getVersionVERSIONTerminalRuleCall_2_1_0());\n \t\t\t\t\t\n\n \t\t\t\t\t\tif (current==null) {\n \t\t\t\t\t\t\tcurrent = createModelElement(grammarAccess.getEPREFIX_IDRule());\n \t\t\t\t\t\t}\n \t\t\t\t\t\tsetWithLastConsumed(\n \t\t\t\t\t\t\tcurrent,\n \t\t\t\t\t\t\t\"version\",\n \t\t\t\t\t\t\tlv_version_4_0,\n \t\t\t\t\t\t\t\"org.sodalite.dsl.RM.VERSION\");\n \t\t\t\t\t\n\n }\n\n\n }\n\n\n }\n break;\n\n }\n\n\n }\n\n\n }\n\n\n \tleaveRule();\n\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n }\n return current;\n }", "title": "" }, { "docid": "92d0f876fc4936daade99249a7fea199", "score": "0.44665748", "text": "public final void rule__Cooperate__TaskAssignment_2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDroneScript.g:17275:1: ( ( ( RULE_ID ) ) )\r\n // InternalDroneScript.g:17276:2: ( ( RULE_ID ) )\r\n {\r\n // InternalDroneScript.g:17276:2: ( ( RULE_ID ) )\r\n // InternalDroneScript.g:17277:3: ( RULE_ID )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getCooperateAccess().getTaskTaskCrossReference_2_0()); \r\n }\r\n // InternalDroneScript.g:17278:3: ( RULE_ID )\r\n // InternalDroneScript.g:17279:4: RULE_ID\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getCooperateAccess().getTaskTaskIDTerminalRuleCall_2_0_1()); \r\n }\r\n match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getCooperateAccess().getTaskTaskIDTerminalRuleCall_2_0_1()); \r\n }\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getCooperateAccess().getTaskTaskCrossReference_2_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "091eb9e6eb6ceca17a93701637adce07", "score": "0.4441446", "text": "public final AntlrDatatypeRuleToken ruleValidID() throws RecognitionException {\n AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();\n\n Token this_ID_0=null;\n\n enterRule(); \n \n try {\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:3083:28: (this_ID_0= RULE_ID )\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:3084:5: this_ID_0= RULE_ID\n {\n this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleValidID7380); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\tcurrent.merge(this_ID_0);\n \n }\n if ( state.backtracking==0 ) {\n \n newLeafNode(this_ID_0, grammarAccess.getValidIDAccess().getIDTerminalRuleCall()); \n \n }\n\n }\n\n if ( state.backtracking==0 ) {\n leaveRule(); \n }\n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "title": "" }, { "docid": "65f57e92105b06d6d9ef66f82337b94c", "score": "0.4435063", "text": "public final String entryRuleR() throws RecognitionException {\n String current = null;\n\n AntlrDatatypeRuleToken iv_ruleR = null;\n\n\n try {\n // InternalMLRegression.g:225:41: (iv_ruleR= ruleR EOF )\n // InternalMLRegression.g:226:2: iv_ruleR= ruleR EOF\n {\n newCompositeNode(grammarAccess.getRRule()); \n pushFollow(FOLLOW_1);\n iv_ruleR=ruleR();\n\n state._fsp--;\n\n current =iv_ruleR.getText(); \n match(input,EOF,FOLLOW_2); \n\n }\n\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n }\n return current;\n }", "title": "" }, { "docid": "652232db445b7bfe1a485537e3753038", "score": "0.44320387", "text": "public final void entryRuleEntry() throws RecognitionException {\n try {\n // ../org.eclipse.ese.android.dsl.ui/src-gen/org/eclipse/ese/ui/contentassist/antlr/internal/InternalAndroid.g:62:1: ( ruleEntry EOF )\n // ../org.eclipse.ese.android.dsl.ui/src-gen/org/eclipse/ese/ui/contentassist/antlr/internal/InternalAndroid.g:63:1: ruleEntry EOF\n {\n before(grammarAccess.getEntryRule()); \n pushFollow(FollowSets000.FOLLOW_ruleEntry_in_entryRuleEntry61);\n ruleEntry();\n _fsp--;\n\n after(grammarAccess.getEntryRule()); \n match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleEntry68); \n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "title": "" }, { "docid": "23282b6db8502153df9bd3d412affe3f", "score": "0.44294986", "text": "public final void rule__QualifiedName__Group_1__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:4261:1: ( ( RULE_ID ) )\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:4262:1: ( RULE_ID )\n {\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:4262:1: ( RULE_ID )\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:4263:1: RULE_ID\n {\n before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); \n match(input,RULE_ID,FOLLOW_RULE_ID_in_rule__QualifiedName__Group_1__1__Impl9130); \n after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "08e7c1aa33316c532be31a74b9862b41", "score": "0.44277224", "text": "public final void rule__IDENTIFIER__Alternatives() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalGo.g:3134:1: ( ( RULE_ID ) | ( ( rule__IDENTIFIER__Group_1__0 ) ) )\r\n int alt2=2;\r\n int LA2_0 = input.LA(1);\r\n\r\n if ( (LA2_0==RULE_ID) ) {\r\n int LA2_1 = input.LA(2);\r\n\r\n if ( (synpred3_InternalGo()) ) {\r\n alt2=1;\r\n }\r\n else if ( (true) ) {\r\n alt2=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return ;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 2, 1, input);\r\n\r\n throw nvae;\r\n }\r\n }\r\n else if ( (LA2_0==46) ) {\r\n alt2=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return ;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 2, 0, input);\r\n\r\n throw nvae;\r\n }\r\n switch (alt2) {\r\n case 1 :\r\n // InternalGo.g:3135:2: ( RULE_ID )\r\n {\r\n // InternalGo.g:3135:2: ( RULE_ID )\r\n // InternalGo.g:3136:3: RULE_ID\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getIDENTIFIERAccess().getIDTerminalRuleCall_0()); \r\n }\r\n match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getIDENTIFIERAccess().getIDTerminalRuleCall_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 2 :\r\n // InternalGo.g:3141:2: ( ( rule__IDENTIFIER__Group_1__0 ) )\r\n {\r\n // InternalGo.g:3141:2: ( ( rule__IDENTIFIER__Group_1__0 ) )\r\n // InternalGo.g:3142:3: ( rule__IDENTIFIER__Group_1__0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getIDENTIFIERAccess().getGroup_1()); \r\n }\r\n // InternalGo.g:3143:3: ( rule__IDENTIFIER__Group_1__0 )\r\n // InternalGo.g:3143:4: rule__IDENTIFIER__Group_1__0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__IDENTIFIER__Group_1__0();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getIDENTIFIERAccess().getGroup_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "32dd886849271d2c03b86fa960c0bdf9", "score": "0.4421769", "text": "public final void ruleValidID() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2115:2: ( ( RULE_ID ) )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2116:1: ( RULE_ID )\r\n {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2116:1: ( RULE_ID )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2117:1: RULE_ID\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getValidIDAccess().getIDTerminalRuleCall()); \r\n }\r\n match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleValidID4455); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getValidIDAccess().getIDTerminalRuleCall()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "057ba95642d172750b94d668f37362ed", "score": "0.4419733", "text": "Rule Inheritance() {\n return Sequence(\"extends \", Identifier());\n }", "title": "" }, { "docid": "ce97f0f1c4698f1eb38b1a9a3da9a91a", "score": "0.44155216", "text": "public void addRule(Character identifier, String definition){\n if(isNonterminal(identifier)){\n String s = identifier+\"\";\n identifier = s.charAt(0);\n rules.put(identifier, definition.toLowerCase());\n }\n else{\n throw new RuntimeException();\n }\n }", "title": "" }, { "docid": "8f88e79051395d6d4d9c7333b6db2501", "score": "0.44058207", "text": "public final EObject ruleidColonne() throws RecognitionException {\n EObject current = null;\n\n Token otherlv_0=null;\n Token lv_id_1_0=null;\n\n\n \tenterRule();\n\n try {\n // InternalMyDsl.g:556:2: ( (otherlv_0= 'Colonne' ( (lv_id_1_0= RULE_INT ) ) ) )\n // InternalMyDsl.g:557:2: (otherlv_0= 'Colonne' ( (lv_id_1_0= RULE_INT ) ) )\n {\n // InternalMyDsl.g:557:2: (otherlv_0= 'Colonne' ( (lv_id_1_0= RULE_INT ) ) )\n // InternalMyDsl.g:558:3: otherlv_0= 'Colonne' ( (lv_id_1_0= RULE_INT ) )\n {\n otherlv_0=(Token)match(input,23,FOLLOW_16); \n\n \t\t\tnewLeafNode(otherlv_0, grammarAccess.getIdColonneAccess().getColonneKeyword_0());\n \t\t\n // InternalMyDsl.g:562:3: ( (lv_id_1_0= RULE_INT ) )\n // InternalMyDsl.g:563:4: (lv_id_1_0= RULE_INT )\n {\n // InternalMyDsl.g:563:4: (lv_id_1_0= RULE_INT )\n // InternalMyDsl.g:564:5: lv_id_1_0= RULE_INT\n {\n lv_id_1_0=(Token)match(input,RULE_INT,FOLLOW_2); \n\n \t\t\t\t\tnewLeafNode(lv_id_1_0, grammarAccess.getIdColonneAccess().getIdINTTerminalRuleCall_1_0());\n \t\t\t\t\n\n \t\t\t\t\tif (current==null) {\n \t\t\t\t\t\tcurrent = createModelElement(grammarAccess.getIdColonneRule());\n \t\t\t\t\t}\n \t\t\t\t\tsetWithLastConsumed(\n \t\t\t\t\t\tcurrent,\n \t\t\t\t\t\t\"id\",\n \t\t\t\t\t\tlv_id_1_0,\n \t\t\t\t\t\t\"org.eclipse.xtext.common.Terminals.INT\");\n \t\t\t\t\n\n }\n\n\n }\n\n\n }\n\n\n }\n\n\n \tleaveRule();\n\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n }\n return current;\n }", "title": "" }, { "docid": "999707427e01228d50a1889ef3c75c66", "score": "0.43817502", "text": "public final void entryRulePrimaryExpr2() throws RecognitionException {\r\n try {\r\n // InternalGo.g:2455:1: ( rulePrimaryExpr2 EOF )\r\n // InternalGo.g:2456:1: rulePrimaryExpr2 EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getPrimaryExpr2Rule()); \r\n }\r\n pushFollow(FOLLOW_1);\r\n rulePrimaryExpr2();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getPrimaryExpr2Rule()); \r\n }\r\n match(input,EOF,FOLLOW_2); if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "7053300f90bd898044584d2e57c528ac", "score": "0.43775067", "text": "public final void rule__Cooperate__RoleAssignment_4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDroneScript.g:17294:1: ( ( ( RULE_ID ) ) )\r\n // InternalDroneScript.g:17295:2: ( ( RULE_ID ) )\r\n {\r\n // InternalDroneScript.g:17295:2: ( ( RULE_ID ) )\r\n // InternalDroneScript.g:17296:3: ( RULE_ID )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getCooperateAccess().getRoleRoleCrossReference_4_0()); \r\n }\r\n // InternalDroneScript.g:17297:3: ( RULE_ID )\r\n // InternalDroneScript.g:17298:4: RULE_ID\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getCooperateAccess().getRoleRoleIDTerminalRuleCall_4_0_1()); \r\n }\r\n match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getCooperateAccess().getRoleRoleIDTerminalRuleCall_4_0_1()); \r\n }\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getCooperateAccess().getRoleRoleCrossReference_4_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "c54419fe4e5bc568a4ebe44929253b55", "score": "0.4376158", "text": "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:6370:10: ( ( '0' .. '9' )+ )\n // InternalMyDsl.g:6370:12: ( '0' .. '9' )+\n {\n // InternalMyDsl.g:6370:12: ( '0' .. '9' )+\n int cnt4=0;\n loop4:\n do {\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( ((LA4_0>='0' && LA4_0<='9')) ) {\n alt4=1;\n }\n\n\n switch (alt4) {\n \tcase 1 :\n \t // InternalMyDsl.g:6370:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt4 >= 1 ) break loop4;\n EarlyExitException eee =\n new EarlyExitException(4, input);\n throw eee;\n }\n cnt4++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "9e078d625cd5d713ebe324ee31a45dbb", "score": "0.43695682", "text": "public final void rule__BSQLMachine__InitAssignment_7() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalBSQL2Java.g:3048:1: ( ( RULE_ID ) )\n // InternalBSQL2Java.g:3049:2: ( RULE_ID )\n {\n // InternalBSQL2Java.g:3049:2: ( RULE_ID )\n // InternalBSQL2Java.g:3050:3: RULE_ID\n {\n before(grammarAccess.getBSQLMachineAccess().getInitIDTerminalRuleCall_7_0()); \n match(input,RULE_ID,FOLLOW_2); \n after(grammarAccess.getBSQLMachineAccess().getInitIDTerminalRuleCall_7_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "37a21efecd04ec3ff66cf2a768e5508d", "score": "0.43632105", "text": "public final void rule__Konto__InhaberAssignment_4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:16864:1: ( ( ( RULE_ID ) ) )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:16865:1: ( ( RULE_ID ) )\r\n {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:16865:1: ( ( RULE_ID ) )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:16866:1: ( RULE_ID )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getKontoAccess().getInhaberKontaktCrossReference_4_0()); \r\n }\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:16867:1: ( RULE_ID )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:16868:1: RULE_ID\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getKontoAccess().getInhaberKontaktIDTerminalRuleCall_4_0_1()); \r\n }\r\n match(input,RULE_ID,FOLLOW_RULE_ID_in_rule__Konto__InhaberAssignment_434027); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getKontoAccess().getInhaberKontaktIDTerminalRuleCall_4_0_1()); \r\n }\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getKontoAccess().getInhaberKontaktCrossReference_4_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "9168d986c11185a11bef3b3690066071", "score": "0.43605417", "text": "public final void mRULE_IDENT_DOT() throws RecognitionException {\n try {\n int _type = RULE_IDENT_DOT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12777:16: ( RULE_IDENT ( RULE_DOT RULE_IDENT )+ )\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12777:18: RULE_IDENT ( RULE_DOT RULE_IDENT )+\n {\n mRULE_IDENT(); \n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12777:29: ( RULE_DOT RULE_IDENT )+\n int cnt4=0;\n loop4:\n do {\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( (LA4_0=='.') ) {\n alt4=1;\n }\n\n\n switch (alt4) {\n \tcase 1 :\n \t // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12777:30: RULE_DOT RULE_IDENT\n \t {\n \t mRULE_DOT(); \n \t mRULE_IDENT(); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt4 >= 1 ) break loop4;\n EarlyExitException eee =\n new EarlyExitException(4, input);\n throw eee;\n }\n cnt4++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "6d69903b073221797950cb64497729db", "score": "0.4360481", "text": "public final EObject rulePrimaryExpression() throws RecognitionException {\n EObject current = null;\n\n EObject this_Literal_0 = null;\n\n EObject this_FeatureCall_1 = null;\n\n EObject this_UnitConstructionOperator_2 = null;\n\n EObject this_BeginExpression_3 = null;\n\n EObject this_EndExpression_4 = null;\n\n\n EObject temp=null; setCurrentLookahead(); resetLookahead(); \n \n try {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4235:6: ( (this_Literal_0= ruleLiteral | this_FeatureCall_1= ruleFeatureCall | this_UnitConstructionOperator_2= ruleUnitConstructionOperator | this_BeginExpression_3= ruleBeginExpression | this_EndExpression_4= ruleEndExpression ) )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4236:1: (this_Literal_0= ruleLiteral | this_FeatureCall_1= ruleFeatureCall | this_UnitConstructionOperator_2= ruleUnitConstructionOperator | this_BeginExpression_3= ruleBeginExpression | this_EndExpression_4= ruleEndExpression )\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4236:1: (this_Literal_0= ruleLiteral | this_FeatureCall_1= ruleFeatureCall | this_UnitConstructionOperator_2= ruleUnitConstructionOperator | this_BeginExpression_3= ruleBeginExpression | this_EndExpression_4= ruleEndExpression )\n int alt62=5;\n switch ( input.LA(1) ) {\n case RULE_REAL:\n case RULE_INTEGER:\n case RULE_STRING:\n case 76:\n case 77:\n {\n alt62=1;\n }\n break;\n case RULE_ID:\n case 13:\n case 25:\n case 33:\n {\n alt62=2;\n }\n break;\n case 55:\n {\n alt62=3;\n }\n break;\n case 56:\n {\n alt62=4;\n }\n break;\n case 57:\n {\n alt62=5;\n }\n break;\n default:\n NoViableAltException nvae =\n new NoViableAltException(\"4236:1: (this_Literal_0= ruleLiteral | this_FeatureCall_1= ruleFeatureCall | this_UnitConstructionOperator_2= ruleUnitConstructionOperator | this_BeginExpression_3= ruleBeginExpression | this_EndExpression_4= ruleEndExpression )\", 62, 0, input);\n\n throw nvae;\n }\n\n switch (alt62) {\n case 1 :\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4237:5: this_Literal_0= ruleLiteral\n {\n \n currentNode=createCompositeNode(grammarAccess.getPrimaryExpressionAccess().getLiteralParserRuleCall_0(), currentNode); \n \n pushFollow(FOLLOW_ruleLiteral_in_rulePrimaryExpression7212);\n this_Literal_0=ruleLiteral();\n _fsp--;\n\n \n current = this_Literal_0; \n currentNode = currentNode.getParent();\n \n\n }\n break;\n case 2 :\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4247:5: this_FeatureCall_1= ruleFeatureCall\n {\n \n currentNode=createCompositeNode(grammarAccess.getPrimaryExpressionAccess().getFeatureCallParserRuleCall_1(), currentNode); \n \n pushFollow(FOLLOW_ruleFeatureCall_in_rulePrimaryExpression7239);\n this_FeatureCall_1=ruleFeatureCall();\n _fsp--;\n\n \n current = this_FeatureCall_1; \n currentNode = currentNode.getParent();\n \n\n }\n break;\n case 3 :\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4257:5: this_UnitConstructionOperator_2= ruleUnitConstructionOperator\n {\n \n currentNode=createCompositeNode(grammarAccess.getPrimaryExpressionAccess().getUnitConstructionOperatorParserRuleCall_2(), currentNode); \n \n pushFollow(FOLLOW_ruleUnitConstructionOperator_in_rulePrimaryExpression7266);\n this_UnitConstructionOperator_2=ruleUnitConstructionOperator();\n _fsp--;\n\n \n current = this_UnitConstructionOperator_2; \n currentNode = currentNode.getParent();\n \n\n }\n break;\n case 4 :\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4267:5: this_BeginExpression_3= ruleBeginExpression\n {\n \n currentNode=createCompositeNode(grammarAccess.getPrimaryExpressionAccess().getBeginExpressionParserRuleCall_3(), currentNode); \n \n pushFollow(FOLLOW_ruleBeginExpression_in_rulePrimaryExpression7293);\n this_BeginExpression_3=ruleBeginExpression();\n _fsp--;\n\n \n current = this_BeginExpression_3; \n currentNode = currentNode.getParent();\n \n\n }\n break;\n case 5 :\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4277:5: this_EndExpression_4= ruleEndExpression\n {\n \n currentNode=createCompositeNode(grammarAccess.getPrimaryExpressionAccess().getEndExpressionParserRuleCall_4(), currentNode); \n \n pushFollow(FOLLOW_ruleEndExpression_in_rulePrimaryExpression7320);\n this_EndExpression_4=ruleEndExpression();\n _fsp--;\n\n \n current = this_EndExpression_4; \n currentNode = currentNode.getParent();\n \n\n }\n break;\n\n }\n\n\n }\n\n resetLookahead(); \n \tlastConsumedNode = currentNode;\n \n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "title": "" }, { "docid": "0a333bf98be32823197ceb4c1a84bc8e", "score": "0.43574074", "text": "public final void mID() throws RecognitionException {\n\t\ttry {\n\t\t\t// /Users/Sarah/Projects/ontop/obdalib-core/src/main/java/it/unibz/krdb/obda/parser/Datalog.g:459:12: ( ID_START ( ID_CORE )* )\n\t\t\t// /Users/Sarah/Projects/ontop/obdalib-core/src/main/java/it/unibz/krdb/obda/parser/Datalog.g:459:14: ID_START ( ID_CORE )*\n\t\t\t{\n\t\t\tmID_START(); \n\n\t\t\t// /Users/Sarah/Projects/ontop/obdalib-core/src/main/java/it/unibz/krdb/obda/parser/Datalog.g:459:23: ( ID_CORE )*\n\t\t\tloop2:\n\t\t\twhile (true) {\n\t\t\t\tint alt2=2;\n\t\t\t\tint LA2_0 = input.LA(1);\n\t\t\t\tif ( ((LA2_0 >= '0' && LA2_0 <= '9')||(LA2_0 >= 'A' && LA2_0 <= 'Z')||LA2_0=='_'||(LA2_0 >= 'a' && LA2_0 <= 'z')) ) {\n\t\t\t\t\talt2=1;\n\t\t\t\t}\n\n\t\t\t\tswitch (alt2) {\n\t\t\t\tcase 1 :\n\t\t\t\t\t// /Users/Sarah/Projects/ontop/obdalib-core/src/main/java/it/unibz/krdb/obda/parser/Datalog.g:\n\t\t\t\t\t{\n\t\t\t\t\tif ( (input.LA(1) >= '0' && input.LA(1) <= '9')||(input.LA(1) >= 'A' && input.LA(1) <= 'Z')||input.LA(1)=='_'||(input.LA(1) >= 'a' && input.LA(1) <= 'z') ) {\n\t\t\t\t\t\tinput.consume();\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tMismatchedSetException mse = new MismatchedSetException(null,input);\n\t\t\t\t\t\trecover(mse);\n\t\t\t\t\t\tthrow mse;\n\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t\tdefault :\n\t\t\t\t\tbreak loop2;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t}\n\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "title": "" }, { "docid": "7102226bc8852d6bf9dd539e2b541e8a", "score": "0.43428487", "text": "private @Nullable IdentifierToken eatId() {\n if (peekId()) {\n return eatIdOrKeywordAsId();\n } else {\n reportExpectedError(peekToken(), TokenType.IDENTIFIER);\n if (peekIdOrKeyword()) {\n return eatIdOrKeywordAsId();\n } else {\n return null;\n }\n }\n }", "title": "" }, { "docid": "af2e14b732bb699f81411082a67e30b0", "score": "0.43415675", "text": "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2136:10: ( ( '0' .. '9' )+ )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2136:12: ( '0' .. '9' )+\n {\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2136:12: ( '0' .. '9' )+\n int cnt3=0;\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2136:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt3 >= 1 ) break loop3;\n EarlyExitException eee =\n new EarlyExitException(3, input);\n throw eee;\n }\n cnt3++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "48e2795fb1c4e522bf03f536b5938254", "score": "0.43331382", "text": "public final void entryRuleOpAdd() throws RecognitionException {\r\n try {\r\n // InternalDroneScript.g:830:1: ( ruleOpAdd EOF )\r\n // InternalDroneScript.g:831:1: ruleOpAdd EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getOpAddRule()); \r\n }\r\n pushFollow(FOLLOW_1);\r\n ruleOpAdd();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getOpAddRule()); \r\n }\r\n match(input,EOF,FOLLOW_2); if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "5d892d60ae73cce769b686be757ce3b1", "score": "0.43269256", "text": "public final void ruleID0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:291:2: ( ( 'ID' ) )\n // InternalMyDsl.g:292:2: ( 'ID' )\n {\n // InternalMyDsl.g:292:2: ( 'ID' )\n // InternalMyDsl.g:293:3: 'ID'\n {\n before(grammarAccess.getID0Access().getIDKeyword()); \n match(input,15,FOLLOW_2); \n after(grammarAccess.getID0Access().getIDKeyword()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "00be35ee726e52e31eba54859050823f", "score": "0.432515", "text": "public final EObject entryRuleRule() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleRule = null;\n\n\n try {\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:2736:2: (iv_ruleRule= ruleRule EOF )\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:2737:2: iv_ruleRule= ruleRule EOF\n {\n newCompositeNode(grammarAccess.getRuleRule()); \n pushFollow(FOLLOW_ruleRule_in_entryRuleRule6136);\n iv_ruleRule=ruleRule();\n\n state._fsp--;\n\n current =iv_ruleRule; \n match(input,EOF,FOLLOW_EOF_in_entryRuleRule6146); \n\n }\n\n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "title": "" } ]
2c44291a314931e5c52342d2ba3d3ec4
Gets the del cell.
[ { "docid": "ee3a42e3117121efb8887e7b888979ed", "score": "0.8777849", "text": "public String getDelCell() {\r\n\t\treturn delCell;\r\n\t}", "title": "" } ]
[ { "docid": "d1582a5e1fe15c11ac0021a9b398e01f", "score": "0.73744845", "text": "public void setDelCell(String delCell) {\r\n\t\tthis.delCell = delCell;\r\n\t}", "title": "" }, { "docid": "461b04ecd7ca40a1ba8173baa27affdc", "score": "0.6719092", "text": "private ColumnDeleteLabel getColumnDeleteLabel() {\n return this.deletar;\n }", "title": "" }, { "docid": "ddcbd8e1b8830b76c0066342a7f35766", "score": "0.6463601", "text": "public void deleteCell() {\r\n switch (frame.getFocusedPane()) {\r\n case FOCUS_LEFT:\r\n treeHandler.handleDeleteDialog();\r\n break;\r\n case FOCUS_RIGHT:\r\n regTableHandler.handleDeleteDialog();\r\n break;\r\n }\r\n }", "title": "" }, { "docid": "7120a0fa405114bbddb4792b1e81cd24", "score": "0.63074", "text": "public int getDelete() {\r\n\t\t\tfinal Object delete = node.getProperty(DELETE_PROPERTY);\r\n\t\t\treturn delete == null ? 0 : (int)delete;\r\n\t\t}", "title": "" }, { "docid": "758fb6d00fa50df956d96272e7f53df2", "score": "0.62089396", "text": "public String getCell() {\n return cell;\n }", "title": "" }, { "docid": "cdc849bcfc4b23041a96b2cb9e390bf3", "score": "0.613835", "text": "public Integer getDelmark() {\n return delmark;\n }", "title": "" }, { "docid": "8bb2984ca78574a5382dc017f0e22c17", "score": "0.6124522", "text": "DeqCell() {\n data = null;\n next = null;\n prev = null;\n }", "title": "" }, { "docid": "815fed4a74de4688120c909b9a82bd01", "score": "0.60997134", "text": "public Cell getDHG(Cell cell){\r\n\t\tif(index_on_x.get(cell.getX()-1) != null){\r\n\t\t\treturn index_on_x.get(cell.getX()-1).get(cell.getY()+1);\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "6529edab367fa7e7b9f259ca33e59888", "score": "0.60957366", "text": "public Delete getDeleted() {\n return this.deleted;\n }", "title": "" }, { "docid": "5429fdfa96b671500d21bc92d8b5d11a", "score": "0.60676086", "text": "public Cell getDBD(Cell cell){\r\n\t\tif(index_on_x.get(cell.getX()+1) != null){\r\n\t\t\treturn index_on_x.get(cell.getX()+1).get(cell.getY()-1);\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "6cdeb7c0501ea8616743028eaf94c054", "score": "0.60256815", "text": "@Override\n\tpublic int getMarkedAsDelete() {\n\t\treturn _dmHistoryState.getMarkedAsDelete();\n\t}", "title": "" }, { "docid": "25705297bb99dadd4258d47e22c0c5de", "score": "0.6015414", "text": "@Override\n\tpublic int getMarkedAsDelete() {\n\t\treturn _dmShipType.getMarkedAsDelete();\n\t}", "title": "" }, { "docid": "a334c63a13cf3aef2aee8f01e838d663", "score": "0.60086334", "text": "public java.lang.String getDelterm () {\n\t\treturn _delterm;\n\t}", "title": "" }, { "docid": "44fe5078f490f5f1bcde9d102d8e48f8", "score": "0.59970534", "text": "public Byte getDelFlag() {\n\t\treturn delFlag;\n\t}", "title": "" }, { "docid": "2481d81e5c0409d77f667a28206dec7b", "score": "0.5976352", "text": "public Cell getCell() {\n return cell;\n }", "title": "" }, { "docid": "4827e2faa60c65df324be89d5979ff38", "score": "0.58963597", "text": "public edu.usfca.cs.dfs.StorageMessages.DeleteData getDeleteData() {\n if (deleteDataBuilder_ == null) {\n if (msgCase_ == 15) {\n return (edu.usfca.cs.dfs.StorageMessages.DeleteData) msg_;\n }\n return edu.usfca.cs.dfs.StorageMessages.DeleteData.getDefaultInstance();\n } else {\n if (msgCase_ == 15) {\n return deleteDataBuilder_.getMessage();\n }\n return edu.usfca.cs.dfs.StorageMessages.DeleteData.getDefaultInstance();\n }\n }", "title": "" }, { "docid": "e258fd1c10226949cb9c95b19d060c61", "score": "0.58938587", "text": "public String getEditCell() {\r\n\t\treturn editCell;\r\n\t}", "title": "" }, { "docid": "b51807b04582daf574f68568a0ddb884", "score": "0.589107", "text": "public Cell getDBG(Cell cell){\r\n\t\tif(index_on_x.get(cell.getX()-1) != null){\r\n\t\t\treturn index_on_x.get(cell.getX()-1).get(cell.getY()-1);\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "4aef61643fb8097ada4176074dbe120b", "score": "0.5872121", "text": "public Integer getDelFlg() {\n\t\treturn delFlg;\n\t}", "title": "" }, { "docid": "44346716c9456b57282e30b9768eba67", "score": "0.58549786", "text": "public Byte getDelFlag() {\n return delFlag;\n }", "title": "" }, { "docid": "5edc3b3cdd2b9aca8ca3c1dfd8f5ff32", "score": "0.58427787", "text": "public String getCellid() {\r\n return cellid;\r\n }", "title": "" }, { "docid": "4f7ea0394c5eedfaa3ad6a6ee100d1dc", "score": "0.58346313", "text": "public Boolean getDel() {\n return del;\n }", "title": "" }, { "docid": "2791070f3abc41686eabf3471c618017", "score": "0.5827839", "text": "public edu.usfca.cs.dfs.StorageMessages.DeleteData getDeleteData() {\n if (msgCase_ == 15) {\n return (edu.usfca.cs.dfs.StorageMessages.DeleteData) msg_;\n }\n return edu.usfca.cs.dfs.StorageMessages.DeleteData.getDefaultInstance();\n }", "title": "" }, { "docid": "6a719d4ba03aefe03f5a2c11d3a13d7e", "score": "0.5806894", "text": "boolean getDel()\r\n {return deleted;}", "title": "" }, { "docid": "a7c2113659dc9b60a553b323f33890fc", "score": "0.5805709", "text": "public int getCellId() {\n return this.cellId;\n }", "title": "" }, { "docid": "50cd9dbd076eb93e6bbb66311e683b57", "score": "0.579833", "text": "public Byte getDeleted() {\n return deleted;\n }", "title": "" }, { "docid": "60b20f7ebf15357b228fb24011e8d0a8", "score": "0.57482004", "text": "@Override\r\n public Cell getCell(Location loc) {\n return null;\r\n }", "title": "" }, { "docid": "ddb4543738e77d6c212704c8e0c8a592", "score": "0.57415736", "text": "org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.DeleteType getDeleteType();", "title": "" }, { "docid": "3a46465bcafac362d7515b8906363a64", "score": "0.5739344", "text": "edu.usfca.cs.dfs.StorageMessages.DeleteData getDeleteData();", "title": "" }, { "docid": "d8cbcbb96a35d0e24d2b9de8a129ecb8", "score": "0.5735801", "text": "public Byte getDel_flag() {\n return del_flag;\n }", "title": "" }, { "docid": "1e53b551435e9835fe3944c9db3c7132", "score": "0.5730121", "text": "public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.DeleteType getDeleteType() {\n return deleteType_;\n }", "title": "" }, { "docid": "00fe5b46bc164b35ec0ee6810496ccfb", "score": "0.5714975", "text": "public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.DeleteType getDeleteType() {\n return deleteType_;\n }", "title": "" }, { "docid": "03680f66865fa8770aa27be7463eab90", "score": "0.5713562", "text": "public String getDeleted() {\r\n return this.deleted;\r\n }", "title": "" }, { "docid": "53b197c68ddd38204a84a325d115b662", "score": "0.570747", "text": "public java.lang.Boolean getDelete()\n {\n return delete;\n }", "title": "" }, { "docid": "4fa87937423bcab0c20d55011840b739", "score": "0.570043", "text": "public Button getDeleteButton() {\n\t\treturn deleteButton;\n\t}", "title": "" }, { "docid": "d9b628b1c3077e7778d3f717013c3e5d", "score": "0.5697781", "text": "public Integer getDeleted() {\r\n return deleted;\r\n }", "title": "" }, { "docid": "ae75a069b3cd8dd2b133c61758b4d3ac", "score": "0.567647", "text": "public Integer getDeleted() {\n return deleted;\n }", "title": "" }, { "docid": "ef5e4cd438a1c41951af8fd55e465b5f", "score": "0.5643743", "text": "public int getDeletedborder() {\n return deletedborder;\n }", "title": "" }, { "docid": "6798eb7f02a360e63f751f9a68209198", "score": "0.5616547", "text": "private JButton getDelButton() {\r\n\t\tif (delButton == null) {\r\n\t\t\tdelButton = new JButton();\r\n\t\t\tdelButton.setText(\"DELETE\");\r\n\t\t\tdelButton.setIcon(new ImageIcon(getClass().getResource(\"/icons/delete-16x16.gif\")));\r\n\t\t\tdelButton.addActionListener(this);\r\n\t\t}\r\n\t\treturn delButton;\r\n\t}", "title": "" }, { "docid": "044ade06bf76d82cf69bd3a6302f7808", "score": "0.55975026", "text": "public Cell getDHD(Cell cell){\r\n\t\tif(index_on_x.get(cell.getX()+1) != null){\r\n\t\t\treturn index_on_x.get(cell.getX()+1).get(cell.getY()+1);\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "aa96eb575af84f5462ed117d3b2737f8", "score": "0.5589142", "text": "public Integer getIsDel() {\n return isDel;\n }", "title": "" }, { "docid": "8f863094ad8ab8abad50324e25bee788", "score": "0.55672944", "text": "public edu.usfca.cs.dfs.StorageMessages.DeleteDataOrBuilder getDeleteDataOrBuilder() {\n if ((msgCase_ == 15) && (deleteDataBuilder_ != null)) {\n return deleteDataBuilder_.getMessageOrBuilder();\n } else {\n if (msgCase_ == 15) {\n return (edu.usfca.cs.dfs.StorageMessages.DeleteData) msg_;\n }\n return edu.usfca.cs.dfs.StorageMessages.DeleteData.getDefaultInstance();\n }\n }", "title": "" }, { "docid": "fc86d9c32106ab3e33944f2d39b848ad", "score": "0.5560703", "text": "@Override\n\tprotected Delete getThis() {\n\t\treturn this;\n\t}", "title": "" }, { "docid": "266972eae9276ca3e93fdb35e4019925", "score": "0.5552378", "text": "public Integer getBadCell() {\n return badCell;\n }", "title": "" }, { "docid": "813866b2dda43cdec4eb803070f8113e", "score": "0.55449516", "text": "public edu.usfca.cs.dfs.StorageMessages.DeleteDataOrBuilder getDeleteDataOrBuilder() {\n if (msgCase_ == 15) {\n return (edu.usfca.cs.dfs.StorageMessages.DeleteData) msg_;\n }\n return edu.usfca.cs.dfs.StorageMessages.DeleteData.getDefaultInstance();\n }", "title": "" }, { "docid": "2a5614f6567c4a0cfe6629aca7df86fe", "score": "0.55405325", "text": "public String getDeleteFlag() {\n\t\treturn this.deleteFlag;\n\t}", "title": "" }, { "docid": "a1fe2cb0c6333e2886fdceb0dfa24394", "score": "0.5538748", "text": "public Byte getDeleteFlag() {\n return deleteFlag;\n }", "title": "" }, { "docid": "2e16cd3fa928fee5649f902276da67ef", "score": "0.55374765", "text": "public Integer getIsDel() {\r\n return isDel;\r\n }", "title": "" }, { "docid": "065e85582e3b9550ed6271666e019489", "score": "0.5537048", "text": "public Cell getHaut(Cell cell){\r\n\t\treturn index_on_x.get(cell.getX()).get(cell.getY()+1);\r\n\t}", "title": "" }, { "docid": "fe03fb1044c79e4aa5523c65af16ea52", "score": "0.5533028", "text": "int getDirt(){\r\n\t\tif(!this.isClean()){\r\n\t\t\t_dirt -= 1;\r\n\t\t\tlogger.info(\"Dirt Being Removed From Cell\");\r\n\t\t\treturn 1;\r\n\t\t}\r\n\t\telse{\r\n\t\t\tlogger.info(\"No Dirt Present to Be Removed\");\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\t\t\r\n\t}", "title": "" }, { "docid": "a190c2f24085488be3970be675a9ddde", "score": "0.5529983", "text": "public DeletionTool getDeletionTool() {\n return deletionTool;\n }", "title": "" }, { "docid": "b34fc8e0672d5dd19e9b509cc76de0a3", "score": "0.5526782", "text": "private JButton getBTNDelete() {\r\n\t\tif (BTNDelete == null) {\r\n\t\t\tBTNDelete = new JButton();\r\n\t\t\tBTNDelete.setBounds(new java.awt.Rectangle(500,211,113,24));\r\n\t\t\tBTNDelete.setFont(new java.awt.Font(\"Dialog\", java.awt.Font.PLAIN, 10));\r\n\t\t\tBTNDelete.setText(\"Remove from list\");\r\n\t\t\tBTNDelete.addActionListener(new java.awt.event.ActionListener() {\r\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\r\n\t\t\t\t\tlistOpt=LSTMsg.getSelectedIndex();\r\n\t\t\t\t\tif (listOpt!=-1){\r\n\t\t\t\t\t\tdelFromArray(listOpt);\r\n\t\t\t\t\t\tshowList();\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn BTNDelete;\r\n\t}", "title": "" }, { "docid": "43798709d270a50c636433882df9b22a", "score": "0.5517379", "text": "public \tE popNodo() {\n\t\ttry {\r\n\t\t\treturn this.inicio.getDato();\r\n\t\t}catch (IndexOutOfBoundsException ex) {\r\n\t\t\tthrow new NoSuchElementException(\"No se puede hacer un dequeue en una cola vacia\");\r\n\t}\r\n\t}", "title": "" }, { "docid": "f0f28bbb61c20d3c559321cefd7df02c", "score": "0.548602", "text": "public Integer getDeleteFlag() {\n return deleteFlag;\n }", "title": "" }, { "docid": "f0f28bbb61c20d3c559321cefd7df02c", "score": "0.548602", "text": "public Integer getDeleteFlag() {\n return deleteFlag;\n }", "title": "" }, { "docid": "bd4b3526235fc9272e4fe8407b52f336", "score": "0.5463105", "text": "public Integer getDowntiltcell1() {\n\t\treturn downtiltcell1;\n\t}", "title": "" }, { "docid": "dac900d94057ffd17b786908abe1a3b4", "score": "0.54437554", "text": "private JButton getBtnDelete() {\r\n\t\tif (btnDelete == null) {\r\n\t\t\tbtnDelete = new JButton();\r\n\t\t\tbtnDelete.setText(\"Delete Designation\");\r\n\t\t\tbtnDelete.setSize(new Dimension(165, 40));\r\n\t\t\tbtnDelete.setIcon(new ImageIcon(getClass().getResource(\"/images/Delete.png\")));\r\n\t\t\tbtnDelete.setMnemonic(KeyEvent.VK_UNDEFINED);\r\n\t\t\tbtnDelete.setLocation(new Point(378, 300));\r\n\t\t\tbtnDelete.addActionListener(new ActionListener() {\r\n\t\t\t\t\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\tSystem.out.println(\"actionPerformed()\"); // TODO Auto-generated Event stub actionPerformed()\r\n\t\t\t\t\tDesignationModel mo = new DesignationModel();\r\n\t\t\t\t\tint row = jTableViewdesignation.getSelectedRow();\r\n\t\t\t\t\tif(row== -1){\r\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"You not choose to delete the line\",\"Notice\",JOptionPane.ERROR_MESSAGE);\r\n\t\t\t\t\t\treturn;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tint column = 0;\r\n\t\t\t\t\tString manvduocluachon = jTableViewdesignation.getValueAt(row, column).toString();\r\n\t\t\t\t\tmo.setDesID(manvduocluachon);\r\n\t\t\t\t\tint yn = JOptionPane.showConfirmDialog(null, \"Are you sure you want to delete\",\"Notice\",JOptionPane.OK_CANCEL_OPTION);\r\n\t\t\t\t\tif(yn == 0){\r\n\t\t\t\t\t\tBoolean kq = DesignationDAO.deleteDesignation(mo);\r\n\t\t\t\t\t\tif(kq){\r\n\t\t\t\t\t\t\tloadDataToTable();\r\n\t\t\t\t\t\t\tjTableViewdesignation.setModel(new DefaultTableModel(tableData,ColumnName));\r\n\t\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Delete success\",\"Notice\",JOptionPane.INFORMATION_MESSAGE);\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}else {\r\n\t\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Delete Failed\",\"Notice\",JOptionPane.WARNING_MESSAGE);\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn btnDelete;\r\n\t}", "title": "" }, { "docid": "829258eb8d8e6d7de4831ca9284e8b80", "score": "0.5435467", "text": "public Short getDeleteFlg() {\n return deleteFlg;\n }", "title": "" }, { "docid": "dfb192bf3055987d58b5f8d0e786bb8b", "score": "0.5424351", "text": "public String getCell0(){ return block.get(0).cell; }", "title": "" }, { "docid": "d72e3bc48fe3402fc69195f02fff693b", "score": "0.5396997", "text": "public void deleteCell(int x, int y) {\n\t\tif (!isActiveCell(x, y)) return;\n\t\tCell.getCellFromId(cellsType[x][y]).onDeletion(this, x, y);\n\t}", "title": "" }, { "docid": "85ecff65b5944644289d6e57beb61138", "score": "0.5394141", "text": "DeleteRule getDeleteRule();", "title": "" }, { "docid": "0496d5efe65f1318e18257a90ed8601c", "score": "0.5391104", "text": "public String getDeleteId() {\n\t\treturn deleteId;\n\t}", "title": "" }, { "docid": "d3a5bd18ce4e0d8c98886d6e2e17fe38", "score": "0.53909594", "text": "public Boolean getIsDel() {\n return isDel;\n }", "title": "" }, { "docid": "1f32c4c2c3721f8d120a6e558c33a5e4", "score": "0.53846467", "text": "public Integer getDeleteState() {\n return deleteState;\n }", "title": "" }, { "docid": "be3ab3442878fe018d0610ecdfc738a3", "score": "0.5379072", "text": "public String getDeleteFlag() {\r\n return deleteFlag;\r\n }", "title": "" }, { "docid": "92339964a98e08e2d4bf4fea3c8fcaca", "score": "0.5356979", "text": "public FormButton getDeleteButton() {\n return deleteButton;\n }", "title": "" }, { "docid": "3712db7d0237b632256014c923b95603", "score": "0.53486544", "text": "public int getModelDelete() {\r\n\t\t\tfinal Object delete = node.getProperty(MODEL_DELETE_PROPERTY);\r\n\t\t\treturn delete == null ? 0 : (int)delete;\r\n\t\t}", "title": "" }, { "docid": "92d89c82a46bec5edcec0146f26aed81", "score": "0.5345684", "text": "public Integer getIsdelete() {\r\n return isdelete;\r\n }", "title": "" }, { "docid": "22bb238746abc53e6aa49c5efc49fbb5", "score": "0.53442836", "text": "public String getDeleteFlag() {\n return deleteFlag;\n }", "title": "" }, { "docid": "3302cb5b8450f9e0f85c03ec183b5f28", "score": "0.53401226", "text": "public String getDeleteFlag() {\r\n\t\treturn deleteFlag;\r\n\t}", "title": "" }, { "docid": "9365f0b55173abc64c64d6c169a8f9c0", "score": "0.53315747", "text": "public boolean getDeleted() {\n\t\treturn _jobTitle.getDeleted();\n\t}", "title": "" }, { "docid": "9a0ff96c9d80d07a949c4cd7c517377d", "score": "0.53264856", "text": "public Integer getIsdelete() {\n return isdelete;\n }", "title": "" }, { "docid": "e476445fb0317e49443fad152247d145", "score": "0.53261095", "text": "public ImageView getDayDelete(){\n\t\t\n\t\treturn dayDelete;\n\t}", "title": "" }, { "docid": "ec492644b93395edf703bf2326c4ac09", "score": "0.53259784", "text": "@Field(7) \n\tpublic Pointer<PyObject > cl_delattr() {\n\t\treturn this.io.getPointerField(this, 7);\n\t}", "title": "" }, { "docid": "1f142b4b16cbff40fcd324d79ef9051e", "score": "0.5324739", "text": "public int getCellbody() {\n\t\treturn cellbody;\r\n\t}", "title": "" }, { "docid": "ee19331ef9a48c4f41f284d6a2cf1c7f", "score": "0.5321524", "text": "public boolean getDeleted () {\n\t\treturn _deleted;\n\t}", "title": "" }, { "docid": "d9a16d311d376d2f9f2a3ee03feb0190", "score": "0.53212947", "text": "public int getRemove() {\n return remove;\n }", "title": "" }, { "docid": "772d4338d997d2f33770ef39502c4b63", "score": "0.531975", "text": "public String getDelstat() {\r\n return (String) getAttributeInternal(DELSTAT);\r\n }", "title": "" }, { "docid": "5a135e514735fe6a379df1f48d6c97c9", "score": "0.53142637", "text": "public Piece getRemovedPiece() {\n return removedPiece;\n }", "title": "" }, { "docid": "c2e98e87104662a579274d99342df84a", "score": "0.53114647", "text": "public String getIsDel() {\r\n return isDel;\r\n }", "title": "" }, { "docid": "850c99a9c666de84844b77f34159fdff", "score": "0.5308574", "text": "default TSelf del() {\n return tag(\"del\");\n }", "title": "" }, { "docid": "0546a7b20b8f7d7a731762da1fb5c0c1", "score": "0.5305147", "text": "public Boolean getDeleted() {\r\n\t\treturn deleted;\r\n\t}", "title": "" }, { "docid": "ca8d5e91c80cbfe55846f9468da0a0ae", "score": "0.52706647", "text": "public Date getDelDate() {\n\t\treturn delDate;\n\t}", "title": "" }, { "docid": "524a6fb07bbb8bd31471748ce472e32b", "score": "0.5261664", "text": "@Override\n public T getCell(int row, int col) {\n return items[row][col];\n }", "title": "" }, { "docid": "48aaa5783016d46a28e7e65fb57449da", "score": "0.52584285", "text": "public E pop() {\n\t\tNodoLE<E> current=this.inicio;\r\n\t\ttry {\r\n\t\t\treturn current.getDato();\r\n\t\t}catch (IndexOutOfBoundsException ex) {\r\n\t\t\tthrow new NoSuchElementException(\"No se puede hacer un dequeue en una cola vacia\");\r\n\t}\r\n\t}", "title": "" }, { "docid": "c59ba48503e6e41bb4f26a46529c0285", "score": "0.52583337", "text": "public void notifyDeleteCell(EvaluationCell cell) {\n\t\tint sheetIndex = getSheetIndex(cell.getSheet());\n\t\t_cache.notifyDeleteCell(_workbookIx, sheetIndex, cell);\n\t}", "title": "" }, { "docid": "eabfef26c3a7899c93c97ce752ccc02a", "score": "0.52517205", "text": "public Integer getDeleteflag() {\n return deleteflag;\n }", "title": "" }, { "docid": "8a0fca3f8484bad6d1151fc528f44830", "score": "0.5249291", "text": "org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell getCell(int index);", "title": "" }, { "docid": "b2b774c8ac676d253b61fdc5253baefc", "score": "0.5244049", "text": "public int getCellID(int row_number, int column_number);", "title": "" }, { "docid": "3ff6a4918fe6f3258b0ce5f721ce0fee", "score": "0.5226038", "text": "public int getColumnNumber(int cell_id);", "title": "" }, { "docid": "4394be496ba0072ba3c22153dff242a2", "score": "0.5225897", "text": "public Employee delete()\n\t {\n\t Employee popped = Heap[1];\n\t Heap[1] = Heap[size--];\n\t heapify(1);\n\t return popped;\n\t }", "title": "" }, { "docid": "3eb8a458e19f24479d3a88350ca573ed", "score": "0.52241284", "text": "@Override\r\n\tpublic String delete() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "a0705f1ce00e1b37b4d23f126e6715c0", "score": "0.5222599", "text": "public Integer getTotalCell() {\n return totalCell;\n }", "title": "" }, { "docid": "1da6e4c83777b1c131af3c705208f53f", "score": "0.5222303", "text": "public Date getDeleteAt() {\n return deleteAt;\n }", "title": "" }, { "docid": "2adae5eeae09efa5d27b4c3e0f282451", "score": "0.5221836", "text": "public int getType()\r\n\t{\r\n\t\treturn Element.CELL;\r\n\t}", "title": "" }, { "docid": "fcd5757f9c9b63d1fca7c0776cae2f79", "score": "0.52179295", "text": "public WCell getCell(int x, int y);", "title": "" }, { "docid": "14d15fe52bbb877577538c1bf1e57d8e", "score": "0.5212509", "text": "@Override\n\tpublic Long delete() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "f0da7e5af73490bdf2b051399d72262f", "score": "0.5206777", "text": "Long getDeletedAt();", "title": "" }, { "docid": "4fe3f1222da7d1518bb0a4f3f94f6ab1", "score": "0.52002245", "text": "public Cell pop () {\n if (top == 0) {\n return null;\n }\n\t\tCell retval = peek();\n\t\tcell[top - 1] = null;\n\t\ttop--;\n\t\treturn retval;\n\t}", "title": "" }, { "docid": "db7e9f8e7e346a8191b6a967ebef5a35", "score": "0.5199124", "text": "public String getCsfDeleteCode() {\n return csfDeleteCode;\n }", "title": "" } ]
cb41fc9e6177183a4b142d0a8cf133ac
if entry scanned qr code is for a monthly plan car
[ { "docid": "d4ab4659974ecf1e2aaddad1cb9cb13f", "score": "0.0", "text": "public void createEntryForMonthlyVehicle(String json) {\n MonthlyCustomer monthlyCustomer = new Gson().fromJson(json, MonthlyCustomer.class);\n // entry.monthlyCustomer=monthlyCustomer;\n monthlyPlanMutableLiveData.setValue(monthlyCustomer);\n }", "title": "" } ]
[ { "docid": "26505f287decb2a4721a49fdcee04ab8", "score": "0.5615833", "text": "@Override\n\tpublic boolean checkConting(short year, short month) {\n\t\tList<ContingData> list = contingDataOutputRepositoty.findContingDataOuput(year, month);\n\t\tif (list.isEmpty()) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "8fe24a7ba5013c6898b499843af9cf13", "score": "0.5478075", "text": "private boolean equalCodes(CarPark mcp, int code, boolean isExitToken) {\n if (isExitToken) {\n for (ExitToken c : mcp.getExitTokens()) {\n if (c.getCode() == code) {\n return true; //returns true to tell the code has a match in the existing codes\n }\n }\n } else {\n for (Driver d : mcp.getDrivers()) {\n Receipt r = d.getReceipt();\n if (r.getCode() == code) {\n return true; //returns true to tell the code has a match in the existing codes\n }\n }\n }\n return false;\n }", "title": "" }, { "docid": "fc962ad4bb4fa606bff3c9cc6a8b93b9", "score": "0.5471039", "text": "private static boolean checkmonth(int month) {\n\t\tfor(int i=0; i<13 ; i++){\n\t\t\tif(month == i)\n\t\t\t\treturn true;\n\t\t\telse if(month!=i)\n\t\t\t\tcontinue;\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "a8f85bf68ea51c476b39727a3b5faf00", "score": "0.5377011", "text": "public static boolean m18655d() {\n String str = Build.MANUFACTURER + Build.BRAND;\n if (TextUtils.isEmpty(str)) {\n return false;\n }\n String lowerCase = str.toLowerCase();\n if (lowerCase.contains(\"360\") || lowerCase.contains(\"qiku\")) {\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "e5f5daca2ed1eba36ec610c3d1de4b37", "score": "0.5350736", "text": "public boolean scan(BarcodeImage bc);", "title": "" }, { "docid": "b90946c5c48d78fc226810f4b0569772", "score": "0.5310923", "text": "private Boolean licencaVencida(){\n\t\tCalendar dataLimite = Calendar.getInstance();\r\n\t\tdataLimite.set(2017, 12, 28);\r\n\t\tCalendar dataHoje = Calendar.getInstance();\r\n\t\tif(dataLimite.compareTo(dataHoje) <=0){\r\n\t\t\tSystem.out.println(\"Venceu\");\r\n\t\t\treturn true;\r\n\t\t}else{\r\n\t\t\tSystem.out.println(\"Pode usar vai\");\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "ca76b6690ec32cecf79351341b5a2d5f", "score": "0.5287497", "text": "public boolean check (MacBig_Container scan){\r\n\t\tif(scan.arr_macbig[0].time.equals(\"Time\")){\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tDate StartDate = HelpFilter.fromStringToDate(time_start);\r\n\t\tDate EndDate = HelpFilter.fromStringToDate(time_end);\r\n\t\tDate dateLine = null;\r\n\t\tdateLine = (Date) (HelpFilter.fromStringToDate(scan.arr_macbig[0].time));\r\n\t\tif (dateLine.after(StartDate)&&dateLine.before(EndDate)){\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "3e5d330332c436cc5e9b057e76cf1b2a", "score": "0.5242421", "text": "public static boolean m12a(Parcel parcel) {\n return parcel.readInt() != 0;\n }", "title": "" }, { "docid": "8ba68550e2e52276beccda8940926e93", "score": "0.524231", "text": "boolean hasBusinessCard();", "title": "" }, { "docid": "f6fe810cb27c7e2aa96417db0c774295", "score": "0.5185596", "text": "public static int checkQrCode(boolean qrCode) {\n if (qrCode) {\n return 1;\n }\n return 0;\n }", "title": "" }, { "docid": "a25beeade6f9434c5eb7cf9711c53827", "score": "0.5168547", "text": "boolean wasSoldInMonth(int month);", "title": "" }, { "docid": "d6c0cb575307a049319a42bbbf925a57", "score": "0.51463455", "text": "boolean isSetMarR();", "title": "" }, { "docid": "2c4e29a384e764cc35bca53b2a6d4c29", "score": "0.51283646", "text": "boolean hasMRosz();", "title": "" }, { "docid": "4680fe04e8d793f699a6a637fd726ae0", "score": "0.51127446", "text": "private int codeChecker(CarPark mcp, int code, boolean isExitToken) {\n if (code == 9999) {\n code = 1111;\n }\n do {\n code++;\n } while (equalCodes(mcp, code, isExitToken));\n return code;\n }", "title": "" }, { "docid": "97d5e222843b1b2c4cc2f7d1837db31e", "score": "0.5112335", "text": "public boolean alreadyPendingBarcode(final String barcode);", "title": "" }, { "docid": "da22d6aed8738cbc23d0907a2c84c109", "score": "0.51100135", "text": "private void payAndRetrieve(Scanner scan, CarPark mcp, boolean isCustomer) throws IOException {\n lineBreak();\n System.out.print(\"Enter receipt code: \");\n int codeEntered = scan.nextInt();\n scan.nextLine();\n\n for (Driver d : mcp.getDrivers()) {\n Receipt tempReceipt = d.getReceipt();\n if (tempReceipt.codeEquals(codeEntered)) {\n tempReceipt.pay(scan, mcp);\n\n lineBreak();\n\n if (isCustomer) {\n System.out.print(\"Reminder: You are parked in zone \");\n System.out.print(tempReceipt.getZoneName());\n System.out.print(\" in space \");\n System.out.println(tempReceipt.getSpaceName());\n System.out.print(\"Your token for the barrier is: \");\n } else {\n System.out.print(\"Give this token to your attendant: \");\n }\n System.out.println(tokenNum);\n ExitToken newToken = new ExitToken(tokenNum, 15); //change to set time to leave to be read in from a file\n mcp.addExitToken(newToken);\n tokenNum = codeChecker(mcp, tokenNum, true);\n\n mcp.removeDriver(d);\n return; //leave the method if it finds a matching code after doing all the required processing\n }\n }\n System.err.println(\"Receipt code entered did not match any stored\"); //will only reach this if the code entered does not have a match\n }", "title": "" }, { "docid": "bf110a2e5cb082f267ca70146fcb4537", "score": "0.5107184", "text": "public boolean checkMno(String mno)\n\t{\n\t\tif(mno.length()==10)\n\t\t{\n\t\t\t//DB: check database, shouldnt be already present\n\t\t\ttry\n\t\t\t{\n\t\t\t\tClass.forName(\"org.postgresql.Driver\");\n\t\t\t\tConnection con = DriverManager.getConnection(\"jdbc:postgresql://10.100.71.21:5432/201501140\",\"201501140\",\"201501140\");\n\t\t\t\tPreparedStatement stmt= con.prepareStatement(\"select mobile_no from farmersubsidy.farmer\");\n\t\t\t\tResultSet rs=stmt.executeQuery();\n\t\t\t\twhile(rs.next())\n\t\t\t\t{\n\t\t\t\t\tif(mno==rs.getString(1))\n\t\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\tcatch(Exception e)\n\t\t\t{\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t}\n\t\t\t\n\t\t\treturn true;\n\t\t}\n\t\telse\n\t\t\treturn false;\n\t}", "title": "" }, { "docid": "ca8a3ddfe0d27a274e4ca700a06f606d", "score": "0.51041955", "text": "public boolean check (MacBig_Container scan){\r\n\t\tif (scan.arr_macbig[0].ID.equals(this.id)){\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "558b5ea1e497180b5546b0d8f7320413", "score": "0.5095056", "text": "private boolean isProvvisorioDiCassaRegolarizzabile(){\n\t\tString methodName = \"isProvvisorioDiCassaRegolarizzabile\";\n\t\tboolean res= false;\n\t\tif(preDoc.getProvvisorioDiCassa().getImportoDaRegolarizzare() == null || preDoc.getProvvisorioDiCassa().getImportoDaRegolarizzare().compareTo(BigDecimal.ZERO) ==0 ){\n\t\t\treturn res;\n\t\t}\n log.debug(methodName, \"importo da regolarizzare = \"+preDoc.getProvvisorioDiCassa().getImportoDaRegolarizzare());\n log.debug(methodName, \"importo documento = \"+preDoc.getImporto());\n\t\t\n\t\tint ris = preDoc.getProvvisorioDiCassa().getImportoDaRegolarizzare().compareTo(preDoc.getImporto());\n\t\treturn ris >=0 ;\n\t}", "title": "" }, { "docid": "53b103053954f9defb6e24f6f3b2eed2", "score": "0.50909233", "text": "public static boolean esValidoRUT (String cadena) {\n\t\t// Tiene 12 digitos numericos en total\n\t\treturn cadena.matches(\"\\\\d{12}\");\n\t}", "title": "" }, { "docid": "395af3babfecf6c4795f2f12ce9a6a03", "score": "0.5075918", "text": "public TransactionID validateCard(String cardInfo, int pin);", "title": "" }, { "docid": "8d12bb8f93e1bdff5226f4f010e04f31", "score": "0.50651056", "text": "public boolean authoriseATMB(int card) {\n boolean cardExists = false;\n boolean isValid = false;\n for (Account acc : B) {\n if (card == acc.getCardNum()) {\n cardExists = true;\n if (cardExp(acc.getExpDate())) {\n // System.out.println(\"Card authorised.\");\n isValid = true;\n break;\n }\n if (isValid == false)\n System.out.println(\"Card expired.\");\n }\n }\n if (isValid == false)\n System.out.println(\"Card does not exist.\");\n return (cardExists && isValid);\n }", "title": "" }, { "docid": "026c53c9092cb4aa7dbe0770be64d9fe", "score": "0.5063657", "text": "boolean hasGuideGmvAmt();", "title": "" }, { "docid": "26111e29baeaef4063700edf9edb4f1d", "score": "0.50506526", "text": "boolean checkMatche() {\r\n\t\tString dateFormat = fOther.format(this.month) + \"/\" + fOther.format(this.day) + \"/\" + fYear.format(this.year);\r\n\t\tif (dateFormat.matches(\"([0-9]{2})/([0-9]{2})/([0-9]{4})\")) {\r\n\t\t\treturn true;\r\n\t\t} else if (dateFormat.matches(\"([0-9]{1})/([0-9]{2})/([0-9]{4})\")) {\r\n\t\t\treturn true;\r\n\t\t} else if (dateFormat.matches(\"([0-9]{2})/([0-9]{1})/([0-9]{4})\")) {\r\n\t\t\treturn true;\r\n\t\t} else if (dateFormat.matches(\"([0-9]{1})/([0-9]{1})/([0-9]{4})\")) {\r\n\t\t\treturn true;\r\n\t\t} else {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "1d9cb81d9f78d653db63b4d606965751", "score": "0.5044529", "text": "private boolean validateCreditCardNumber(String str) {\n\t\tint[] ints = new int[str.length()];\r\n\t\tfor (int i = 0; i < str.length(); i++) {\r\n\t\t\tints[i] = Integer.parseInt(str.substring(i, i + 1));\r\n\t\t}\r\n \r\n\t\tfor (int i = ints.length - 2; i >= 0; i = i - 2) {\r\n\t\t\tint j = ints[i];\r\n\t\t\tj = j * 2;\r\n\t\t\tif (j > 9) {\r\n\t\t\t\tj = j % 10 + 1;\r\n\t\t\t}\r\n\t\t\tints[i] = j;\r\n\t\t}\r\n\t\tint sum = 0;\r\n\t\tfor (int i = 0; i < ints.length; i++) {\r\n\t\t\tsum += ints[i];\r\n\t\t}\r\n\t\tif (sum % 10 == 0) {\r\n // LOG.info(\" validateCreditCardNumber : card OK\");\r\n\t\t\treturn true;\r\n\t\t} else {\r\n // LOG.info(\" validateCreditCardNumber : card INVALID NUMBER\");\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "549e7b55444bb35b2233454622d04dc7", "score": "0.5044438", "text": "boolean hasRtSteamReleaseDate();", "title": "" }, { "docid": "801afaca30e911f9c0c21e7e8b8e8538", "score": "0.5029678", "text": "private static boolean isRar() {\n\t\treturn fBytes[0] == 0x52 && fBytes[1] == 0x61 && fBytes[2] == 0x72 && fBytes[3] == 0x21 && fBytes[4] == 0x1A &&\n\t\t\t\tfBytes[5] == 0x07;\n\t}", "title": "" }, { "docid": "7c674752fe9b304c076558ae9fe7a85a", "score": "0.50136703", "text": "public static boolean isValid(long number) {\n// getting first digit of credit card number\n\n // checking condition if credit card number starting digit <4 \n if (prefixMatched(number, 4) || prefixMatched(number, 5) || prefixMatched(number, 6) || prefixMatched(number, 37)) {\n\n // checking if card number length should not be <13 and > 16 \n if (getSize(number) >= 13 && getSize(number) <= 16) {\n\n // checking condition if sum of even place digits and odd place digits should be divided by 10 \n if ((sumOfDoubleEvenPlace(number) + sumOfOddPlace(number)) % 10 == 0) {\n\n return true;\n }\n }\n }\n\n return false;\n }", "title": "" }, { "docid": "2976008df05068bbf348435bf18ff542", "score": "0.5003058", "text": "public boolean alreadyReceivedBarcode(final String barcode);", "title": "" }, { "docid": "439458f4b42dc962f95c6a39ac8ac3fa", "score": "0.49986252", "text": "public Boolean isThisBank(String pan) {\n\t\tString bin = pan.substring(0, 6);\n\t\tif(bin.equals(\"111111\")) {//zakucano\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\treturn false;\n\t}", "title": "" }, { "docid": "3b3de1d854c8e527a2de8dd07b96f354", "score": "0.49980238", "text": "public boolean checkValidityEntryNumber(String str) {\n if(str.length() == 0) return false;\r\n String[] Courses = {\"BB1\", \"BB5\", \"CE1\", \"CH1\", \"CH7\", \"CS1\", \"CS5\", \"ME1\", \"EE1\", \"EE3\", \"EE5\", \"ME2\", \"MT1\", \"MT5\", \"MT6\", \"PH1\", \"TT1\"};\r\n boolean check1 = false;\r\n boolean check2 = false;\r\n boolean check3 = false;\r\n boolean check4 = false;\r\n if(str.length()!=11)\r\n {\r\n return false;\r\n }\r\n int year;\r\n try {\r\n year = Integer.parseInt(str.substring(0, 4));\r\n }\r\n catch(NumberFormatException e)\r\n {\r\n return false;\r\n }\r\n\r\n String program = str.substring(4, 7);\r\n String zero = str.substring(7, 8);\r\n\r\n int serialNumber;\r\n try {\r\n serialNumber = Integer.parseInt(str.substring(8));\r\n }\r\n catch(NumberFormatException e)\r\n {\r\n return false;\r\n }\r\n\r\n if (year >= 2008 && year <= 2014) check1 = true;\r\n for (String course : Courses) {\r\n if (course.equalsIgnoreCase(program)) {\r\n check2 = true;\r\n break;\r\n }\r\n }\r\n\r\n if (zero.equals(\"0\")) check3 = true;\r\n if (serialNumber > 0 && serialNumber < 1000) check4 = true;\r\n\r\n return check1 && check2 && check3 && check4;\r\n }", "title": "" }, { "docid": "49907a058d810bd0c783e4b3e0aabee3", "score": "0.49881366", "text": "private boolean genACardNumber(){\n boolean is_ok = true;\n card_number = getRandomNumber(this.card_length);\n Vector<Card> existedCard = card.getAllCards();\n for(int index = 0; index < existedCard.size(); index++){\n if(card_number.equals(existedCard.get(index).getCard_number()))\n is_ok = false;\n }\n return is_ok;\n }", "title": "" }, { "docid": "5ccc5049131c6fe747b6a7e5ecc79dcb", "score": "0.49815774", "text": "boolean mo2821M();", "title": "" }, { "docid": "60b674de0a405b049d7bb72eba35f0c7", "score": "0.49735013", "text": "int getIsMarine();", "title": "" }, { "docid": "d08611997c0482f95a6b0181545317ce", "score": "0.4955435", "text": "boolean hasGuideAlipayAmt();", "title": "" }, { "docid": "dcc26d454da7fc99ca2e13e2f8410c40", "score": "0.49539232", "text": "private String checkIfExistsCustomerPurchaseAmountInLastMonthFromDB(SqlResult result) {\n Long isExsits = new Long(0);\n ArrayList<Object> a = result.getResultData().get(0);\n isExsits = (Long) a.get(0);\n if (isExsits.compareTo(Long.valueOf(0)) == 0){\n this.fuelAmountOfPreMonthForCurrentUser = 0.0;\n Prices.fuelAmountOfPreviousMonth = 0.0;\n }\n setFuelAmountOfPreMonthForCurrentUser(this.fuelAmountOfPreMonthForCurrentUser);\n return isExsits.toString();\n }", "title": "" }, { "docid": "a2185fd2add955235642bea55eb89d42", "score": "0.49526918", "text": "public boolean isMadeInMonth(YearMonth yearMonth) {\n\tboolean isInMonth = false;\n\tif (date.getYear() == yearMonth.getYear() && YearMonth.from(date).isBefore(yearMonth.plusMonths(1))) {\n\t switch (expenseType) {\n\t case YEARLY:\n\t\tif (date.getMonthValue() == yearMonth.getMonthValue()) {\n\t\t isInMonth = true;\n\t\t}\n\t\tbreak;\n\t case MONTHLY:\n\t case WEEKLY:\n\t case DAILY:\n\t\tisInMonth = true;\n\t\tbreak;\n\t }\n\t}\n\treturn isInMonth;\n }", "title": "" }, { "docid": "c6ffc8e5933586613ce995e482f4c37a", "score": "0.494446", "text": "void car_availability_details();", "title": "" }, { "docid": "a7d05225aeae222cd11e560516ddba7b", "score": "0.4909592", "text": "public boolean mo9411c() {\n return this.f1439b == 12;\n }", "title": "" }, { "docid": "9448a5ba59575d0995ccbd030c8703a5", "score": "0.49008283", "text": "private boolean valid(String line) {\n if (line.indexOf(\"АРПС 1.10\")!=0) header=line;\n if (header.indexOf(\"АРПС 1.10\")!=0) return true;\n return false;\n }", "title": "" }, { "docid": "d1047eb093448afd4927fbed076d3f42", "score": "0.49002278", "text": "double priceCheck(long barcode) {\n\n return data.get(barcode); //retrieves price value of barcode input\n\n }", "title": "" }, { "docid": "b077f282e9858908197983d7b7119662", "score": "0.48890126", "text": "public boolean isCardLegit(){\r\n int lastDidgit = 0,modofnum = 0, totalOfNumbers =0, tempDidgit = 0;\r\n int length = creditCardNum.length();\r\n //split string into int array in reverse order\r\n int [] CardNum = new int [length];\r\n for(int i=0;i<length;i++) {\r\n CardNum[(length-1)-i ] = Integer.parseInt(String.valueOf(creditCardNum.charAt(i)));\r\n }\r\n //get the last didgit of cardnumber\r\n lastDidgit=CardNum[0];\r\n //get every odd number element in array * 2, if greater then 9 - 9 from it\r\n for(int j = 1;j<length-1;j+=2){\r\n tempDidgit = CardNum[j];\r\n tempDidgit = tempDidgit *2;\r\n if(tempDidgit > 10){\r\n tempDidgit = tempDidgit - 9;\r\n }\r\n totalOfNumbers += tempDidgit;\r\n }\r\n //modules by 10 total numbers and check if eqauls last number\r\n modofnum = totalOfNumbers % 10;\r\n if(modofnum != lastDidgit){\r\n return false;\r\n \r\n }\r\n else{\r\n return true;\r\n \r\n }\r\n }", "title": "" }, { "docid": "2029fe60b49c371dbd6667d9453e957c", "score": "0.48806328", "text": "static public void main(String argv[])\n {\n String tes1 = \"0,0,0,0,0,0,0,0,10,#,#,#,#,#\";\n System.out.println(tes1.matches(\"^(([310]{1,3}|#),){13}([310]{1,3}|#)\"));\n //System.out.println(h.validataBetNum(tes1));\n }", "title": "" }, { "docid": "ba1febaac16333d713dcc9a4fa1ad286", "score": "0.48796567", "text": "public boolean hasCode( String currencyCode);", "title": "" }, { "docid": "e3e4c5f14d4f674de0154fcd16f23ff5", "score": "0.4878733", "text": "private Boolean rutEsValido (String rut) {\n Pattern pattern = Pattern.compile(\"^[0-9]+-[0-9kK]{1}$\");\n Matcher matcher = pattern.matcher(rut);\n if (!matcher.matches()) return false;\n String[] stringRut = rut.split(\"-\");\n return stringRut[1].toLowerCase().equals(dv(stringRut[0]));\n }", "title": "" }, { "docid": "d16f82f78164cf271bb19facdbf40b4b", "score": "0.4877139", "text": "private final boolean m66348K() {\n if (!mo43224b()) {\n return false;\n }\n bzqm bzqm = this.f78835j.f171052d;\n if (bzqm == null) {\n bzqm = bzqm.f171030d;\n }\n if (!bzqm.f171034c.isEmpty()) {\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "4e4aa9b9db0750ea0f2073d792e3fa96", "score": "0.48740587", "text": "public boolean getNalogIsplacen(String cpn){\n String qstr = \"select status from putninalog where cpn='\" + cpn + \"'\";\n vl.execSQL(qstr);\n vl.RezSet.open();\n return (vl.RezSet.getString(\"STATUS\").equals(\"I\") || vl.RezSet.getString(\"STATUS\").equals(\"K\"));\n }", "title": "" }, { "docid": "5e905a00ffdb2112b956e954ae2bece0", "score": "0.48726866", "text": "boolean hasDirectAlipayAmt();", "title": "" }, { "docid": "322359c96ae99bb79f1063ccd4de4d64", "score": "0.48618406", "text": "private static boolean m15731a(String str) {\n return \"OPPO\".equals(Build.BRAND) && \"com.heytap.market\".equals(str);\n }", "title": "" }, { "docid": "23f1ae3982b7d87e03b3906818ac1eaa", "score": "0.48581702", "text": "public boolean vCitizenCardNumber(String documentNumber) throws Exception {\r\n int sum = 0;\r\n boolean secondDigit = false;\r\n\r\n if (documentNumber.length() != 12) {\r\n throw new Exception(\"Invalid size for document number.\");\r\n }\r\n for (int i = documentNumber.length() - 1; i >= 0; --i) {\r\n int valor = getCitizenCardNumberFromChar(documentNumber.charAt(i));\r\n if (secondDigit) {\r\n valor *= 2;\r\n if (valor > 9) {\r\n valor -= 9;\r\n }\r\n }\r\n sum += valor;\r\n secondDigit = !secondDigit;\r\n }\r\n return (sum % 10) == 0;\r\n }", "title": "" }, { "docid": "422c1522ac0303c4c8fe0cd49bf51131", "score": "0.48515713", "text": "public boolean isEmployeePayed(int code) throws IOException {\n RandomAccessFile sales = salesFileFor(code);\n int pos= Calendar.getInstance().get(Calendar.MONTH)*9;\n sales.seek(pos);\n sales.skipBytes(8);\n return sales.readBoolean();\n }", "title": "" }, { "docid": "9468bc7248e67cbfd788d39782a5ec9a", "score": "0.48497918", "text": "boolean hasDirectGmvAmt();", "title": "" }, { "docid": "b1e2f25cd0b53790d8ca42bd8b376b1f", "score": "0.48448402", "text": "public boolean checkActualCarAvailability(Reservation res) {\r\n // check active and delayed rentals\r\n List<Rental> rentals = rentalService.getRentalsByState(RentalState.ACTIVE);\r\n rentals.addAll(rentalService.getRentalsByState(RentalState.DELAYED));\r\n for (Rental rental1 : rentals) {\r\n if (rental1.getCar().equals(res.getCar())) {\r\n if(!isPossibleToRent(res.getStartingDate(),\r\n res.getEndingDate(),\r\n rental1.getStartingDate(),\r\n rental1.getEstimatedReturnDate()))\r\n return false;\r\n }\r\n }\r\n \r\n // check active reservations\r\n List<Reservation> reservations = reservationService.getReservationsByState(ReservationState.ACTIVE);\r\n for (Reservation res1 : reservations){\r\n if (res1.getCar().equals(res.getCar())){\r\n if(!isPossibleToRent(res.getStartingDate(),\r\n res.getEndingDate(),\r\n res1.getStartingDate(),\r\n res1.getEndingDate()))\r\n return false;\r\n }\r\n }\r\n \r\n return true;\r\n }", "title": "" }, { "docid": "46480502d51b1116b7f2b891386567cc", "score": "0.48361918", "text": "public final boolean mo11239r() {\n boolean z = false;\n if (this.f2780h != 4) {\n return false;\n }\n if (mo11268d(this.f2781i + 1) == '$' && mo11268d(this.f2781i + 2) == 'r' && mo11268d(this.f2781i + 3) == 'e' && mo11268d(this.f2781i + 4) == 'f') {\n z = true;\n }\n return z;\n }", "title": "" }, { "docid": "68802b8b2a8c71435e7ae6e1a3e912e1", "score": "0.48275077", "text": "private boolean freeCarIsAvailable(CarModel selectedCarModel, Date startDate, Date endDate) {\n\n\t\tint availableCarsInTotal = getNumberOfCarsOfCarModel(selectedCarModel);\n\t\tint carsAlreadyReserved = getReservationsOfACarModelInPeriodOfTime(selectedCarModel, startDate, endDate);\n\n\t\tif ((availableCarsInTotal - carsAlreadyReserved) > 0) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "bbd976b9cc9aff41274588018ed0f12f", "score": "0.4824591", "text": "public boolean canPlayYearOfPlenty() \n {\n\t\n \tDevCardList cost = new DevCardList();\n \tcost.setYear_of_plenty(1);\n return oldDevCards.includes(cost) && !this.playedDevCard;\n }", "title": "" }, { "docid": "65ec81e0d53ec0e574d53808c5dcdd28", "score": "0.4822472", "text": "private static boolean m7062K(Context context) {\n try {\n String str = Build.DISPLAY;\n if (!TextUtils.isEmpty(str) && str.contains(\"VIBEUI_V3.1_1614_5.294.1_ST_K50-T5\")) {\n return true;\n }\n str = Build.MODEL;\n if (!TextUtils.isEmpty(str) && (str.contains(\"Lenovo K50-t5\") || str.contains(\"Lenovo_K50-t5\") || str.contains(\"Lenovo X3c50\") || str.contains(\"Lenovo_X3c50\"))) {\n return true;\n }\n return false;\n } catch (Exception e) {\n C1425a.m6440a(\"Utility\", e);\n }\n }", "title": "" }, { "docid": "a40535266542bcfd3a43f9c8a6e51ab2", "score": "0.4820264", "text": "private boolean m12784Q() {\n return this.f9282f.ak() && (this.f9269H == null || this.f9269H.getFiction().isOnSale());\n }", "title": "" }, { "docid": "1020d50406b20812c9f07f10daf5b35a", "score": "0.48190808", "text": "@Override\n public boolean isCreditCardRegistered(String creditCardNo) {\n return creditCardSet.contains(creditCardNo);\n }", "title": "" }, { "docid": "0a04c0f8a9c541851e797bfc8d121e5d", "score": "0.48165643", "text": "public boolean hasCardNum() {\n return result.hasCardNum();\n }", "title": "" }, { "docid": "58b0972aafd998884c45d2f087a686a6", "score": "0.48088795", "text": "public final boolean mo43238m() {\n int a;\n bzra bzra = this.f78836k;\n return (bzra == null || (a = bzrc.m126061a(bzra.f171100b)) == 0 || a != 3) ? false : true;\n }", "title": "" }, { "docid": "356f8f43bb07645db39a650cd9606d9f", "score": "0.48012078", "text": "public final boolean mo43239n() {\n int a;\n bzra bzra = this.f78836k;\n return (bzra == null || (a = bzrc.m126061a(bzra.f171100b)) == 0 || a != 4) ? false : true;\n }", "title": "" }, { "docid": "47cfc3e761127915c34401c1c962316a", "score": "0.47987598", "text": "boolean hasGuideGmvTradeNum();", "title": "" }, { "docid": "849367da1065dfc14e9fe14653957251", "score": "0.4794836", "text": "public boolean clickReportsInCardsAndValidate() {\n\t\ttry {\n\t\t\tList<Boolean> results = new ArrayList<Boolean>();\n\t\t\tList<String> newAttributionLinks = Pages.Home().Operations.getAttributionLinks();\n\t\t\tString attributionReportIndex = \"1\";\n\t\t\telements.clickOnAttributionCardElements(attributionReportIndex);\n\t\t\tHelper.sleep(2000);\n\t\t\tresults.add(isCurrentTab(ResourceConstants.MENU_ATTRIBUTION));\n\t\t\tList<String> AttributionTabLinks = elements.getAttributionOrCustomerJourneyLinks();\n\n\t\t\tLog.writeMessage(LogLevel.INFO,\n\t\t\t\t\tString.format(\"Attribution Tab\\nAttribution Links: %s\", AttributionTabLinks));\n\t\t\tresults.add(Helper.compareTwoStrings(String.valueOf(newAttributionLinks.size()),\n\t\t\t\t\tString.valueOf(AttributionTabLinks.size()),\n\t\t\t\t\t\"Attribution data is not matching with home card Attribution.\"));\n\t\t\tclickActionLogo();\n\t\t\tHelper.sleep(2000);\n\t\t\tList<String> newcustomerJourneyLinks = Pages.Home().Operations.getCustomerJourneyLinks();\n\t\t\tString customerjourneyReportIndex = \"1\";\n\t\t\telements.clickOnCustomerJourneyCardElements(customerjourneyReportIndex);\n\t\t\tHelper.sleep(2000);\n\t\t\tresults.add(isCurrentTab(ResourceConstants.MENU_CUSTOMER_JOURNEY));\n\t\t\tList<String> CustomerJTabLinks = elements.getAttributionOrCustomerJourneyLinks();\n\t\t\tLog.writeMessage(LogLevel.INFO,\n\t\t\t\t\tString.format(\"Customer Journey Tab\\nCustomerJourney Links Links: %s\", CustomerJTabLinks));\n\n\t\t\tresults.add(Helper.compareTwoStrings(String.valueOf(newcustomerJourneyLinks.size()),\n\t\t\t\t\tString.valueOf(CustomerJTabLinks.size()),\n\t\t\t\t\t\"Customer journey data is not matching with home card Customer Journey.\"));\n\t\t\tclickActionLogo();\n\t\t\tHelper.sleep(4000);\n\n\t\t\treturn results.contains(false) ? false : true;\n\t\t} catch (Exception e) {\n\t\t\tHelper.appendErrorMessage(\"Failed - getAttributionOrCustomerJourneyLinks\", e);\n\t\t}\n\t\treturn false;\n\n\t}", "title": "" }, { "docid": "e86a9a6b406254d1d96ae89f5edbc183", "score": "0.47922546", "text": "boolean hasMRosy();", "title": "" }, { "docid": "d2029167c190647befab5c847081642c", "score": "0.47911522", "text": "private void afficherCarte(Scanner scanner, String stringEntry) {\n boolean inMap = true;\n if (stringEntry.toUpperCase().equals(\"M\")) {\n etage.afficherCarte(0, 0);\n do {\n System.out.println(\"\\n Entrez B pour quitter la Carte\");\n entry = scanner.next();\n inMap = (!entry.toUpperCase().equals(\"B\") && !entry.toUpperCase().equals(\"M\") && !arreterJeu(entry));\n } while (inMap);\n }\n }", "title": "" }, { "docid": "2774ba81e78a9e63f78ba4449f756ec3", "score": "0.47907498", "text": "boolean hasCpcBidCeilingMicros();", "title": "" }, { "docid": "324d7b0f6274e5d2bd61a13b1f5b959b", "score": "0.47907016", "text": "public boolean hasBusinessCard() {\n return realMsgCase_ == 10006;\n }", "title": "" }, { "docid": "befc81f9888aa4f83b3600cf7685678a", "score": "0.47891286", "text": "boolean hasCityCode();", "title": "" }, { "docid": "befc81f9888aa4f83b3600cf7685678a", "score": "0.47891286", "text": "boolean hasCityCode();", "title": "" }, { "docid": "befc81f9888aa4f83b3600cf7685678a", "score": "0.47891286", "text": "boolean hasCityCode();", "title": "" }, { "docid": "befc81f9888aa4f83b3600cf7685678a", "score": "0.47891286", "text": "boolean hasCityCode();", "title": "" }, { "docid": "732a353df3ddae097a62b2fa501bf3b2", "score": "0.4788241", "text": "public boolean checkVehicleInformation(Vehicle vehicle) {\n return LocalDate.now().getYear() - vehicle.getYear() < VEHICLE_MAXIMUM_AGE;\n }", "title": "" }, { "docid": "befc81f9888aa4f83b3600cf7685678a", "score": "0.47879472", "text": "boolean hasCityCode();", "title": "" }, { "docid": "befc81f9888aa4f83b3600cf7685678a", "score": "0.47879472", "text": "boolean hasCityCode();", "title": "" }, { "docid": "6549cc3380927bccb95d1d1d6d33a2ff", "score": "0.47832435", "text": "boolean hasFuelConsumptionRate();", "title": "" }, { "docid": "9650bed1225a456172b9a0f42d13786c", "score": "0.47814992", "text": "public boolean hasRequiredBalance(long cardNumber)\r\n{\r\n\treturn true;\r\n}", "title": "" }, { "docid": "f5afc4f52110ff49aed4d1ea1ca03814", "score": "0.47798243", "text": "public boolean acceptsCargo(double carga) {return cargaTotal+carga <= capTotal;}", "title": "" }, { "docid": "4ac433c077585067b208567badd7050a", "score": "0.4770287", "text": "private boolean isTencentMMApp(java.lang.String r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: com.color.view.analysis.ColorViewAnalyzer.isTencentMMApp(java.lang.String):boolean, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.color.view.analysis.ColorViewAnalyzer.isTencentMMApp(java.lang.String):boolean\");\n }", "title": "" }, { "docid": "8aef5a9c21612b59139d560fc13fcea9", "score": "0.47676298", "text": "boolean hasTranAmt();", "title": "" }, { "docid": "33da4d224e41e72df7421fb466780e4c", "score": "0.47561774", "text": "public void scanQR() {\n try {\n //start the scanning activity from the com.google.zxing.client.android.SCAN intent\n Intent intent = new Intent(ACTION_SCAN);\n intent.putExtra(\"SCAN_MODE\", \"QR_CODE_MODE\");\n startActivityForResult(intent, 0);\n } catch (ActivityNotFoundException anfe) {\n //on catch, show the download dialog\n showDialog(MainActivity.this, \"No Scanner Found\", \"Download a scanner code activity?\", \"Yes\", \"No\").show();\n }\n }", "title": "" }, { "docid": "0c06ec800cfcb8c9db85d97e75c7ad57", "score": "0.47539428", "text": "public Boolean verifyMonth() {\n if (month.isEmpty()) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "bdb1491eaf1a44c54441b4fff7765016", "score": "0.47504142", "text": "public boolean verifyRetirementIncomePreDisplay(){\n return isElementDisplayed(getRetirementIncomeNoProjectionHeading,\"What about my retirement income - button\");\n }", "title": "" }, { "docid": "2c96ff0dada08f5f39fd6186cc08da1d", "score": "0.47502816", "text": "private boolean checkDrivingDuration(DriverLicense driverLicense) {\n Period duration = Period.between(driverLicense.getIssuanceDate(), LocalDate.now());\n return duration.getYears() * MONTHS_IN_YEAR + duration.getMonths() >= MINIMUM_DRIVING_DURATION;\n }", "title": "" }, { "docid": "36b1e3e26f8e90bcf36500550ee71d2e", "score": "0.47501233", "text": "private boolean m10451b(String str) {\n Calendar instance = Calendar.getInstance();\n instance.setTimeInMillis(InAppMessageManager.getInstance(this.f10268b).mo39801g(str));\n Calendar instance2 = Calendar.getInstance();\n if (instance.get(6) == instance2.get(6) && instance.get(1) == instance2.get(1)) {\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "c0a104f9bd75a125478db34577cae6f2", "score": "0.47466618", "text": "public static void findSlotNumberWithRegNo(String regNo) {\n boolean slotFound = false;\n for (Integer key : parkingSlotModel.getTickets().keySet()) {\n\n CarModel model = parkingSlotModel.getTickets().get(key);\n if (model.getRegisteredNumber().equals(regNo)) {\n slotFound = true;\n System.out.print(String.format(\"%d\", key));\n }\n }\n\n if (!slotFound) {\n System.out.println(\"Not found\");\n }\n System.out.println();\n\n }", "title": "" }, { "docid": "89c48686dba616d2b92e7729037d8061", "score": "0.47442254", "text": "public final boolean r() {\n Calendar instance = Calendar.getInstance();\n this.f5862c = TimeUnit.MINUTES.convert((long) (instance.get(15) + instance.get(16)), TimeUnit.MILLISECONDS);\n Locale locale = Locale.getDefault();\n String lowerCase = locale.getLanguage().toLowerCase(Locale.ENGLISH);\n String lowerCase2 = locale.getCountry().toLowerCase(Locale.ENGLISH);\n StringBuilder sb = new StringBuilder(String.valueOf(lowerCase).length() + 1 + String.valueOf(lowerCase2).length());\n sb.append(lowerCase);\n sb.append(\"-\");\n sb.append(lowerCase2);\n this.f5863d = sb.toString();\n return false;\n }", "title": "" }, { "docid": "3d3e55c247f28fe42506304a1aa6744f", "score": "0.4742186", "text": "private boolean verificaCNPJ(String cnpj) {\n\n int decimoTerceiro, decimoQuarto, soma = 0, mult = 5, resto;\n int cnpjInt[] = new int[14];\n\n if (cnpj.length() < 14 || cnpj.length() > 14 || contaDigitos(cnpj) < 14) {\n return false;\n }\n\n for (int i = 0; i < 14; i++) {\n cnpjInt[i] = Integer.parseInt(String.valueOf(cnpj.charAt(i)));\n }\n\n // Verifica decimo-terceiro digito\n for (int i = 0; i < 12; i++) {\n // System.out.println(mult);\n soma += (mult * cnpjInt[i]);\n mult--;\n mult = mult < 2 ? 9 : mult;\n }\n\n resto = soma % 11;\n decimoTerceiro = (resto == 0 || resto == 1) ? 0 : 11 - resto;\n\n if (decimoTerceiro == cnpjInt[12]) {\n\n mult = 6;\n soma = 0;\n\n // Verifica o decimo-quarto digito\n for (int i = 0; i < 13; i++) {\n soma += (mult * cnpjInt[i]);\n mult--;\n mult = mult < 2 ? 9 : mult;\n }\n\n resto = soma % 11;\n decimoQuarto = (resto == 0 || resto == 1) ? 0 : 11 - resto;\n\n if (decimoQuarto == cnpjInt[13]) {\n return true;\n }\n }\n\n return false;\n }", "title": "" }, { "docid": "8e4161a993cbc2b2d81bffa59d687d77", "score": "0.47404078", "text": "private static int checkAtom(IAtomContainer ac, IAtom currentAtom) {\n int check = -1;\n List<IAtom> atoms = ac.getConnectedAtomsList(currentAtom);\n List<IBond> bonds = ac.getConnectedBondsList(currentAtom);\n if (currentAtom.getFlag(CDKConstants.ISAROMATIC)) {\n check = 0;\n } else if (currentAtom.getFormalCharge() == 1 /*&& currentAtom.getSymbol().equals(\"C\")*/) {\n check = 0;\n } else if (currentAtom.getFormalCharge() == -1) {\n\t\t\t//// NEGATIVE CHARGES WITH A NEIGHBOOR PI BOND //////////////\n\t\t int counterOfPi = 0;\n for (IAtom atom : atoms) {\n if (ac.getMaximumBondOrder(atom) != IBond.Order.SINGLE) {\n counterOfPi++;\n }\n }\n\t\t if(counterOfPi > 0) check = 0;\n }else { \n\t\t\tint se = ac.getConnectedSingleElectronsCount(currentAtom);\n\t\t\tif (se == 1) {\n\t\t\t\tcheck = 0; //// DETECTION of radicals\n\t\t\t}else if (ac.getConnectedLonePairsCount(currentAtom) > 0 \n\t\t\t\t/*&& (currentAtom.getSymbol().equals(\"N\")*/) {\n\t\t\t\tcheck = 0; //// DETECTION of lone pair\n\t\t\t}else {\n int highOrderBondCount = 0;\n\t\t\t for (int j = 0; j < atoms.size(); j++) {\n\t\t\t\t\tIBond bond = bonds.get(j);\n\t\t\t\t\tif (bond == null || bond.getOrder() != IBond.Order.SINGLE) {\n\t\t\t\t\t highOrderBondCount++;\n\t\t\t\t\t} else {\n }\n\t\t\t }\n\t\t\t if (highOrderBondCount == 1) {\n\t\t\t \tcheck = 0;\n\t\t\t } else if (highOrderBondCount > 1) {\n\t\t\t \tcheck = 1;\n\t\t\t }\n\t\t\t}\n }\n return check;\n }", "title": "" }, { "docid": "3730309df6264a1d132d427168df37c7", "score": "0.47378784", "text": "public void scanQR() {\n try {\n //start the scanning activity from the com.google.zxing.client.android.SCAN intent\n Intent intent = new Intent(ACTION_SCAN);\n intent.putExtra(\"SCAN_MODE\", \"QR_CODE_MODE\");\n startActivityForResult(intent, 0);\n } catch (ActivityNotFoundException anfe) {\n //on catch, show the download dialog\n showDialog(qrCode.this, \"No Scanner Found\", \"Download a scanner code activity?\", \"Yes\", \"No\").show();\n }\n }", "title": "" }, { "docid": "f48dd0e3ad60a471728a6acf8846ab8c", "score": "0.47331148", "text": "boolean hasLicense();", "title": "" }, { "docid": "2cd4d7517a12db10f91fd7e0ff855d76", "score": "0.4730621", "text": "public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int vehicleYear;\n\n System.out.println(\"Enter vehicle's year:\");\n vehicleYear = scan.nextInt();\n\n if (vehicleYear > 1994 && vehicleYear < 1999 | vehicleYear > 2000 && vehicleYear < 2003 | vehicleYear > 2003 && vehicleYear < 2007 | vehicleYear > 2014 && vehicleYear < 2018)\n System.out.println(\"Your vehicle needs to be recalled!\");\n else\n System.out.println(\"Your vehicle is fine, enjoy!\");\n }", "title": "" }, { "docid": "3a9377726fc710c0432384a1fd7efd78", "score": "0.47294715", "text": "private void confermQRCode(Barcode valueAt) {\n if (!isReaded) {\n String barcode = preferances.getBarcode();\n Log.e(\"barcode\", valueAt.displayValue);\n if (barcode.equals(valueAt.displayValue)) {\n plcaedOrder();\n\n }else{\n // Toast.makeText(BarCodeReader.this, R.string.wrong_data, Toast.LENGTH_SHORT).show();\n }\n }\n }", "title": "" }, { "docid": "d563633663c0ff4ed22be40454096f6e", "score": "0.47282723", "text": "public boolean isATMCardsBankInNetwork(Card theCard){\n\t\t\n\t\t// is ATM card's bank member of the bank network?\n//\t\t!amaç atm'yi network'e devretmek ve network içerisindeki computerların \n//\t\t(ve dolayısıyla computerlar içerisindeki accountların)\n//\t\tatm'ye şimdi sokulan karttaki bankid ile eşleşip eşleşmediğini test etmek\n\t\tif(networkOfBanksOnATM.isATMCardsBankInNetwork(theCard)){\n\t\t\t\n\t\t\ttheTransaction.setStripNumber(theCard.getStripNumber());\n\t\t\t// kartın strip nosunu transactionın strip nosuna uyarlar \n\t\t\t\n\t\t\t// Sets that the stripNumber has been verified so it is ok \n\t\t\t// to access account info to verify pin later\n\t\t\t\n\t\t\ttheTransaction.setDidTheCardVerify(true); \n\t\t\t// ***sonraki metodlar için önemli,\n\t\t\t// zira BankNetwork'de ve BankComputer'da \n\t\t\t// sonraki metodlar için condition görevi görüyor***\n\t\t\t\n//\t\t\t***return edilen boolean'ın önemi olmadı\n//\t\t\t(main metodda if sta içinde olsa işe yarardı)***\n\t\t\treturn true;\n\t\t\t\n\t\t} else {\n\t\t\t\n//\t\t\talt 2: main metodda if sta olmadan:\n\t\t\t\n//\t\t\tSystem.out.println(\"ATM Card could not be verified\");\n\t\t\t\n//\t\t\tSystem.exit(0);\n\t\t\n\t\t\treturn false;\n\t\t\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "1605ff5922c265226de39561e1351c46", "score": "0.47225094", "text": "boolean hasRtStoreAssetMtime();", "title": "" }, { "docid": "27b143ce6698057a406d07fd8ff7996e", "score": "0.4722378", "text": "@DrawableRes\n private int findCardType() {\n\n int type = VISA;\n if (cardNumber.length() > 0) {\n\n final String cardNumber = getCardNumber().replaceAll(\"\\\\s+\", \"\");\n\n if (Pattern.compile(PATTERN_MASTER_CARD).matcher(cardNumber).matches()) {\n type = MASTERCARD;\n } else if (Pattern.compile(PATTERN_AMERICAN_EXPRESS).matcher(cardNumber)\n .matches()) {\n type = AMERICAN_EXPRESS;\n } else if (Pattern.compile(PATTERN_DISCOVER).matcher(cardNumber).matches()) {\n type = DISCOVER;\n }\n }\n setType(type);\n\n return getLogo(type);\n }", "title": "" }, { "docid": "efe2d1876cebe8f042e95a6b49120873", "score": "0.47206235", "text": "private static boolean verifikasiInputPilihanMataPelajaranAtauCekRapor(String input) {\r\n\t\tif (input.equals(\"1\"))\r\n\t\t\treturn true;\r\n\t\telse if (input.equals(\"2\"))\r\n\t\t\treturn true;\r\n\t\telse if (input.equals(\"3\"))\r\n\t\t\treturn true;\r\n\t\telse if (input.equals(\"4\"))\r\n\t\t\treturn true;\r\n\t\telse if (input.equals(\"5\"))\r\n\t\t\treturn true;\r\n\t\telse if (input.equals(\"6\"))\r\n\t\t\treturn true;\r\n\t\telse if (input.equals(\"7\"))\r\n\t\t\treturn true;\r\n\t\telse if (input.equals(\"8\"))\r\n\t\t\treturn true;\r\n\t\telse if (input.equals(\"9\"))\r\n\t\t\treturn true;\r\n\t\telse if (input.equals(\"10\"))\r\n\t\t\treturn true;\r\n\t\telse if (input.equals(\"11\"))\r\n\t\t\treturn true;\r\n\t\telse\r\n\t\t\treturn false;\r\n\t}", "title": "" }, { "docid": "47262b262d94bce61cc7c33db72d0a44", "score": "0.4712199", "text": "public boolean mo29841k() {\n return true;\n }", "title": "" }, { "docid": "df604cfdab356473ad19ec62efd1d571", "score": "0.47106048", "text": "public boolean hasPayResult() {\n return realMsgCase_ == 10801;\n }", "title": "" }, { "docid": "a3305c718ad85fadb598295a3603e9bc", "score": "0.4705313", "text": "public void scanNext0V30( )\n {\n pr_default.readNext(10);\n RcdFound30 = (short)(0) ;\n if ( (pr_default.getStatus(10) != 101) )\n {\n RcdFound30 = (short)(1) ;\n A62TBM11_IMAGE_CD = T000V12_A62TBM11_IMAGE_CD[0] ;\n httpContext.ajax_rsp_assign_attri(\"\", false, \"A62TBM11_IMAGE_CD\", A62TBM11_IMAGE_CD);\n }\n }", "title": "" }, { "docid": "4ff00e3b535c7ce0092b95a753369a35", "score": "0.4698458", "text": "@Test\n public void CorsairMarauderStatsAndKeywordsAreCorrect() throws DecisionResultInvalidException, CardNotFoundException {\n GenericCardTestHelper scn = GetScenario();\n\n PhysicalCardImpl marauder = scn.GetFreepsCard(\"marauder\");\n\n assertFalse(marauder.getBlueprint().isUnique());\n assertEquals(4, marauder.getBlueprint().getTwilightCost());\n assertEquals(CardType.MINION, marauder.getBlueprint().getCardType());\n assertEquals(Culture.RAIDER, marauder.getBlueprint().getCulture());\n assertTrue(marauder.getBlueprint().hasKeyword(Keyword.CORSAIR));\n assertEquals(Race.MAN, marauder.getBlueprint().getRace());\n assertEquals(9, marauder.getBlueprint().getStrength());\n assertEquals(2, marauder.getBlueprint().getVitality());\n assertEquals(4, marauder.getBlueprint().getSiteNumber());\n }", "title": "" } ]
c90c13d7aa3e9fdf93f4b683eae1a872
Needed for moving camel stacks in RaceTrack Camel stacks are merged, if a camel stack ends at a position, where another camel stack is
[ { "docid": "ef91d816c7d25b2cd6bcb01b591c3f7a", "score": "0.5418639", "text": "public void push(CamelStack other){\n stack.addAll(other.getStack());\n }", "title": "" } ]
[ { "docid": "493950fccffaa46ffc7dc5ac6950940d", "score": "0.64116734", "text": "boolean moveMiddle(SStack fromStack, SStack sstack, int fromPilenum, int toPilenum, boolean smart) {\n boolean toReturn = false;\n // Take care of King contingency first\n if (sstack.up.isEmpty()){\n for (int i=0; i < fromStack.up.size(); i++){\n if (fromStack.up.get(i).rank() == SCard.Rank.KING) {\n // We can move the King and all other cards\n while (fromStack.up.size() > i){\n //System.out.println(\"herehuh\");\n moves.add(\"<5) MOVE Pile[\"+fromPilenum+\"] \"+fromStack.up.get(i) +\" to Pile[\"+toPilenum+\"]>\");\n // if this has already been added to history, get outta here!\n if (game.history.containsKey(moves.peek())){\n moves.pop();\n return false;\n }\n System.out.println(moves.peek()); \n // Add to history\n game.history.put(moves.peek(), toPilenum); // the second argument is inconsequential\n // ACTUALLY MOVE THE CARD\n sstack.up.add(fromStack.up.get(i));\n fromStack.up.remove(i);\n } \n //return true;\n }\n else\n return false;\n }\n } // Done with King contingency\n \n SCard card;\n for (int i=0;i<fromStack.up.size()-1;i++){\n // Get a Card class from every Card in the fromStack, check it against sstacks's top card\n card = fromStack.up.get(i);\n if ((sstack.up.peek().rank().ordinal() - card.rank().ordinal() == 1) && \n (card.isBlack() == sstack.up.peek().isRed())){\n // For this method, we go ahead and do the move here\n while (fromStack.up.size() > i){\n //System.out.println(\"whats i??? \"+i+\" size of fromStack.up is \"+fromStack.up.size());\n moves.add(\"<5) MOVE Pile[\"+fromPilenum+\"] \"+fromStack.up.get(i) +\" to Pile[\"+toPilenum+\"]'s \"+sstack.up.peek()+\">\");\n // if this has already been added to history, get outta here!\n // This is where we move all the cards leftwards\n if (game.history.containsKey(moves.peek())){\n if (smart){\n // this is unique to the SmartPlayer class\n if (i<toPilenum){\n moves.pop();\n return false;\n }\n }\n else{\n moves.pop();\n return false;\n }\n }\n System.out.println(moves.peek()); \n // Add to history\n game.history.put(moves.peek(), toPilenum); // the second argument is inconsequential\n // ACTUALLY MOVE THE CARD\n sstack.up.add(fromStack.up.get(i));\n fromStack.up.remove(i);\n } \n //toReturn = true;\n } \n }\n \n return toReturn;\n }", "title": "" }, { "docid": "929241fc43fd71c9ba994ca511b08239", "score": "0.57255685", "text": "public CamelStackBooleanPair splitOrGetCamelStack(Color color){\n Boolean splitOccurred = !stack.isEmpty() && getGroundCamel().getColor() != color;\n if(!splitOccurred)\n // Ground camel has that color\n return new CamelStackBooleanPair(this, splitOccurred);\n else {\n // Camel with color is somewhere on stack\n\n List<Camel> newStack = new ArrayList<>();\n\n // add camel with color and all above to newStack\n for(int i = 0; i < stack.size(); i++){\n if(stack.get(i).getColor() == color){\n for(int j = i; j < stack.size(); j++){\n newStack.add(stack.get(j));\n }\n break;\n }\n }\n\n // remove camels from stack\n stack.removeAll(newStack);\n\n return new CamelStackBooleanPair(new CamelStack(position, newStack), splitOccurred);\n }\n }", "title": "" }, { "docid": "2a126859a8c68a2fff7ae831960acea2", "score": "0.55768365", "text": "@Override\n\t\tpublic boolean affectedByStackChange(TraceStack stack, DebuggerCoordinates coordinates) {\n\t\t\tif (stack.getThread() != coordinates.getThread()) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\t// TODO: Would be nice to have stack lifespan...\n\t\t\tTraceStack curStack = coordinates.getTrace()\n\t\t\t\t\t.getStackManager()\n\t\t\t\t\t.getLatestStack(stack.getThread(), coordinates.getSnap());\n\t\t\tif (stack != curStack) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t}", "title": "" }, { "docid": "0c5aef2ff011f86f5597ffa7c8328444", "score": "0.55536526", "text": "public boolean moveFrom(CellInterface<Card> source){\r\n\t\tint i =1;\r\n\t\tint j = 2;\r\n\r\n\t\tCard sourceCard1 = source.get(source.size()-i);\r\n\t\tCard sourceCard2 = source.get(source.size()-j);\r\n\r\n\t\tCard card = sourceCard1;\r\n\t\ttempList.add(card);\r\n\t\twhile ((sourceCard1.rankComparison(sourceCard2)== 1) && (sourceCard1.colorComparison(sourceCard2)==false) && source.size()>j) {\r\n\r\n\t\t\ti++;\r\n\t\t\tj++;\r\n\t\t\tCard card1 = source.get(source.size()-i);\r\n\t\t\ttempList.add(card1);\r\n\r\n\r\n\r\n\t\t\tsourceCard1 = source.get(source.size()-i);\r\n\t\t\tsourceCard2 = source.get(source.size()-j);\r\n\t\t}\r\n\r\n\t\tint count =tempList.size();\r\n\t\twhile(count>0){\r\n\t\t\tsource.remove();\r\n\t\t\tcount--;\r\n\t\t}\r\n\r\n\r\n\t\twhile(tempList.size()>0){\r\n\t\t\tsource.add(tempList.get(0));\r\n\t\t\ttempList.remove(0);\r\n\r\n\t\t}\r\n\t\t\tint counter = 0;\r\n\t\t\twhile (this.canMoveFrom(source)){\r\n\t\t\t\tcounter ++;\r\n\t\t\t\tcards.add(source.remove());\r\n\t\t\t}\r\n\t\t\tif (counter >0) {\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}", "title": "" }, { "docid": "94ae732f1c00e7d1961f6112db798bbe", "score": "0.54629874", "text": "@Test\n public void testBackward() {\n Position case2 = new Position(4, 3);\n assertEquals(true, case1.isBackward(case2));\n assertEquals(false, case2.isBackward(case1));\n\n Position case3 = new Position(3, 3);\n assertEquals(false, case1.isBackward(case3));\n Position case4 = new Position(5, 3);\n assertEquals(false, case1.isBackward(case4));\n Position case5 = new Position(5, 4);\n assertEquals(false, case1.isBackward(case5));\n Position case6 = new Position(3, 1);\n assertEquals(false, case1.isBackward(case6));\n }", "title": "" }, { "docid": "4507fa23f483770986ee0a8dafa55f5a", "score": "0.5449274", "text": "private void shiftStacks() {\n\t\tif(stackOldest.isEmpty()) {\n\t\t\twhile(!stackNewest.isEmpty()) {\n\t\t\t\tstackOldest.push(stackNewest.pop());\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "d63bddc6f23c129e05a12e4223d3b1cb", "score": "0.5425151", "text": "public boolean addCardToStack(SolitaireCard card) {\n if(!endStack) {\n if(cards.size() == 0 && card.getNum() == SolitaireCard.Num.KING) {\n addCard(card);\n return true;\n }\n if(cards.size() == 0) return false;\n\n SolitaireCard topC = cards.peek();\n if(topC.getSymbol() == SolitaireCard.Symbol.DIAMONDS || topC.getSymbol() == SolitaireCard.Symbol.HEARTS) \n if(card.getSymbol() == SolitaireCard.Symbol.DIAMONDS || card.getSymbol() == SolitaireCard.Symbol.HEARTS)\n return false;\n\n if(topC.getSymbol() == SolitaireCard.Symbol.SPADES || topC.getSymbol() == SolitaireCard.Symbol.CLUBS) \n if(card.getSymbol() == SolitaireCard.Symbol.SPADES || card.getSymbol() == SolitaireCard.Symbol.CLUBS)\n return false;\n\n if(topC.getNum().ordinal() - 1 == card.getNum().ordinal()) {\n addCard(card);\n return true;\n }\n return false;\n \n }else {\n \n if(topEndCard == null && card.getNum() == SolitaireCard.Num.ACE) {\n addCard(card);\n return true;\n }\n if(topEndCard == null) return false;\n \n if(card.getSymbol() == topEndCard.getSymbol() && topEndCard.getNum().ordinal() + 1 == card.getNum().ordinal()) {\n addCard(card);\n return true;\n }\n return false;\n }\n }", "title": "" }, { "docid": "d55bda65b5225692417a03ccc25e8c26", "score": "0.5416704", "text": "@Override\n public void sendToTop(Transform other) {\n }", "title": "" }, { "docid": "260373460f354ef731b75aab1465f0d2", "score": "0.541655", "text": "@Override\n public boolean movedTwo(){\n return false;\n }", "title": "" }, { "docid": "24b8109beca8011171a64a655eda857f", "score": "0.5413909", "text": "public boolean levelUp() {\n\t\tfor (Position end : map.getEndPositions()) {\n\t\t\tif (hero.getPosition().equals(end))\n\t\t\t\treturn true;\n\t\t}\n\n\t\treturn false;\n\t}", "title": "" }, { "docid": "396297d6293a74f72a2801fb6cfcd1ba", "score": "0.53794384", "text": "@Override\n public void sendBelow(Transform other) {\n }", "title": "" }, { "docid": "04f476906c3c2dcd31c8e5c88529ecdb", "score": "0.5370076", "text": "public void shiftStack(ShiftStackConfig config) {\n if (currentPlayer.hasMovedGrid()) {\n return;\n }\n if (currentTile.getPlayersOnTile() != null) {\n currentTile.setPlayersOnTile(null);\n }\n\n// Cloning grid for intermediary grid\n ArrayList<Tile[]>intermediaryGridList = new ArrayList<>();\n for (Tile[] tRow : grid) {\n ArrayList<Tile> newRow = new ArrayList<>();\n for (Tile tile : tRow) {\n newRow.add((Tile) tile.clone());\n }\n intermediaryGridList.add(newRow.toArray(new Tile[newRow.size()]));\n }\n intermediaryGrid = intermediaryGridList.toArray(new Tile[intermediaryGridList.size()][intermediaryGridList.get(0).length]);\n\n\n Tile store1 = currentTile;\n Tile store2 = null;\n if (config.horizontal) {\n if (config.upShift) {\n for (int i = 0; i <= intermediaryGrid.length - 1; i++) {\n store2 = store1;\n store1 = intermediaryGrid[config.position][i];\n intermediaryGrid[config.position][i] = store2;\n }\n } else {\n for (int i = intermediaryGrid.length - 1; i >= 0; i--) {\n store2 = store1;\n store1 = intermediaryGrid[config.position][i];\n intermediaryGrid[config.position][i] = store2;\n }\n }\n } else {\n if (config.upShift) {\n for (int i = 0; i <= intermediaryGrid[0].length - 1; i++) {\n store2 = store1;\n store1 = intermediaryGrid[i][config.position];\n intermediaryGrid[i][config.position] = store2;\n }\n } else {\n for (int i = intermediaryGrid[0].length - 1; i >= 0; i--) {\n store2 = store1;\n store1 = intermediaryGrid[i][config.position];\n intermediaryGrid[i][config.position] = store2;\n }\n }\n }\n displacedTile = store1;\n\n if (displacedTile.getPlayersOnTile() != null) {\n currentTile.setPlayersOnTile(displacedTile.getPlayersOnTile());\n displacedTile.setPlayersOnTile(null);\n }\n\n gameFrame.renderGrid(true, false);\n }", "title": "" }, { "docid": "e4563e93e03624389ce3cb0883953581", "score": "0.53529036", "text": "public boolean mergesWith(Tile moving){\n return false;\n }", "title": "" }, { "docid": "5e79dfbeb312ac59a82b56575aa0b948", "score": "0.53450596", "text": "private boolean findStacksToReduce(){\n \t\tint queueDepth = todoLists.length;\n \t\tfor(int i = 1; i < queueDepth; ++i){\n \t\t\tqueueIndex = (queueIndex + 1) % queueDepth;\n \t\t\t\n \t\t\tDoubleStack<AbstractStackNode<P>, AbstractNode> terminalsTodo = todoLists[queueIndex];\n \t\t\tif(!(terminalsTodo == null || terminalsTodo.isEmpty())){\n \t\t\t\tstacksWithTerminalsToReduce = terminalsTodo;\n \t\t\t\t\n \t\t\t\tlocation += i;\n \t\t\t\t\n \t\t\t\treturn true;\n \t\t\t}\n \t\t}\n \t\t\n \t\tif (recoverer != null) {\n \t\t\tDoubleArrayList<AbstractStackNode<P>, AbstractNode> recoveredNodes = new DoubleArrayList<AbstractStackNode<P>, AbstractNode>();\n \t\t\trecoverer.reviveStacks(recoveredNodes, input, location, unexpandableNodes, unmatchableLeafNodes, unmatchableMidProductionNodes, filteredNodes);\n \t\t\tif (recoveredNodes.size() > 0) {\n \t\t\t\tfor (int i = 0; i < recoveredNodes.size(); i++) {\n \t\t\t\t\tAbstractStackNode<P> recovered = recoveredNodes.getFirst(i);\n \t\t\t\t\taddTodo(recovered, recovered.getLength(), recoveredNodes.getSecond(i));\n \t\t\t\t}\n \t\t\t\treturn findStacksToReduce();\n \t\t\t}\n \t\t\t\n \t\t\tparseErrorOccured = true;\n \t\t}\n \t\t\n \t\treturn false;\n \t}", "title": "" }, { "docid": "ab276489dd80ac83bb4458c8e40c9375", "score": "0.53350914", "text": "public boolean stackableForHomecell(String lastCard, String newCard) {\n\t\tboolean result = false;\n//\t\tString cardrank = cardToAdd.substring(0,1);\n//\t\tString recipientrank = cardAddedTo.substring(0,1);\n//\t\tint cardRankIndex = rank.indexOf(cardrank);\n//\t\tint recipientRankIndex = rank.indexOf(recipientrank);\n//\t\tString cardsuit = cardToAdd.substring(1,2);\n//\t\tString recipientsuit = cardAddedTo.substring(1,2);\n//\t\t\n//\t\tif(recipientsuit != cardsuit) {\n//\t\t\treturn result;\n//\t\t}\n//\t\t\n//\t\tif(cardRankIndex == recipientRankIndex && recipientsuit == cardsuit) {\n//\t\t\tresult = true;\n//\t\t\treturn result;\n//\t\t}\n//\t\telse {\n//\t\t\treturn result;\n//\t\t}\n\t\tString lastRank, newRank, Lsuit, Nsuit;\n\t\tlastRank = lastCard.substring(0, 1);\n\t\tnewRank = newCard.substring(0,1);\n\t\tLsuit = lastCard.substring(1,2);\n\t\tNsuit = newCard.substring(1,2);\n\t\tint LRindex = rank.indexOf(lastRank);\n\t\tint NRindex = rank.indexOf(newRank);\n\t\tif(NRindex == LRindex+1 && Nsuit.equals(Lsuit)) {\n\t\t\tresult = true;\n\t\t}\n\t\t\n\t\treturn result;\n\t}", "title": "" }, { "docid": "892ca08dc429a7c2dacda8b22364618b", "score": "0.5296325", "text": "public boolean moveStack(int i, int j, int priority) {\r\n \t\t\r\n \t\tif (getLockLevel(i) <= priority) {\r\n \t\t\r\n \t\t\tif (i == j) {\r\n \t\t\t\tmarkAsMoved(i, priority);\r\n \t\t\t\treturn true;\r\n \t\t\t}\r\n \t\t\t\r\n \t\t\tboolean targetEmpty = inventory[j] == null;\r\n \t\t\t\r\n \t\t\t// Move to empty slot\r\n \t\t\tif (targetEmpty && lockLevels[j] <= priority) {\r\n \t\t\t\tswapOrMerge(i, j, priority);\r\n \t\t\t\treturn true;\r\n \t\t\t}\r\n \t\t\t\r\n \t\t\t// Try to swap/merge\r\n \t\t\telse if (!targetEmpty && lockLevels[j] <= priority\r\n \t\t\t\t\t&& (rulePriority[j] < priority || \r\n \t\t\t\t\t\t\t(rulePriority[j] == priority && isOrderedBefore(i, j)))) {\r\n \t\t\t\tswapOrMerge(i, j, priority);\r\n \t\t\t\treturn true;\r\n \t\t\t}\r\n \t\t}\r\n \t\t\r\n \t\treturn false;\r\n \t}", "title": "" }, { "docid": "7ffdda534e88913ea4e8b50d6b6b1052", "score": "0.52861196", "text": "public void posOrder2(Node head) {\n // setup\n var trace = new Stack<Node>();\n Node sp = null;\n Node last = null;\n\n // push head for gg\n trace.push(head);\n sp = trace.peek();\n\n while (!trace.isEmpty()) {\n if (sp.right == last) {\n last = trace.pop();\n System.out.print(last.value + \" \");\n if (!trace.isEmpty()) {\n sp = trace.peek();\n } else {\n sp = null;\n }\n } else if (sp.left == last) {\n if (sp.right != null) {\n trace.push(sp.right);\n }\n sp = trace.peek();\n } else if (sp.left != null || sp.right != null) {\n if (sp.right != null) {\n trace.push(sp.right);\n }\n if (sp.left != null) {\n trace.push(sp.left);\n }\n sp = trace.peek();\n } else {\n last = trace.pop();\n System.out.print(last.value + \" \");\n if (!trace.isEmpty()) {\n sp = trace.peek();\n } else {\n sp = null;\n }\n }\n }\n }", "title": "" }, { "docid": "14ad445a9cde0348ccba9d90db1cf618", "score": "0.52692163", "text": "public boolean canMoveDown()\n {\n if (current.row != 3)\n {\n Tile pos = grid[current.row + 1][current.column];\n if (current.type.equals(\"startS\"))\n {\n if ((pos.type.equals(\"NS\") || pos.type.equals(\"NS*\") \n || pos.type.equals(\"NW\") || pos.type.equals(\"NW*\") || pos.type.equals(\"NE\") \n || pos.type.equals(\"NE*\") || pos.type.equals(\"endN\")) && !pos.visited)\n {\n current = pos;\n current.visited = true;\n return true;\n }\n }\n else if (current.type.equals(\"NS\") || current.type.equals(\"NS*\"))\n {\n if ((pos.type.equals(\"endN\") || pos.type.equals(\"NS\") \n || pos.type.equals(\"NS*\") || pos.type.equals(\"NW\") || pos.type.equals(\"NW*\") \n || pos.type.equals(\"NE\") || pos.type.equals(\"NE*\")) && !pos.visited)\n {\n current = pos;\n current.visited = true;\n return true;\n }\n }\n else if (current.type.equals(\"SW\") || current.type.equals(\"SW*\"))\n {\n if ((pos.type.equals(\"endN\") || pos.type.equals(\"NS\") \n || pos.type.equals(\"NS*\") || pos.type.equals(\"NW\") || pos.type.equals(\"NW*\") \n || pos.type.equals(\"NE\") || pos.type.equals(\"NE*\")) && !pos.visited)\n {\n current = pos;\n current.visited = true;\n return true;\n }\n }\n else if (current.type.equals(\"SE\") || current.type.equals(\"SE*\"))\n {\n if ((pos.type.equals(\"endN\") || pos.type.equals(\"NS\") \n || pos.type.equals(\"NS*\") || pos.type.equals(\"NW\") || pos.type.equals(\"NW*\") \n || pos.type.equals(\"NE\") || pos.type.equals(\"NE*\")) && !pos.visited)\n {\n current = pos;\n current.visited = true;\n return true;\n }\n }\n }\n\n return false;\n }", "title": "" }, { "docid": "2f18083adc83c5c1e2ef5767fc0764dd", "score": "0.52522784", "text": "public boolean slappable() {\r\n\t\tboolean retBool = false;\r\n\r\n\t\tif (theStack.size() > 1) {\r\n\t\t\tCard topCard = theStack.get(theStack.size() - 1);\r\n\t\t\tCard secondCard = theStack.get(theStack.size() - 2);\r\n\t\t\tif (topCard.cardType.equals(secondCard.cardType)) {\r\n\t\t\t\tretBool = true;\r\n\t\t\t} else if (topCard.cardValue + secondCard.cardValue == 10) {\r\n\t\t\t\tretBool = true;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (theStack.size() > 2) {\r\n\t\t\tCard topCard = theStack.get(theStack.size() - 1);\r\n\t\t\tCard thirdCard = theStack.get(theStack.size() - 3);\r\n\t\t\tif (topCard.cardType.equals(thirdCard.cardType)) {\r\n\t\t\t\tretBool = true;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn retBool;\r\n\t}", "title": "" }, { "docid": "f6393f4a6153884ce4e727e33112b9ad", "score": "0.5247174", "text": "public boolean canMoveUp()\n {\n if (current.row != 0)\n {\n Tile pos = grid[current.row - 1][current.column];\n if (current.type.equals(\"startN\"))\n {\n if ((pos.type.equals(\"NS\") || pos.type.equals(\"NS*\") \n || pos.type.equals(\"SW\") || pos.type.equals(\"SW*\") || pos.type.equals(\"SE\")\n || pos.type.equals(\"SE*\") || pos.type.equals(\"endS\")) && !pos.visited)\n {\n current = pos;\n current.visited = true;\n return true; \n }\n }\n else if (current.type.equals(\"NS\") || current.type.equals(\"NS*\"))\n {\n if ((pos.type.equals(\"endS\") || pos.type.equals(\"NS\")\n || pos.type.equals(\"NS*\") || pos.type.equals(\"SW\") || pos.type.equals(\"SW*\")\n || pos.type.equals(\"SE\") || pos.type.equals(\"SE*\")) && !pos.visited)\n {\n current = pos;\n current.visited = true;\n return true;\n }\n }\n else if (current.type.equals(\"NW\") || current.type.equals(\"NW*\"))\n {\n if ((pos.type.equals(\"endS\") || pos.type.equals(\"SW\") \n || pos.type.equals(\"SW*\") || pos.type.equals(\"SE\") || pos.type.equals(\"SE*\") \n || pos.type.equals(\"NS\") || pos.type.equals(\"NS*\")) && !pos.visited)\n {\n current = pos;\n current.visited = true;\n return true;\n }\n }\n else if (current.type.equals(\"NE\") || current.type.equals(\"NE*\"))\n {\n if ((pos.type.equals(\"endS\") || pos.type.equals(\"SW\") \n || pos.type.equals(\"SW*\") || pos.type.equals(\"SE\") || pos.type.equals(\"SE*\") \n || pos.type.equals(\"NS\") || pos.type.equals(\"NS*\")) && !pos.visited)\n {\n current = pos;\n current.visited = true;\n return true;\n }\n }\n }\n \n return false;\n }", "title": "" }, { "docid": "824351e3a8f76725e7c1943ee61c64a0", "score": "0.52235854", "text": "@Test\n public void testPushingStones() {\n Board b = new Board(false);\n StoneFactory sf = StoneFactory.getInstance();\n Stone s1 = sf.createStone(Stone.COLOR.WHITE);\n Stone s2 = sf.createStone(Stone.COLOR.WHITE);\n b.setStone(new Vector2(0,0), s1);\n b.setStone(new Vector2(0,1), s2);\n System.out.println(\"Board setup for moving one space down test\");\n System.out.println(b.toString());\n Move m = new Move(new Vector2(0,0), new Vector2(0, 1)); // one space downwards\n assertEquals(2, b.pushStones(m)); // pushes self and 1 stone\n System.out.println(\"After moving one space down\");\n System.out.println(b.toString());\n assertEquals(s1.getId(), b.getStone(new Vector2(0, 1)).getId());\n assertEquals(s2.getId(), b.getStone(new Vector2(0, 2)).getId());\n assertEquals(2, Utilities.countStonesOfColorOnBoard(b, Stone.COLOR.WHITE));\n\n // Push one stone in a line downwards two spaces\n b = new Board(false);\n sf = StoneFactory.getInstance();\n s1 = sf.createStone(Stone.COLOR.WHITE);\n s2 = sf.createStone(Stone.COLOR.WHITE);\n b.setStone(new Vector2(0,0), s1);\n b.setStone(new Vector2(0,1), s2);\n System.out.println(\"Board setup for moving two space down test\");\n System.out.println(b.toString());\n m = new Move(new Vector2(0,0), new Vector2(0, 2)); // one space downwards\n assertEquals(2, b.pushStones(m)); // pushes self and 1 stone\n System.out.println(\"After moving two spaces down\");\n System.out.println(b.toString());\n assertEquals(s1.getId(), b.getStone(new Vector2(0, 2)).getId());\n assertEquals(s2.getId(), b.getStone(new Vector2(0, 3)).getId());\n assertEquals(2, Utilities.countStonesOfColorOnBoard(b, Stone.COLOR.WHITE));\n\n // Push one stone diagonal one space\n b = new Board(false);\n sf = StoneFactory.getInstance();\n s1 = sf.createStone(Stone.COLOR.WHITE);\n s2 = sf.createStone(Stone.COLOR.WHITE);\n b.setStone(new Vector2(0,0), s1);\n b.setStone(new Vector2(1,1), s2);\n System.out.println(\"Board setup for moving one space diagonal test\");\n System.out.println(b.toString());\n m = new Move(new Vector2(0,0), new Vector2(1, 1)); // one space downwards\n assertEquals(2, b.pushStones(m));\n System.out.println(\"After moving one space diagonal\");\n System.out.println(b.toString());\n assertEquals(s1.getId(), b.getStone(new Vector2(1, 1)).getId());\n assertEquals(s2.getId(), b.getStone(new Vector2(2, 2)).getId());\n assertEquals(2, Utilities.countStonesOfColorOnBoard(b, Stone.COLOR.WHITE));\n\n // Push two stones diagonal one space\n b = new Board(false);\n sf = StoneFactory.getInstance();\n s1 = sf.createStone(Stone.COLOR.WHITE);\n s2 = sf.createStone(Stone.COLOR.WHITE);\n Stone s3 = sf.createStone(Stone.COLOR.WHITE);\n b.setStone(new Vector2(0,0), s1);\n b.setStone(new Vector2(1,1), s2);\n b.setStone(new Vector2(2,2), s3);\n System.out.println(\"Board setup for moving two stones one space diagonal test\");\n System.out.println(b.toString());\n m = new Move(new Vector2(0,0), new Vector2(1, 1)); // one space downwards\n assertEquals(3, b.pushStones(m));\n System.out.println(\"After moving two stones diagonal one space\");\n System.out.println(b.toString());\n assertEquals(s1.getId(), b.getStone(new Vector2(1, 1)).getId());\n assertEquals(s2.getId(), b.getStone(new Vector2(2, 2)).getId());\n assertEquals(s3.getId(), b.getStone(new Vector2(3, 3)).getId());\n assertEquals(3, Utilities.countStonesOfColorOnBoard(b, Stone.COLOR.WHITE));\n\n // Push one stone off the board test\n b = new Board(false);\n sf = StoneFactory.getInstance();\n s1 = sf.createStone(Stone.COLOR.WHITE);\n s2 = sf.createStone(Stone.COLOR.WHITE);\n b.setStone(new Vector2(1,0), s1);\n b.setStone(new Vector2(0,0), s2);\n System.out.println(\"Board setup for pushing one stone off board test\");\n System.out.println(b.toString());\n m = new Move(new Vector2(1,0), new Vector2(-1, 0)); // one space downwards\n assertEquals(2, b.pushStones(m));\n System.out.println(\"After pushing one stone off board\");\n System.out.println(b.toString());\n assertEquals(s1.getId(), b.getStone(new Vector2(0, 0)).getId());\n assertEquals(1, Utilities.countStonesOfColorOnBoard(b, Stone.COLOR.WHITE));\n\n // Push two stones diagonal off the board\n b = new Board(false);\n sf = StoneFactory.getInstance();\n s1 = sf.createStone(Stone.COLOR.WHITE);\n s2 = sf.createStone(Stone.COLOR.WHITE);\n s3 = sf.createStone(Stone.COLOR.WHITE);\n b.setStone(new Vector2(1,1), s1);\n b.setStone(new Vector2(2,2), s2);\n b.setStone(new Vector2(3,3), s3);\n System.out.println(\"Board setup for moving two stones two space diagonal test\");\n System.out.println(b.toString());\n m = new Move(new Vector2(1,1), new Vector2(2, 2)); // one space downwards\n assertEquals(3, b.pushStones(m));\n System.out.println(\"After moving two stones diagonal two space\");\n System.out.println(b.toString());\n assertEquals(s1.getId(), b.getStone(new Vector2(3, 3)).getId());\n assertEquals(1, Utilities.countStonesOfColorOnBoard(b, Stone.COLOR.WHITE));\n }", "title": "" }, { "docid": "523b08fca5e11fb2a83a0162946622ea", "score": "0.52105784", "text": "private boolean move(TokenSequence s) {\n if (context == null || context.isSearchingBackward()) {\n return s.movePrevious();\n } else {\n return s.moveNext();\n }\n }", "title": "" }, { "docid": "ffd09b6136dd3330bc505399f3865455", "score": "0.52033967", "text": "private boolean regBishopMoveValid(byte fromY, byte fromX, byte toY, byte toX)\n {\n Board.Piece fromPiece = this.board[fromY][fromX];\n Board.Piece toPiece = this.board[toY][toX];\n \n //location is higher than bishop\n if (toY < fromY)\n {\n //location is to left of bishop\n if (toX < fromX)\n {\n //cannot be its own for loop because we need to step with i\n int j = fromX - 1;\n \n for (int i = fromY - 1; i >= 0; --i)\n {\n if (toY == i && toX == j)//if this is the location\n return true;\n else if (this.board[i][j].type != PieceType.none)//there is a piece in our way\n return false;//give up; we're blocked\n \n \n //cannot be its own for loop because we need to step with i\n --j;\n \n if (!(j >= 0))\n break;//prevent out of bounds\n }\n }\n //location is to right of bishop\n else if (toX > fromX)\n {\n //cannot be its own for loop because we need to step with i\n int j = fromX + 1;\n \n for (int i = fromY - 1; i >= 0; --i)\n {\n if (toY == i && toX == j)//if this is the location\n return true;\n else if (this.board[i][j].type != PieceType.none)//there is a piece in our way\n return false;//give up; we're blocked\n \n \n //cannot be its own for loop because we need to step with i\n ++j;\n \n if (!(j <= 7))\n break;//prevent out of bounds\n }\n }\n }\n //location is lower than bishop\n else if (toY > fromY)\n {\n //location is to left of bishop\n if (toX < fromX)\n {\n //cannot be its own for loop because we need to step with i\n int j = fromX - 1;\n \n for (int i = fromY + 1; i <= 7; ++i)\n {\n if (toY == i && toX == j)//if this is the location\n return true;\n else if (this.board[i][j].type != PieceType.none)//there is a piece in our way\n return false;//give up; we're blocked\n \n \n //cannot be its own for loop because we need to step with i\n --j;\n \n if (!(j >= 0))\n break;//prevent out of bounds\n }\n }\n //location is to right of bishop\n else if (toX > fromX)\n {\n //cannot be its own for loop because we need to step with i\n int j = fromX + 1;\n \n for (int i = fromY + 1; i <= 7; ++i)\n {\n if (toY == i && toX == j)//if this is the location\n return true;\n else if (this.board[i][j].type != PieceType.none)//there is a piece in our way\n return false;//give up; we're blocked\n \n \n //cannot be its own for loop because we need to step with i\n ++j;\n \n if (!(j <= 7))\n break;//prevent out of bounds\n }\n }\n }\n \n return false;//if we fail to find the location in our search or the piece is in the same vertical position as the bishop\n }", "title": "" }, { "docid": "36bd4a194a9bf5abf08b04a6ceeb07d7", "score": "0.5181571", "text": "public void moveAllGroups() {\n for (int a = 0; a < armies.size(); a++) {\n Army army = armies.get(a);\n\n army.armyLeader.think();\n /*\n OLD HENRIK CODE\n for (Squad s : army.command) {\n ArrayList<Position> positions = new ArrayList<Position>();\n for (Soldier soldier : s.members) {\n positions.add(new Position(soldier.x, soldier.y));\n }\n if (s.members.size() == 0) {\n continue;\n }\n positions = s.action(positions, enemies.get(a).units);\n if (debugging && !s.hasOrders()) {\n System.out.println(\"One group does not have orders\");\n }\n int soldierRowIndex = 0;\n for (Soldier soldier : s.members) {\n soldier.x = positions.get(soldierRowIndex).x;\n soldier.y = positions.get(soldierRowIndex).y;\n soldierRowIndex++;\n MapSector currentSector = getSectorFromPoint(soldier.getPosition());\n if (currentSector != soldier.containedIn) {\n if (soldier.containedIn != null) {\n soldier.containedIn.removeFromSector(soldier);\n currentSector.addToSector(soldier);\n }\n soldier.containedIn = currentSector;\n }\n }\n if(s.moveOrder){\n s.moveOrder = false;\n Position newGroupPosition = s.getGroupPosition();\n if(newGroupPosition.equals(s.startOfMoveOrder)){\n //They are barely moving\n System.out.println(\"Is something wrong?\");\n }\n }\n }\n */\n }\n /*\n for(int a = 0; a < squadleaderCount; a++){\n moveGroup(a);\n }\n */\n }", "title": "" }, { "docid": "eed7d14fc09929ad186ef8bc9eeba2da", "score": "0.51804566", "text": "private boolean handleFindRoute(Stack<Integer> s) {\n\t\tint top = s.get(s.size() - 1);\n\t\tList<Integer> nodes = findNext(top);\n\t\tfor (int i = 0; i < nodes.size(); i++) {\n\t\t\tif (s.size() == m + 1) {// find a route\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\ts.push(nodes.get(i));\n\t\t\t// set visited\n\t\t\tsetVisited(top, nodes.get(i), true);\n\t\t\tif(!handleFindRoute(s)){\n\t\t\t\toldx = s.pop();\n\t\t\t\toldy = s.get(s.size()-1);\n\t\t\t\tsetVisited(oldx, oldy, false);;\n\t\t\t}\n\t\t}\n\t\tif (s.size() == m + 1) {// find a route\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\n\t}", "title": "" }, { "docid": "28004d75c2aa99baa981016ece33b0a2", "score": "0.5167964", "text": "public boolean completedStack(Stack cardList)\r\n {\r\n //if stack don't have full 13 cards then returning false\r\n if (cardList.size() < 13)\r\n { return false; }\r\n \r\n //getting last card from cards list\r\n Card lastCard = (Card)cardList.lastElement();\r\n //getting last card value\r\n int lastCardValue = Integer.parseInt((String)lastCard.getValue());\r\n //if value is not 1 then returning 1\r\n if (lastCardValue != 1)\r\n return false;\r\n\t\t\r\n //for which move 13 times\r\n for(int i=1;i<=13;i++)\r\n {\r\n //getting card from card list for comparison\r\n Card card = (Card)cardList.elementAt(cardList.size()-i);\t\t\t\r\n //if card present is present on rear side then returning false\r\n if (card.getCurrent()==card.getRear())\r\n return false;\r\n\t\t//getting card value\r\n int value = Integer.parseInt(card.getValue());\r\n\t\t//if card's value is not matching to i\r\n if (value != i)\r\n return false;\r\n }\r\n //returning true\r\n return true;\r\n\t}", "title": "" }, { "docid": "8ae10f21f95ceac18c1371e891cbf8e0", "score": "0.51663125", "text": "private void movingCar(){\n\n int i = currState.getCurrFloorNumber();\n\n StringBuilder msgBuilder = new StringBuilder();\n String movingMsg =\"Car moving ...\";\n\n if(!floorsToStopAt.isEmpty()) {\n if(i== floorsToStopAt.peek())\n openDoors();\n while (!floorsToStopAt.isEmpty()) {\n logging.writeInfo(movingMsg);\n if (floorsToStopAt.peek() == i) {\n currState.setCurrFloorNumber(floorsToStopAt.poll());\n changeState(currState);\n stop(true);\n } else if (floorsToStopAt.peek() > i){\n i++;\n currState.setGoingUp(true);\n currState.setCurrFloorNumber(i);\n changeState(currState);\n }else if (floorsToStopAt.peek()<i) {\n i--;\n currState.setGoingUp(false);\n currState.setCurrFloorNumber(i);\n changeState(currState);\n\n }\n\n msgBuilder.append(\"Lift going \");\n if(currState.getGoingUp()){\n msgBuilder.append(\"up\");\n }else{\n msgBuilder.append(\"down\");\n }\n\n msgBuilder.append(\" \")\n .append(\" current floor : \")\n .append(currState.getCurrFloorNumber())\n .append(\" \" + floorsToStopAt.toString() + \"\\n\");\n logging.writeInfo(msgBuilder.toString());\n msgBuilder = new StringBuilder();\n }\n\n stop(false);\n }else{\n //To do\n // Nothing in the queue\n stop(false);\n }\n\n }", "title": "" }, { "docid": "861e808b29cdaccf8a73c7f5f2bd1e4c", "score": "0.51329005", "text": "private boolean isUnobstructedMove(Move move) {\r\n Square[][] newBoard = move.real ? board : nextBoard;\r\n if (\"QRB\".contains(move.startName) && !move.startName.isEmpty()) {\r\n int endx = move.endx, endy = move.endy;\r\n while (endx != move.startx || endy != move.starty) {\r\n if (!newBoard[endy][endx].isEmpty() && (endx != move.endx || endy != move.endy))\r\n return false;\r\n\r\n if (endx - move.startx != 0)\r\n endx = endx - move.startx > 0 ? endx - 1 : endx + 1;\r\n\r\n if (endy - move.starty != 0)\r\n endy = endy - move.starty > 0 ? endy - 1 : endy + 1;\r\n }\r\n }\r\n return true;\r\n }", "title": "" }, { "docid": "6c6878fc61de28ea68615f284b4437e6", "score": "0.51327664", "text": "@Override\n public void sendToBottom(Transform other) {\n }", "title": "" }, { "docid": "b525d8c266112238ff83b55d1d831b7b", "score": "0.513054", "text": "private boolean checkLayOK(Position posn) {\n\t\tboolean moveOK = true;\n\t\t\n\t\tfor (int e = 0; e < bombs.size(); e++)\n\t\t\tif (bombs.get(e).getPosition().compare(posn))\n\t\t\t\tmoveOK = false;\n\t\t\n\t\treturn moveOK;\n\t}", "title": "" }, { "docid": "098b2ab23a4ed7096655ee4832a87194", "score": "0.5124443", "text": "private static boolean checkNewPlacement(String[][] sortedTiles) {\n\t\tboolean isAdjacent=false;\n\t\tfor(int index=0;index!=sortedTiles.length;index++) {\n\t\t\tint x=Integer.parseInt(sortedTiles[index][1]);\n\t\t\tint y=Integer.parseInt(sortedTiles[index][2]);\n\t\t\tif(game.getTableTop()[x+1][y].getLetterTile()!=null) {\n\t\t\t\tif(game.getTableTop()[x+1][y].getLetterTile().getPlayedOnTurn()<game.getTurn()) {\n\t\t\t\t\tisAdjacent=true;\n\t\t\t\t\tgame.getTableTop()[x][y].getLetterTile().setConected(true);\n\t\t\t\t\tcontinue;\n\t\t\t\t}else if(game.getTableTop()[x+1][y].getLetterTile().isConected()) {\n\t\t\t\t\tisAdjacent=true;\n\t\t\t\t\tgame.getTableTop()[x][y].getLetterTile().setConected(true);\n\t\t\t\t\tcontinue;\n\t\t\t\t}else{\n\t\t\t\t\tisAdjacent=false;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}else{\n\t\t\t\tisAdjacent=false;\n\t\t\t}\n\t\t\tif(game.getTableTop()[x][y-1].getLetterTile()!=null) {\n\t\t\t\tif(game.getTableTop()[x][y-1].getLetterTile().getPlayedOnTurn()<game.getTurn()) {\n\t\t\t\t\tisAdjacent=true;\n\t\t\t\t\tgame.getTableTop()[x][y].getLetterTile().setConected(true);\n\t\t\t\t\tcontinue;\n\t\t\t\t}else if(game.getTableTop()[x][y-1].getLetterTile().isConected()) {\n\t\t\t\t\tisAdjacent=true;\n\t\t\t\t\tgame.getTableTop()[x][y].getLetterTile().setConected(true);\n\t\t\t\t\tcontinue;\n\t\t\t\t}else{\n\t\t\t\t\tisAdjacent=false;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}else{\n\t\t\t\tisAdjacent=false;\n\t\t\t}\n\t\t\tif(game.getTableTop()[x-1][y].getLetterTile()!=null) {\n\t\t\t\tif(game.getTableTop()[x-1][y].getLetterTile().getPlayedOnTurn()<game.getTurn()) {\n\t\t\t\t\tisAdjacent=true;\n\t\t\t\t\tgame.getTableTop()[x][y].getLetterTile().setConected(true);\n\t\t\t\t\tcontinue;\n\t\t\t\t}else if(game.getTableTop()[x-1][y].getLetterTile().isConected()) {\n\t\t\t\t\tisAdjacent=true;\n\t\t\t\t\tgame.getTableTop()[x][y].getLetterTile().setConected(true);\n\t\t\t\t\tcontinue;\n\t\t\t\t}else{\n\t\t\t\t\tisAdjacent=false;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}else{\n\t\t\t\tisAdjacent=false;\n\t\t\t}\n\t\t\tif(game.getTableTop()[x][y+1].getLetterTile()!=null) {\n\t\t\t\tif(game.getTableTop()[x][y+1].getLetterTile().getPlayedOnTurn()<game.getTurn()) {\n\t\t\t\t\tisAdjacent=true;\n\t\t\t\t\tgame.getTableTop()[x][y].getLetterTile().setConected(true);\n\t\t\t\t\tcontinue;\n\t\t\t\t}else if(game.getTableTop()[x][y+1].getLetterTile().isConected()) {\n\t\t\t\t\tisAdjacent=true;\n\t\t\t\t\tgame.getTableTop()[x][y].getLetterTile().setConected(true);\n\t\t\t\t\tcontinue;\n\t\t\t\t}else{\n\t\t\t\t\tisAdjacent=false;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}else{\n\t\t\t\tisAdjacent=false;\n\t\t\t}\n\t\t}\n\t\treturn isAdjacent;\n\t}", "title": "" }, { "docid": "bbd4d66cd23893c6697c64d16e220463", "score": "0.5116535", "text": "public abstract boolean shouldIgnoreBackStack();", "title": "" }, { "docid": "18a5a678e3caf13a7fa0d771d2ce404c", "score": "0.5110181", "text": "private void stackMultiEvents() \r\n {\r\n FineLineEvent lowfle = (FineLineEvent)flEventList.get(0);\r\n int prevX = lowfle.getX();\r\n int shiftY = ribbonY - 15; //assuming icon height = 10, then stack them 10 apart with the bottom one 15 above \r\n int stackY = shiftY - 20;\r\n for (int i = 1; i < flEventList.size(); i++)\r\n {\r\n FineLineEvent nextfle = flEventList.get(i);\r\n int tempX = nextfle.getX();\r\n if (tempX == prevX)\r\n {\r\n lowfle.spread(shiftY);\r\n nextfle.spread(stackY);\r\n stackY = stackY - 20;\r\n }\r\n else\r\n {\r\n lowfle = nextfle;\r\n stackY = shiftY - 20;\r\n prevX = tempX;\r\n }\r\n }\r\n }", "title": "" }, { "docid": "fb58bb371cb18c8ba991f6651dfef0dd", "score": "0.5105982", "text": "@Test\r\n\tpublic void testIsValidMoveCardStack() {\r\n\t\tCardStack stack = new CardStack();\r\n\t\tstack.push(card1);\r\n\t\tstack.push(card2);\r\n\t\tAssertJUnit.assertFalse(sc.isValidMove(stack));\r\n\t}", "title": "" }, { "docid": "aabf29a35f08ea02b4c3f50ab4fba6ab", "score": "0.5096769", "text": "public boolean takeFromStack()\r\n\t{\r\n\t\t//it IS possible for stacks to be empty.\r\n\t\t//It is up to the container object to remove empty stacks\r\n\t\tif (stackSize > 0)\r\n\t\t{\r\n\t\t\tstackSize--;\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\telse return false;\r\n\t}", "title": "" }, { "docid": "39d931a327326c867d45c9f38549622a", "score": "0.5091454", "text": "private static boolean cameFromTop(int current, int top) {\n if (current == top) {\n return true;\n } else {\n return false;\n }\n }", "title": "" }, { "docid": "b4c1c427e9f7c1e2ca832033fd3824a5", "score": "0.50813746", "text": "public boolean canMoveFrom(CellInterface<Card> source){\r\n\t\tboolean result = false;\r\n\t\tif(super.canMoveFrom(source)) {\r\n\t\t\tCard sourceCard = source.get(source.size()-1);\r\n\t\t\tCard thisCard = this.get(this.size()-1);\r\n\t\t\tif((sourceCard.rankComparison(thisCard)==1) && (sourceCard.colorComparison(thisCard)==false)){\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\telse{\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "6bd6e7f03474341c4cd626bdc7ea9d7f", "score": "0.50660443", "text": "protected boolean isSqueezed(BaseHantoCoordinate from, \n\t\t\tBaseHantoCoordinate to) {\n\t\t// piece needs to be squeezed if from and to \n\t\t// have 2 Neighbors \n\t\tfinal List<BaseHantoCoordinate> fromNeighbors = \n\t\t\t\tgetNeighbors(from);\n\n\t\tfinal List<BaseHantoCoordinate> toNeighbors = \n\t\t\t\tgetNeighbors(to);\n\n\t\tint numberOfNeighbors = 0;\n\t\t\n\t\tfor(BaseHantoCoordinate fromCoord : fromNeighbors) {\n\t\t\tfor(BaseHantoCoordinate toCoord : toNeighbors) {\n\t\t\t\tif(fromCoord.equals(toCoord)) {\n\t\t\t\t\t++numberOfNeighbors;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\t\n\t\treturn numberOfNeighbors == 2;\n\t}", "title": "" }, { "docid": "1bff3755cbc3b9090be5ed335807c183", "score": "0.50654864", "text": "public boolean canMoveLeft()\n {\n if (current.column != 0)\n {\n Tile pos = grid[current.row][current.column - 1];\n if (current.type.equals(\"startW\"))\n {\n if ((pos.type.equals(\"WE\") || pos.type.equals(\"WE*\") \n || pos.type.equals(\"SE\") || pos.type.equals(\"SE*\") || pos.type.equals(\"NE\") \n || pos.type.equals(\"NE*\") || pos.type.equals(\"endE\")) && !pos.visited)\n {\n current = pos;\n current.visited = true;\n return true;\n }\n }\n else if (current.type.equals(\"WE\") || current.type.equals(\"WE*\"))\n {\n if ((pos.type.equals(\"endE\") || pos.type.equals(\"WE\")\n || pos.type.equals(\"WE*\") || pos.type.equals(\"NE\") || pos.type.equals(\"NE*\") \n || pos.type.equals(\"SE\") || pos.type.equals(\"SE*\")) && !pos.visited)\n {\n current = pos;\n current.visited = true;\n return true;\n }\n }\n else if (current.type.equals(\"SW\") || current.type.equals(\"SW*\"))\n {\n if ((pos.type.equals(\"endE\") || pos.type.equals(\"WE\") \n || pos.type.equals(\"WE*\") || pos.type.equals(\"NE\") || pos.type.equals(\"NE*\") \n || pos.type.equals(\"SE\") || pos.type.equals(\"SE*\")) && !pos.visited)\n {\n current = pos;\n current.visited = true;\n return true;\n }\n }\n else if (current.type.equals(\"NW\") || current.type.equals(\"NW*\"))\n {\n if ((pos.type.equals(\"endE\") || pos.type.equals(\"WE\") \n || pos.type.equals(\"WE*\") || pos.type.equals(\"NE\") || pos.type.equals(\"NE*\") \n || pos.type.equals(\"SE\") || pos.type.equals(\"SE*\")) && !pos.visited)\n {\n current = pos;\n current.visited = true;\n return true;\n }\n }\n }\n\n return false;\n }", "title": "" }, { "docid": "91275bd06d686c52e129860a2d60a96e", "score": "0.5065439", "text": "public boolean hasPositionCall() {\n/* 153 */ return this._left.hasPositionCall();\n/* */ }", "title": "" }, { "docid": "c8782e6352176f3dd9368871d50a9a6b", "score": "0.50648975", "text": "private void expandStack(AbstractStackNode<P> stack){\t\t\n \t\tif(debugListener != null) debugListener.expanding(stack);\n \t\t\n \t\t// Handle filtering.\n \t\tIEnterFilter[] enterFilters = stack.getEnterFilters();\n \t\tif(enterFilters != null){\n \t\t\tfor(int i = enterFilters.length - 1; i >= 0; --i){\n \t\t\t\tif(enterFilters[i].isFiltered(input, location, positionStore)){\n \t\t\t\t\tunexpandableNodes.push(stack);\n \t\t\t\t\t\n \t\t\t\t\tif(debugListener != null) debugListener.filteredByEnterFilter(stack);\n \t\t\t\t\t\n \t\t\t\t\treturn;\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \t\t\n \t\tif(stack.isMatchable()){ // Eager matching optimization related.\n \t\t\taddTodo(stack, stack.getLength(), stack.getResult());\n \t\t}else if(!stack.isExpandable()){ // A 'normal' non-terminal.\n \t\t\tEdgesSet<P> cachedEdges = cachedEdgesForExpect.get(stack.getName());\n \t\t\tif(cachedEdges == null){\n \t\t\t\tcachedEdges = new EdgesSet<P>(1);\n \t\t\t\tcachedEdgesForExpect.put(stack.getName(), cachedEdges);\n \t\t\t\t\n \t\t\t\tAbstractStackNode<P>[] expects = invokeExpects(stack);\n \t\t\t\tif(expects == null){\n \t\t\t\t\tunexpandableNodes.push(stack);\n \t\t\t\t\treturn;\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\tif(!handleExpects(expects, cachedEdges, stack)){\n \t\t\t\t\tunexpandableNodes.push(stack);\n \t\t\t\t\treturn;\n \t\t\t\t}\n \t\t\t}else{\n \t\t\t\tint resultStoreId = getResultStoreId(stack.getId());\n \t\t\t\tif(cachedEdges.getLastVisitedLevel(resultStoreId) == location){ // Is nullable, add the known results.\n \t\t\t\t\tstacksWithNonTerminalsToReduce.push(stack, cachedEdges.getLastResult(resultStoreId));\n \t\t\t\t\t\n \t\t\t\t\tif(debugListener != null) debugListener.foundIterationCachedNullableResult(stack);\n \t\t\t\t}\n \t\t\t}\n \t\t\t\n \t\t\tcachedEdges.add(stack);\n \t\t\t\n \t\t\tstack.setIncomingEdges(cachedEdges);\n \t\t}else{ // Expandable\n \t\t\tEdgesSet<P> cachedEdges = cachedEdgesForExpect.get(stack.getName());\n \t\t\tif(cachedEdges == null){\n \t\t\t\tboolean expanded = false;\n \t\t\t\t\n \t\t\t\tcachedEdges = new EdgesSet<P>();\n \t\t\t\tcachedEdgesForExpect.put(stack.getName(), cachedEdges);\n \t\t\t\t\n \t\t\t\tAbstractStackNode<P>[] listChildren = stack.getChildren();\n \t\t\t\t\n \t\t\t\tCHILDREN : for(int i = listChildren.length - 1; i >= 0; --i){\n \t\t\t\t\tAbstractStackNode<P> child = listChildren[i];\n \t\t\t\t\tint childId = child.getId();\n \t\t\t\t\t\n \t\t\t\t\tIntegerKeyedDoubleValueHashMap.Entry<AbstractStackNode<P>, DoubleArrayList<AbstractStackNode<P>, AbstractNode>> sharedChildEntry = sharedNextNodes.get(childId);\n \t\t\t\t\tif(sharedChildEntry != null && sharedChildEntry.value2 == null){\n \t\t\t\t\t\tAbstractStackNode<P> sharedChild = sharedChildEntry.value1;\n \t\t\t\t\t\tsharedChild.setEdgesSetWithPrefix(cachedEdges, null, location);\n \t\t\t\t\t}else{\n \t\t\t\t\t\tif(child.isMatchable()){\n \t\t\t\t\t\t\tint length = child.getLength();\n \t\t\t\t\t\t\tint endLocation = location + length;\n \t\t\t\t\t\t\tif(endLocation > input.length) continue;\n \t\t\t\t\t\t\t\n \t\t\t\t\t\t\tAbstractNode result = child.match(input, location);\n \t\t\t\t\t\t\tif(result == null){\n \t\t\t\t\t\t\t\tunmatchableLeafNodes.push(child);\n \t\t\t\t\t\t\t\t\n \t\t\t\t\t\t\t\tif(debugListener != null) debugListener.failedToMatch(child);\n \t\t\t\t\t\t\t\t\n \t\t\t\t\t\t\t\tcontinue;\n \t\t\t\t\t\t\t}\n \t\t\t\t\t\t\t\n \t\t\t\t\t\t\tif(debugListener != null) debugListener.matched(child, result);\n \t\t\t\t\t\t\t\n \t\t\t\t\t\t\t// Handle filtering\n \t\t\t\t\t\t\tIEnterFilter[] childEnterFilters = child.getEnterFilters();\n \t\t\t\t\t\t\tif(childEnterFilters != null){\n \t\t\t\t\t\t\t\tfor(int j = childEnterFilters.length - 1; j >= 0; --j){\n \t\t\t\t\t\t\t\t\tif(childEnterFilters[j].isFiltered(input, location, positionStore)) { \n \t\t\t\t\t\t\t\t\t\tif(debugListener != null) debugListener.filteredByEnterFilter(child);\n \t\t\t\t\t\t\t\t\t\t\n \t\t\t\t\t\t\t\t\t\tcontinue CHILDREN;\n \t\t\t\t\t\t\t\t\t}\n \t\t\t\t\t\t\t\t}\n \t\t\t\t\t\t\t}\n \t\t\t\t\t\t\t\n \t\t\t\t\t\t\tchild = child.getCleanCopyWithResult(location, result);\n \t\t\t\t\t\t\taddTodo(child, length, result);\n \t\t\t\t\t\t}else{\n \t\t\t\t\t\t\tchild = child.getCleanCopy(location);\n \t\t\t\t\t\t\tstacksToExpand.push(child);\n \t\t\t\t\t\t}\n \t\t\t\t\t\t\n \t\t\t\t\t\tchild.initEdges();\n \t\t\t\t\t\tchild.setEdgesSetWithPrefix(cachedEdges, null, location);\n \t\t\t\t\t\t\n \t\t\t\t\t\tsharedNextNodes.putUnsafe(childId, child, null);\n \t\t\t\t\t\t\n \t\t\t\t\t\tif(debugListener != null) debugListener.expanded(stack, child);\n \t\t\t\t\t}\n \t\t\t\t\t\n \t\t\t\t\texpanded = true;\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\tif(stack.canBeEmpty()){ // Star list or optional.\n \t\t\t\t\tAbstractStackNode<P> empty = stack.getEmptyChild().getCleanCopyWithResult(location, EpsilonStackNode.EPSILON_RESULT);\n \t\t\t\t\tempty.initEdges();\n \t\t\t\t\tempty.addEdges(cachedEdges, location);\n \t\t\t\t\t\n \t\t\t\t\tstacksToExpand.push(empty);\n \t\t\t\t\t\n \t\t\t\t\tif(debugListener != null) debugListener.expanded(stack, empty);\n \t\t\t\t\t\n \t\t\t\t\texpanded = true;\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\tif(!expanded){\n \t\t\t\t\tunexpandableNodes.push(stack);\n \t\t\t\t}\n \t\t\t}\n \n \t\t\tint resultStoreId = getResultStoreId(stack.getId());\n \t\t\tif(cachedEdges.getLastVisitedLevel(resultStoreId) == location){ // Is nullable, add the known results.\n \t\t\t\tstacksWithNonTerminalsToReduce.push(stack, cachedEdges.getLastResult(resultStoreId));\n \n \t\t\t\tif(debugListener != null) debugListener.foundIterationCachedNullableResult(stack);\n \t\t\t}\n \t\t\t\n \t\t\tcachedEdges.add(stack);\n \t\t\t\n \t\t\tstack.setIncomingEdges(cachedEdges);\n \t\t}\n \t}", "title": "" }, { "docid": "acda9e016e1aff919758b0e22ca60b80", "score": "0.5062581", "text": "public boolean move() {\n\t\tint upDist = 9999, rightDist = 9999, downDist = 9999, leftDist = 9999;\n\t\tterminalCell = maze.getCell(dimensionNum - 1, dimensionNum - 1);\n\t\tshortestDist = terminalCell.getDistance();\n\t\tif(shortestDist == -1) return false; // unreachable, puzzle has no solution\n\t\tstack.push(terminalCell);\n\n\t\twhile(shortestDist != 0) {\n\t\t\t//get distance from each cell adjacent to the top of the stack\n\t\t\tGridCell current = stack.peek();\n\n\t\t\tGridCell up = maze.getCell(current.getX(), current.getY() + 1);\n\t\t\tif(maze.isValidMove(up))\n\t\t\t\tupDist = up.getDistance();\n\n\t\t\tGridCell right = maze.getCell(current.getX() + 1, current.getY());\n\t\t\tif(maze.isValidMove(right))\n\t\t\t\trightDist = right.getDistance();\n\n\t\t\tGridCell down = maze.getCell(current.getX(), current.getY() - 1);\n\t\t\tif(maze.isValidMove(down))\n\t\t\t\tdownDist = down.getDistance();\n\n\t\t\tGridCell left = maze.getCell(current.getX() - 1, current.getY());\n\t\t\tif(maze.isValidMove(left))\n\t\t\t\tleftDist = left.getDistance();\n\n\t\t\t//select the cell with smallest distance and push on the stack\n\t\t\tif(upDist <= rightDist && upDist <= downDist && upDist <= leftDist) {\n\t\t\t\tstack.push(up);\n\t\t\t\tshortestDist = up.getDistance();\n\t\t\t}\n\t\t\telse if(rightDist <= upDist && rightDist <= downDist && rightDist <= leftDist) {\n\t\t\t\tstack.push(right);\n\t\t\t\tshortestDist = right.getDistance();\n\t\t\t}\n\t\t\telse if(downDist <= rightDist && downDist <= upDist && downDist <= leftDist) {\n\t\t\t\tstack.push(down);\n\t\t\t\tshortestDist = down.getDistance();\n\t\t\t}\n\t\t\telse {\n\t\t\t\tstack.push(left);\n\t\t\t\tshortestDist = left.getDistance();\n\t\t\t}\n\t\t}\n\t\twhile(!stack.isEmpty()) {\n\t\t\t//pop grid cell off the stack and mark it\n\t\t\tmaze.markMove(stack.pop());\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "518f22eb43f1d7dc8d4f9fa8c202ef0c", "score": "0.50589705", "text": "private boolean findFirstStacksToReduce(){\n \t\tfor(int i = 0; i < todoLists.length; ++i){\n \t\t\tDoubleStack<AbstractStackNode<P>, AbstractNode> terminalsTodo = todoLists[i];\n \t\t\tif(!(terminalsTodo == null || terminalsTodo.isEmpty())){\n \t\t\t\tstacksWithTerminalsToReduce = terminalsTodo;\n \t\t\t\t\n \t\t\t\tlocation += i;\n \t\t\t\t\n \t\t\t\tqueueIndex = i;\n \t\t\t\t\n \t\t\t\treturn true;\n \t\t\t}\n \t\t}\n\t\t\n\t\tif (recoverer != null) {\n\t\t\tDoubleArrayList<AbstractStackNode<P>, AbstractNode> recoveredNodes = new DoubleArrayList<AbstractStackNode<P>, AbstractNode>();\n\t\t\trecoverer.reviveStacks(recoveredNodes, input, location, unexpandableNodes, unmatchableLeafNodes, unmatchableMidProductionNodes, filteredNodes);\n\t\t\tif (recoveredNodes.size() > 0) { // TODO Do something with the revived node. Is this the right location to do this?\n\t\t\t\tfor (int i = 0; i < recoveredNodes.size(); i++) {\n\t\t\t\t\tAbstractStackNode<P> recovered = recoveredNodes.getFirst(i);\n\t\t\t\t\taddTodo(recovered, recovered.getLength(), recoveredNodes.getSecond(i));\n\t\t\t\t}\n\t\t\t\treturn findStacksToReduce();\n\t\t\t}\n\t\t\t\n\t\t\tparseErrorOccured = true;\n\t\t}\n\t\t\n \t\treturn false;\n \t}", "title": "" }, { "docid": "3fb3ee18bf59824667688a48ca212971", "score": "0.50585866", "text": "public Move twoLevelsDeep(Stack possibilities, Stack possibilities2) {\n Stack whitePossibilities = (Stack) possibilities.clone();\n Stack blackPossibilities = (Stack) possibilities2.clone();\n Stack bestMoves = new Stack();\n Move whiteMove = null;\n Move blackMove = null;\n Square whitePosition;\n Square blackPosition;\n int bestWhiteScore = 0;\n int AIScore = 0;\n int bestAIScore = -100; //given a minus value as when blackScore - bestWhiteScore, the value can be a minus\n\n while (!blackPossibilities.isEmpty()) { //while all black moves stack is not empty\n int blackScore = 0;\n blackMove = (Move) blackPossibilities.pop(); //assign a variable to pop a black move\n blackPosition = blackMove.getLanding(); //assign a variable to get the position of the black piece\n //get the score for black if it can take a white piece\n if (blackPosition.getName().contains(\"Pawn\")) {\n blackScore = 2;\n } else if ((blackPosition.getName().contains(\"Knight\")) || (blackPosition.getName().contains(\"Bishup\"))) {\n blackScore = 3;\n } else if (blackPosition.getName().contains(\"Rook\")) {\n blackScore = 5;\n } else if (blackPosition.getName().contains(\"Queen\")) {\n blackScore = 9;\n } else if (blackPosition.getName().contains(\"King\")) {\n blackScore = 100;\n } else {\n blackScore = 0;\n }\n\n int whiteScore = 0;\n while (!whitePossibilities.isEmpty()) {//while all white moves stack is not empty\n whiteMove = (Move) whitePossibilities.pop();\n whitePosition = whiteMove.getLanding();\n //get the score for white if it can take a black piece\n if (whitePosition.getName().contains(\"Pawn\")) {\n whiteScore = 2;\n } else if ((whitePosition.getName().contains(\"Knight\")) || (whitePosition.getName().contains(\"Bishup\"))) {\n whiteScore = 3;\n } else if (whitePosition.getName().contains(\"Rook\")) {\n whiteScore = 5;\n } else if (whitePosition.getName().contains(\"Queen\")) {\n whiteScore = 9;\n } else if (whitePosition.getName().contains(\"King\")) {\n whiteScore = 100;\n } else {\n whiteScore = 0;\n }\n if (bestWhiteScore < whiteScore) { //getting the highest white score that can be made\n bestWhiteScore = whiteScore;\n }//end if for getting the highest white score\n }//end while for white move stack\n\n //compare the black score and highest white score and set it to a variable\n AIScore = blackScore - bestWhiteScore;\n\n //make sure the AI makes the best move possible to achieve a higher score than the white score\n if (AIScore >= bestAIScore) {\n if (AIScore != bestAIScore) { //if the AI score is not equal to the best score. Clear the stack so the move is not made.\n bestMoves.clear();\n }\n bestAIScore = AIScore; //otherwise the best AI score can be made\n bestMoves.add(blackMove);//add the best black move to the stack of best moves\n return randomMove(bestMoves); //return a random move of the best black moves that can be made\n }\n\n }//end main while loop\n\n //otherwise return a random move of the next best move.\n return nextBestMove(possibilities);\n }", "title": "" }, { "docid": "a1ec14f6681c79c25edb0e45e0b3dfe7", "score": "0.5052498", "text": "private boolean move(int blockFrom, int blockTo, boolean resetPositionFrom, boolean resetPositionTo) {\n\n // sanity check - same block\n if (blockFrom == blockTo) { return false; }\n\n // find block to move - also confirms legal block id\n int positionFrom = getBlockPosition(blockFrom);\n\n // find block to move on top of - also confirms legal block id\n int positionTo = getBlockPosition(blockTo);\n\n // sanity check - same position\n if (positionFrom == positionTo) { return false; }\n\n // optional: clear blocks from position until our block is on top\n // if we don't do this, we also move all blocks above the from block\n if (resetPositionFrom) { resetPosition(positionFrom, blockFrom); }\n\n // optional: clear blocks from position until our block is on top\n if (resetPositionTo) { resetPosition(positionTo, blockTo); }\n\n // move block(s)\n movePosition(positionFrom, positionTo, blockFrom);\n return true;\n }", "title": "" }, { "docid": "32b229a9ccff8fad17842cdb6f520a6d", "score": "0.5049502", "text": "private void placeTargets() throws Exception\r\n {\r\n //if the source column has changed, update the index\r\n if (getColumnOrderIndex(getTarget1().getSourceColumn()) != getTarget1().getSourceColumnIndex())\r\n getTarget1().setSourceColumnIndex(getColumnOrderIndex(getTarget1().getSourceColumn()));\r\n if (getColumnOrderIndex(getTarget2().getSourceColumn()) != getTarget2().getSourceColumnIndex())\r\n getTarget2().setSourceColumnIndex(getColumnOrderIndex(getTarget2().getSourceColumn()));\r\n \r\n //the current index for our source columns\r\n final int currentTarget1Index = getColumnOrderIndex(getTarget1().getSourceColumn());\r\n final int currentTarget2Index = getColumnOrderIndex(getTarget2().getSourceColumn());\r\n\r\n /**\r\n * First we want the correct target columns to be on the correct side.<br>\r\n * This means we want the greater index to be on the right side of the lesser etc...\r\n */\r\n if (getTarget2().getDestinationColumnIndex() > getTarget1().getDestinationColumnIndex() && currentTarget2Index < currentTarget1Index)\r\n {\r\n performMove(currentTarget2Index);\r\n }\r\n else if (getTarget2().getDestinationColumnIndex() < getTarget1().getDestinationColumnIndex() && currentTarget2Index > currentTarget1Index)\r\n {\r\n performMove(currentTarget2Index - 1);\r\n }\r\n else if (getTarget1().getDestinationColumnIndex() > getTarget2().getDestinationColumnIndex() && currentTarget1Index < currentTarget2Index)\r\n {\r\n performMove(currentTarget1Index);\r\n }\r\n else if (getTarget1().getDestinationColumnIndex() < getTarget2().getDestinationColumnIndex() && currentTarget1Index > currentTarget2Index)\r\n {\r\n performMove(currentTarget1Index - 1);\r\n }\r\n else if (getTarget2().getDestinationColumnIndex() > getTarget1().getDestinationColumnIndex() && currentTarget2Index > currentTarget1Index && currentTarget1Index >= getTarget2().getDestinationColumnIndex())\r\n {\r\n performMove(currentTarget1Index - 1);\r\n }\r\n else if (getTarget2().getDestinationColumnIndex() < getTarget1().getDestinationColumnIndex() && currentTarget2Index < currentTarget1Index && currentTarget1Index <= getTarget2().getDestinationColumnIndex())\r\n {\r\n performMove(currentTarget1Index);\r\n }\r\n else if (getTarget1().getDestinationColumnIndex() > getTarget2().getDestinationColumnIndex() && currentTarget1Index > currentTarget2Index && currentTarget2Index >= getTarget1().getDestinationColumnIndex())\r\n {\r\n performMove(currentTarget2Index - 1);\r\n }\r\n else if (getTarget1().getDestinationColumnIndex() < getTarget2().getDestinationColumnIndex() && currentTarget1Index < currentTarget2Index && currentTarget2Index <= getTarget1().getDestinationColumnIndex())\r\n {\r\n performMove(currentTarget2Index);\r\n }\r\n else\r\n {\r\n /**\r\n * If the current index locations are on their correct side<br>\r\n * We can now move each column to the correct location.\r\n */\r\n if (currentTarget2Index < getTarget2().getDestinationColumnIndex())\r\n {\r\n performMove(currentTarget2Index);\r\n }\r\n else if (currentTarget2Index > getTarget2().getDestinationColumnIndex())\r\n {\r\n performMove(currentTarget2Index - 1);\r\n }\r\n else if (currentTarget1Index < getTarget1().getDestinationColumnIndex())\r\n {\r\n performMove(currentTarget1Index);\r\n }\r\n else if (currentTarget1Index > getTarget1().getDestinationColumnIndex())\r\n {\r\n performMove(currentTarget1Index - 1);\r\n }\r\n else\r\n {\r\n //this should not happen\r\n throw new Exception(\"Valid move not found\");\r\n }\r\n }\r\n }", "title": "" }, { "docid": "c627885ac465a036e45cec8738c56548", "score": "0.503323", "text": "private void solidEntityCollide(){\n this.reverseMove();\n }", "title": "" }, { "docid": "639dbd6214e78c2a578464d54da560f8", "score": "0.50266266", "text": "@Test\n\tpublic void shiftCoordinates() {\n\t\tTestCollisionBody ct1 = new TestCollisionBody(Geometry.createCircle(1.0));\n\t\tTestCollisionBody ct2 = new TestCollisionBody(Geometry.createUnitCirclePolygon(5, 0.5));\n\t\tTestCollisionBody ct3 = new TestCollisionBody(Geometry.createRectangle(1.0, 0.5));\n\t\tTestCollisionBody ct4 = new TestCollisionBody(Geometry.createVerticalSegment(2.0));\n\t\t\n\t\tct1.translate(-2.0, 0.0);\n\t\tct2.translate(-1.0, 1.0);\n\t\tct3.translate(0.5, -2.0);\n\t\tct4.translate(1.0, 1.0);\n\t\t\n\t\t// add the items to the broadphases\n\t\tthis.broadphase.add(ct1); this.broadphase.add(ct2); this.broadphase.add(ct3); this.broadphase.add(ct4);\n\t\t\n\t\t// perform a detect on the whole broadphase\n\t\tList<CollisionPair<TestCollisionBody>> pairs = this.broadphase.detect();\n\t\tTestCase.assertEquals(1, pairs.size());\n\t\t\n\t\t// shift the broadphases\n\t\tVector2 shift = new Vector2(1.0, -2.0);\n\t\tthis.broadphase.shift(shift);\n\t\t\n\t\t// the number of pairs detected should be identical\n\t\tpairs = this.broadphase.detect();\n\t\tTestCase.assertEquals(1, pairs.size());\n\t}", "title": "" }, { "docid": "29a2c72fd2072676c6e5fb9ae0d1f1d2", "score": "0.5022691", "text": "private void updateStackOrder(Tile tile, SparseArray<Tile> stackType, TileMapping mapping) {\n StackTileScheme scheme = (StackTileScheme) tile.getScheme();\n if(stackType.get(scheme.getRank()) == null) {\n stackType.append(scheme.getRank(), tile);\n return;\n }\n\n //Test if stack tile is replaced with stack tile\n Tile replaceTile = stackType.get(scheme.getRank());\n if(replaceTile.getScheme() instanceof StackTileScheme) {\n StackTileScheme replaceScheme = (StackTileScheme) replaceTile.getScheme();\n\n TileScheme replaceScheme2 = TileScheme.createTileScheme(mapping, scheme.getOperand(), replaceScheme.getRank());\n replaceTile.update(replaceScheme2);\n\n TileScheme scheme2 = TileScheme.createTileScheme(mapping, replaceScheme.getOperand(), scheme.getRank());\n tile.update(scheme2);\n }\n\n for(int i = stackType.size() -1; i >= scheme.getRank(); i--) {\n Tile hisTile = stackType.get(i);\n StackTileScheme hisScheme = (StackTileScheme) hisTile.getScheme();\n TileScheme newScheme = TileScheme.createTileScheme(mapping, hisScheme.getOperand(), (i + 1));\n hisTile.update(newScheme);\n stackType.append((i+1), hisTile);\n }\n stackType.append(scheme.getRank(), tile);\n }", "title": "" }, { "docid": "f6e04a44d0b5337e62e57c4571e500d8", "score": "0.50218517", "text": "public boolean canMoveRight()\n {\n if (current.column != 3)\n {\n Tile pos = grid[current.row][current.column + 1];\n if (current.type.equals(\"startE\"))\n {\n if ((pos.type.equals(\"WE\") || pos.type.equals(\"WE*\") \n || pos.type.equals(\"SW\") || pos.type.equals(\"SW*\") || pos.type.equals(\"NW\") \n || pos.type.equals(\"NW*\") || pos.type.equals(\"endW\")) && !pos.visited)\n {\n current = pos;\n current.visited = true;\n return true;\n }\n }\n else if (current.type.equals(\"WE\") || current.type.equals(\"WE*\"))\n {\n if ((pos.type.equals(\"endW\") || pos.type.equals(\"WE\")\n || pos.type.equals(\"WE*\") || pos.type.equals(\"SW\") || pos.type.equals(\"SW*\") \n || pos.type.equals(\"NW\") || pos.type.equals(\"NW*\")) && !pos.visited)\n {\n current = pos;\n current.visited = true;\n return true;\n }\n }\n else if (current.type.equals(\"SE\") || current.type.equals(\"SE*\"))\n {\n if ((pos.type.equals(\"endW\") || pos.type.equals(\"WE\") \n || pos.type.equals(\"WE*\") || pos.type.equals(\"SW\") || pos.type.equals(\"SW*\") \n || pos.type.equals(\"NW\") || pos.type.equals(\"NW*\")) && !pos.visited)\n {\n current = pos;\n current.visited = true;\n return true;\n }\n }\n else if (current.type.equals(\"NE\") || current.type.equals(\"NE*\"))\n {\n if ((pos.type.equals(\"endW\") || pos.type.equals(\"WE\") \n || pos.type.equals(\"WE*\") || pos.type.equals(\"SW\") || pos.type.equals(\"SW*\") \n || pos.type.equals(\"NW\") || pos.type.equals(\"NW*\")) && !pos.visited)\n {\n current = pos;\n current.visited = true;\n return true;\n }\n }\n }\n \n return false;\n }", "title": "" }, { "docid": "1e69ab8f4f58a3bf00dda1ad4915aa24", "score": "0.50110465", "text": "public void bothPushers()\n {\n\n double same = Robot.oi.interpretHatState(Robot.oi.leftFStick, 0,180,1,-1);\n double diffrent = Robot.oi.interpretHatState(Robot.oi.leftFStick, 90,270,1,-1);\n if (same != 0)\n {\n frontPush.set(same);\n backPush.set(same);\n }\n else if(diffrent != 0)\n {\n frontPush.set(diffrent);\n backPush.set(-diffrent);\n }\n else\n {\n backPush.set(0);\n frontPush.set(0);\n }\n }", "title": "" }, { "docid": "6079aafb30530c8e41f624932f0cc90a", "score": "0.5008353", "text": "protected Function<AcquisitionEvent, Iterator<AcquisitionEvent>> magellanZStack() {\n return (AcquisitionEvent event) -> {\n return new Iterator<AcquisitionEvent>() {\n private int sliceIndex_ = (int) Math.round((getZTopCoordinate(\n ((MagellanGUIAcquisitionSettings) settings_).spaceMode_,\n ((MagellanGUIAcquisitionSettings) settings_),\n zStageHasLimits_, zStageLowerLimit_, zStageUpperLimit_, zStage_) - zOrigin_)\n / zStep_);\n\n @Override\n public boolean hasNext() {\n double zPos = zOrigin_ + sliceIndex_ * zStep_;\n boolean undefined = isImagingVolumeUndefinedAtPosition(\n ((MagellanGUIAcquisitionSettings) settings_).spaceMode_,\n ((MagellanGUIAcquisitionSettings) settings_),\n event.getDisplayPositionCorners());\n //position is below z stack or limit of focus device, z stack finished\n boolean below = isZBelowImagingVolume(((MagellanGUIAcquisitionSettings) settings_)\n .spaceMode_,\n ((MagellanGUIAcquisitionSettings) settings_),\n event.getDisplayPositionCorners(), zPos, zOrigin_)\n || (zStageHasLimits_ && zPos > zStageUpperLimit_);\n return (undefined || below) ? false : true;\n }\n\n @Override\n public AcquisitionEvent next() {\n double zPos = zOrigin_ + sliceIndex_ * zStep_;\n while (isZAboveImagingVolume(((MagellanGUIAcquisitionSettings) settings_).spaceMode_,\n ((MagellanGUIAcquisitionSettings) settings_),\n event.getDisplayPositionCorners(), zPos, zOrigin_)\n || (zStageHasLimits_ && zPos < zStageLowerLimit_)) {\n sliceIndex_++;\n zPos = zOrigin_ + sliceIndex_ * zStep_;\n }\n AcquisitionEvent sliceEvent = event.copy();\n // Do plus equals here in case z positions have been modified by another\n // function (e.g. channel specific focal offsets)\n\n sliceEvent.setZ(sliceIndex_, (sliceEvent.getZPosition() == null\n ? 0 : sliceEvent.getZPosition()) + zPos);\n sliceIndex_++;\n return sliceEvent;\n }\n };\n };\n\n }", "title": "" }, { "docid": "ae5e6e02256fda5f8faff64b734938ce", "score": "0.5005317", "text": "public void testPushAndPop() {\n bindingFrameStack.push(bindingFrame1);\n bindingFrameStack.push(bindingFrame2);\n\n BindingFrame poppedFrame = bindingFrameStack.pop();\n assertEquals(bindingFrame2, poppedFrame);\n\n poppedFrame = bindingFrameStack.pop();\n assertEquals(bindingFrame1, poppedFrame);\n }", "title": "" }, { "docid": "9eebc933a21544b565e495e8ece61d82", "score": "0.50052595", "text": "private boolean isSpaceBetweenShips(Position position){\r\n Point from = position.getFrom();\r\n Point to = position.getTo();\r\n boolean isSpace = true;\r\n outer:\r\n for(int i = (int) from.getY() - 1; i < to.getY(); i++) {\r\n for(int j = (int) from.getX() - 1; j < to.getX(); j++) {\r\n if(board[i+1 >= 10 ? 9 : i+1][j] == Constants.SHIP_ICON ||\r\n board[i-1 < 0 ? 0 : i-1][j] == Constants.SHIP_ICON ||\r\n board[i][j+1 >= 10 ? 9 : j+1] == Constants.SHIP_ICON ||\r\n board[i][j-1 < 0 ? 0 : j-1] == Constants.SHIP_ICON) {\r\n isSpace=false;\r\n break outer;\r\n } \r\n }\r\n }\r\n return isSpace;\r\n }", "title": "" }, { "docid": "8ad285b5eac5559e6e3960c14cee74c7", "score": "0.4990419", "text": "private List<Transition> getComposedTransition(Ips ips1, Ips ips2, State start1, State start2, int new_state1, int new_state2, List<Action> ips1_action, List<Action> ips2_action, List<String> existing){\n int i,j=0; //j will contain the ips2 most advanced transition index\r\n List<Action> common_actions = common(ips1, ips2);\r\n List<Transition> transitions = new ArrayList(); \r\n \r\n for(i=0; i<ips1.getTransitions().size(); i++){ \r\n \r\n //finding the starting state of the current branch\r\n if(ips1.getTransitions().get(i).getSource().equals(start1)){\r\n \r\n Transition t1 = ips1.getTransitions().get(i); \r\n \r\n if(!ips1_action.contains(t1.getAction())){ \r\n \r\n //if the action is common between the two IPS\r\n if(common_actions.contains(t1.getAction())){\r\n Transition equivalent_t = checkInconsistency(ips1, ips2, start1, start2, false);\r\n \r\n if(equivalent_t!=null && t1.getAction() instanceof OutputAction){ \r\n \r\n if(start2.equals(equivalent_t.getSource())){\r\n ips1_action.add(t1.getAction());\r\n ips2_action.add(equivalent_t.getAction());\r\n \r\n transitions.addAll(this.getComposedTransition(ips1, ips2, t1.getTarget(), equivalent_t.getTarget(), new_state1, new_state2, ips1_action , ips2_action, existing)); \r\n ips1_action.remove(t1.getAction());\r\n ips2_action.remove(equivalent_t.getAction());\r\n }\r\n }\r\n }\r\n else{ \r\n State source = new BinaryState(start1, start2, new_state1, new_state2),\r\n target = new BinaryState(t1.getTarget(), start2, new_state1+1, new_state2); \r\n \r\n\r\n if(checkInconsistency(ips1, ips2, t1.getTarget(), start2, true)!=null){ \r\n //creating the new transition and trying to add it to the collection\r\n Transition new_t = new Transition(source, t1.getAction(), target);\r\n\r\n boolean found = false;\r\n for(j=0; j<existing.size(); j++){\r\n if(existing.get(j).equals(new_t.toString())){\r\n found = true;\r\n }\r\n }\r\n\r\n if(!found){ \r\n transitions.add(new_t);\r\n existing.add(new_t.toString());\r\n\r\n ips1_action.add(t1.getAction());\r\n\r\n transitions.addAll(this.getComposedTransition(ips1, ips2, t1.getTarget(), start2, new_state1+1, new_state2, ips1_action , ips2_action, existing));\r\n ips1_action.remove(t1.getAction());\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n \r\n for(j=0; j<ips2.getTransitions().size(); j++){\r\n //finding the starting state of the current branch\r\n if(ips2.getTransitions().get(j).getSource().equals(start2)){\r\n \r\n Transition t1 = ips2.getTransitions().get(j); \r\n \r\n if(!ips2_action.contains(t1.getAction())){\r\n \r\n if(common_actions.contains(t1.getAction())){\r\n Transition equivalent_t = checkInconsistency(ips2, ips1, start2, start1,false); \r\n \r\n if(equivalent_t!=null && t1.getAction() instanceof OutputAction){\r\n \r\n if(start1.equals(equivalent_t.getSource())){ \r\n ips1_action.add(equivalent_t.getAction());\r\n ips2_action.add(t1.getAction());\r\n transitions.addAll(this.getComposedTransition(ips1, ips2, equivalent_t.getTarget(), t1.getTarget(), new_state1, new_state2, ips1_action , ips2_action, existing));\r\n ips1_action.remove(equivalent_t.getAction());\r\n ips2_action.remove(t1.getAction());\r\n }\r\n }\r\n }\r\n else{ \r\n \r\n State source = new BinaryState(start1, start2, new_state1, new_state2),\r\n target = new BinaryState(start1, t1.getTarget(), new_state1, (new_state2+1)); \r\n \r\n \r\n if(checkInconsistency(ips2, ips1, t1.getTarget(), start1, true)!=null){\r\n Transition new_t = new Transition(source, t1.getAction(), target);\r\n boolean found = false;\r\n for(i=0; i<existing.size(); i++){\r\n if(existing.get(i).equals(new_t.toString())){\r\n found = true;\r\n }\r\n }\r\n\r\n if(!found){\r\n transitions.add(new_t); \r\n existing.add(new_t.toString());\r\n\r\n ips2_action.add(t1.getAction()); \r\n transitions.addAll(this.getComposedTransition(ips1, ips2, start1, t1.getTarget(), new_state1, new_state2+1, ips1_action , ips2_action, existing));\r\n ips2_action.remove(t1.getAction());\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n \r\n return transitions;\r\n }", "title": "" }, { "docid": "bf02f92083244b7663f264f6c5fc8efa", "score": "0.4979393", "text": "private boolean checkTopSideChain(Grid grid, ArrayList<Point> hits, boolean adj){\n\t\tint checknum = 1;\n\t\tif(adj)\n\t\t\tchecknum = 2;\n\t\tPoint p = hits.get(hits.size()-1);\n\t\tif(p.getY()+1>9)\n\t\t\treturn true;\n\t\telse if(grid.getFired(p.getX(), p.getY()+1)>=checknum)\n\t\t\treturn true;\n\t\telse{\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "2ac7a635927f166517f65359855c0d54", "score": "0.49780443", "text": "private boolean mergeStacks(BT_LocalCell stack1[], BT_LocalCell stack2[]) {\r\n\t\tboolean ret = false;\r\n\t\tint length = stack2.length;\r\n\t\tfor(int i=0; i<length; i++) {\r\n\t\t\tBT_LocalCell existingType = stack2[i];\r\n\t\t\tif(existingType == null) {\r\n\t\t\t\tBT_LocalCell type = stack1[i];\r\n\t\t\t\tif(type != null) {\r\n\t\t\t\t\tret = true;\r\n\t\t\t\t\tstack2[i] = type;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn ret;\r\n\t}", "title": "" }, { "docid": "61691c5180b49397f5adba3cde6a75ae", "score": "0.4972462", "text": "private boolean isValidMoveForBishop( ChessMove mv ) {\n if( Math.abs( mv.destRow - mv.srcRow ) == \r\n Math.abs( mv.destCol - mv.srcCol ) ) {\r\n \r\n if( isPathClear( mv ) ) {\r\n return true ;\r\n }\r\n }\r\n return false ;\r\n }", "title": "" }, { "docid": "faecedd0ce7091a3156728d5d793c31f", "score": "0.4972338", "text": "private void bubbleUp(int pos) {\n\n while ( pos != 0 && isBigger(pos, parent(pos)) ) {\n swapup(pos);\n pos = parent(pos);\n }\n\n}", "title": "" }, { "docid": "0c0018cedd33e739e93822f8215b0fa8", "score": "0.49716234", "text": "@Override\n\t\t\t\tprotected ItemStack execute( BlockSource source, ItemStack stack )\n\t\t\t\t{\n\t\t\t\t\tsetSuccess( false );\n\t\t\t\t\tfinal Item item = stack.getItem();\n\t\t\t\t\tif( item instanceof BlockItem )\n\t\t\t\t\t{\n\t\t\t\t\t\tfinal Direction direction = source.getBlockState().getValue( DispenserBlock.FACING );\n\t\t\t\t\t\tfinal BlockPos blockpos = source.getPos().relative( direction );\n\t\t\t\t\t\tfinal Direction direction1 = source.getLevel().isEmptyBlock( blockpos.below() ) ? direction : Direction.UP;\n\t\t\t\t\t\tsetSuccess( ( (BlockItem)item )\n\t\t\t\t\t\t\t\t.place( new DirectionalPlaceContext( source.getLevel(), blockpos, direction, stack, direction1 ) ).consumesAction() );\n\t\t\t\t\t}\n\n\t\t\t\t\treturn stack;\n\t\t\t\t}", "title": "" }, { "docid": "d1d62042b40e9b5879dade893c79828a", "score": "0.4969204", "text": "public static void main(String[] args) {\n Stack<Integer> from = new Stack<>();\n from.push(5);\n from.push(4);\n from.push(3);\n from.push(2);\n from.push(1);\n Stack<Integer> temp = new Stack<>();\n Stack<Integer> to = new Stack<>();\n hanoi(from, from.size(), temp, to);\n\n System.out.println(to.pop());\n System.out.println(to.pop());\n System.out.println(to.pop());\n System.out.println(to.pop());\n System.out.println(to.pop());\n\n\n }", "title": "" }, { "docid": "d0a7383c680587324018d93a341b6d8c", "score": "0.49462852", "text": "@Override\n public void sendAbove(Transform other) {\n }", "title": "" }, { "docid": "deb4a24db0829074d9fba5b4989c5fd2", "score": "0.49434698", "text": "protected void _hit(){\n --pushBack;\n if(pushBack<0) pushBack=0;\n if (gothitdirect==RIGHT) xMove=canMoveX(pushBack);\n else xMove=canMoveX(-pushBack);\n }", "title": "" }, { "docid": "67906b5fb5187b61653024e54056e61d", "score": "0.49400455", "text": "@Override\n protected boolean actMove() {\n if(navSys.getDestination()==null) {\n return false;\n }\n else if(!navSys.isAtDestination()) {\n if (navSys.setNextMove()) {\n yield();\n //check for map boundary conditions\n updateMapExtrema();\n //update your position for the GUI\n robotControl.setIndicatorString(0, \"ScoutDirection: \" + scoutDirection + \" - Location: \"+robotControl.getLocation().toString());\n return checkDestinationValidity() && checkScoutDirectionValidity();\n }\n }\n System.out.println(\"WARNING: Bad call to actMove\");\n return false;\n }", "title": "" }, { "docid": "4b3b0e1b3f919a0333f85f88111ebb49", "score": "0.49313226", "text": "private void checkElevatorQueues() {\n if(destinationFloorQueue.size() == 0 ){\n destinationFloorQueue.add(0);\n }\n for (Queue<CustomerTransformationInfo> queue : Main.elevatorQueue) {\n if (queue.size() != 0 && destinationFloorIsNotExists(queue.peek().floor)) {\n destinationFloorQueue.add(queue.peek().floor);\n destination += 1;\n System.out.println(queue.peek().floor);\n }\n }\n }", "title": "" }, { "docid": "4f201daf33f67d9f237c224c0783cd94", "score": "0.49141607", "text": "public void moveForwards();", "title": "" }, { "docid": "ea7c4bd2375636cd469cd4a3379463c1", "score": "0.49120554", "text": "private boolean updateStackTransforms(ArrayList<TaskViewTransform> taskTransforms,\n ArrayList<Task> tasks,\n float stackScroll,\n int[] visibleRangeOut,\n boolean boundTranslationsToRect) {\n // XXX: We should be intelligent about where to look for the visible stack range using the\n // current stack scroll.\n // XXX: We should log extra cases like the ones below where we don't expect to hit very often\n // XXX: Print out approximately how many indices we have to go through to find the first visible transform\n\n int taskTransformCount = taskTransforms.size();\n int taskCount = tasks.size();\n int frontMostVisibleIndex = -1;\n int backMostVisibleIndex = -1;\n\n // We can reuse the task transforms where possible to reduce object allocation\n if (taskTransformCount < taskCount) {\n // If there are less transforms than tasks, then add as many transforms as necessary\n for (int i = taskTransformCount; i < taskCount; i++) {\n taskTransforms.add(new TaskViewTransform());\n }\n } else if (taskTransformCount > taskCount) {\n // If there are more transforms than tasks, then just subset the transform list\n taskTransforms.subList(0, taskCount);\n }\n\n // Update the stack transforms\n TaskViewTransform prevTransform = null;\n for (int i = taskCount - 1; i >= 0; i--) {\n TaskViewTransform transform = mLayoutAlgorithm.getStackTransform(tasks.get(i),\n stackScroll, taskTransforms.get(i), prevTransform);\n if (transform.visible) {\n if (frontMostVisibleIndex < 0) {\n frontMostVisibleIndex = i;\n }\n backMostVisibleIndex = i;\n } else {\n if (backMostVisibleIndex != -1) {\n // We've reached the end of the visible range, so going down the rest of the\n // stack, we can just reset the transforms accordingly\n while (i >= 0) {\n taskTransforms.get(i).reset();\n i--;\n }\n break;\n }\n }\n\n if (boundTranslationsToRect) {\n transform.translationY = Math.min(transform.translationY,\n mLayoutAlgorithm.mViewRect.bottom);\n }\n prevTransform = transform;\n }\n if (visibleRangeOut != null) {\n visibleRangeOut[0] = frontMostVisibleIndex;\n visibleRangeOut[1] = backMostVisibleIndex;\n }\n return frontMostVisibleIndex != -1 && backMostVisibleIndex != -1;\n }", "title": "" }, { "docid": "53001a98fde5ac6eb049b03c6af100ff", "score": "0.49090663", "text": "public boolean checkOverlap() {\r\n\t\t// updates the original grid, (\"background\")\r\n\t\tif (mThisBlock == null) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tint[][] blockPos = mThisBlock.getPositions();\r\n\t\tmxPos = mThisBlock.getXPos();\r\n\t\tmyPos = mThisBlock.getYPos();\r\n\t\tfor (int i = 0; i < blockPos.length; ++i) { // changes 0's to 1's for the squares that are occupied by the\r\n\t\t\t// current block\r\n\t\t\t// gets actual position from relative position\r\n\t\t\tint x = mxPos + blockPos[i][0];\r\n\t\t\tint y = myPos + blockPos[i][1];\r\n\t\t\tif (mBackGrid[y][x] != Blocks.BLOCK_NONE) //1 if theres a block, 0 if not\r\n\t\t\t{\r\n\t\t\t\treturn true; //returns true if this block is overlapping\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false; //returns false if this block isn't overlapping\r\n\t}", "title": "" }, { "docid": "28fbc857fb2fc624230f1ba4ef6500e1", "score": "0.4898027", "text": "private void reactMain_region_A() {\n\t\tif (sCInterface.toB) {\n\t\t\tnextStateIndex = 0;\n\t\t\tstateVector[0] = State.$NullState$;\n\n\t\t\tnextStateIndex = 0;\n\t\t\tstateVector[0] = State.main_region_B_r1_C;\n\n\t\t\thistoryVector[0] = stateVector[0];\n\t\t} else {\n\t\t\tif (sCInterface.toHistory) {\n\t\t\t\tnextStateIndex = 0;\n\t\t\t\tstateVector[0] = State.$NullState$;\n\n\t\t\t\t/* Enter the region with shallow history */\n\t\t\t\tif (historyVector[0] != State.$NullState$) {\n\t\t\t\t\tshallowEnterSequenceMain_region_B_r1();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "34ad21fe2c05ea2150eef1f06f3ade8a", "score": "0.48972353", "text": "private boolean findChestToPutItemsIn() {\n for (PreferedChest chest : worker.getPreferedChests()) {\n switch (chest) {\n case MARKED:\n List<BlockPos> meeCreepChests = findMeeCreepChests(worker.getSearchBox());\n if (!meeCreepChests.isEmpty()) {\n navigateTo(meeCreepChests.get(0), p -> putInventoryInChestWithMessage(p, \"message.meecreeps.put_stuff_away_marked\"));\n return true;\n }\n break;\n case TARGET:\n BlockPos pos = options.getTargetPos();\n if (InventoryTools.isInventory(entity.getEntityWorld(), pos)) {\n navigateTo(pos, p -> putInventoryInChestWithMessage(p, \"message.meecreeps.put_stuff_away_target\"));\n return true;\n }\n break;\n case FIND_MATCHING_INVENTORY:\n if (findSuitableInventory(worker.getSearchBox(), entity.getInventoryMatcher(),\n this::putAwayAndTellPlayerTheDistance)) {\n return true;\n }\n break;\n case LAST_CHEST:\n if (materialChest != null) {\n if (InventoryTools.isInventory(entity.getEntityWorld(), materialChest)) {\n navigateTo(materialChest, this::putAwayAndTellPlayerTheDistance);\n return true;\n }\n }\n break;\n }\n }\n\n return false;\n }", "title": "" }, { "docid": "260343090a43321c5a6c3df4be2b6c3b", "score": "0.48951983", "text": "private boolean pushBox(Position2D dest){\t\r\n\t\tif((_lvl.getItemInPlace(dest).getType().compareTo(\"Box\"))==0)\r\n\t\t\treturn boxPushBox(newPos(dest), _lvl);\r\n\t\t\r\n\t\treturn true;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "1a20f4e7aac404c9506a00bda855de76", "score": "0.48937944", "text": "private void catchMoveLoop() {\n for (Order order : orders) {\n if (order instanceof Move) {\n Move move = (Move) order;\n Country originalMove = move.orderFrom();\n Country movingTo = move.getMovingTo();\n ArrayList<Country> countriesLookedAt = new ArrayList<Country>();\n countriesLookedAt.add(originalMove);\n while (movingTo.getOrder() instanceof Move) {\n if (countriesLookedAt.contains(movingTo)) {\n if (movingTo == originalMove) {\n move.setValid();\n move.setMoveLooped();\n }\n break;\n } else {\n countriesLookedAt.add(movingTo);\n movingTo = ((Move) movingTo.getOrder()).getMovingTo();\n }\n }\n }\n }\n }", "title": "" }, { "docid": "2437142abffb71d6e9c743237a92c4e4", "score": "0.48927468", "text": "public void checkMove(ArrayList<Spot> spotList) {\n \n for (int i=0; i< spotList.size(); i++){\n\n Spot s = spotList.get(i);\n\n if(s != null){\n switch (s.piece.getPieceType()) {\n case Bishop:\n // up/down - right/left refers to bishop's move \n\n //white Bishop direction\n if(spotList.get(i).piece.isWhite()){\n // j refers coordinate of x direction between 0,7 and y direction between 0,-7 ;\n\n // up-right\n for(int j=1; j<8; j++) {\n\n int finalJ = j;\n\n Optional<Spot> enemyCandidate = spotList.stream()\n .filter((spot) -> spot.getX() == s.getX() + finalJ && spot.getY() == s.getY() + finalJ )\n .findFirst();\n\n if(enemyCandidate.isPresent() && enemyCandidate.get().piece.isWhite()) {\n break;\n }\n if (enemyCandidate.isPresent()) {\n enemyCandidate.get().piece.setUnderThreat(true);\n\n break;\n }\n }\n // up-left\n for(int j=1; j<8; j++) {\n\n int finalJ = j;\n\n Optional<Spot> enemyCandidate = spotList.stream()\n .filter((spot) -> spot.getX() == s.getX() - finalJ && spot.getY() == s.getY() + finalJ )\n .findFirst();\n\n if(enemyCandidate.isPresent() && enemyCandidate.get().piece.isWhite()) {\n break;\n }\n if (enemyCandidate.isPresent()) {\n enemyCandidate.get().piece.setUnderThreat(true);\n\n break;\n }\n }\n\n // down-left\n for(int j=1; j<8; j++) {\n\n int finalJ = j;\n\n Optional<Spot> enemyCandidate = spotList.stream()\n .filter((spot) -> spot.getX() == s.getX() - finalJ && spot.getY() == s.getY() - finalJ )\n .findFirst();\n\n if(enemyCandidate.isPresent() && enemyCandidate.get().piece.isWhite()) {\n break;\n }\n if (enemyCandidate.isPresent()) {\n enemyCandidate.get().piece.setUnderThreat(true);\n\n break;\n }\n }\n\n // down-right\n for(int j=1; j<8; j++) {\n\n int finalJ = j;\n\n Optional<Spot> enemyCandidate = spotList.stream()\n .filter((spot) -> spot.getX() == s.getX() - finalJ && spot.getY() == s.getY() - finalJ )\n .findFirst();\n\n if(enemyCandidate.isPresent() && enemyCandidate.get().piece.isWhite()) {\n break;\n }\n if (enemyCandidate.isPresent()) {\n enemyCandidate.get().piece.setUnderThreat(true);\n\n break;\n }\n }\n } else {\n // black Bishop direction\n\n // j refers coordinate of x direction between 0,7 and y direction between 0,-7 ;\n\n // down-right\n for(int j=1; j<8; j++) {\n\n int finalJ = j;\n\n Optional<Spot> enemyCandidate = spotList.stream()\n .filter((spot) -> spot.getX() == s.getX() + finalJ && spot.getY() == s.getY() - finalJ )\n .findFirst();\n\n if(enemyCandidate.isPresent() && !enemyCandidate.get().piece.isWhite()) {\n break;\n }\n if (enemyCandidate.isPresent()) {\n enemyCandidate.get().piece.setUnderThreat(true);\n\n break;\n }\n }\n // down-left\n for(int j=1; j<8; j++) {\n\n int finalJ = j;\n\n Optional<Spot> enemyCandidate = spotList.stream()\n .filter((spot) -> spot.getX() == s.getX() - finalJ && spot.getY() == s.getY() - finalJ )\n .findFirst();\n\n if(enemyCandidate.isPresent() && !enemyCandidate.get().piece.isWhite()) {\n break;\n }\n if (enemyCandidate.isPresent()) {\n enemyCandidate.get().piece.setUnderThreat(true);\n\n break;\n }\n }\n // up-right\n for(int j=1; j<8; j++) {\n\n int finalJ = j;\n\n Optional<Spot> enemyCandidate = spotList.stream()\n .filter((spot) -> spot.getX() == s.getX() + finalJ && spot.getY() == s.getY() + finalJ )\n .findFirst();\n\n if(enemyCandidate.isPresent() && !enemyCandidate.get().piece.isWhite()) {\n break;\n }\n if (enemyCandidate.isPresent()) {\n enemyCandidate.get().piece.setUnderThreat(true);\n\n break;\n }\n }\n // up-left\n for(int j=1; j<8; j++) {\n \n int finalJ = j;\n\n Optional<Spot> enemyCandidate = spotList.stream()\n .filter((spot) -> spot.getX() == s.getX() - finalJ && spot.getY() == s.getY() - finalJ )\n .findFirst();\n\n if(enemyCandidate.isPresent() && !enemyCandidate.get().piece.isWhite()) {\n break;\n }\n if (enemyCandidate.isPresent()) {\n enemyCandidate.get().piece.setUnderThreat(true);\n\n break;\n }\n }\n }\n break;\n case Knight:\n // up/down - right/left refers to knight's move \n\n // white Knight direction\n if(spotList.get(i).piece.isWhite()) {\n //up2 (current coordinate to y+2)\n if(s.getY() + 2 <= 0 ){\n //up2, right1\n if(s.getX()+1 <= 7) {\n Optional<Spot> enemyCandidate = spotList.stream()\n .filter((spot) -> spot.getX() == s.getX() + 1 && spot.getY() == s.getY() + 2 && !spot.piece.isWhite())\n .findFirst();\n\n enemyCandidate.ifPresent(spot -> spot.piece.setUnderThreat(true));\n }\n //up2, left1\n if(s.getX()-1 >= 0) {\n Optional<Spot> enemyCandidate = spotList.stream()\n .filter((spot) -> spot.getX() == s.getX() - 1 && spot.getY() == s.getY() + 2 && !spot.piece.isWhite())\n .findFirst();\n\n enemyCandidate.ifPresent(spot -> spot.piece.setUnderThreat(true));\n }\n }\n //up1 (current coordinate to y+1)\n if(s.getY() + 1 <= 0 ){\n //up1, right2\n if(s.getX()+2 <= 7) {\n Optional<Spot> enemyCandidate = spotList.stream()\n .filter((spot) -> spot.getX() == s.getX() + 2 && spot.getY() == s.getY() + 1 && !spot.piece.isWhite())\n .findFirst();\n\n enemyCandidate.ifPresent(spot -> spot.piece.setUnderThreat(true));\n }\n //up1, left2\n if(s.getX()-2 >= 0) {\n Optional<Spot> enemyCandidate = spotList.stream()\n .filter((spot) -> spot.getX() == s.getX() - 2 && spot.getY() == s.getY() + 1 && !spot.piece.isWhite())\n .findFirst();\n\n enemyCandidate.ifPresent(spot -> spot.piece.setUnderThreat(true));\n }\n }\n //down1 (current coordinate to y-1)\n if(s.getY() - 1 >= -7 ){\n //down1, right2\n if(s.getX()+2 <= 7) {\n Optional<Spot> enemyCandidate = spotList.stream()\n .filter((spot) -> spot.getX() == s.getX() + 2 && spot.getY() == s.getY() - 1 && !spot.piece.isWhite())\n .findFirst();\n\n enemyCandidate.ifPresent(spot -> spot.piece.setUnderThreat(true));\n }\n //down1, left2\n if(s.getX()-2 >= 0) {\n Optional<Spot> enemyCandidate = spotList.stream()\n .filter((spot) -> spot.getX() == s.getX() - 2 && spot.getY() == s.getY() - 1 && !spot.piece.isWhite())\n .findFirst();\n\n enemyCandidate.ifPresent(spot -> spot.piece.setUnderThreat(true));\n }\n }\n //down2 (current coordinate to y-2)\n if(s.getY() - 2 >= -7 ){\n //down2, right1\n if(s.getX()+1 <= 7) {\n Optional<Spot> enemyCandidate = spotList.stream()\n .filter((spot) -> spot.getX() == s.getX() + 1 && spot.getY() == s.getY() - 2 && !spot.piece.isWhite())\n .findFirst();\n\n enemyCandidate.ifPresent(spot -> spot.piece.setUnderThreat(true));\n }\n //down2, left1\n if(s.getX()-1 >= 0) {\n Optional<Spot> enemyCandidate = spotList.stream()\n .filter((spot) -> spot.getX() == s.getX() - 1 && spot.getY() == s.getY() - 2 && !spot.piece.isWhite())\n .findFirst();\n\n enemyCandidate.ifPresent(spot -> spot.piece.setUnderThreat(true));\n }\n }\n \n } else {\n // black Knight direction\n\n //up2 (current coordinate to y+2)\n if(s.getY() + 2 <= 0 ){\n //up2, right1\n if(s.getX()+1 <= 7) {\n Optional<Spot> enemyCandidate = spotList.stream()\n .filter((spot) -> spot.getX() == s.getX() + 2 && spot.getY() == s.getY() + 2 && spot.piece.isWhite())\n .findFirst();\n\n enemyCandidate.ifPresent(spot -> spot.piece.setUnderThreat(true));\n }\n //up2, left1\n if(s.getX()-1 >= 0) {\n Optional<Spot> enemyCandidate = spotList.stream()\n .filter((spot) -> spot.getX() == s.getX() + 2 && spot.getY() == s.getY() + 2 && spot.piece.isWhite())\n .findFirst();\n\n enemyCandidate.ifPresent(spot -> spot.piece.setUnderThreat(true));\n }\n\n }\n //up1 (current coordinate to y+1)\n if(s.getY() + 1 <= 0 ){\n //up1, right2\n if(s.getX()+2 <= 7) {\n Optional<Spot> enemyCandidate = spotList.stream()\n .filter((spot) -> spot.getX() == s.getX() + 2 && spot.getY() == s.getY() + 1 && spot.piece.isWhite())\n .findFirst();\n\n enemyCandidate.ifPresent(spot -> spot.piece.setUnderThreat(true));\n }\n //up1, left2\n if(s.getX()-2 >= 0) {\n Optional<Spot> enemyCandidate = spotList.stream()\n .filter((spot) -> spot.getX() == s.getX() - 2 && spot.getY() == s.getY() + 1 && spot.piece.isWhite())\n .findFirst();\n\n enemyCandidate.ifPresent(spot -> spot.piece.setUnderThreat(true));\n }\n }\n //down1 (current coordinate to y-1)\n if(s.getY() - 1 >= -7 ){\n //down1, right2\n if(s.getX()+2 <= 7) {\n Optional<Spot> enemyCandidate = spotList.stream()\n .filter((spot) -> spot.getX() == s.getX() + 2 && spot.getY() == s.getY() - 1 && spot.piece.isWhite())\n .findFirst();\n\n enemyCandidate.ifPresent(spot -> spot.piece.setUnderThreat(true));\n }\n //down1, left2\n if(s.getX()-2 >= 0) {\n Optional<Spot> enemyCandidate = spotList.stream()\n .filter((spot) -> spot.getX() == s.getX() - 2 && spot.getY() == s.getY() - 1 && spot.piece.isWhite())\n .findFirst();\n\n enemyCandidate.ifPresent(spot -> spot.piece.setUnderThreat(true));\n }\n }\n //down2 (current coordinate to y-2)\n if(s.getY() - 2 >= -7 ){\n //down2, right1\n if(s.getX()+1 <= 7) {\n Optional<Spot> enemyCandidate = spotList.stream()\n .filter((spot) -> spot.getX() == s.getX() + 1 && spot.getY() == s.getY() - 2 && spot.piece.isWhite())\n .findFirst();\n\n enemyCandidate.ifPresent(spot -> spot.piece.setUnderThreat(true));\n }\n //down2, left1\n if(s.getX()-1 >= 0) {\n Optional<Spot> enemyCandidate = spotList.stream()\n .filter((spot) -> spot.getX() == s.getX() - 1 && spot.getY() == s.getY() - 2 && spot.piece.isWhite())\n .findFirst();\n\n enemyCandidate.ifPresent(spot -> spot.piece.setUnderThreat(true));\n }\n }\n\n }\n break;\n }\n }\n }\n \n\n }", "title": "" }, { "docid": "b64e47a55efb73129998529fcffeb23a", "score": "0.48885393", "text": "public void checkMove() {\n if(!figure.position.getFigure().equals(\"Bishop\")) throw new FigureNotFoundException(\"Figure not found\");\n if (figure.position.getDiagonal() < 8 && dist.getVertical() < 8 && figure.position.getVertical() < 8 && dist.getVertical() < 8) {\n if (figure.position.getDiagonal() != dist.getDiagonal() && figure.position.getVertical() != dist.getVertical()) {\n for (Cell[] cell : board) {\n for (Cell cel : cell) {\n if (cel != null) {\n if (cel.getFigure().equals(\"Empty\")) {\n if (cel.getDiagonal() == dist.getDiagonal() && cel.getVertical() == dist.getVertical()) {\n board[figure.position.getDiagonal()][figure.position.getVertical()] = null;\n board[dist.getDiagonal()][dist.getVertical()] = new Cell(\"Bishop\", dist.getDiagonal(), dist.getVertical());\n\n }\n }else{throw new OccupiedWayException(\"Way is occupied by another figure!\");}\n }\n }\n\n }\n }else{throw new ImposibleMoveException(\"Distriction coordinates and figure coordinates cant be same!\");}\n }else{throw new ImposibleMoveException(\"Please, enter the correct coordinates\");}\n }", "title": "" }, { "docid": "81359d9af528aa1bf39506dcf708ce07", "score": "0.48878425", "text": "public void headSegMove(){\n\t\t\n\t\tif(this.snakeHead.getHeading() == 90 || this.snakeHead.getHeading() == 270 ){\n\t\t\tif(Math.sqrt(Math.pow(Snakes.bodySegPos.get(0).getLocationX() - this.snakeHead.getLocationX(),2) - \n\t\t\t\t\tMath.pow(Snakes.bodySegPos.get(0).getLocationY() - this.snakeHead.getLocationY(), 2)) >= Math.sqrt(200)){\n\t\t\t\tthis.recall = new Point(Snakes.bodySegPos.get(0).getLocationX(),Snakes.bodySegPos.get(0).getLocationY());\n\t\t\t\t//this.recallAff = new AffineTransform();\n\t\t\t\t//recallAff.translate(Snakes.bodySegPos.get(0).getLocationX(), Snakes.bodySegPos.get(0).getLocationY());\n\t\t\t\tSnakes.bodySegPos.get(0).setPointLocation(this.newLocFromBodySeg());\n\t\t\t\t//Snakes.bodySegPos.get(0).translate(this.newLocFromBodySeg().getX(), this.newLocFromBodySeg().getY());\n\t\t\t\tthis.segMove(recall);\n\t\t\t\t//this.segAffMove(recallAff);\n\t\t\t}\n\t\t}\n\t\telse{\n\t\t\tif(this.enoughSpace(this.snakeHead.getHeading(), this.snakeHead.getPointX(), this.snakeHead.getPointY(),\n\t\t\t\t\tSnakes.bodySegPos.get(0).getPointX(), Snakes.bodySegPos.get(0).getPointY())){\n\t\t\t\tthis.recall = new Point(Snakes.bodySegPos.get(0).getLocationX(),Snakes.bodySegPos.get(0).getLocationY());\n\t\t\t\t//this.recallAff = new AffineTransform();\n\t\t\t\t//recallAff.translate(Snakes.bodySegPos.get(0).getLocationX(),Snakes.bodySegPos.get(0).getLocationY());\n\t\t\t\tSnakes.bodySegPos.get(0).setPointLocation(this.newLocFromBodySeg());\n\t\t\t\t//Snakes.bodySegPos.get(0).update();\n\t\t\t\tSnakes.bodySegPos.get(0).translate(Snakes.bodySegPos.get(0).getPointX(), Snakes.bodySegPos.get(0).getPointY());\n\t\t\t\tthis.segMove(recall);\n\t\t\t\t//this.segAffMove(recallAff);\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "775ee24d08cd05ec8019f6e1230def54", "score": "0.48776838", "text": "public Move nextBestMove(Stack possibilities) {\n Stack clonedPossibilities = (Stack) possibilities.clone();\n Stack bestMove = new Stack();\n int score = 0;\n\n for (int i = 0; i < clonedPossibilities.size(); i++) { //run a loop through a clone of possibilities so the original stack of possibilities is not shortened\n Move landing = (Move) possibilities.pop(); //an object that will pop possibilities from the top of the stack\n int y = landing.getLanding().getYC(); //a variable for a pieces y coordinate movement\n\n if ((((y == 3)) || (y == 4)) && (score <= 1)) {//if the the y coordinates of the board are e\n score = 1;\n bestMove.add(landing);\n }\n if (landing.getLanding().getName().contains(\"Pawn\") && (score <= 2)) { //if a piece is a pawn and has a score that is less than or equal to 2\n if (score != 2) { //if the score is not equal to 2\n bestMove.clear(); //remove it from the bestMove stack\n }\n score = 2; //otherwise the score is equal to 2\n bestMove.add(landing); //add the object of that particular piece to the best move stack\n\n }\n if (landing.getLanding().getName().contains(\"Knight\") || (landing.getLanding().getName().contains(\"Bishup\")) && (score <= 3)) {\n if (score != 3) {\n bestMove.clear();\n }\n score = 3;\n bestMove.add(landing);\n }\n if (landing.getLanding().getName().contains(\"Rook\") && (score <= 5)) {\n if (score != 5) {\n bestMove.clear();\n }\n score = 5;\n bestMove.add(landing);\n }\n if (landing.getLanding().getName().contains(\"Queen\") && (score <= 9)) {\n if (score != 9) {\n bestMove.clear();\n }\n score = 9;\n bestMove.add(landing);\n }\n if ((landing.getLanding().getName().contains(\"King\")) && (score <= 100)) {\n if (score != 100) {\n bestMove.clear();\n }\n score = 100;\n bestMove.add(landing);\n }\n\n }//end for loop for clones possibilities\n\n if (score >= 1) { //if the score is of a significant value perform a move based on moves that will give the ai points\n Stack cloneBestMove = (Stack) bestMove.clone();\n int moveID = rand.nextInt(bestMove.size());\n for (int j = 1; j < (cloneBestMove.size() - (moveID)); j++) {\n bestMove.pop();\n }\n Move nextBest = (Move) bestMove.pop();\n return nextBest;\n }\n return randomMove(clonedPossibilities); //else if there is no move of any significant value just make a random move.\n }", "title": "" }, { "docid": "e68bd5d7f415283872a7567039e1dcba", "score": "0.48739433", "text": "private void checkCollision() {\n int[] head1 = snake1.getHeadPosition();\n int[] head2 = new int[2];\n\n if (!this.isSinglePlayer()){\n head2 = snake2.getHeadPosition();\n }\n\n\n // Snake one\n for (int[] position : snake1.getPositions()) {\n if (head1[0] == position[0] && head1[1] == position[1]) {\n super.getGameData().setGameRunning(false);\n System.out.println(\"GAME OVER\");\n }\n\n if (!this.isSinglePlayer()){\n if (head2[0] == position[0] && head2[1] == position[1]) {\n super.getGameData().setGameRunning(false);\n System.out.println(\"GAME OVER - CHOQUE 2 CON 1\");\n }\n }\n }\n\n // Snake two\n if (!this.isSinglePlayer()){\n for (int[] position : snake2.getPositions()) {\n if (head2[0] == position[0] && head2[1] == position[1]) {\n super.getGameData().setGameRunning(false);\n System.out.println(\"GAME OVER\");\n }\n\n if (head1[0] == position[0] && head1[1] == position[1]) {\n super.getGameData().setGameRunning(false);\n System.out.println(\"GAME OVER - CHOQUE 1 CON 2\");\n }\n }\n }\n\n\n // Death on collision with other snake\n // Que la cabeza del uno esté incluido en las posiciones del otro\n\n // End game\n if (!super.getGameData().isGameRunning()){\n this.endGame();\n }\n }", "title": "" }, { "docid": "b5be5345471b200a5aa3cfe1ed27dfd5", "score": "0.48718515", "text": "private boolean boxPushBox(Position2D dest,Level2D lvl){\r\n\t\tif( ((lvl.getItemInPlace(dest).getType().compareTo(\"Box\"))==0) || \r\n\t\t\t\tthereIsWall(dest) )//if box after box OR wall after box\r\n\t\t\treturn false;\r\n\t\t\t\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "9a52c6443395b53aa0b9c852a202a684", "score": "0.48714623", "text": "public boolean isValid(Cell[][] board)\n {\n\t //Check if we are inside board\n\t if (!to2.isInBoard()) {\n\t\t System.out.println(\"Moving outside board\");\n\t\t return false;\n\t }\n\t //from2 and to2 must be neighbors\n\t if (!(new Vector<Cell>(Arrays.asList(from2.getNeighbors(board))).contains(to2))) {\n\t\t System.out.println(\"From2 and to2 aren't neighbors\");\n\t\t return false; \n\t }\n\t //Cannot move to a space occupied by our own stones\n\t if (to2.getColor()==from1.getColor()) {\n\t\t System.out.println(\"Cannot move to a space occupied by ourself\");\n\t\t return false;\n\t }\n\t //If we are selecting one stone and moving it into a gap, the move is valid\n\t //One stone only cannot push\n\t if (from1==from2) {\n\t\t //Must move into a gap\n\t\t if (to2.getColor() == null) {\n\t\t\t //System.out.println(\"One stone, OK\");\n\t\t\t return true;\n\t\t }\n\t\t else {\n\t\t\t System.out.println(\"Moving one stone to an occupied space\");\n\t\t\t return false;\n\t\t }\n\t }\n\t //Two consequent stones\n\t if (new Vector<Cell>(Arrays.asList(from1.getNeighbors(board))).contains(from2)) {\n\t\t Vector<Cell> from1Neighbors = new Vector<Cell>(Arrays.asList(from1.getNeighbors(board)));\n\t\t int direction = from1Neighbors.indexOf(from2);\n\t\t //Check if we are pushing a stone\n\t\t if (from2.getNeighbors(board)[direction]==to2) { //Inline move\n\t\t\t if (to2.getColor()==null) {\n\t\t\t\t //System.out.println(\"Valid 2 inline\");\n\t\t\t\t return true;\n\t\t\t }\n\t\t\t //We already know that to2 is not empty, so if we are here, it means it's the opponent's color\n\t\t\t //Check if we can push it\n\t\t\t if ((to2.getNeighbors(board)[direction]).getColor()==null) {\n\t\t\t\t //System.out.println(\"Pushing one stone\");\n\t\t\t\t return true;\n\t\t\t }\n\t\t } else { //Broadside move, both must be empty\n\t\t\t Vector<Cell> from2Neighbors = new Vector<Cell>(Arrays.asList(from2.getNeighbors(board)));\n\t\t\t direction = from2Neighbors.indexOf(to2);\n\t\t\t Cell to1 = from1.getNeighbors(board)[direction];\n\t\t\t if (to1.getColor()==null && to1.isInBoard() && to2.getColor()==null) {\n\t\t\t\t //System.out.println(\"Valid broadside 2\");\n\t\t\t\t return true;\n\t\t\t }\n\t\t\t System.out.println(\"Broadside 2 to a non-empty space\");\n\t\t\t return false; //Broadside move to a non-empty space\n\t\t }\n\t }\n\t //Check for three consequent stones\n\t Cell intermediate = null;\n\t for (int i=0;i<3;i++) {\n\t\t //Check for the intermediate cell\n\t\t if (from1.getNeighbors(board)[i]==from2.getNeighbors(board)[i+3]) \n\t\t\t intermediate = from1.getNeighbors(board)[i];\n\t\t if (from2.getNeighbors(board)[i]==from1.getNeighbors(board)[i+3])\n\t\t\t intermediate = from2.getNeighbors(board)[i];\n\t }\n\t if (intermediate == null) {\n\t\t System.out.println(\"Cells are not consecutive\");\n\t\t return false;\n\t }\n\t //If we are here, we are moving three consequent stones\n\t //Check colors\n\t if (from1.getColor()!=intermediate.getColor()||from2.getColor()!=from1.getColor()) {\n\t\t System.out.println(\"We don't have the same color\");\n\t\t return false; \n\t }\n\t //If we are here, we are moving three consequent stones of the same color\n\t //If we are here, it means we are moving to a non-empty cell - only possible when pushing\n\t //We already know that to2 cannot be of our own color (checked in the beginning)\n\t //So it is occupied by the opponent\n\t //Check for inline or broadside move\n\t Vector<Cell> from1Neighbors = new Vector<Cell>(Arrays.asList(from1.getNeighbors(board)));\n\t int direction = from1Neighbors.indexOf(intermediate);\n\t Vector<Cell> from2Neighbors = new Vector<Cell>(Arrays.asList(from2.getNeighbors(board)));\n\t if (from2Neighbors.elementAt(direction)!=to2) { //Broadside move\n\t\t direction = from2Neighbors.indexOf(to2);\n\t\t //Make sure all are empty\n\t\t if (!(to2.isInBoard() && from1.getNeighbors(board)[direction].isInBoard() && intermediate.getNeighbors(board)[direction].isInBoard())) {\n\t\t\t System.out.println(\"Broadside 3 outside the board\");\n\t\t\t return false;\n\t\t }\n\t\t if (to2.getColor()!=null) {\n\t\t\t System.out.println(\"Broadside 3 to a non-empty space\");\n\t\t\t return false;\n\t\t }\n\t\t if (from1.getNeighbors(board)[direction].getColor()!=null) {\n\t\t\t System.out.println(\"Broadside 3 to a non-empty space\");\n\t\t\t return false;\n\t\t }\n\t\t if (intermediate.getNeighbors(board)[direction].getColor()!=null) {\n\t\t\t System.out.println(\"Broadside 3 to a non-empty space\");\n\t\t\t return false;\n\t\t }\n\t\t //System.out.println(\"Broadside 3 OK\");\n\t\t return true;\n\t }\n\t //Only inline moves where to1 is enemy can reach this point\n\t if (to2.getColor()==null) {\n\t\t //System.out.println(\"Three inline empty\");\n\t\t return true;\n\t }\n\t Cell afterTo2 = to2.getNeighbors(board)[direction];\n\t if (afterTo2.getColor()==null) {\n\t\t //System.out.println(\"Three pushing one\");\n\t\t return true; //Pushing one stone\n\t }\n\t if (afterTo2.getColor()==from1.getColor()) {\n\t\t System.out.println(\"Cannot push, we are occupying it\");\n\t\t return false; //Cannot push, we are occupying it\n\t }\n\t //Inline move followed by two stones of the opposite color. Must move into gap.\n\t Cell gap = afterTo2.getNeighbors(board)[direction];\n\t if (gap.getColor()==null) {\n\t\t //System.out.println(\"Three pushing two\");\n\t\t return true;\n\t }\n\t System.out.println(\"Three pushing three\");\n\t return false;\n }", "title": "" }, { "docid": "b3a5edb4e20cfc3e0801b48c27550941", "score": "0.48695225", "text": "@Override\n\tpublic boolean moveUpperLeft() {\n\t\tif(this.setPosition(this.getX() - 1, this.getY() - 1))\n\t\t{\n\t\t\tthis.lastX = -1;\n\t\t\tthis.lastY = -1;\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "707cfb0a457e6d44a1193e77a4c737ae", "score": "0.48678023", "text": "public boolean canMove() {\r\n final int directions[] = new int[] {\r\n Location.AHEAD,\r\n Location.LEFT,\r\n Location.RIGHT,\r\n Location.HALF_CIRCLE\r\n };\r\n Grid<Actor> gr = getGrid();\r\n if (path == null && gr != null) {\r\n boolean done = false;\r\n path = new Stack<Location>();\r\n // (K, V) -> (from, to)\r\n HashMap<Location, Location> visitedLocations = new HashMap<Location, Location>();\r\n Queue<Location> q = new LinkedList<Location>();\r\n q.add(getLocation());\r\n visitedLocations.put(getLocation(), null);\r\n while (!q.isEmpty() && !done) {\r\n Location current = q.poll();\r\n for (int direction : directions) {\r\n Location destination = current.getAdjacentLocation(direction);\r\n if (gr.isValid(destination)) {\r\n Actor a = gr.get(destination);\r\n // reaches the end\r\n if (a instanceof Rock && a.getColor().equals(Color.RED)) {\r\n while (current != null) {\r\n path.add(current);\r\n current = visitedLocations.get(current);\r\n }\r\n path.pop();\r\n done = true;\r\n break;\r\n } else if (!(a instanceof Rock) && !visitedLocations.containsKey(destination)) {\r\n q.add(destination);\r\n visitedLocations.put(destination, current);\r\n }\r\n }\r\n }\r\n }\r\n }\r\n if (!path.isEmpty()) {\r\n next = path.pop();\r\n return true;\r\n } else {\r\n isEnd = true;\r\n return false;\r\n }\r\n }", "title": "" }, { "docid": "2caaa88fc63833225984a5d0b1fed1e5", "score": "0.48673773", "text": "@Test //[7]\n public void isRemoveCardFromStackAllowedTest() {\n Assert.assertTrue(cardStackRepository.isRemoveCardFromStackAllowed(StackPosition.SPADES_ACE, new Card(Suit.SPADES, Rank.TWO)));\n Assert.assertFalse(cardStackRepository.isRemoveCardFromStackAllowed(StackPosition.SPADES_ACE, new Card(Suit.SPADES, Rank.ACE)));\n cardStackRepository.removeCardFromStack(StackPosition.SPADES_ACE, new Card(Suit.SPADES, Rank.TWO));\n // can't remove last card from border stack\n Assert.assertFalse(cardStackRepository.isRemoveCardFromStackAllowed(StackPosition.SPADES_ACE, new Card(Suit.SPADES, Rank.ACE)));\n Assert.assertFalse(cardStackRepository.isRemoveCardFromStackAllowed(StackPosition.CLUBS_KING, new Card(Suit.CLUBS, Rank.KING)));\n // remove card from middle stack in State.INACTIVE\n Assert.assertFalse(cardStackRepository.isRemoveCardFromStackAllowed(StackPosition.EIGHT, new Card(Suit.SPADES, Rank.JACK)));\n cardStackRepository.changeStackState(StackPosition.EIGHT, State.ACTIVE);\n // remove card from middle stack in State.ACTIVE\n Assert.assertTrue(cardStackRepository.isRemoveCardFromStackAllowed(StackPosition.EIGHT, new Card(Suit.SPADES, Rank.JACK)));\n // remove card from empty stack\n Assert.assertFalse(cardStackRepository.isRemoveCardFromStackAllowed(StackPosition.ACE, new Card(Suit.CLUBS, Rank.QUEEN)));\n cardStackRepository.changeStackState(StackPosition.ACE, State.INACTIVE);\n Assert.assertFalse(cardStackRepository.isRemoveCardFromStackAllowed(StackPosition.ACE, new Card(Suit.CLUBS, Rank.QUEEN)));\n }", "title": "" }, { "docid": "066716f6cdcfa54716ba9d8fe72413dc", "score": "0.48591018", "text": "void moveTowards(int destination) {\n if(!movedLastStep){\n if(current_floor < destination){\n current_floor++;\n }\n else{\n current_floor--;\n }\n movedLastStep = true;\n } else {\n movedLastStep = false;\n }\n }", "title": "" }, { "docid": "2276fde318f2e85e622c4f5bcf023d4b", "score": "0.48589438", "text": "public boolean movePlayer( Player player, WotlasLocation targetLocation ) {\n\n // 1 - We remove the player from our router...\n if( !super.removePlayer(player) )\n return false; // non-existent player\n\n // 2 - Check the target room...\n int targetRoomID = targetLocation.getRoomID();\n Room targetRoom = null;\n\n for( int i=0; i<nearRooms.length; i++ )\n if( nearRooms[i].getRoomID()==targetRoomID ) {\n targetRoom = nearRooms[i];\n break;\n }\n\n if(targetRoom==null) {\n Debug.signal( Debug.ERROR, this, \"Target room not found !\" );\n return false;\n }\n\n // 3 - Send approriate Remove messages\n RemovePlayerFromRoomMessage rMsg = new RemovePlayerFromRoomMessage( \n player.getPrimaryKey(), player.getLocation() );\n\n for( int i=0; i<nearRooms.length; i++ )\n if( nearRooms[i].getRoomID()!=targetRoomID )\n nearRooms[i].getMessageRouter().sendMessage(rMsg);\n\n sendMessage( new RemPlayerFromChatRoomMessage( player.getPrimaryKey(), ChatRoom.DEFAULT_CHAT ) );\n\n // 4 - Send appropriate Location changes & Messages\n player.setLocation( targetRoom.getLocation() );\n targetRoom.getMessageRouter().getPlayers().put(player.getPrimaryKey(),player);\n\n LocationChangeMessage lMsg = new LocationChangeMessage( player.getPrimaryKey(),\n player.getLocation(), 0, 0, 0.0f );\n\n sendMessage( lMsg ); // to this room\n targetRoom.getMessageRouter().sendMessage( lMsg, player ); // to the target room\n\n // 5 - We ask the moved player to clean his ghosts\n player.sendMessage( new CleanGhostsMessage( player.getPrimaryKey(), player.getLocation() ) );\n\n // 6 - Send appropriate Add Player Messages\n // to the neighbours of the target room where we are now\n // We also send remaining Players & Doors Messages to our player\n AddPlayerToRoomMessage aMsg = new AddPlayerToRoomMessage( null, player );\n\n if(targetRoom.getRoomLinks()!=null)\n for( int i=0; i<targetRoom.getRoomLinks().length; i++ ) {\n Room otherRoom = targetRoom.getRoomLinks()[i].getRoom1();\n\n if( otherRoom==targetRoom )\n otherRoom = targetRoom.getRoomLinks()[i].getRoom2();\n\n if( otherRoom==thisRoom )\n continue;\n\n player.sendMessage( new DoorsStateMessage( otherRoom ) );\n player.sendMessage( new RoomPlayerDataMessage( otherRoom, player ) );\n\n Hashtable otherPlayers = otherRoom.getMessageRouter().getPlayers();\n\n synchronized( otherPlayers ) {\n Iterator it = otherPlayers.values().iterator();\n \t \n while( it.hasNext() ) {\n Player p = (Player) it.next();\n aMsg.setOtherPlayer(p); // needed for the LieManager to know who is\n p.sendMessage( aMsg ); // asking for the player's name....\n }\n }\n }\n\n // 7 - We send CHAT DATA to the added player\n ( (MultiGroupMessageRouter) targetRoom.getMessageRouter() ).updateChatInformation( (PlayerImpl) player );\n\n return true;\n }", "title": "" }, { "docid": "ec9a8a039c18c39a133408e3c25b8c58", "score": "0.48552048", "text": "public boolean mergeStacks(int i, int j) {\r\n \t\tif (lockLevels[i] <= lockLevels[j]) {\r\n \t\t\treturn swapOrMerge(i, j, 1) ? STACK_EMPTIED : STACK_NOT_EMPTIED;\r\n \t\t}\r\n \t\telse {\r\n \t\t\treturn STACK_NOT_EMPTIED;\r\n \t\t}\r\n \t}", "title": "" }, { "docid": "16b5b81932af56e3f18bb34c164eb2db", "score": "0.48539528", "text": "public android.support.v4.app.BackStackRecord.TransitionState popFromBackStack(boolean r12, android.support.v4.app.BackStackRecord.TransitionState r13, android.util.SparseArray r14, android.util.SparseArray r15) {\n /*\n r11_this = this;\n r8 = android.support.v4.app.FragmentActivity.a;\n r0 = android.support.v4.app.FragmentManagerImpl.DEBUG;\n if (r0 == 0) goto L_0x0041;\n L_0x0006:\n r0 = z;\n r1 = 65;\n r0 = r0[r1];\n r1 = new java.lang.StringBuilder;\n r1.<init>();\n r2 = z;\n r3 = 64;\n r2 = r2[r3];\n r1 = r1.append(r2);\n r1 = r1.append(r11);\n r1 = r1.toString();\n android.util.Log.v(r0, r1);\n r0 = new android.support.v4.util.LogWriter;\n r1 = z;\n r2 = 63;\n r1 = r1[r2];\n r0.<init>(r1);\n r1 = new java.io.PrintWriter;\n r1.<init>(r0);\n r0 = z;\n r2 = 61;\n r0 = r0[r2];\n r2 = 0;\n r3 = 0;\n r11.dump(r0, r2, r1, r3);\n L_0x0041:\n if (r13 != 0) goto L_0x0171;\n L_0x0043:\n r0 = r14.size();\t Catch:{ IllegalStateException -> 0x009e }\n if (r0 != 0) goto L_0x004f;\n L_0x0049:\n r0 = r15.size();\t Catch:{ IllegalStateException -> 0x009e }\n if (r0 == 0) goto L_0x016e;\n L_0x004f:\n r0 = 1;\n r6 = r11.beginTransition(r14, r15, r0);\n if (r8 == 0) goto L_0x005f;\n L_0x0056:\n if (r12 != 0) goto L_0x005f;\n L_0x0058:\n r0 = r11.mSharedElementTargetNames;\t Catch:{ IllegalStateException -> 0x00a0 }\n r1 = r11.mSharedElementSourceNames;\t Catch:{ IllegalStateException -> 0x00a0 }\n setNameOverrides(r6, r0, r1);\t Catch:{ IllegalStateException -> 0x00a0 }\n L_0x005f:\n r0 = -1;\n r11.bumpBackStackNesting(r0);\t Catch:{ IllegalStateException -> 0x00a2 }\n if (r6 == 0) goto L_0x00a4;\n L_0x0065:\n r0 = 0;\n r1 = r0;\n L_0x0067:\n if (r6 == 0) goto L_0x00a8;\n L_0x0069:\n r0 = 0;\n r2 = r0;\n L_0x006b:\n r0 = r11.mTail;\n r7 = r0;\n L_0x006e:\n if (r7 == 0) goto L_0x0142;\n L_0x0070:\n if (r6 == 0) goto L_0x00ac;\n L_0x0072:\n r0 = 0;\n r3 = r0;\n L_0x0074:\n if (r6 == 0) goto L_0x00b0;\n L_0x0076:\n r0 = 0;\n r4 = r0;\n L_0x0078:\n r0 = r7.cmd;\n switch(r0) {\n case 1: goto L_0x00b4;\n case 2: goto L_0x00c3;\n case 3: goto L_0x00f6;\n case 4: goto L_0x0102;\n case 5: goto L_0x0111;\n case 6: goto L_0x0120;\n case 7: goto L_0x012f;\n default: goto L_0x007d;\n };\n L_0x007d:\n r0 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalStateException -> 0x009c }\n r1 = new java.lang.StringBuilder;\t Catch:{ IllegalStateException -> 0x009c }\n r1.<init>();\t Catch:{ IllegalStateException -> 0x009c }\n r2 = z;\t Catch:{ IllegalStateException -> 0x009c }\n r3 = 62;\n r2 = r2[r3];\t Catch:{ IllegalStateException -> 0x009c }\n r1 = r1.append(r2);\t Catch:{ IllegalStateException -> 0x009c }\n r2 = r7.cmd;\t Catch:{ IllegalStateException -> 0x009c }\n r1 = r1.append(r2);\t Catch:{ IllegalStateException -> 0x009c }\n r1 = r1.toString();\t Catch:{ IllegalStateException -> 0x009c }\n r0.<init>(r1);\t Catch:{ IllegalStateException -> 0x009c }\n throw r0;\t Catch:{ IllegalStateException -> 0x009c }\n L_0x009c:\n r0 = move-exception;\n throw r0;\n L_0x009e:\n r0 = move-exception;\n throw r0;\n L_0x00a0:\n r0 = move-exception;\n throw r0;\n L_0x00a2:\n r0 = move-exception;\n throw r0;\n L_0x00a4:\n r0 = r11.mTransitionStyle;\n r1 = r0;\n goto L_0x0067;\n L_0x00a8:\n r0 = r11.mTransition;\n r2 = r0;\n goto L_0x006b;\n L_0x00ac:\n r0 = r7.popEnterAnim;\n r3 = r0;\n goto L_0x0074;\n L_0x00b0:\n r0 = r7.popExitAnim;\n r4 = r0;\n goto L_0x0078;\n L_0x00b4:\n r0 = r7.fragment;\n r0.mNextAnim = r4;\n r5 = r11.mManager;\n r9 = android.support.v4.app.FragmentManagerImpl.reverseTransit(r2);\n r5.removeFragment(r0, r9, r1);\n if (r8 == 0) goto L_0x013e;\n L_0x00c3:\n r0 = r7.fragment;\n if (r0 == 0) goto L_0x00d2;\n L_0x00c7:\n r0.mNextAnim = r4;\t Catch:{ IllegalStateException -> 0x0162 }\n r5 = r11.mManager;\t Catch:{ IllegalStateException -> 0x0162 }\n r9 = android.support.v4.app.FragmentManagerImpl.reverseTransit(r2);\t Catch:{ IllegalStateException -> 0x0162 }\n r5.removeFragment(r0, r9, r1);\t Catch:{ IllegalStateException -> 0x0162 }\n L_0x00d2:\n r0 = r7.removed;\n if (r0 == 0) goto L_0x00f4;\n L_0x00d6:\n r0 = 0;\n r5 = r0;\n L_0x00d8:\n r0 = r7.removed;\n r0 = r0.size();\n if (r5 >= r0) goto L_0x00f4;\n L_0x00e0:\n r0 = r7.removed;\n r0 = r0.get(r5);\n r0 = (android.support.v4.app.Fragment) r0;\n r0.mNextAnim = r3;\n r9 = r11.mManager;\n r10 = 0;\n r9.addFragment(r0, r10);\n r0 = r5 + 1;\n if (r8 == 0) goto L_0x016b;\n L_0x00f4:\n if (r8 == 0) goto L_0x013e;\n L_0x00f6:\n r0 = r7.fragment;\n r0.mNextAnim = r3;\n r5 = r11.mManager;\n r9 = 0;\n r5.addFragment(r0, r9);\n if (r8 == 0) goto L_0x013e;\n L_0x0102:\n r0 = r7.fragment;\n r0.mNextAnim = r3;\n r5 = r11.mManager;\n r9 = android.support.v4.app.FragmentManagerImpl.reverseTransit(r2);\n r5.showFragment(r0, r9, r1);\n if (r8 == 0) goto L_0x013e;\n L_0x0111:\n r0 = r7.fragment;\n r0.mNextAnim = r4;\n r4 = r11.mManager;\n r5 = android.support.v4.app.FragmentManagerImpl.reverseTransit(r2);\n r4.hideFragment(r0, r5, r1);\n if (r8 == 0) goto L_0x013e;\n L_0x0120:\n r0 = r7.fragment;\n r0.mNextAnim = r3;\n r4 = r11.mManager;\n r5 = android.support.v4.app.FragmentManagerImpl.reverseTransit(r2);\n r4.attachFragment(r0, r5, r1);\n if (r8 == 0) goto L_0x013e;\n L_0x012f:\n r0 = r7.fragment;\n r0.mNextAnim = r3;\t Catch:{ IllegalStateException -> 0x009c }\n r3 = r11.mManager;\t Catch:{ IllegalStateException -> 0x009c }\n r4 = android.support.v4.app.FragmentManagerImpl.reverseTransit(r2);\t Catch:{ IllegalStateException -> 0x009c }\n r3.detachFragment(r0, r4, r1);\t Catch:{ IllegalStateException -> 0x009c }\n if (r8 != 0) goto L_0x007d;\n L_0x013e:\n r0 = r7.prev;\n if (r8 == 0) goto L_0x0168;\n L_0x0142:\n if (r12 == 0) goto L_0x0166;\n L_0x0144:\n r0 = r11.mManager;\n r3 = r11.mManager;\n r3 = r3.mCurState;\n r2 = android.support.v4.app.FragmentManagerImpl.reverseTransit(r2);\n r4 = 1;\n r0.moveToState(r3, r2, r1, r4);\n r0 = 0;\n L_0x0153:\n r1 = r11.mIndex;\t Catch:{ IllegalStateException -> 0x0164 }\n if (r1 < 0) goto L_0x0161;\n L_0x0157:\n r1 = r11.mManager;\t Catch:{ IllegalStateException -> 0x0164 }\n r2 = r11.mIndex;\t Catch:{ IllegalStateException -> 0x0164 }\n r1.freeBackStackIndex(r2);\t Catch:{ IllegalStateException -> 0x0164 }\n r1 = -1;\n r11.mIndex = r1;\t Catch:{ IllegalStateException -> 0x0164 }\n L_0x0161:\n return r0;\n L_0x0162:\n r0 = move-exception;\n throw r0;\n L_0x0164:\n r0 = move-exception;\n throw r0;\n L_0x0166:\n r0 = r6;\n goto L_0x0153;\n L_0x0168:\n r7 = r0;\n goto L_0x006e;\n L_0x016b:\n r5 = r0;\n goto L_0x00d8;\n L_0x016e:\n r6 = r13;\n goto L_0x005f;\n L_0x0171:\n r6 = r13;\n goto L_0x0056;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.support.v4.app.BackStackRecord.popFromBackStack(boolean, android.support.v4.app.BackStackRecord$TransitionState, android.util.SparseArray, android.util.SparseArray):android.support.v4.app.BackStackRecord$TransitionState\");\n }", "title": "" }, { "docid": "de4b6527ef0661bffd341a737fe8133a", "score": "0.48499706", "text": "public boolean isArmAtTop() {\n\t\treturn !stage1TopSwitch.get();\n\t}", "title": "" }, { "docid": "cc14152227ab766bec37e041ed21f150", "score": "0.48498648", "text": "@Override\n protected void destinationInGoodPlace(){\n\n int right = getMostRightBeaconIndex();\n int left = getMostLeftBeaconIndex();\n int up = getUppermostBeaconIndex();\n int low = getLowestBeaconIndex();\n boolean isOk = false;\n destination = new Point2D(Math.random()-L/2,Math.random()-L/2);\n\n while (!isOk){\n if(!isInOrOut()){\n if(PositionChecker.pointInTriangle(destination,beaconsList.get(0).getPosition(),\n beaconsList.get(1).getPosition(), beaconsList.get(2).getPosition())\n || !rightPlaceForDestination(destination,left,right,low,up)){\n destination = new Point2D(Math.random()-L/2,Math.random()-L/2);\n }\n else\n isOk = true;\n }\n else{\n if(!PositionChecker.pointInTriangle(destination,beaconsList.get(0).getPosition(),\n beaconsList.get(1).getPosition(),beaconsList.get(2).getPosition())\n || !rightPlaceForDestination(destination,left,right,low,up)){\n destination = new Point2D(Math.random()-L/2,Math.random()-L/2);\n }\n else\n isOk = true;\n }\n }\n }", "title": "" }, { "docid": "e01e0e6f406419fa86550ce46381c78f", "score": "0.48489472", "text": "public char[][] walkMaze(char[][] maze, Stack<Position> stack){\r\n if(stack.peek().equals(exit)){\r\n return maze;\r\n }\r\n \r\n // stack.peek().print();\r\n maze[stack.peek().x][stack.peek().y] = 'x';\r\n \r\n \r\n if(maze[stack.peek().x+1][stack.peek().y] == '0' || maze[stack.peek().x+1][stack.peek().y] == 'e' )\r\n stack.push(new Position(stack.peek().x+1, stack.peek().y));\r\n else if(maze[stack.peek().x][stack.peek().y+1] == '0' || maze[stack.peek().x][stack.peek().y+1] == 'e')\r\n stack.push(new Position(stack.peek().x, stack.peek().y+1));\r\n else if(maze[stack.peek().x-1][stack.peek().y] == '0' || maze[stack.peek().x-1][stack.peek().y] == 'e')\r\n stack.push(new Position(stack.peek().x-1, stack.peek().y));\r\n else if(maze[stack.peek().x][stack.peek().y-1] == '0' || maze[stack.peek().x][stack.peek().y-1] == 'e')\r\n stack.push(new Position(stack.peek().x, stack.peek().y-1));\r\n else{\r\n if(stack.numItems == 1){\r\n System.out.println(\"Trapped -- No Way out!\");\r\n return maze;\r\n }\r\n else{\r\n Position last = stack.pop();\r\n maze[last.x][last.y] = '1'; \r\n }\r\n }\r\n \r\n return walkMaze(maze, stack);\r\n }", "title": "" }, { "docid": "a75f405455f7e653c878164b73221646", "score": "0.48437226", "text": "private ItemStack moveStackToHandler(ItemStack stack, IItemHandler handler) {\n for (int i = 0; i < handler.getSlots(); i++) {\n if (handler.getStackInSlot(i) != null && handler.getStackInSlot(i).isItemEqual(stack)) {\n stack = handler.insertItem(i, stack, false);\n }\n }\n // Second pass: Try to put stack in an empty slot\n if (stack != null) {\n for (int i = 0; i < handler.getSlots(); i++) {\n if (handler.getStackInSlot(i) == null) {\n stack = handler.insertItem(i, stack, false);\n break;\n }\n }\n }\n return stack;\n }", "title": "" }, { "docid": "596fcf867cbde983a9ecbdf12a1bc51f", "score": "0.48430967", "text": "boolean cutTrees() {\n\t\tif(allTrees.length ==0) {\n\t\t\treturn false;\n\t\t}\n\t\tTreeInfo nearestTree = sensor.findLowestNearestTree(Team.NEUTRAL);\n\t\tif(nearestTree==null) {\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\tbroadcast.broadcastLocation(nearestTree.location, ModBroadcast.NEUTRAL_TREE_CHANNEL);\n\t\tif(rc.canChop(nearestTree.location)){\n\t\t\ttry{\n\t\t\t\trc.chop(nearestTree.location);\n\t\t\t\treturn true;\n\t\t\t} catch(Exception e){e.printStackTrace();}\n\t\t} else if(sensor.isTreeSurrounded(nearestTree)) {\n\t\t\treturn false;\n\t\t} else {\n\t\t\tnav.moveToLocation(nearestTree.location);\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\treturn false;\n\t}", "title": "" }, { "docid": "f56f5f398c3c3453830e1aa6b3c63410", "score": "0.4840887", "text": "public void shiftStacks(){\r\n\t\tif(stack1.isEmpty()){\r\n\t\t\t// shift items to stack2\r\n\t\t\twhile(stack1.size() != 0){\r\n\t\t\t\tNode temp = stack1.pop();\r\n\t\t\t\tstack2.push(temp);\r\n\t\t\t}\r\n\t\t}else{\r\n\t\t\t// shift items to stack1\r\n\t\t\twhile(stack2.size() != 0){\r\n\t\t\t\tNode temp = stack2.pop();\r\n\t\t\t\tstack1.push(temp);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "186e7ad6ec642c2d667c39a383063c0b", "score": "0.48403713", "text": "@Override\n\tpublic void processSharkOverlap(@Raw Shark shark){\n\t\t\n\t}", "title": "" }, { "docid": "5f8aed52520c7c3de30d4285fb3f164f", "score": "0.48348916", "text": "public void slapStack(IPlayer player) {\r\n\t\tSLAPPED = true;\r\n\t\tfor (int i = 0; i < theStack.size(); i++) {\r\n\t\t\tCard c = theStack.get(i);\r\n\t\t\tc.resetCardBitmap();\r\n\t\t\tplayer.addCard(c);\r\n\t\t}\r\n\t\ttheStack = new ArrayList<Card>();\r\n\t\t// Reset the number of chances to play a letter card if a player has those chances\r\n\t\tplayer.setTillFace(0);\r\n\t\tplayer.setMyTurn(true);\r\n\t\tIPlayer playerB = getOtherPlayer(player);\r\n\t\tplayerB.setTillFace(0);\r\n\t\tplayerB.setMyTurn(false);\r\n\r\n\t\tSLAPPED = false;\r\n\r\n\t\tif (player2.myTurn()) {\r\n\t\t\t// Start a new timer for the computer's turn\r\n\t\t\t// TIME_BETWEEN_TURNS???\r\n\t\t\tTimer player2TurnTask = new Timer();\r\n\t\t\tplayer2TurnTask.schedule(new Player2TurnTask(), DELAY_INTERVAL);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "a5b89dcd936b11e836e7e404c8d484a8", "score": "0.48344398", "text": "private static int canSmushVertical(String line1, String line2, Option option) {\n Rule rule = option.getRule();\n if (rule.getVerticalLayout() == Layout.FULL) {\n return INVALID;\n }\n int len = Math.min(line1.length(), line2.length());\n String ch1;\n String ch2;\n boolean endSmush = false;\n boolean validSmush;\n if (len == 0) {\n return INVALID;\n }\n for (int i = 0; i < len; i++) {\n ch1 = substr(line1, i, 1);\n ch2 = substr(line2, i, 1);\n if (!WHITESPACE.equals(ch1) && !WHITESPACE.equals(ch2)) {\n if (rule.getVerticalLayout() == Layout.FITTED) {\n return INVALID;\n } else if (rule.getVerticalLayout() == Layout.SMUSH_U) {\n return END;\n } else {\n if (isNotEmpty(smushVerticalRule5(ch1, ch2))) {\n continue;\n }\n // rule 5 allow for \"super\" smushing, but only if we're not already ending this smush\n validSmush = false;\n if (rule.isVertical1())\n validSmush = isNotEmpty(smushVerticalRule1(ch1, ch2));\n if (!validSmush && rule.isVertical2())\n validSmush = isNotEmpty(smushVerticalRule2(ch1, ch2));\n if (!validSmush && rule.isVertical3())\n validSmush = isNotEmpty(smushVerticalRule3(ch1, ch2));\n if (!validSmush && rule.isVertical4())\n validSmush = isNotEmpty(smushVerticalRule4(ch1, ch2));\n endSmush = true;\n if (!validSmush) {\n return INVALID;\n }\n }\n }\n }\n if (endSmush) {\n return END;\n } else {\n return VALID;\n }\n }", "title": "" }, { "docid": "301295e13469a4b6535907f8b64cb61a", "score": "0.48334992", "text": "private boolean rightPlaceForDestination(Point2D dest, int left, int right, int low, int up){\n boolean lefter = dest.getX() <= beaconsList.get(left).getPosition().getX();\n boolean righter = dest.getX() >= beaconsList.get(right).getPosition().getX();\n\n boolean lower = dest.getY() <= beaconsList.get(low).getPosition().getY();\n boolean upper = dest.getY() >= beaconsList.get(up).getPosition().getY();\n\n return lefter || righter || upper || lower;\n }", "title": "" }, { "docid": "e2525f03364272036354b14355c78c90", "score": "0.48316547", "text": "private void letP2arrange() {\n MathModel.generateShipPlacement(player2, boardAdapter2, numGridsside); // Zach's code\n letP1arrange();\n }", "title": "" }, { "docid": "5ebd1ce93e6a030df289899331899317", "score": "0.48306462", "text": "private Boolean isPositionMoveable(Vector2D position) {\n int block = map.getBlock(position);\n return block == 0 || map.isFruit(block);\n }", "title": "" }, { "docid": "2b6ff09fa0eb92d2e67b66a8aab45a17", "score": "0.48283264", "text": "public boolean atMostOneOnStack()\n {\n boolean result;\n\n if(!stackHasCD())\n result = true;\n else{\n putCD(); // modify state\n result = !stackHasCD();\n takeCD(); // restore state\n }\n\n return result; //result after checking second time if stack has CD\n }", "title": "" }, { "docid": "7bfbd4dee4ae0b7669b2302999e8c0d6", "score": "0.48261994", "text": "public boolean moveTopDisc(int fromTower, int toTower)\n\t{\n\t\t// TO DO\n\t\t\n\t\tif(towers.get(toTower).size() == 0)\n\t\t{\n\t\t\ttowers.get(toTower).add(towers.get(fromTower).remove(getNumberOfDiscs(fromTower)-1)); \n\t\t\treturn true;\n\t\t}\n\t\telse if(towers.get(toTower).get(getNumberOfDiscs(toTower)-1) > towers.get(fromTower).get(getNumberOfDiscs(fromTower)-1))\n\t\t{\n\t\t\ttowers.get(toTower).add(towers.get(fromTower).remove(getNumberOfDiscs(fromTower)-1)); \n\t\t\treturn true; \n\t\t}\n\t\treturn false; \n\t}", "title": "" } ]
bc2783fc8e04c4a7005b8640988711af
Returns true if field mTenantID is set (has been assigned a value) and false otherwise
[ { "docid": "e4cce46c2d570431c6cc187a61b6c019", "score": "0.8027179", "text": "public boolean isSetMTenantID() {\n return EncodingUtils.testBit(__isset_bitfield, __MTENANTID_ISSET_ID);\n }", "title": "" } ]
[ { "docid": "97f5997504523610dd74381e5e3f0b9a", "score": "0.7139608", "text": "public boolean hasTenantId() {\n return tenantIdBuilder_ != null || tenantId_ != null;\n }", "title": "" }, { "docid": "ff11f03af00207bce82ea805068805dd", "score": "0.70131624", "text": "@java.lang.Override\n public boolean hasTenantId() {\n return tenantId_ != null;\n }", "title": "" }, { "docid": "e030f92c98e022a66a12951badd66594", "score": "0.6945079", "text": "@Override\r\n\tpublic boolean hasTenant() {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "3cb1fe31a5eeb5cb2b431925610f920d", "score": "0.643164", "text": "@Override\n\tpublic boolean validateTenant(int tenantId) throws TenantNotFoundException {\n\t\tlogger.info(\"Called validateTenant() method of TenantService\");\n\t\tboolean flag = false;\n\n\t\tOptional<Tenant> tenant = tenantRepository.findById(tenantId);\n\n\t\tif (tenant == null)\n\t\t\tthrow new TenantNotFoundException(\"Please check Tenant Id\");\n\t\telse if (tenant.isPresent()) {\n\t\t\tflag = true;\n\t\t}\n\n\t\telse\n\t\t\tthrow new TenantNotFoundException(\"Please check Tenant ID\");\n\n\t\treturn flag;\n\t}", "title": "" }, { "docid": "d5df41d6773e0601cbde4be09d3a7c36", "score": "0.6351297", "text": "public boolean isSetVisitid()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().find_attribute_user(VISITID$44) != null;\r\n }\r\n }", "title": "" }, { "docid": "8a74ab27afed997a21df5745396f67fb", "score": "0.62891185", "text": "public boolean isSetClaimId()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(CLAIMID$26) != 0;\n }\n }", "title": "" }, { "docid": "7bed0f880f2906ddd84587d9f0615d45", "score": "0.62697166", "text": "public boolean isSetAgentId() {\r\n return EncodingUtils.testBit(__isset_bitfield, __AGENTID_ISSET_ID);\r\n }", "title": "" }, { "docid": "b6c045d01c2b16fec0d18f16ab6a60e0", "score": "0.62682194", "text": "public boolean isSetBrandID()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(BRANDID$0) != 0;\n }\n }", "title": "" }, { "docid": "361e5ae0f72d782fcd0f681a77009e3f", "score": "0.6228771", "text": "public boolean isSetSettlementID() {\n return EncodingUtils.testBit(__isset_bitfield, __SETTLEMENTID_ISSET_ID);\n }", "title": "" }, { "docid": "dad041c2d671941ed4cd08ac2a577135", "score": "0.62167585", "text": "boolean isSetAccountUserID();", "title": "" }, { "docid": "b5514d5d37bdcb9a8ab0075d0e6a7eb3", "score": "0.6209117", "text": "public boolean isSetBrokerEntryId() {\n return EncodingUtils.testBit(__isset_bitfield, __BROKERENTRYID_ISSET_ID);\n }", "title": "" }, { "docid": "0d20971d7c95c8548cc57831d8dba3e7", "score": "0.61927354", "text": "boolean isSetDctoOtrMnda();", "title": "" }, { "docid": "0d20971d7c95c8548cc57831d8dba3e7", "score": "0.61927354", "text": "boolean isSetDctoOtrMnda();", "title": "" }, { "docid": "c321d31fb71c56f1a1f22659512c76c7", "score": "0.6175965", "text": "public boolean isSet(_Fields field) {\n if (field == null) {\n throw new IllegalArgumentException();\n }\n\n switch (field) {\n case M_TENANT_ID:\n return isSetMTenantID();\n case M_TABLE_INFO:\n return isSetMTableInfo();\n }\n throw new IllegalStateException();\n }", "title": "" }, { "docid": "1da7617cf80b5dd6bb110af2b561db4d", "score": "0.6172627", "text": "boolean isSetRUTMandante();", "title": "" }, { "docid": "292f3deb7d2defa0ad3545ac37da730f", "score": "0.6170779", "text": "public boolean isSetUuid() {\n return this.uuid != null;\n }", "title": "" }, { "docid": "d89a717afd13f3252e6fcc548126f70e", "score": "0.6170174", "text": "public boolean isSetTeamId() {\n return this.teamId != null;\n }", "title": "" }, { "docid": "b859659325e8060bb4f115974cd148a5", "score": "0.6130172", "text": "public boolean isSetAccount() {\n return this.account != null;\n }", "title": "" }, { "docid": "49acbacb2f6c058dc620a0935e6d5f69", "score": "0.61185586", "text": "boolean isSetMntMargComOtrMnda();", "title": "" }, { "docid": "227834036180712f0eed0409f0a937ba", "score": "0.60814553", "text": "boolean isSetMntMargenCom();", "title": "" }, { "docid": "a43359eb1e24b4cd12a9f87b14979518", "score": "0.60431415", "text": "boolean isSetOtrMnda();", "title": "" }, { "docid": "a43359eb1e24b4cd12a9f87b14979518", "score": "0.6042746", "text": "boolean isSetOtrMnda();", "title": "" }, { "docid": "b0b44d74274a14519ff6ee616042fc4d", "score": "0.604062", "text": "public boolean isSetUser_id() {\r\n return this.user_id != null;\r\n }", "title": "" }, { "docid": "b0b44d74274a14519ff6ee616042fc4d", "score": "0.604062", "text": "public boolean isSetUser_id() {\r\n return this.user_id != null;\r\n }", "title": "" }, { "docid": "b0b44d74274a14519ff6ee616042fc4d", "score": "0.604062", "text": "public boolean isSetUser_id() {\r\n return this.user_id != null;\r\n }", "title": "" }, { "docid": "b0b44d74274a14519ff6ee616042fc4d", "score": "0.604062", "text": "public boolean isSetUser_id() {\r\n return this.user_id != null;\r\n }", "title": "" }, { "docid": "b0b44d74274a14519ff6ee616042fc4d", "score": "0.604062", "text": "public boolean isSetUser_id() {\r\n return this.user_id != null;\r\n }", "title": "" }, { "docid": "b0b44d74274a14519ff6ee616042fc4d", "score": "0.604062", "text": "public boolean isSetUser_id() {\r\n return this.user_id != null;\r\n }", "title": "" }, { "docid": "b0b44d74274a14519ff6ee616042fc4d", "score": "0.604062", "text": "public boolean isSetUser_id() {\r\n return this.user_id != null;\r\n }", "title": "" }, { "docid": "b0b44d74274a14519ff6ee616042fc4d", "score": "0.604062", "text": "public boolean isSetUser_id() {\r\n return this.user_id != null;\r\n }", "title": "" }, { "docid": "b0b44d74274a14519ff6ee616042fc4d", "score": "0.604062", "text": "public boolean isSetUser_id() {\r\n return this.user_id != null;\r\n }", "title": "" }, { "docid": "b0b44d74274a14519ff6ee616042fc4d", "score": "0.604062", "text": "public boolean isSetUser_id() {\r\n return this.user_id != null;\r\n }", "title": "" }, { "docid": "b0b44d74274a14519ff6ee616042fc4d", "score": "0.604062", "text": "public boolean isSetUser_id() {\r\n return this.user_id != null;\r\n }", "title": "" }, { "docid": "b0b44d74274a14519ff6ee616042fc4d", "score": "0.604062", "text": "public boolean isSetUser_id() {\r\n return this.user_id != null;\r\n }", "title": "" }, { "docid": "b0b44d74274a14519ff6ee616042fc4d", "score": "0.604062", "text": "public boolean isSetUser_id() {\r\n return this.user_id != null;\r\n }", "title": "" }, { "docid": "b0b44d74274a14519ff6ee616042fc4d", "score": "0.604062", "text": "public boolean isSetUser_id() {\r\n return this.user_id != null;\r\n }", "title": "" }, { "docid": "b0b44d74274a14519ff6ee616042fc4d", "score": "0.604062", "text": "public boolean isSetUser_id() {\r\n return this.user_id != null;\r\n }", "title": "" }, { "docid": "b0b44d74274a14519ff6ee616042fc4d", "score": "0.604062", "text": "public boolean isSetUser_id() {\r\n return this.user_id != null;\r\n }", "title": "" }, { "docid": "b0b44d74274a14519ff6ee616042fc4d", "score": "0.604062", "text": "public boolean isSetUser_id() {\r\n return this.user_id != null;\r\n }", "title": "" }, { "docid": "f3f101cecb6072c15da30e58c4a03df1", "score": "0.601753", "text": "public boolean isSetHraccountId() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __HRACCOUNTID_ISSET_ID);\n }", "title": "" }, { "docid": "41f7e7ed665554cd3fa7eea7f9cde94f", "score": "0.6008353", "text": "boolean isSetGrntDep();", "title": "" }, { "docid": "db93240902e24e1bb526549ad2a4d07f", "score": "0.6003315", "text": "public boolean isSetRightTitanId() {\n return EncodingUtils.testBit(__isset_bitfield, __RIGHTTITANID_ISSET_ID);\n }", "title": "" }, { "docid": "37f6268f7f65a9b4a30f638174a4de84", "score": "0.60017306", "text": "public boolean isSetUserid() {\r\n return this.userid != null;\r\n }", "title": "" }, { "docid": "0d7bead7d73c8aa1d0078893cc186e41", "score": "0.5997101", "text": "public boolean isSetValue() {\n return this.value != null;\n }", "title": "" }, { "docid": "a6409b578b2b4aaf67c6132375cbba8c", "score": "0.599063", "text": "public boolean isSetValue() {\n return this.value != null;\n }", "title": "" }, { "docid": "a6409b578b2b4aaf67c6132375cbba8c", "score": "0.599063", "text": "public boolean isSetValue() {\n return this.value != null;\n }", "title": "" }, { "docid": "a6409b578b2b4aaf67c6132375cbba8c", "score": "0.599063", "text": "public boolean isSetValue() {\n return this.value != null;\n }", "title": "" }, { "docid": "f0899b6ecc818dfcaab37d7524db880d", "score": "0.59711426", "text": "public boolean isSetStid() {\n return this.stid != null;\n }", "title": "" }, { "docid": "05437769ea7204a64d4494a73c31dc55", "score": "0.5963153", "text": "public boolean isSetUserid() {\n return this.userid != null;\n }", "title": "" }, { "docid": "b6b897014797b054107de7cc210a7249", "score": "0.595999", "text": "public boolean isSetOtpId() {\n return this.otpId != null;\n }", "title": "" }, { "docid": "b6b897014797b054107de7cc210a7249", "score": "0.595999", "text": "public boolean isSetOtpId() {\n return this.otpId != null;\n }", "title": "" }, { "docid": "b6b897014797b054107de7cc210a7249", "score": "0.595999", "text": "public boolean isSetOtpId() {\n return this.otpId != null;\n }", "title": "" }, { "docid": "7704ece41879a5b1211d9769caecb0c1", "score": "0.59586835", "text": "boolean isSetIVAOtrMnda();", "title": "" }, { "docid": "76b7594c78af86884a5003e0f10a009c", "score": "0.59563863", "text": "public boolean isSetDeviceId() {\n return this.deviceId != null;\n }", "title": "" }, { "docid": "76b7594c78af86884a5003e0f10a009c", "score": "0.59563863", "text": "public boolean isSetDeviceId() {\n return this.deviceId != null;\n }", "title": "" }, { "docid": "76b7594c78af86884a5003e0f10a009c", "score": "0.59563863", "text": "public boolean isSetDeviceId() {\n return this.deviceId != null;\n }", "title": "" }, { "docid": "781a951b708bf390e4943dc99fdb834f", "score": "0.5955527", "text": "public boolean isSetClaimType()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(CLAIMTYPE$30) != 0;\n }\n }", "title": "" }, { "docid": "96f556f61407c0f33ce73fd314fea0e1", "score": "0.59499323", "text": "public boolean isSetSledAccountId() {\n return EncodingUtils.testBit(__isset_bitfield, __SLEDACCOUNTID_ISSET_ID);\n }", "title": "" }, { "docid": "c88612056f01c5fb922e14697ab303e0", "score": "0.5943696", "text": "public boolean isSetDatiRitenuta()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().count_elements(DATIRITENUTA$8) != 0;\r\n }\r\n }", "title": "" }, { "docid": "cd48730287750b6963feb2829cc5a614", "score": "0.59356683", "text": "public boolean isSet(_Fields field) {\r\n if (field == null) {\r\n throw new IllegalArgumentException();\r\n }\r\n\r\n switch (field) {\r\n case TX_IDENTIFIER:\r\n return isSetTxIdentifier();\r\n }\r\n throw new IllegalStateException();\r\n }", "title": "" }, { "docid": "cd48730287750b6963feb2829cc5a614", "score": "0.59356683", "text": "public boolean isSet(_Fields field) {\r\n if (field == null) {\r\n throw new IllegalArgumentException();\r\n }\r\n\r\n switch (field) {\r\n case TX_IDENTIFIER:\r\n return isSetTxIdentifier();\r\n }\r\n throw new IllegalStateException();\r\n }", "title": "" }, { "docid": "1c072af6ca453625cdd1c5b6f05c243d", "score": "0.59333825", "text": "public boolean isSetBrokerID() {\n return this.brokerID != null;\n }", "title": "" }, { "docid": "1c072af6ca453625cdd1c5b6f05c243d", "score": "0.59333825", "text": "public boolean isSetBrokerID() {\n return this.brokerID != null;\n }", "title": "" }, { "docid": "e81a349f051466be3d24a8261b231a99", "score": "0.5927976", "text": "public boolean isSetTxIdentifier() {\r\n return this.txIdentifier != null;\r\n }", "title": "" }, { "docid": "e81a349f051466be3d24a8261b231a99", "score": "0.5927976", "text": "public boolean isSetTxIdentifier() {\r\n return this.txIdentifier != null;\r\n }", "title": "" }, { "docid": "612a9bffd37acceb856e08b370392f95", "score": "0.5913778", "text": "public boolean isSetSyncToken() {\n return this.syncToken != null;\n }", "title": "" }, { "docid": "aeabd0c80e242507b8ee94fec2f52ee0", "score": "0.5908215", "text": "public boolean isSetLeftTitanId() {\n return EncodingUtils.testBit(__isset_bitfield, __LEFTTITANID_ISSET_ID);\n }", "title": "" }, { "docid": "3ca1f7b09d68519ad0d557ece80de7b7", "score": "0.58992636", "text": "public boolean isSetValue()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().find_attribute_user(VALUE$0) != null;\r\n }\r\n }", "title": "" }, { "docid": "4eafe7f268dffbe2ebdcc093ea8d628e", "score": "0.5897712", "text": "public boolean isSetRootID() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ROOTID_ISSET_ID);\n }", "title": "" }, { "docid": "4eafe7f268dffbe2ebdcc093ea8d628e", "score": "0.5897712", "text": "public boolean isSetRootID() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ROOTID_ISSET_ID);\n }", "title": "" }, { "docid": "4eafe7f268dffbe2ebdcc093ea8d628e", "score": "0.5897712", "text": "public boolean isSetRootID() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ROOTID_ISSET_ID);\n }", "title": "" }, { "docid": "4eafe7f268dffbe2ebdcc093ea8d628e", "score": "0.5897712", "text": "public boolean isSetRootID() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ROOTID_ISSET_ID);\n }", "title": "" }, { "docid": "4eafe7f268dffbe2ebdcc093ea8d628e", "score": "0.5897712", "text": "public boolean isSetRootID() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ROOTID_ISSET_ID);\n }", "title": "" }, { "docid": "4eafe7f268dffbe2ebdcc093ea8d628e", "score": "0.5897712", "text": "public boolean isSetRootID() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ROOTID_ISSET_ID);\n }", "title": "" }, { "docid": "4eafe7f268dffbe2ebdcc093ea8d628e", "score": "0.5897712", "text": "public boolean isSetRootID() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ROOTID_ISSET_ID);\n }", "title": "" }, { "docid": "4eafe7f268dffbe2ebdcc093ea8d628e", "score": "0.5897712", "text": "public boolean isSetRootID() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ROOTID_ISSET_ID);\n }", "title": "" }, { "docid": "4eafe7f268dffbe2ebdcc093ea8d628e", "score": "0.5897712", "text": "public boolean isSetRootID() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ROOTID_ISSET_ID);\n }", "title": "" }, { "docid": "4eafe7f268dffbe2ebdcc093ea8d628e", "score": "0.5897712", "text": "public boolean isSetRootID() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ROOTID_ISSET_ID);\n }", "title": "" }, { "docid": "4eafe7f268dffbe2ebdcc093ea8d628e", "score": "0.5897712", "text": "public boolean isSetRootID() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ROOTID_ISSET_ID);\n }", "title": "" }, { "docid": "119957dd710b5955e9db902bd915348c", "score": "0.58951455", "text": "public boolean isSetAdId() {\n return EncodingUtils.testBit(__isset_bitfield, __ADID_ISSET_ID);\n }", "title": "" }, { "docid": "59147a7cc23b755305b0bfe87ef5bc78", "score": "0.5888967", "text": "public boolean isSetCompanyId() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __COMPANYID_ISSET_ID);\n }", "title": "" }, { "docid": "7bde6cbdb5400127e66593d1da63fb75", "score": "0.5883918", "text": "boolean isSetMntMargComer();", "title": "" }, { "docid": "011354fea093ee1d3324753bbb65f3cd", "score": "0.5880122", "text": "public boolean isSetDBID() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __DBID_ISSET_ID);\n }", "title": "" }, { "docid": "31c096bfb8d9cc0f1c56902cf737d623", "score": "0.58797705", "text": "boolean isSetMntNetoOtrMnda();", "title": "" }, { "docid": "fcfbd5729e7c524d09697d01c0d82a4f", "score": "0.5875233", "text": "public boolean isSetDTMAttribute()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().find_attribute_user(DTMATTRIBUTE$16) != null;\r\n }\r\n }", "title": "" }, { "docid": "27c807c7a3c194b468a9b5f8ba8107ab", "score": "0.5867218", "text": "public boolean isSetIs_grant() {\n return EncodingUtils.testBit(__isset_bitfield, __IS_GRANT_ISSET_ID);\n }", "title": "" }, { "docid": "270b2e78324c5db5131c72b0bdd1ff61", "score": "0.5866836", "text": "public boolean isSetAuthToken() {\n return this.authToken != null;\n }", "title": "" }, { "docid": "a22b8ddadf0f333b967a5e536d4c43d4", "score": "0.5855276", "text": "boolean isSetMntFaeCarneOtrMnda();", "title": "" }, { "docid": "2495350c278491992e23887c73899d38", "score": "0.5849865", "text": "public boolean isTokenSet() {\n return this.token != null && !this.token.isEmpty();\n }", "title": "" }, { "docid": "32452d3873af2d44781f6604ac4e6eb9", "score": "0.58494556", "text": "public boolean isSetUserId() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __USERID_ISSET_ID);\n }", "title": "" }, { "docid": "bb5afb544233006628377d840e546659", "score": "0.58418745", "text": "public boolean isSetUser_id_1() {\r\n return this.user_id_1 != null;\r\n }", "title": "" }, { "docid": "dace0e6567eb988c6c5b7c6db92c2db3", "score": "0.58409005", "text": "public boolean isSetInvestorID() {\n return this.investorID != null;\n }", "title": "" }, { "docid": "165a5cb2f3c766cf8fb721231650a67e", "score": "0.58302486", "text": "boolean isSetMntExeOtrMnda();", "title": "" }, { "docid": "165a5cb2f3c766cf8fb721231650a67e", "score": "0.58302486", "text": "boolean isSetMntExeOtrMnda();", "title": "" }, { "docid": "cb423f4f00411091f5c23eabb4bc1e18", "score": "0.58297735", "text": "public boolean isSet(_Fields field) {\n if (field == null) {\n throw new java.lang.IllegalArgumentException();\n }\n\n switch (field) {\n case AUTH_TOKEN:\n return isSetAuthToken();\n case USER_CREATED:\n return isSetUserCreated();\n }\n throw new java.lang.IllegalStateException();\n }", "title": "" }, { "docid": "2d96e559c8b7fae2212de94e2900b40e", "score": "0.5822654", "text": "public boolean isSetMember() {\n return this.member != null;\n }", "title": "" }, { "docid": "6c79f1806567dfa9e75d4dfda27e593b", "score": "0.58147377", "text": "public boolean isSet(_Fields field) {\n if (field == null) {\n throw new java.lang.IllegalArgumentException();\n }\n\n switch (field) {\n case INVITEE_MIDS:\n return isSetInviteeMids();\n }\n throw new java.lang.IllegalStateException();\n }", "title": "" }, { "docid": "e1d0297ea5f2d801205ba8c120b83ea0", "score": "0.58090335", "text": "public boolean isSet(_Fields field) {\n if (field == null) {\n throw new IllegalArgumentException();\n }\n\n switch (field) {\n case PID:\n return isSetPid();\n }\n throw new IllegalStateException();\n }", "title": "" }, { "docid": "071ddbd382e83cbbf0e5dcaffd59b790", "score": "0.58078843", "text": "boolean isSetAgentAbn();", "title": "" }, { "docid": "979de10f5074598c4953e5d63bfff4a7", "score": "0.58056927", "text": "boolean isSetMntBase();", "title": "" } ]
6b27567ab2d97dffd9f3b58bafb6d4af
Sets the WFMS_WorkflowConfig local service.
[ { "docid": "be8e513881412cfbabccf9472fee6d6b", "score": "0.7382782", "text": "public void setWFMS_WorkflowConfigLocalService(\n\t\tcom.ys.hmawfm.wfms.services.service.WFMS_WorkflowConfigLocalService wfms_WorkflowConfigLocalService) {\n\t\tthis.wfms_WorkflowConfigLocalService = wfms_WorkflowConfigLocalService;\n\t}", "title": "" } ]
[ { "docid": "82b44ada1c20705359fc16aa79efb8d0", "score": "0.730459", "text": "public void setWFMS_ConfigLocalService(\n\t\tcom.ys.hmawfm.wfms.services.service.WFMS_ConfigLocalService wfms_ConfigLocalService) {\n\t\tthis.wfms_ConfigLocalService = wfms_ConfigLocalService;\n\t}", "title": "" }, { "docid": "b8a16ae6a499b0f42366ed76d94dbf1a", "score": "0.6721124", "text": "protected void setWorkflowService(WorkflowService service) {\n this.workflowService = service;\n }", "title": "" }, { "docid": "6c384b9c5e843733a3552d81dbe593eb", "score": "0.6327574", "text": "public com.ys.hmawfm.wfms.services.service.WFMS_WorkflowConfigLocalService getWFMS_WorkflowConfigLocalService() {\n\t\treturn wfms_WorkflowConfigLocalService;\n\t}", "title": "" }, { "docid": "f9b5bd8b712451d02f951720748cf8d2", "score": "0.5944341", "text": "public com.ys.hmawfm.wfms.services.service.WFMS_ConfigLocalService getWFMS_ConfigLocalService() {\n\t\treturn wfms_ConfigLocalService;\n\t}", "title": "" }, { "docid": "3f64ecd2d158c3530ac6e93addbe4768", "score": "0.5832386", "text": "public void setWorkflowStatus(Status status) {\r\n workflowStatus = status;\r\n }", "title": "" }, { "docid": "39778bd3e15bb2e51980340d66405944", "score": "0.5787257", "text": "@Autowired\n\tpublic void setConfigService(ConfigService configService) {\n\t\tthis.configService = configService;\n\t}", "title": "" }, { "docid": "dc32da93d4127ef0d8b3cd78a0500c1e", "score": "0.564584", "text": "public void setServiceContext(org.apache.axis2.context.xsd.ServiceContext param){\n localServiceContextTracker = true;\n \n this.localServiceContext=param;\n \n\n }", "title": "" }, { "docid": "fc40356534ccf0e2509948e2c22e148c", "score": "0.5606468", "text": "public void setWFMS_WorkflowConfigPersistence(\n\t\tWFMS_WorkflowConfigPersistence wfms_WorkflowConfigPersistence) {\n\t\tthis.wfms_WorkflowConfigPersistence = wfms_WorkflowConfigPersistence;\n\t}", "title": "" }, { "docid": "15741cf5ae29c3374598835f7cb3ddb1", "score": "0.5527351", "text": "public LocalFileConfig(ServicesContainer services) {\n this.services = services;\n String localfilePropertyValue = System.getProperty(\"cashmanager.config.localfile\");\n if (localfilePropertyValue != null) {\n this.filePathAString = localfilePropertyValue;\n }\n }", "title": "" }, { "docid": "04ffa07313db584e15bd7a52b87584bb", "score": "0.5507499", "text": "public void setServiceName(java.lang.String param){\n localServiceNameTracker = true;\n \n this.localServiceName=param;\n \n\n }", "title": "" }, { "docid": "9b1838131abbfda4e93cd67178f12c54", "score": "0.54739296", "text": "public void load(boolean use_local_config) {\n \t lLogger = Logger.getLogger(\"SFSSOServiceConfig\");\n \t\t\n \t if (use_local_config) {\n \t\t lLogger.info(DEBUG_PREFIX + \"Running in local dev env, using configuration file = \" + config_file_name);\n \t\t loadPropertiesFromFile(config_file_name);\n \t } else {\n \t\t lLogger.info(DEBUG_PREFIX+\"Running in Bluemix, using VCAP config\");\n \t\t loadPropertiesFromBluemixVcap();\n \t }\n }", "title": "" }, { "docid": "de649bb4d032948a6c7dd5a7da6419db", "score": "0.5408034", "text": "public void setWFMS_ConfigPersistence(\n\t\tWFMS_ConfigPersistence wfms_ConfigPersistence) {\n\t\tthis.wfms_ConfigPersistence = wfms_ConfigPersistence;\n\t}", "title": "" }, { "docid": "f0826055797a4d91e7a9a4e0efe3924e", "score": "0.5398869", "text": "protected void setConfigurationContextService(ConfigurationContextService service) {\n if (log.isDebugEnabled()) {\n log.debug(\"carbon-registry deployment synchronizer component bound to the configuration context service\");\n }\n RegistryServiceReferenceHolder.setConfigurationContextService(service);\n }", "title": "" }, { "docid": "0c8f1fd78541fd9ca82b672652018b7d", "score": "0.5387712", "text": "public void setWFMS_NotificationEngineLocalService(\n\t\tcom.ys.hmawfm.wfms.services.service.WFMS_NotificationEngineLocalService wfms_NotificationEngineLocalService) {\n\t\tthis.wfms_NotificationEngineLocalService = wfms_NotificationEngineLocalService;\n\t}", "title": "" }, { "docid": "ce839dce4270f07919bebe682d4c0ee1", "score": "0.5354158", "text": "public void setConfigurationContext(org.apache.axis2.context.xsd.ConfigurationContext param){\n localConfigurationContextTracker = true;\n \n this.localConfigurationContext=param;\n \n\n }", "title": "" }, { "docid": "232ffa1cc49b513ae4f1b1be92664fde", "score": "0.532038", "text": "public void setFooLocalService(\n com.sohlman.liferay.foobar.service.FooLocalService fooLocalService) {\n this.fooLocalService = fooLocalService;\n }", "title": "" }, { "docid": "a5372a5c04029a11f6d0592e66aceb71", "score": "0.53068995", "text": "public void setLocalRichService(LocalRichService localRichService) {\n\t\tthis.localRichService = localRichService;\n\t}", "title": "" }, { "docid": "6ee185d848f9c2f382d6fa5c94ad9779", "score": "0.53049654", "text": "public void setUserLocalService(UserLocalService userLocalService) {\n this.userLocalService = userLocalService;\n }", "title": "" }, { "docid": "8c64746e1c76389ae9d5ec5a69f78797", "score": "0.52859837", "text": "public UnaryCallSettings.Builder<UpdateWorkflowRequest, Operation> updateWorkflowSettings() {\n return getStubSettingsBuilder().updateWorkflowSettings();\n }", "title": "" }, { "docid": "592be0b30254bcfa2698f326005b47b7", "score": "0.52088106", "text": "public static void configureLocal() {\r\n configure(getProperties(true));\r\n }", "title": "" }, { "docid": "a5f07399dbe86fbf923f7b642b160709", "score": "0.5188934", "text": "public void setServiceRef(IntegrationAppmasterService<?> serviceRef) {\n\t\tthis.serviceRef = serviceRef;\n\t}", "title": "" }, { "docid": "6d01c6508e795cca7e48e9de1f07cf53", "score": "0.5174613", "text": "public abstract void setWorkflowParameters(Map<String,List<Parameter>> lParams);", "title": "" }, { "docid": "0d29c9a2ae15fc3e268246cb68b9640b", "score": "0.51707107", "text": "public void setService(CentralSystemServiceFactory service) {\n\t\tthis.service = service;\n\t}", "title": "" }, { "docid": "ecbe918bad0499adee3d54642be8d504", "score": "0.5120676", "text": "public void setConfigurationService(ConfigurationService kualiConfigurationService) {\n this.kualiConfigurationService = kualiConfigurationService;\n }", "title": "" }, { "docid": "f5928def33a668508ad34b7ea025da75", "score": "0.51193976", "text": "public UnaryCallSettings<UpdateWorkflowRequest, Operation> updateWorkflowSettings() {\n return ((WorkflowsStubSettings) getStubSettings()).updateWorkflowSettings();\n }", "title": "" }, { "docid": "ffdc64e1fa726ef4af32b15be61eca71", "score": "0.5111005", "text": "public void setConfig(ConfigurationManagement config) {\r\n\t\tthis.config = config;\r\n\t}", "title": "" }, { "docid": "f2cc65420682739997272b4505c8f984", "score": "0.50963295", "text": "public void setStatus(WorkflowInstanceStatus status) {\n this.status = status;\n }", "title": "" }, { "docid": "fd26c6c44ced67516e7c92f6e193487b", "score": "0.5093268", "text": "public UnaryCallSettings.Builder<CreateWorkflowRequest, Operation> createWorkflowSettings() {\n return getStubSettingsBuilder().createWorkflowSettings();\n }", "title": "" }, { "docid": "7489c46521ffc3c6b01514d623baa05e", "score": "0.50855964", "text": "public void setAD_Workflow_ID (int AD_Workflow_ID);", "title": "" }, { "docid": "ae4ac7f7beaaac230733f1d7b3b0ef30", "score": "0.50669223", "text": "void setServiceConfiguration(AGServiceDescription service,\n AGParameter[] config)\n throws IOException, SoapException;", "title": "" }, { "docid": "94b1e9f279140dd4cb7b3da4fb301a03", "score": "0.5042941", "text": "public void setWorkerLocalService(\n ru.wartemw.staff_register.build_service.service.WorkerLocalService workerLocalService) {\n this.workerLocalService = workerLocalService;\n }", "title": "" }, { "docid": "b5f5474d205741786dc500d1aacdbbe4", "score": "0.50405407", "text": "public Single<LocalConfigModel> setActiveConfig(LocalConfigModel runtimeConfig) {\n\t\treturn getMap()\n\t\t\t.flatMap(map -> map.rxGet(LOCAL_CONFIG_KEY).toSingle(new LocalConfigModel())\n\t\t\t.flatMap(oldConfig -> {\n\t\t\t\tLocalConfigModel mergedConfig = PojoUtil.assignIgnoringNull(oldConfig, runtimeConfig);\n\t\t\t\treturn map.rxPut(LOCAL_CONFIG_KEY, mergedConfig)\n\t\t\t\t\t.andThen(Single.just(mergedConfig));\n\t\t\t}));\n\t}", "title": "" }, { "docid": "3726d80995344605dfded3bc4ff26c63", "score": "0.5036142", "text": "public void setWFMS_PositionLocalService(\n\t\tcom.ys.hmawfm.wfms.services.service.WFMS_PositionLocalService wfms_PositionLocalService) {\n\t\tthis.wfms_PositionLocalService = wfms_PositionLocalService;\n\t}", "title": "" }, { "docid": "22640514ddb266b10085492b2a2564c3", "score": "0.50202405", "text": "public void assignService(String serviceName, Map attributes)\n throws SMSException {\n addServiceConfig(serviceName, attributes);\n }", "title": "" }, { "docid": "938f9132a098d88f5a446821c4bf9c56", "score": "0.50030345", "text": "public void setWFMS_COSLocalService(\n\t\tcom.ys.hmawfm.wfms.services.service.WFMS_COSLocalService wfms_cosLocalService) {\n\t\tthis.wfms_cosLocalService = wfms_cosLocalService;\n\t}", "title": "" }, { "docid": "0096c7a9f15f97c7fa231766aa15f681", "score": "0.50023973", "text": "public void setUserLocalService(\n com.liferay.portal.service.UserLocalService userLocalService) {\n this.userLocalService = userLocalService;\n }", "title": "" }, { "docid": "0096c7a9f15f97c7fa231766aa15f681", "score": "0.50023973", "text": "public void setUserLocalService(\n com.liferay.portal.service.UserLocalService userLocalService) {\n this.userLocalService = userLocalService;\n }", "title": "" }, { "docid": "0096c7a9f15f97c7fa231766aa15f681", "score": "0.50023973", "text": "public void setUserLocalService(\n com.liferay.portal.service.UserLocalService userLocalService) {\n this.userLocalService = userLocalService;\n }", "title": "" }, { "docid": "2cc18d387f333f942937ad6076067ae9", "score": "0.4976277", "text": "public OperationCallSettings.Builder<UpdateWorkflowRequest, Workflow, OperationMetadata>\n updateWorkflowOperationSettings() {\n return getStubSettingsBuilder().updateWorkflowOperationSettings();\n }", "title": "" }, { "docid": "461f58d6371d5be0171050df0b6b152e", "score": "0.49675116", "text": "public void setBarLocalService(\n com.sohlman.liferay.foobar.service.BarLocalService barLocalService) {\n this.barLocalService = barLocalService;\n }", "title": "" }, { "docid": "24713fe0c4c989b58aeb5cb9ac9ad4c1", "score": "0.4956269", "text": "public void setStatusService(StatusService statusService) {\r\n this.statusService = statusService;\r\n }", "title": "" }, { "docid": "6669f52e146a7cab1cef3432f6e5f069", "score": "0.4944525", "text": "private void setService(Service service) {\n this.service = service;\n }", "title": "" }, { "docid": "db4442a8b4d7d3049fdaa16fa23b8f3d", "score": "0.4943747", "text": "public void setResourceLocalService(\n ResourceLocalService resourceLocalService) {\n this.resourceLocalService = resourceLocalService;\n }", "title": "" }, { "docid": "f693730713e5c8bd6a30478d2df0a619", "score": "0.4932804", "text": "public void setLocalConfigApnValue(String localConfigApnValue)\n throws JNCException {\n setLocalConfigApnValue(new YangString(localConfigApnValue));\n }", "title": "" }, { "docid": "ed9dcd5d364b98dea3d3d04848880d81", "score": "0.49140847", "text": "public abstract void setConfig(String config) throws java.rmi.RemoteException;", "title": "" }, { "docid": "49cf6b155cdb6a5432711b004b3cd5ec", "score": "0.49105036", "text": "public void setLocalConfig(String lastAdress, String lastPort) {\r\n\t\tconfig.setLocalOption(\"LastAdress\", lastAdress);\r\n\t\tconfig.setLocalOption(\"LastPort\", lastPort);\r\n\t\tconfig.save();\r\n\t}", "title": "" }, { "docid": "166bb1338b786e7ef3461b7ecb3a8447", "score": "0.48918864", "text": "public boolean setConfiguration(ProgressSiteConfiguration config);", "title": "" }, { "docid": "30b941085a4dc24db70eb051c084a610", "score": "0.4887785", "text": "public synchronized static void setConfiguration( WPVSConfiguration wpvsConfiguration ) {\n CONFIG = wpvsConfiguration;\n }", "title": "" }, { "docid": "f3d1cb430eaff918214589cf498ce462", "score": "0.48809466", "text": "public void setUserLocalService(\n\t\tcom.liferay.portal.kernel.service.UserLocalService userLocalService) {\n\t\tthis.userLocalService = userLocalService;\n\t}", "title": "" }, { "docid": "f3d1cb430eaff918214589cf498ce462", "score": "0.48809466", "text": "public void setUserLocalService(\n\t\tcom.liferay.portal.kernel.service.UserLocalService userLocalService) {\n\t\tthis.userLocalService = userLocalService;\n\t}", "title": "" }, { "docid": "f3d1cb430eaff918214589cf498ce462", "score": "0.48809466", "text": "public void setUserLocalService(\n\t\tcom.liferay.portal.kernel.service.UserLocalService userLocalService) {\n\t\tthis.userLocalService = userLocalService;\n\t}", "title": "" }, { "docid": "f3d1cb430eaff918214589cf498ce462", "score": "0.48809466", "text": "public void setUserLocalService(\n\t\tcom.liferay.portal.kernel.service.UserLocalService userLocalService) {\n\t\tthis.userLocalService = userLocalService;\n\t}", "title": "" }, { "docid": "5cd328376e1a38621d81a0f3866a0820", "score": "0.48799622", "text": "public void setServiceId(java.lang.String param){\r\n \r\n if (param != null){\r\n //update the setting tracker\r\n localServiceIdTracker = true;\r\n } else {\r\n localServiceIdTracker = false;\r\n \r\n }\r\n \r\n this.localServiceId=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "6018e8c4506c34e5c0910abd0e656838", "score": "0.4875235", "text": "private void setImpl() {\n Object obj = getConfigManager().getObject(\"SERVER_IMPL\");\n if (null == obj) {\n LoggingServices.getCurrent().logMsg(getClass().getName(), \"setImpl()\"\n , \"Could not instantiate SERVER_IMPL.\", \"Make sure loyalty.cfg contains SERVER_IMPL\"\n , LoggingServices.MAJOR);\n }\n LoyaltyServices.setCurrent((LoyaltyServices)obj);\n }", "title": "" }, { "docid": "0dd73447406f735885583682bef84e44", "score": "0.48718554", "text": "public UnaryCallSettings<CreateWorkflowRequest, Operation> createWorkflowSettings() {\n return ((WorkflowsStubSettings) getStubSettings()).createWorkflowSettings();\n }", "title": "" }, { "docid": "4ea7626a405713ef09173b59936e163d", "score": "0.4865466", "text": "public void transferStateToConfig() {\r\n \t\t\r\n \t\t\tSeamCorePlugin.getDefault().getPluginPreferences().setValue(\r\n \t\t\t\t\tSeamProjectPreferences.SEAM_DEFAULT_RUNTIME_NAME,\r\n \t\t\t\t\tjBossSeamHomeEditor.getValueAsString());\r\n \r\n \t\t\tSeamCorePlugin.getDefault().getPluginPreferences().setValue(\r\n \t\t\t\t\tSeamProjectPreferences.SEAM_DEFAULT_CONNECTION_PROFILE,\r\n \t\t\t\t\tconnProfileSelEditor.getValueAsString());\r\n \t\t\t\r\n \t\t\tSeamCorePlugin.getDefault().getPluginPreferences().setValue(\r\n \t\t\t\t\tSeamProjectPreferences.JBOSS_AS_DEFAULT_DEPLOY_AS,\r\n \t\t\t\t\tthis.jBossAsDeployAsEditor.getValueAsString());\r\n \t\t\t\r\n \t\t\tSeamCorePlugin.getDefault().getPluginPreferences().setValue(\r\n \t\t\t\t\tSeamProjectPreferences.HIBERNATE_DEFAULT_DB_TYPE,\r\n \t\t\t\t\tthis.jBossHibernateDbTypeEditor.getValueAsString());\r\n \t\t\t\r\n \t}", "title": "" }, { "docid": "1b784c7d364a23af4ca39a901c2c5637", "score": "0.48641086", "text": "public UnaryCallSettings.Builder<GetWorkflowRequest, Workflow> getWorkflowSettings() {\n return getStubSettingsBuilder().getWorkflowSettings();\n }", "title": "" }, { "docid": "e488959341930124921f5802fb0222df", "score": "0.4835962", "text": "public void setServiceListener(Listener listener) {\n \t\tlocalListener = listener;\n \t}", "title": "" }, { "docid": "2cf2cf5ce8f97df447ba05965747ef79", "score": "0.48181915", "text": "public void setWorkflowStatus(String value) {\r\n setAttributeInternal(WORKFLOWSTATUS, value);\r\n }", "title": "" }, { "docid": "e2f13809d5d1a1821d3f6f3710939df8", "score": "0.4813811", "text": "public OperationCallSettings.Builder<CreateWorkflowRequest, Workflow, OperationMetadata>\n createWorkflowOperationSettings() {\n return getStubSettingsBuilder().createWorkflowOperationSettings();\n }", "title": "" }, { "docid": "7160f11a6efc59f40da1c0fe74d57e34", "score": "0.48113868", "text": "public void setConfig(KernelConfig config)\n {\n Kernel.checkConfigure();\n this.config = config;\n }", "title": "" }, { "docid": "8636c9c59b54bce34b906bc06ff3228e", "score": "0.47909388", "text": "public void setRootContext(org.apache.axis2.context.xsd.ConfigurationContext param){\n localRootContextTracker = true;\n \n this.localRootContext=param;\n \n\n }", "title": "" }, { "docid": "7ccd2154f4b4c86f302805ec26d70ba2", "score": "0.47834313", "text": "public void setEngineConfiguration(final EngineConfiguration conf) {\n this.mssService.setEngineConfiguration(conf);\n }", "title": "" }, { "docid": "2fd4082329b1a0777a2c33e5a0224957", "score": "0.477782", "text": "public void setConfigurationService(ConfigurationService configurationService) {\n this.configurationService = configurationService;\n }", "title": "" }, { "docid": "91aa574f34a9921a2b987bcaa20449cf", "score": "0.4755936", "text": "public abstract void setServiceName(String serviceName);", "title": "" }, { "docid": "d83fba883db1f74735e535966d729885", "score": "0.47396737", "text": "public final void setServiceProcess(java.lang.String serviceprocess)\r\n\t{\r\n\t\tsetServiceProcess(getContext(), serviceprocess);\r\n\t}", "title": "" }, { "docid": "1143ff146a65bc0ffbb0d76f18cebee4", "score": "0.4739606", "text": "public CMSFormClientServices() {\n // Set up the configuration manager.\n config = new ConfigMgr(\"form.cfg\");\n }", "title": "" }, { "docid": "3ddf4ab1d1acfb3a5b109de0eeb3aca7", "score": "0.47389653", "text": "public void setWFMS_RequisitionLocalService(\n\t\tcom.ys.hmawfm.wfms.services.service.WFMS_RequisitionLocalService wfms_RequisitionLocalService) {\n\t\tthis.wfms_RequisitionLocalService = wfms_RequisitionLocalService;\n\t}", "title": "" }, { "docid": "2ee41459ea14f66203838c016626cf5e", "score": "0.47382274", "text": "default void setEventService(EventService service) {\n bind(service);\n }", "title": "" }, { "docid": "6ce69ead869c1284358880efbbc76b71", "score": "0.47373182", "text": "public void setLocal(boolean isLocal);", "title": "" }, { "docid": "fc2e05bf9e17c2a061c799922b3fd311", "score": "0.47356895", "text": "public void setConfig(Config config) {\n this.config = config;\n }", "title": "" }, { "docid": "7af17f97811631520d8187ba1c0bbc98", "score": "0.47354972", "text": "protected void setServiceProcess(ServiceProcess serviceProcess) {\n\t\tthis.serviceProcess = serviceProcess;\n\t}", "title": "" }, { "docid": "27f360bbb10edcecc4060a28ba6df304", "score": "0.47298267", "text": "@Override\n\t\tpublic void setService(String system_id) throws RemoteException {\n\t\t\tSystem.out.println(\"set service invoke on \" + system_id);\n\t\t}", "title": "" }, { "docid": "57c6518efbc83dd009b7a706e05d931f", "score": "0.47244492", "text": "public void setLocalConfigApnValue(YangString localConfigApnValue)\n throws JNCException {\n setLeafValue(Epc.NAMESPACE,\n \"local-config-apn\",\n localConfigApnValue,\n childrenNames());\n }", "title": "" }, { "docid": "82fe0558e13dce8aa59cc9527c83806a", "score": "0.47186625", "text": "public void setYawlService(YAWLServiceReference yawlService) {\n if (yawlService != null) {\n _yawlServices.put(yawlService.getURI(), yawlService);\n }\n }", "title": "" }, { "docid": "3f2e0fee7c8e9615a501c5ef1d1b50f6", "score": "0.47082803", "text": "public void setDriveMonitorConfig(TaskManagerMonitor.Configuration config) {\r\n\t\tif (Threading.isInitialized()) throw new IllegalStateException(ERROR_ALREADY_INITIALIZED);\r\n\t\tdriveMonitorConfig = config;\r\n\t}", "title": "" }, { "docid": "4a88932911e4d34555b25e2201f256f3", "score": "0.47020486", "text": "public PagedCallSettings.Builder<\n ListWorkflowsRequest, ListWorkflowsResponse, ListWorkflowsPagedResponse>\n listWorkflowsSettings() {\n return getStubSettingsBuilder().listWorkflowsSettings();\n }", "title": "" }, { "docid": "cb002603432e6575a89c0ee089fb873e", "score": "0.46960196", "text": "public void setLibroLocalService(\n com.example.plugins.service.LibroLocalService libroLocalService) {\n this.libroLocalService = libroLocalService;\n }", "title": "" }, { "docid": "a89f6dd81caf9e4798a485a92696ef4c", "score": "0.4695529", "text": "public void setTranslationService(TranslationService bpt) throws IllegalStateException {\n\t\tif (this.translation != null) {\n\t\t\tString errMsg = \"TranslationService already initialized. Setup not allowed.\";\n \t\tlogger.error(errMsg);\n\t\t\tthrow new UnsupportedOperationException(errMsg);\n\t\t}\n\t\tthis.translation = bpt;\n\t}", "title": "" }, { "docid": "d974c8c8e696e86d27d5238c4fcd51e5", "score": "0.46943867", "text": "public void setThreadLocalEntityManager(ThreadLocalEntityManagerService threadLocalEntityManager) {\r\n\t\tthis.threadLocalEntityManager = threadLocalEntityManager;\r\n\t}", "title": "" }, { "docid": "e1253d65407728c93a5b6a8e1a313f7c", "score": "0.46928728", "text": "public static void set(ServerLoggingConfiguration config) {\r\n LogImplServer.config = config;\r\n }", "title": "" }, { "docid": "e34ce216a0f7d94ab7d895d58918c283", "score": "0.4690927", "text": "public void setConfig(String config) {\n this.config = config;\n }", "title": "" }, { "docid": "d3365314baa50d87763bb32e05192c3d", "score": "0.46864054", "text": "public final void setIncomingRequest_Service(com.mendix.systemwideinterfaces.core.IContext context, slm.proxies.Service incomingrequest_service)\r\n\t{\r\n\t\tif (incomingrequest_service == null)\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.IncomingRequest_Service.toString(), null);\r\n\t\telse\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.IncomingRequest_Service.toString(), incomingrequest_service.getMendixObject().getId());\r\n\t}", "title": "" }, { "docid": "43b6b581898aea848d515151167097a0", "score": "0.4655076", "text": "public OperationCallSettings<UpdateWorkflowRequest, Workflow, OperationMetadata>\n updateWorkflowOperationSettings() {\n return ((WorkflowsStubSettings) getStubSettings()).updateWorkflowOperationSettings();\n }", "title": "" }, { "docid": "6ce745966e6e57048ba2c115eaf47d3c", "score": "0.46546122", "text": "public final void setService(java.lang.String service)\r\n\t{\r\n\t\tsetService(getContext(), service);\r\n\t}", "title": "" }, { "docid": "d270145ae8033cfa352711a9452d6ebf", "score": "0.46539322", "text": "public void setLocalRichLocalService(\n\t\tservizio.local.bfc.service.LocalRichLocalService localRichLocalService) {\n\t\tthis.localRichLocalService = localRichLocalService;\n\t}", "title": "" }, { "docid": "fc1c9a3b74a18d1f45d308c66b8feb63", "score": "0.46519667", "text": "public final void setIncomingRequest_Service(slm.proxies.Service incomingrequest_service)\r\n\t{\r\n\t\tsetIncomingRequest_Service(getContext(), incomingrequest_service);\r\n\t}", "title": "" }, { "docid": "814351a2a891502a95db2f4afe6067b5", "score": "0.46479532", "text": "protected void setService(AbsYJACommonService yjaService) throws Exception {\n\t\tthis.yjaService = yjaService;\n\t\tthis.yjaService.setInitialInfo(actionModel);\n\t}", "title": "" }, { "docid": "68bddcaf272e5142014a799872835060", "score": "0.46398398", "text": "public abstract void setServiceType(String serviceType);", "title": "" }, { "docid": "346cc6980806ad8479bf975cec1c6fa2", "score": "0.4638953", "text": "public void setService(PlaylistBusinessInterface service) {\n\t\tthis.service = service;\n\t}", "title": "" }, { "docid": "5e2c2803a6d87abe63ded46d98e81cf7", "score": "0.4629655", "text": "@Override\n\t\tpublic void onServiceConnected(ComponentName name, IBinder service) {\n\t\t\tConfig.HisiSettingService = ServiceSettingsInfoAidl.Stub.asInterface(service);\n\t\t}", "title": "" }, { "docid": "c792ec277c3eb6ef6f2ef3fecce1e891", "score": "0.46216685", "text": "public static void setupServicesAndParameters(){\n\t\t//replace services in use, e.g.:\n\t\t/*\n\t\tMap<String, ArrayList<String>> systemInterviewServicesMap = new HashMap<>();\n\t\t\n\t\t//CONTROL DEVICES\n\t\tArrayList<String> controlDevice = new ArrayList<String>();\n\t\t\tcontrolDevice.add(MyDeviceControlService.class.getCanonicalName());\n\t\tsystemInterviewServicesMap.put(CMD.CONTROL, controlDevice);\n\t\t\n\t\t//BANKING\n\t\tArrayList<String> banking = new ArrayList<String>();\n\t\t\tbanking.add(MyBankingService.class.getCanonicalName());\n\t\tsystemInterviewServicesMap.put(CMD.BANKING, banking);\n\t\t\t\n\t\tInterviewServicesMap.loadCustom(systemInterviewServicesMap);\n\t\t*/\n\t\t\n\t\t//defaults\n\t\tStart.setupServicesAndParameters();\n\t\t\n\t\t//add\n\t\t//e.g.: ParameterConfig.setHandler(PARAMETERS.ALARM_NAME, Config.parentPackage + \".parameters.AlarmName\");\n\t}", "title": "" }, { "docid": "88f73ebd8c2817f50e59bb1f9b2f3e3b", "score": "0.46209568", "text": "void setCurrent(String serviceName, String currentAddress)\n\t{\n\t\tthis.currentAddress = currentAddress;\n\t\tthis.serviceName = serviceName;\n\t}", "title": "" }, { "docid": "a3e9c10c4b3dde7ee0218590b0235e11", "score": "0.4608576", "text": "public synchronized static void initConfig(ITestContext context) {\n SeLionLogger.getLogger().entering(context);\n Map<ConfigProperty, String> initialValues = new HashMap<>();\n Map<String, String> testParams = context.getCurrentXmlTest().getLocalParameters();\n if (!testParams.isEmpty()) {\n for (ConfigProperty prop : ConfigProperty.values()) {\n // Check if a selionConfig param resides in the <test>\n String newValue = testParams.get(prop.getName());\n // accept param values that are empty in initialValues.\n if (newValue != null) {\n initialValues.put(prop, newValue);\n }\n }\n }\n\n ConfigManager.addConfig(context.getCurrentXmlTest().getName(), new LocalConfig(initialValues));\n SeLionLogger.getLogger().exiting();\n }", "title": "" }, { "docid": "b103cbd2ee07463bea2b739c6ef20526", "score": "0.4605682", "text": "public WorkflowConfiguration() {\n\t\t\n\t}", "title": "" }, { "docid": "7256ec242200ee302a4af261a1ae35ce", "score": "0.46017402", "text": "private static void processLocalConfig() {\n String localConfigFile = getConfigValue(SYSPROP_LOCAL_CONFIG_FILE);\n if (localConfigFile == null || localConfigFile.isEmpty()) {\n log.log(Level.FINE, \"No local configuration defined, skipping associated processing\");\n return;\n }\n\n log.log(Level.FINE, \"Processing configuration file {0}\", localConfigFile);\n Path p = Paths.get(localConfigFile);\n if (!Files.exists(p)) {\n log.log(Level.WARNING, \"Path {0} does not exist\", p.toString());\n return;\n } else if (!Files.isRegularFile(p)) {\n log.log(Level.WARNING, \"Path {0} is not a file\", p.toString());\n return;\n } else if (!Files.isReadable(p)) {\n log.log(Level.WARNING, \"File {0} is not readable\", p.toString());\n return;\n }\n\n Properties prop = new Properties();\n try (BufferedReader reader = Files.newBufferedReader(p, StandardCharsets.UTF_8)) {\n prop.load(reader);\n } catch (IOException e) {\n log.log(Level.WARNING, \"Error occurred while reading \" + p.toString(), e);\n }\n CONFIG_VALUES.putAll(prop);\n }", "title": "" }, { "docid": "3ecbcda02b0ae060c340b146e9e6255a", "score": "0.45895275", "text": "public L7ServiceConfig saveContact(L7ServiceConfig l7ServiceConfig) {\n\t\thibernateTemplate.saveOrUpdate(l7ServiceConfig);\n\t\treturn l7ServiceConfig;\n\t}", "title": "" }, { "docid": "f30459b2f5eff15a5c985e8adacfd31f", "score": "0.45864838", "text": "@Override\n\tpublic void setApplicationContext(ApplicationContext context) throws BeansException {\n\t\tSystem.out.println(\"setting newly\");\n\t\tthis.context=context;\n\t\tsetContext();\n\t}", "title": "" }, { "docid": "9223835a082127013a36189d70b0315f", "score": "0.45850512", "text": "protected void setManagementControllerStandalone() {\n \tmanagementCurrent = managementStandalone;\n }", "title": "" }, { "docid": "40df0f4456b78465e5ab7e43c8179a26", "score": "0.45789424", "text": "public void setSfqm(java.lang.String param) {\r\n localSfqmTracker = param != null;\r\n\r\n this.localSfqm = param;\r\n }", "title": "" } ]
a28df540f664ad5f3a8e37e5a73d881a
Creates an observable which repeates the given value indefinitely and runs on the default pool. Note that the observers must deregister to stop the infinite background loop
[ { "docid": "2de2be8a334d9b1967ae3a543715b3af", "score": "0.6644414", "text": "@Nonnull\r\n\tpublic static <T> Observable<T> repeat(final T value) {\r\n\t\treturn repeat(value, scheduler());\r\n\t}", "title": "" } ]
[ { "docid": "613dc40afd7e389c9deda2a594394ced", "score": "0.761121", "text": "public static <T> Observable<T> repeat(\r\n\t\t\tfinal T value,\r\n\t\t\t@Nonnull final Scheduler pool) {\r\n\t\treturn repeat(Functions.constant0(value), pool);\r\n\t}", "title": "" }, { "docid": "7bb5390358b9be1c30243c72b93b45d4", "score": "0.6980618", "text": "@Nonnull\r\n\tpublic static <T> Observable<T> repeat(\r\n\t\t\tfinal T value,\r\n\t\t\tfinal int count,\r\n\t\t\t@Nonnull final Scheduler pool) {\r\n\t\treturn repeat(Functions.constant0(value), count, pool);\r\n\t}", "title": "" }, { "docid": "3f18de1a85bf6fa081d8cf7b5d86ec11", "score": "0.6480366", "text": "@Nonnull\r\n\tpublic static <T> Observable<T> singleton(\r\n\t\t\tfinal T value,\r\n\t\t\t@Nonnull final Scheduler pool) {\r\n\t\treturn new Observable<T>() {\r\n\t\t\t@Override\r\n\t\t\t@Nonnull \r\n\t\t\tpublic Closeable register(@Nonnull final Observer<? super T> observer) {\r\n\t\t\t\treturn pool.schedule(new Runnable() {\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void run() {\r\n\t\t\t\t\t\tobserver.next(value);\r\n\t\t\t\t\t\tobserver.finish();\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}", "title": "" }, { "docid": "cf32bd270fd17dce87026074c920f9df", "score": "0.62683386", "text": "@Override\r\n public Subscription onSubscribe(final Observer<? super String> observer) {\n final Thread t = new Thread(new Runnable() {\r\n @Override\r\n public void run() {\r\n for (int i = 0; i < 75; i++) {\r\n observer.onNext(\"anotherValue_\" + i);\r\n }\r\n // After sending all values we complete the sequence\r\n observer.onCompleted();\r\n }\r\n });\r\n t.start();\r\n \r\n return new Subscription() {\r\n @Override\r\n public void unsubscribe() {\r\n // Ask the thread to stop doing work.\r\n // For this simple example it just interrupts.\r\n t.interrupt();\r\n }\r\n };\r\n }", "title": "" }, { "docid": "e9bcf0a6066becfb72baf21a40429161", "score": "0.6260386", "text": "@Nonnull \r\n\tpublic static <T> Observable<T> repeat(\r\n\t\t\t@Nonnull final Func0<? extends T> func,\r\n\t\t\t@Nonnull final Scheduler pool) {\r\n\t\treturn new Repeat.RepeatValue<T>(func, pool);\r\n\t}", "title": "" }, { "docid": "eec062e00a7ef74e0328435a773d3752", "score": "0.6121306", "text": "private static void createColdObservable() {\n var observable = Observable.just(1, 2, 3, 4, 5);\n\n observable.subscribe(item -> LOG.info(\"Observer 1: {}\", item));\n\n pause(1000);\n\n observable.subscribe(item -> LOG.info(\"Observer 2: {}\", item));\n }", "title": "" }, { "docid": "136a95f7dd4c3032a8d6f2d4136ee14c", "score": "0.61037946", "text": "@Nonnull\r\n\tpublic static <T> Observable<T> repeat(\r\n\t\t\t@Nonnull final Func0<? extends T> func,\r\n\t\t\tfinal int count,\r\n\t\t\t@Nonnull final Scheduler pool) {\r\n\t\treturn new Observable<T>() {\r\n\t\t\t@Override\r\n\t\t\t@Nonnull \r\n\t\t\tpublic Closeable register(@Nonnull final Observer<? super T> observer) {\r\n\t\t\t\tDefaultRunnable r = new DefaultRunnable() {\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void onRun() {\r\n\t\t\t\t\t\tint i = count;\r\n\t\t\t\t\t\twhile (!cancelled() && i-- > 0) {\r\n\t\t\t\t\t\t\tobserver.next(func.invoke());\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (!cancelled()) {\r\n\t\t\t\t\t\t\tobserver.finish();\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\treturn pool.schedule(r);\r\n\t\t\t}\r\n\t\t};\r\n\t}", "title": "" }, { "docid": "ef8c4d928004d2319d348c4ca291013f", "score": "0.6027424", "text": "public static Observable<Long> getObservableTakeWhile() {\n return observableIntervalSrc;//todo\n }", "title": "" }, { "docid": "ddd90f698942370aaabb682147f3c9cc", "score": "0.60265553", "text": "@Nonnull\r\n\tpublic static <T> Observable<T> repeat(\r\n\t\t\tfinal T value,\r\n\t\t\tfinal int count) {\r\n\t\treturn repeat(value, count, scheduler());\r\n\t}", "title": "" }, { "docid": "483fbc2acaec52609bb4d578ac3f2912", "score": "0.6020381", "text": "private Subscribable<Integer> aSubscribableWillAsyncFireIntegerOneToFive() {\n return new Subscribable<Integer>() {\n private final ExecutorService executor = Executors.newSingleThreadExecutor();\n private Future<?> future;\n\n @Override\n public void doSubscribe(final Schedulable<? super Integer> source) {\n future = executor.submit(new Runnable() {\n @Override\n public void run() { //produce integers in a different thread\n for (int i = 1; i < 6; i++) {\n source.schedule(i); //schedule integer 1 to 5 to the callback source\n }\n }\n });\n }\n\n @Override\n public void unsubscribe() { //unsubscribe from the source\n try {\n assert future != null;\n future.get(5, TimeUnit.SECONDS); //wait for all the scheduled values fired\n } catch (Exception e) {\n Throwables.propagate(e); //just hide the checked exception\n }\n }\n };\n }", "title": "" }, { "docid": "101305088e7850723378e6f71b0a06e3", "score": "0.5909187", "text": "private static void createObservableUsingInterval() {\n LOG.info(LINE);\n var observable = Observable.interval(1, TimeUnit.SECONDS);\n\n observable.subscribe(item -> LOG.info(\"Observer 1: {}\", item));\n sleep(2000);\n\n observable.subscribe(item -> LOG.info(\"Observer 2: {}\", item));\n sleep(3000);\n\n // this is a cold obervable as interval creates new instance for each observer\n }", "title": "" }, { "docid": "41f5a2ca9c7a9298eada9f387b7356e3", "score": "0.5721269", "text": "@Nonnull\r\n\tpublic static <T> Observable<T> repeat(\r\n\t\t\t@Nonnull Observable<? extends T> source) {\r\n\t\treturn doWhile(source, Functions.TRUE);\r\n\t}", "title": "" }, { "docid": "1868b37795d8f2ee0fc3cbc9833e81cc", "score": "0.5646025", "text": "private static void exKeepingAppAliveTwo() {\n\n Observable.interval(1, TimeUnit.SECONDS)\n .take(3)\n .blockingSubscribe(System.out::println);\n\n\n\n /* OUTPUT :\n 0\n 1\n 2\n */\n }", "title": "" }, { "docid": "0db48a1e78d49c874c804b458b8dea14", "score": "0.55166316", "text": "private static void exKeepingAppAliveOne() {\n\n Observable.interval(1, TimeUnit.SECONDS)\n .subscribe(System.out::println);\n\n Take.sleep(Long.MAX_VALUE); //Calls Thread.sleep(long milli)\n\n /* OUTPUT :\n\n */\n }", "title": "" }, { "docid": "88e9eb4cf8a611c75a24e52ebb62ce5b", "score": "0.55103457", "text": "@Test\n public void testDefer() throws InterruptedException {\n Observable<LocalTime> localTimeObservable =\n Observable.defer(\n () -> Observable\n .just(LocalTime.now()))\n .repeat(3);\n localTimeObservable.subscribe(System.out::println);\n Thread.sleep(3000);\n System.out.println(\"Next Subscriber\");\n localTimeObservable.subscribe(System.out::println);\n }", "title": "" }, { "docid": "dc6e74744d9ef02a04c89e05db6b3837", "score": "0.54495436", "text": "@Nonnull\r\n\tpublic static <T> Observable<T> invokeAsync(\r\n\t\t\t@Nonnull final Runnable run,\r\n\t\t\tfinal T defaultValue,\r\n\t\t\t@Nonnull final Scheduler pool) {\r\n\t\treturn new Observable<T>() {\r\n\t\t\t@Override\r\n\t\t\t@Nonnull \r\n\t\t\tpublic Closeable register(@Nonnull final Observer<? super T> observer) {\r\n\t\t\t\treturn pool.schedule(new Runnable() {\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void run() {\r\n\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\trun.run();\r\n\t\t\t\t\t\t\tobserver.next(defaultValue);\r\n\t\t\t\t\t\t\tobserver.finish();\r\n\t\t\t\t\t\t} catch (Throwable ex) {\r\n\t\t\t\t\t\t\tobserver.error(ex);\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}", "title": "" }, { "docid": "5d0cd4684d0a30aece89546463b7b4ae", "score": "0.54363835", "text": "public interface ReactiveRateLimiter {\n\n Observable<Boolean> overLimitReactive(String key);\n\n Observable<Boolean> overLimitReactive(String key, int weight);\n\n Observable<Boolean> resetLimitReactive(String key);\n}", "title": "" }, { "docid": "35a11b9fd4057812fef2a56c6d05cdb3", "score": "0.54205686", "text": "@Nonnull\r\n\tpublic static <T> Observable<T> start(\r\n\t\t\t@Nonnull final Func0<? extends T> func,\r\n\t\t\t@Nonnull final Scheduler pool) {\r\n\t\treturn new Observable<T>() {\r\n\t\t\t@Override\r\n\t\t\t@Nonnull \r\n\t\t\tpublic Closeable register(@Nonnull final Observer<? super T> observer) {\r\n\t\t\t\treturn pool.schedule(new Runnable() {\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void run() {\r\n\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\tT value = func.invoke();\r\n\t\t\t\t\t\t\tobserver.next(value);\r\n\t\t\t\t\t\t\tobserver.finish();\r\n\t\t\t\t\t\t} catch (Throwable ex) {\r\n\t\t\t\t\t\t\tobserver.error(ex);\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}", "title": "" }, { "docid": "4e0a589de250a8c8e7729179e39a5fa3", "score": "0.5411828", "text": "@Nonnull\r\n\tpublic static <T> Observable<T> repeat(\r\n\t\t\t@Nonnull final Func0<? extends T> func) {\r\n\t\treturn repeat(func, scheduler());\r\n\t}", "title": "" }, { "docid": "ce1f16ee49637035a5e226cdc9118aa2", "score": "0.5385396", "text": "private static void exSwitchMapThree(){\n Observable<String> intense =\n Observable.just(\"Savi\",\"Healer\",\"Three\",\"Four\",\"Wednesday\",\"Friday\",\"You\",\"Me\")\n .concatMap(result -> Observable.just(result).delay(randomSleepTime(),TimeUnit.MILLISECONDS))\n .doOnDispose(() -> System.out.println(\" * * Disposed * *\"));\n\n //Observable to execute intense task every 5 seconds\n Observable.interval(5,TimeUnit.SECONDS)\n .switchMap(r -> intense)\n .subscribe(System.out::println);\n\n //Sleep the main thread for few seconds\n Take.sleep(20000);\n\n /*\n After every 5 seconds it will dispose the ongoing intense (variable name) process and\n start the same process again.\n */\n\n //Output\n /*\n Savi\n Healer\n Three\n Four\n * * Disposed * *\n Savi\n Healer\n Three\n Four\n Wednesday\n Friday\n You\n * * Disposed * *\n Savi\n Healer\n Three\n Four\n Wednesday\n * * Disposed * *\n */\n }", "title": "" }, { "docid": "40ddc1cb9f7ecfa71af881ebfb2b7aee", "score": "0.5382976", "text": "public static void scanWithInitialValue() {\n Observable.range(1, 10)\n .scan(100, (previous, current) -> {\n System.out.println(\"previous = \" + previous);\n System.out.println(\"current = \" + current);\n return previous + current;\n }).subscribe(new MyObserver<>());\n\n System.out.println(\"# 2\");\n\n /*\n Same as above but initial value is returned via callable.\n */\n\n Observable.range(1, 10)\n .scanWith(() -> 1000, (previous, current) -> {\n System.out.println(\"previous = \" + previous);\n System.out.println(\"current = \" + current);\n return previous + current;\n }).subscribe(new MyObserver<>());\n\n }", "title": "" }, { "docid": "60353d1f111a4f0331bfe855c1b113f1", "score": "0.537791", "text": "@Nonnull\r\n\tpublic static <T> Observable<T> toObservable(\r\n\t\t\t@Nonnull final Iterable<? extends T> iterable,\r\n\t\t\t@Nonnull final Scheduler pool) {\r\n\t\treturn new Observable<T>() {\r\n\t\t\t@Override\r\n\t\t\t@Nonnull \r\n\t\t\tpublic Closeable register(@Nonnull final Observer<? super T> observer) {\r\n\t\t\t\tDefaultRunnable s = new DefaultRunnable() {\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void onRun() {\r\n\t\t\t\t\t\tfor (T t : iterable) {\r\n\t\t\t\t\t\t\tif (cancelled()) {\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\tobserver.next(t);\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tif (!cancelled()) {\r\n\t\t\t\t\t\t\tobserver.finish();\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\treturn pool.schedule(s);\r\n\t\t\t}\r\n\t\t};\r\n\t}", "title": "" }, { "docid": "4a78055265687e29e0382eb87e747ee0", "score": "0.53647435", "text": "public static <T> Observable<T> whileDo(\r\n\t\t\t@Nonnull final Observable<? extends T> source, \r\n\t\t\t@Nonnull final Func0<Boolean> condition) {\r\n\t\treturn new Repeat.WhileDo<T>(source, condition);\r\n\t}", "title": "" }, { "docid": "e558925aa67ec6bc592650b0f31bb856", "score": "0.53617203", "text": "@Nonnull\r\n\tpublic static <T> Observable<T> empty(\r\n\t\t\t@Nonnull final Scheduler pool) {\r\n\t\treturn new Observable<T>() {\r\n\t\t\t@Override\r\n\t\t\t@Nonnull \r\n\t\t\tpublic Closeable register(@Nonnull final Observer<? super T> observer) {\r\n\t\t\t\treturn pool.schedule(new Runnable() {\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void run() {\r\n\t\t\t\t\t\tobserver.finish();\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}", "title": "" }, { "docid": "e3a5376094051387b826d8bea974b29b", "score": "0.5357027", "text": "@Nonnull\r\n\tpublic static <T> Observable<Option<T>> materializeForever(\r\n\t\t\t@Nonnull final Observable<? extends T> source) {\r\n\t\treturn new Observable<Option<T>>() {\r\n\t\t\t@Override\r\n\t\t\t@Nonnull \r\n\t\t\tpublic Closeable register(@Nonnull final Observer<? super Option<T>> observer) {\r\n\t\t\t\treturn source.register(new Observer<T>() {\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void error(@Nonnull Throwable ex) {\r\n\t\t\t\t\t\tobserver.next(Option.<T>error(ex));\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void finish() {\r\n\t\t\t\t\t\tobserver.next(Option.<T>none());\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void next(T value) {\r\n\t\t\t\t\t\tobserver.next(Option.some(value));\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t};\r\n\t}", "title": "" }, { "docid": "a1362252513050f57977afc470b5d55f", "score": "0.5332985", "text": "public Publisher<StockPrice> stockPrice(String symbol) {\n\n\n Publisher<StockPrice> publisher = s -> {\n ScheduledExecutorService executorService = Executors.newScheduledThreadPool(1);\n executorService.scheduleAtFixedRate(() -> {\n StockPrice ret = new StockPrice(symbol, 2d, LocalDateTime.now());\n s.onNext(ret);\n }, 0, 2, TimeUnit.SECONDS);\n };\n\n// publisher.subscribe(new TestSubscriber());\n\n return publisher;\n }", "title": "" }, { "docid": "f9fb91f257d5da1f560fc7fe08b19bda", "score": "0.5306117", "text": "@Nonnull \r\n\tpublic static <T> Observable<T> doWhile(\r\n\t\t\t@Nonnull final Observable<? extends T> source, \r\n\t\t\t@Nonnull final Func0<Boolean> condition) {\r\n\t\treturn new Repeat.DoWhile<T>(source, condition);\r\n\t}", "title": "" }, { "docid": "b06ce24324433c21a95b1fad40e66748", "score": "0.53034633", "text": "public static void generateStateless() {\n Observable<String> myObservable = Observable.generate((emitter -> {\n System.out.println(\"got emitter = \" + emitter);\n try {\n emitter.onNext(\"generate - 1\");\n emitter.onNext(\"generate - 2 \");\n emitter.onComplete();\n } catch (Exception e) {\n emitter.onError(e);\n }\n }));\n myObservable.subscribe(genericObserver1);\n }", "title": "" }, { "docid": "18d52563859080121995a3e094105ae4", "score": "0.52987164", "text": "private static void exSwitchMapTwo() {\n\n Observable.interval(5,TimeUnit.SECONDS)\n .switchMap(call -> Observable.just(getResponse()).doOnDispose(() -> System.out.println(\"Disposed\")))\n .subscribe(System.out::println);\n\n //An Observable which performs network call.\n sleep(40000);\n\n\n /* OUTPUT :\n 6\n 10\n 13\n 17\n 26\n 32\n 35\n 42\n\n */\n }", "title": "" }, { "docid": "54b78e8b37a9d95b25805ca3e476ddf9", "score": "0.5288329", "text": "@Nonnull\r\n\tpublic static <T> Observable<T> repeat(\r\n\t\t\t@Nonnull Observable<? extends T> source,\r\n\t\t\tfinal int count) {\r\n\t\tif (count > 0) {\r\n\t\t\tPred0 condition = new Pred0() {\r\n\t\t\t\t/** Repeat counter. */\r\n\t\t\t\tint i = count - 1;\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic Boolean invoke() {\r\n\t\t\t\t\treturn i-- > 0;\r\n\t\t\t\t}\r\n\t\t\t};\r\n\t\t\treturn doWhile(source, condition);\r\n\t\t}\r\n\t\treturn empty();\r\n\t}", "title": "" }, { "docid": "8848bdfe40b11ef180609867da1a8d15", "score": "0.5286966", "text": "public void run() {\n\t\twhile (true){\n\t\t\tthis.value ++;\n\t\t\tsetChanged();\n\t\t\tnotifyObservers(this.value);\n\t\t\tSystem.out.println(\"Nouvelle valeur \");\n\t\t\tthis.alg.execute();\n\t\t\ttry {\n\t\t\t\tThread.sleep(1000);\n\t\t\t} catch (InterruptedException 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}", "title": "" }, { "docid": "c7b3cd2f3464c55d40d9b0aa30a0e572", "score": "0.5254807", "text": "@Nonnull\r\n\tpublic static <T> Observable<Void> drain(\r\n\t\t\t@Nonnull final Observable<? extends T> source,\r\n\t\t\t@Nonnull final Func1<? super T, ? extends Observable<Void>> pump,\r\n\t\t\t@Nonnull final Scheduler pool) {\r\n\t\treturn new Observable<Void>() {\r\n\t\t\t@Override\r\n\t\t\t@Nonnull \r\n\t\t\tpublic Closeable register(@Nonnull final Observer<? super Void> observer) {\r\n\t\t\t\t// keep track of the forked observers so the last should invoke finish() on the observer\r\n\t\t\t\tDefaultObserverEx<T> obs = new DefaultObserverEx<T>(true) {\r\n\t\t\t\t\t/** The work in progress counter. */\r\n\t\t\t\t\tfinal AtomicInteger wip = new AtomicInteger(1);\r\n\t\t\t\t\t/** The executor which ensures the sequence. */\r\n\t\t\t\t\tfinal SingleLaneExecutor<T> exec = new SingleLaneExecutor<T>(pool, new Action1<T>() {\r\n\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\tpublic void invoke(T value) {\r\n\t\t\t\t\t\t\tpump.invoke(value).register(\r\n\t\t\t\t\t\t\t\tnew Observer<Void>() {\r\n\t\t\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\t\t\tpublic void error(@Nonnull Throwable ex) {\r\n\t\t\t\t\t\t\t\t\t\tlock.lock();\r\n\t\t\t\t\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\t\t\t\t\tobserver.error(ex);\r\n\t\t\t\t\t\t\t\t\t\t\tclose();\r\n\t\t\t\t\t\t\t\t\t\t} finally {\r\n\t\t\t\t\t\t\t\t\t\t\tlock.unlock();\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\t\t\tpublic void finish() {\r\n\t\t\t\t\t\t\t\t\t\tif (wip.decrementAndGet() == 0) {\r\n\t\t\t\t\t\t\t\t\t\t\tobserver.finish();\r\n\t\t\t\t\t\t\t\t\t\t\tclose();\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\t\t\tpublic void next(Void value) {\r\n\t\t\t\t\t\t\t\t\t\tthrow new AssertionError();\r\n\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void onClose() {\r\n//\t\t\t\t\t\texec.close(); FIX ME should not cancel the pool?!\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void onError(@Nonnull Throwable ex) {\r\n\t\t\t\t\t\tobserver.error(ex);\r\n\t\t\t\t\t\tclose();\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void onFinish() {\r\n\t\t\t\t\t\tif (wip.decrementAndGet() == 0) {\r\n\t\t\t\t\t\t\tobserver.finish();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void onNext(T value) {\r\n\t\t\t\t\t\twip.incrementAndGet();\r\n\t\t\t\t\t\texec.add(value);\r\n\t\t\t\t\t}\r\n\t\t\t\t};\r\n\t\t\t\treturn obs.registerWith(source);\r\n\t\t\t}\r\n\t\t};\r\n\t}", "title": "" }, { "docid": "3422c598bcf257267c5195e5af6de80b", "score": "0.525239", "text": "private static void createHotAndConnectableObservable() {\n var observable = Observable.just(1, 2, 3, 4, 5).publish();\n\n observable.subscribe(item -> LOG.info(\"Connectable Observer 1: {}\", item));\n observable.subscribe(item -> LOG.info(\"Connectable Observer 2: {}\", item));\n\n pause(1000);\n // calling connect starts emitting immediately - any order\n observable.connect();\n\n // if we subscribe now it'll now be emitted - hot observable\n observable.subscribe(item -> LOG.info(\"Connectable Observer 3: {}\", item));\n }", "title": "" }, { "docid": "6b3996a8f7319ae2c4ee8590144b6a05", "score": "0.5213603", "text": "public static Observable<String> myObserve()\r\n {\r\n return Observable.<String>create(subscriber -> {\r\n MessageSource source = new MessageSource();\r\n source.setListener(\r\n new MessageListener<String>() {\r\n public void onMessage(String message)\r\n {\r\n subscriber.onNext(message);\r\n }\r\n }\r\n );\r\n subscriber.setCancellable(source::stop);\r\n source.start();\r\n });\r\n }", "title": "" }, { "docid": "4c6ab975106ba6a3f5af715d914c7e30", "score": "0.5210341", "text": "public static void switchOnNext(CountDownLatch latch) {\n\n List<Observable<Long>> collectionOfObservable = new ArrayList<>();\n\n Observable<Long> first = Observable.interval(1L, TimeUnit.SECONDS).take(5)\n .doOnNext((item) -> System.out.println(\"first doOnNext item = \" + item));\n\n Observable<Long> second = Observable.interval(1L, TimeUnit.SECONDS)\n .map(item -> item + 100).take(10);\n\n collectionOfObservable.add(first);\n collectionOfObservable.add(second);\n\n Observable.switchOnNext(Observable.fromIterable(collectionOfObservable))\n .subscribeOn(Schedulers.io()).subscribe(new MyObserver<>(latch));\n }", "title": "" }, { "docid": "6b871fc2052abfe7a4354bcf11949905", "score": "0.5204022", "text": "private static void createObservableUsingDefer() {\n LOG.info(LINE);\n // it prints from start up to (start + count - 1)\n final int start = 5;\n\n var observable = Observable.range(start, count);\n observable.subscribe(item -> LOG.info(\"Observer 1: {}\", item)); // only 5 6\n count = 3;\n observable.subscribe(item -> LOG.info(\"Observer 2: {}\", item)); // only 5 6 - count change is not reffered\n\n LOG.info(LINE);\n\n count = 2;\n observable = Observable.defer(() -> {\n System.out.println(\"New Observable is created with start = \" + start + \" and count = \" + count);\n return Observable.range(start, count);\n });\n\n observable.subscribe(item -> LOG.info(\"Observer 1: {}\", item)); // only 5 6\n count = 3;\n observable.subscribe(item -> LOG.info(\"Observer 2: {}\", item)); // 5 6 7 - count change used by new range object\n }", "title": "" }, { "docid": "17372e3fc714c11474ccabedb49abcfc", "score": "0.51935595", "text": "@Nonnull\r\n\tpublic static <T> Observable<T> singleton(\r\n\t\t\tfinal Func0<? extends T> supplier,\r\n\t\t\t@Nonnull final Scheduler pool) {\r\n\t\treturn new Observable<T>() {\r\n\t\t\t@Override\r\n\t\t\t@Nonnull \r\n\t\t\tpublic Closeable register(@Nonnull final Observer<? super T> observer) {\r\n\t\t\t\treturn pool.schedule(new Runnable() {\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void run() {\r\n\t\t\t\t\t\tobserver.next(supplier.invoke());\r\n\t\t\t\t\t\tobserver.finish();\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}", "title": "" }, { "docid": "6b56ab6f6a298f856601a01654d67291", "score": "0.5187318", "text": "@Nonnull\r\n\tpublic static <T> Observable<T> relayWhile(\r\n\t\t\t@Nonnull final Observable<? extends T> source,\r\n\t\t\t@Nonnull final Func0<Boolean> condition) {\r\n\t\treturn new Observable<T>() {\r\n\t\t\t@Override\r\n\t\t\t@Nonnull \r\n\t\t\tpublic Closeable register(@Nonnull final Observer<? super T> observer) {\r\n\t\t\t\tDefaultObserverEx<T> obs = new DefaultObserverEx<T>(true) {\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void onError(@Nonnull Throwable ex) {\r\n\t\t\t\t\t\tobserver.error(ex);\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void onFinish() {\r\n\t\t\t\t\t\tobserver.finish();\r\n\t\t\t\t\t\tclose();\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void onNext(T value) {\r\n\t\t\t\t\t\tif (condition.invoke()) {\r\n\t\t\t\t\t\t\tobserver.next(value);\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tfinish();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t};\r\n\t\t\t\treturn obs.registerWith(source);\r\n\t\t\t}\r\n\t\t};\r\n\t}", "title": "" }, { "docid": "0b1e25ad6bbabfdc260cf383fc2f68aa", "score": "0.5178138", "text": "@Nonnull \r\n\tpublic static <T, U> Observable<U> let(\r\n\t\t\tfinal T value,\r\n\t\t\t@Nonnull final Func1<? super T, ? extends Observable<U>> selector) {\r\n\t\treturn new Observable<U>() {\r\n\t\t\t@Override\r\n\t\t\t@Nonnull \r\n\t\t\tpublic Closeable register(@Nonnull Observer<? super U> observer) {\r\n\t\t\t\treturn selector.invoke(value).register(observer);\r\n\t\t\t}\r\n\t\t};\r\n\t}", "title": "" }, { "docid": "b36c83bab89c823100cb16fc55763812", "score": "0.5155555", "text": "@Nonnull\r\n\tpublic static <T> Observable<T> singleton(\r\n\t\t\tfinal T value) {\r\n\t\treturn singleton(value, scheduler());\r\n\t}", "title": "" }, { "docid": "6369fee2538821f6afabfe82aff05594", "score": "0.51547843", "text": "private static void createObservableUsingNever() {\n Observable<?> observable = Observable.never();\n\n observable.subscribe(x -> LOG.info(\"{}\", x),\n error -> LOG.info(\"{}\", error.getLocalizedMessage()),\n () -> LOG.info(\"Completed\"));\n\n // Pause the main thread for the hope that it will print something\n sleep(3000);\n }", "title": "" }, { "docid": "f61d753b06fe81b774a3335fcd39aa29", "score": "0.5150874", "text": "private static void fluxConnectToSecondSubscriberWithoutUseCache() throws InterruptedException {\n Flux<Long> startTheExecutionFlux = Flux.interval(Duration.ofSeconds(1)).share();\n\n Flux FluxOne = Flux.from(startTheExecutionFlux);\n //a cada cinco segundos é gerado um novo numero\n Disposable disposable = FluxOne.subscribe(out -> System.out.println(\"FluxOne value: \" + out));\n new CountDownLatch(1).await(5, TimeUnit.SECONDS);\n\n Flux fluxTwo = Flux.from(startTheExecutionFlux);\n Disposable secondDisposable = fluxTwo.subscribe(out -> System.out.println(\"fluxTwo value: \" + out));\n new CountDownLatch(1).await(5, TimeUnit.SECONDS);\n\n disposable.dispose();\n secondDisposable.dispose();\n //imprime ambos os valores sem uso de cache\n }", "title": "" }, { "docid": "e7df15512b91be9b4992e48f3bf2f843", "score": "0.5149164", "text": "@Test(timeout = 5000)\n public void concurrentFunctions() {\n final String input = \"input\";\n\n final int size = 100;\n //since we start at index 0\n final int expected = size - 1;\n\n\n // QUESTION Using this thread blocks indefinitely. The execution of the Hystrix command\n // happens on the computation Thread if this is used\n\n // final Scheduler scheduler = Schedulers.threadPoolForComputation();\n\n //use the I/O scheduler to allow enough thread, otherwise our pool will be the same size as the # of cores\n\n\n //set our size equal\n// ConfigurationManager.getConfigInstance().setProperty( THREAD_POOL_SIZE, size );\n // ConfigurationManager.getConfigInstance().setProperty( THREAD_POOL_SIZE, 10 );\n\n //reject requests we have to queue\n// ConfigurationManager.getConfigInstance().setProperty( THREAD_POOL_QUEUE, -1 );\n\n //latch used to make each thread block to prove correctness\n final CountDownLatch latch = new CountDownLatch( size );\n\n\n //create our observable and execute it in the I/O pool since we'll be doing I/O operations\n\n /**\n * QUESTION: Should this use the computation scheduler since all operations (except the hystrix command) are\n * non blocking?\n */\n\n final Observable<String> observable = Observable.just( input ).observeOn( Schedulers.io() );\n\n\n Observable<Integer> thing = observable.flatMap( new Func1<String, Observable<Integer>>() {\n\n @Override\n public Observable<Integer> call( final String s ) {\n List<Observable<Integer>> functions = new ArrayList<Observable<Integer>>();\n\n logger.info( \"Creating new set of observables in thread {}\",\n Thread.currentThread().getName() );\n\n for ( int i = 0; i < size; i++ ) {\n\n\n final int index = i;\n\n // create a new observable and execute the function on it.\n // These should happen in parallel when a subscription occurs\n\n /**\n * QUESTION: Should this again be the process thread, not the I/O\n */\n Observable<String> newObservable = Observable.just( input ).subscribeOn( Schedulers.io() );\n\n Observable<Integer> transformed = newObservable.map( new Func1<String, Integer>() {\n\n @Override\n public Integer call( final String s ) {\n\n final String threadName = Thread.currentThread().getName();\n\n logger.info( \"Invoking parallel task in thread {}\", threadName );\n\n// /**\n// * Simulate a Hystrix command making a call to an external resource. Invokes\n// * the Hystrix command immediately as the function is invoked. This is currently\n// * how we have to call Cassandra.\n// *\n// * TODO This needs to be re-written and evaluated once this PR is released https://github.com/Netflix/Hystrix/pull/209\n// */\n// return new HystrixCommand<Integer>( GROUP_KEY ) {\n// @Override\n// protected Integer run() throws Exception {\n//\n// final String threadName = Thread.currentThread().getName();\n//\n// logger.info( \"Invoking hystrix task in thread {}\", threadName );\n\n\n\n\n latch.countDown();\n\n try {\n latch.await();\n }\n catch ( InterruptedException e ) {\n throw new RuntimeException( \"Interrupted\", e );\n }\n\n// assertTrue( isExecutedInThread() );\n//\n// return index;\n// }\n// }.execute();\n\n return index;\n }\n } );\n\n functions.add( transformed );\n }\n\n /**\n * Execute the functions above and zip the results together\n */\n Observable<Integer> zipped = Observable.zip( functions, new FuncN<Integer>() {\n\n @Override\n public Integer call( final Object... args ) {\n\n logger.info( \"Invoking zip in thread {}\", Thread.currentThread().getName() );\n\n assertEquals( size, args.length );\n\n for ( int i = 0; i < args.length; i++ ) {\n assertEquals( \"Indexes are returned in order\", i, args[i] );\n }\n\n //just return our string\n return ( Integer ) args[args.length - 1];\n }\n } );\n\n return zipped;\n }\n } );\n\n\n final Integer last = thing.toBlocking().last();\n\n\n assertEquals( expected, last.intValue() );\n\n\n }", "title": "" }, { "docid": "e75fde8db840be7fb2d0cefb23c9b3c0", "score": "0.5143814", "text": "public ObservableSubscriber<T> await() {\n return await(60, TimeUnit.SECONDS);\n }", "title": "" }, { "docid": "f9a85faee69e7e42ecf0461c12ebe454", "score": "0.5121866", "text": "public static void main(String[] args){\n Observable myObservable = Observable.create(new Observable.OnSubscribe(){\n\n @Override\n public void call(Object subscriber) {\n Subscriber mySubscriber = (Subscriber)subscriber;\n\n for(int i = 0 ; i < 10; i++){\n //if my subscriber was subscribed\n if(!mySubscriber.isUnsubscribed()){\n mySubscriber.onNext(\"Pushed value \" + i);\n }\n }\n\n if(!mySubscriber.isUnsubscribed()){\n mySubscriber.onCompleted();\n }\n\n }\n });\n\n //subscribe to your Observable\n myObservable.subscribe(new Action1<String>() {\n @Override\n public void call(String s) {\n System.out.println(s);\n }\n },\n new Action1<Throwable>() {\n @Override\n public void call(Throwable throwable) {\n System.out.println(\"Something went wrong the observable\");\n }\n },\n new Action0() {\n @Override\n public void call() {\n System.out.println(\"No more values will be pushed.\");\n }\n });\n\n }", "title": "" }, { "docid": "732a14a9af115c9d4524a8edb0193020", "score": "0.5095186", "text": "public static void test016()\r\n {\r\n System.out.println(\"RxJavaTest04::test016\");\r\n ExecutorService poolA = Executors.newFixedThreadPool(10, newThreadFactory(\"Sched-A-%d\"));\r\n Scheduler schedulerA = Schedulers.from(poolA);\r\n RxGroceries rxGroceries = new RxGroceries();\r\n\r\n Maybe<BigDecimal> totalPrice = Observable\r\n .fromIterable(Arrays.asList(\"bread\", \"butter\", \"milk\", \"tomato\", \"cheese\"))\r\n .subscribeOn(schedulerA)\r\n .flatMap(prod -> rxGroceries\r\n .purchase(prod, 1)\r\n .subscribeOn(schedulerA)\r\n )\r\n .reduce(BigDecimal::add);\r\n totalPrice\r\n .subscribe(\r\n x -> log(\"Got \" + x),\r\n Throwable::printStackTrace,\r\n () -> log(\"Completed\")\r\n );\r\n myWait(2000); // We have to wait before shutting down the pool,\r\n // otherwise it will throw exception \r\n // [java] io.reactivex.exceptions.UndeliverableException:\r\n // java.util.concurrent.RejectedExecutionException:\r\n // Task java.util.concurrent.FutureTask@38d8f9d0 rejected\r\n // from java.util.concurrent.ThreadPoolExecutor@6a724a6c\r\n // [Shutting down, pool size = 1, active threads = 1, queued\r\n // tasks = 0, completed tasks = 0]\r\n poolA.shutdown();\r\n }", "title": "" }, { "docid": "460eb12f348548fb7e04251248492cc8", "score": "0.5064655", "text": "public static void generateStateful() {\n Observable<String> statefulObservable = Observable.generate(\n () -> {\n int initialState = 1;\n System.out.println(\"initial state = \" + initialState);\n return initialState;\n },\n (initialState, stringEmitter) -> {\n try {\n if (initialState <= 3) {\n System.out.println(\"emitter = \" + stringEmitter);\n stringEmitter.onNext(\"generate - \" + initialState);\n initialState += 1;\n System.out.println(\"update state = \" + initialState);\n } else {\n stringEmitter.onComplete();\n }\n } catch (Exception e) {\n stringEmitter.onError(e);\n }\n return initialState;\n }, (disposeState -> System.out.println(\"dispose state = \" + disposeState)));\n statefulObservable.subscribe(genericObserver1);\n }", "title": "" }, { "docid": "36e63f14c3d6dd86e4096894b3c2f086", "score": "0.5038825", "text": "@Test\r\n\tpublic void exerciseInterruptible() {\n\t\t\r\n\t\tList<String> articlesTopicA = Arrays.asList(\"Article A-1\",\"Article A-2\",\"Article A-3\");\r\n\t\tList<String> articlesTopicB = Arrays.asList(\"Article B-1\",\"Article B-2\",\"Article B-3\");\r\n\t\tList<String> articlesTopicC = Arrays.asList(\"Article C-1\",\"Article C-2\",\"Article C-3\");\r\n\t\t\r\n\t\tList<Observable<String>> topicObservables = Arrays.asList(\r\n\t\t\t\tObservable.interval(0, 80L, TimeUnit.MILLISECONDS, testScheduler)\r\n\t\t\t\t.take(3)\r\n\t\t\t\t.map(i -> articlesTopicA.get(i.intValue())),\r\n\t\t\t\tObservable.interval(50, 60L, TimeUnit.MILLISECONDS, testScheduler)\r\n\t\t\t\t.take(3)\r\n\t\t\t\t.map(i -> articlesTopicB.get(i.intValue())),\r\n\t\t\t\tObservable.interval(0, 40L, TimeUnit.MILLISECONDS, testScheduler)\r\n\t\t\t\t.take(3)\r\n\t\t\t\t.map(i -> articlesTopicC.get(i.intValue())));\r\n\t\t\r\n\t\tObservable<Observable<String>> topics = Observable.interval(0, 100L, TimeUnit.MILLISECONDS, testScheduler)\r\n\t\t\t\t.take(3)\r\n\t\t\t\t.map(i -> topicObservables.get(i.intValue()));\r\n\t\t\r\n\t\t//\t\t t[ms]: 0 100 200 300\r\n\t\t//\t\ttopics: A---------B---------C---------| \r\n\t\t//\t\t A: 1-------2-|-----3---|---------|\r\n\t\t//\t\t B: |---------|----1----|2-----3--|\r\n\t\t//\t\t C: |---------|---------1---2---3-|\r\n\t\t//\t\tResult: A-1 A-2 B-1 C-1 C-2 C-3\r\n\t\t\t\t\r\n\t\t// TODO: always switch to the latest topic\r\n\t\t// HINT: http://reactivex.io/documentation/operators/switch.html\r\n\t\tObservable<String> latestInteresting = Observable.empty();\r\n\r\n\t\t// verify\r\n\t\tTestSubscriber<String> testSubscriber = new TestSubscriber<>();\r\n\t\tlatestInteresting\r\n\t\t\t.doOnNext(article -> log(String.format(\" doOnNext(): %s Time: %d\", article, testScheduler.now())))\r\n\t\t\t.subscribe(testSubscriber);\r\n\t\t\r\n\t\t// let the time elapse until completion\r\n\t\ttestScheduler.advanceTimeBy(300, TimeUnit.MILLISECONDS);\r\n\t\t\r\n\t\ttestSubscriber.assertCompleted();\r\n\t\ttestSubscriber.assertNoErrors();\r\n\t\tList<String> expectedArticles = Arrays.asList(\r\n\t\t\t\t\"Article A-1\",\"Article A-2\", \r\n\t\t\t\t\"Article B-1\", \r\n\t\t\t\t\"Article C-1\", \"Article C-2\", \"Article C-3\");\r\n\t\ttestSubscriber.assertReceivedOnNext(expectedArticles);\r\n\t\t\r\n\t}", "title": "" }, { "docid": "29c693ba2e6a29066caa2b0911af491d", "score": "0.5034593", "text": "@Nonnull\r\n\tpublic static <T> Observable<T> observeOn(\r\n\t\t\t@Nonnull final Observable<? extends T> source,\r\n\t\t\t@Nonnull final Scheduler pool) {\r\n\t\treturn new Observable<T>() {\r\n\t\t\t@Override\r\n\t\t\t@Nonnull \r\n\t\t\tpublic Closeable register(@Nonnull final Observer<? super T> observer) {\r\n\r\n\t\t\t\tDefaultObserverEx<T> obs = new DefaultObserverEx<T>(true) {\r\n\t\t\t\t\t/** The single lane executor. */\r\n\t\t\t\t\tfinal SingleLaneExecutor<Runnable> run = new SingleLaneExecutor<Runnable>(pool,\r\n\t\t\t\t\t\tnew Action1<Runnable>() {\r\n\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\tpublic void invoke(Runnable value) {\r\n\t\t\t\t\t\t\t\tvalue.run();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t);\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void onError(@Nonnull final Throwable ex) {\r\n\t\t\t\t\t\trun.add(new Runnable() {\r\n\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\tpublic void run() {\r\n\t\t\t\t\t\t\t\tobserver.error(ex);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void onFinish() {\r\n\t\t\t\t\t\trun.add(new Runnable() {\r\n\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\tpublic void run() {\r\n\t\t\t\t\t\t\t\tobserver.finish();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void onNext(final T value) {\r\n\t\t\t\t\t\trun.add(new Runnable() {\r\n\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\tpublic void run() {\r\n\t\t\t\t\t\t\t\tobserver.next(value);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t};\r\n\t\t\t\treturn obs.registerWith(source);\r\n\t\t\t}\r\n\t\t};\r\n\t}", "title": "" }, { "docid": "fe0f845236f92d3a7b605103ad9004b6", "score": "0.5010035", "text": "@Nonnull\r\n\tpublic static <T> Observable<T> repeat(\r\n\t\t\t@Nonnull final Func0<? extends T> func,\r\n\t\t\tfinal int count) {\r\n\t\treturn repeat(func, count, scheduler());\r\n\t}", "title": "" }, { "docid": "357d84bb662ebbffeaf62a5c710887e4", "score": "0.50001395", "text": "@Override\n public void run() {\n for (int i = 1; i < 6; i++) {\n source.schedule(i); //schedule integer 1 to 5 to the callback source\n }\n }", "title": "" }, { "docid": "9b593b77d39c561c497ceeb6e893b6b8", "score": "0.4999734", "text": "@Override\n public void run() {\n while(true){\n// double a = Math.random()*Math.random();//占用 CPU\n// System.out.println(a);\n }\n }", "title": "" }, { "docid": "69650020cee665fc2b86b9086131b899", "score": "0.49931264", "text": "public void observaleJust() {\n\t\tObservable.just(1, 2, 3, 4, 5, 6, 7, 8, 9, 10).subscribe(integerSubscribe());\r\n\t}", "title": "" }, { "docid": "bac205a6585e1bc02690aa29c48f296f", "score": "0.49665496", "text": "@Nonnull\r\n\tpublic static <T> Observable<T> invokeAsync(\r\n\t\t\t@Nonnull final Runnable run,\r\n\t\t\t@Nonnull final Scheduler pool) {\r\n\t\treturn new Observable<T>() {\r\n\t\t\t@Override\r\n\t\t\t@Nonnull \r\n\t\t\tpublic Closeable register(@Nonnull final Observer<? super T> observer) {\r\n\t\t\t\treturn pool.schedule(new Runnable() {\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void run() {\r\n\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\trun.run();\r\n\t\t\t\t\t\t\tobserver.finish();\r\n\t\t\t\t\t\t} catch (Throwable ex) {\r\n\t\t\t\t\t\t\tobserver.error(ex);\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}", "title": "" }, { "docid": "8417db82fffacfd9c47034bff2afbb56", "score": "0.49523467", "text": "public static void test012()\r\n {\r\n System.out.println(\"RxJavaTest04::test012\");\r\n ExecutorService poolA = Executors.newFixedThreadPool(10, newThreadFactory(\"Sched-A-%d\"));\r\n Scheduler schedulerA = Schedulers.from(poolA);\r\n log(\"Starting\");\r\n Observable<String> obs = mySimple();\r\n log(\"Created\");\r\n obs\r\n .subscribeOn(schedulerA)\r\n .subscribe(\r\n x -> log(\"Got \" + x),\r\n Throwable::printStackTrace,\r\n () -> log(\"Completed\")\r\n );\r\n log(\"After subscribe\");\r\n myWait(2000);\r\n log(\"Shutting down\");\r\n poolA.shutdown();\r\n }", "title": "" }, { "docid": "a36c2852f8744eab7414451778b6d972", "score": "0.4940633", "text": "@Nonnull\r\n\tpublic static <T> Observable<T> registerOn(\r\n\t\t\t@Nonnull final Observable<T> observable,\r\n\t\t\t@Nonnull final Scheduler pool) {\r\n\t\treturn new Observable<T>() {\r\n\t\t\t@Override\r\n\t\t\t@Nonnull \r\n\t\t\tpublic Closeable register(@Nonnull final Observer<? super T> observer) {\r\n\t\t\t\tSingleCloseable cancelRegister = new SingleCloseable();\r\n\t\t\t\t\r\n\t\t\t\tfinal SequentialCloseable cancelUnregister = new SequentialCloseable();\r\n\t\t\t\t\r\n\t\t\t\tcancelUnregister.set(cancelRegister);\r\n\t\t\t\t\r\n\t\t\t\tcancelRegister.set(pool.schedule(new Runnable() {\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void run() {\r\n\t\t\t\t\t\tfinal Closeable c = observable.register(observer);\r\n\t\t\t\t\t\tcancelUnregister.set(new ScheduledCloseable(pool, c));\r\n\t\t\t\t\t}\r\n\t\t\t\t}));\r\n\t\t\t\t\r\n\t\t\t\treturn cancelUnregister;\r\n\t\t\t}\r\n\t\t};\r\n\t}", "title": "" }, { "docid": "ab1d13cc360091e94ed1abd6e7de9a42", "score": "0.49391204", "text": "public static void run(\r\n\t\t\t@Nonnull final Observable<?> source) throws InterruptedException {\r\n\t\tfinal CountDownLatch latch = new CountDownLatch(1);\r\n\t\tCloseable c = source.register(new DefaultObserver<Object>(true) {\r\n\t\t\t@Override\r\n\t\t\tpublic void onError(@Nonnull Throwable ex) {\r\n\t\t\t\tlatch.countDown();\r\n\t\t\t}\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void onFinish() {\r\n\t\t\t\tlatch.countDown();\r\n\t\t\t}\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void onNext(Object value) {\r\n\r\n\t\t\t}\r\n\r\n\t\t});\r\n\t\ttry {\r\n\t\t\tlatch.await();\r\n\t\t} finally {\r\n\t\t\tCloseables.closeSilently(c);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "1c0d02505fb843c497a5309b27e8db5c", "score": "0.49380255", "text": "public static void test015()\r\n {\r\n System.out.println(\"RxJavaTest04::test015\");\r\n ExecutorService poolA = Executors.newFixedThreadPool(10, newThreadFactory(\"Sched-A-%d\"));\r\n Scheduler schedulerA = Schedulers.from(poolA);\r\n RxGroceries rxGroceries = new RxGroceries();\r\n\r\n Maybe<BigDecimal> totalPrice = Observable\r\n .fromIterable(Arrays.asList(\"bread\", \"butter\", \"milk\", \"tomato\", \"cheese\"))\r\n .subscribeOn(schedulerA)\r\n .flatMap(prod -> rxGroceries.purchase(prod, 1))\r\n .reduce(BigDecimal::add);\r\n totalPrice\r\n .subscribe(System.out::println);\r\n poolA.shutdown();\r\n }", "title": "" }, { "docid": "17fc200bf0d4d89e1064cf83b50d5c89", "score": "0.4936352", "text": "private static void scenario() {\n\n Observable<String> stringObservable = Observable.just(\"One\",\"Two\",\"Three\",\"Four\",\"Five\",\"Six\",\"Seven\",\"Eight\",\"Nine\");\n\n Observable<String> stringProcessor = stringObservable.concatMap(data -> Observable.just(data).delay(randomSleepTime(),\n TimeUnit.MILLISECONDS));\n\n stringProcessor.subscribe(System.out::println);\n\n sleep(20000);\n\n /* OUTPUT :\n One\n Two\n Three\n Four\n Five\n Six\n Seven\n Eight\n Nine\n */\n }", "title": "" }, { "docid": "1fb332e5ca3f98fe7412024c5238047d", "score": "0.4924556", "text": "private static void backPressureChallenge() {\n\t\tObservable.range(1, 1000000)\n\t\t//below map will run in sequential\n\t\t//since sequential it has to complete whole task then only it can allow consumer to start\n\t\t\t.map(item -> {\n\t\t\t\tSystem.out.println(\"Produced item \"+item +\" using thread \"+Thread.currentThread().getName());\n\t\t\t\treturn item;\n\t\t\t})\n\t\t\t.observeOn(Schedulers.io())\n\t\t\t//.subscribeOn(Schedulers.io())//with this whole pipelein runs in seprate thread paralleley\n\t\t\t//below will run in concurrent\n\t\t\t.subscribe(item ->{\n\t\t\t\t//mimcing slowness\n\t\t\t\tThreadUtil.sleep(300);\n\t\t\t\tSystem.out.println(\"Consumed item \"+item +\" using thread \"+Thread.currentThread().getName());\n\t\t\t})\n\t\t\t\n\t\t\t;\n\t\t\n\t\t//since running in async we need to sleep\n\t\tThreadUtil.sleep(10000000);\n\t}", "title": "" }, { "docid": "880555928d64d4846b2bac4251abf6b9", "score": "0.4919647", "text": "public void emitLoop() {\n Subscriber<? super R> subscriber = this.child;\n Queue<Object> queue2 = this.queue;\n AtomicLong atomicLong = this.requested;\n long j = atomicLong.get();\n while (!checkTerminated(this.done, queue2.isEmpty(), subscriber)) {\n long j2 = 0;\n while (j2 != j) {\n boolean z = this.done;\n Object poll = queue2.poll();\n boolean z2 = poll == null;\n if (!checkTerminated(z, z2, subscriber)) {\n if (z2) {\n break;\n }\n Object value = NotificationLite.getValue(poll);\n try {\n subscriber.onNext(value);\n j2++;\n } catch (Throwable th) {\n Exceptions.throwOrReport(th, (Observer<?>) subscriber, value);\n return;\n }\n } else {\n return;\n }\n }\n if (!(j2 == 0 || j == Long.MAX_VALUE)) {\n j = BackpressureUtils.produced(atomicLong, j2);\n }\n synchronized (this) {\n if (!this.missed) {\n this.emitting = false;\n return;\n }\n this.missed = false;\n }\n }\n }", "title": "" }, { "docid": "80804ae2694da4b7778abf6ab262b1f2", "score": "0.49134317", "text": "public static void main(String[] args) throws InterruptedException {\n\t\tObservable.just(\"hi\",\"hello\",\"okay\").subscribe(z -> System.out.print(z));\n\t\t\n\t\t// creating observable using create in lambda style[Sync]\n\t\tObservable.create( f ->{\n\t\t\t\t\t\t\tf.onNext(\"hello\");\n\t\t\t\t\t\t\tif( f.isUnsubscribed() ){\n\t\t\t\t\t\t\t\treturn; \n\t\t\t\t\t\t\t}}).subscribe( s -> System.out.println(s));\n\t\t\n\t\t\n\t\tExecutorService executor = Executors.newSingleThreadExecutor();\n\t\tSystem.out.println(\"----\"+Thread.currentThread().getName());\n\t\t\n\t\t// creating observable using create in lambda style[Async]\n\t\tObservable.create(f -> {executor.submit(() ->{\n\t\t\t f.onNext(Thread.currentThread().getName());\n\t \t});}).subscribe(s -> {System.out.println(Thread.currentThread().getName()); \n\t \t\t\t\t\t\t\tSystem.out.println(s);} );\n\t\t\n\t\t// creating observable using create in lambda style[Async + observerOn]\n\t\tObservable.create(f -> {executor.submit(() ->{\n\t\t\t f.onNext(Thread.currentThread().getName());\n\t \t});}).observeOn(Schedulers.newThread()).subscribe(s -> {System.out.println(Thread.currentThread().getName()); \n\t \t\t\t\t\t\t\tSystem.out.println(s);} );\n\n\t\t\n\t\t// creating observable using create in lambda style[Async + subscribeOn]\n\t\tObservable.create(f -> {executor.submit(() ->{\n\t\t\t f.onNext(Thread.currentThread().getName());\n\t \t});}).subscribeOn(Schedulers.newThread()).subscribe(s -> {System.out.println(Thread.currentThread().getName()); \n\t \t\t\t\t\t\t\tSystem.out.println(s);} );\n\n\t\t\n\t\tList<Integer> result = new ArrayList<Integer>();\n\t\t//bulk API simulation\n\t\tObservable<Integer> obs = Observable.just(1,2,3,4,5,6).map(userId ->{\n\t\t\t//make mysql call\n\t\t try { System.out.println(\"---\"+Thread.currentThread().getName());\n\t\t\treturn makeSqlCall(userId);\n\t\t\t\n\t\t} catch (InterruptedException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn 0;\n\t\t});\n\t\t\t\t\n\t obs.subscribeOn(Schedulers.io()).subscribe(id ->{ result.add(id);System.out.println(Thread.currentThread().getName());});\n\t for(Integer x: result){System.out.print(x+\" - \");}\n\t\t\n\t}", "title": "" }, { "docid": "beb610bb1f2c9b4c6cc3fd10fe0ca71f", "score": "0.48994377", "text": "@Override\n public void onNext(final T value) {\n innerHandler.onNext(value);\n idlenessSource.check();\n }", "title": "" }, { "docid": "5a3f213ca5e6f275f296bc2e5ecb52ff", "score": "0.48970547", "text": "public static Observable<Long> getObservableSkipDuration() {\n return observableIntervalSrc;//todo\n }", "title": "" }, { "docid": "64c72e9f49ecc87fd9b1f40656d465bd", "score": "0.4894826", "text": "@Nonnull \r\n\tpublic static <T, U> Observable<U> publish(\r\n\t\t\t@Nonnull final Observable<? extends T> source,\r\n\t\t\t@Nonnull final Func1<? super Observable<? extends T>, ? extends Observable<? extends U>> selector,\r\n\t\t\tfinal T initialValue\r\n\t\t\t) {\r\n\t\treturn multicast(source, new Func0<Subject<T, T>>() {\r\n\t\t\t@Override\r\n\t\t\tpublic Subject<T, T> invoke() {\r\n\t\t\t\treturn new Subject<T, T>() {\r\n\t\t\t\t\t/** The observable handling the registrations. */\r\n\t\t\t\t\tfinal DefaultObservable<T> obs = new DefaultObservable<T>(); \r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void error(@Nonnull Throwable ex) {\r\n\t\t\t\t\t\tobs.error(ex);\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void finish() {\r\n\t\t\t\t\t\tobs.finish();\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void next(T value) {\r\n\t\t\t\t\t\tobs.next(value);\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\t@Nonnull\r\n\t\t\t\t\tpublic Closeable register(@Nonnull Observer<? super T> observer) {\r\n\t\t\t\t\t\tobserver.next(initialValue);\r\n\t\t\t\t\t\treturn obs.register(observer);\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t};\r\n\t\t\t}\r\n\t\t}, selector);\r\n\t}", "title": "" }, { "docid": "5ef532967291947329b1e2f5fcad0f07", "score": "0.4880321", "text": "@Nonnull\r\n\tpublic static <T> Observable<T> invokeAsync(\r\n\t\t\t@Nonnull final Callable<? extends T> call,\r\n\t\t\t@Nonnull final Scheduler pool) {\r\n\t\treturn new Observable<T>() {\r\n\t\t\t@Override\r\n\t\t\t@Nonnull \r\n\t\t\tpublic Closeable register(@Nonnull final Observer<? super T> observer) {\r\n\t\t\t\treturn pool.schedule(new Runnable() {\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void run() {\r\n\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\tobserver.next(call.call());\r\n\t\t\t\t\t\t\tobserver.finish();\r\n\t\t\t\t\t\t} catch (Throwable ex) {\r\n\t\t\t\t\t\t\tobserver.error(ex);\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}", "title": "" }, { "docid": "5d5096f0598539e92f1799dd1c37f1d4", "score": "0.487997", "text": "@Nonnull \r\n\tpublic static <T> Observable<T> replay(\r\n\t\t\t@Nonnull final Observable<? extends T> source,\r\n\t\t\t@Nonnull final Scheduler scheduler\r\n\t) {\r\n\t\treturn new Observable<T>() {\r\n\t\t\t/** The read-write lock. */\r\n\t\t\tfinal ReadWriteLock rwLock = new ReentrantReadWriteLock(true);\r\n\t\t\t/** The read lock for reading elements of the buffer. */\r\n\t\t\tfinal Lock readLock = rwLock.readLock();\r\n\t\t\t/** The write lock to write elements of the buffer and add new listeners. */\r\n\t\t\tfinal Lock writeLock = rwLock.writeLock();\r\n\t\t\t/** The buffer that holds the observed values so far. */\r\n\t\t\t@GuardedBy(\"rwLock\")\r\n\t\t\tfinal List<Option<T>> buffer = new ArrayList<Option<T>>();\r\n\t\t\t/** The single registration handler. */\r\n\t\t\t@GuardedBy(\"writeLock\")\r\n\t\t\tCloseable sourceClose;\r\n\t\t\t/** The set of listeners active. */\r\n\t\t\t@GuardedBy(\"writeLock\")\r\n\t\t\tSet<SingleLaneExecutor<Integer>> listeners = new HashSet<SingleLaneExecutor<Integer>>();\r\n\t\t\t@Override\r\n\t\t\tprotected void finalize() throws Throwable {\r\n\t\t\t\tCloseables.closeSilently(sourceClose);\r\n\t\t\t\tsuper.finalize();\r\n\t\t\t}\r\n\t\t\t@Override\r\n\t\t\t@Nonnull \r\n\t\t\tpublic Closeable register(@Nonnull final Observer<? super T> observer) {\r\n\t\t\t\twriteLock.lock();\r\n\t\t\t\ttry {\r\n\t\t\t\t\tif (sourceClose == null) {\r\n\t\t\t\t\t\tsourceClose = source.register(new Observer<T>() {\r\n\t\t\t\t\t\t\t/**\r\n\t\t\t\t\t\t\t * Buffer and submit the option to all registered listeners.\r\n\t\t\t\t\t\t\t * @param opt the option to submit\r\n\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\tvoid doOption(Option<T> opt) {\r\n\t\t\t\t\t\t\t\twriteLock.lock();\r\n\t\t\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\t\t\tbuffer.add(opt);\r\n\t\t\t\t\t\t\t\t\tfor (SingleLaneExecutor<Integer> l : listeners) {\r\n\t\t\t\t\t\t\t\t\t\tl.add(buffer.size());\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t} finally {\r\n\t\t\t\t\t\t\t\t\twriteLock.unlock();\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\tpublic void error(@Nonnull Throwable ex) {\r\n\t\t\t\t\t\t\t\tdoOption(Option.<T>error(ex));\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\tpublic void finish() {\r\n\t\t\t\t\t\t\t\tdoOption(Option.<T>none());\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\tpublic void next(T value) {\r\n\t\t\t\t\t\t\t\tdoOption(Option.some(value));\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t} finally {\r\n\t\t\t\t\twriteLock.unlock();\r\n\t\t\t\t}\r\n\t\t\t\tfinal AtomicBoolean cancel = new AtomicBoolean();\r\n\t\t\t\tfinal SingleLaneExecutor<Integer> playback = SingleLaneExecutor.create(scheduler, new Action1<Integer>() {\r\n\t\t\t\t\t/** The local buffer reader index. */\r\n\t\t\t\t\t@GuardedBy(\"readLock\")\r\n\t\t\t\t\tint index = 0;\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void invoke(Integer value) {\r\n\t\t\t\t\t\treadLock.lock();\r\n\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\twhile (index < value && !cancel.get()) {\r\n\t\t\t\t\t\t\t\tdispatch(observer, buffer.get(index++));\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} finally {\r\n\t\t\t\t\t\t\treadLock.unlock();\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\twriteLock.lock();\r\n\t\t\t\ttry {\r\n\t\t\t\t\tplayback.add(buffer.size());\r\n\t\t\t\t\tlisteners.add(playback);\r\n\t\t\t\t} finally {\r\n\t\t\t\t\twriteLock.unlock();\r\n\t\t\t\t}\r\n\t\t\t\tfinal Closeable c = new Closeable() {\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void close() throws IOException {\r\n\t\t\t\t\t\tcancel.set(true);\r\n\t\t\t\t\t\twriteLock.lock();\r\n\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\tlisteners.remove(playback);\r\n\t\t\t\t\t\t} finally {\r\n\t\t\t\t\t\t\twriteLock.unlock();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tCloseables.closeSilently(playback);\r\n\t\t\t\t\t}\r\n\t\t\t\t};\r\n\t\t\t\treturn c;\r\n\t\t\t}\r\n\t\t};\r\n\t}", "title": "" }, { "docid": "f708be5463c50467345102f28211ac97", "score": "0.48707467", "text": "private static void fluxConnectToSecondSubscriberUsingCache() throws InterruptedException {\n Flux<Long> startTheExecutionFlux = Flux.interval(Duration.ofSeconds(1)).share().cache();\n\n //segue o mesmo processo de criacao de numeros do anterior mas agora utiliza cache\n Flux FluxOne = Flux.from(startTheExecutionFlux);\n Disposable disposable = FluxOne.subscribe(out -> System.out.println(\"FluxOne value: \" + out));\n new CountDownLatch(1).await(5, TimeUnit.SECONDS);\n\n Flux fluxTwo = startTheExecutionFlux.share();\n Disposable secondDisposable = fluxTwo.subscribe(out -> System.out.println(\"fluxTwo value: \" + out));\n new CountDownLatch(1).await(5, TimeUnit.SECONDS);\n//na primeira excecuao do fluxtwo ele inicialmente irá retornanr o valor anterior (em cache)\n disposable.dispose();\n secondDisposable.dispose();\n }", "title": "" }, { "docid": "b7a13c10cd985f226f921c0d85013ea6", "score": "0.48691577", "text": "@Test\n public void observableEvolveAndReturnToStringValue() {\n assertTrue(Observable.just(10)\n .map(String::valueOf)\n .toBlocking()\n .single()\n .equals(\"10\"));\n }", "title": "" }, { "docid": "20b6755d1a62cdd8a489a8231076bf86", "score": "0.4861607", "text": "@Override\n public ObservableSource<? extends String> call() throws Exception {\n SystemClock.sleep(2000);\n return Observable.just(\"one\", \"two\", \"three\", \"four\", \"five\");\n }", "title": "" }, { "docid": "50cc1180c7c6b0ea45bb1c3b66df15ba", "score": "0.48402452", "text": "@Nonnull\r\n\tpublic static <T> Observable<List<T>> forkJoin(\r\n\t\t\t@Nonnull final Iterable<? extends Observable<? extends T>> sources) {\r\n\t\treturn new Observable<List<T>>() {\r\n\t\t\t@Override\r\n\t\t\t@Nonnull \r\n\t\t\tpublic Closeable register(@Nonnull final Observer<? super List<T>> observer) {\r\n\t\t\t\tfinal CompositeCloseable closeables = new CompositeCloseable();\r\n\t\t\t\tfinal List<AtomicReference<T>> lastValues = new ArrayList<AtomicReference<T>>();\r\n\t\t\t\tfinal List<Observable<? extends T>> observableList = new ArrayList<Observable<? extends T>>();\r\n\t\t\t\tfinal List<Observer<T>> observers = new ArrayList<Observer<T>>();\r\n\t\t\t\tfinal AtomicInteger wip = new AtomicInteger(observableList.size() + 1);\r\n\r\n\t\t\t\tint i = 0;\r\n\t\t\t\tfor (Observable<? extends T> o : sources) {\r\n\t\t\t\t\tfinal int j = i;\r\n\t\t\t\t\tobservableList.add(o);\r\n\t\t\t\t\tlastValues.add(new AtomicReference<T>());\r\n\t\t\t\t\tobservers.add(new Observer<T>() {\r\n\t\t\t\t\t\t/** The last value. */\r\n\t\t\t\t\t\tT last;\r\n\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\tpublic void error(@Nonnull Throwable ex) {\r\n\t\t\t\t\t\t\tobserver.error(ex);\r\n\t\t\t\t\t\t\tcloseables.closeSilently();\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\tpublic void finish() {\r\n\t\t\t\t\t\t\tlastValues.get(j).set(last);\r\n\t\t\t\t\t\t\trunIfComplete(observer, lastValues, wip);\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\tpublic void next(T value) {\r\n\t\t\t\t\t\t\tlast = value;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t\ti = 0;\r\n\t\t\t\tfor (Observable<? extends T> o : observableList) {\r\n\t\t\t\t\tcloseables.add(Observers.registerSafe(o, observers.get(i)));\r\n\t\t\t\t\ti++;\r\n\t\t\t\t}\r\n\t\t\t\trunIfComplete(observer, lastValues, wip);\r\n\t\t\t\treturn closeables;\r\n\t\t\t}\r\n\t\t\t/**\r\n\t\t\t * Runs the completion sequence once the WIP drops to zero.\r\n\t\t\t * @param observer the observer who will receive the values\r\n\t\t\t * @param lastValues the array of last values\r\n\t\t\t * @param wip the work in progress counter\r\n\t\t\t */\r\n\t\t\tpublic void runIfComplete(\r\n\t\t\t\t\tfinal Observer<? super List<T>> observer,\r\n\t\t\t\t\tfinal List<AtomicReference<T>> lastValues,\r\n\t\t\t\t\tfinal AtomicInteger wip) {\r\n\t\t\t\tif (wip.decrementAndGet() == 0) {\r\n\t\t\t\t\tList<T> values = new ArrayList<T>();\r\n\t\t\t\t\tfor (AtomicReference<T> r : lastValues) {\r\n\t\t\t\t\t\tvalues.add(r.get());\r\n\t\t\t\t\t}\r\n\t\t\t\t\tobserver.next(values);\r\n\t\t\t\t\tobserver.finish();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t};\r\n\t}", "title": "" }, { "docid": "17de0582011cbc52fecd69567e71f412", "score": "0.48347452", "text": "@Nonnull\r\n\tpublic static <T> Observable<T> startWith(\r\n\t\t\t@Nonnull Observable<? extends T> source,\r\n\t\t\t@Nonnull Scheduler pool,\r\n\t\t\tT... values\r\n\t\t\t) {\r\n\t\treturn startWith(source, Arrays.asList(values), pool);\r\n\t}", "title": "" }, { "docid": "9d4ff9628a24fffa365e58880d078548", "score": "0.4834628", "text": "@Override\n\t\t\t\tpublic void run() {\n\t\t\t\t\tcounter.accumulate(1);\n\t\t\t\t}", "title": "" }, { "docid": "b044180233ff1c4d6eb2dfa526cd9186", "score": "0.48280966", "text": "public static void test019()\r\n {\r\n System.out.println(\"RxJavaTest04::test019\");\r\n\r\n ExecutorService poolA = Executors.newFixedThreadPool(10, newThreadFactory(\"Sched-A-%d\"));\r\n Scheduler schedulerA = Schedulers.from(poolA);\r\n ExecutorService poolB = Executors.newFixedThreadPool(10, newThreadFactory(\"Sched-B-%d\"));\r\n Scheduler schedulerB = Schedulers.from(poolB);\r\n ExecutorService poolC = Executors.newFixedThreadPool(10, newThreadFactory(\"Sched-C-%d\"));\r\n Scheduler schedulerC = Schedulers.from(poolC);\r\n\r\n log(\"Starting\");\r\n Observable<String> obs = Observable.create(subscriber -> {\r\n log(\"Subscribed\");\r\n subscriber.onNext(\"A\");\r\n subscriber.onNext(\"B\");\r\n subscriber.onNext(\"C\");\r\n subscriber.onNext(\"D\");\r\n subscriber.onComplete();\r\n });\r\n log(\"Created\");\r\n obs\r\n .subscribeOn(schedulerA)\r\n .flatMap(record -> myStore(record).subscribeOn(schedulerB))\r\n .observeOn(schedulerC)\r\n .subscribe(\r\n x -> log(\"Got: \" + x),\r\n Throwable::printStackTrace,\r\n () -> log(\"Completed\")\r\n );\r\n log(\"Exiting\");\r\n \r\n myWait(5000);\r\n poolA.shutdown();\r\n poolB.shutdown();\r\n poolC.shutdown();\r\n }", "title": "" }, { "docid": "26510c7282bf00bb2d10c8b2912e2f48", "score": "0.48132175", "text": "@RequestMapping(\"/syncAddRedisValue\")\n public void syncAddRedisValue(){\n ExecutorService pool = Executors.newFixedThreadPool(100);\n for(int i = 0 ; i < 100; i++){\n pool.execute(new Runnable() {\n @Override\n public void run() {\n try {\n Thread.currentThread().sleep(4000);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n redisByJedisUtil.incr(\"yang\");\n System.out.println(Thread.currentThread().getName() + \" 执行结束!\");\n }\n });\n }\n pool.shutdown();\n }", "title": "" }, { "docid": "72b117610bc026ac372d92df415b7eb8", "score": "0.48114604", "text": "public static void test018()\r\n {\r\n System.out.println(\"RxJavaTest04::test018\");\r\n log(\"Starting\");\r\n final Observable<String> obs = mySimple();\r\n log(\"Created\");\r\n\r\n ExecutorService poolA = Executors.newFixedThreadPool(10, newThreadFactory(\"Sched-A-%d\"));\r\n Scheduler schedulerA = Schedulers.from(poolA);\r\n ExecutorService poolB = Executors.newFixedThreadPool(10, newThreadFactory(\"Sched-B-%d\"));\r\n Scheduler schedulerB = Schedulers.from(poolB);\r\n\r\n obs\r\n .doOnNext(RxJavaTest04::log)\r\n .map(x -> x + '1')\r\n .observeOn(schedulerB)\r\n .doOnNext(RxJavaTest04::log)\r\n .map(x -> x + '2')\r\n .doOnNext(RxJavaTest04::log)\r\n .subscribeOn(schedulerA)\r\n .subscribe(\r\n x -> log(\"Got \" + x),\r\n Throwable::printStackTrace,\r\n () -> log(\"Completed\")\r\n );\r\n myWait(2000);\r\n poolA.shutdown();\r\n poolB.shutdown();\r\n }", "title": "" }, { "docid": "db80697f6bba4a940e7b0b9a415fcc8a", "score": "0.48100066", "text": "@Test\n public void async_2() throws InterruptedException {\n Func1<Integer, Observable<String>> wsKald = param -> Observable.<String>create(s -> {\n s.onStart();\n s.onNext(\"called with \" + param);\n s.onCompleted();\n }).subscribeOn(Schedulers.io());\n\n Func1<Long, Observable<Integer>> multi = param -> Observable.<Integer>create(s -> {\n s.onStart();\n IntStream.range(1, param.intValue()).forEach(s::onNext);\n s.onCompleted();\n }).subscribeOn(Schedulers.io());\n\n // asynkron tæller, hvert ½ sekund\n Observable<Long> ticker = Observable.interval(500, TimeUnit.MILLISECONDS);\n\n ticker.take(10)\n .flatMap(multi)\n .flatMap(wsKald)\n .toBlocking()\n .subscribe(log::info);\n }", "title": "" }, { "docid": "faafd2602ff7d64c8303b87ac4268e9d", "score": "0.48084405", "text": "@Override\r\n\tpublic void run() {\n\t\tint i=0;\r\n\t\twhile(i<1000) {\r\n\t\t\tq.get();\r\n\t\t\ti++;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "29a3e7fe6c583ce24d323617f01e6ce9", "score": "0.48013788", "text": "public static void sample() {\n System.out.println(\"# 1\");\n Observable.fromIterable(sData)\n .timestamp()\n .sample(1000, TimeUnit.MICROSECONDS)\n .subscribe(new MyObserver<>());\n\n /*\n Emission controlled by sampler inner observable\n */\n System.out.println(\"# 2\");\n Observable.fromIterable(sData)\n .sample((observer) -> {\n System.out.println(\"emitter\");\n Observable.just(\"123\").subscribe(observer);\n }, true).subscribe(new MyObserver<>());\n }", "title": "" }, { "docid": "d7d05fed7ab7e7ea6656d20ca99c3b20", "score": "0.48000205", "text": "@Test\n public void takeWhile() {\n Observable.interval(100, TimeUnit.SECONDS, mTestScheduler)\n .map(num -> num + 1)\n .take(7)\n .takeWhile(aLong -> aLong != 4)\n .subscribe(mList::add);\n\n mTestScheduler.advanceTimeBy(1000, TimeUnit.SECONDS);\n assertEquals(mList, Arrays.asList(1L, 2L, 3L));\n }", "title": "" }, { "docid": "67d69247373e19ace0d7958205eac988", "score": "0.47971687", "text": "@Override\n public void subscribe(ObservableEmitter<Integer> e) throws Exception {\n\n e.onNext(1);\n SystemClock.sleep(1000);\n e.onNext(2);\n SystemClock.sleep(1000);\n e.onNext(3);\n SystemClock.sleep(1000);\n e.onNext(4);\n\n //Once the Observable has emitted all items in the sequence, call onComplete//\n e.onComplete();\n //e.onError(new Throwable(\"Some Error!!\"));\n }", "title": "" }, { "docid": "d19843e5d80991f3588abfe3bcd0ff9e", "score": "0.4789266", "text": "@Override\r\n\t\t\t@Nonnull \r\n\t\t\tpublic Closeable register(@Nonnull final Observer<? super Void> observer) {\n\t\t\t\tDefaultObserverEx<T> obs = new DefaultObserverEx<T>(true) {\r\n\t\t\t\t\t/** The work in progress counter. */\r\n\t\t\t\t\tfinal AtomicInteger wip = new AtomicInteger(1);\r\n\t\t\t\t\t/** The executor which ensures the sequence. */\r\n\t\t\t\t\tfinal SingleLaneExecutor<T> exec = new SingleLaneExecutor<T>(pool, new Action1<T>() {\r\n\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\tpublic void invoke(T value) {\r\n\t\t\t\t\t\t\tpump.invoke(value).register(\r\n\t\t\t\t\t\t\t\tnew Observer<Void>() {\r\n\t\t\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\t\t\tpublic void error(@Nonnull Throwable ex) {\r\n\t\t\t\t\t\t\t\t\t\tlock.lock();\r\n\t\t\t\t\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\t\t\t\t\tobserver.error(ex);\r\n\t\t\t\t\t\t\t\t\t\t\tclose();\r\n\t\t\t\t\t\t\t\t\t\t} finally {\r\n\t\t\t\t\t\t\t\t\t\t\tlock.unlock();\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\t\t\tpublic void finish() {\r\n\t\t\t\t\t\t\t\t\t\tif (wip.decrementAndGet() == 0) {\r\n\t\t\t\t\t\t\t\t\t\t\tobserver.finish();\r\n\t\t\t\t\t\t\t\t\t\t\tclose();\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\t\t\tpublic void next(Void value) {\r\n\t\t\t\t\t\t\t\t\t\tthrow new AssertionError();\r\n\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void onClose() {\r\n//\t\t\t\t\t\texec.close(); FIX ME should not cancel the pool?!\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void onError(@Nonnull Throwable ex) {\r\n\t\t\t\t\t\tobserver.error(ex);\r\n\t\t\t\t\t\tclose();\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void onFinish() {\r\n\t\t\t\t\t\tif (wip.decrementAndGet() == 0) {\r\n\t\t\t\t\t\t\tobserver.finish();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void onNext(T value) {\r\n\t\t\t\t\t\twip.incrementAndGet();\r\n\t\t\t\t\t\texec.add(value);\r\n\t\t\t\t\t}\r\n\t\t\t\t};\r\n\t\t\t\treturn obs.registerWith(source);\r\n\t\t\t}", "title": "" }, { "docid": "3f5e2b7976d7a3a53730909f1f82aecb", "score": "0.47874016", "text": "public static void main(String[] args) {\n System.out.println(\"Example of Observable.just()****\");\n Observable<String> justObs = Observable.just(\"one\", \"two\", \"three\", \"four\");\n justObs.subscribe(v -> System.out.println(\"Received:\" + v), e -> System.out.println(e), () -> System.out.println(\"Completed\"));\n\n System.out.println(\"\\nExample of Observable.create()****\");\n Observable<String> createdObs = Observable.create(o -> {\n o.onNext(\"Hello\");\n o.onCompleted();\n });\n createdObs.subscribe(System.out::println, e -> System.out.println(e), () -> System.out.println(\"Completed\"));\n\n System.out.println(\"\\nConverting FutureTask into Observable****\");\n FutureTask<Integer> task = new FutureTask<>(() -> {\n Thread.sleep(3000);\n return 28;\n });\n new Thread(task).start();\n\n Observable<Integer> futureObs = Observable.from(task);\n Subscription subscription = futureObs.subscribe(v -> System.out.println(\"Received :\" + v), e -> System.out.println(\"Error :\" + e),\n () -> System.out.println(\"Completed\"));\n\n System.out.println(\"\\nConverting Integer array into Observable****\");\n Integer[] in = new Integer[] { 1, 2, 3 };\n\n Observable<Integer> integerObs = Observable.from(in);\n Subscription arraySub = integerObs.subscribe(v -> System.out.println(\"Received :\" + v), e -> System.out.println(\"Error :\" + e),\n () -> System.out.println(\"Completed\"));\n }", "title": "" }, { "docid": "5327cefc220fc6562be242447f22cd16", "score": "0.4771476", "text": "public static <T> void run(\r\n\t\t\t@Nonnull final Observable<? extends T> source,\r\n\t\t\t@Nonnull final Observer<? super T> observer) throws InterruptedException {\r\n\t\tfinal CountDownLatch latch = new CountDownLatch(1);\r\n\t\tCloseable c = source.register(new DefaultObserver<T>(true) {\r\n\t\t\t@Override\r\n\t\t\tpublic void onError(@Nonnull Throwable ex) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tobserver.error(ex);\r\n\t\t\t\t} finally {\r\n\t\t\t\t\tlatch.countDown();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void onFinish() {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tobserver.finish();\r\n\t\t\t\t} finally {\r\n\t\t\t\t\tlatch.countDown();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void onNext(T value) {\r\n\t\t\t\tobserver.next(value);\r\n\t\t\t}\r\n\r\n\t\t});\r\n\t\ttry {\r\n\t\t\tlatch.await();\r\n\t\t} finally {\r\n\t\t\tCloseables.closeSilently(c);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "48a5b505676627e923b976e6e7ef62dc", "score": "0.4756419", "text": "@Override\n\tpublic void run() {\n\t\twhile(true){\n \tlock.lock();\n \ttry{\n\t \tif(observers.isEmpty()){\n\t \t\treturn;\n\t \t}\n \t}\n \tfinally{\n \t\tlock.unlock();\n \t}\n }\n\t}", "title": "" }, { "docid": "939e2fadc7a50910f9fe38b53c67c95b", "score": "0.47543132", "text": "public static void scan() {\n Observable.range(1, 10)\n .scan((previous, current) -> {\n System.out.println(\"previous = \" + previous);\n System.out.println(\"current = \" + current);\n return previous + current;\n }).subscribe(new MyObserver<>());\n }", "title": "" }, { "docid": "5acd398af48480e566e8d129bd0e88ef", "score": "0.47479853", "text": "private void timerExample() {\n getObservable()\n //Run on a background thread\n .subscribeOn(Schedulers.io())\n //Be notified on the main thread\n .observeOn(AndroidSchedulers.mainThread())\n .subscribe(getLongObserver());\n }", "title": "" }, { "docid": "e15cfb4009619a6967ab053190ea52c0", "score": "0.4741618", "text": "@Override\n\tpublic void run() {\n\t\ttry {\n\t\t\twhile (true) {\n\t\t\t\tThread.sleep(1000);\n\t\t\t\tsetChanged();\n\t\t\t\tnotifyObservers(Events.CLOCK_TICKED_EVENT);\n\t\t\t}\n\t\t} catch (InterruptedException ie) {\n\t\t}\n\t}", "title": "" }, { "docid": "14cdbd6a7bc7ecb3f36f40cd5d65a6a0", "score": "0.47144094", "text": "@Override\n public void run() {\n add10000();\n }", "title": "" }, { "docid": "652df8c7ea1abaf72f6402d29b806813", "score": "0.4714029", "text": "@BackpressureSupport(BackpressureKind.FULL)\n @SchedulerSupport(SchedulerKind.NONE)\n public final Observable<T> retry(long times, Predicate<? super Throwable> predicate) {\n if (times < 0) {\n throw new IllegalArgumentException(\"times >= 0 required but it was \" + times);\n }\n Objects.requireNonNull(predicate, \"predicate is null\");\n\n return create(new PublisherRetryPredicate<T>(this, times, predicate));\n }", "title": "" }, { "docid": "8ecc945bef4fcc9e3555312000d169bc", "score": "0.47100067", "text": "public static <T> Observable<T> switchToNext(final Observable<? extends Observable<? extends T>> sources) {\r\n\t\treturn new Observable<T>() {\r\n\t\t\t@Override\r\n\t\t\t@Nonnull \r\n\t\t\tpublic Closeable register(@Nonnull final Observer<? super T> observer) {\r\n\t\t\t\tDefaultObserver<Observable<? extends T>> outer\r\n\t\t\t\t= new DefaultObserver<Observable<? extends T>>(false) {\r\n\t\t\t\t\t/** The inner observer. */\r\n\t\t\t\t\t@GuardedBy(\"lock\")\r\n\t\t\t\t\tCloseable inner;\r\n\r\n\t\t\t\t\tDefaultObserver<T> innerObserver = new DefaultObserver<T>(lock, true) {\r\n\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\tprotected void onError(@Nonnull Throwable ex) {\r\n\t\t\t\t\t\t\tinnerError(ex);\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\tprotected void onFinish() {\r\n\t\t\t\t\t\t\tinnerFinish();\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\tprotected void onNext(T value) {\r\n\t\t\t\t\t\t\tobserver.next(value);\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t};\r\n\t\t\t\t\t/** Called from the inner observer when an error condition occurs. */\r\n\t\t\t\t\tvoid innerError(Throwable ex) {\r\n\t\t\t\t\t\terror(ex);\r\n\t\t\t\t\t}\r\n\t\t\t\t\t/** Called from the inner observer when it finished. */\r\n\t\t\t\t\tvoid innerFinish() {\r\n\t\t\t\t\t\tobserver.finish();\r\n\t\t\t\t\t\tclose();\r\n\t\t\t\t\t}\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tprotected void onClose() {\r\n\t\t\t\t\t\tCloseables.closeSilently(inner);\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tprotected void onError(@Nonnull Throwable ex) {\r\n\t\t\t\t\t\tobserver.error(ex);\r\n\t\t\t\t\t\tclose();\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tprotected void onFinish() {\r\n\t\t\t\t\t\t// nothing to do\r\n\t\t\t\t\t}\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tprotected void onNext(Observable<? extends T> value) {\r\n\t\t\t\t\t\tCloseables.closeSilently(inner);\r\n\t\t\t\t\t\tinner = value.register(innerObserver);\r\n\t\t\t\t\t}\r\n\t\t\t\t};\r\n\t\t\t\treturn sources.register(outer);\r\n\t\t\t}\r\n\t\t};\r\n\t}", "title": "" }, { "docid": "84da68945ecaabcea29b182ec9af01bd", "score": "0.47097597", "text": "public static Observable<UUID> myStore(String s)\r\n {\r\n return Observable.create(subscriber -> {\r\n log(\"Storing \" + s);\r\n // hard work\r\n myWait(1000);\r\n subscriber.onNext(UUID.randomUUID());\r\n subscriber.onComplete();\r\n });\r\n }", "title": "" }, { "docid": "94cf035d595d5eb6f80ca1324341eb06", "score": "0.47075784", "text": "public void emitLoop() {\n Subscriber<? super R> child2 = this.child;\n Queue<Object> queue2 = this.queue;\n NotificationLite<R> nl = NotificationLite.instance();\n AtomicLong requested2 = this.requested;\n long r = requested2.get();\n while (true) {\n boolean max = r == LongCompanionObject.MAX_VALUE;\n if (!checkTerminated(this.done, queue2.isEmpty(), child2)) {\n long e = 0;\n while (r != 0) {\n boolean d = this.done;\n Object o = queue2.poll();\n boolean empty = o == null;\n if (checkTerminated(d, empty, child2)) {\n return;\n }\n if (empty) {\n break;\n }\n R v = nl.getValue(o);\n try {\n child2.onNext(v);\n r--;\n e--;\n } catch (Throwable ex) {\n Exceptions.throwOrReport(ex, child2, v);\n return;\n }\n }\n if (e != 0 && !max) {\n r = requested2.addAndGet(e);\n }\n synchronized (this) {\n if (!this.missed) {\n this.emitting = false;\n return;\n }\n this.missed = false;\n }\n } else {\n return;\n }\n }\n }", "title": "" }, { "docid": "59d1c0a009c9abeb43b094b17b8ea35d", "score": "0.4702969", "text": "public static <T> PersistentQueueX<T> iterate(final long limit, final T seed, final UnaryOperator<T> f) {\n return ReactiveSeq.iterate(seed, f)\n .limit(limit).to()\n .persistentQueueX(Evaluation.LAZY);\n\n }", "title": "" }, { "docid": "c31e8d53cc82632aad9a5f1bd1c3a977", "score": "0.47014785", "text": "@Nonnull\r\n\tpublic static <T> Observable<T> singleAsync(\r\n\t\t\t@Nonnull final Observable<? extends T> source) {\r\n\t\treturn new Observable<T>() {\r\n\t\t\t@Override\r\n\t\t\t@Nonnull\r\n\t\t\tpublic Closeable register(@Nonnull final Observer<? super T> observer) {\r\n\t\t\t\treturn (new DefaultObserverEx<T>() {\r\n\t\t\t\t\t/** True if the first element received. */\r\n\t\t\t\t\tboolean firstReceived;\r\n\t\t\t\t\t/** The first element encountered. */\r\n\t\t\t\t\tT first;\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tprotected void onError(@Nonnull Throwable ex) {\r\n\t\t\t\t\t\tobserver.error(ex);\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tprotected void onFinish() {\r\n\t\t\t\t\t\tif (firstReceived) {\r\n\t\t\t\t\t\t\tobserver.next(first);\r\n\t\t\t\t\t\t\tobserver.finish();\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tobserver.error(new NoSuchElementException());\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tprotected void onNext(T value) {\r\n\t\t\t\t\t\tif (!firstReceived) {\r\n\t\t\t\t\t\t\tfirst = value;\r\n\t\t\t\t\t\t\tfirstReceived = true;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\terror(new TooManyElementsException());\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t}).registerWith(source);\r\n\t\t\t}\r\n\t\t};\r\n\t}", "title": "" }, { "docid": "3e7ff67ea85ca3fe7e0605e303f77f95", "score": "0.4701124", "text": "@Nonnull\r\n\tpublic static Observable<Void> start(\r\n\t\t\t@Nonnull final Action0 action,\r\n\t\t\t@Nonnull final Scheduler pool) {\r\n\t\treturn new Observable<Void>() {\r\n\t\t\t@Override\r\n\t\t\t@Nonnull \r\n\t\t\tpublic Closeable register(@Nonnull final Observer<? super Void> observer) {\r\n\t\t\t\treturn pool.schedule(new Runnable() {\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void run() {\r\n\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\taction.invoke();\r\n\t\t\t\t\t\t\tobserver.finish();\r\n\t\t\t\t\t\t} catch (Throwable ex) {\r\n\t\t\t\t\t\t\tobserver.error(ex);\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}", "title": "" }, { "docid": "7ef88938bec8dda0bf811c5713baa129", "score": "0.46993998", "text": "public static Observable<Long> getObservableTakeDuration() {\n return observableIntervalSrc;//todo\n }", "title": "" }, { "docid": "cd5db6178cbcd416dd98dca8cf875993", "score": "0.46945518", "text": "@Override\n\t\tpublic void run() {\n\t\t\tisRepeatFlag = true;\n\t\t}", "title": "" }, { "docid": "bd5e03521bd86608f83bec0d4f57c0a8", "score": "0.46885756", "text": "ScheduledFuture<?> scheduleAtFixedRate(Runnable publisher, long period, TimeUnit timeUnit, ProbeLevel probeLevel);", "title": "" }, { "docid": "66e0d67459a9bce1dd2805e647936b19", "score": "0.468395", "text": "@Nonnull \r\n\tpublic static <T> Observable<T> replay(\r\n\t\t\t@Nonnull final Observable<? extends T> source,\r\n\t\t\tfinal int bufferSize,\r\n\t\t\t@Nonnull final Scheduler scheduler\r\n\t) {\r\n\t\treturn new Observable<T>() {\r\n\t\t\t/** The read-write lock. */\r\n\t\t\tfinal ReadWriteLock rwLock = new ReentrantReadWriteLock(true);\r\n\t\t\t/** The read lock for reading elements of the buffer. */\r\n\t\t\tfinal Lock readLock = rwLock.readLock();\r\n\t\t\t/** The write lock to write elements of the buffer and add new listeners. */\r\n\t\t\tfinal Lock writeLock = rwLock.writeLock();\r\n\t\t\t/** The buffer that holds the observed values so far. */\r\n\t\t\t@GuardedBy(\"rwLock\")\r\n\t\t\tfinal CircularBuffer<Option<T>> buffer = new CircularBuffer<Option<T>>(bufferSize);\r\n\t\t\t/** The single registration handler. */\r\n\t\t\t@GuardedBy(\"writeLock\")\r\n\t\t\tCloseable sourceClose;\r\n\t\t\t/** The set of listeners active. */\r\n\t\t\t@GuardedBy(\"writeLock\")\r\n\t\t\tSet<SingleLaneExecutor<Integer>> listeners = new HashSet<SingleLaneExecutor<Integer>>();\r\n\t\t\t@Override\r\n\t\t\tprotected void finalize() throws Throwable {\r\n\t\t\t\tCloseables.closeSilently(sourceClose);\r\n\t\t\t\tsuper.finalize();\r\n\t\t\t}\r\n\t\t\t@Override\r\n\t\t\t@Nonnull \r\n\t\t\tpublic Closeable register(@Nonnull final Observer<? super T> observer) {\r\n\t\t\t\twriteLock.lock();\r\n\t\t\t\ttry {\r\n\t\t\t\t\tif (sourceClose == null) {\r\n\t\t\t\t\t\tsourceClose = source.register(new Observer<T>() {\r\n\t\t\t\t\t\t\t/**\r\n\t\t\t\t\t\t\t * Buffer and submit the option to all registered listeners.\r\n\t\t\t\t\t\t\t * @param opt the option to submit\r\n\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\tvoid doOption(Option<T> opt) {\r\n\t\t\t\t\t\t\t\twriteLock.lock();\r\n\t\t\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\t\t\tbuffer.add(opt);\r\n\t\t\t\t\t\t\t\t\tfor (SingleLaneExecutor<Integer> l : listeners) {\r\n\t\t\t\t\t\t\t\t\t\tl.add(buffer.tail());\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t} finally {\r\n\t\t\t\t\t\t\t\t\twriteLock.unlock();\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\tpublic void error(@Nonnull Throwable ex) {\r\n\t\t\t\t\t\t\t\tdoOption(Option.<T>error(ex));\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\tpublic void finish() {\r\n\t\t\t\t\t\t\t\tdoOption(Option.<T>none());\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\tpublic void next(T value) {\r\n\t\t\t\t\t\t\t\tdoOption(Option.some(value));\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t} finally {\r\n\t\t\t\t\twriteLock.unlock();\r\n\t\t\t\t}\r\n\t\t\t\tfinal AtomicBoolean cancel = new AtomicBoolean();\r\n\t\t\t\tfinal SingleLaneExecutor<Integer> playback = SingleLaneExecutor.create(scheduler, new Action1<Integer>() {\r\n\t\t\t\t\t/** The local buffer reader index. */\r\n\t\t\t\t\t@GuardedBy(\"readLock\")\r\n\t\t\t\t\tint index = 0;\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void invoke(Integer value) {\r\n\t\t\t\t\t\treadLock.lock();\r\n\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\tindex = Math.max(index, buffer.head());\r\n\t\t\t\t\t\t\twhile (index < value && !cancel.get()) {\r\n\t\t\t\t\t\t\t\tdispatch(observer, buffer.get(index++));\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} finally {\r\n\t\t\t\t\t\t\treadLock.unlock();\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\twriteLock.lock();\r\n\t\t\t\ttry {\r\n\t\t\t\t\tplayback.add(buffer.size());\r\n\t\t\t\t\tlisteners.add(playback);\r\n\t\t\t\t} finally {\r\n\t\t\t\t\twriteLock.unlock();\r\n\t\t\t\t}\r\n\t\t\t\tfinal Closeable c = new Closeable() {\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void close() throws IOException {\r\n\t\t\t\t\t\tcancel.set(true);\r\n\t\t\t\t\t\twriteLock.lock();\r\n\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\tlisteners.remove(playback);\r\n\t\t\t\t\t\t} finally {\r\n\t\t\t\t\t\t\twriteLock.unlock();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tCloseables.closeSilently(playback);\r\n\t\t\t\t\t}\r\n\t\t\t\t};\r\n\t\t\t\treturn c;\r\n\t\t\t}\r\n\t\t};\r\n\t}", "title": "" } ]
1dbd1c6476b582321b9c5817fbe8c278
Test of findAll method, of class QuestionDao.
[ { "docid": "a4b11e0232923f3581b34ec0f8500ea2", "score": "0.8424984", "text": "@Test\n public void testFindAll() throws Exception {\n\t\tlogger.info(\"findAll\");\n List<Question> expResult = null;\n List<Question> result = mockedQuestionDao.findAll();\n }", "title": "" } ]
[ { "docid": "e09deaccb292c590ee5ac3731eb366d5", "score": "0.73554677", "text": "@Test\n public void testFindAll_callingFindAllMethod_returnsAll() {\n List<Item> itemList = itemRepository.findAll();\n assertEquals(4, itemList.size());\n }", "title": "" }, { "docid": "637d948e1e153a7559e315db9017b374", "score": "0.7132684", "text": "@Test\n\tpublic void findAll() {\n\t\tlog.info(\"Test getting all curriculums.\");\n\t\tList<Curriculum> curriculums = curriculumRepository.findAll();\n\n\t\tassertFalse(curriculums.isEmpty());\n\t}", "title": "" }, { "docid": "f5fb0b7361f19a2aeda68376e7b47669", "score": "0.7073407", "text": "@Test\r\n public void testFindAll() throws Exception\r\n {\r\n List<ViviendaEntity> list = viviendaPersistence.findAll();\r\n Assert.assertEquals(data.size() , list.size());\r\n for(ViviendaEntity ent : list)\r\n {\r\n boolean found = false;\r\n for(ViviendaEntity entity : data)\r\n {\r\n if(ent.getId().equals(entity.getId()))\r\n {\r\n found = true;\r\n }\r\n }\r\n Assert.assertTrue(found);\r\n }\r\n }", "title": "" }, { "docid": "14b504949a250c7643125157b62e603f", "score": "0.70459956", "text": "@Test\n public void testFindAll() {\n System.out.println(\"findAll\");\n Escenario escenario = new Escenario(16);\n ProduccionMesInicialManager instance = new ProduccionMesInicialManager();\n List<ProduccionMesInicial> expResult = null;\n List<ProduccionMesInicial> result = instance.findAll(escenario);\n assertNotNull(result);\n \n }", "title": "" }, { "docid": "9f3ea0856b99b92759a12903a4d6e611", "score": "0.70043707", "text": "@Test\n\tpublic void findAll() {\n\t\tlog.debug(\"Testing findAll method from CategoryDAO\");\n\t\tint expected = dao.findAll().size();\n\t\tint actual = jdbcTemplate.queryForObject(CATEGORY_COUNT, Integer.class);\n\t\tassertEquals(expected, actual);\n\t}", "title": "" }, { "docid": "ee789c3156ae9b1bb7a74396e5768b69", "score": "0.69623774", "text": "public abstract void findAll();", "title": "" }, { "docid": "89cdb740ad94eeec0857f980c9f843fb", "score": "0.69236106", "text": "@Test\r\n public void testFindAll() {\r\n System.out.println(\"findAll\");\r\n List expResult = null;\r\n// List result = instance.findAll();\r\n// assertTrue(result.size() > 0);\r\n }", "title": "" }, { "docid": "964511bfd4b97dad65457fad793ae835", "score": "0.69215214", "text": "@Override\n\tpublic List<QuestionInfoVO> findAll() {\n\t\treturn this.jdbcTemplate.query(\"select * from question_info \",\n\t\t\t\tnew RowMapper<QuestionInfoVO>(){\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic QuestionInfoVO mapRow(ResultSet rs, int index) \n\t\t\t\t\t\t\tthrows SQLException {\n\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\treturn load(rs);\n\t\t\t\t\t}\n\t\t\t\n\t\t});\n\t}", "title": "" }, { "docid": "c3753f75bd3c415ea9a0504243d2abad", "score": "0.6888546", "text": "@Test\n public void testFindAll() {\n System.out.println(\"findAll\");\n List expResult = null;\n List result = Consulta.findAll();\n assertEquals(result, expResult);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "530fc54cfe036e5944f00824dd2f6591", "score": "0.68771595", "text": "@Override\n\tpublic List<Question> searchQuestionAll() {\n\n\t\treturn questionRepository.findAll();\n\t}", "title": "" }, { "docid": "6fa0ca1c04d15cf76e7c74c67296fbf7", "score": "0.68633157", "text": "@Test\n public void testGetdAll() {\n System.out.println(\"findAll\");\n FunctionDAO functionDAO = new FunctionDAO();\n ArrayList<Function> arrayFunction = functionDAO.getAll();\n String expResult = \"\";\n String result = \"\";\n for (int i = 0; i < arrayFunction.size(); i++) {\n expResult += functionDAO.find(arrayFunction.get(i).getId());\n result += arrayFunction.get(i);\n }\n assertEquals(expResult, result);\n\n }", "title": "" }, { "docid": "68d8a5d80c436086f8ce9078f25a10dd", "score": "0.6824208", "text": "List<T> findAll();", "title": "" }, { "docid": "68d8a5d80c436086f8ce9078f25a10dd", "score": "0.6824208", "text": "List<T> findAll();", "title": "" }, { "docid": "68d8a5d80c436086f8ce9078f25a10dd", "score": "0.6824208", "text": "List<T> findAll();", "title": "" }, { "docid": "14bf56ad3846fe36f6817aa363186186", "score": "0.6807704", "text": "@Test\n public void findAllTest (){\n Work workFirst = new Work();\n Work workSecond = new Work();\n workFirst.setWorks(\"First work\");\n workFirst.setSizeWork(5);\n workService.save(workFirst);\n workSecond.setWorks(\"Second work\");\n workSecond.setSizeWork(4);\n workService.save(workSecond);\n List<Work> all = workService.getAll();\n assertNotNull(all);\n }", "title": "" }, { "docid": "04b1add73d9b80e42d7e5f06df2de271", "score": "0.6769003", "text": "@Test\n public void testFindAllEmployee() {\n List<Employee> employees = employeeRepository.findAllEmployee();\n assertEquals(\"employee 1\", employees.get(0).getName());\n assertEquals(\"employee 2\", employees.get(1).getName());\n assertEquals(\"employee 3\", employees.get(2).getName());\n }", "title": "" }, { "docid": "6cf677531ec24e6bba3255a7fb9774b4", "score": "0.67413545", "text": "public void testGetAll() throws Exception {\r\n List<Study> actual = dao.getAll();\r\n assertEquals(5, actual.size());\r\n List<Integer> ids = collectIds(actual);\r\n assertContains(\"Wrong study found\", ids, 1000);\r\n assertContains(\"Wrong study found\", ids, 1001);\r\n assertContains(\"Wrong study found\", ids, 1002);\r\n }", "title": "" }, { "docid": "f397316c37cf4fcb98c5aeb57982f98d", "score": "0.67317617", "text": "@Test\n public void testFindAll() {\n System.out.println(\"findAll\");\n\n List<OurObject> expResult = new ArrayList();\n List<OurObject> result = service.findAll();\n assertEquals(expResult, result);\n\n }", "title": "" }, { "docid": "2287a41c5d41a896d07d635ef54fedef", "score": "0.66918945", "text": "@Test\n public void testFindall() throws Exception {\n System.out.println(\"findAll\");\n TipoProcedimientoRest rest = mokTPRest;\n List<Tipoprocedimiento> result = rest.findall();\n Tipoprocedimiento tp = new Tipoprocedimiento(1);\n assertThat(result, CoreMatchers.hasItem(tp));\n assertNotNull(result);\n }", "title": "" }, { "docid": "cef33bb650b3018b9ddf9a7c1921de41", "score": "0.6683844", "text": "public List<T> findAll();", "title": "" }, { "docid": "8c6181af30e6a4b2296123bc61298b85", "score": "0.6680576", "text": "Collection<T> findAll();", "title": "" }, { "docid": "73c2d12c285e5d31468f294591764c00", "score": "0.6663251", "text": "@Test\n public void findAllTest () {\n testCompletados++;\n List<Categoria> lista = repositorioCategoria.findAll();\n assertEquals(cantidad, lista.size());\n }", "title": "" }, { "docid": "2445cac77238b40d3e641c7ee4c36a9c", "score": "0.66082835", "text": "Set<T> findAll();", "title": "" }, { "docid": "01e7812d6187fd8e748bbb1e7f5e5526", "score": "0.6576709", "text": "@Test\n public void testPopulateDB() {\n System.out.println(\"populateDB\");\n QuestionService instance = new QuestionService();\n instance.populateDB();\n Set<String> resultCat = instance.getAllCategories();\n List<Question> resultQue = instance.getAllQuestions();\n assertNotNull(resultCat);\n assertNotNull(resultQue);\n }", "title": "" }, { "docid": "30770cacf886ffba45a21a756699902b", "score": "0.65320885", "text": "@Test\r\n public void findAllEmpleadosTest(){\r\n \r\n TypedQuery<EmpleadoEntity> query = em.createQuery(\"Select u from EmpleadoEntity u\", EmpleadoEntity.class);\r\n Assert.assertEquals(query.getResultList(), ep.findAllEmpleados());\r\n }", "title": "" }, { "docid": "2c4cafd0e69b12d4cbd62df8280af706", "score": "0.6506887", "text": "@Test\n\tpublic void findAll() \n\t{\n\t\tList<Department> departments = departmentService.findAll();\n\t\t\n\t\t//Print\n\t\tdepartments.forEach(System.out::println);\n\t}", "title": "" }, { "docid": "c1f0ea82b2d497c5cbbc23f27f6c61bc", "score": "0.64820135", "text": "@Test()\r\n\tpublic void testgetAll() {\r\n\t\tassertEquals(\"class com.ipartek.formacion.alberto.repository.DAORecetaImpl\", daoReceta.getClass().toString());\r\n\r\n\t\tArrayList<Receta> lista = (ArrayList<Receta>) daoReceta.getAll();\r\n\t\tassertNotNull(\"No deberia retornar null\", lista);\r\n\t\tassertTrue(lista.size() >= 0);\r\n\r\n\t}", "title": "" }, { "docid": "a4dad6b2360cafa9670bb9a60acd0e10", "score": "0.64650416", "text": "@Test\n public void repoTest() {\n System.out.println(itemRepository.findAll().toString());\n\n }", "title": "" }, { "docid": "1aa4a85f4e27e32ff87693c349dfda83", "score": "0.6451858", "text": "@Transactional(readOnly = true)\n public List<TquizDTO> findAll() {\n log.debug(\"Request to get all Tquizs\");\n return tquizRepository.findAll().stream()\n .map(tquizMapper::toDto)\n .collect(Collectors.toCollection(LinkedList::new));\n }", "title": "" }, { "docid": "486470efd38dc14ee2571d27a14c3fa6", "score": "0.64264876", "text": "Iterable<Employee> findAll();", "title": "" }, { "docid": "00440ebebf727806eedae2d321454d32", "score": "0.64248896", "text": "@Test\n void getAllItemsSuccess() {\n List<User> users = genericDao.getAll();\n assertEquals(2, users.size());\n }", "title": "" }, { "docid": "98a4f0847ed4d0c1fb290a263e44761c", "score": "0.6373588", "text": "@Override\n public List<T> findAll() throws DaoException {\n String query = SELECT_ALL_FROM + getTableName();\n return executeQuery(query);\n }", "title": "" }, { "docid": "57b12160a7edab2c8afef7982038ac52", "score": "0.6367705", "text": "public List<Question> getAllQuestions();", "title": "" }, { "docid": "d811a730189fd9ccde674090020e3b67", "score": "0.6363422", "text": "@Test\n public void testSelectAllUsers() {\n ArrayList<User> getAllUsers = userDao.selectAllUsers();\n for (User user : getAllUsers) {\n System.out.println(user.toString());\n }\n }", "title": "" }, { "docid": "5beb6d531d8caa774e9c81a50477d79d", "score": "0.63534284", "text": "public List<QuestionEntity> getAllQuestions() {\n try {\n return entityManager.createNamedQuery(\"allQuestions\", QuestionEntity.class).getResultList();\n } catch (NoResultException nre) {\n return null;\n }\n }", "title": "" }, { "docid": "041467856a1e338874adbc7fc9d1d4a8", "score": "0.635326", "text": "List<T> findAll() throws LogiwebDAOException;", "title": "" }, { "docid": "047d653cc300e4e0f2b6dce48744e7f5", "score": "0.6349945", "text": "@Test\r\npublic void listarAllTest(){\r\n when(iPaisDao.findAll()).thenReturn(this.paisList);\r\n Assertions.assertThat(1).isEqualTo(this.servicePais.findByAll().size());\r\n}", "title": "" }, { "docid": "e861ea1564b8c3d1fb0ab6e0e76ea811", "score": "0.63414", "text": "@Test\n public void testFindAllEmployeeWithIdName() {\n List<Tuple> employees = employeeRepository.findAllEmployeeWithIdName();\n assertEquals(1, employees.get(0).get(0));\n assertEquals(\"employee 1\", employees.get(0).get(1));\n\n assertEquals(2, employees.get(1).get(0));\n assertEquals(\"employee 2\", employees.get(1).get(1));\n\n assertEquals(3, employees.get(2).get(0));\n assertEquals(\"employee 3\", employees.get(2).get(1));\n }", "title": "" }, { "docid": "33a296bee9e2728c99e7fda420e92da1", "score": "0.63363636", "text": "@Override\n\tpublic List<StatementEntity> getAllQuestions() {\n\t\t\n\t\tQuery query = new Query();\n\t\t//只查询有问答对的记录\n\t\tquery.addCriteria(Criteria.where(\"occurrence\").exists(true));\n\t\t\n\t\tList<StatementEntity> statementEntityList = mongoTemplate.find(query, StatementEntity.class);\n\t\treturn statementEntityList;\n\t}", "title": "" }, { "docid": "758cb6b60aa2bf6497a7679236951019", "score": "0.6314274", "text": "@Test\r\n\tpublic void findAllAndPorcentagemTest() {\r\n\t\tList<Mascote> mascotes = new ArrayList<Mascote>();\r\n\t\tfinal Mascote mascote1 = new Mascote();\r\n\t\tmascote1.setId(1L);\r\n\t\tmascote1.setVotos(2L);\r\n\t\tfinal Mascote mascote2 = new Mascote();\r\n\t\tmascote2.setId(2L);\r\n\t\tmascote2.setVotos(8L);\r\n\t\t\r\n\t\tmascotes.add(mascote1);\r\n\t\tmascotes.add(mascote2);\r\n\t\t\r\n\t\twhen(mascoteDao.findAll()).thenReturn(mascotes);\r\n\t\tfinal List<MascoteTO> listaFinal = mascoteBo.listaTudo();\r\n\t\tassertEquals(new Long(20L), listaFinal.get(0).getPercVotos());\r\n\t\tassertEquals(new Long(80L), listaFinal.get(1).getPercVotos());\r\n\t\t\r\n\t}", "title": "" }, { "docid": "ed8becd3cc33b41830fd1d82feea4df8", "score": "0.63054585", "text": "public abstract ArrayList<T> findAll();", "title": "" }, { "docid": "7a4201a320f8295f0e1253b87245bf86", "score": "0.6304589", "text": "@Test\n public void testFindAll() {\n }", "title": "" }, { "docid": "22cfe119eea3596fd8fd01ec983e939a", "score": "0.62969583", "text": "@Test\r\n\tpublic void testfetchAllUsers() {\n\t\tList<UsersDAO> users = DBUtils.fetchAllUsers(true);\r\n\t\tassertEquals(1, users.size());\r\n\t\t\r\n\t\tusers = DBUtils.fetchAllUsers(false);\r\n\t\tassertEquals(3, users.size());\r\n\t}", "title": "" }, { "docid": "649301ecbeeac9667a2cd51ec39c5b89", "score": "0.6286489", "text": "public abstract List<Employee> findAll();", "title": "" }, { "docid": "44f8ba8f976ea76cf2f954ea8cb5e552", "score": "0.6263657", "text": "@Test\n @DisplayName(\"Test findAll\")\n void testFindAll() {\n Citizen citizen1 = new Citizen(\"\", \"Fru\", \"Anye\", LocalDate.of(1981, Month.AUGUST, 06), \"Bamenda\", Region.NORTHWEST, Sex.MALE, \"fru@gmail.com\", \"fru@gmail.com\", \"1234\", \"5678\", 10002000L, 22224567L, 12L, MarriageStatus.SINGLE, \"\", LocalDate.now(), LocalDate.now(), null);\n Citizen citizen2 = new Citizen(\"\", \"Lucy\", \"Mann\", LocalDate.of(1984, Month.APRIL, 06), \"Mankon\",Region.NORTHWEST, Sex.FEMALE, \"lucy@gmail.com\", \"anye2@gmail.com\", \"987632323\", \"0789454\", 33332000L, 78784567L, 13L, MarriageStatus.MARRIED, \"\", LocalDate.now(), LocalDate.now(), null );\n doReturn(Arrays.asList(citizen1, citizen2)).when(citizenRepository).findAll();\n\n // Execute the service call\n List<Citizen> citizens = service.findAll();\n\n // Assert the response\n Assertions.assertEquals(2, citizens.size(), \"findAll should return 2 widgets\");\n }", "title": "" }, { "docid": "af6c5f12cb56c5924d8e8da6856851d6", "score": "0.62606204", "text": "@Test\n public void getEdificiosTest() \n {\n List<EdificioEntity> list = edificioPersistence.findAll();\n Assert.assertEquals(data.size(), list.size());\n for (EdificioEntity ent : list) {\n boolean found = false;\n for (EdificioEntity entity : data) {\n if (ent.getId().equals(entity.getId())) {\n found = true;\n }\n }\n Assert.assertTrue(found);\n }\n }", "title": "" }, { "docid": "b1d4798de6589fc875383147d6ea3e72", "score": "0.62484515", "text": "@Test\n public void testSelectAll() {\n UserDAL dal = new UserDAL();\n List<User> list = dal.selectAll();\n assertTrue(list != null);\n assertTrue(list.size() > 0);\n }", "title": "" }, { "docid": "c7194ecc3dab28d91cfd482c3b7fcc24", "score": "0.6232585", "text": "@Test\r\n public void testObtenerTodas() throws Exception {\r\n System.out.println(\"obtenerTodas\");\r\n UnidadMedidaDAO unidad_medidaDAOImpl = new UnidadMedidaDAOImpl();\r\n List<UnidadMedida> unidades_medida = unidad_medidaDAOImpl.obtenerTodas();\r\n \r\n for(UnidadMedida unidad_medida : unidades_medida){\r\n System.out.println(\"Código: \" + unidad_medida.getCodigo());\r\n System.out.println(\"nombre: \" + unidad_medida.getNombre());\r\n System.out.println(\"\");\r\n }\r\n \r\n assertTrue(true);\r\n \r\n }", "title": "" }, { "docid": "85ba58b255abf93315d54c2425dbc05a", "score": "0.62168527", "text": "@Test\r\n\tpublic void testGetAll() {\r\n\t\tList<Result> list = resultDao.getAll();\r\n\t\tfor (int i = 0; i < list.size(); i++) {\r\n\t\t\tSystem.out.println(list.get(i).getId() + \" \" + list.get(i).getDumpFile());\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "b84cba9f5b55e81140b1ef4b159392ce", "score": "0.6200532", "text": "@Test\n\tpublic void getAllRecipesTEST() \n\t{\n\t\tRecipeDTO expected1 = new RecipeDTO(1, \"Pensilin\");\n\t\tRecipeDTO expected2 = new RecipeDTO(2, \"Panodil\");\n\n\t\tList<RecipeDTO> expectedList = new ArrayList<RecipeDTO>();\n\t\texpectedList.add(expected1);\n\t\texpectedList.add(expected2);\n\n\t\ttry \n\t\t{\n\t\t\tdao.createRecipe(expected1);\n\t\t\ttempID++;\n\n\t\t\tdao.createRecipe(expected2);\n\t\t\ttempID++;\n\n\t\t\tList<RecipeDTO> actualList = dao.getAllRecipes();\n\n\t\t\tassertEquals(expectedList.toString(), actualList.toString());\n\t\t}\n\t\tcatch(DALException e) \n\t\t{\n\t\t\tfail(\"Error \" + e.getMessage());\n\t\t}\n\t}", "title": "" }, { "docid": "40e197f903800eec1de32b3cddbc34c9", "score": "0.6195263", "text": "List<Question> findByQuiz(Quiz quiz);", "title": "" }, { "docid": "c7d3c604f9f56105d9b7a5698a7a4cab", "score": "0.6192925", "text": "@Test()\r\n\tpublic void testGetAllWithUser() {\r\n\r\n\t\tArrayList<Receta> lista = (ArrayList<Receta>) daoReceta.getAllWithUser();\r\n\t\tassertNotNull(\"No deberia retornar null\", lista);\r\n\t\tassertNotNull(\"No deberia retornar null el usuario\", lista.get(0).getUsuario());\r\n\t\tassertTrue(lista.size() >= 0);\r\n\r\n\t}", "title": "" }, { "docid": "dbbc7e8ef2b46652400b977c1b8f3b79", "score": "0.6188768", "text": "public Estado[] findAll() throws EstadoDaoException;", "title": "" }, { "docid": "3387ad5b2e1205eba4f92e5e5408b36a", "score": "0.61767966", "text": "@Test\n\tpublic void listQuestions() {\n\t\tthis.authenticate(\"user1\");\n\n\t\tfinal Collection<Question> questions = this.rendezvousService.findOne(this.getEntityId(\"rendezvous1\")).getQuestions();\n\t\t\n\t\t//The fixture contains 6 questions for rendezvous1\n\t\tAssert.isTrue(questions.size() == 6);\n\n\t\tthis.authenticate(null);\n\t}", "title": "" }, { "docid": "479abba59d6c336a632003f13a32bdce", "score": "0.617367", "text": "@Test\n public void testFindAll() {\n Collection<Ave> result = avesService.findAll();\n assertThat(result.isEmpty(), is(false));\n }", "title": "" }, { "docid": "fb949b0a7e427cd5e870054a5a7eda4d", "score": "0.61693525", "text": "Collection<D> findAll();", "title": "" }, { "docid": "aacb13eea92e4ab082ba754e58d026fb", "score": "0.6164455", "text": "@Test\n public void testGetAll() {\n\n Game game = new Game();\n game.setAnswer(\"1234\");\n game.setFinished(false);\n gameDao.add(game);\n\n Round round = new Round();\n round.setGuess(\"1234\");\n round.setTime(LocalDateTime.now().withNano(0));\n round.setResult(\"e:0:p:0\");\n round.setGameId(game.getId());\n round = roundDao.add(round);\n\n Round round2 = new Round();\n round2.setGuess(\"1234\");\n round2.setTime(LocalDateTime.now().withNano(0));\n round2.setResult(\"e:0:p:0\");\n round2.setGameId(game.getId());\n round2 = roundDao.add(round2);\n\n List<Round> rounds = roundDao.getAll();\n\n assertEquals(2, rounds.size());\n assertTrue(rounds.contains(round));\n assertTrue(rounds.contains(round2));\n }", "title": "" }, { "docid": "1df96277d19a48f260684f3ac21be382", "score": "0.616366", "text": "@SuppressWarnings(\"unchecked\")\n\t@Test \n\tpublic void findAll() {\n\t\twhen(mockRepo.findAll()).thenReturn(movies);\n\t\t\n\t\tresponse = service.findAll(origin); // call the method under test\n\t\tresponseMovies = (List<Movie>) response.getBody(); // extract the movies from the ResponseEntity\n\t\t\n\t\tassertTrue(responseMovies.get(0) == movies.get(0)); // should return an ArrayList with the expected movies\n\t\tassertTrue(responseMovies.get(1) == movies.get(1)); // should return an ArrayList with the expected movies\n\t\tassertTrue(responseMovies.size() == movies.size()); // should return an ArrayList of the expected size\n\t\tassertTrue(responseMovies.size() == 2); // should return an ArrayList of the expected size\n\t}", "title": "" }, { "docid": "ad409f4b872211e8d1cc82e938b88455", "score": "0.61571443", "text": "@Override\n\tpublic List<T> findAll() {\n\t\tSqlSession session = SqlMapInitUtil.getSqlSession();\n\t\tList<T> list = session.selectList(sqlNameSpace + \".\" + \"findAll\");\n\t\tsession.close();\n\t\treturn list;\n\t}", "title": "" }, { "docid": "8dcf2695bbb87a6f731be5a1a6a583bc", "score": "0.614797", "text": "@Test\n public void testGetAllArticles() {\n List<ArticleBean> articleList = ArticlesDAO.getAllArticles();\n assertTrue(articleList.size() > 0);\n }", "title": "" }, { "docid": "3a86f99e9b49f69931b74dac9070d05b", "score": "0.6137995", "text": "@Override\n public List<Item> findAll() {\n List<Item> result = new ArrayList<>();\n String sqlInsert = \"SELECT * FROM item;\";\n try (Statement statement = this.connection.createStatement();\n ResultSet resultSet = statement.executeQuery(sqlInsert)) {\n while (resultSet.next()) {\n result.add(createNewItem(resultSet));\n }\n } catch (SQLException e) {\n e.printStackTrace();\n }\n return result;\n }", "title": "" }, { "docid": "5de072f3c91fe9de9f066eedc9647729", "score": "0.6131457", "text": "@Test\r\n public void testTodos() {\r\n empleadoDaoJdbc = new EmpleadoDaoJdbc();\r\n System.out.println(\"Buscar todos los empleado\");\r\n List<Empleado> testBuscados = empleadoDaoJdbc.buscarTodos();\r\n //System.out.println(\"Listado:\" + testBuscados.toString());\r\n int cant = 1;\r\n for (Empleado empleado2: testBuscados) {\r\n //código para acceder a cada campo del Item.\r\n cant +=1;\r\n System.out.println(empleado2.getId() + \" - \"+ empleado2.getNombre());\r\n }\r\n assertTrue(cant > 1);\r\n }", "title": "" }, { "docid": "ad4d1f0c25284ff26246453ca0881236", "score": "0.6124813", "text": "@Test\n\t@Sql(scripts=\"/myTestScript.sql\")\n\t@Transactional\n\tpublic void given_repository_when_get_all_cars_then_ok() {\n\t\t\n\t\t//Given seria el autowired\n\t\t\n\t\t//When\n\t\tIterable<Car> cars= carRepo.findAll();\n\t\t\n\t\tIterator<Car> it= cars.iterator();\n\t\t\n\t\tArrayList<Car> carsList= new ArrayList<>();\n\t\t\n\t\twhile(it.hasNext()) {\n\t\t\tcarsList.add(it.next());\n\t\t}\n\t\t\n\t\tthen(carsList.size()).isEqualTo(5);\n\t\t\n\t}", "title": "" }, { "docid": "de78e2401428617a99236ec18d9cb75b", "score": "0.61138964", "text": "@Test\n public void getAnimals_retrievesAllAnimalsFromDatabase_animalList(){\n testSighting.save();\n ThrivingAnimal firstAnimal =new ThrivingAnimal(\"Lion\",testSighting.getId());\n firstAnimal.save();\n EndangeredAnimal secondAnimal =new EndangeredAnimal(\"Zebra\",testSighting.getId(),\"okay\",\"adult\");\n secondAnimal.save();\n Object[] animals = new Object[]{\n firstAnimal,secondAnimal\n };\n assertTrue(testSighting.getAnimals().containsAll(Arrays.asList(animals)));\n }", "title": "" }, { "docid": "6968d9b56230a312913d35e774bcec38", "score": "0.6110898", "text": "@SuppressWarnings(\"unchecked\")\n\tpublic List<Question> getAll() {\n\t\tString sql = \"select * from question\";\n\t\treturn jdbc.getList(Question.class, sql);\n\t}", "title": "" }, { "docid": "6dda085e08aefad91d1bddca5ca4dd10", "score": "0.61064094", "text": "public Iterable<Book> getAllBooks() \n{\n//List<Book> Book = new ArrayList<Book>();\n return BookRepository.findAll();\n\n}", "title": "" }, { "docid": "dcb5b4e559587000c9223518a585a643", "score": "0.6105234", "text": "@Test\n public void getAllTest() {\n Mockito.when(this.repository.findAll()).thenReturn(parmList);\n Iterable<Parameter> resultFromService = this.parameterService.findAll();\n Parameter resultFromIterator = resultFromService.iterator().next();\n assertThat(resultFromIterator.getType()).isEqualTo(ParameterEnum.PROFITMARGIN);\n Mockito.verify(this.repository, Mockito.times(1)).findAll();\n }", "title": "" }, { "docid": "85992e033b455dddb7abe6b68b91957d", "score": "0.6102927", "text": "@Test\r\n public void testMostrarTodosProductos() {\r\n try {\r\n System.out.println(\"mostrarTodosProductos\");\r\n ProductoDao instance = new ProductoDaoImplem();\r\n Collection<Producto> result = instance.mostrarTodosProductos();\r\n assertNotEquals(0, result.size());\r\n } catch (Exception ex) {\r\n ex.printStackTrace();\r\n }\r\n }", "title": "" }, { "docid": "3b7b336afacb9499c00252aad9a26311", "score": "0.60889745", "text": "@Override\n @Transactional(readOnly = true)\n public Page<QuestionsDTO> findAll(Pageable pageable) {\n log.debug(\"Request to get all Questions\");\n return questionsRepository.findAll(pageable)\n .map(questionsMapper::toDto);\n }", "title": "" }, { "docid": "ae62eadd888e5b40cbc70bfe297ad7c2", "score": "0.6085848", "text": "@Test\n public void shouldReturnAllUsers() {\n List<User> users = new ArrayList();\n users.add(new User());\n\n given(userRepository.findAll()).willReturn(users);\n\n List<User> expected = userServiceImpl.getUsers();\n\n assertEquals(expected, users);\n verify(userRepository).findAll();\n }", "title": "" }, { "docid": "588f3f29a78c6ebb0cbed12d7a40a519", "score": "0.6085782", "text": "List<Product> findAll();", "title": "" }, { "docid": "588f3f29a78c6ebb0cbed12d7a40a519", "score": "0.6085782", "text": "List<Product> findAll();", "title": "" }, { "docid": "6b097acce102971339fd1634e585b7c5", "score": "0.60775286", "text": "@Test\n public void testAllEmployeeNativeQuery() {\n List<Employee> employees = employeeRepository.findAllEmployeeNQ();\n assertEquals(3, employees.size());\n assertEquals(\"employee 1\", employees.get(0).getName());\n assertEquals(\"employee 2\", employees.get(1).getName());\n assertEquals(\"employee 3\", employees.get(2).getName());\n }", "title": "" }, { "docid": "4c4bda3c9738b1488ab11810dcbabf23", "score": "0.606987", "text": "@Test\r\n public void getMensajerosTest() {\r\n List<MensajeroEntity> list = mensajeroPersistence.findAll();\r\n Assert.assertEquals(data.size(), list.size());\r\n for (MensajeroEntity ent : list) {\r\n boolean found = false;\r\n for (MensajeroEntity entity : data) {\r\n if (ent.getId().equals(entity.getId())) {\r\n found = true;\r\n }\r\n }\r\n Assert.assertTrue(found);\r\n }\r\n }", "title": "" }, { "docid": "bfafec4ab566fcbe7e21b17f05f841dd", "score": "0.60642153", "text": "@Test\n public void testGetAll() {\n List<async_tasks> result = dao.getAll();\n\n assertEquals(TASK_COUNT, result.size());\n }", "title": "" }, { "docid": "1c3f54102342eb974879d4f2b325044f", "score": "0.606065", "text": "public static List<TestItemAnswer> findAll() {\n\t\treturn getPersistence().findAll();\n\t}", "title": "" }, { "docid": "576c46eb80e14fe28fd745b4ae68b162", "score": "0.6031882", "text": "@Test\n\t@DisplayName(\"ConsultarTodos\")\n\tvoid dTest() {\n\t\tEntityManagerFactory entityManagerFactory = Persistence.createEntityManagerFactory(\"banco-logic\");\t\t\n\t\tassertNotNull(entityManagerFactory, \"el entityManagerFactory es nulo\");\n\t\t\n\t\tEntityManager entityManager = entityManagerFactory.createEntityManager();\n\t\tassertNotNull(entityManager, \"el entityManager es nulo\");\n\t\t\n\t\tString JPQL=\"SELECT cli FROM TipoUsuario cli\";\n\t\tList<TipoUsuario> losTipoUsuario = entityManager.createQuery(JPQL).getResultList();\n\t\t\n\t\tfor (TipoUsuario tipoUsuario : losTipoUsuario) {\n\t\t\tlog.info(\"id:\"+tipoUsuario.getNombre());\n\t\t\tlog.info(\"Nombre:\"+tipoUsuario.getTiusId());\n\t\t\t\n\t\t}\n\t\t\n\t\tlosTipoUsuario.forEach(tipoUsuario ->{\n\t\t\tlog.info(\"id:\"+tipoUsuario.getNombre());\n\t\t\tlog.info(\"Nombre:\"+tipoUsuario.getTiusId());\n\t\t});\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "4cc8b4ff966277cec472a5600244f196", "score": "0.60287553", "text": "List<Song> findAll();", "title": "" }, { "docid": "6184a8b7249e220dc16414849b4b7ea8", "score": "0.6028644", "text": "@Override\n @Transactional(readOnly = true)\n public List<TheLoaiTaiLieu> findAll() {\n log.debug(\"Request to get all TheLoaiTaiLieus\");\n return theLoaiTaiLieuRepository.findAll();\n }", "title": "" }, { "docid": "4c5b03fc89631b5c3780c0b99d777d95", "score": "0.60180867", "text": "@Override\n public List<T> findAll() {\n List<T> unwrappedList = new ArrayList<T>();\n for (X ent : findAllEntity()) {\n unwrappedList.add(find(ent.getId()));\n }\n return unwrappedList;\n }", "title": "" }, { "docid": "e91db10db19dc82ec21f5dd91ca96300", "score": "0.60079527", "text": "@Override\r\n\tpublic List findAll() {\n\t\treturn uCMapper.selectByExample(null) ;\r\n\t}", "title": "" }, { "docid": "3156ef2b6f55e59edc6eef9d9ee4c60b", "score": "0.60065436", "text": "@Test\n\tpublic void testFindAllPersons() {\n\t\t\n\t\tint countBefore = repo.findAllPersons().size();\n\t\t\n\t\tPerson person1 = repo.createPerson(\"netid\", \"email@email.com\", \"first\", \"last\", RoleType.NONE).save();\n\t\tPerson person2 = repo.createPerson(\"othernetid\", \"otheremail@email.com\", \"otherfirst\", \"otherlast\", RoleType.NONE).save();\n\n\t\tList<Person> people = repo.findAllPersons();\n\t\tint countAfter = people.size();\n\t\t\n\t\tassertEquals(countBefore + 2, countAfter);\n\t\t\n\t\tboolean foundNetId = false;\n\t\tboolean foundOther = false;\n\t\tfor (Person person : people) {\n\t\t\tif (\"netid\".equals(person.getNetId()))\n\t\t\t\tfoundNetId = true;\n\t\t\tif (\"othernetid\".equals(person.getNetId()))\n\t\t\t\tfoundOther = true;\n\t\t}\n\t\tassertTrue(foundNetId);\n\t\tassertTrue(foundOther);\n\t\t\n\t\tperson1.delete();\n\t\tperson2.delete();\n\t}", "title": "" }, { "docid": "82aa623b227ef5467bb2379a38f5f923", "score": "0.60035425", "text": "@Override\n\tpublic List<T> findAll(T t) {\n\t\tSqlSession session = SqlMapInitUtil.getSqlSession();\n\t\tList<T> list = session.selectList(sqlNameSpace + \".\" + \"findAll\",t);\n\t\tsession.close();\n\t\treturn list;\n\t}", "title": "" }, { "docid": "be87a09667716e80e6c18a530f1be93f", "score": "0.59908444", "text": "@Test\r\n public void testBuscarPorNombre() {\r\n try {\r\n System.out.println(\"buscarPorNombre\");\r\n String nombre = \"Cinturon\";\r\n ProductoDao instance = new ProductoDaoImplem();\r\n Collection<Producto> result = instance.buscarPorNombre(nombre);\r\n String nombreProducto = new String();\r\n for (Producto p : result) {\r\n nombreProducto = p.getNombre();\r\n }\r\n assertEquals(nombre, nombreProducto);\r\n } catch (Exception ex) {\r\n ex.printStackTrace();\r\n }\r\n }", "title": "" }, { "docid": "f7eb6e2bb06846475179d790293e752e", "score": "0.5990231", "text": "@Test\n public void testGetRandomQuestionFromPool() throws Exception {\n\t\tlogger.info(\"getRandomQuestionFromPool\");\n List<Question> questionPool = null;\n Question expResult = null;\n Question result = mockedQuestionDao.getRandomQuestionFromPool(questionPool);\n }", "title": "" }, { "docid": "bd6224deddca3f12e1fbdfaf4a2bdab8", "score": "0.5988395", "text": "Collection<BookEntity> findAll();", "title": "" }, { "docid": "90053a11d76da99da9c84305ab2f0ebc", "score": "0.5983539", "text": "@Test(testName = \"accountrepository\")\n public void testFindAccounts() {\n\n logger.info(\"-----------------------------------------\");\n logger.info(\"Find all accounts test started...\");\n\n List<Account> accounts = this.accountRepository.findAccounts();\n Assert.assertEquals(true, accounts.size() == 1);\n\n logger.info(\"Find all accounts test ended...\");\n logger.info(\"-----------------------------------------\");\n }", "title": "" }, { "docid": "5d6d2d29833cb1a90b0eca36ec683e1a", "score": "0.59827095", "text": "@Test\n public void testFindAllByNameTest(){\n List<Area> areaWeaponByName = new ArrayList();\n \n areaWeaponByName.add(AreaTransformation.transformToEntity(areaDTO));\n areaWeaponByName.add(AreaTransformation.transformToEntity(areaDTO2));\n when(areaDAO.findAllAreas()).thenReturn(areaWeaponByName);\n \n Assert.assertTrue(\"Wrong area by name was found.\",\n areaService.findAllByName(\"Brno\").get(0).equals(areaDTO));\n Assert.assertTrue(\"Wrong area by name was found.\",\n areaService.findAllByName(\"Praha\").get(0).equals(areaDTO2));\n\n Assert.assertTrue(\"Wrong list of areas by name was found.\",\n areaService.findAllByName(\"Br\").size()==1);\n Assert.assertTrue(\"Wrong list of areas by name was found.\",\n areaService.findAllByName(\"Pr\").size()==1);\n }", "title": "" }, { "docid": "f37bb363316290424ef709ee42e0b7b1", "score": "0.5978262", "text": "@Test\n public void testFindSubmissions() {\n SubmissionDao sdao = SubmissionDao.getInstance();\n Integer[] subids = new Integer[1];\n subids[0] = 28;\n List<Submission> subs = sdao.findSubmissions(subids);\n Assert.assertTrue(subs.size() > 0);\n\n\n }", "title": "" }, { "docid": "1150f1a61926003ecb9145293ed39f5f", "score": "0.59775025", "text": "@Override\r\n\t@Transactional(readOnly = true)\r\n\tpublic List<Question> getAll(int size, int page) {\n\t\treturn questionDao.findAll(PageRequest.of(page, size, Direction.ASC, \"id\")).toList();\r\n\t}", "title": "" }, { "docid": "f6801ab0d2fff898f8f659c43cbefcbd", "score": "0.5977448", "text": "@Override\n public Collection<Question> getQuestions() {\n\n return questionRepository.getAllQuestions();\n }", "title": "" }, { "docid": "7e1a466696116a054eb46922137f258c", "score": "0.59760016", "text": "public List<Booktitle> findAll();", "title": "" }, { "docid": "2fb93bd5a4801c07c85d65992e29b9d2", "score": "0.59751934", "text": "Iterable<Ingredient> findAll();", "title": "" }, { "docid": "d7d1dc7bb79ee3a6cc85273997cf7a13", "score": "0.5972843", "text": "@GetMapping(path=\"/question\")\r\n public @ResponseBody Iterable<RAMP1_Question> getAllQuestions() {\r\n return RAMP1_DB.getAllQuestions();\r\n }", "title": "" }, { "docid": "45663f3f6629ec57d1442ce1593fcb24", "score": "0.59713846", "text": "@Test\n final void testGetAll() {\n List<Subreddit> list = logic.getAll();\n //store the size of list, this way we know how many accounts exits in DB\n int originalSize = list.size();\n\n //make sure account was created successfully\n assertNotNull( expectedEntity );\n //delete the new account\n logic.delete( expectedEntity );\n\n //get all accounts again\n list = logic.getAll();\n //the new size of accounts must be one less\n assertEquals( originalSize - 1, list.size() );\n }", "title": "" }, { "docid": "991fdf1d927eeff55cb281e96b5bec68", "score": "0.59712595", "text": "@Override\n\tpublic Iterable<Persona> findAll() {\n\t\treturn personaDao.findAll();\n\t}", "title": "" }, { "docid": "d21d8046024849288d7abac4c28029e0", "score": "0.5967916", "text": "@Override\n\tpublic List<Question> selectAll() {\n\t\treturn dao.selectAll();\n\t}", "title": "" }, { "docid": "e2b10d370edb49c5ca2916881ed1c02e", "score": "0.59602845", "text": "@Override\r\n\tpublic List<T> findAll() throws RuntimeException {\r\n\t\ttry {\r\n\t\t\tSystem.out.println(\"entity class: \"+entityClass.getSimpleName()+\".findAll\");\r\n\t\t\tQuery query=entityManager.createNamedQuery(entityClass.getSimpleName()+\".findAll\");\r\n\t\t\tSystem.out.println(\"query is null \"+(query==null));\r\n\t\t\treturn query.getResultList();\r\n\t\t} catch (Exception ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t\tthrow new RuntimeException(\"Error al consultar todos los registros de la base de datos.\", ex);\r\n\t\t}\r\n\t\t\r\n\t}", "title": "" }, { "docid": "e7909a334f7ba474e9cc152215532aba", "score": "0.5958159", "text": "@Test\n public void testGetAllCardsForGroup() {\n System.out.println(\"getAllCardsForGroup\");\n int groupId = 1;\n int numberOfCards = 7;\n List<Card> result = cardDao.getAllCardsForGroup(groupId);\n assertEquals(numberOfCards, result.size());\n }", "title": "" }, { "docid": "e17428decbef84b2a18c334647677943", "score": "0.5944434", "text": "@Override\n\tpublic java.util.List<Exam> findAll() {\n\t\treturn examRepository.findAll();\n\t}", "title": "" } ]
2a92529aeb3d215325f1e669852f1ec4
add in method isEmpty
[ { "docid": "c48e68cfbaf6df5dd0b554ddd41104b0", "score": "0.0", "text": "public boolean isEmpty()\r\n\t {\r\n\t return head == null;\r\n\t }", "title": "" } ]
[ { "docid": "e15ce11aeee3346f5f13f076cb050ba8", "score": "0.84745824", "text": "public boolean isEmpty() ;", "title": "" }, { "docid": "4e55a9efa959a24d9fbe4ca070352730", "score": "0.8452622", "text": "public abstract boolean isEmpty();", "title": "" }, { "docid": "4e55a9efa959a24d9fbe4ca070352730", "score": "0.8452622", "text": "public abstract boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.83867157", "text": "public boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "2eae38c6b9cd25c5a00e1955ce1f80db", "score": "0.8167549", "text": "boolean isEmpty();", "title": "" }, { "docid": "bd74707fc6140947d1bde26d48921764", "score": "0.81672615", "text": "Boolean isEmpty();", "title": "" }, { "docid": "bd74707fc6140947d1bde26d48921764", "score": "0.81672615", "text": "Boolean isEmpty();", "title": "" }, { "docid": "41e6fec7c77791086e1175e426ea7496", "score": "0.81578493", "text": "private boolean isEmpty() {\n\t\treturn size() == 0;\n\t}", "title": "" }, { "docid": "21b64e59451a5a2117e611dceb5f760d", "score": "0.81522727", "text": "public boolean isEmpty() { return true; }", "title": "" } ]
ff7f89140fb0e1e8625dafb6a1a0bcbb
Test case number: 16 /Coverage entropy=2.0794415416798357
[ { "docid": "eb1571f179e56235c6e4b18b8f0f98b8", "score": "0.0", "text": "@Test(timeout = 4000)\n public void test16() throws Throwable {\n boolean boolean0 = true;\n SAXReader sAXReader0 = new SAXReader((String) null, true);\n sAXReader0.setIncludeExternalDTDDeclarations(false);\n String string0 = \"http://xml.org/sax/features/namespace-prefixes\";\n MockFile mockFile0 = new MockFile(\"http://xml.org/sax/features/namespace-prefixes\");\n sAXReader0.getDispatchHandler();\n sAXReader0.setProperty(\"http://xml.org/sax/properties/lexical-handler\", (Object) null);\n MockFile mockFile1 = new MockFile(mockFile0, \"(tXQZ&X@U\");\n MockFile.createTempFile(\"http://xml.org/sax/properties/lexical-handler\", \"]Imi[iDS\", (File) mockFile0);\n try { \n sAXReader0.read((File) mockFile1);\n fail(\"Expecting exception: Exception\");\n \n } catch(Exception e) {\n //\n // null Nested exception: null\n //\n verifyException(\"org.dom4j.io.SAXReader\", e);\n }\n }", "title": "" } ]
[ { "docid": "dc7afd015f73b66477d28310a9524aa9", "score": "0.6995366", "text": "@Test\n public void testEntropy() {\n System.out.println(\"entropy\");\n TDistribution instance = new TDistribution(20);\n Assert.assertEquals(1.46954202, instance.entropy(), 1.0E-7);\n }", "title": "" }, { "docid": "b8db410b5dab986f0afe7f01e70c5147", "score": "0.6594431", "text": "@Test(timeout = 4000)\n public void test64() throws Throwable {\n RegressionByDiscretization regressionByDiscretization0 = new RegressionByDiscretization();\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertNotNull(regressionByDiscretization0);\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n \n Capabilities capabilities0 = regressionByDiscretization0.getCapabilities();\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertNotNull(capabilities0);\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n \n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(testInstances0);\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertFalse(testInstances0.getMultiInstance());\n \n Instances instances0 = testInstances0.generate(\"|J\");\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(instances0);\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(3, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.numClasses());\n assertEquals(4, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertFalse(instances0.checkForStringAttributes());\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(evaluation0);\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(3, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.numClasses());\n assertEquals(4, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n \n double[] doubleArray0 = new double[9];\n doubleArray0[0] = (double) 2;\n doubleArray0[1] = (double) (-2);\n doubleArray0[2] = (double) 1;\n doubleArray0[3] = (double) 0;\n doubleArray0[4] = (double) 2;\n doubleArray0[5] = (double) 0;\n doubleArray0[6] = (double) 0;\n DenseInstance denseInstance0 = new DenseInstance(1, doubleArray0);\n assertEquals(6, AbstractInstance.s_numericAfterDecimalPoint);\n assertNotNull(denseInstance0);\n assertArrayEquals(new double[] {2.0, (-2.0), 1.0, 0.0, 2.0, 0.0, 0.0, 0.0, 0.0}, doubleArray0, 0.01);\n assertEquals(1.0, denseInstance0.weight(), 0.01);\n assertEquals(9, denseInstance0.numValues());\n assertEquals(9, denseInstance0.numAttributes());\n assertEquals(9, doubleArray0.length);\n \n ConverterUtils.DataSource converterUtils_DataSource0 = new ConverterUtils.DataSource(instances0);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(converterUtils_DataSource0);\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(3, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.numClasses());\n assertEquals(4, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertFalse(instances0.checkForStringAttributes());\n assertFalse(converterUtils_DataSource0.isIncremental());\n \n DenseInstance denseInstance1 = (DenseInstance)converterUtils_DataSource0.nextElement(instances0);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals(6, AbstractInstance.s_numericAfterDecimalPoint);\n assertNotNull(denseInstance1);\n assertFalse(denseInstance1.equals((Object)denseInstance0));\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(3, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.numClasses());\n assertEquals(4, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertFalse(instances0.checkForStringAttributes());\n assertFalse(converterUtils_DataSource0.isIncremental());\n assertEquals(3, denseInstance1.classIndex());\n assertEquals(1, denseInstance1.numClasses());\n assertEquals(4, denseInstance1.numValues());\n assertEquals(4, denseInstance1.numAttributes());\n assertEquals(1.0, denseInstance1.weight(), 0.01);\n assertNotSame(denseInstance1, denseInstance0);\n \n boolean boolean0 = false;\n double double0 = evaluation0.evaluationForSingleInstance(doubleArray0, denseInstance1, false);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals(6, AbstractInstance.s_numericAfterDecimalPoint);\n assertArrayEquals(new double[] {2.0, (-2.0), 1.0, 0.0, 2.0, 0.0, 0.0, 0.0, 0.0}, doubleArray0, 0.01);\n assertEquals(2.0, double0, 0.01);\n assertFalse(denseInstance1.equals((Object)denseInstance0));\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(3, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.numClasses());\n assertEquals(4, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(0.5287499998696148, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.pctIncorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(0.0, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(1.0, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.pctUnclassified(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(1.0, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(0.0, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(0.5287499998696148, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(1.0, evaluation0.numInstances(), 0.01);\n assertEquals(1.0, evaluation0.rootMeanSquaredError(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(189.1252955549109, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(0.0, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(189.1252955549109, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.avgCost(), 0.01);\n assertFalse(converterUtils_DataSource0.isIncremental());\n assertEquals(3, denseInstance1.classIndex());\n assertEquals(1, denseInstance1.numClasses());\n assertEquals(4, denseInstance1.numValues());\n assertEquals(4, denseInstance1.numAttributes());\n assertEquals(1.0, denseInstance1.weight(), 0.01);\n assertEquals(9, doubleArray0.length);\n assertNotSame(denseInstance1, denseInstance0);\n \n try { \n CostMatrix.parseMatlab(\"weka/core/Capabilities.props\");\n fail(\"Expecting exception: StringIndexOutOfBoundsException\");\n \n } catch(StringIndexOutOfBoundsException e) {\n }\n }", "title": "" }, { "docid": "a896c2ea42e9ea47f4e47785dc75103a", "score": "0.65450287", "text": "@Test(timeout = 4000)\n public void test67() throws Throwable {\n RegressionByDiscretization regressionByDiscretization0 = new RegressionByDiscretization();\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertNotNull(regressionByDiscretization0);\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n \n Capabilities capabilities0 = regressionByDiscretization0.getCapabilities();\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertNotNull(capabilities0);\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n \n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(testInstances0);\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertFalse(testInstances0.getNoClass());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals((-1), testInstances0.getClassIndex());\n \n Instances instances0 = testInstances0.generate(\"|J\");\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(instances0);\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertFalse(testInstances0.getNoClass());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, instances0.numClasses());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(4, instances0.numAttributes());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(3, instances0.classIndex());\n \n Evaluation evaluation0 = new Evaluation(instances0, (CostMatrix) null);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(evaluation0);\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertFalse(testInstances0.getNoClass());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, instances0.numClasses());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(4, instances0.numAttributes());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(3, instances0.classIndex());\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n \n try { \n evaluation0.toCumulativeMarginDistributionString();\n fail(\"Expecting exception: Exception\");\n \n } catch(Exception e) {\n //\n // Class must be nominal for margin distributions\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }", "title": "" }, { "docid": "7b5f59baa009a02347ccd855580f091e", "score": "0.65294397", "text": "@Test(timeout = 4000)\n public void test83() throws Throwable {\n RegressionByDiscretization regressionByDiscretization0 = new RegressionByDiscretization();\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertNotNull(regressionByDiscretization0);\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n \n Capabilities capabilities0 = regressionByDiscretization0.getCapabilities();\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertNotNull(capabilities0);\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n \n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(testInstances0);\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, testInstances0.getNumDate());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumClasses());\n \n Instances instances0 = testInstances0.generate(\" \");\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(instances0);\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, testInstances0.getNumDate());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(4, instances0.numAttributes());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(1, instances0.numClasses());\n assertEquals(3, instances0.classIndex());\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(evaluation0);\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, testInstances0.getNumDate());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(4, instances0.numAttributes());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(1, instances0.numClasses());\n assertEquals(3, instances0.classIndex());\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n \n double[] doubleArray0 = new double[9];\n doubleArray0[0] = (double) 2;\n doubleArray0[1] = (double) (-2);\n doubleArray0[2] = (double) 1;\n doubleArray0[3] = (double) 0;\n doubleArray0[5] = (double) 0;\n doubleArray0[6] = (double) 0;\n DenseInstance denseInstance0 = new DenseInstance(1, doubleArray0);\n assertEquals(6, AbstractInstance.s_numericAfterDecimalPoint);\n assertNotNull(denseInstance0);\n assertArrayEquals(new double[] {2.0, (-2.0), 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, doubleArray0, 0.01);\n assertEquals(1.0, denseInstance0.weight(), 0.01);\n assertEquals(9, denseInstance0.numValues());\n assertEquals(9, denseInstance0.numAttributes());\n assertEquals(9, doubleArray0.length);\n \n ConverterUtils.DataSource converterUtils_DataSource0 = new ConverterUtils.DataSource(instances0);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(converterUtils_DataSource0);\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, testInstances0.getNumDate());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(4, instances0.numAttributes());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(1, instances0.numClasses());\n assertEquals(3, instances0.classIndex());\n assertFalse(converterUtils_DataSource0.isIncremental());\n \n DenseInstance denseInstance1 = (DenseInstance)converterUtils_DataSource0.nextElement(instances0);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(6, AbstractInstance.s_numericAfterDecimalPoint);\n assertNotNull(denseInstance1);\n assertFalse(denseInstance1.equals((Object)denseInstance0));\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, testInstances0.getNumDate());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(4, instances0.numAttributes());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(1, instances0.numClasses());\n assertEquals(3, instances0.classIndex());\n assertFalse(converterUtils_DataSource0.isIncremental());\n assertEquals(1, denseInstance1.numClasses());\n assertEquals(4, denseInstance1.numValues());\n assertEquals(1.0, denseInstance1.weight(), 0.01);\n assertEquals(3, denseInstance1.classIndex());\n assertEquals(4, denseInstance1.numAttributes());\n assertNotSame(denseInstance1, denseInstance0);\n \n denseInstance1.setClassMissing();\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(6, AbstractInstance.s_numericAfterDecimalPoint);\n assertFalse(denseInstance1.equals((Object)denseInstance0));\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, testInstances0.getNumDate());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(4, instances0.numAttributes());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(1, instances0.numClasses());\n assertEquals(3, instances0.classIndex());\n assertFalse(converterUtils_DataSource0.isIncremental());\n assertEquals(1, denseInstance1.numClasses());\n assertEquals(4, denseInstance1.numValues());\n assertEquals(1.0, denseInstance1.weight(), 0.01);\n assertEquals(3, denseInstance1.classIndex());\n assertEquals(4, denseInstance1.numAttributes());\n assertNotSame(denseInstance1, denseInstance0);\n \n double double0 = evaluation0.evaluationForSingleInstance(doubleArray0, denseInstance1, true);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(6, AbstractInstance.s_numericAfterDecimalPoint);\n assertArrayEquals(new double[] {2.0, (-2.0), 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, doubleArray0, 0.01);\n assertEquals(2.0, double0, 0.01);\n assertFalse(denseInstance1.equals((Object)denseInstance0));\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, testInstances0.getNumDate());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(4, instances0.numAttributes());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(1, instances0.numClasses());\n assertEquals(3, instances0.classIndex());\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertFalse(converterUtils_DataSource0.isIncremental());\n assertEquals(1, denseInstance1.numClasses());\n assertEquals(4, denseInstance1.numValues());\n assertEquals(1.0, denseInstance1.weight(), 0.01);\n assertEquals(3, denseInstance1.classIndex());\n assertEquals(4, denseInstance1.numAttributes());\n assertEquals(9, doubleArray0.length);\n assertNotSame(denseInstance1, denseInstance0);\n \n String string0 = \"i\";\n try { \n evaluation0.KBMeanInformation();\n fail(\"Expecting exception: Exception\");\n \n } catch(Exception e) {\n //\n // Can't compute K&B Info score: class numeric!\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }", "title": "" }, { "docid": "573325d2a6229174e2df85e3d1e66f15", "score": "0.6507555", "text": "@Test(timeout = 4000)\n public void test82() throws Throwable {\n RegressionByDiscretization regressionByDiscretization0 = new RegressionByDiscretization();\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertNotNull(regressionByDiscretization0);\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n \n Capabilities capabilities0 = regressionByDiscretization0.getCapabilities();\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertNotNull(capabilities0);\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n \n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(testInstances0);\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertFalse(testInstances0.getNoClass());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getNumDate());\n \n Instances instances0 = testInstances0.generate(\"|J\");\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(instances0);\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertFalse(testInstances0.getNoClass());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(1, instances0.numClasses());\n assertEquals(20, instances0.size());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(3, instances0.classIndex());\n assertEquals(4, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(\"Testdata\", instances0.relationName());\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(evaluation0);\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertFalse(testInstances0.getNoClass());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(1, instances0.numClasses());\n assertEquals(20, instances0.size());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(3, instances0.classIndex());\n assertEquals(4, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n \n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n assertNotNull(textDirectoryLoader0);\n assertEquals(\"The character set to use when reading text files (eg UTF-8) - leave blank to use the default character set.\", textDirectoryLoader0.charSetTipText());\n assertEquals(\"Directories\", textDirectoryLoader0.getFileDescription());\n assertEquals(\"Whether to print additional debug information to the console.\", textDirectoryLoader0.debugTipText());\n assertEquals(\"Whether to store the filename in an additional attribute.\", textDirectoryLoader0.outputFilenameTipText());\n assertEquals(\"Loads all text files in a directory and uses the subdirectory names as class labels. The content of the text files will be stored in a String attribute, the filename can be stored as well.\", textDirectoryLoader0.globalInfo());\n assertEquals(\"\", textDirectoryLoader0.getCharSet());\n assertFalse(textDirectoryLoader0.getOutputFilename());\n assertFalse(textDirectoryLoader0.getDebug());\n \n Instances instances1 = textDirectoryLoader0.getStructure();\n assertNotNull(instances1);\n assertFalse(instances1.equals((Object)instances0));\n assertEquals(\"The character set to use when reading text files (eg UTF-8) - leave blank to use the default character set.\", textDirectoryLoader0.charSetTipText());\n assertEquals(\"Directories\", textDirectoryLoader0.getFileDescription());\n assertEquals(\"Whether to print additional debug information to the console.\", textDirectoryLoader0.debugTipText());\n assertEquals(\"Whether to store the filename in an additional attribute.\", textDirectoryLoader0.outputFilenameTipText());\n assertEquals(\"Loads all text files in a directory and uses the subdirectory names as class labels. The content of the text files will be stored in a String attribute, the filename can be stored as well.\", textDirectoryLoader0.globalInfo());\n assertEquals(\"\", textDirectoryLoader0.getCharSet());\n assertFalse(textDirectoryLoader0.getOutputFilename());\n assertFalse(textDirectoryLoader0.getDebug());\n assertEquals(0.0, instances1.sumOfWeights(), 0.01);\n assertEquals(0, instances1.size());\n assertTrue(instances1.checkForStringAttributes());\n assertEquals(2, instances1.numAttributes());\n assertEquals(0, instances1.numClasses());\n assertEquals(1, instances1.classIndex());\n assertEquals(0, instances1.numInstances());\n assertEquals(\"_home_ubuntu_evosuite_readability_gen_projects_107_weka\", instances1.relationName());\n assertNotSame(instances1, instances0);\n \n CostMatrix costMatrix0 = new CostMatrix(0);\n assertNotNull(costMatrix0);\n assertEquals(0, costMatrix0.numColumns());\n assertEquals(0, costMatrix0.size());\n assertEquals(0, costMatrix0.numRows());\n \n CostMatrix costMatrix1 = new CostMatrix(costMatrix0);\n assertNotNull(costMatrix1);\n assertFalse(costMatrix1.equals((Object)costMatrix0));\n assertEquals(0, costMatrix0.numColumns());\n assertEquals(0, costMatrix0.size());\n assertEquals(0, costMatrix0.numRows());\n assertEquals(0, costMatrix1.size());\n assertEquals(0, costMatrix1.numRows());\n assertEquals(0, costMatrix1.numColumns());\n \n Evaluation evaluation1 = new Evaluation(instances1, costMatrix1);\n assertNotNull(evaluation1);\n assertFalse(instances1.equals((Object)instances0));\n assertFalse(costMatrix0.equals((Object)costMatrix1));\n assertFalse(costMatrix1.equals((Object)costMatrix0));\n assertFalse(evaluation1.equals((Object)evaluation0));\n assertEquals(\"The character set to use when reading text files (eg UTF-8) - leave blank to use the default character set.\", textDirectoryLoader0.charSetTipText());\n assertEquals(\"Directories\", textDirectoryLoader0.getFileDescription());\n assertEquals(\"Whether to print additional debug information to the console.\", textDirectoryLoader0.debugTipText());\n assertEquals(\"Whether to store the filename in an additional attribute.\", textDirectoryLoader0.outputFilenameTipText());\n assertEquals(\"Loads all text files in a directory and uses the subdirectory names as class labels. The content of the text files will be stored in a String attribute, the filename can be stored as well.\", textDirectoryLoader0.globalInfo());\n assertEquals(\"\", textDirectoryLoader0.getCharSet());\n assertFalse(textDirectoryLoader0.getOutputFilename());\n assertFalse(textDirectoryLoader0.getDebug());\n assertEquals(0.0, instances1.sumOfWeights(), 0.01);\n assertEquals(0, instances1.size());\n assertTrue(instances1.checkForStringAttributes());\n assertEquals(2, instances1.numAttributes());\n assertEquals(0, instances1.numClasses());\n assertEquals(1, instances1.classIndex());\n assertEquals(0, instances1.numInstances());\n assertEquals(\"_home_ubuntu_evosuite_readability_gen_projects_107_weka\", instances1.relationName());\n assertEquals(0, costMatrix0.numColumns());\n assertEquals(0, costMatrix0.size());\n assertEquals(0, costMatrix0.numRows());\n assertEquals(0, costMatrix1.size());\n assertEquals(0, costMatrix1.numRows());\n assertEquals(0, costMatrix1.numColumns());\n assertEquals(Double.NaN, evaluation1.weightedFMeasure(), 0.01);\n assertEquals(Double.NaN, evaluation1.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation1.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation1.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation1.meanPriorAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation1.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation1.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation1.weightedTrueNegativeRate(), 0.01);\n assertEquals(0.0, evaluation1.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation1.unweightedMicroFmeasure(), 0.01);\n assertEquals(1.0, evaluation1.kappa(), 0.01);\n assertEquals(Double.NaN, evaluation1.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation1.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation1.avgCost(), 0.01);\n assertEquals(0.0, evaluation1.SFSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation1.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation1.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation1.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation1.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation1.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation1.weightedTruePositiveRate(), 0.01);\n assertEquals(0.0, evaluation1.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation1.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation1.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation1.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation1.weightedFalseNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation1.rootMeanPriorSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation1.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation1.SFEntropyGain(), 0.01);\n assertFalse(evaluation1.getDiscardPredictions());\n assertEquals(0.0, evaluation1.correct(), 0.01);\n assertEquals(Double.NaN, evaluation1.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation1.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation1.relativeAbsoluteError(), 0.01);\n \n double[] doubleArray0 = new double[6];\n doubleArray0[0] = (double) (-1);\n doubleArray0[1] = 204.02614061766;\n try { \n evaluation0.priorEntropy();\n fail(\"Expecting exception: Exception\");\n \n } catch(Exception e) {\n //\n // Can't compute entropy of class prior: class numeric!\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }", "title": "" }, { "docid": "c65b340a88f97d0ba9031fa8ea0a70f8", "score": "0.64990383", "text": "@Test(timeout = 4000)\n public void test61() throws Throwable {\n RegressionByDiscretization regressionByDiscretization0 = new RegressionByDiscretization();\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertNotNull(regressionByDiscretization0);\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n \n Capabilities capabilities0 = regressionByDiscretization0.getCapabilities();\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertNotNull(capabilities0);\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n \n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(testInstances0);\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals((-1), testInstances0.getClassIndex());\n assertFalse(testInstances0.getMultiInstance());\n assertFalse(testInstances0.getNoClass());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(20, testInstances0.getNumInstances());\n \n Instances instances0 = testInstances0.generate(\"{`vSB'pZn~rOk\");\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(instances0);\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals((-1), testInstances0.getClassIndex());\n assertFalse(testInstances0.getMultiInstance());\n assertFalse(testInstances0.getNoClass());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(1, instances0.numClasses());\n assertEquals(3, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(4, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertFalse(instances0.checkForStringAttributes());\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(evaluation0);\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals((-1), testInstances0.getClassIndex());\n assertFalse(testInstances0.getMultiInstance());\n assertFalse(testInstances0.getNoClass());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(1, instances0.numClasses());\n assertEquals(3, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(4, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n \n boolean boolean0 = FileSystemHandling.appendStringToFile((EvoSuiteFile) null, \"kernelTipText\");\n assertFalse(boolean0);\n \n double double0 = evaluation0.correlationCoefficient();\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(Double.NaN, double0, 0.01);\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals((-1), testInstances0.getClassIndex());\n assertFalse(testInstances0.getMultiInstance());\n assertFalse(testInstances0.getNoClass());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(1, instances0.numClasses());\n assertEquals(3, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(4, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n \n // Undeclared exception!\n try { \n testInstances0.setRelationalFormat(2, instances0);\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // 2\n //\n verifyException(\"weka.core.TestInstances\", e);\n }\n }", "title": "" }, { "docid": "49f6c63d485c47ad930fe40da1da7580", "score": "0.64832515", "text": "@Test(timeout = 4000)\n public void test14() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate(\")OLe\");\n Instances instances1 = new Instances(instances0);\n instances0.delete();\n MockRandom mockRandom0 = new MockRandom(0L);\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.SFMeanPriorEntropy();\n Vector<String> vector0 = new Vector<String>();\n Attribute attribute0 = new Attribute(\"NONE\", vector0, (-147));\n instances0.sort(attribute0);\n double double1 = evaluation0.weightedFMeasure();\n assertEquals(double1, double0, 0.01);\n \n String string0 = evaluation0.toMatrixString(\")OLe\");\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(\")OLe\\n a b <-- classified as\\n 0 0 | a = class1\\n 0 0 | b = class2\\n\", string0);\n }", "title": "" }, { "docid": "2113c80e5e564dc932231cc3351b5ea5", "score": "0.647352", "text": "@Test(timeout = 4000)\n public void test15() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n MockRandom mockRandom0 = new MockRandom();\n Evaluation evaluation0 = new Evaluation(instances0);\n boolean boolean0 = evaluation0.equals(textDirectoryLoader0);\n assertFalse(boolean0);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n }", "title": "" }, { "docid": "ba9d84782c614f661d54db618723186e", "score": "0.64384294", "text": "@Test(timeout = 4000)\n public void test63() throws Throwable {\n RegressionByDiscretization regressionByDiscretization0 = new RegressionByDiscretization();\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertNotNull(regressionByDiscretization0);\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n \n Capabilities capabilities0 = regressionByDiscretization0.getCapabilities();\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertNotNull(capabilities0);\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n \n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(testInstances0);\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getNoClass());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getSeed());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n \n Instances instances0 = testInstances0.generate(\"|J\");\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(instances0);\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getNoClass());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getSeed());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, instances0.numClasses());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(3, instances0.classIndex());\n assertEquals(4, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertFalse(instances0.checkForStringAttributes());\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(evaluation0);\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getNoClass());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getSeed());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, instances0.numClasses());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(3, instances0.classIndex());\n assertEquals(4, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n \n double[] doubleArray0 = new double[4];\n doubleArray0[0] = 1000.0;\n doubleArray0[1] = (double) 0;\n doubleArray0[2] = (double) 1;\n doubleArray0[3] = (double) 0;\n // Undeclared exception!\n try { \n evaluation0.updateMargins(doubleArray0, 0, (-1));\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // 250250\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }", "title": "" }, { "docid": "8dfaa898bc0d57d2c78fed4ed022ff1b", "score": "0.6428842", "text": "@Test(timeout = 4000)\n public void test14() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n \n String[] stringArray0 = new String[5];\n stringArray0[0] = \".bsi\";\n stringArray0[1] = \".arff\";\n stringArray0[2] = \"@relation\";\n Evaluation evaluation1 = new Evaluation(instances0);\n evaluation0.useNoPriors();\n assertEquals(Double.NaN, evaluation0.SFEntropyGain(), 0.01);\n }", "title": "" }, { "docid": "c3b044fe5f89582eb0270a9e660d10f2", "score": "0.6420189", "text": "@Test(timeout = 4000)\n public void test69() throws Throwable {\n RegressionByDiscretization regressionByDiscretization0 = new RegressionByDiscretization();\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertNotNull(regressionByDiscretization0);\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n \n Capabilities capabilities0 = regressionByDiscretization0.getCapabilities();\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertNotNull(capabilities0);\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n \n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(testInstances0);\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getNoClass());\n assertEquals(0, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumClasses());\n \n Instances instances0 = testInstances0.generate(\"|J\");\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(instances0);\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getNoClass());\n assertEquals(0, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumClasses());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(1, instances0.numClasses());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertEquals(20, instances0.numInstances());\n assertEquals(4, instances0.numAttributes());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(3, instances0.classIndex());\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(evaluation0);\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getNoClass());\n assertEquals(0, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumClasses());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(1, instances0.numClasses());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertEquals(20, instances0.numInstances());\n assertEquals(4, instances0.numAttributes());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(3, instances0.classIndex());\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n \n Evaluation evaluation1 = new Evaluation(instances0);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(evaluation1);\n assertTrue(evaluation1.equals((Object)evaluation0));\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getNoClass());\n assertEquals(0, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumClasses());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(1, instances0.numClasses());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertEquals(20, instances0.numInstances());\n assertEquals(4, instances0.numAttributes());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(3, instances0.classIndex());\n assertEquals(0.0, evaluation1.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation1.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation1.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation1.errorRate(), 0.01);\n assertEquals(0.0, evaluation1.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation1.rootMeanPriorSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation1.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation1.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation1.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation1.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation1.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation1.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation1.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation1.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation1.rootRelativeSquaredError(), 0.01);\n assertEquals(0.0, evaluation1.unclassified(), 0.01);\n assertEquals(0.0, evaluation1.correct(), 0.01);\n assertEquals(Double.NaN, evaluation1.SFMeanPriorEntropy(), 0.01);\n assertFalse(evaluation1.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation1.pctIncorrect(), 0.01);\n assertEquals(0.0, evaluation1.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation1.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation1.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation1.SFSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation1.numInstances(), 0.01);\n \n double double0 = evaluation0.errorRate();\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(Double.NaN, double0, 0.01);\n assertTrue(evaluation0.equals((Object)evaluation1));\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getNoClass());\n assertEquals(0, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumClasses());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(1, instances0.numClasses());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertEquals(20, instances0.numInstances());\n assertEquals(4, instances0.numAttributes());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(3, instances0.classIndex());\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertNotSame(evaluation0, evaluation1);\n }", "title": "" }, { "docid": "de5f31512a14dd9e6b6125e90ac78777", "score": "0.6418971", "text": "@Test(timeout = 4000)\n public void test53() throws Throwable {\n RegressionByDiscretization regressionByDiscretization0 = new RegressionByDiscretization();\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertNotNull(regressionByDiscretization0);\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n \n Capabilities capabilities0 = regressionByDiscretization0.getCapabilities();\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertNotNull(capabilities0);\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n \n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(testInstances0);\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals((-1), testInstances0.getClassIndex());\n assertFalse(testInstances0.getNoClass());\n \n Instances instances0 = testInstances0.generate(\"|J\");\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(instances0);\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals((-1), testInstances0.getClassIndex());\n assertFalse(testInstances0.getNoClass());\n assertEquals(20, instances0.size());\n assertEquals(3, instances0.classIndex());\n assertEquals(20, instances0.numInstances());\n assertEquals(4, instances0.numAttributes());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.numClasses());\n \n String string0 = Evaluation.getGlobalInfo(regressionByDiscretization0);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertNotNull(string0);\n assertEquals(\"\\nSynopsis for weka.classifiers.meta.RegressionByDiscretization:\\n\\nA regression scheme that employs any classifier on a copy of the data that has the class attribute discretized. The predicted value is the expected value of the mean class value for each discretized interval (based on the predicted probabilities for each interval). This class now also supports conditional density estimation by building a univariate density estimator from the target values in the training data, weighted by the class probabilities. \\n\\nFor more information on this process, see\\n\\nEibe Frank, Remco R. Bouckaert: Conditional Density Estimation with Class Probability Estimators. In: First Asian Conference on Machine Learning, Berlin, 65-81, 2009.\", string0);\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(evaluation0);\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals((-1), testInstances0.getClassIndex());\n assertFalse(testInstances0.getNoClass());\n assertEquals(20, instances0.size());\n assertEquals(3, instances0.classIndex());\n assertEquals(20, instances0.numInstances());\n assertEquals(4, instances0.numAttributes());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.numClasses());\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n \n try { \n evaluation0.KBInformation();\n fail(\"Expecting exception: Exception\");\n \n } catch(Exception e) {\n //\n // Can't compute K&B Info score: class numeric!\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }", "title": "" }, { "docid": "b005af55cbcaed7b685f4b7b77cb58b4", "score": "0.6385976", "text": "@Test(timeout = 4000)\n public void test06() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.SFMeanPriorEntropy();\n assertEquals(Double.NaN, double0, 0.01);\n \n evaluation0.getHeader();\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n }", "title": "" }, { "docid": "745cf64643086ece5d50f5d92b6359ff", "score": "0.6381409", "text": "@Test(timeout = 4000)\n public void test70() throws Throwable {\n RegressionByDiscretization regressionByDiscretization0 = new RegressionByDiscretization();\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertNotNull(regressionByDiscretization0);\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n \n Capabilities capabilities0 = regressionByDiscretization0.getCapabilities();\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertNotNull(capabilities0);\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n \n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(testInstances0);\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertFalse(testInstances0.getNoClass());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumClasses());\n \n Enumeration enumeration0 = testInstances0.listOptions();\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(enumeration0);\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertFalse(testInstances0.getNoClass());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumClasses());\n \n Instances instances0 = testInstances0.generate(\"weka/core/Capabilities.props\");\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(instances0);\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertFalse(testInstances0.getNoClass());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(20, instances0.size());\n assertEquals(1, instances0.numClasses());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(3, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(4, instances0.numAttributes());\n \n MockRandom mockRandom0 = new MockRandom();\n assertNotNull(mockRandom0);\n \n Evaluation evaluation0 = new Evaluation(instances0, (CostMatrix) null);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(evaluation0);\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertFalse(testInstances0.getNoClass());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(20, instances0.size());\n assertEquals(1, instances0.numClasses());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(3, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(4, instances0.numAttributes());\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(0.0, evaluation0.correct(), 0.01);\n \n try { \n evaluation0.KBRelativeInformation();\n fail(\"Expecting exception: Exception\");\n \n } catch(Exception e) {\n //\n // Can't compute K&B Info score: class numeric!\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }", "title": "" }, { "docid": "004f484e9f3c80a6e34cd3b4d83d7296", "score": "0.63637936", "text": "@Test(timeout = 4000)\n public void test59() throws Throwable {\n RegressionByDiscretization regressionByDiscretization0 = new RegressionByDiscretization();\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertNotNull(regressionByDiscretization0);\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n \n Capabilities capabilities0 = regressionByDiscretization0.getCapabilities();\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertNotNull(capabilities0);\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n \n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(testInstances0);\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(1, testInstances0.getSeed());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(0, testInstances0.getNumString());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(4, testInstances0.getNumAttributes());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(2, testInstances0.getNumNominalValues());\n \n Instances instances0 = testInstances0.generate(\"|J\");\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(instances0);\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(1, testInstances0.getSeed());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(0, testInstances0.getNumString());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(4, testInstances0.getNumAttributes());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(4, instances0.numAttributes());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(20, instances0.size());\n assertEquals(3, instances0.classIndex());\n assertEquals(1, instances0.numClasses());\n assertEquals(\"Testdata\", instances0.relationName());\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(evaluation0);\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(1, testInstances0.getSeed());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(0, testInstances0.getNumString());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(4, testInstances0.getNumAttributes());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(4, instances0.numAttributes());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(20, instances0.size());\n assertEquals(3, instances0.classIndex());\n assertEquals(1, instances0.numClasses());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n \n double[] doubleArray0 = new double[9];\n doubleArray0[0] = (double) 2;\n doubleArray0[1] = (double) (-2);\n RandomForest randomForest0 = new RandomForest();\n assertNotNull(randomForest0);\n assertEquals(\"Print the individual trees in the output\", randomForest0.printTreesTipText());\n assertEquals(Double.NaN, randomForest0.measureOutOfBagError(), 0.01);\n assertEquals(0, randomForest0.getNumFeatures());\n assertFalse(randomForest0.getPrintTrees());\n assertEquals(1, randomForest0.getNumExecutionSlots());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", randomForest0.debugTipText());\n assertEquals(\"The number of execution slots (threads) to use for constructing the ensemble.\", randomForest0.numExecutionSlotsTipText());\n assertEquals(0, randomForest0.getMaxDepth());\n assertFalse(randomForest0.getDebug());\n assertEquals(\"The random number seed to be used.\", randomForest0.seedTipText());\n assertEquals(\"The number of attributes to be used in random selection (see RandomTree).\", randomForest0.numFeaturesTipText());\n assertEquals(\"The number of trees to be generated.\", randomForest0.numTreesTipText());\n assertEquals(10, randomForest0.getNumTrees());\n assertEquals(\"The maximum depth of the trees, 0 for unlimited.\", randomForest0.maxDepthTipText());\n assertEquals(1, randomForest0.getSeed());\n \n MockRandom mockRandom0 = new MockRandom();\n assertNotNull(mockRandom0);\n \n try { \n evaluation0.crossValidateModel((Classifier) regressionByDiscretization0, instances0, 2, (Random) mockRandom0, (Object[]) testInstances0.DEFAULT_WORDS);\n fail(\"Expecting exception: ClassCastException\");\n \n } catch(ClassCastException e) {\n //\n // java.lang.String cannot be cast to weka.classifiers.evaluation.output.prediction.AbstractOutput\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }", "title": "" }, { "docid": "de45aa0c400a7327b17abfcc5197d924", "score": "0.6343469", "text": "@Test(timeout = 4000)\n public void test78() throws Throwable {\n RegressionByDiscretization regressionByDiscretization0 = new RegressionByDiscretization();\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertNotNull(regressionByDiscretization0);\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n \n Capabilities capabilities0 = regressionByDiscretization0.getCapabilities();\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertNotNull(capabilities0);\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n \n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(testInstances0);\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(2, testInstances0.getNumClasses());\n assertFalse(testInstances0.getNoClass());\n assertEquals(4, testInstances0.getNumAttributes());\n \n Instances instances0 = testInstances0.generate(\" \");\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(instances0);\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(2, testInstances0.getNumClasses());\n assertFalse(testInstances0.getNoClass());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(20, instances0.numInstances());\n assertEquals(4, instances0.numAttributes());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(1, instances0.numClasses());\n assertEquals(20, instances0.size());\n assertEquals(3, instances0.classIndex());\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(evaluation0);\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(2, testInstances0.getNumClasses());\n assertFalse(testInstances0.getNoClass());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(20, instances0.numInstances());\n assertEquals(4, instances0.numAttributes());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(1, instances0.numClasses());\n assertEquals(20, instances0.size());\n assertEquals(3, instances0.classIndex());\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n \n double[] doubleArray0 = new double[9];\n doubleArray0[0] = (double) 2;\n doubleArray0[1] = (double) (-2);\n doubleArray0[2] = (double) 1;\n doubleArray0[3] = (double) 0;\n doubleArray0[5] = (double) 0;\n doubleArray0[6] = (double) 0;\n DenseInstance denseInstance0 = new DenseInstance(1, doubleArray0);\n assertEquals(6, AbstractInstance.s_numericAfterDecimalPoint);\n assertNotNull(denseInstance0);\n assertArrayEquals(new double[] {2.0, (-2.0), 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, doubleArray0, 0.01);\n assertEquals(1.0, denseInstance0.weight(), 0.01);\n assertEquals(9, denseInstance0.numAttributes());\n assertEquals(9, denseInstance0.numValues());\n assertEquals(9, doubleArray0.length);\n \n ConverterUtils.DataSource converterUtils_DataSource0 = new ConverterUtils.DataSource(instances0);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(converterUtils_DataSource0);\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(2, testInstances0.getNumClasses());\n assertFalse(testInstances0.getNoClass());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(20, instances0.numInstances());\n assertEquals(4, instances0.numAttributes());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(1, instances0.numClasses());\n assertEquals(20, instances0.size());\n assertEquals(3, instances0.classIndex());\n assertFalse(converterUtils_DataSource0.isIncremental());\n \n DenseInstance denseInstance1 = (DenseInstance)converterUtils_DataSource0.nextElement(instances0);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(6, AbstractInstance.s_numericAfterDecimalPoint);\n assertNotNull(denseInstance1);\n assertFalse(denseInstance1.equals((Object)denseInstance0));\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(2, testInstances0.getNumClasses());\n assertFalse(testInstances0.getNoClass());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(20, instances0.numInstances());\n assertEquals(4, instances0.numAttributes());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(1, instances0.numClasses());\n assertEquals(20, instances0.size());\n assertEquals(3, instances0.classIndex());\n assertFalse(converterUtils_DataSource0.isIncremental());\n assertEquals(4, denseInstance1.numValues());\n assertEquals(4, denseInstance1.numAttributes());\n assertEquals(1, denseInstance1.numClasses());\n assertEquals(3, denseInstance1.classIndex());\n assertEquals(1.0, denseInstance1.weight(), 0.01);\n assertNotSame(denseInstance1, denseInstance0);\n \n double double0 = evaluation0.evaluationForSingleInstance(doubleArray0, denseInstance1, true);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(6, AbstractInstance.s_numericAfterDecimalPoint);\n assertArrayEquals(new double[] {2.0, (-2.0), 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, doubleArray0, 0.01);\n assertEquals(2.0, double0, 0.01);\n assertFalse(denseInstance1.equals((Object)denseInstance0));\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(2, testInstances0.getNumClasses());\n assertFalse(testInstances0.getNoClass());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(20, instances0.numInstances());\n assertEquals(4, instances0.numAttributes());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(1, instances0.numClasses());\n assertEquals(20, instances0.size());\n assertEquals(3, instances0.classIndex());\n assertEquals(189.1252955549109, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(189.1252955549109, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(0.0, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(0.5287499998696148, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(1.0, evaluation0.numInstances(), 0.01);\n assertEquals(0.0, evaluation0.avgCost(), 0.01);\n assertEquals(0.0, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(0.0, evaluation0.pctIncorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(1.0, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(0.0, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(1.0, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(1.0, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(0.5287499998696148, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.pctUnclassified(), 0.01);\n assertFalse(converterUtils_DataSource0.isIncremental());\n assertEquals(4, denseInstance1.numValues());\n assertEquals(4, denseInstance1.numAttributes());\n assertEquals(1, denseInstance1.numClasses());\n assertEquals(3, denseInstance1.classIndex());\n assertEquals(1.0, denseInstance1.weight(), 0.01);\n assertEquals(9, doubleArray0.length);\n assertNotSame(denseInstance1, denseInstance0);\n \n String string0 = evaluation0.toSummaryString(\"weka/core/Capabilities.props\", true);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(string0);\n assertEquals(\"weka/core/Capabilities.props\\nCorrelation coefficient 0 \\nClass complexity | order 0 0 bits 0 bits/instance\\nClass complexity | scheme 0 bits 0 bits/instance\\nComplexity improvement (Sf) 0 bits 0 bits/instance\\nMean absolute error 1 \\nRoot mean squared error 1 \\nRelative absolute error 189.1253 %\\nRoot relative squared error 189.1253 %\\nCoverage of cases (0.95 level) 0 %\\nMean rel. region size (0.95 level) 0 %\\nTotal Number of Instances 1 \\n\", string0);\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(2, testInstances0.getNumClasses());\n assertFalse(testInstances0.getNoClass());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(20, instances0.numInstances());\n assertEquals(4, instances0.numAttributes());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(1, instances0.numClasses());\n assertEquals(20, instances0.size());\n assertEquals(3, instances0.classIndex());\n assertEquals(189.1252955549109, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(189.1252955549109, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(0.0, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(0.5287499998696148, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(1.0, evaluation0.numInstances(), 0.01);\n assertEquals(0.0, evaluation0.avgCost(), 0.01);\n assertEquals(0.0, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(0.0, evaluation0.pctIncorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(1.0, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(0.0, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(1.0, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(1.0, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(0.5287499998696148, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.pctUnclassified(), 0.01);\n \n try { \n CostMatrix.parseMatlab(\" \");\n fail(\"Expecting exception: StringIndexOutOfBoundsException\");\n \n } catch(StringIndexOutOfBoundsException e) {\n }\n }", "title": "" }, { "docid": "32fb3df49ef6d9974dcba3cceab3dc68", "score": "0.6327535", "text": "@Test(timeout = 4000)\n public void test22() throws Throwable {\n Discretize discretize0 = new Discretize();\n double[][] doubleArray0 = new double[12][8];\n String[] stringArray0 = new String[6];\n stringArray0[0] = \"-R\";\n stringArray0[1] = \"_\";\n stringArray0[2] = \"^oR9z\";\n stringArray0[3] = \"inf\";\n stringArray0[4] = \"f3cB;\";\n discretize0.setDesiredWeightOfInstancesPerInterval(4.6);\n stringArray0[5] = \"Getting output instance\";\n discretize0.setOptions(stringArray0);\n discretize0.setUseEqualFrequency(false);\n discretize0.getRevision();\n discretize0.setMakeBinary(true);\n discretize0.m_CutPoints = doubleArray0;\n discretize0.getBinRangesString(9);\n assertTrue(discretize0.getMakeBinary());\n }", "title": "" }, { "docid": "af7b9fc1b275132bf76307e72999c796", "score": "0.6325322", "text": "@Test(timeout = 4000)\n public void test57() throws Throwable {\n RegressionByDiscretization regressionByDiscretization0 = new RegressionByDiscretization();\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertNotNull(regressionByDiscretization0);\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n \n Capabilities capabilities0 = regressionByDiscretization0.getCapabilities();\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertNotNull(capabilities0);\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n \n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(testInstances0);\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n \n Instances instances0 = testInstances0.generate(\"|J\");\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(instances0);\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(4, instances0.numAttributes());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(20, instances0.size());\n assertEquals(3, instances0.classIndex());\n assertEquals(1, instances0.numClasses());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.numInstances());\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(evaluation0);\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(4, instances0.numAttributes());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(20, instances0.size());\n assertEquals(3, instances0.classIndex());\n assertEquals(1, instances0.numClasses());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n \n evaluation0.addNumericTrainClass((-38.633626237796), 2);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(4, instances0.numAttributes());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(20, instances0.size());\n assertEquals(3, instances0.classIndex());\n assertEquals(1, instances0.numClasses());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n \n try { \n evaluation0.toMatrixString(\"weka/core/Capabilities.props\");\n fail(\"Expecting exception: Exception\");\n \n } catch(Exception e) {\n //\n // Evaluation: No confusion matrix possible!\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }", "title": "" }, { "docid": "4c07843562d99d336b1f0c55b1c869a8", "score": "0.63090235", "text": "public void doTestWithClamping() throws Exception {\n\t\ttotalToks = 0;\n rightToks = 0;\n int flag1 = 0;\n //String combo = \"pubmed_cluster6\";\n //String comboNum = \"5\";\n String filename = \"xPubMed_ByHighestEntropy_t0l0l1l1_totalEntropy_3.csv\";\n \n \n \n //TreeMap<Integer, Integer> NodeCountMap = new TreeMap<Integer, Integer>();\n\t\t\n\t\t//Initialize List of CRFoutput to be sorted\n\t\t//CRFoutput = new ArrayList<CRFoutput>();\n\n CRFoutput CRFout = new CRFoutput();\n\t\t\n\t\t//Make output directory\n\t\tString outDirec = \"out2\";\n File dir = new File(baseDir + \"/\" + outDirec + \"/\" + outDir);\n\t\tdir.mkdirs();\n\t\t\n\t\t//Opens file that will read in tagged test data\n//\t\tTestData testData = new TestData(baseDir + \"/data/\" + inName + \"/\"\n//\t\t\t\t+ inName + \".test\", delimit, impDelimit, groupDelimit);\n TestData testData = new TestData(baseDir + \"/data/PubMed_HighEntropy/\" \n + filename + \".test\", delimit, impDelimit, groupDelimit);\n\t\t\n\t\t//Writes a tagged exp test in the same format as the tagged data\n//\t\tTestDataWrite tdw = new TestDataWrite(baseDir + \"/\" + outDirec + \"/\" + outDir + \"/\"\n//\t\t\t\t+ \"tempTagged\" + \".test\", baseDir + \"/data/\" + inName + \"/\"\n//\t\t\t\t+ inName + \".test\", delimit, tagDelimit, impDelimit, labelMap);\n TestDataWrite tdw = new TestDataWrite(baseDir + \"/\" + outDirec + \"/\" + outDir + \"/\"\n\t\t\t\t+ \"tempTagged\" + \".test\", baseDir + \"/data/PubMed_HighEntropy/\"\n\t\t\t\t+ filename + \".test\", delimit, tagDelimit, impDelimit, labelMap);\n\n\t\t//Reads in the original tagged testing set\n//\t\tTrainData taggedTestData = DataCruncher.readTagged(nlabels, baseDir\n//\t\t\t\t+ \"/data/\" + inName + \"/\" + inName + \".test\", baseDir\n//\t\t\t\t+ \"/data/\" + inName + \"/\" + inName + \".test\", delimit,\n//\t\t\t\ttagDelimit, impDelimit, labelMap);\n TrainData taggedTestData = DataCruncher.readTagged(nlabels, baseDir\n\t\t\t\t+ \"/data/PubMed_HighEntropy/\" + filename + \".test\", baseDir\n\t\t\t\t+ \"/data/PubMed_HighEntropy/\" + filename + \".test\", delimit,\n\t\t\t\ttagDelimit, impDelimit, labelMap);\n\n\t\t//testRecord holds String arrays of tagged data organized by tags \n String collect[] = new String[nlabels];\n\t\tTestRecord testRecord = new TestRecord(collect);\n \n //Create structures for storing information about top clusters\n String citation;\n Hashtable<Integer, ArrayList<String>> topClusters = new Hashtable<Integer, ArrayList<String>>();\n \n //Initialize files to be written\n f = new FileWriter(baseDir + \"/CRFoutput2.csv\", false);\n f2 = new FileWriter(baseDir + \"/citationTable2.csv\", false);\n f3 = new FileWriter(baseDir + \"/labelTable2.csv\", false);\n\n //facc = new FileWriter(baseDir + \"/data/PubMed_HighEntropy/clamped_\" + combo + \"_\" + comboNum\n //+ \".csv\", false);\n facc = new FileWriter(baseDir + \"/data/PubMed_HighEntropy/clamped_\" + filename,false);\n \n \n //Read in top clusters to be clamped and add to Hashtable\n FileInputStream fInStream = new FileInputStream(baseDir + \"/data/PubMed_HighEntropy/\" + filename); \n DataInputStream in = new DataInputStream(fInStream);\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(in)); \n// String algorithm = br.readLine();\n while ((citation = br.readLine()) != null) {\n StringTokenizer strTok = new StringTokenizer(citation,\",\");\n //if (strTok.countTokens()!=7){\n\t\t\t//throw new Exception (\"Expected 7 tokens in CSV line, got \"+ strTok.countTokens());\n //}\n //Relative cluster ID (not needed)\n String relClusterID = strTok.nextToken();\n int citID = Integer.parseInt(strTok.nextToken().trim());\n ArrayList<String> clusterValues = new ArrayList<String>();\n for (int idx=0; idx<4; idx++) {\n clusterValues.add(idx,strTok.nextToken().replaceAll(\"\\\"\",\"\"));\n }\n clusterValues.add(4,relClusterID);\n \n topClusters.put(citID, clusterValues); \n }\n \n\t\tint instance = 1;\n\t\t\n \n \n\t\t//Loop takes in tagged data record by record\n\t\t// seq[] is an array of tokens\n for (String seq[] = testData.nextRecord(); seq != null && seq.length != 0; seq = testData\n\t\t\t\t.nextRecord()) {\n\t\t\t\n //Print timestamp\n System.out.println(\"CURRENT TIME IS: \" + System.currentTimeMillis() + \" \" + instance + \"\\n\");\n \n //Create tokenized record object\n\t\t\ttestRecord.init(seq);\n \n //Set values for output classes, CRFout and CitationTable\n \n CRFout.setCitationID(instance);\n CRFout.setSeqs(seq);\n \n FileInputStream fInStream2 = new FileInputStream(baseDir + \"/data/PubMed_HighEntropy/\" + filename); \n DataInputStream in2 = new DataInputStream(fInStream2);\n BufferedReader br2 = new BufferedReader(new InputStreamReader(in2));\n for (int line=0; line<instance; line++) {\n citation = br2.readLine();\n }\n StringTokenizer strTok = new StringTokenizer(citation,\",\");\n String relClusterID = strTok.nextToken();\n int citID = Integer.parseInt(strTok.nextToken().trim());\n \n //CitationTable citTable = new CitationTable(instance, testData.line);\n CitationTable citTable = new CitationTable(citID, testData.line);\n\t\t\t\n\t\t\tif (options.getInt(\"debugLvl\") > 1) {\n\t\t\t\t//Util.printDbg(\"Invoking segment on \" + seq);\n\t\t\t}\n\n // token[] is an array of labels for seq[]\n\t\t\tint[] token = allLabels(taggedTestData.nextRecord()); \n \n \n CRFout.setToks(token);\n\n//\t\t\ttdw = new TestDataWrite(baseDir + \"/\" + outDirec + \"/\" + outDir + \"/\" + inName\n//\t\t\t\t\t+ \".test\", baseDir + \"/data/\" + inName + \"/\" + inName\n//\t\t\t\t\t+ \".test\", delimit, tagDelimit, impDelimit, labelMap);\n tdw = new TestDataWrite(baseDir + \"/\" + outDirec + \"/\" + outDir + \"/\" + inName\n\t\t\t\t\t+ \".test\", baseDir + \"/data/PubMed_HighEntropy/\" + filename\n\t\t\t\t\t+ \".test\", delimit, tagDelimit, impDelimit, labelMap);\n\n\t\t\t/* Without Clamping */\n //Use raw record and CRF model to populate collect array with path labels\n\t\t\tint path[] = segment(testRecord, testData.groupedTokens(), collect);\n\t\t\t/////////////////////\n\n\t\t\t//for (int ii = 1; ii < path.length; ii++) {\n\t\t\t//\tSystem.out.println (path[ii] + \" \");\n\t\t\t//}\n\t\t\t//System.out.println(\"\\n\");\n\t\t\t\n\t\t\ttdw.writeRecord(path, testRecord.length(), instance);\n\t\t\ttdw.close();\n \n //Sunny code: outputting tokens?\n//\t\t\tTestDataWrite tdw1 = new TestDataWrite(baseDir + \"/data/\" + inName + \"/\"\n//\t\t\t\t\t+ \"tempTagged2\" + \".test\", baseDir + \"/data/\" + inName + \"/\"\n//\t\t\t\t\t+ inName + \".test\", delimit, tagDelimit, impDelimit,\n//\t\t\t\t\tlabelMap);\n TestDataWrite tdw1 = new TestDataWrite(baseDir + \"/data/\" + inName + \"/\"\n\t\t\t\t\t+ \"tempTagged2\" + \".test\", baseDir + \"/data/PubMed_HighEntropy/\" \n\t\t\t\t\t+ filename + \".test\", delimit, tagDelimit, impDelimit,\n\t\t\t\t\tlabelMap);\n\n\t\t\ttdw1.writeRecord(token, token.length, instance);\n\t\t\ttdw1.close();\n \n if (flag1==1) {\n //Computing and determining all marginals\n Marginals marginal = new Marginals(crfModel, testRecord, null);\n marginal.compute();\n marginal.printBetaVector();\n marginal.computeMarginal();\n marginal.normalize();\n //marginal.printNormalized();\n marginal.calculateEntropy(method);\n //System.out.println(\"\\n\");\n\n //Compute entropy\n Double[][] totalMarginal = new Double[token.length][nlabels];\n double[] ent = new double[token.length];\n for (int i=0; i<token.length; i++) {\n Double[] marg = new Double[nlabels];\n marg = marginal.getMarginalProb(i);\n System.arraycopy(marg, 0, totalMarginal[i], 0, nlabels);\n ent[i] = marginal.getEntropy(i);\n }\n\n //Set Marginal and Entropy values\n CRFout.setTotalMarginal(totalMarginal);\n CRFout.setEntropy(ent);\n }\n\t\t\t///////////////\n\t\t\t//NodeCountMap.put(instance, marginal.numHighEntropyNodes(0.2));\n\t\t\t//////////////\n\t\t\t\n\t\t\t\n\t\t\t//////////////\n\t\t\t//double THRESH = 0.2;\n\t\t\t//turkerData.add(new TurkerData(rawline, seq, marginal\n\t\t\t//\t\t.getNumMaxEntropyNodes(THRESH), marginal.getMaxEntropyNode()));\n\t\t\t/////////////\n\t\t\t\n\t\t\t// marginal.printEntropy();\n\n\t\t\t// f.write(marginal.getMaxEntropyNode() + \" \");\n\t\t\t\n\t\t\t\n\t\t\t/* without clamping */\n\t\t\t/*Exp 2*/\n\t\t\t/////////////////////////////////////////////////////////////////////////////////////\n\t\t\t////////////////////////////////////////////////////////////////////////////////////\n\t\t\t//double f1Score = calcWith(testRecord);\n\t\t\tdouble f1Before = calcWith(testRecord);\n\t\t\t////////////////////////////////////////////////////////////////////////////////////\n\t\t\t////////////////////////////////////////////////////////////////////////////////////\n\n\t\t\tdouble[] f1 = new double[token.length]; \n\t\t\t\n\t\t\t/* clamping */\n\t\t\t//System.out.println(\"Length:\" + token.length);\n\t\t\t\n// TrainData tdMan = DataCruncher.readTagged(nlabels, baseDir + \"/data/\"\n//\t\t\t\t+ inName + \"/\" + \"tempTagged2\" + \".test\", baseDir + \"/data/\"\n//\t\t\t\t+ inName + \"/\" + inName + \".test\", delimit, tagDelimit,\n//\t\t\t\timpDelimit, labelMap);\n// TrainData tdAuto = DataCruncher.readTagged(nlabels, baseDir + \"/\" + outDirec + \"/\"\n//\t\t\t\t+ outDir + \"/\" + inName + \".test\", baseDir + \"/data/\" + inName\n//\t\t\t\t+ \"/\" + inName + \".test\", delimit, tagDelimit, impDelimit,\n//\t\t\t\tlabelMap);\n TrainData tdMan = DataCruncher.readTagged(nlabels, baseDir + \"/data/\"\n\t\t\t\t+ inName + \"/\" + \"tempTagged2\" + \".test\", baseDir + \"/data/PubMed_HighEntropy/\"\n\t\t\t\t+ filename + \".test\", delimit, tagDelimit,\n\t\t\t\timpDelimit, labelMap);\n TrainData tdAuto = DataCruncher.readTagged(nlabels, baseDir + \"/\" + outDirec + \"/\"\n\t\t\t\t+ outDir + \"/\" + inName + \".test\", baseDir + \"/data/PubMed_HighEntropy/\"\n\t\t\t\t+ filename + \".test\", delimit, tagDelimit, impDelimit,\n\t\t\t\tlabelMap);\n \n //Accuracy Calculation for Clamping\n// for (int idx=0; idx<tdAuto.size(); idx++) {\n// TrainRecord trMan = tdMan.nextRecord();\n// TrainRecord trAuto = tdAuto.nextRecord();\n// //if (idx==(CRFout.citationID-1)) {\n// int tokenMan[] = allLabels(trMan);\n// int tokenAuto[] = allLabels(trAuto);\n// CRFout.setTrueLabels(tokenMan);\n// CRFout.setAutoLabels(tokenAuto);\n// for (int idx2=0; idx2<tokenMan.length; idx2++) {\n// totalToks++;\n// if (tokenMan[idx2]==tokenAuto[idx2])\n// rightToks++;\n// }\n// //}\n// }\n \n///////////////////////////////////////////////////////////////////////////////////////////////\n/////\n/////\n///// CLAMPING CODE\n/////\n///// Clamping Plan: \n//// 1. Read in list of selected citations and tokens to be clamped\n//// 2. Only clamp if citationID is in list\n/////////////////////////////////////////////////////////////////////////////////////////////// \n \n \n if (topClusters.containsKey(citTable.citationID)) {\n ArrayList<String> citValues = topClusters.get(citTable.citationID);\n \n FileInputStream fInStream3 = new FileInputStream(baseDir + \"/data/PubMed_HighEntropy/\" \n + filename + \".test.raw\"); \n DataInputStream in3 = new DataInputStream(fInStream3);\n BufferedReader br3 = new BufferedReader(new InputStreamReader(in3));\n for (int line=0; line<instance; line++) {\n citation = br3.readLine();\n }\n StringTokenizer tok = new StringTokenizer(citation.toLowerCase(),\n \" \", true);\n \n //FIGURE OUT TOKEN POSITION FROM CHARACTER POSITION HERE\n if (instance==26) \n {\n System.out.println(\"STOP\");\n }\n int fflag = 1;\n int charPos = Integer.parseInt(citValues.get(0).trim());\n int charLength = 0;\n int pos = 0;\n while (charLength < charPos) {\n //System.out.println(CRFout.seqs.length);\n// if(pos<CRFout.seqs.length) {\n// charLength += CRFout.seqs[pos].length() + 1;\n// pos++;\n// }\n if (tok.hasMoreTokens()) {\n String tt = tok.nextToken();\n int count = StringUtils.countMatches(tt, \"-\");\n int countb = StringUtils.countMatches(tt, \"--\");\n int count2 = StringUtils.countMatches(tt, \",\");\n int count3 = StringUtils.countMatches(tt, \":\");\n \n charLength += tt.length();\n //System.out.println(tt);\n if (!tt.equals(\" \"))\n pos++;\n for (int i=0; i<(count-2*countb); i++) {\n pos++;\n }\n for (int i=0; i<countb; i++) {\n pos++;\n }\n for (int i=0; i<count2; i++) {\n pos++;\n }\n }\n else{\n break;\n }\n }\n \n\n// path = segment(testRecord, testData.groupedTokens(), collect,pos, \n// Integer.parseInt(citValues.get(2).trim()));\n \n //Convert from text to truth label\n String lab = citValues.get(2).toLowerCase().trim();\n int label = -1;\n// if (lab.equals(\"title\")) {\n// label = 0;\n// }\n// else if (lab.equals(\"author\")) {\n// label = 1;\n// }\n// else if (lab.equals(\"conference\")) {\n// label = 2;\n// }\n// else if (lab.equals(\"isbn\")) {\n// label = 3;\n// }\n// else if (lab.equals(\"publisher\")) {\n// label = 4;\n// }\n// else if (lab.equals(\"series\")) {\n// label = 5;\n// }\n// else if (lab.equals(\"proceedings\")) {\n// label = 6;\n// }\n// else if (lab.equals(\"year\")) {\n// label = 7;\n// }\n \n if (lab.equals(\"title\")) {\n label = 0;\n }\n else if (lab.equals(\"source\")) {\n label = 1;\n }\n else if (lab.equals(\"author\")) {\n label = 2;\n }\n else if (lab.equals(\"issue\")) {\n label = 3;\n }\n else if (lab.equals(\"volume\")) {\n label = 4;\n }\n else if (lab.equals(\"pages\")) {\n label = 5;\n }\n else if (lab.equals(\"year\")) {\n label = 6;\n }\n \n path = segment(testRecord, testData.groupedTokens(), collect, pos, label);\n\n //FileWriter testf = new FileWriter(baseDir + \"/data/testf.txt\", true);\n \n //testf.write(citValues.get(3) + \" - \" + CRFout.seqs[pos] + \"\\n\");\n //testf.close();\n }\n //\t\t\tfor (int i = 0; i < token.length; i++) {\n//\t\t\t\tif (i == marginal.getMaxEntropyNode()) {\n//\t\t\t\t\ttdw1 = new TestDataWrite(baseDir + \"/data/\" + inName + \"/\"\n//\t\t\t\t\t\t+ \"tempTagged\" + \".test\", baseDir + \"/data/\" + inName\n//\t\t\t\t\t\t+ \"/\" + inName + \".test\", delimit, tagDelimit,\n//\t\t\t\t\t\timpDelimit, labelMap);\n//\n//\t\t\t\t\ttdw1.writeRecord(token, token.length, instance);\n//\t\t\t\t\ttdw1.close();\n//\n//\t\t\t\t\t/* With Clamping */\n//\t\t\t\t\t\n//\t\t\t\t\tif (i==0) {\n//\t\t\t\t\t\tpath = segment(testRecord, testData.groupedTokens(), collect,\n//\t\t\t\t\t\t\t\ti, token[i], token[i+1],1);\n//\t\t\t\t\t}\n//\t\t\t\t\telse if (i==token.length) {\n//\t\t\t\t\t\tpath = segment(testRecord, testData.groupedTokens(), collect,\n//\t\t\t\t\t\t\t\ti, token[i-1], token[i],1);\n//\t\t\t\t\t}\n//\t\t\t\t\telse {\n//\t\t\t\t\t\t////////////////////\n//\t\t\t\t\t\tpath = segment(testRecord, testData.groupedTokens(), collect,\n//\t\t\t\t\t\t\t\ti, token[i], token[i-1], token[i+1]);\n//\t\t\t\t\t\t////////////////////\n//\t\t\t\t\t}\n// \t\t\tTestDataWrite tdw2 = new TestDataWrite(baseDir + \"/\" + outDirec + \"/\" + outDir + \"/\"\n//\t\t\t\t\t\t+ inName + \".test\", baseDir + \"/data/\" + inName + \"/\"\n//\t\t\t\t\t\t+ inName + \".test\", delimit, tagDelimit, impDelimit,\n//\t\t\t\t\t\tlabelMap);\n TestDataWrite tdw2 = new TestDataWrite(baseDir + \"/\" + outDirec + \"/\" + outDir + \"/\"\n\t\t\t\t\t\t+ inName + \".test\", baseDir + \"/data/PubMed_HighEntropy/\" \n\t\t\t\t\t\t+ filename + \".test\", delimit, tagDelimit, impDelimit,\n\t\t\t\t\t\tlabelMap);\n\t\t\t\t\ttdw2.writeRecord(path, testRecord.length(), instance);\n\t\t\t\t\ttdw2.close();\n//\n\t\t\t\t\tdouble f1After = calcWith(testRecord);\n//\t\t\t\t\n//\t\t\t\t\n//\t\t\t\t// Prints the accuracy after clamping the maximum entropy node //\n//\t\t\t\t\n//\t\t\t\t\t//f.write(f1[i] + \" \");\n//\t\t\t\t\tMarginals _marginal = new Marginals(crfModel, testRecord,\n//\t\t\t\t\t\t\tnull);\n//\t\t\t\t\t_marginal.compute(i, token[i]);\n//\t\t\t\t\t_marginal.computeMarginal();\n//\t\t\t\t\t_marginal.normalize();\n//\t\t\t\t\t_marginal.calculateEntropy(i,method);\n//\t\t\t\t\t//f.write(_marginal.averageEntropy() + \" \");\n//\t\t\t\t\t/////////////////////////////////////////////////////////////////////////////////////\n//\t\t\t\t\t////////////////////////////////////////////////////////////////////////////////////\n//\t\t\t\t\tdouble THRESH = 0.13;\n//\t\t\t\t\tdouble f1After = calcWith(testRecord);\n//\t\t\t\t\t\n//\t\t\t\t\t\t\t//marginal.getNumMaxEntropyNodes(THRESH) + \" \");\n//\t\t\t\t\t//////////////\n//\t\t\t\t\t\n//\t\t\t\t\tturkerData.add(new TurkerData(rawline, seq, marginal\n//\t\t\t\t\t\t\t.getNumMaxEntropyNodes(THRESH), marginal.getMaxEntropyNode(),\n//\t\t\t\t\t\t\tf1Before,f1After,marginal.getEntropy(i), marginal.getNumMaxEntropyNodes(THRESH)));\n//\t\t\t\t\t/////////////\n//\t\t\t\t\t////////////////////////////////////////////////////////////////////////////////////\n//\t\t\t\t\t////////////////////////////////////////////////////////////////////////////////////\n//\t\t\t\t}\n//\t\t\t}\n\n\t\t\tinstance++;\n //////////////////////////////////////////////////////////////////////////////////////////////////// \n// f2.write(citTable.citationID + \", \\\"\" + citTable.rawText + \"\\\"\\n\");\n// for (int line=0; line<CRFout.seqs.length; line++) {\n// f.write(CRFout.citationID + \", \" \n// //+ citTable.rawText.indexOf(CRFout.seqs[line]) + \", \\\"\"\n// + line + \", \\\"\"\n// + CRFout.seqs[line] + \"\\\", \" \n// + Integer.toString(CRFout.trueLabels[line]) + \", \"\n// + Integer.toString(CRFout.autoLabels[line]) + \", \"\n// + Double.toString(CRFout.totalMarginal[line][0]) + \", \"\n// + Double.toString(CRFout.totalMarginal[line][1]) + \", \"\n// + Double.toString(CRFout.totalMarginal[line][2]) + \", \"\n// + Double.toString(CRFout.totalMarginal[line][3]) + \", \"\n// + Double.toString(CRFout.totalMarginal[line][4]) + \", \"\n// + Double.toString(CRFout.totalMarginal[line][5]) + \", \"\n// + Double.toString(CRFout.totalMarginal[line][6]) + \", \"\n// + Double.toString(CRFout.totalMarginal[line][7]) + \", \"\n// + Double.toString(CRFout.entropy[line]) + \"\\n\"\n// );\n// }\n \n// for (int line=0; line<CRFout.seqs.length; line++) {\n// f3.write(citTable.citationID + \", \"\n// + line + \", \"\n// + \"\\\"\" + CRFout.seqs[line] + \"\\\", \"\n// + CRFout.token[line] + \"\\n\");\n// }\n \n ////////////////////////////////////////////////////////////////////////////////////// \n\n int clamped = -1;\n\n if (topClusters.containsKey(citTable.citationID)) {\n clamped = 1;\n }\n else {\n clamped = 0;\n }\n \n// facc.write(citTable.citationID + \", \" + f1Before + \", \" + f1After + \", \" + clamped + \"\\n\");\n \n\n ArrayList<String> citValue = topClusters.get(citTable.citationID);\n if (citValue.size()>=4) {\n if (citValue.get(4)!=null) {\n facc.write(citTable.citationID + \", \" + f1Before + \", \" + f1After + \", \"\n + citValue.get(4) + \", \" + citValue.get(1) + \"\\n\");\n }\n }\n //if (marginal.getMaxEntropyNode() < token.length){\n\t\t\t\t//f.write(Double.toString(f1[marginal.getMaxEntropyNode()]) + \" \");\n\t\t\t//}\n\t\t\t//int count = 0;\n\n\t\t\t/* count of the number of nodes with accuracy improvement more than\n\t\t\t * that of the maximum entropy node.\n\t\t\t */\n\t\t\t//for (int i = 0; i < token.length; i++) {\n\t\t\t//\tif ((f1[marginal.getMaxEntropyNode()] <= f1[i])\n\t\t\t//\t\t\t&& (i != marginal.getMaxEntropyNode()))\n\t\t\t//\t\tcount++;\n\t\t\t//}\n\t\t\t//f.write(\"\\n\");\n\n\t\t\t//f.write(Integer.toString(count) + \"\\n\");\n\t\t}\n\t\t// tdw1.close();\n\t\t// tdw.close();\n\t\t// f.write(\"\\n\");\n\t\t\n\t\t// tdw.close();\n\t\t// testData = new TestData(baseDir + \"/data/\" + inName + \"/\" + inName\n\t\t// + \".test\", delimit, impDelimit, groupDelimit);\n\t\t// calc();\n\n\t\t//f2.write(\"\\n\\n\");\n\t\t// Sort the turkerdata\n\t\t\n//\t\tCollections.sort(turkerData, new Comparator<TurkerData>() {\n//\t\t\tpublic int compare(TurkerData data1, TurkerData data2) {\n//\t\t\t\treturn (data2.maxEntropy > data1.maxEntropy) ? 1 : 0;\n//\t\t\t}\n//\t\t});\n//\t\tdouble BUDGET = 1;\n//\t\tfor (int i=0; i<BUDGET; i++) {\n//\t\t\t//f_3.write(turkerData.get(i).beforeClampingScore + \" \" + \n//\t\t\t\t\t//turkerData.get(i).afterClampingScore + \" \" +\n//\t\t\t\t\t//turkerData.get(i).maxEntropy + \" \" +\n//\t\t\t\t\t//turkerData.get(i).maxEntropyNode + \"\\n\");\n//\t\t}\n//\t\t//f2.write(\"\\n\\n\");\n//\t\t// Sort the turkerdata\n//\t\tCollections.sort(turkerData, new Comparator<TurkerData>() {\n//\t\t\tpublic int compare(TurkerData data1, TurkerData data2) {\n//\t\t\t\treturn (data2.maxNum > data1.maxNum) ? 1 : 0;\n//\t\t\t}\n//\t\t});\n//\t\tfor (int i=0; i<BUDGET; i++) {\n//\t\t\t//f_3.write(turkerData.get(i).beforeClampingScore + \" \" + \n//\t\t\t\t\t//turkerData.get(i).afterClampingScore + \" \" +\n//\t\t\t\t\t//turkerData.get(i).maxNum + \" \" +\n//\t\t\t\t\t//turkerData.get(i).maxEntropy + \"\\n\");\n//\t\t}\n\t\t//f3.write(\"\\n\\n\");\n\t\t//generateTopK(2);\n\t\n\n\t\t\n\t\tf.close();\n f2.close();\n f3.close();\n// facc.close();\n// double acc = (double)rightToks/(double)totalToks;\n// System.out.println(\"Correct tokens: \" + rightToks);\n// System.out.println(\"Total tokens: \" + totalToks);\n// System.out.println(\"Accuracy: \" + acc);\n\t}", "title": "" }, { "docid": "0bed2fc034b0ebd12f4f278a525dbb87", "score": "0.62887114", "text": "@Test(timeout = 4000)\n public void test09() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n int[] intArray0 = new int[6];\n intArray0[3] = (-1);\n intArray0[1] = (-2);\n intArray0[2] = (-2);\n intArray0[3] = (-2);\n CostSensitiveClassifier costSensitiveClassifier0 = new CostSensitiveClassifier();\n double double0 = evaluation0.SFMeanPriorEntropy();\n assertEquals(Double.NaN, double0, 0.01);\n \n double double1 = evaluation0.weightedRecall();\n Evaluation evaluation1 = new Evaluation(instances0);\n evaluation1.setDiscardPredictions(false);\n double double2 = evaluation0.KBRelativeInformation();\n assertEquals(0.0, double2, 0.01);\n \n evaluation0.incorrect();\n double double3 = evaluation0.weightedFalsePositiveRate();\n assertEquals(double3, double1, 0.01);\n assertEquals(Double.NaN, double3, 0.01);\n }", "title": "" }, { "docid": "ce0fcc52279fed26cf36d3be64d1f417", "score": "0.6282937", "text": "@Test(timeout = 4000)\n public void test33() throws Throwable {\n RegressionByDiscretization regressionByDiscretization0 = new RegressionByDiscretization();\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertNotNull(regressionByDiscretization0);\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n \n Capabilities capabilities0 = regressionByDiscretization0.getCapabilities();\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertNotNull(capabilities0);\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n \n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(testInstances0);\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getClassType());\n \n Instances instances0 = testInstances0.generate(\"|J\");\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(instances0);\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getClassType());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(1, instances0.numClasses());\n assertEquals(20, instances0.size());\n assertEquals(3, instances0.classIndex());\n assertEquals(4, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(20, instances0.numInstances());\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(evaluation0);\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getClassType());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(1, instances0.numClasses());\n assertEquals(20, instances0.size());\n assertEquals(3, instances0.classIndex());\n assertEquals(4, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(20, instances0.numInstances());\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n \n // Undeclared exception!\n try { \n evaluation0.weightedFalsePositiveRate();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }", "title": "" }, { "docid": "8794534ab53978d2b5179da94925dd54", "score": "0.6260405", "text": "@Test(timeout = 4000)\n public void test40() throws Throwable {\n RegressionByDiscretization regressionByDiscretization0 = new RegressionByDiscretization();\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertNotNull(regressionByDiscretization0);\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n \n Capabilities capabilities0 = regressionByDiscretization0.getCapabilities();\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertNotNull(capabilities0);\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n \n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(testInstances0);\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertFalse(testInstances0.getMultiInstance());\n assertFalse(testInstances0.getNoClass());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n \n Instances instances0 = testInstances0.generate(\"|J\");\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(instances0);\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertFalse(testInstances0.getMultiInstance());\n assertFalse(testInstances0.getNoClass());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(4, instances0.numAttributes());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(3, instances0.classIndex());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(1, instances0.numClasses());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.numInstances());\n assertEquals(20, instances0.size());\n \n Capabilities capabilities1 = Capabilities.forInstances(instances0);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(capabilities1);\n assertFalse(capabilities1.equals((Object)capabilities0));\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertFalse(testInstances0.getMultiInstance());\n assertFalse(testInstances0.getNoClass());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(4, instances0.numAttributes());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(3, instances0.classIndex());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(1, instances0.numClasses());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.numInstances());\n assertEquals(20, instances0.size());\n assertEquals(1, capabilities1.getMinimumNumberInstances());\n assertFalse(capabilities1.hasDependencies());\n assertNotSame(capabilities0, capabilities1);\n assertNotSame(capabilities1, capabilities0);\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(evaluation0);\n assertFalse(capabilities0.equals((Object)capabilities1));\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertFalse(testInstances0.getMultiInstance());\n assertFalse(testInstances0.getNoClass());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(4, instances0.numAttributes());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(3, instances0.classIndex());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(1, instances0.numClasses());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.numInstances());\n assertEquals(20, instances0.size());\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n \n // Undeclared exception!\n try { \n evaluation0.weightedMatthewsCorrelation();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }", "title": "" }, { "docid": "61029f039dd0c40f100ece6b9e94861d", "score": "0.6250347", "text": "@Test(timeout = 4000)\n public void test26() throws Throwable {\n CostSensitiveClassifier costSensitiveClassifier0 = new CostSensitiveClassifier();\n assertEquals(2, CostSensitiveClassifier.MATRIX_SUPPLIED);\n assertEquals(1, CostSensitiveClassifier.MATRIX_ON_DEMAND);\n assertNotNull(costSensitiveClassifier0);\n assertEquals(\"The random number seed to be used.\", costSensitiveClassifier0.seedTipText());\n assertFalse(costSensitiveClassifier0.getDebug());\n assertEquals(\"A metaclassifier that makes its base classifier cost-sensitive. Two methods can be used to introduce cost-sensitivity: reweighting training instances according to the total cost assigned to each class; or predicting the class with minimum expected misclassification cost (rather than the most likely class). Performance can often be improved by using a Bagged classifier to improve the probability estimates of the base classifier.\", costSensitiveClassifier0.globalInfo());\n assertEquals(\"Sets whether the minimum expected cost criteria will be used. If this is false, the training data will be reweighted according to the costs assigned to each class. If true, the minimum expected cost criteria will be used.\", costSensitiveClassifier0.minimizeExpectedCostTipText());\n assertEquals(\"Sets the directory where cost files are loaded from. This option is used when the costMatrixSource is set to \\\"On Demand\\\".\", costSensitiveClassifier0.onDemandDirectoryTipText());\n assertEquals(\"The base classifier to be used.\", costSensitiveClassifier0.classifierTipText());\n assertFalse(costSensitiveClassifier0.getMinimizeExpectedCost());\n assertEquals(1, costSensitiveClassifier0.getSeed());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", costSensitiveClassifier0.debugTipText());\n assertEquals(\"Sets the cost matrix explicitly. This matrix is used if the costMatrixSource property is set to \\\"Supplied\\\".\", costSensitiveClassifier0.costMatrixTipText());\n assertEquals(0, costSensitiveClassifier0.graphType());\n \n CostMatrix costMatrix0 = costSensitiveClassifier0.getCostMatrix();\n assertEquals(2, CostSensitiveClassifier.MATRIX_SUPPLIED);\n assertEquals(1, CostSensitiveClassifier.MATRIX_ON_DEMAND);\n assertNotNull(costMatrix0);\n assertEquals(\"The random number seed to be used.\", costSensitiveClassifier0.seedTipText());\n assertFalse(costSensitiveClassifier0.getDebug());\n assertEquals(\"A metaclassifier that makes its base classifier cost-sensitive. Two methods can be used to introduce cost-sensitivity: reweighting training instances according to the total cost assigned to each class; or predicting the class with minimum expected misclassification cost (rather than the most likely class). Performance can often be improved by using a Bagged classifier to improve the probability estimates of the base classifier.\", costSensitiveClassifier0.globalInfo());\n assertEquals(\"Sets whether the minimum expected cost criteria will be used. If this is false, the training data will be reweighted according to the costs assigned to each class. If true, the minimum expected cost criteria will be used.\", costSensitiveClassifier0.minimizeExpectedCostTipText());\n assertEquals(\"Sets the directory where cost files are loaded from. This option is used when the costMatrixSource is set to \\\"On Demand\\\".\", costSensitiveClassifier0.onDemandDirectoryTipText());\n assertEquals(\"The base classifier to be used.\", costSensitiveClassifier0.classifierTipText());\n assertFalse(costSensitiveClassifier0.getMinimizeExpectedCost());\n assertEquals(1, costSensitiveClassifier0.getSeed());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", costSensitiveClassifier0.debugTipText());\n assertEquals(\"Sets the cost matrix explicitly. This matrix is used if the costMatrixSource property is set to \\\"Supplied\\\".\", costSensitiveClassifier0.costMatrixTipText());\n assertEquals(0, costSensitiveClassifier0.graphType());\n assertEquals(1, costMatrix0.numRows());\n assertEquals(1, costMatrix0.numColumns());\n assertEquals(1, costMatrix0.size());\n \n try { \n Evaluation.evaluateModel((Classifier) costSensitiveClassifier0, (String[]) null);\n fail(\"Expecting exception: Exception\");\n \n } catch(Exception e) {\n //\n // \n // Weka exception: null\n // \n // General options:\n // \n // -h or -help\n // \\tOutput help information.\n // -synopsis or -info\n // \\tOutput synopsis for classifier (use in conjunction with -h)\n // -t <name of training file>\n // \\tSets training file.\n // -T <name of test file>\n // \\tSets test file. If missing, a cross-validation will be performed\n // \\ton the training data.\n // -c <class index>\n // \\tSets index of class attribute (default: last).\n // -x <number of folds>\n // \\tSets number of folds for cross-validation (default: 10).\n // -no-cv\n // \\tDo not perform any cross validation.\n // -split-percentage <percentage>\n // \\tSets the percentage for the train/test set split, e.g., 66.\n // -preserve-order\n // \\tPreserves the order in the percentage split.\n // -s <random number seed>\n // \\tSets random number seed for cross-validation or percentage split\n // \\t(default: 1).\n // -m <name of file with cost matrix>\n // \\tSets file with cost matrix.\n // -l <name of input file>\n // \\tSets model input file. In case the filename ends with '.xml',\n // \\ta PMML file is loaded or, if that fails, options are loaded\n // \\tfrom the XML file.\n // -d <name of output file>\n // \\tSets model output file. In case the filename ends with '.xml',\n // \\tonly the options are saved to the XML file, not the model.\n // -v\n // \\tOutputs no statistics for training data.\n // -o\n // \\tOutputs statistics only, not the classifier.\n // -i\n // \\tOutputs detailed information-retrieval statistics for each class.\n // -k\n // \\tOutputs information-theoretic statistics.\n // -classifications \\\"weka.classifiers.evaluation.output.prediction.AbstractOutput + options\\\"\n // \\tUses the specified class for generating the classification output.\n // \\tE.g.: weka.classifiers.evaluation.output.prediction.PlainText\n // -p range\n // \\tOutputs predictions for test instances (or the train instances if\n // \\tno test instances provided and -no-cv is used), along with the \n // \\tattributes in the specified range (and nothing else). \n // \\tUse '-p 0' if no attributes are desired.\n // \\tDeprecated: use \\\"-classifications ...\\\" instead.\n // -distribution\n // \\tOutputs the distribution instead of only the prediction\n // \\tin conjunction with the '-p' option (only nominal classes).\n // \\tDeprecated: use \\\"-classifications ...\\\" instead.\n // -r\n // \\tOnly outputs cumulative margin distribution.\n // -g\n // \\tOnly outputs the graph representation of the classifier.\n // -xml filename | xml-string\n // \\tRetrieves the options from the XML-data instead of the command line.\n // -threshold-file <file>\n // \\tThe file to save the threshold data to.\n // \\tThe format is determined by the extensions, e.g., '.arff' for ARFF \n // \\tformat or '.csv' for CSV.\n // -threshold-label <label>\n // \\tThe class label to determine the threshold data for\n // \\t(default is the first label)\n // \n // Options specific to weka.classifiers.meta.CostSensitiveClassifier:\n // \n // -M\n // \\tMinimize expected misclassification cost. Default is to\n // \\treweight training instances according to costs per class\n // -C <cost file name>\n // \\tFile name of a cost matrix to use. If this is not supplied,\n // \\ta cost matrix will be loaded on demand. The name of the\n // \\ton-demand file is the relation name of the training data\n // \\tplus \\\".cost\\\", and the path to the on-demand file is\n // \\tspecified with the -N option.\n // -N <directory>\n // \\tName of a directory to search for cost files when loading\n // \\tcosts on demand (default current directory).\n // -cost-matrix <matrix>\n // \\tThe cost matrix in Matlab single line format.\n // -S <num>\n // \\tRandom number seed.\n // \\t(default 1)\n // -D\n // \\tIf set, classifier is run in debug mode and\n // \\tmay output additional info to the console\n // -W\n // \\tFull name of base classifier.\n // \\t(default: weka.classifiers.rules.ZeroR)\n // \n // Options specific to classifier weka.classifiers.rules.ZeroR:\n // \n // -D\n // \\tIf set, classifier is run in debug mode and\n // \\tmay output additional info to the console\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }", "title": "" }, { "docid": "fb037c5d52c29724a43fe2ee14715834", "score": "0.62250715", "text": "@Test(timeout = 4000)\n public void test16() throws Throwable {\n String[] stringArray0 = new String[2];\n stringArray0[0] = \";C|gT,;vK_X2tBONoGI\";\n MockRandom mockRandom0 = new MockRandom(1110L);\n mockRandom0.doubles();\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate();\n MockRandom mockRandom1 = new MockRandom(3328L);\n instances0.randomize(mockRandom1);\n Evaluation evaluation0 = new Evaluation(instances0);\n String string0 = evaluation0.toCumulativeMarginDistributionString();\n evaluation0.setDiscardPredictions(false);\n evaluation0.KBRelativeInformation();\n evaluation0.incorrect();\n evaluation0.weightedFalsePositiveRate();\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n textDirectoryLoader0.getOptions();\n evaluation0.toSummaryString(true);\n AttributeSelectedClassifier attributeSelectedClassifier0 = new AttributeSelectedClassifier();\n evaluation0.SFSchemeEntropy();\n evaluation0.weightedFalseNegativeRate();\n String string1 = Evaluation.makeOptionString(attributeSelectedClassifier0, false);\n assertFalse(string1.equals((Object)string0));\n }", "title": "" }, { "docid": "0294779cf869a92f0915b487e30655a5", "score": "0.620178", "text": "double getFeatureCoverage();", "title": "" }, { "docid": "3410295edee564fc8ea7abbae4795d97", "score": "0.62011194", "text": "@Test(timeout = 4000)\n public void test35() throws Throwable {\n RegressionByDiscretization regressionByDiscretization0 = new RegressionByDiscretization();\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertNotNull(regressionByDiscretization0);\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n \n Capabilities capabilities0 = regressionByDiscretization0.getCapabilities();\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertNotNull(capabilities0);\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n \n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(testInstances0);\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(1, testInstances0.getNumDate());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumString());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumClasses());\n \n Instances instances0 = testInstances0.generate(\"|J\");\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(instances0);\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(1, testInstances0.getNumDate());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumString());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumClasses());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(1, instances0.numClasses());\n assertEquals(20, instances0.size());\n assertEquals(3, instances0.classIndex());\n assertEquals(4, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(20, instances0.numInstances());\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(evaluation0);\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(1, testInstances0.getNumDate());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumString());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumClasses());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(1, instances0.numClasses());\n assertEquals(20, instances0.size());\n assertEquals(3, instances0.classIndex());\n assertEquals(4, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(20, instances0.numInstances());\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n \n try { \n evaluation0.toClassDetailsString();\n fail(\"Expecting exception: Exception\");\n \n } catch(Exception e) {\n //\n // Evaluation: No per class statistics possible!\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }", "title": "" }, { "docid": "ab98766dc59ea6a99ecdd14dcf840bb0", "score": "0.61850387", "text": "@Test(timeout = 4000)\n public void test41() throws Throwable {\n Discretize discretize0 = new Discretize();\n ArrayList<Attribute> arrayList0 = new ArrayList<Attribute>();\n EvoSuiteFile evoSuiteFile0 = new EvoSuiteFile(\"/home/ubuntu/wekafiles/props\");\n byte[] byteArray0 = new byte[5];\n byteArray0[0] = (byte)47;\n byteArray0[1] = (byte)47;\n byteArray0[2] = (byte)47;\n byteArray0[3] = (byte) (-82);\n byteArray0[4] = (byte)67;\n FileSystemHandling.appendDataToFile(evoSuiteFile0, byteArray0);\n Attribute attribute0 = new Attribute(\"\\\"position\\\"has unknown type\");\n Attribute attribute1 = new Attribute(\"string\");\n arrayList0.add(attribute0);\n Instances instances0 = new Instances(\"string\", arrayList0, 1);\n discretize0.setInputFormat(instances0);\n discretize0.m_NumBins = 1;\n FileSystemHandling.setPermissions(evoSuiteFile0, false, false, false);\n // Undeclared exception!\n try { \n discretize0.calculateCutPointsByEqualWidthBinning(3);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.filters.unsupervised.attribute.Discretize\", e);\n }\n }", "title": "" }, { "docid": "ef37b9bb94a765e015e36ca043569ed7", "score": "0.6161981", "text": "@Test(timeout = 4000)\n public void test49() throws Throwable {\n EvoSuiteFile evoSuiteFile0 = new EvoSuiteFile(\"/home/ubuntu/wekafiles\");\n boolean boolean0 = FileSystemHandling.shouldThrowIOException(evoSuiteFile0);\n assertTrue(boolean0);\n \n RegressionByDiscretization regressionByDiscretization0 = new RegressionByDiscretization();\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertNotNull(regressionByDiscretization0);\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n \n Capabilities capabilities0 = regressionByDiscretization0.getCapabilities();\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertNotNull(capabilities0);\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n \n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(testInstances0);\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertFalse(testInstances0.getNoClass());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n \n Instances instances0 = testInstances0.generate(\" \");\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(instances0);\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertFalse(testInstances0.getNoClass());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(4, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(1, instances0.numClasses());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(3, instances0.classIndex());\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(evaluation0);\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertFalse(testInstances0.getNoClass());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(4, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(1, instances0.numClasses());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(3, instances0.classIndex());\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n \n // Undeclared exception!\n try { \n evaluation0.unweightedMicroFmeasure();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }", "title": "" }, { "docid": "e46fd90c4497bf2ddeccf61edf80ef95", "score": "0.61523205", "text": "@Test(timeout = 4000)\n public void test32() throws Throwable {\n Discretize discretize0 = new Discretize();\n ArrayList<Attribute> arrayList0 = new ArrayList<Attribute>();\n Attribute attribute0 = new Attribute(\".ycf\");\n arrayList0.add(attribute0);\n Instances instances0 = new Instances(\"string\", arrayList0, 2);\n boolean boolean0 = discretize0.setInputFormat(instances0);\n assertFalse(boolean0);\n \n discretize0.calculateCutPoints();\n String string0 = discretize0.getBinRangesString(0);\n assertEquals(10, discretize0.getBins());\n assertEquals((-1.0), discretize0.getDesiredWeightOfInstancesPerInterval(), 0.01);\n assertFalse(discretize0.getUseBinNumbers());\n assertFalse(discretize0.getFindNumBins());\n assertEquals(\"All\", string0);\n assertFalse(discretize0.getUseEqualFrequency());\n }", "title": "" }, { "docid": "26167dfb76c0499357e1d7f61c627592", "score": "0.61507046", "text": "@Test(timeout = 4000)\n public void test42() throws Throwable {\n RegressionByDiscretization regressionByDiscretization0 = new RegressionByDiscretization();\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertNotNull(regressionByDiscretization0);\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n \n Capabilities capabilities0 = regressionByDiscretization0.getCapabilities();\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertNotNull(capabilities0);\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n \n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(testInstances0);\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getSeed());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNumeric());\n assertFalse(testInstances0.getNoClass());\n \n Instances instances0 = testInstances0.generate(\"|J\");\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(instances0);\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getSeed());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNumeric());\n assertFalse(testInstances0.getNoClass());\n assertEquals(3, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.numClasses());\n assertEquals(4, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertFalse(instances0.checkForStringAttributes());\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(evaluation0);\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getSeed());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNumeric());\n assertFalse(testInstances0.getNoClass());\n assertEquals(3, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.numClasses());\n assertEquals(4, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n \n double[] doubleArray0 = new double[9];\n doubleArray0[0] = (double) 2;\n doubleArray0[1] = (double) (-2);\n doubleArray0[2] = (double) 1;\n doubleArray0[3] = (double) 0;\n evaluation0.setNumericPriorsFromBuffer();\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getSeed());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNumeric());\n assertFalse(testInstances0.getNoClass());\n assertEquals(3, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.numClasses());\n assertEquals(4, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n \n doubleArray0[4] = (double) 2;\n doubleArray0[5] = (double) 0;\n doubleArray0[6] = (double) 0;\n DenseInstance denseInstance0 = new DenseInstance(1, doubleArray0);\n assertEquals(6, AbstractInstance.s_numericAfterDecimalPoint);\n assertNotNull(denseInstance0);\n assertArrayEquals(new double[] {2.0, (-2.0), 1.0, 0.0, 2.0, 0.0, 0.0, 0.0, 0.0}, doubleArray0, 0.01);\n assertEquals(1.0, denseInstance0.weight(), 0.01);\n assertEquals(9, denseInstance0.numAttributes());\n assertEquals(9, denseInstance0.numValues());\n assertEquals(9, doubleArray0.length);\n \n boolean boolean0 = FileSystemHandling.appendStringToFile((EvoSuiteFile) null, \"|J\");\n assertFalse(boolean0);\n \n double[] doubleArray1 = new double[3];\n assertFalse(doubleArray1.equals((Object)doubleArray0));\n \n doubleArray1[0] = (double) 2;\n doubleArray1[1] = (double) 2;\n doubleArray1[2] = (double) 1;\n evaluation0.updateMargins(doubleArray1, 2, 3284.69134);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertArrayEquals(new double[] {2.0, 2.0, 1.0}, doubleArray1, 0.01);\n assertFalse(doubleArray1.equals((Object)doubleArray0));\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getSeed());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNumeric());\n assertFalse(testInstances0.getNoClass());\n assertEquals(3, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.numClasses());\n assertEquals(4, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(3, doubleArray1.length);\n assertNotSame(doubleArray1, doubleArray0);\n \n double double0 = evaluation0.SFMeanPriorEntropy();\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals(Double.NaN, double0, 0.01);\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertFalse(regressionByDiscretization0.getDebug());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(1, testInstances0.getSeed());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNumeric());\n assertFalse(testInstances0.getNoClass());\n assertEquals(3, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.numClasses());\n assertEquals(4, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n \n try { \n evaluation0.updateStatsForPredictor((-1), denseInstance0);\n fail(\"Expecting exception: RuntimeException\");\n \n } catch(RuntimeException e) {\n //\n // DenseInstance doesn't have access to a dataset!\n //\n verifyException(\"weka.core.AbstractInstance\", e);\n }\n }", "title": "" }, { "docid": "93c4faac024be236e122b0991b6ffebc", "score": "0.6147235", "text": "float getEntropyScore();", "title": "" }, { "docid": "4d7a960047c8f95dc0ab5b57fab49540", "score": "0.6101754", "text": "@Test(timeout = 4000)\n public void test12() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0);\n double[] doubleArray0 = new double[7];\n doubleArray0[0] = (double) 64;\n Version.MINOR = 493;\n doubleArray0[1] = 1608.2289599268;\n doubleArray0[4] = (double) 64;\n doubleArray0[3] = (double) 64;\n doubleArray0[4] = (double) 64;\n doubleArray0[5] = (double) 64;\n doubleArray0[6] = (double) 64;\n evaluation0.updateNumericScores(doubleArray0, doubleArray0, 1.0);\n double[] doubleArray1 = new double[2];\n doubleArray1[1] = (double) 64;\n double double0 = evaluation0.weightedFalseNegativeRate();\n double double1 = evaluation0.meanAbsoluteError();\n assertEquals(double1, double0, 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, double1, 0.01);\n }", "title": "" }, { "docid": "bf65f1e543ef47aec7546efe2ffa407e", "score": "0.6093657", "text": "@Test\n public void vulnerableXenHypervisorProbabilityTest() {\n Sampler.isDeterministic = false;\n assertEquals(\"Did not bypass IDSs.\", 0.75, probabilityTest(new VulnerableXenHypervisorProbabilityTest()), 0.1);\n }", "title": "" }, { "docid": "16c438cda8dc6b584d118f3877408d31", "score": "0.6088643", "text": "@Test(timeout = 4000)\n public void test28() throws Throwable {\n Discretize discretize0 = new Discretize();\n ArrayList<Attribute> arrayList0 = new ArrayList<Attribute>();\n Attribute attribute0 = new Attribute(\"\\\"position\\\"has unknown type\");\n arrayList0.add(attribute0);\n Instances instances0 = new Instances(\"date\", arrayList0, 2);\n discretize0.setInputFormat(instances0);\n discretize0.calculateCutPoints();\n discretize0.setOutputFormat();\n DenseInstance denseInstance0 = new DenseInstance(2);\n discretize0.input(denseInstance0);\n Random.setNextRandom(123);\n }", "title": "" }, { "docid": "bbd257f816f94f9bd3f1f1b6ed097506", "score": "0.60507935", "text": "@Test(timeout = 4000)\n public void test20() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n textDirectoryLoader0.getStructure();\n C45Loader c45Loader0 = new C45Loader();\n c45Loader0.setUseRelativePath(true);\n File file0 = c45Loader0.retrieveFile();\n textDirectoryLoader0.setDirectory(file0);\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate(\"@data\");\n Evaluation evaluation0 = new Evaluation(instances0);\n String string0 = evaluation0.toSummaryString(true);\n assertEquals(\"=== Summary ===\\n\\nTotal Number of Instances 0 \\n\", string0);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n }", "title": "" }, { "docid": "f6d82dda0d905aa55c4fc15250a9d0c8", "score": "0.6044737", "text": "@Test(timeout = 4000)\n public void test16() throws Throwable {\n Discretize discretize0 = new Discretize();\n discretize0.setAttributeIndices(\"\");\n String[] stringArray0 = discretize0.getOptions();\n assertEquals(10, discretize0.getBins());\n assertEquals((-1.0), discretize0.getDesiredWeightOfInstancesPerInterval(), 0.01);\n assertEquals(4, stringArray0.length);\n }", "title": "" }, { "docid": "698e81af1f85436314dfd85615e9dd8b", "score": "0.60432154", "text": "@Test(timeout = 4000)\n public void test07() throws Throwable {\n Discretize discretize0 = new Discretize();\n discretize0.getOptions();\n double[][] doubleArray0 = new double[12][8];\n discretize0.getRevision();\n discretize0.setMakeBinary(true);\n discretize0.m_CutPoints = doubleArray0;\n discretize0.getBinRangesString(9);\n assertTrue(discretize0.getMakeBinary());\n }", "title": "" }, { "docid": "65411f74542c5574bbbeaf6a426d4acd", "score": "0.60425633", "text": "@Test\n public void testAutomated_readability_index() {\n System.out.println(\"automated_readability_index\");\n String strText = TEST_STRING;\n double expResult = 143.2;\n double result = ReadabilityStatistics.automated_readability_index(strText);\n assertEquals(expResult, result, TestConfiguration.DOUBLE_ACCURACY_HIGH);\n }", "title": "" }, { "docid": "428d0516709a45c5fc51b4abdb99d48e", "score": "0.59875035", "text": "@Test(timeout = 4000)\n public void test54() throws Throwable {\n FileSystemHandling.setPermissions((EvoSuiteFile) null, false, false, true);\n Discretize discretize0 = new Discretize();\n ArrayList<Attribute> arrayList0 = new ArrayList<Attribute>();\n Attribute attribute0 = new Attribute(\"\\\"position\\\" has unknown type\");\n arrayList0.add(attribute0);\n Instances instances0 = new Instances(\"HuI)L44;vn \", arrayList0, 1);\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance(1);\n instances0.add((Instance) binarySparseInstance0);\n discretize0.setInputFormat(instances0);\n discretize0.setUseEqualFrequency(true);\n double[] doubleArray0 = new double[1];\n doubleArray0[0] = 3800.84988;\n SparseInstance sparseInstance0 = new SparseInstance(3800.84988, doubleArray0);\n instances0.add((Instance) sparseInstance0);\n sparseInstance0.setValue(attribute0, (double) 1);\n SparseInstance sparseInstance1 = new SparseInstance(sparseInstance0);\n sparseInstance1.toString(attribute0);\n FileSystemHandling.setPermissions((EvoSuiteFile) null, false, false, false);\n binarySparseInstance0.isMissing(attribute0);\n instances0.add((Instance) sparseInstance1);\n Filter.useFilter(instances0, discretize0);\n discretize0.calculateCutPoints();\n }", "title": "" }, { "docid": "440f20938dbec66be0dc120df7086b46", "score": "0.5970786", "text": "@Test\n public void testColeman_liau_index() {\n System.out.println(\"coleman_liau_index\");\n String strText = TEST_STRING;\n double expResult = 6.8;\n double result = ReadabilityStatistics.coleman_liau_index(strText);\n assertEquals(expResult, result, TestConfiguration.DOUBLE_ACCURACY_HIGH);\n }", "title": "" }, { "docid": "c2eeda1d0b4f386343617de1f629cbf1", "score": "0.59395605", "text": "@Test(timeout = 4000)\n public void test17() throws Throwable {\n String[] stringArray0 = new String[2];\n stringArray0[0] = \";C|gT,;vK_X2tBONoGI\";\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate();\n MockRandom mockRandom0 = new MockRandom(3328L);\n instances0.randomize(mockRandom0);\n Evaluation evaluation0 = new Evaluation(instances0);\n String string0 = evaluation0.toCumulativeMarginDistributionString();\n assertEquals(\" -1 0 \\n\", string0);\n \n evaluation0.setDiscardPredictions(false);\n double double0 = evaluation0.KBRelativeInformation();\n assertEquals(0.0, double0, 0.01);\n \n evaluation0.incorrect();\n double double1 = evaluation0.weightedFalsePositiveRate();\n assertEquals(Double.NaN, double1, 0.01);\n \n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n textDirectoryLoader0.getOptions();\n evaluation0.toSummaryString(true);\n AttributeSelectedClassifier attributeSelectedClassifier0 = new AttributeSelectedClassifier();\n evaluation0.weightedFalseNegativeRate();\n Evaluation.makeOptionString(attributeSelectedClassifier0, false);\n evaluation0.toSummaryString(\" \", false);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n }", "title": "" }, { "docid": "02b932cbca7aef4bd7591c0fec257d46", "score": "0.5939436", "text": "@org.junit.Test(timeout = 10000)\n public void testGetFalsePositiveProbability_cf7590() {\n // These probabilities are taken from the bloom filter probability table at\n // http://pages.cs.wisc.edu/~cao/papers/summary-cache/node8.html\n java.lang.System.out.println(\"expectedFalsePositiveProbability\");\n com.clearspring.analytics.stream.membership.BloomFilter instance = new com.clearspring.analytics.stream.membership.BloomFilter(100, 10);\n double expResult = 0.00819;// m/n=10, k=7\n \n double result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n org.junit.Assert.assertEquals(7, instance.getHashCount());\n org.junit.Assert.assertEquals(expResult, result, 9.0E-6);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 10);\n expResult = 0.00819;// m/n=10, k=7\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n org.junit.Assert.assertEquals(7, instance.getHashCount());\n org.junit.Assert.assertEquals(expResult, result, 9.0E-6);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 2);\n expResult = 0.393;// m/n=2, k=1\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(2, 1);\n org.junit.Assert.assertEquals(instance.getHashCount(), 1);\n org.junit.Assert.assertEquals(expResult, result, 5.0E-4);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 11);\n expResult = 0.00509;// m/n=11, k=8\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(11, 8);\n org.junit.Assert.assertEquals(8, instance.getHashCount());\n // StatementAdderOnAssert create random local variable\n byte[] vc_1543 = new byte []{109,86,75};\n // StatementAddOnAssert local variable replacement\n com.clearspring.analytics.stream.membership.BloomFilter mergeBf = ((com.clearspring.analytics.stream.membership.BloomFilter) (bf2.merge(bf)));\n // AssertGenerator replace invocation\n boolean o_testGetFalsePositiveProbability_cf7590__44 = // StatementAdderMethod cloned existing statement\nmergeBf.isPresent(vc_1543);\n // AssertGenerator add assertion\n org.junit.Assert.assertFalse(o_testGetFalsePositiveProbability_cf7590__44);\n org.junit.Assert.assertEquals(expResult, result, 1.0E-5);\n }", "title": "" }, { "docid": "b8b77bec29656c013593a0d506bac511", "score": "0.5928521", "text": "void testAll()\n {\n String dna = \"CCGGSDFCGTCa\";\n //StorageResource set = new StorageResource();\n //set = getAllGenes(dna);\n //processGenes(set);\n //System.out.println(countGenes(dna));\n System.out.println(cgRatio(dna));\n }", "title": "" }, { "docid": "2fef099118fccfe8227481d2ccacc0b2", "score": "0.5925688", "text": "@Test(timeout = 4000)\n public void test10() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0);\n double[] doubleArray0 = new double[7];\n doubleArray0[0] = (double) 69;\n Version.MINOR = 493;\n doubleArray0[1] = 1608.2289599268;\n doubleArray0[4] = (double) 69;\n doubleArray0[3] = (double) 69;\n doubleArray0[4] = (double) 69;\n doubleArray0[5] = (double) 69;\n doubleArray0[6] = (double) 69;\n evaluation0.updateNumericScores(doubleArray0, doubleArray0, 1.0);\n double[] doubleArray1 = new double[2];\n doubleArray1[1] = (double) 69;\n textDirectoryLoader0.getDataSet();\n Evaluation evaluation1 = new Evaluation(instances0);\n evaluation0.SFMeanPriorEntropy();\n RandomSubSpace randomSubSpace0 = new RandomSubSpace();\n String string0 = Evaluation.makeOptionString(randomSubSpace0, true);\n assertNotNull(string0);\n }", "title": "" }, { "docid": "def6f0ab5552338836e028d7b8bd9e77", "score": "0.5922188", "text": "@Test(timeout = 4000)\n public void test15() throws Throwable {\n Discretize discretize0 = new Discretize();\n discretize0.getCutPoints((-1550));\n assertFalse(discretize0.getFindNumBins());\n assertEquals(10, discretize0.getBins());\n assertFalse(discretize0.getMakeBinary());\n assertEquals((-1.0), discretize0.getDesiredWeightOfInstancesPerInterval(), 0.01);\n assertFalse(discretize0.getUseEqualFrequency());\n assertFalse(discretize0.getUseBinNumbers());\n }", "title": "" }, { "docid": "35d8648043f55bebc1ad57a92e3bf402", "score": "0.59096396", "text": "@Test(timeout = 4000)\n public void test15() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n instances0.delete();\n MockRandom mockRandom0 = new MockRandom(0L);\n MockRandom mockRandom1 = new MockRandom(1110L);\n mockRandom1.doubles();\n instances0.randomize(mockRandom1);\n evaluation0.toCumulativeMarginDistributionString();\n evaluation0.setDiscardPredictions(false);\n evaluation0.KBRelativeInformation();\n evaluation0.incorrect();\n evaluation0.weightedFalsePositiveRate();\n textDirectoryLoader0.getOptions();\n String string0 = evaluation0.toSummaryString(true);\n AttributeSelectedClassifier attributeSelectedClassifier0 = new AttributeSelectedClassifier();\n evaluation0.SFSchemeEntropy();\n evaluation0.weightedFalseNegativeRate();\n String string1 = Evaluation.makeOptionString(attributeSelectedClassifier0, true);\n assertFalse(string1.equals((Object)string0));\n }", "title": "" }, { "docid": "9ed4a1833deeb64b30ee9b91689a19a7", "score": "0.59083056", "text": "@org.junit.Test(timeout = 10000)\n public void testGetFalsePositiveProbability_cf7656() {\n // These probabilities are taken from the bloom filter probability table at\n // http://pages.cs.wisc.edu/~cao/papers/summary-cache/node8.html\n java.lang.System.out.println(\"expectedFalsePositiveProbability\");\n com.clearspring.analytics.stream.membership.BloomFilter instance = new com.clearspring.analytics.stream.membership.BloomFilter(100, 10);\n double expResult = 0.00819;// m/n=10, k=7\n \n double result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n org.junit.Assert.assertEquals(7, instance.getHashCount());\n org.junit.Assert.assertEquals(expResult, result, 9.0E-6);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 10);\n expResult = 0.00819;// m/n=10, k=7\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n org.junit.Assert.assertEquals(7, instance.getHashCount());\n org.junit.Assert.assertEquals(expResult, result, 9.0E-6);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 2);\n expResult = 0.393;// m/n=2, k=1\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(2, 1);\n org.junit.Assert.assertEquals(instance.getHashCount(), 1);\n org.junit.Assert.assertEquals(expResult, result, 5.0E-4);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 11);\n expResult = 0.00509;// m/n=11, k=8\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(11, 8);\n org.junit.Assert.assertEquals(8, instance.getHashCount());\n // StatementAdderOnAssert create random local variable\n byte[] vc_1575 = new byte []{};\n // StatementAdderMethod cloned existing statement\n instance.add(vc_1575);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)instance).getHashCount(), 8);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)instance).buckets(), 192);\n org.junit.Assert.assertEquals(expResult, result, 1.0E-5);\n }", "title": "" }, { "docid": "741e07a41050e3bbe6f467426383fbed", "score": "0.5896065", "text": "@Test(timeout = 4000)\n public void test26() throws Throwable {\n Discretize discretize0 = new Discretize();\n ArrayList<Attribute> arrayList0 = new ArrayList<Attribute>();\n Attribute attribute0 = new Attribute(\".ycf\", (-1816));\n arrayList0.add(attribute0);\n Instances instances0 = new Instances(\"=\\\"D>o[8X:(P;+\", arrayList0, 0);\n Discretize discretize1 = new Discretize();\n assertFalse(discretize1.getMakeBinary());\n \n boolean boolean0 = discretize1.setInputFormat(instances0);\n assertFalse(boolean0);\n \n String[] stringArray0 = new String[0];\n discretize1.setOptions(stringArray0);\n assertEquals((-1.0), discretize1.getDesiredWeightOfInstancesPerInterval(), 0.01);\n assertFalse(discretize1.getUseBinNumbers());\n assertFalse(discretize1.getUseEqualFrequency());\n assertFalse(discretize1.getFindNumBins());\n assertEquals(10, discretize1.getBins());\n }", "title": "" }, { "docid": "3354ad0d6d1197be15430a0597436004", "score": "0.58879286", "text": "@Test\n public void testFlesch_kincaid_reading_ease() {\n System.out.println(\"flesch_kincaid_reading_ease\");\n String strText = TEST_STRING;\n double expResult = -188.4;\n double result = ReadabilityStatistics.flesch_kincaid_reading_ease(strText);\n assertEquals(expResult, result, TestConfiguration.DOUBLE_ACCURACY_HIGH);\n }", "title": "" }, { "docid": "336a378a9c40b86dce2e16c170074c16", "score": "0.5871789", "text": "@Test\n public void fullCoverageTest() throws ClassNotFoundException, JMetalException {\n Solution solution ;\n for (int i = 0 ; i< solutionSetSize_; i++) {\n solution = new Solution(problem_);\n solution.setObjective(0, i);\n solution.setObjective(1, solutionSetSize_ - 1 - i);\n solutionSet1_.add(solution);\n }\n // Creating set (0.5,N), (1.5, N-1), (2.5, N-2), ... , (N-1+0.5, 1)\n for (int i = 0 ; i< solutionSetSize_; i++) {\n solution = new Solution(problem_);\n solution.setObjective(0, i+0.5);\n solution.setObjective(1, solutionSetSize_ - i);\n solutionSet2_.add(solution);\n }\n\n assertEquals(1.0, new SetCoverage().setCoverage(solutionSet1_, solutionSet2_), EPSILON) ;\n assertEquals(0.0, new SetCoverage().setCoverage(solutionSet2_, solutionSet1_), EPSILON) ;\n }", "title": "" }, { "docid": "dbf23642f7a8d6ef5c80b9c43e055b6a", "score": "0.58537376", "text": "public double entropyPotential() {\n \n return (-1.0);\n}", "title": "" }, { "docid": "57caf95c0f307a19620d9af5926e5342", "score": "0.58480483", "text": "@Test\n public void acquisitionCostTest() {\n // TODO: test acquisitionCost\n }", "title": "" }, { "docid": "d959c3113fcf916afb48cd0d0a29eb4f", "score": "0.5847542", "text": "@Test\n\tpublic void testSingleCrossingScenarioEqualDemandCapacityRatio(){\n\t\tFixture fixture = new Fixture(900, 1800, 0.0, Regime.COMBINED);\n\t\tSignalAnalysisTool signalAnalyzer = new SignalAnalysisTool();\n\t\tDelayAnalysisTool generalAnalyzer = fixture.run(signalAnalyzer);\n\t\t\n\t\tMap<Id<SignalGroup>, Double> totalSignalGreenTimes = signalAnalyzer.getTotalSignalGreenTime(); \n\t\tMap<Id<SignalGroup>, Double> avgSignalGreenTimePerCycle = signalAnalyzer.calculateAvgSignalGreenTimePerFlexibleCycle(); \n\t\tMap<Id<SignalSystem>, Double> avgCycleTimePerSystem = signalAnalyzer.calculateAvgFlexibleCycleTimePerSignalSystem(); \n\t\tMap<Id<Link>, Double> avgDelayPerLink = generalAnalyzer.getAvgDelayPerLink();\n\t\tDouble avgDelayWE = avgDelayPerLink.get(Id.createLinkId(\"2_3\"));\n\t\tDouble avgDelayNS = avgDelayPerLink.get(Id.createLinkId(\"7_3\"));\n\t\t\n\t\tlog.info(\"total signal green times: \" + totalSignalGreenTimes.get(signalGroupId1) + \", \" + totalSignalGreenTimes.get(signalGroupId2));\n\t\tlog.info(\"avg signal green times per cycle: \" + avgSignalGreenTimePerCycle.get(signalGroupId1) + \", \"\n\t\t\t\t+ avgSignalGreenTimePerCycle.get(signalGroupId2));\n\t\tlog.info(\"avg cycle time per system: \" + avgCycleTimePerSystem.get(signalSystemId));\n\t\tlog.info(\"avg delay per link: \" + avgDelayWE + \", \" + avgDelayNS);\n\t\t\n\t\tAssert.assertEquals(\"total signal green times should not differ more than 1%\", 1, \n\t\t\t\ttotalSignalGreenTimes.get(signalGroupId1)/totalSignalGreenTimes.get(signalGroupId2), 0.01);\n\t\tAssert.assertEquals(\"avg signal green times per cycle should not differ more than 1%\", \n\t\t\t\t1, avgSignalGreenTimePerCycle.get(signalGroupId1)/avgSignalGreenTimePerCycle.get(signalGroupId2), 0.01);\n//\t\tAssert.assertEquals(\"avg delay per vehicle per link should not differ more than 5%\", 1, avgDelayWE/avgDelayNS, 0.05);\n\t\t/* I commented the last line out because the delay strongly depends on the stabilizing regime, namely the arrival rates that are used.\n\t\t * Even if I use fixed average arrival rates of 0.5 per lane and link, the delays of both directions do not correlate.\n\t\t * Maybe that is okay since the signal green times are still the same, i.e. only the green phases are distributed differently over the simulation time...?\n\t\t * theresa, jun'2020\n\t\t */\n\t}", "title": "" }, { "docid": "d5b2bedb3b169ac4bf6eb3651dbccb8e", "score": "0.584171", "text": "@Test(timeout = 4000)\n public void test35() throws Throwable {\n Discretize discretize0 = new Discretize();\n String[] stringArray0 = new String[6];\n ArrayList<Attribute> arrayList0 = new ArrayList<Attribute>();\n SystemInUtil.addInputLine(\".ycf\");\n Attribute attribute0 = new Attribute(\".ycf\", 62);\n arrayList0.add(attribute0);\n Instances instances0 = new Instances(\") can't be established.\", arrayList0, 4);\n discretize0.setInputFormat(instances0);\n discretize0.m_DesiredWeightOfInstancesPerInterval = 0.1111111111111111;\n stringArray0[0] = \") can't be established.\";\n stringArray0[1] = \") can't be established.\";\n // Undeclared exception!\n try { \n discretize0.calculateCutPointsByEqualFrequencyBinning(0);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.filters.unsupervised.attribute.Discretize\", e);\n }\n }", "title": "" }, { "docid": "9385fdd2c94f3a77237202fb6af7cafb", "score": "0.5816006", "text": "@Test\n public void testHypergeometricCdf() {\n System.out.println(\"HypergeometricCdf\");\n int k = 3;\n int n = 10;\n int Kp = 30;\n int Np = 100;\n double expResult = 0.65401998866081;\n double result = DiscreteDistributions.HypergeometricCdf(k, n, Kp, Np);\n assertEquals(expResult, result, TestConfiguration.DOUBLE_ACCURACY_HIGH);\n }", "title": "" }, { "docid": "708da27346521e23389bff04cd38abd6", "score": "0.5815571", "text": "public double getCoverage() {\n return ((double) numExamplesParsed) / numExamples;\n }", "title": "" }, { "docid": "72d7f3d92872453d4a5d30d3b1df815f", "score": "0.5813798", "text": "@Test\n public void testDale_chall_grade() {\n System.out.println(\"dale_chall_grade\");\n String strText = TEST_STRING;\n double expResult = 16.0;\n double result = ReadabilityStatistics.dale_chall_grade(strText);\n assertEquals(expResult, result, TestConfiguration.DOUBLE_ACCURACY_HIGH);\n }", "title": "" }, { "docid": "61c303dff56d544a134491674e7adb34", "score": "0.5789229", "text": "@Test(timeout = 4000)\n public void test34() throws Throwable {\n Discretize discretize0 = new Discretize();\n ArrayList<Attribute> arrayList0 = new ArrayList<Attribute>();\n Attribute attribute0 = new Attribute(\"vjsx8!w\");\n LinkedList<Locale.LanguageRange> linkedList0 = new LinkedList<Locale.LanguageRange>();\n ArrayList<String> arrayList1 = new ArrayList<String>();\n List<String> list0 = Locale.filterTags((List<Locale.LanguageRange>) linkedList0, (Collection<String>) arrayList1);\n List<String> list1 = Locale.filterTags((List<Locale.LanguageRange>) linkedList0, (Collection<String>) list0);\n Properties properties0 = new Properties();\n ProtectedProperties protectedProperties0 = new ProtectedProperties(properties0);\n Attribute attribute1 = new Attribute(\"@attribute\", list1, protectedProperties0);\n arrayList0.add(attribute1);\n Instances instances0 = new Instances(\"string\", arrayList0, 4);\n discretize0.setInputFormat(instances0);\n discretize0.calculateCutPoints();\n // Undeclared exception!\n try { \n discretize0.calculateCutPointsByEqualWidthBinning(3);\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // 3\n //\n verifyException(\"weka.filters.unsupervised.attribute.Discretize\", e);\n }\n }", "title": "" }, { "docid": "5dc173db7bb239858f10d4b1ef493553", "score": "0.57832676", "text": "@Test(timeout = 4000)\n public void test08() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n instances0.delete();\n MockRandom mockRandom0 = new MockRandom(0L);\n MockRandom mockRandom1 = new MockRandom(1110L);\n instances0.randomize(mockRandom1);\n String string0 = evaluation0.toCumulativeMarginDistributionString();\n assertEquals(\" -1 0 \\n\", string0);\n \n evaluation0.setDiscardPredictions(false);\n evaluation0.KBRelativeInformation();\n evaluation0.incorrect();\n evaluation0.weightedFalsePositiveRate();\n String string1 = evaluation0.toSummaryString(true);\n assertEquals(\"=== Summary ===\\n\\nTotal Number of Instances 0 \\n\", string1);\n \n String string2 = evaluation0.toClassDetailsString();\n assertEquals(\"=== Detailed Accuracy By Class ===\\n\\n TP Rate FP Rate Precision Recall F-Measure MCC ROC Area PRC Area Class\\nWeighted Avg. NaN NaN NaN NaN NaN NaN NaN NaN \\n\", string2);\n }", "title": "" }, { "docid": "e48c03ee221e510873da25939e63942a", "score": "0.57797384", "text": "@Test\n\tpublic void testSingleCrossingScenarioWithDifferentFlowCapacityFactors(){\n\t\tFixture fixtureFlowCap1 = new Fixture(360, 1800, 0.0, Regime.COMBINED);\n\t\tSignalAnalysisTool signalAnalyzerFlowCap1 = new SignalAnalysisTool();\n\t\tDelayAnalysisTool generalAnalyzerFlowCap1 = fixtureFlowCap1.run(signalAnalyzerFlowCap1);\n\t\t\n\t\tFixture fixtureFlowCap2 = new Fixture(360, 1800, 0.0, Regime.COMBINED);\n\t\tfixtureFlowCap2.doublePopulation();\n\t\tSignalAnalysisTool signalAnalyzerFlowCap2 = new SignalAnalysisTool();\n\t\tDelayAnalysisTool generalAnalyzerFlowCap2 = fixtureFlowCap2.run(signalAnalyzerFlowCap2);\n\t\t\n\t\tMap<Id<SignalGroup>, Double> totalSignalGreenTimesFlowCap2 = signalAnalyzerFlowCap2.getTotalSignalGreenTime(); \n\t\tMap<Id<SignalGroup>, Double> avgSignalGreenTimePerCycleFlowCap2 = signalAnalyzerFlowCap2.calculateAvgSignalGreenTimePerFlexibleCycle(); \n\t\tMap<Id<SignalSystem>, Double> avgCycleTimePerSystemFlowCap2 = signalAnalyzerFlowCap2.calculateAvgFlexibleCycleTimePerSignalSystem(); \n\t\tMap<Id<Link>, Double> avgDelayPerLinkFlowCap2 = generalAnalyzerFlowCap2.getAvgDelayPerLink();\n\t\t\n\t\tlog.info(\"*** flow capacity 2.0 ***\");\n\t\tlog.info(\"total signal green times: \" + totalSignalGreenTimesFlowCap2.get(signalGroupId1) + \", \" + totalSignalGreenTimesFlowCap2.get(signalGroupId2));\n\t\tlog.info(\"avg signal green times per cycle: \" + avgSignalGreenTimePerCycleFlowCap2.get(signalGroupId1) + \", \"\n\t\t\t\t+ avgSignalGreenTimePerCycleFlowCap2.get(signalGroupId2));\n\t\tlog.info(\"avg cycle time per system: \" + avgCycleTimePerSystemFlowCap2.get(signalSystemId));\n\t\tlog.info(\"avg delay per link: \" + avgDelayPerLinkFlowCap2.get(Id.createLinkId(\"2_3\")) + \", \" + avgDelayPerLinkFlowCap2.get(Id.createLinkId(\"7_3\")));\n\t\tlog.info(\"Total delay: \" + generalAnalyzerFlowCap2.getTotalDelay());\n\t\t\n\t\tMap<Id<SignalGroup>, Double> totalSignalGreenTimesFlowCap1 = signalAnalyzerFlowCap1.getTotalSignalGreenTime(); \n\t\tMap<Id<SignalGroup>, Double> avgSignalGreenTimePerCycleFlowCap1 = signalAnalyzerFlowCap1.calculateAvgSignalGreenTimePerFlexibleCycle(); \n\t\tMap<Id<SignalSystem>, Double> avgCycleTimePerSystemFlowCap1 = signalAnalyzerFlowCap1.calculateAvgFlexibleCycleTimePerSignalSystem(); \n\t\tMap<Id<Link>, Double> avgDelayPerLinkFlowCap1 = generalAnalyzerFlowCap1.getAvgDelayPerLink();\n\n\t\tlog.info(\"*** flow capacity 1.0 ***\");\n\t\tlog.info(\"total signal green times: \" + totalSignalGreenTimesFlowCap1.get(signalGroupId1) + \", \" + totalSignalGreenTimesFlowCap1.get(signalGroupId2));\n\t\tlog.info(\"avg signal green times per cycle: \" + avgSignalGreenTimePerCycleFlowCap1.get(signalGroupId1) + \", \"\n\t\t\t\t+ avgSignalGreenTimePerCycleFlowCap1.get(signalGroupId2));\n\t\tlog.info(\"avg cycle time per system: \" + avgCycleTimePerSystemFlowCap1.get(signalSystemId));\n\t\tlog.info(\"avg delay per link: \" + avgDelayPerLinkFlowCap1.get(Id.createLinkId(\"2_3\")) + \", \" + avgDelayPerLinkFlowCap1.get(Id.createLinkId(\"7_3\")));\n\t\tlog.info(\"Total delay: \" + generalAnalyzerFlowCap1.getTotalDelay());\n\t\t\n\t\tAssert.assertEquals(\"total signal green times should not differ\", 1, \n\t\t\t\ttotalSignalGreenTimesFlowCap1.get(signalGroupId1)/totalSignalGreenTimesFlowCap2.get(signalGroupId1), 0.01);\n\t\tAssert.assertEquals(\"total signal green times should not differ\", 1, \n\t\t\t\ttotalSignalGreenTimesFlowCap1.get(signalGroupId2)/totalSignalGreenTimesFlowCap2.get(signalGroupId2), 0.01);\n\t\tAssert.assertEquals(\"avg signal green times per cycle should not differ\", avgSignalGreenTimePerCycleFlowCap1.get(signalGroupId1), \n\t\t\t\tavgSignalGreenTimePerCycleFlowCap2.get(signalGroupId1), 0.1);\n\t\tAssert.assertEquals(\"avg signal green times per cycle should not differ\", avgSignalGreenTimePerCycleFlowCap1.get(signalGroupId2), \n\t\t\t\tavgSignalGreenTimePerCycleFlowCap2.get(signalGroupId2), 0.1);\n\t\tAssert.assertEquals(\"avg cycle time should not differ\", avgCycleTimePerSystemFlowCap1.get(signalSystemId),\n\t\t\t\tavgCycleTimePerSystemFlowCap2.get(signalSystemId), 0.1);\n\t\tAssert.assertEquals(\"avg delay per vehicle per link should not differ\", \n\t\t\t\tavgDelayPerLinkFlowCap1.get(Id.createLinkId(\"2_3\")), avgDelayPerLinkFlowCap2.get(Id.createLinkId(\"2_3\")), 0.1);\n\t\tAssert.assertEquals(\"avg delay per vehicle per link should not differ\", \n\t\t\t\tavgDelayPerLinkFlowCap1.get(Id.createLinkId(\"7_3\")), avgDelayPerLinkFlowCap2.get(Id.createLinkId(\"7_3\")), 2);\n\t\tAssert.assertEquals(\"total delay for doubled demand should be doubled\", 2, generalAnalyzerFlowCap2.getTotalDelay()/generalAnalyzerFlowCap1.getTotalDelay(), 0.1);\n\t}", "title": "" }, { "docid": "ac3be5e7e8002767a4232ee165c046f7", "score": "0.5775408", "text": "@Test\n public void testFlesch_kincaid_grade_level() {\n System.out.println(\"flesch_kincaid_grade_level\");\n String strText = TEST_STRING;\n double expResult = 112.3;\n double result = ReadabilityStatistics.flesch_kincaid_grade_level(strText);\n assertEquals(expResult, result, TestConfiguration.DOUBLE_ACCURACY_HIGH);\n }", "title": "" }, { "docid": "9ef617364deafaa8cfba270fbba46258", "score": "0.5764524", "text": "@Test\n public void example16() {\n powersOf2(4);\n }", "title": "" }, { "docid": "699b81a8d533705cf81ef0fa3481b4a8", "score": "0.5757571", "text": "@Test\n\tpublic void testSingleCrossingScenarioLowVsHighDemandWithMinG(){\n\t\tFixture fixture = new Fixture(90, 1800, 5.0, Regime.COMBINED);\n\t\tSignalAnalysisTool signalAnalyzer = new SignalAnalysisTool();\n\t\tDelayAnalysisTool generalAnalyzer = fixture.run(signalAnalyzer);\n\t\t\n\t\tMap<Id<SignalGroup>, Double> totalSignalGreenTimes = signalAnalyzer.getTotalSignalGreenTime(); \n\t\tMap<Id<SignalGroup>, Double> avgSignalGreenTimePerCycle = signalAnalyzer.calculateAvgSignalGreenTimePerFlexibleCycle(); \n\t\tMap<Id<SignalSystem>, Double> avgCycleTimePerSystem = signalAnalyzer.calculateAvgFlexibleCycleTimePerSignalSystem(); \n\t\tMap<Id<Link>, Double> avgDelayPerLink = generalAnalyzer.getAvgDelayPerLink();\n\t\tDouble avgDelayWE = avgDelayPerLink.get(Id.createLinkId(\"2_3\"));\n\t\tDouble avgDelayNS = avgDelayPerLink.get(Id.createLinkId(\"7_3\"));\n\t\t\n\t\tlog.info(\"total signal green times: \" + totalSignalGreenTimes.get(signalGroupId1) + \", \" + totalSignalGreenTimes.get(signalGroupId2));\n\t\tlog.info(\"avg signal green times per cycle: \" + avgSignalGreenTimePerCycle.get(signalGroupId1) + \", \"\n\t\t\t\t+ avgSignalGreenTimePerCycle.get(signalGroupId2));\n\t\tlog.info(\"avg cycle time per system: \" + avgCycleTimePerSystem.get(signalSystemId));\n\t\tlog.info(\"avg delay per link: \" + avgDelayWE + \", \" + avgDelayNS);\n\t\t\n\t\tAssert.assertTrue(\"total signal green time of WE-direction should be higher than NS-direction\", \n\t\t\t\ttotalSignalGreenTimes.get(signalGroupId1)-totalSignalGreenTimes.get(signalGroupId2) > 0);\n\t\tAssert.assertTrue(\"avg signal green time per cycle of WE-direction should be higher than NS-direction\", \n\t\t\t\tavgSignalGreenTimePerCycle.get(signalGroupId1)-avgSignalGreenTimePerCycle.get(signalGroupId2) > 0);\n\t\tAssert.assertEquals(\"avg signal green time per cycle of NS-direction should be the minimum green time of 5 seconds\", \n\t\t\t\t5.0, avgSignalGreenTimePerCycle.get(signalGroupId2), MatsimTestUtils.EPSILON);\n\t\tAssert.assertTrue(\"cycle time should stay below 90 seconds\", avgCycleTimePerSystem.get(signalSystemId) <= 90);\n\t\tAssert.assertTrue(\"avg delay per vehicle on WS-direction should be less than on NS-direction\", avgDelayWE<avgDelayNS);\n\t}", "title": "" }, { "docid": "85dfe69e7352b19e68c43b79cc1cfa09", "score": "0.5755201", "text": "@org.junit.Test(timeout = 10000)\n public void testGetFalsePositiveProbability_cf7646() {\n // These probabilities are taken from the bloom filter probability table at\n // http://pages.cs.wisc.edu/~cao/papers/summary-cache/node8.html\n java.lang.System.out.println(\"expectedFalsePositiveProbability\");\n com.clearspring.analytics.stream.membership.BloomFilter instance = new com.clearspring.analytics.stream.membership.BloomFilter(100, 10);\n double expResult = 0.00819;// m/n=10, k=7\n \n double result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n org.junit.Assert.assertEquals(7, instance.getHashCount());\n org.junit.Assert.assertEquals(expResult, result, 9.0E-6);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 10);\n expResult = 0.00819;// m/n=10, k=7\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n org.junit.Assert.assertEquals(7, instance.getHashCount());\n org.junit.Assert.assertEquals(expResult, result, 9.0E-6);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 2);\n expResult = 0.393;// m/n=2, k=1\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(2, 1);\n org.junit.Assert.assertEquals(instance.getHashCount(), 1);\n org.junit.Assert.assertEquals(expResult, result, 5.0E-4);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 11);\n expResult = 0.00509;// m/n=11, k=8\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(11, 8);\n org.junit.Assert.assertEquals(8, instance.getHashCount());\n // AssertGenerator replace invocation\n java.lang.String o_testGetFalsePositiveProbability_cf7646__39 = // StatementAdderMethod cloned existing statement\ninstance.toString();\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_testGetFalsePositiveProbability_cf7646__39, \"{}\");\n org.junit.Assert.assertEquals(expResult, result, 1.0E-5);\n }", "title": "" }, { "docid": "10275ddbd6c2bd027af3cbd4d2e9469c", "score": "0.5741486", "text": "@Test(timeout = 4000)\n public void test13() throws Throwable {\n Discretize discretize0 = new Discretize();\n discretize0.makeBinaryTipText();\n int int0 = 0;\n // Undeclared exception!\n try { \n discretize0.numPendingOutput();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // No output instance format defined\n //\n verifyException(\"weka.filters.Filter\", e);\n }\n }", "title": "" }, { "docid": "458a47e68c6c9e7d708eb127bc9dc410", "score": "0.5736349", "text": "@Test(timeout = 4000)\n public void test166() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n resultMatrixSignificance0.m_StdDevPrec = 0;\n resultMatrixSignificance0.m_ShowStdDev = true;\n resultMatrixSignificance0.doubleToString((-2541.9081796), 0);\n resultMatrixSignificance0.m_EnumerateRowNames = true;\n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(resultMatrixSignificance0);\n resultMatrixGnuPlot0.assign(resultMatrixSignificance0);\n Vector<String> vector0 = new Vector<String>();\n vector0.setSize(1);\n resultMatrixGnuPlot0.m_HeaderValues = vector0;\n vector0.removeAll(resultMatrixGnuPlot0.m_HeaderValues);\n resultMatrixGnuPlot0.getRevision();\n int int0 = new Integer(1);\n vector0.setSize(1);\n vector0.add(\"]\");\n resultMatrixGnuPlot0.m_PrintRowNames = true;\n resultMatrixSignificance0.setSignificanceWidth(1687);\n resultMatrixGnuPlot0.getRevision();\n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText();\n double[] doubleArray0 = new double[2];\n doubleArray0[0] = 0.0;\n doubleArray0[1] = (double) 2;\n resultMatrixPlainText0.m_Counts = doubleArray0;\n vector0.parallelStream();\n resultMatrixPlainText0.globalInfo();\n resultMatrixGnuPlot0.getDefaultMeanPrec();\n int[] intArray0 = new int[0];\n resultMatrixGnuPlot0.setColOrder(intArray0);\n assertEquals(1687, resultMatrixSignificance0.getSignificanceWidth());\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(0, 1);\n String string0 = resultMatrixCSV0.toStringKey();\n assertEquals(\"Key,\\n\", string0);\n }", "title": "" }, { "docid": "65733f65a2c3b5732a14c245434ab1a1", "score": "0.573477", "text": "boolean hasEntropyScore();", "title": "" }, { "docid": "8e3f64ec44f4bfe7154f95e374eef21c", "score": "0.57346475", "text": "@Test(timeout = 4000)\n public void test25() throws Throwable {\n Discretize discretize0 = new Discretize();\n discretize0.setIgnoreClass(true);\n String[] stringArray0 = discretize0.getOptions();\n assertEquals((-1.0), discretize0.getDesiredWeightOfInstancesPerInterval(), 0.01);\n assertEquals(7, stringArray0.length);\n assertEquals(10, discretize0.getBins());\n }", "title": "" }, { "docid": "16de7e7459e077d5cab23de627177d8b", "score": "0.5732457", "text": "@Test(timeout = 4000)\n public void test04() throws Throwable {\n Discretize discretize0 = new Discretize();\n discretize0.setOutputFormat();\n assertEquals(10, discretize0.getBins());\n assertFalse(discretize0.getMakeBinary());\n assertEquals((-1.0), discretize0.getDesiredWeightOfInstancesPerInterval(), 0.01);\n assertFalse(discretize0.getUseBinNumbers());\n assertFalse(discretize0.getUseEqualFrequency());\n assertFalse(discretize0.getFindNumBins());\n }", "title": "" }, { "docid": "8d1c2f4af3966aa9ef786ec395485777", "score": "0.57281834", "text": "@Test(timeout = 4000)\n public void test38() throws Throwable {\n Discretize discretize0 = new Discretize();\n ArrayList<Attribute> arrayList0 = new ArrayList<Attribute>();\n LinkedList<String> linkedList0 = new LinkedList<String>();\n Attribute attribute0 = new Attribute(\"L(&4\", linkedList0, (-679));\n arrayList0.add(attribute0);\n Instances instances0 = new Instances(\"string\", arrayList0, 1);\n instances0.toString();\n discretize0.setInputFormat(instances0);\n discretize0.calculateCutPoints();\n discretize0.setOutputFormat();\n discretize0.numPendingOutput();\n attribute0.equalsMsg(\"@relation string\\n\\n@attribute L(&4 {}\\n\\n@data\\n\");\n discretize0.isNewBatch();\n double[] doubleArray0 = new double[1];\n doubleArray0[0] = (double) 3;\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance((-3103.837), doubleArray0);\n SparseInstance sparseInstance0 = new SparseInstance((SparseInstance) binarySparseInstance0);\n discretize0.convertInstance(binarySparseInstance0);\n // Undeclared exception!\n try { \n discretize0.getBinRangesString(2);\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // 2\n //\n verifyException(\"weka.filters.unsupervised.attribute.Discretize\", e);\n }\n }", "title": "" }, { "docid": "4c7c00d76e8bbbcbfdce051c6968e6fd", "score": "0.572778", "text": "@Test\n public void test09() throws Throwable {\n Frequency frequency0 = new Frequency((Comparator) null);\n double double0 = frequency0.getPct(0L);\n frequency0.addValue(1598L);\n double double1 = frequency0.getCumPct((-2476));\n }", "title": "" }, { "docid": "bc90dd8287d24db0509443bd8ce5753f", "score": "0.57266307", "text": "@Override\n public double getFeatureCoverage() {\n return featureCoverage_;\n }", "title": "" }, { "docid": "da05c8a5888fa9cd947abfc0fe3dec77", "score": "0.57252884", "text": "private double getTotalEntropy() {\n\t\tint[] countOccEach = new int[classes.size()];\t//Array to store num occurrences of each class\n\t\t\n\t\tfor(int i: countOccEach){\t\t\t\t\t\t//Confirming each location is 0\n\t\t\tcountOccEach[i] = 0;\n\t\t}\n\t\t\n\t\tdouble entropy = 0;\n\t\tint loopCntr = 0;\n\t\tfor(String s : classes){\t\t\t\t\t\t//Count occurrences of each class. Loop over the classes\n\t\t\tfor(int i=1 ; i<data.length; i++){\t\t\t//i=1 to skip title. Loop over each case\n\t\t\t\tif (s.equals(data[i][col-1])){\t\t\t//Check if current case matches the current class being searched for\n\t\t\t\t\tcountOccEach[loopCntr]++;\t\t\t//Increment counter on match\n\t\t\t\t}\n\t\t\t}\n\t\t\tdouble occurances = countOccEach[loopCntr];\t\t\t//Store the total number of occurrences of each\n\t\t\tdouble dataSize = (data.length-1);\t\t\t\t\t//Accounting for the column headers\n\t\t\tdouble fraction = occurances/dataSize;\n\t\t\tentropy -= fraction* this.log(fraction, 2);\t\t\t//Calculating the overall entropy. log() get the base2 of fraction\n\t\t\tloopCntr++;\n\t\t}\n\t\treturn entropy;\n\t}", "title": "" }, { "docid": "6f5c860f3a2796dc965b5358f87aa031", "score": "0.5724274", "text": "@Test(timeout = 4000)\n public void test53() throws Throwable {\n FileSystemHandling.setPermissions((EvoSuiteFile) null, false, false, true);\n EvoSuiteFile evoSuiteFile0 = new EvoSuiteFile(\"/home/ubuntu/wekafiles\");\n FileSystemHandling.appendLineToFile(evoSuiteFile0, \"1]ucba&\\\"wjW~2a\");\n Discretize discretize0 = new Discretize();\n ArrayList<Attribute> arrayList0 = new ArrayList<Attribute>();\n Attribute attribute0 = new Attribute(\"\\\"position\\\" has unknown type\");\n arrayList0.add(attribute0);\n Instances instances0 = new Instances(\"HuI)L44;vn \", arrayList0, 1);\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance(1);\n instances0.add((Instance) binarySparseInstance0);\n discretize0.setInputFormat(instances0);\n discretize0.setUseEqualFrequency(true);\n double[] doubleArray0 = new double[1];\n doubleArray0[0] = 3800.84988;\n SparseInstance sparseInstance0 = new SparseInstance(3800.84988, doubleArray0);\n instances0.add((Instance) sparseInstance0);\n sparseInstance0.setValue(attribute0, (double) 1);\n SparseInstance sparseInstance1 = new SparseInstance(sparseInstance0);\n sparseInstance1.toString(attribute0);\n FileSystemHandling.setPermissions((EvoSuiteFile) null, false, false, false);\n instances0.add((Instance) sparseInstance1);\n Filter.useFilter(instances0, discretize0);\n discretize0.setOutputFormat();\n System.setCurrentTimeMillis(2);\n discretize0.convertInstance(sparseInstance1);\n System.setCurrentTimeMillis(1);\n // Undeclared exception!\n try { \n discretize0.findNumBins(1);\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // 1\n //\n verifyException(\"weka.filters.unsupervised.attribute.Discretize\", e);\n }\n }", "title": "" }, { "docid": "c5feb6a1c99a5b5706afd76ec76c8ac7", "score": "0.5714067", "text": "@org.junit.Test(timeout = 10000)\n public void testGetFalsePositiveProbability_cf7625() {\n // These probabilities are taken from the bloom filter probability table at\n // http://pages.cs.wisc.edu/~cao/papers/summary-cache/node8.html\n java.lang.System.out.println(\"expectedFalsePositiveProbability\");\n com.clearspring.analytics.stream.membership.BloomFilter instance = new com.clearspring.analytics.stream.membership.BloomFilter(100, 10);\n double expResult = 0.00819;// m/n=10, k=7\n \n double result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n org.junit.Assert.assertEquals(7, instance.getHashCount());\n org.junit.Assert.assertEquals(expResult, result, 9.0E-6);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 10);\n expResult = 0.00819;// m/n=10, k=7\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n org.junit.Assert.assertEquals(7, instance.getHashCount());\n org.junit.Assert.assertEquals(expResult, result, 9.0E-6);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 2);\n expResult = 0.393;// m/n=2, k=1\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(2, 1);\n org.junit.Assert.assertEquals(instance.getHashCount(), 1);\n org.junit.Assert.assertEquals(expResult, result, 5.0E-4);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 11);\n expResult = 0.00509;// m/n=11, k=8\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(11, 8);\n org.junit.Assert.assertEquals(8, instance.getHashCount());\n // StatementAdderOnAssert create null value\n com.clearspring.analytics.stream.membership.Filter[] vc_1558 = (com.clearspring.analytics.stream.membership.Filter[])null;\n // StatementAddOnAssert local variable replacement\n com.clearspring.analytics.stream.membership.BloomFilter mergeBf = ((com.clearspring.analytics.stream.membership.BloomFilter) (bf2.merge(bf)));\n // AssertGenerator replace invocation\n com.clearspring.analytics.stream.membership.Filter o_testGetFalsePositiveProbability_cf7625__44 = // StatementAdderMethod cloned existing statement\nmergeBf.merge(vc_1558);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)o_testGetFalsePositiveProbability_cf7625__44).getHashCount(), 10);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)o_testGetFalsePositiveProbability_cf7625__44).buckets(), 150080);\n org.junit.Assert.assertEquals(expResult, result, 1.0E-5);\n }", "title": "" }, { "docid": "c84df6ff5eddbd6b8f1bb8c9a6f26265", "score": "0.5713411", "text": "@Test\n public void testHypergeometric() {\n System.out.println(\"Hypergeometric\");\n int k = 3;\n int n = 10;\n int Kp = 30;\n int Np = 100;\n double expResult = 0.28116339430254;\n double result = DiscreteDistributions.Hypergeometric(k, n, Kp, Np);\n assertEquals(expResult, result, TestConfiguration.DOUBLE_ACCURACY_HIGH);\n }", "title": "" }, { "docid": "35c1c7eba9604f64cf85b3ae55305a6c", "score": "0.5710241", "text": "@Test\n public void costTest() {\n // TODO: test cost\n }", "title": "" }, { "docid": "1343f846c3fe3f2e548733e74c18687e", "score": "0.5709938", "text": "@Test(timeout = 4000)\n public void test161() throws Throwable {\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(0, 0);\n resultMatrixCSV0.doubleToString(0, 0);\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(resultMatrixCSV0);\n resultMatrixHTML0.setStdDevPrec(1);\n Integer integer0 = new Integer(0);\n resultMatrixHTML0.getMeanPrec();\n int int0 = 2418;\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(2418, 3149);\n }", "title": "" }, { "docid": "321084d5a48ecc5088f83fbdc29ebf48", "score": "0.57087463", "text": "@org.junit.Test\n public void testGetFalsePositiveProbability() {\n java.lang.System.out.println(\"expectedFalsePositiveProbability\");\n com.clearspring.analytics.stream.membership.BloomFilter instance = new com.clearspring.analytics.stream.membership.BloomFilter(100, 10);\n double expResult = 0.00819;// m/n=10, k=7\n \n double result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n org.junit.Assert.assertEquals(7, instance.getHashCount());\n org.junit.Assert.assertEquals(expResult, result, 9.0E-6);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 10);\n expResult = 0.00819;// m/n=10, k=7\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n org.junit.Assert.assertEquals(7, instance.getHashCount());\n org.junit.Assert.assertEquals(expResult, result, 9.0E-6);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 2);\n expResult = 0.393;// m/n=2, k=1\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(2, 1);\n org.junit.Assert.assertEquals(instance.getHashCount(), 1);\n org.junit.Assert.assertEquals(expResult, result, 5.0E-4);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 11);\n expResult = 0.00509;// m/n=11, k=8\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(11, 8);\n org.junit.Assert.assertEquals(8, instance.getHashCount());\n org.junit.Assert.assertEquals(expResult, result, 1.0E-5);\n }", "title": "" }, { "docid": "261a2a0e3994509c73f891361905da2f", "score": "0.5706885", "text": "@Test\n\tpublic void testSingleCrossingScenarioLowVsHighDemandWoMinG(){\n\t\tFixture fixture = new Fixture(90, 1800, 0.0, Regime.COMBINED);\n\t\tSignalAnalysisTool signalAnalyzer = new SignalAnalysisTool();\n\t\tDelayAnalysisTool generalAnalyzer = fixture.run(signalAnalyzer);\n\t\t\n\t\tMap<Id<SignalGroup>, Double> totalSignalGreenTimes = signalAnalyzer.getTotalSignalGreenTime(); \n\t\tMap<Id<SignalGroup>, Double> avgSignalGreenTimePerCycle = signalAnalyzer.calculateAvgSignalGreenTimePerFlexibleCycle(); \n\t\tMap<Id<SignalSystem>, Double> avgCycleTimePerSystem = signalAnalyzer.calculateAvgFlexibleCycleTimePerSignalSystem(); \n\t\tMap<Id<Link>, Double> avgDelayPerLink = generalAnalyzer.getAvgDelayPerLink();\n\t\tDouble avgDelayWE = avgDelayPerLink.get(Id.createLinkId(\"2_3\"));\n\t\tDouble avgDelayNS = avgDelayPerLink.get(Id.createLinkId(\"7_3\"));\n\t\t\n\t\tlog.info(\"total signal green times: \" + totalSignalGreenTimes.get(signalGroupId1) + \", \" + totalSignalGreenTimes.get(signalGroupId2));\n\t\tlog.info(\"avg signal green times per cycle: \" + avgSignalGreenTimePerCycle.get(signalGroupId1) + \", \"\n\t\t\t\t+ avgSignalGreenTimePerCycle.get(signalGroupId2));\n\t\tlog.info(\"avg cycle time per system: \" + avgCycleTimePerSystem.get(signalSystemId));\n\t\tlog.info(\"avg delay per link: \" + avgDelayWE + \", \" + avgDelayNS);\n\t\t\n\t\tAssert.assertTrue(\"total signal green time of WE-direction should be higher than NS-direction\", \n\t\t\t\ttotalSignalGreenTimes.get(signalGroupId1)-totalSignalGreenTimes.get(signalGroupId2) > 0);\n\t\tAssert.assertTrue(\"avg signal green time per cycle of WE-direction should be higher than NS-direction\", \n\t\t\t\tavgSignalGreenTimePerCycle.get(signalGroupId1)-avgSignalGreenTimePerCycle.get(signalGroupId2) > 0);\n\t\tAssert.assertTrue(\"avg signal green time per cycle of NS-direction should be less than 5 seconds\", avgSignalGreenTimePerCycle.get(signalGroupId2) < 5.0);\n\t\tAssert.assertTrue(\"cycle time should stay below 90 seconds\", avgCycleTimePerSystem.get(signalSystemId) <= 90);\n\t\tAssert.assertTrue(\"avg delay per vehicle on WS-direction should be less than on NS-direction\", avgDelayWE<avgDelayNS);\n\t}", "title": "" }, { "docid": "9a8de4c9a757dd1e01c8ad1ac1dfa7cc", "score": "0.570605", "text": "@org.junit.Test(timeout = 10000)\n public void testGetFalsePositiveProbability_cf7643_cf10382_failAssert0() {\n // AssertGenerator generate try/catch block with fail statement\n try {\n // MethodAssertGenerator build local variable\n Object o_44_1 = 150080;\n // These probabilities are taken from the bloom filter probability table at\n // http://pages.cs.wisc.edu/~cao/papers/summary-cache/node8.html\n java.lang.System.out.println(\"expectedFalsePositiveProbability\");\n com.clearspring.analytics.stream.membership.BloomFilter instance = new com.clearspring.analytics.stream.membership.BloomFilter(100, 10);\n double expResult = 0.00819;// m/n=10, k=7\n \n double result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n // MethodAssertGenerator build local variable\n Object o_10_0 = instance.getHashCount();\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 10);\n expResult = 0.00819;// m/n=10, k=7\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n // MethodAssertGenerator build local variable\n Object o_19_0 = instance.getHashCount();\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 2);\n expResult = 0.393;// m/n=2, k=1\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(2, 1);\n // MethodAssertGenerator build local variable\n Object o_28_0 = instance.getHashCount();\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 11);\n expResult = 0.00509;// m/n=11, k=8\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(11, 8);\n // MethodAssertGenerator build local variable\n Object o_37_0 = instance.getHashCount();\n // StatementAddOnAssert local variable replacement\n com.clearspring.analytics.stream.membership.BloomFilter mergeBf = ((com.clearspring.analytics.stream.membership.BloomFilter) (bf2.merge(bf)));\n // AssertGenerator replace invocation\n int o_testGetFalsePositiveProbability_cf7643__42 = // StatementAdderMethod cloned existing statement\nmergeBf.emptyBuckets();\n // MethodAssertGenerator build local variable\n Object o_44_0 = o_testGetFalsePositiveProbability_cf7643__42;\n // StatementAdderOnAssert create null value\n java.lang.String vc_2194 = (java.lang.String)null;\n // StatementAdderOnAssert create null value\n com.clearspring.analytics.stream.membership.BloomFilter vc_2192 = (com.clearspring.analytics.stream.membership.BloomFilter)null;\n // StatementAdderMethod cloned existing statement\n vc_2192.add(vc_2194);\n org.junit.Assert.fail(\"testGetFalsePositiveProbability_cf7643_cf10382 should have thrown NullPointerException\");\n } catch (java.lang.NullPointerException eee) {\n }\n }", "title": "" }, { "docid": "364e8abb2f94c94eb57248de3396dd7c", "score": "0.5701059", "text": "@Test\n public void test11() throws Throwable {\n Frequency frequency0 = new Frequency((Comparator) null);\n double double0 = frequency0.getPct(0L);\n long long0 = frequency0.getCount((-1592));\n frequency0.addValue((-1592));\n double double1 = frequency0.getCumPct((-1592));\n Integer integer0 = new Integer(1);\n frequency0.addValue(integer0);\n double double2 = frequency0.getCumPct('A');\n long long1 = frequency0.getCount((-1592));\n }", "title": "" }, { "docid": "a400b0f480a3fac9ac01b0319361162c", "score": "0.57007337", "text": "@Test(timeout = 4000)\n public void test19() throws Throwable {\n Discretize discretize0 = new Discretize();\n discretize0.setInvertSelection(true);\n String[] stringArray0 = discretize0.getOptions();\n assertEquals(7, stringArray0.length);\n assertEquals((-1.0), discretize0.getDesiredWeightOfInstancesPerInterval(), 0.01);\n assertEquals(10, discretize0.getBins());\n }", "title": "" }, { "docid": "5bf8d5dbfa22705cd890f85a37101a2d", "score": "0.56988925", "text": "@org.junit.Test(timeout = 10000)\n public void testSizing_cf57160_failAssert16_add61758() throws java.io.IOException {\n // AssertGenerator generate try/catch block with fail statement\n try {\n com.clearspring.analytics.stream.membership.BloomFilter f = null;\n // MethodAssertGenerator build local variable\n Object o_2_0 = (f = new com.clearspring.analytics.stream.membership.BloomFilter(10, 0.05)).buckets();\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_2_0, 128);\n // MethodAssertGenerator build local variable\n Object o_8_0 = new com.clearspring.analytics.stream.membership.BloomFilter(100, 0.05).buckets();\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_8_0, 768);\n // MethodAssertGenerator build local variable\n Object o_11_0 = new com.clearspring.analytics.stream.membership.BloomFilter(1000, 0.05).buckets();\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_11_0, 7040);\n // MethodAssertGenerator build local variable\n Object o_14_0 = new com.clearspring.analytics.stream.membership.BloomFilter(10000, 0.05).buckets();\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_14_0, 70080);\n // MethodAssertGenerator build local variable\n Object o_17_0 = new com.clearspring.analytics.stream.membership.BloomFilter(100000, 0.05).buckets();\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_17_0, 700032);\n // MethodAssertGenerator build local variable\n Object o_20_0 = new com.clearspring.analytics.stream.membership.BloomFilter(1000000, 0.05).buckets();\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_20_0, 7000064);\n // MethodAssertGenerator build local variable\n Object o_23_0 = new com.clearspring.analytics.stream.membership.BloomFilter(10, 0.01).buckets();\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_23_0, 128);\n // MethodAssertGenerator build local variable\n Object o_26_0 = new com.clearspring.analytics.stream.membership.BloomFilter(100, 0.01).buckets();\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_26_0, 1024);\n // MethodAssertGenerator build local variable\n Object o_29_0 = (f = new com.clearspring.analytics.stream.membership.BloomFilter(1000, 0.01)).buckets();\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_29_0, 10048);\n // MethodAssertGenerator build local variable\n Object o_35_0 = (f = new com.clearspring.analytics.stream.membership.BloomFilter(10000, 0.01)).buckets();\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_35_0, 100032);\n // MethodAssertGenerator build local variable\n Object o_41_0 = (f = new com.clearspring.analytics.stream.membership.BloomFilter(100000, 0.01)).buckets();\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_41_0, 1000064);\n // MethodAssertGenerator build local variable\n Object o_47_0 = (f = new com.clearspring.analytics.stream.membership.BloomFilter(1000000, 0.01)).buckets();\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_47_0, 10000064);\n for (java.lang.String s : new com.clearspring.analytics.stream.membership.KeyGenerator.RandomStringGenerator(new java.util.Random().nextInt(), 1000000)) {\n // MethodCallAdder\n f.add(s);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)f).getHashCount(), 5);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)f).buckets(), 10000064);\n f.add(s);\n }\n // MethodAssertGenerator build local variable\n Object o_60_0 = f.buckets();\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_60_0, 10000064);\n // StatementAdderOnAssert create null value\n com.clearspring.analytics.stream.membership.BloomFilter vc_13046 = (com.clearspring.analytics.stream.membership.BloomFilter)null;\n // AssertGenerator add assertion\n org.junit.Assert.assertNull(vc_13046);\n // StatementAdderMethod cloned existing statement\n vc_13046.tserializer();\n org.junit.Assert.fail(\"testSizing_cf57160 should have thrown NullPointerException\");\n } catch (java.lang.NullPointerException eee) {\n }\n }", "title": "" }, { "docid": "78a6ce2642aaf3434d5dd82c0512d03c", "score": "0.56979674", "text": "@Test\n public void testBinomialCdf() {\n System.out.println(\"BinomialCdf\");\n int k = 3;\n double p = 0.5;\n int n = 10;\n double expResult = 0.17187500002003;\n double result = DiscreteDistributions.BinomialCdf(k, p, n);\n assertEquals(expResult, result, TestConfiguration.DOUBLE_ACCURACY_HIGH);\n }", "title": "" }, { "docid": "0fc50c4778508df8fe4d69c52c2eb9d7", "score": "0.5695792", "text": "@org.junit.Test(timeout = 10000)\n public void testGetFalsePositiveProbability_cf7623() {\n // These probabilities are taken from the bloom filter probability table at\n // http://pages.cs.wisc.edu/~cao/papers/summary-cache/node8.html\n java.lang.System.out.println(\"expectedFalsePositiveProbability\");\n com.clearspring.analytics.stream.membership.BloomFilter instance = new com.clearspring.analytics.stream.membership.BloomFilter(100, 10);\n double expResult = 0.00819;// m/n=10, k=7\n \n double result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n org.junit.Assert.assertEquals(7, instance.getHashCount());\n org.junit.Assert.assertEquals(expResult, result, 9.0E-6);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 10);\n expResult = 0.00819;// m/n=10, k=7\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n org.junit.Assert.assertEquals(7, instance.getHashCount());\n org.junit.Assert.assertEquals(expResult, result, 9.0E-6);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 2);\n expResult = 0.393;// m/n=2, k=1\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(2, 1);\n org.junit.Assert.assertEquals(instance.getHashCount(), 1);\n org.junit.Assert.assertEquals(expResult, result, 5.0E-4);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 11);\n expResult = 0.00509;// m/n=11, k=8\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(11, 8);\n org.junit.Assert.assertEquals(8, instance.getHashCount());\n // StatementAdderOnAssert create null value\n com.clearspring.analytics.stream.membership.Filter[] vc_1558 = (com.clearspring.analytics.stream.membership.Filter[])null;\n // AssertGenerator replace invocation\n com.clearspring.analytics.stream.membership.Filter o_testGetFalsePositiveProbability_cf7623__41 = // StatementAdderMethod cloned existing statement\ninstance.merge(vc_1558);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)o_testGetFalsePositiveProbability_cf7623__41).buckets(), 192);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)o_testGetFalsePositiveProbability_cf7623__41).getHashCount(), 8);\n org.junit.Assert.assertEquals(expResult, result, 1.0E-5);\n }", "title": "" }, { "docid": "5c571e92ef67b0736e9ca82039479473", "score": "0.56954765", "text": "@Test(timeout = 4000)\n public void test40() throws Throwable {\n Discretize discretize0 = new Discretize();\n ArrayList<Attribute> arrayList0 = new ArrayList<Attribute>();\n Attribute attribute0 = new Attribute(\"\\\"position\\\"has unknown type\");\n arrayList0.add(attribute0);\n Instances instances0 = new Instances(\"relational\", arrayList0, 1);\n String[] stringArray0 = new String[7];\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance(1);\n instances0.add((Instance) binarySparseInstance0);\n stringArray0[0] = \"@data\";\n stringArray0[2] = \"relational\";\n stringArray0[3] = \"relational\";\n stringArray0[4] = \"integer\";\n stringArray0[5] = \"real\";\n stringArray0[6] = \"date\";\n discretize0.setInputFormat(instances0);\n discretize0.setUseEqualFrequency(true);\n double[] doubleArray0 = new double[1];\n doubleArray0[0] = (double) 0;\n SparseInstance sparseInstance0 = new SparseInstance(527.34601, doubleArray0);\n instances0.add((Instance) sparseInstance0);\n sparseInstance0.setValue(attribute0, (-2393.229239409172));\n SparseInstance sparseInstance1 = new SparseInstance(sparseInstance0);\n sparseInstance0.toString(attribute0);\n FileSystemHandling.setPermissions((EvoSuiteFile) null, true, false, false);\n instances0.add((Instance) sparseInstance1);\n Filter.useFilter(instances0, discretize0);\n discretize0.setOutputFormat();\n System.setCurrentTimeMillis((-2594L));\n discretize0.convertInstance(sparseInstance0);\n assertTrue(discretize0.getUseEqualFrequency());\n }", "title": "" }, { "docid": "048cac068e107213400de08e022f86c2", "score": "0.56935376", "text": "@org.junit.Test(timeout = 10000)\n public void testGetFalsePositiveProbability_cf7609() {\n // These probabilities are taken from the bloom filter probability table at\n // http://pages.cs.wisc.edu/~cao/papers/summary-cache/node8.html\n java.lang.System.out.println(\"expectedFalsePositiveProbability\");\n com.clearspring.analytics.stream.membership.BloomFilter instance = new com.clearspring.analytics.stream.membership.BloomFilter(100, 10);\n double expResult = 0.00819;// m/n=10, k=7\n \n double result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n org.junit.Assert.assertEquals(7, instance.getHashCount());\n org.junit.Assert.assertEquals(expResult, result, 9.0E-6);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 10);\n expResult = 0.00819;// m/n=10, k=7\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n org.junit.Assert.assertEquals(7, instance.getHashCount());\n org.junit.Assert.assertEquals(expResult, result, 9.0E-6);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 2);\n expResult = 0.393;// m/n=2, k=1\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(2, 1);\n org.junit.Assert.assertEquals(instance.getHashCount(), 1);\n org.junit.Assert.assertEquals(expResult, result, 5.0E-4);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 11);\n expResult = 0.00509;// m/n=11, k=8\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(11, 8);\n org.junit.Assert.assertEquals(8, instance.getHashCount());\n // StatementAdderOnAssert create null value\n com.clearspring.analytics.stream.membership.BloomFilter vc_1550 = (com.clearspring.analytics.stream.membership.BloomFilter)null;\n // AssertGenerator replace invocation\n com.clearspring.analytics.stream.membership.BloomFilter o_testGetFalsePositiveProbability_cf7609__41 = // StatementAdderMethod cloned existing statement\nvc_1550.alwaysMatchingBloomFilter();\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)o_testGetFalsePositiveProbability_cf7609__41).buckets(), 64);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)o_testGetFalsePositiveProbability_cf7609__41).getHashCount(), 1);\n org.junit.Assert.assertEquals(expResult, result, 1.0E-5);\n }", "title": "" }, { "docid": "dc5bf017236594d0eb6c0d81d4621e3a", "score": "0.5685871", "text": "@org.junit.Test(timeout = 10000)\n public void testGetFalsePositiveProbability_cf7642() {\n // These probabilities are taken from the bloom filter probability table at\n // http://pages.cs.wisc.edu/~cao/papers/summary-cache/node8.html\n java.lang.System.out.println(\"expectedFalsePositiveProbability\");\n com.clearspring.analytics.stream.membership.BloomFilter instance = new com.clearspring.analytics.stream.membership.BloomFilter(100, 10);\n double expResult = 0.00819;// m/n=10, k=7\n \n double result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n org.junit.Assert.assertEquals(7, instance.getHashCount());\n org.junit.Assert.assertEquals(expResult, result, 9.0E-6);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 10);\n expResult = 0.00819;// m/n=10, k=7\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n org.junit.Assert.assertEquals(7, instance.getHashCount());\n org.junit.Assert.assertEquals(expResult, result, 9.0E-6);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 2);\n expResult = 0.393;// m/n=2, k=1\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(2, 1);\n org.junit.Assert.assertEquals(instance.getHashCount(), 1);\n org.junit.Assert.assertEquals(expResult, result, 5.0E-4);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 11);\n expResult = 0.00509;// m/n=11, k=8\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(11, 8);\n org.junit.Assert.assertEquals(8, instance.getHashCount());\n // AssertGenerator replace invocation\n int o_testGetFalsePositiveProbability_cf7642__39 = // StatementAdderMethod cloned existing statement\ninstance.emptyBuckets();\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_testGetFalsePositiveProbability_cf7642__39, 192);\n org.junit.Assert.assertEquals(expResult, result, 1.0E-5);\n }", "title": "" }, { "docid": "65c064137ab8e2d0f34ec79f4ff840fd", "score": "0.56736", "text": "@Test(timeout = 4000)\n public void test43() throws Throwable {\n Discretize discretize0 = new Discretize();\n ArrayList<Attribute> arrayList0 = new ArrayList<Attribute>();\n Attribute attribute0 = new Attribute(\"\\\"position\\\"has unknown type\");\n arrayList0.add(attribute0);\n Instances instances0 = new Instances(\"relational\", arrayList0, 1);\n String[] stringArray0 = new String[7];\n SparseInstance sparseInstance0 = new SparseInstance(2);\n instances0.add((Instance) sparseInstance0);\n stringArray0[0] = \"@data\";\n stringArray0[2] = \"relational\";\n stringArray0[3] = \"relational\";\n stringArray0[4] = \"integer\";\n stringArray0[5] = \"real\";\n stringArray0[6] = \"date\";\n discretize0.setInputFormat(instances0);\n discretize0.setUseEqualFrequency(true);\n double[] doubleArray0 = new double[1];\n doubleArray0[0] = (double) 0;\n SparseInstance sparseInstance1 = new SparseInstance(527.34601, doubleArray0);\n instances0.add((Instance) sparseInstance1);\n sparseInstance1.setValue(attribute0, (-2393.229239409172));\n SparseInstance sparseInstance2 = new SparseInstance(sparseInstance1);\n sparseInstance1.toString(attribute0);\n FileSystemHandling.setPermissions((EvoSuiteFile) null, true, false, false);\n instances0.add((Instance) sparseInstance2);\n Filter.useFilter(instances0, discretize0);\n discretize0.setOutputFormat();\n System.setCurrentTimeMillis((-2594L));\n }", "title": "" }, { "docid": "c982102d4ddc2694ca9358c2469874bb", "score": "0.5661383", "text": "@Test(timeout = 4000)\n public void test05() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate(\"iV#\");\n MockRandom mockRandom0 = new MockRandom();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.weightedMatthewsCorrelation();\n assertEquals(Double.NaN, double0, 0.01);\n \n evaluation0.SFSchemeEntropy();\n double double1 = evaluation0.kappa();\n assertEquals(1.0, double1, 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n }", "title": "" }, { "docid": "6d4af280ba14c6f02b24e339bcc3a433", "score": "0.5658895", "text": "@Test\n public void test21() throws Throwable {\n Frequency frequency0 = new Frequency();\n frequency0.addValue((-24));\n double double0 = frequency0.getCumPct((-7));\n long long0 = frequency0.getSumFreq();\n }", "title": "" }, { "docid": "31b0f6a40602d674ccd5fef1492c8a41", "score": "0.56474054", "text": "public void execute()\r\n/* 29: */ throws GlobalException\r\n/* 30: */ {\r\n/* 31: 65 */ if (this.input.getCDim() != 1) {\r\n/* 32: 65 */ throw new GlobalException(\"Sorry, only mono-channel images for now...\");\r\n/* 33: */ }\r\n/* 34: 67 */ Point[] domPoints = DominantPointsDetection.invoke(this.input, Double.valueOf(20.0D));\r\n/* 35: */ \r\n/* 36: */ \r\n/* 37: 70 */ ArrayList<Double> distances = new ArrayList();\r\n/* 38: */ \r\n/* 39: 72 */ double maxDist = 0.0D;\r\n/* 40: 75 */ for (int i = 0; i < domPoints.length; i++) {\r\n/* 41: 76 */ for (int j = 0; j < domPoints.length; j++) {\r\n/* 42: 77 */ if (i != j)\r\n/* 43: */ {\r\n/* 44: 79 */ dist = Distance.EuclideanDistance(domPoints[i], domPoints[j]);\r\n/* 45: 80 */ distances.add(Double.valueOf(dist));\r\n/* 46: 82 */ if (dist > maxDist) {\r\n/* 47: 82 */ maxDist = dist;\r\n/* 48: */ }\r\n/* 49: */ }\r\n/* 50: */ }\r\n/* 51: */ }\r\n/* 52: 86 */ this.output = new double[this.bins.intValue()];\r\n/* 53: 89 */ for (double dist = distances.iterator(); dist.hasNext();)\r\n/* 54: */ {\r\n/* 55: 89 */ double d = ((Double)dist.next()).doubleValue();\r\n/* 56: 90 */ int bin = (int)(d / maxDist * this.bins.intValue());\r\n/* 57: 91 */ if (bin == this.bins.intValue()) {\r\n/* 58: 91 */ bin--;\r\n/* 59: */ }\r\n/* 60: 92 */ this.output[bin] += 1.0D;\r\n/* 61: */ }\r\n/* 62: 96 */ for (int i = 0; i < this.output.length; i++) {\r\n/* 63: 97 */ this.output[i] /= distances.size();\r\n/* 64: */ }\r\n/* 65: */ }", "title": "" }, { "docid": "bbf16ada7753443eca4ab036e34ca842", "score": "0.5641946", "text": "@Test(timeout = 4000)\n public void test11() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0);\n double[] doubleArray0 = new double[7];\n doubleArray0[0] = (double) 69;\n doubleArray0[1] = 1608.2289599268;\n doubleArray0[2] = (double) 69;\n doubleArray0[3] = (double) 69;\n doubleArray0[4] = (double) 69;\n doubleArray0[5] = (double) 69;\n doubleArray0[6] = (double) 69;\n evaluation0.updateNumericScores(doubleArray0, doubleArray0, 1.0);\n evaluation0.setDiscardPredictions(true);\n double double0 = evaluation0.KBRelativeInformation();\n assertTrue(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, double0, 0.01);\n }", "title": "" }, { "docid": "35a02ea89c3d25597ce0616c3ed5328b", "score": "0.56376624", "text": "@Test(timeout = 4000)\n public void test31() throws Throwable {\n Discretize discretize0 = new Discretize();\n ArrayList<Attribute> arrayList0 = new ArrayList<Attribute>();\n discretize0.setFindNumBins(true);\n Attribute attribute0 = new Attribute(\"\\\"position\\\" has unknown type\");\n arrayList0.add(attribute0);\n Instances instances0 = new Instances(\"real\", arrayList0, 1);\n discretize0.setInputFormat(instances0);\n double[] doubleArray0 = new double[1];\n doubleArray0[0] = (double) 0;\n int[] intArray0 = new int[0];\n SparseInstance sparseInstance0 = new SparseInstance(1.7976931348623157E308, doubleArray0, intArray0, 1);\n instances0.add((Instance) sparseInstance0);\n SparseInstance sparseInstance1 = new SparseInstance((Instance) sparseInstance0);\n instances0.add((Instance) sparseInstance1);\n Filter.useFilter(instances0, discretize0);\n // Undeclared exception!\n try { \n discretize0.calculateCutPointsByEqualFrequencyBinning(1);\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // 1\n //\n verifyException(\"weka.filters.unsupervised.attribute.Discretize\", e);\n }\n }", "title": "" }, { "docid": "1bc5c1a15ccdc96764d278d237a2ce3e", "score": "0.56297994", "text": "@Test\n public void testDale_chall_score() {\n System.out.println(\"dale_chall_score\");\n String strText = TEST_STRING;\n double expResult = 20.486603754266213;\n double result = ReadabilityStatistics.dale_chall_score(strText);\n assertEquals(expResult, result, TestConfiguration.DOUBLE_ACCURACY_HIGH);\n }", "title": "" }, { "docid": "1175fdd6c1328270042eaa0013fc271e", "score": "0.56280106", "text": "@Test\n public void testBernoulliCdf() {\n System.out.println(\"BernoulliCdf\");\n int k = 1;\n double p = 0.5;\n double expResult = 1.0;\n double result = DiscreteDistributions.BernoulliCdf(k, p);\n assertEquals(expResult, result, TestConfiguration.DOUBLE_ACCURACY_HIGH);\n }", "title": "" }, { "docid": "97a1430b76d7d958bc99b0bf4d800cc5", "score": "0.5623901", "text": "@Test\n \tpublic void testGenerateUniformDistribution() {\n \t\tCollection<String> objects = new LinkedList<String>();\n \t\tfor (int i = 0; i < 8; i++) {\n \t\t\tobjects.add(\"\" + i);\n \t\t}\n \t\tMap<String, Double> result = Utils.generateUniformDistribution(objects);\n \t\tfor (String s : objects) {\n \t\t\tassertEquals(1. / 8, result.get(s), 0.0);\n \t\t}\n \t}", "title": "" }, { "docid": "14298b20c8bf91c6929d91d3c0b4d1f2", "score": "0.56192744", "text": "@Test\n public void testNegativeBinomialCdf() {\n System.out.println(\"NegativeBinomialCdf\");\n int n = 10;\n int r = 4;\n double p = 0.5;\n double expResult = 0.12705078125;\n double result = DiscreteDistributions.NegativeBinomialCdf(n, r, p);\n assertEquals(expResult, result, TestConfiguration.DOUBLE_ACCURACY_HIGH);\n }", "title": "" }, { "docid": "501073c5268d75d3d55188782cd17049", "score": "0.5612408", "text": "public static void main(String[] args) {\n\t\tdouble a;\n\t\tfor(int n=16;n<=2048;n=n*2)\n\t\t{\n\t\t\ta=Math.log(n);\n\t\t\tSystem.out.println(a + \"\\t\" + n + \"\\t\" + (n*a) + \"\\t\" + (n*n) + \"\\t\" + (n*n*n) + \"\\t\" + Math.pow(2,n));\n\t\t}\n\n\t}", "title": "" }, { "docid": "6e6f24aec7661e8f400cd0aa6b8e76f9", "score": "0.561138", "text": "@Test(timeout = 4000)\n public void test156() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n boolean[] booleanArray0 = new boolean[5];\n booleanArray0[1] = true;\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n resultMatrixLatex0.setMeanPrec(320);\n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot();\n resultMatrixGnuPlot0.setStdDevPrec(1);\n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance(resultMatrixLatex0);\n resultMatrixSignificance1.toStringRanking();\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText(2, 2);\n ResultMatrixSignificance resultMatrixSignificance2 = new ResultMatrixSignificance(resultMatrixSignificance0);\n ResultMatrixSignificance resultMatrixSignificance3 = new ResultMatrixSignificance(0, 1814);\n ResultMatrixSignificance resultMatrixSignificance4 = new ResultMatrixSignificance(resultMatrixSignificance0);\n resultMatrixSignificance2.toStringSummary();\n resultMatrixSignificance0.setColNameWidth(1);\n ResultMatrixCSV resultMatrixCSV1 = new ResultMatrixCSV();\n resultMatrixCSV0.getDisplayName();\n ResultMatrixPlainText resultMatrixPlainText1 = new ResultMatrixPlainText();\n resultMatrixPlainText1.getDefaultStdDevWidth();\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(resultMatrixGnuPlot0);\n resultMatrixHTML0.globalInfo();\n resultMatrixCSV0.toStringMatrix();\n resultMatrixHTML0.setMeanPrec(1622);\n resultMatrixPlainText0.getRowHidden(2);\n resultMatrixSignificance0.getVisibleRowCount();\n resultMatrixHTML0.getRevision();\n int int0 = resultMatrixSignificance4.getCountWidth();\n assertEquals(1, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, int0);\n }", "title": "" } ]
072eab2d0eebc8d68b3f81daa29c95c7
Grotschell_input_converter gr = new Grotschell_input_converter("./data/raw.csv"); ArrayList al = new ArrayList(); al.add(1); al.add(2); al.add(3); gr.save("./dissim.txt", al);
[ { "docid": "ecc3eebe61efdf921716e80cfaf250bb", "score": "0.0", "text": "public void createDissimilarity(){\n\t}", "title": "" } ]
[ { "docid": "fc42fd247e83cf8affc3a88f8c3901d4", "score": "0.62258124", "text": "public void saveData() {\n Path file = Paths.get(\"./src/main/java/util/algorithmtest/the-file-name.csv\");\n CsvFile csvFile = new CsvFile(file);\n List<String> headers = new ArrayList<>();\n setHeaders(headers);\n csvFile.setHeaders(headers);\n List<List<String>> lst = algorithmTestResult.getRows();\n lst.forEach((row) -> {\n csvFile.addRow(row);\n });\n csvFile.write();\n }", "title": "" }, { "docid": "0ddfbbcf40b98b63f84633872d478472", "score": "0.62217045", "text": "public void save_fitxer(ArrayList<String> al) throws IOException {\n \n if (!al.isEmpty()) {\n File f = new File(pathfolder, al.get(2)+\".txt\");\n BufferedWriter bw = new BufferedWriter(new FileWriter(f));\n bw.write(al.get(0) + \"\\r\\n\");\n bw.write(al.get(1) + \"\\r\\n\");\n bw.write(al.get(3));\n /*StringTokenizer st = new StringTokenizer(al.get(3), \"\\n\");\n if (st.hasMoreTokens()) {\n bw.write(st.nextToken());\n }\n while(st.hasMoreTokens()) {\n bw.newLine();\n bw.write(\"\\n\");\n bw.write(st.nextToken());\n \n }*/\n bw.close();\n }\n }", "title": "" }, { "docid": "b879c0768cdfa5a8f1368583055de354", "score": "0.59064716", "text": "private static void saveToCSVFile(Vector<String> content){\n\t\tFile outFile;\n\t\toutFile = new File(\"calibration.csv\");\n\t\tif( outFile.exists() ){\n\t\t\toutFile.delete();\n\t\t\t\n\t\t} \n\t\t\n\t\ttry {\n\n\t\t\toutFile.createNewFile();\n\n\t\t} catch ( IOException e ) {\n\t\t\tif(D) e.printStackTrace();\n\t\t\texit(\"File can't be read.\");\n\t\t}\n\n\t\ttry {\n\t\t\tFileWriter fileStream = new FileWriter( outFile );\n\n\t\t\tBufferedWriter bufWriter = new BufferedWriter(fileStream);\n\n\t\t\tfor(String aResult : content){\n\t\t\t\tbufWriter.write(aResult + '\\n');\n\t\t\t}\n\n\t\t\tbufWriter.close();\n\t\t} catch (IOException e) {\n\t\t\tif(D) e.printStackTrace();\n\t\t\texit(\"File can't be read.\");\n\t\t}\n\t}", "title": "" }, { "docid": "521ed3474978988ada6cec817712c441", "score": "0.58719414", "text": "private void saveData() throws IOException\n\t{\n\t\tFileWriter writer;\n\t\ttry\n\t\t{\n\t\t\twriter = new FileWriter(\"src/application/data/recipes.csv\", false);\n\t\t\tfor (int x = 0; x < recipes.size(); x++)\n\t\t\t{\n\t\t\t\tRecipe cur = recipes.get(x);\n\t\t\t\t// write Recipe name\n\t\t\t\twriter.append(cur.getName());\n\t\t\t\twriter.append(\",\");\n\t\t\t\t// write Recipe Calories\n\t\t\t\twriter.append(String.valueOf(cur.getCalories()));\n\t\t\t\twriter.append(\",\");\n\t\t\t\t// write Recipe Servings\n\t\t\t\twriter.append(String.valueOf(cur.getServings()));\n\t\t\t\twriter.append(\",\");\n\t\t\t\t// write numTags and Tags\n\t\t\t\twriter.append(String.valueOf(cur.getTags().size()));\n\t\t\t\twriter.append(\",\");\n\t\t\t\tfor (int i = 0; i < cur.getTags().size(); i++)\n\t\t\t\t{\n\t\t\t\t\twriter.append(cur.getTags().get(i));\n\t\t\t\t\twriter.append(\",\");\n\t\t\t\t}\n\t\t\t\t// write numSteps and Steps\n\t\t\t\twriter.append(String.valueOf(cur.getPrep().size()));\n\t\t\t\twriter.append(\",\");\n\t\t\t\tfor (int i = 0; i < cur.getPrep().size(); i++)\n\t\t\t\t{\n\t\t\t\t\twriter.append(cur.getPrep().get(i));\n\t\t\t\t\twriter.append(\",\");\n\t\t\t\t}\n\n\t\t\t\t// write numIngredients and Ingredients\n\t\t\t\twriter.append(String.valueOf(cur.getIngredients().size()));\n\t\t\t\twriter.append(\",\");\n\t\t\t\tfor (int i = 0; i < cur.getIngredients().size(); i++)\n\t\t\t\t{\n\t\t\t\t\twriter.append(cur.getIngredients().get(i).getName());\n\t\t\t\t\twriter.append(\",\");\n\t\t\t\t\twriter.append(String.valueOf(cur.getIngredients().get(i).getAmount()));\n\t\t\t\t\twriter.append(\",\");\n\t\t\t\t\twriter.append(cur.getIngredients().get(i).getUnit().getText());\n\t\t\t\t\twriter.append(\",\");\n\t\t\t\t\twriter.append(String.valueOf(cur.getIngredients().get(i).getCalories()));\n\t\t\t\t\twriter.append(\",\");\n\t\t\t\t}\n\t\t\t\twriter.append(\"\\n\");\n\t\t\t}\n\n\t\t\twriter.flush();\n\t\t\twriter.close();\n\t\t} catch (IOException e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "10282fe74f4b69793882b4a8aa6b95e0", "score": "0.58334583", "text": "public static void main(String[] args) {\n ArrayList<String> list = new ArrayList<>();\n list.add(\"Yubraj\");\n list.add(\"Rita\");\n list.add(\"Biku\");\n\n //serialization\n try {\n FileOutputStream fileOutputStream= new FileOutputStream(\"/Users/yubtam/Desktop/samplefile.csv\");\n ObjectOutputStream objectOutputStream= new ObjectOutputStream(fileOutputStream);\n objectOutputStream.writeObject(list);\n fileOutputStream.close();\n objectOutputStream.close();\n System.out.println(list);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n //deserialization\n FileInputStream fileInputStream = null;\n try {\n fileInputStream = new FileInputStream(\"/Users/yubtam/Desktop/samplefile.csv\");\n ObjectInputStream objectInputStream= new ObjectInputStream(fileInputStream);\n ArrayList list1= (ArrayList) objectInputStream.readObject();\n System.out.println(list1);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n } catch (ClassNotFoundException e) {\n e.printStackTrace();\n }\n\n\n }", "title": "" }, { "docid": "c01d69ef3b201e8a2879bc47a35e2af0", "score": "0.57602763", "text": "public void save(){\n\n FileOutputStream fos = null;\n try\n {\n fos = new FileOutputStream(localFile);\n }\n catch (FileNotFoundException e) {e.printStackTrace();}\n try\n {\n try\n {\n // clear the file of whtever was there\n\n fos.write(\"\".getBytes());\n\n // first line will be how many items in list\n fos.write(Integer.toString(this.getLength()).getBytes());\n fos.write(\"\\n\".getBytes());\n\n // Write each item in my list to a line in a csv file\n for (int i = 0; i < this.getLength(); i++){\n\n Item target = this.valueAt(i);\n\n // Get saveString from item.\n String toSave = target.toSaveString();\n\n // Write saveString to file.\n fos.write(toSave.getBytes());\n\n if (i < this.getLength()){\n fos.write(\"\\n\".getBytes());\n }\n\n }\n\n }\n catch (IOException e) {e.printStackTrace();}\n }\n finally\n {\n try\n {\n fos.close();\n }\n catch (IOException e) {e.printStackTrace();}\n }\n }", "title": "" }, { "docid": "95df2ccbd5435bf20a6e58d156d4fd87", "score": "0.5732267", "text": "private void addData() { \r\n try {\r\n File outFile = new File(\"Lorry.txt\");\r\n FileWriter outFileStream = new FileWriter(outFile);\r\n try (PrintWriter outStream = new PrintWriter(outFileStream)) {\r\n for (int i = 0; i < lorry.size(); i++) {\r\n outStream.println(lorry.get(i).getRegNum() + \",\" + lorry.get(i).getModel() + \",\" + lorry.get(i).getTon());\r\n }\r\n }\r\n } catch (IOException ex) {}\r\n }", "title": "" }, { "docid": "e7cf5029855a48b257f380642a2f7798", "score": "0.56301224", "text": "public static void writeCsv(){\n String str;\n String filePath = \"src/labs_examples/input_output/labs/Exercise_04.csv\";\n\n BufferedReader br =\n new BufferedReader(\n new InputStreamReader(System.in));\n\n try (FileWriter fw = new FileWriter(filePath))\n {\n do {\n System.out.print(\"Type line: \");\n str = br.readLine(); //NOTE: Do NOT put spaces before items in CSV file\n\n if(str.compareTo(\"stop\") == 0)\n break;\n\n str = str + \"\\r\\n\"; // add newline\n fw.write(str);\n } while(str.compareTo(\"stop\") != 0);\n } catch(IOException exc) {\n System.out.println(\"I/O Error: \" + exc);\n }\n }", "title": "" }, { "docid": "15eab9e4264430e2864252fdde2dfd5f", "score": "0.55876076", "text": "private static void readcsv() {\n\t\tCSVReader reader;\n\t\ttry {\n\t\t\treader = new CSVReader(new FileReader(\"perfume_data.csv\"));\n\t\t\tList<String[]> myEntries = reader.readAll();\n\t\t\tlearning_set=new Double[(myEntries.size()-1)*myEntries.get(0).length][1];\n\t\t\tclasses=new String[(myEntries.size()-1)*myEntries.get(0).length][1];\n\t\t\t//System.out.println(myEntries.get(0).length);\n\t\t\tfor (int j = 0; j < myEntries.get(0).length; j++) {\n\t\t\t\tfor (int i = 0; i < myEntries.size()-1; i++) {\n\t\t\t\t\tlearning_set[i+j*28][0] = Double.parseDouble(myEntries.get(i+1)[j]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int j =0;j<myEntries.get(0).length;j++)\n\t\t\t{\n\t\t\t\tfor(int i=0;i<myEntries.size()-1;i++)\n\t\t\t\t{\n\t\t\t\t\tclasses[i+j*28][0]=myEntries.get(0)[j];\n\t\t\t\t}\n\t\t\t}\n//\t\t\tfor(int i=0;i<myEntries.size();i++)\n//\t\t\t{\n//\t\t\t\tString[] str=myEntries.get(i);\n//\t\t\t\tSystem.out.println(str[1]);\n//\t\t\t}\n\t\t} catch (FileNotFoundException e1) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te1.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "d5cd6dd22978071e456c1a154692af2c", "score": "0.55745304", "text": "void SaveToFile(int choice) {\n try {\n Scanner in = new Scanner(System.in);\n if (choice == 1) {\n System.out.print(\"Masukkan nama file beserta extension(.txt): \");\n FileWriter myWriter = new FileWriter(\"../test/\" + in.nextLine());\n for (int i = 0; i < this.rows; i++) {\n for (int j = 0; j < this.columns; j++) {\n myWriter.write(Double.toString(this.matrix[i][j]));\n myWriter.write(\" \");\n }\n myWriter.write(\"\\n\");\n }\n System.out.println(\"File telah berhasil dibuat!\\n\");\n myWriter.close();\n } else {\n System.out.println(\"\");\n }\n\n } catch (IOException e) {\n System.out.println(\"An error occurred.\");\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "ac179880cf01f3499f6b5552342ccee0", "score": "0.55358773", "text": "public static void main(String[] args) throws IOException {\n\n int lineNumber = 0;\n File file = new File(\"H:\\\\Bootcamp\\\\aula3\\\\src\\\\lab3\\\\oscar_age_female.csv\");\n Scanner scanner = new Scanner(file);\n FileWriter writer = new FileWriter(\"H:\\\\Bootcamp\\\\aula3\\\\src\\\\lab3\\\\result.txt\", true);\n scanner.nextLine();\n\n while (scanner.hasNextLine()) {\n\n String line = scanner.nextLine();\n String[] values = line.split(\",\");\n\n writer.write(\"Name: \" + values[3] + \"\\n\");\n writer.write(\"Year: \" + values[1] + \"\\n\");\n writer.write(\"Age: \" + values[2] + \"\\n\");\n writer.write(\"Movie: \" + values[4] + \"\\n\");\n writer.write(\"==============\\n\");\n\n // System.out.println(values[1] + \" \" + values[values.length - 1]);\n }\n writer.close();\n scanner.close();\n\n\n }", "title": "" }, { "docid": "b2435e48365b0504983c4bc70bb9b2ea", "score": "0.54927754", "text": "public static void flowerCsvParse(){\n ArrayList<Flower> flowers = new ArrayList<>();\n\n String filePath = \"src/labs_examples/input_output/labs/Exercise_04.csv\";\n\n try (BufferedReader br =\n new BufferedReader(new FileReader(filePath))) {\n\n String line;\n\n while ((line = br.readLine()) != null) {\n String[] values = line.split(\",\");\n flowers.add(mapValuesToFlowerObject(values));\n }\n\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n String csvOut = \"src/labs_examples/input_output/labs/Flower.csv\";\n //write arraylist to new CSV file\n try (FileWriter fw = new FileWriter(csvOut)) {\n for(Flower flower : flowers) {\n System.out.println(flower.toString());\n String str = flower.getFlowerType() + \",\" + flower.getFlowerColor() + \",\" + flower.getNumInGarden() + \"\\r\\n\";;\n fw.write(str);\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "9120e916243a1aec61aec8e374fd9c11", "score": "0.548667", "text": "@Test\n public void testSaveCSV() {\n System.out.println(\"saveCSV\");\n PrintStream output = null;\n RdvList instance = new RdvList();\n instance.saveCSV(output);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "bdf4bf007bfbfc182d98d9fe133f0364", "score": "0.54858816", "text": "public static void main(String[] args) throws IOException {\n ArrayList<Integer> resp;\r\n ArrayList<Integer> solucaoini = new ArrayList();\r\n ArrayList<Integer> pesos = new ArrayList();\r\n \r\n writer = new FileWriter(\"arq.csv\");\r\n \r\n for(int i = 0; i < 20; i++){\r\n Random rand = new Random();\r\n solucaoini.add(i, 0);\r\n }\r\n \r\n //Atribuição dos pesos passados\r\n pesos.add(0, 150);\r\n pesos.add(1, 20);\r\n pesos.add(2, 40);\r\n pesos.add(3, 220);\r\n pesos.add(4, 60);\r\n pesos.add(5, 85);\r\n pesos.add(6, 92);\r\n pesos.add(7, 12);\r\n pesos.add(8, 25);\r\n pesos.add(9, 110);\r\n pesos.add(10, 155);\r\n pesos.add(11, 23);\r\n pesos.add(12, 42);\r\n pesos.add(13, 226);\r\n pesos.add(14, 62);\r\n pesos.add(15, 91);\r\n pesos.add(16, 87);\r\n pesos.add(17, 13);\r\n pesos.add(18, 125);\r\n pesos.add(19, 112);\r\n \r\n //System.out.println(solucaoini.toString());\r\n for(int i=0; i<100; i++){\r\n System.out.println(\"ITERAÇÃO \" + i + \": \");\r\n resp = SimulatedAnnealing(solucaoini, pesos, 0.7, 10, 0.2, 100);\r\n System.out.println(resp.toString());\r\n }\r\n \r\n writer.flush();\r\n writer.close();\r\n }", "title": "" }, { "docid": "f07107eafbf819608118faa785e3c4b6", "score": "0.5473035", "text": "public void GravarReg() {\n FileOutputStream out;\n PrintStream p;\n try {\n out = new FileOutputStream(\"Numeros.txt\");\n p = new PrintStream(out);\n for (Long numero : numeros) {\n p.println(numero);\n }\n p.flush();\n p.close();\n label_aqruivo.setText(\"Arquivo gravado, 'Numeros.txt'\");\n } catch (Exception e) {\n System.err.println(e);\n }\n }", "title": "" }, { "docid": "aa1d06a1238817afd4900bfda45826b0", "score": "0.5461177", "text": "public void save(ArrayList<Task> inputList) throws IOException {\n // if list has nothing just quit\n if (inputList.isEmpty()) {\n BufferedWriter writer = new BufferedWriter(\n new FileWriter(new File(filePath))\n );\n writer.write(\"\");\n writer.close();\n saveTimeSpent(inputList);\n return;\n }\n //if data folder doesnt exist create it\n File directory = new File(this.filePath.split(\"/\")[0]);\n if (!directory.exists()) {\n directory.mkdir();\n }\n\n // saveAchievements inputs\n String savedLine = inputList.get(0).toSaveFormat();\n for (int i = 1; i < inputList.size(); i++) {\n savedLine = savedLine + \"\\n\" + inputList.get(i).toSaveFormat();\n }\n BufferedWriter writer = new BufferedWriter(\n new FileWriter(new File(this.filePath))\n );\n writer.write(savedLine);\n writer.close();\n\n saveTimeSpent(inputList);\n }", "title": "" }, { "docid": "3fb5d6bd788752d6577eb9d0ec04e687", "score": "0.54481715", "text": "private void save() {\n\n\n\t\t\ttry{\n\n\t\t\tFileWriter writer = new FileWriter(\"Train.txt\");\n\n\t\t\twriter.write(\"\\nSummary \\nOwner\\tType of Rail Car\\tMinimum Weight\\tCar Id\\tCargo Weight\\tMaximum Weight\\nGermany\\tRailway Plough\\t\\t50\\t\\tMP3108\\t\\t75\\t1000\");\n\n\t\t\twriter.flush();\n\n\t\t\twriter.close();\n\n\t\t\t}\n\n\t\t\tcatch (IOException e) {\n\n\t\t\te.printStackTrace();\n\t\t\tLogger.getLogger(TrainIO.class.getName()).log(Level.SEVERE, null, e);\n\n\t\t}\n\n\t}", "title": "" }, { "docid": "3ca9865929de5cd10b434ff056764fa2", "score": "0.5447545", "text": "public static void writeArray2File() {\r\n\t\ttry {\r\n\t\t\tFile writename = new File(\".\\\\puzzles.txt\"); \r\n\t\t\twritename.createNewFile(); \r\n\t\t\tBufferedWriter out = new BufferedWriter(new FileWriter(writename));\r\n\t\t\tfor (int[][] map : allCases_GridGraph) {\r\n\t\t\t\tout.write(allCases_GridGraph.indexOf(map) + \"\\r\\n\");\r\n\t\t\t\t// be careful in different system \\r\\n may be changed to \\n or \\r?\r\n\t\t\t\tfor (int i = 0; i != map.length; i++) {\r\n\t\t\t\t\tfor (int j = 0; j != map[0].length; j++) {\r\n\t\t\t\t\t\tout.write(map[i][j] + \"\\t\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\tout.write(\"\\r\\n\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tout.flush(); \r\n\t\t\tout.close(); \r\n\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "48af71d50859267c48cb421d0aa754eb", "score": "0.5444516", "text": "public void getList(){\n ColumnTable ct = new ColumnTable(\"/Users/xujun/Desktop/Tempory/g.txt\");\n BufferedWriter bw =IOUtils.getTextWriter(new File(\"/Users/xujun/Desktop/Tempory/geneticList.txt\").getAbsolutePath());\n try{\n for(int i =0 ; i < ct.getColumnNumber() ; i++){\n for(int j =i ; j < ct.getRowNumber();j++){\n bw.write(ct.getCellAsString(i, j));bw.newLine(); \n }\n }\n bw.flush();bw.close();\n }\n catch (Exception e) {\n e.printStackTrace();\n } \n }", "title": "" }, { "docid": "e0b621da3c01704301d67e49d2d94996", "score": "0.5433254", "text": "void readdata() throws FileNotFoundException{\n\t\t\t\t\t Scanner infile = new Scanner(new File(\"/home/sagar/Documents/Pattern Recognition/Decison Tree Induction/Example/Input.txt\"));\n\t\t\t\t\t while(infile.hasNextLine()){\n\t\t\t\t\t\t ArrayList<String> list = new ArrayList<String>(); \n\t\t\t\t\t\t String line = infile.nextLine();\n\t\t\t\t\t\t Collections.addAll(list, line.split(\",\"));\n\t\t\t\t\t\t data.add(list);\n\t\t\t\t\t }\n\t\t\t\t\t infile.close();\n\t\t}", "title": "" }, { "docid": "7707a0d612d6c7f9169b6126b47d51cc", "score": "0.5431972", "text": "public static void writeDataLineByLine(String outputPath, ArrayList<String[]> inputCrimes)\n {\n try {\n\n File file = new File(outputPath);\n FileWriter outputFile = new FileWriter(file, true);\n CSVWriter writer = new CSVWriter(outputFile);\n BufferedWriter bw = new BufferedWriter(outputFile);\n\n // Adding header to csv\n if (file.length() == 0 ) {\n String[] header = { \"Case#\", \"DATE OF OCCURRENCE\", \"BLOCK\", \"PRIMARY DESCRIPTION\", \"SECONDARY DESCRIPTION\",\n \"LOCATION DESCRIPTION\", \"ARREST\", \"DOMESTIC\", \"BEAT\", \"WARD\",\"X COORDINATE\",\n \"Y COORDINATE\", \"LATITUDE\", \"LONGITUDE\", \"OBJECT TYPE\"};\n writer.writeNext(header);\n }\n\n // Writing crimes\n assert inputCrimes != null;\n for (String[] crime : inputCrimes) {\n bw.newLine();\n writer.writeNext(crime);\n }\n\n // Closing writer connection\n writer.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n }", "title": "" }, { "docid": "096215e79dac39dbffb371857df386b7", "score": "0.54256517", "text": "private void writeCsv() {\n\t\t\n\t}", "title": "" }, { "docid": "c1a45da86a57cc6ef2d5c35810849efe", "score": "0.54128826", "text": "public void SaveToFile(ArrayList<Habit> rgHabits){\n try {\n FileOutputStream fos = context.openFileOutput(FILENAME, Context.MODE_PRIVATE);\n\n\n BufferedWriter out = new BufferedWriter(new OutputStreamWriter(fos));\n\n Gson gson = new Gson();\n gson.toJson(rgHabits, out);\n out.flush();\n\n fos.close();\n\n }catch(FileNotFoundException e){\n throw new RuntimeException();\n }catch(IOException e){\n throw new RuntimeException();\n }\n }", "title": "" }, { "docid": "3937d20fc40848ba985b74a5ca047fcd", "score": "0.54087335", "text": "private void saveToFile() {\n\t\tPrintWriter pw = null;\n\n\t\ttry {\n\t\t\tpw = new PrintWriter(filename);\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tpw.println(grid.length + \" \" + grid[0].length);\n\n\t\tfor (int i = 0; i < grid.length; i++) {\n\t\t\tfor (int j = 0; j < grid[0].length; j++) {\n\t\t\t\tpw.print((grid[i][j] ? 1 : 0) + \" \");\n\t\t\t}\n\t\t\tpw.println();\n\t\t}\n\n\t\tpw.close();\n\t}", "title": "" }, { "docid": "c8c3359dca90c5926096fa90dcaef654", "score": "0.539119", "text": "void WriteFile(ArrayList<String> list) throws IOException {\n FileWriter fw = new FileWriter(\"C:/Users/bintu/Documents/SUP/SUP(Main)/TestClient/src/testclient/usertext.txt\");\r\n \r\n\tfor (int i = 0; i < list.size(); i++) {\r\n\t\tfw.write(list.get(i)+\"\\n\");\r\n \r\n\t}\r\n \r\n\tfw.close();\r\n this.dispose();\r\n}", "title": "" }, { "docid": "c2e789820cdbac5a4c8b26d94f2e7bae", "score": "0.53741956", "text": "public static void main(String[] args) throws IOException {\n ArrayList<Integer> arrayList = new ArrayList<>();\n arrayList.add(5);\n arrayList.add(10);\n arrayList.add(11);\n arrayList.add(12);\n arrayList.add(15);\n arrayList.add(20);\n arrayList.add(22);\n arrayList.add(45);\n\n //creating s an arrays in a list formate and added the elements\n List<Integer> arrayList1 = Arrays.asList(new Integer[]{10,5,1,5,1,58,84,5,5,5,5});\n\n //conevrting the list of array into the integer array\n Integer [] newArray = arrayList1.toArray(new Integer[arrayList1.size()]);\n\n\n try {\n BufferedWriter fout = new BufferedWriter(new FileWriter(\"D:\\\\New folder\\\\bostonTuts\\\\src\\\\test.txt\"));\n for (Integer a : newArray) {\n System.out.println(a);\n Integer b = newArray[a];\n fout.write(a);\n fout.flush();\n }\n fout.close();\n }\n catch(Exception e ){\n System.out.println(e);\n }\n }", "title": "" }, { "docid": "93350c26309e04d45abefbd745b95deb", "score": "0.53600323", "text": "static void saveToFile() {\n for (int i=0; i<ScoreTracker.scores.size(); i++) {\n double[] score = ScoreTracker.scores.get(i);\n int max = (int) score[0];\n int min = (int) score[1];\n double mean = score[2];\n\n String out = max+\";\"+min+\";\"+mean;\n writeToFile(out);\n }\n\n try {\n writer.close();\n } catch (IOException e) {\n System.out.println(\"Error closing writer.\");\n }\n }", "title": "" }, { "docid": "10132f1f71aba4783d4b7f7f87822c2f", "score": "0.5340603", "text": "static void AddClipsFromCSV( String csvName ) throws IOException\n \t{\n \t\tCSVReader csvReader = new CSVReader( new FileReader( csvName ) );\n \n \t\tString[] nextLine;\n \n \t\tallTrainingClips.clear();\n \n \t\twhile ( ( nextLine = csvReader.readNext() ) != null )\n \t\t{\n \t\t\tString clipName = nextLine[ 0 ];\n \t\t\tYTClip clip = new YTClip( clipName );\n \n \t\t\tList < String > initialLabel = new ArrayList < String >( 1 );\n \t\t\tinitialLabel.add( nextLine[ 1 ] );\n \t\t\tclip.setLabel( initialLabel );\n \n \t\t\tallTrainingClips.add( clip );\n \t\t}\n \t}", "title": "" }, { "docid": "d33b1d0487d6386b250a14229e1a16a0", "score": "0.5334102", "text": "public static void main(String args[])\n\t{\n\t\tfloat data[][] = new float[2000][27000];\n\t\t// READ ENTERIES AND POPULATE IT \n\t\t\n\t\n\t\t// WRITE IT TO A FILE IN CSV FORMAT\n\t\ttry\n\t\t{\n\t\t\tFileInputStream fis = new FileInputStream(\"label1.txt\");\n\t\t FileOutputStream fop= new FileOutputStream(\"opt1.txt\");\n\t\t\tDataOutputStream dop=new DataOutputStream(fop);\n\t\t\tBufferedWriter bop=new BufferedWriter(new OutputStreamWriter(dop));\n\t\t\tDataInputStream dis = new DataInputStream(fis);\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(dis));\n\t\t\tPrintStream ps = new PrintStream(fop);\n\t\t\tString str=\"\";\n\t\t\t//String strarr[]=new String[500];\n\t\t\tString strarr2[]=new String[2];\n\t\t\tString str3 = \" \";\n\t\t\tint row = 0;\n\t\t\tint row1 = 1;\n\t\t\tint column = 0;\n\t\t\tfloat value = 0.0f;\n\t\t\twhile((str=br.readLine())!=null)\n\t\t\t{\t\n\t\t\t\t\n\t\t\t\tString[] strarr = str.split(\"\\\\s+\");\n\t\t\t\n\t\t\t\t//System.out.println(strarr[3]);\n\t\t\t\tstrarr2=strarr[3].split(\":\");\n\t\t\t\t\n\t\t\t\t//System.out.println(strarr2[1]);\n\t\t\t\n\t\t\t //bop.write(strarr2[1]);\n\t\t\t\n\t\t\t\tps.println(strarr2[1]);\n\t\t\t//row= Integer.parseInt(strarr[0]);\n\t\t/*\tif(row==row1){\n\t\t\tSystem.out.println();\t\n\t\t\tSystem.out.print(row);\n\t\t\trow1++;\n\t\t\t}*/\n\t\t//\tcolumn= Integer.parseInt(strarr[1]);\n\t\t\t//value = Float.parseFloat(strarr[2]);\n\t\t\t//System.out.println(\" \");\n\t\t//\tSystem.out.print(value + \" \");\n\t\t\t//data[row][column] = value;\n\t\t\t//System.out.print(data + \" \");\n\t\t\t\n\t\t\t\n\t\t\t/*for(column=1; column<26366; column++)\n\t\t\t{\n\t\t\t\tSystem.out.print(data[row][column] + \"|\");\n\t\t\t}*/\n\t\t\t//System.out.println();\n\t\t\t//System.out.print(row);\n\t\t\t//System.out.print(\" \");\n\t\t\t//System.out.print(value);\n\t\t\t}\n\t\t\tdis.close();\n\t\t}\n\t\tcatch(java.lang.Exception e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\t/*for(int i=1;i<1843;i++)\n\t\t{\n\t\t\n\t\t\tfor(int j=1;j<26366;j++)\n\t\t\t{\n\t\t\t\tSystem.out.print(data[i][j]+\"|\");\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}*/\n\t\t}", "title": "" }, { "docid": "e70e7cf2482a4d5624d3d3bd0f058194", "score": "0.53278697", "text": "@Override\n\tpublic void writeToDatabase(String filename, ArrayList<Object> list) {\n\t\t\n\t}", "title": "" }, { "docid": "b8b3200e5798439cb605ed5397f17c38", "score": "0.53254575", "text": "private void saveData(){\r\n\t\t\tString fileDate = CountSetup.updateDate();\r\n\t\t\t\t\t\t\r\n\t\t\tFile folder = Environment.getExternalStoragePublicDirectory(\"TDG_DATA\");\r\n\t\t\tString file = fileDate+\"_Traffic_Count_Data.csv\";\r\n\t\t\tFile csvfile = new File(folder, file);\r\n\t\t\t\ttry {\r\n\t\t\t\t\tif(!folder.exists()){\r\n\t\t\t\t\t\t//Make the directory\r\n\t\t\t\t\t\tfolder.mkdir();\r\n\t\t\t\t\t\r\n\t\t\t\t\t}if(folder.exists()){\r\n\t\t\t\t\t\t//Open the file to be written to. Re-initialization is necessary in this case.\r\n\t\t\t\t\t\tFileWriter writer = new FileWriter(csvfile, true);\r\n\t\t\t\t\t\t//WRITE DATA\r\n\t\t\t\t\t\twriteIntersectionCountData(writer);\r\n\t\t\t\t\t\tflushAndCloseWriter(writer);\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\tuserMessage(\"Please mount your SD card\");\r\n\t\t\t\t\t}\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t}", "title": "" }, { "docid": "fd0f6d2c82a2852eda3dd6291c5206ae", "score": "0.5310609", "text": "public void writeListToFile(){\n\t\tfinal String COMMA_DELIMITER = \",\";\n\t\tfinal String NEW_LINE_SEPARATOR = \"\\n\";\n\t\t\n\t\t//CSV file header\n\t\tfinal String FILE_HEADER = \"BookAuthor,Genre,Copies\";\n\t\tFileWriter fileWriter = null;\n\t\t\t\t\t\n\t\ttry {\n\t\t\tfileWriter = new FileWriter(\"LibraryBooks.csv\");\n\t\t\n\t\t\t\t//Write the CSV file header\n\t\t\tfileWriter.append(FILE_HEADER.toString());\n\t\t\t\n\t\t\t\t//Add a new line separator after the header\n\t\t\t fileWriter.append(NEW_LINE_SEPARATOR);\n\t\t\t fileWriter.append(\"Gone with the Wind\");\n\t\t\t fileWriter.append(COMMA_DELIMITER);\n\t\t\t fileWriter.append(\"Romance\");\n\t\t\t fileWriter.append(COMMA_DELIMITER);\n\t\t\t fileWriter.append(\"12234566\");\n\t\t\t /*\t\n\t\t\t\t*/\n\t\t\t\t//System.out.println(\"Books CSV file was created successfully !!!\");\n\t\t\t\tfileWriter.close();\n\t\t\t\t\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\t\n\t\t\n\t\t//USERS\n\t\tfinal String USER_HEADER = \"Name, Username, Password\";\n\t\ttry {\n\t\t\tfileWriter = new FileWriter(\"Users.csv\");\n\t\t\tfileWriter.append(USER_HEADER.toString());\n\t\t\tfileWriter.append(NEW_LINE_SEPARATOR);\n\t\t\tfileWriter.append(\"Mahnoor Tariq\");\n\t\t\tfileWriter.append(NEW_LINE_SEPARATOR);\n\t\t\tfileWriter.append(\"mtariq2\");\n\t\t\tfileWriter.append(NEW_LINE_SEPARATOR);\n\t\t\tfileWriter.append(\"project\");\n\t\t\t\n\t\t\tSystem.out.println(\"User CSV File was created successfully !!!\");\n\t\t\tfileWriter.close();\n\t\t\t\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\t//BOOKS CHECKEDOUT\n\t\tfinal String CHECKEDOUT_HEADER = \"User, Book, Title, Genre, Copies\";\n\t\ttry {\n\t\t\tfileWriter = new FileWriter(\"CheckedOutBooks.csv\");\n\t\t\tfileWriter.append(CHECKEDOUT_HEADER.toString());\n\t\t\tfileWriter.append(NEW_LINE_SEPARATOR);\n\t\t\tfileWriter.append(\"mtariq2\");\n\t\t\tfileWriter.append(NEW_LINE_SEPARATOR);\n\t\t\tfileWriter.append(\"This Is Kind of Hard\");\n\t\t\tfileWriter.append(NEW_LINE_SEPARATOR);\n\t\t\tfileWriter.append(\"Technology\");\n\t\t\t\n\t\t\tSystem.out.println(\"CheckedOut Books CSV File was created successfully !!!\");\n\t\t\tfileWriter.close();\n\t\t\t\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\n\t}", "title": "" }, { "docid": "1f406051afe515df7f20ef5e6f9ba7f4", "score": "0.53102106", "text": "private void saveDataToCSV(File startPath, List<int[]> classifications) {\n\t\tJFileChooser fileSaver = new JFileChooser(startPath);\n\t\tswitch(fileSaver.showSaveDialog(parent)) {\n\t\t\tcase JFileChooser.APPROVE_OPTION:\n\t\t\t\tFile selected = fileSaver.getSelectedFile();\n\t\t\t\tCSVWriter writer = new CSVWriter(selected, ';');\n\t\t\t\twriter.write(classifications);\n\t\t\t\tJOptionPane.showMessageDialog(parent, \"Ergebnisse gespeichert.\");\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tJOptionPane.showMessageDialog(parent, \"Ergebnisse NICHT gespeichert.\");\n\t\t\t\tbreak;\n\t\t}\n\t}", "title": "" }, { "docid": "bbafb02abacb550cab49dcf10e4d82ce", "score": "0.5286664", "text": "void saveAs();", "title": "" }, { "docid": "a94676b098fe07e8cbde784c3f3f8386", "score": "0.528633", "text": "public void saveProvisions(){\n String fileName = \"\";\r\n // declare a reference to a PrintWriter object\r\n PrintWriter out = null;\r\n // prompt the user for a file name, get and save the user’s input\r\n System.out.println(\"Enter a list name to save:\");\r\n fileName = keyboard.next();\r\n try { \r\n // create the PrintWriter object\r\n out = new PrintWriter(\"pvl\"+fileName+\".txt\");\r\n // get a reference to the ArrayList you want to output\r\n ArrayList<ListItem> provList = GameControl.getProv();\r\n // output a heading for the report\r\n out.println(\"\\n Provisions List\\n\");\r\n out.printf(\"%-17s%10s\",\"Item\",\"Quantity\\n\");\r\n out.printf(\"%-17s%10s\",\"----\",\"--------\\n\");\r\n // use a for loop to get the data from the ArrayList and output it\r\n for (ListItem i : provList){\r\n out.printf(\"%-17s%10s\", i.getName() , i.getNumber()+\"\\n\"); \r\n }\r\n //out.close();\r\n // print a success message\r\n System.out.println(\"Success!\");\r\n } catch(IOException e) {\r\n System.out.println(\"Saving File Error.\");\r\n } finally {\r\n out.close();\r\n }\r\n }", "title": "" }, { "docid": "71e95abb03ce49d9f067066730e73e20", "score": "0.5281739", "text": "public void saveExpectedGoalsClassifiers() {\n try {\n \t\tBufferedWriter writer = null;\n writer = new BufferedWriter(new FileWriter(\"d://commentary/xg.csv\"));\n writer.write(\"type,goals,nogoals,xg,\\n\");\n for(ExpectedGoalHolder h : holders) {\n \t\t\twriter.write(h.toString()+\"\\n\");\n \t\t}\n writer.close();\n System.out.println(\"Expected Goals saved\");\n }\n catch (IOException e) {\n }\n\t}", "title": "" }, { "docid": "23fb6847bf7c1a816dca966c27f790d7", "score": "0.5267589", "text": "public void GuardarArbol(ArrayList Guardar){\nFile tmp= new File(\"src/lista.bin\");\nif(tmp.exists()){\ntmp.delete();\n}\nObjectOutputStream GuArbol=null;\n try {\n GuArbol = new ObjectOutputStream(new FileOutputStream(\"src/lista.bin\",true));\n GuArbol.writeObject(Guardar);\n GuArbol.close();\n } catch (IOException ex) {\n ex.printStackTrace();\n }\n}", "title": "" }, { "docid": "5ca41549aedc9604019d1b296f446251", "score": "0.52610713", "text": "public void saveSamples() throws FileNotFoundException,\r\n\t\t\tIOException {\r\n\t\tArrayList<String> sampleList = null;\r\n\r\n\t\tif (samples != null) {\r\n\t\t\tsampleList = samples;\r\n\t\t}\r\n\r\n\t\tFile aFile = new File(SAMPLE_FILE);\r\n\r\n\t\tif (!aFile.exists()) {\r\n\t\t\tthrow new FileNotFoundException(\"File does not exist: \" + aFile);\r\n\t\t}\r\n\t\tif (!aFile.isFile()) {\r\n\t\t\tthrow new IllegalArgumentException(\"Should not be a directory: \"\r\n\t\t\t\t\t+ aFile);\r\n\t\t}\r\n\t\tif (!aFile.canWrite()) {\r\n\t\t\tthrow new IllegalArgumentException(\"File cannot be written: \"\r\n\t\t\t\t\t+ aFile);\r\n\t\t}\r\n\r\n\t\t// use buffering\r\n\t\tCSVFileWriter output = new CSVFileWriter(SAMPLE_FILE, ',', '\"');\r\n\r\n\t\tVector<String> fields = null;\r\n\r\n\t\ttry {\r\n\t\t\t// create vector for the header and add it to the output file\r\n\t\t\tfields = new Vector<String>(Arrays.asList(HEADER));\r\n\t\t\toutput.writeFields(fields);\r\n\r\n\t\t\tfor (String sample : sampleList) {\r\n\t\t\t\tfields = new Vector<String>(2);\r\n\r\n\t\t\t\tfields.add(sample);\r\n\t\t\t\t/*\r\n\t\t\t\tfields.add(auma.getModel());\r\n\t\t\t\tfields.add(HoistCreator.getInstance().getTwoPlaces().format(2.01));\r\n\t\t\t\t */\r\n\t\t\t\toutput.writeFields(fields);\r\n\t\t\t}\r\n\r\n\t\t} finally {\r\n\t\t\toutput.close();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "d725e4a77984b1e230916d21eeeddf1f", "score": "0.52569", "text": "public void writeData(int[] a, String name) {\n\t try {\n\t\t\tString f_name = name + \".csv\";\n\t \tFileWriter data = new FileWriter(f_name);\n \t\tBufferedWriter writer = new BufferedWriter(data);\n \tfor(int index11 = 0; index11 < a.length; index11++) {\n \t\twriter.write(String.valueOf(a[index11]));\n \t\t//writer.write(\",\");\n \twriter.write(\"\\n\");\n \t}\n \twriter.close();\n\t\t}\n\n\t catch(IOException ex){\n\t ex.printStackTrace();\n\t }\n\t}", "title": "" }, { "docid": "2468cc59d5ef3b349c2d2926a7c37fcc", "score": "0.524412", "text": "public static void main(String[] args) throws IOException {\n\t\t\n\t\tdouble d1=-0.8867;\n\t\tint j=0;\n\t\t\n\t\tj = (int) d1;\n\t\t\n\t\tSystem.out.println(\" j =\"+j);\n\t\t\n\tBufferedWriter bufWr = new BufferedWriter(new FileWriter(\"//home/sayantan/Desktop/topWords.csv\"));\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tString output = \"Result is \"+ i+\", For Rownum \"+i;\n\t\t\tbufWr.append(output);\n\t\t\tbufWr.newLine();\n\t }\n\t\tbufWr.close();\n\n\t}", "title": "" }, { "docid": "ed2f80741c65f37b4fede4971fbaf528", "score": "0.5226513", "text": "private void writeToFile(){\n try(BufferedWriter br = new BufferedWriter(new FileWriter(filename))){\n for(Studenti x:getAll())\n br.write(x.toString()+\"\\n\");\n br.close();\n }catch (IOException e){\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "76ce34fdad100ef3aba3d406e175abe1", "score": "0.5224805", "text": "private static void outputCSVResults3D() {\n\n\t}", "title": "" }, { "docid": "34cabb60c605d98ae3b5bdfb782203fc", "score": "0.5218949", "text": "private void saveRecipeToFile(){\r\n\t\t// Print an implement to guild the user to input an filename.\r\n\t\tSystem.out.print(\"Enter filename: \");\r\n\t\t// Create a local variable and initial it with the string user typed.\r\n\t\tString fileName = scnr.nextLine();\r\n\t\t// Create a new file in the default pathway with the name user typed.\r\n\t\tFile file = new File(fileName);\r\n\t\t// Call the sort method in the recipeList class to sort the list.\r\n\t\trecipe.sort();\r\n\t\t// Print the list to the file.\r\n\t\ttry{PrintWriter output = new PrintWriter(file);\r\n\t\toutput.println(recipe.size());\r\n\t\tfor(int i = 0; i < recipe.size(); i++){\r\n\t\t\toutput.print(recipe.get(i).printToFile());\r\n\t\t}\r\n\t\t// close the PrintWriter connected to the file.\r\n\t\toutput.close();\r\n\t\t}catch(FileNotFoundException exception){\r\n\t\t\t// Print a warning MSG when FileNotFoundException happens.\r\n\t\t\tSystem.out.println(\"Unable to write to file: \" + fileName);\r\n\t\t}\r\n\t\t// Print the results of this method.\r\n\t\tSystem.out.println(\"Saved \"+recipe.size()+\" recipes to \"+fileName);\r\n\t}", "title": "" }, { "docid": "4c28bfa9ceb87b07b07149619762aa1f", "score": "0.5202297", "text": "public static void main(String args[]){\n String input = \"F:\\\\Matej Dokumenti\\\\Redescription mining with CLUS\\\\OtherDPRMAlgos\\\\OtherTBDPRMAlgos\\\\CMS2_16\\\\MadreBB01\\\\redescriptionsCMS2_16PooledMDBB01.queries\";\r\n File in = new File(input);\r\n ArrayList<Double> js = new ArrayList<>();\r\n ArrayList<Double> pv = new ArrayList<>();\r\n ArrayList<Double> support = new ArrayList<>();\r\n int count = 0;\r\n try{\r\n Path p = Paths.get(in.getAbsolutePath());\r\n BufferedReader read = Files.newBufferedReader(p, StandardCharsets.UTF_8);\r\n String line = \"\";\r\n \r\n while((line = read.readLine())!=null){\r\n if(count == 0){\r\n count = 1;\r\n continue;\r\n }\r\n String tmp[] = line.split(\"\\t\");\r\n js.add(Double.parseDouble(tmp[3]));\r\n pv.add(Double.parseDouble(tmp[4]));\r\n support.add(Double.parseDouble(tmp[7]));\r\n }\r\n read.close();\r\n //FileWriter fw = new FileWriter(\"F:\\\\Matej Dokumenti\\\\Redescription mining with CLUS\\\\OtherDPRMAlgos\\\\ResRev2\\\\Mammals\\\\Pooled\\\\redescriptionsMammalsRev2A0S1PooledS.queries\");\r\n // FileWriter fw = new FileWriter(\"F:\\\\Matej Dokumenti\\\\Redescription mining with CLUS\\\\OtherDPRMAlgos\\\\ResRev2\\\\B01Pooled\\\\redescriptionsCMS2_16Rev2B01A1S0PooledNS.queries\");\r\n //FileWriter fw = new FileWriter(\"F:\\\\Matej Dokumenti\\\\Clanci - u tijeku\\\\DPRM\\\\Grafovi\\\\experiments\\\\DPAlgos\\\\CMS\\\\redescriptionsCMS2_16EmbNS.queries\");\r\n FileWriter fw = new FileWriter(\"F:\\\\Matej Dokumenti\\\\Redescription mining with CLUS\\\\OtherDPRMAlgos\\\\OtherTBDPRMAlgos\\\\CMS2_16\\\\MadreBB01\\\\redescriptionsCMS2_16PooledMDBB01JPSN.queries\");\r\n \r\n for(int i=0;i<js.size();i++)\r\n fw.write(js.get(i)+\" \"+pv.get(i)+\" \"+support.get(i)+\"\\n\");\r\n fw.close();\r\n }\r\n catch(IOException e){\r\n e.printStackTrace();\r\n }\r\n }", "title": "" }, { "docid": "343d8b87d7139176fb7888d5d499738e", "score": "0.5200393", "text": "private void saveItems() {\n PrintWriter writer = null;\n try {\n FileOutputStream fos = openFileOutput(FILE_NAME, MODE_PRIVATE);\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(\n fos)));\n\n for (int idx = 0; idx < mAdapter.getItemCount(); idx++) {\n\n writer.println(mAdapter.getItem(idx));\n\n }\n } catch (IOException e) {\n e.printStackTrace();\n } finally {\n if (null != writer) {\n writer.close();\n }\n }\n }", "title": "" }, { "docid": "d58c63a136e2521c3e12e690e0e9a741", "score": "0.5187918", "text": "public void write(int label, List<double[]> sequence) throws IOException;", "title": "" }, { "docid": "59c809b827930088f11233305f241bec", "score": "0.51872194", "text": "void save(File...statistics) throws IOException;", "title": "" }, { "docid": "91df7ee492b67bd0cb174366871fe8e7", "score": "0.5182228", "text": "private void saveRecords() {\n for (int i = 0; i < tempRecords.size(); i++) {\n RecordItem item = tempRecords.get(i);\n writer.write(item.getDistance() + \",\" + item.getRssi() + \",\" + item.getDatetime() + \"\\n\");\n }\n }", "title": "" }, { "docid": "bdfa6764662bf03a96d7eadbe279d0a2", "score": "0.5176312", "text": "public void saveTofile(List<MyQuestions> myquestions) throws IOException\n {\n //initialize fos as our FileWriter\n FileWriter fw = null;\n\n //try with catch block for FileNotFoundException\n //pass the absolute path of our database file\n try {\n fw = new FileWriter(file);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n //prints line by line all MyObject in myobjects\n try {\n try {\n for (int i = 0; i < myquestions.size(); i++)\n {\n fw.write(myquestions.get(i).toString() );\n\n }\n\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n\n }\n finally\n { //close the FileWriter\n try\n {\n fw.close();\n }\n catch(IOException e )\n {\n e.printStackTrace();\n }\n\n }\n }", "title": "" }, { "docid": "39124891ee3d4c0a338c5a62c07d8280", "score": "0.5173043", "text": "public String saveFile(ArrayList info) throws IOException {\n\n WriteAndRead write = new WriteAndRead();\n FileOutputStream fos = openFileOutput(\"pictures.data\", MODE_PRIVATE);\n\n write.createFile(fos, info);\n\n return null;\n }", "title": "" }, { "docid": "4d2aa317f662d2b7d282b95592d0ddae", "score": "0.51725954", "text": "String exportCSV();", "title": "" }, { "docid": "fb11d6c7bc754570ebae24653b7ef69c", "score": "0.5171513", "text": "protected void saveInFile() {\n try {\n FileOutputStream fos = openFileOutput(FILENAME,\n Context.MODE_PRIVATE);//goes stream based on filename\n BufferedWriter out = new BufferedWriter(new OutputStreamWriter(fos)); //create buffer writer\n Gson gson = new Gson();\n gson.toJson(subsList, out);//convert java object to json string & save in output\n out.flush();\n fos.close();\n } catch (FileNotFoundException e) {\n throw new RuntimeException();\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }", "title": "" }, { "docid": "d3d42fadd181e757fad9e347ec161f39", "score": "0.51643294", "text": "public static void write_integer (String filename, ArrayList<Integer> x) throws IOException{\n \t\t BufferedWriter outputWriter = null;\n \t\t outputWriter = new BufferedWriter(new FileWriter(filename));\n \t\tfor (int i = 0; i < x.size(); i++) {\n\t\t\t// Maybe:\n\t\t\t//outputWriter.write(x.get(i));\n\t\t\t// Or:\n\t\t\toutputWriter.write(Integer.toString(x.get(i)));\n\t\t\toutputWriter.newLine();\n \t\t}\n\t\toutputWriter.flush(); \n\t\toutputWriter.close(); \n\t}", "title": "" }, { "docid": "236320f2d1da2e47b4fdf5a963588c3b", "score": "0.51581544", "text": "void SaveToFile2(int choice, double det) {\n try {\n Scanner in = new Scanner(System.in);\n if (choice == 1) {\n System.out.print(\"Masukkan nama file beserta extension(.txt): \");\n FileWriter myWriter = new FileWriter(in.nextLine());\n myWriter.write(\"Determinan = \");\n myWriter.write(Double.toString(det));\n myWriter.write(\"\\n\");\n System.out.println(\"File telah berhasil dibuat!\\n\");\n myWriter.close();\n } else {\n System.out.println(\"\");\n }\n\n } catch (IOException e) {\n System.out.println(\"An error occurred.\");\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "40be1be7479ecb25c24b7e993cbdebbb", "score": "0.5156808", "text": "void saveTasksToFile(List<ITask> tasks) throws IOException;", "title": "" }, { "docid": "277278b95ac4191fd28a0c53c6a1369b", "score": "0.51549256", "text": "void saveCategoriesToFile(List<ICategory> categories) throws IOException;", "title": "" }, { "docid": "04fbcffb0de357c90f229918eba4e30c", "score": "0.51528686", "text": "public void saveData() throws IOException {\n // Collections.sort(footballClubList); // Sorting objects before saving to the text file\n FileOutputStream fileOutputStream = new FileOutputStream((\"savedData.txt\"));\n ObjectOutputStream objectOutputStream = new ObjectOutputStream(fileOutputStream);\n\n // Saving football club objects to text file\n for(SportsClub footballClub : footballClubList) {\n objectOutputStream.writeObject(footballClub);\n }\n // Saving match object to text file\n for(Match match : matchList) {\n objectOutputStream.writeObject(match);\n }\n }", "title": "" }, { "docid": "5140a2a9c19144f4a7c0a5e8bb54d24c", "score": "0.5150327", "text": "protected void saveInFile() {\n try {\n FileOutputStream fos = openFileOutput(FILENAME,\n Context.MODE_PRIVATE);\n\n BufferedWriter out = new BufferedWriter(new OutputStreamWriter(fos));\n\n Gson gson = new Gson();\n gson.toJson(counterList, out);\n out.flush();\n\n fos.close();\n } catch (FileNotFoundException e) { //Exception handler\n // TODO Auto-generated catch block\n throw new RuntimeException();\n } catch (IOException e) {\n // TODO Auto-generated catch block\n throw new RuntimeException();\n }\n }", "title": "" }, { "docid": "95e79a0b9b5cc74a65fd39fb293b0c08", "score": "0.5148311", "text": "public void convertToFile(View v) {\n\n LinearLayout checkList = (LinearLayout) findViewById(R.id.checkList);\n ArrayList<Integer> userAllergyData = new ArrayList<>();\n\n //Loop through checklist to add dietary rescrictions to an ArrayList\n for(int i = 0; i < checkList.getChildCount(); i++) {\n if (checkList.getChildAt(i) instanceof CheckBox) {\n if (((CheckBox) checkList.getChildAt(i)).isChecked()) {\n userAllergyData.add(1);\n } else {\n userAllergyData.add(0);\n\n }\n }\n }\n //Instance of AllergyViewConfiguration - used to store the user allergies in the class.\n AllergyViewConfiguration allergyViewConfiguration = new AllergyViewConfiguration(this);\n allergyViewConfiguration.setAllergies(userAllergyData);\n\n //Flags unsafe items on the menu.\n flagAllergenicItems(allergyViewConfiguration, restaurants);\n\n //Sends restaurant ArrayList to DisplayActivity\n Intent intent = new Intent(getApplicationContext(), DisplayActivity.class);\n intent.putParcelableArrayListExtra(\"restaurants\", restaurants);\n MainActivity.this.startActivity(intent);\n\n\n }", "title": "" }, { "docid": "7cfaa5de5b140b5656d68ad72ad5f435", "score": "0.51456064", "text": "public static boolean exportToTXTForModeling(String filePath, ArrayList<Double> labels, ArrayList<Double>... dataList) {\n File file = new File(filePath);\n boolean isSucess;\n FileOutputStream out = null;\n OutputStreamWriter osw = null;\n BufferedWriter bw = null;\n try {\n out = new FileOutputStream(file);\n osw = new OutputStreamWriter(out);\n bw = new BufferedWriter(osw);\n\n for (int j = 0; j < dataList[0].size(); j++) {\n for (int i = 0; i < dataList.length; i++) {\n if (i == dataList.length - 1) {\n bw.append(String.valueOf(dataList[i].get(j)));\n } else\n bw.append(String.valueOf(labels.get(j))).append(\" \").append(String.valueOf(dataList[i].get(j))).append(\" \");\n }\n bw.append(\"\\n\");\n\n }\n isSucess = true;\n } catch (Exception e) {\n isSucess = false;\n } finally {\n if (bw != null) {\n try {\n bw.close();\n bw = null;\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n if (osw != null) {\n try {\n osw.close();\n osw = null;\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n if (out != null) {\n try {\n out.close();\n out = null;\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n }\n return isSucess;\n }", "title": "" }, { "docid": "0bfc08f25af56433dc7f2c954b48f21d", "score": "0.51216036", "text": "public void getRawARFF( String pNombre ) \r\n\t{\r\n\t\tString datoscsv = this.ruta + \"/\" + pNombre + \".csv\"; \r\n\t\tString rawarff = this.ruta + \"/\" + pNombre + \"_RaW.arff\";\r\n\t\tString tmparf = this.ruta + \"/\" + pNombre + \"_RaW_SinComillas.arff\";\r\n\t\tString tmp = ruta + \"/ztmp.csv\";\r\n\t \t\r\n \ttry\r\n {\r\n \tSystem.out.println(\"Iniciando conversion del fichero \" + pNombre + \"...\");\r\n\t \t\r\n \tBufferedReader br = new BufferedReader(new FileReader( datoscsv ));\r\n \tBufferedWriter bw = new BufferedWriter(new FileWriter( tmp ));\r\n\t\t\t\t\r\n \tString linea;\r\n \twhile((linea = br.readLine()) != null)\r\n \t{\r\n \t\t// ELIMINAR CUALQUIER CARACTER NO ASCII DE LAS INSTANCIAS\r\n \t\tlinea = linea.replaceAll(\"[^\\\\p{ASCII}]\", \"\");\r\n\t \tlinea = linea.replaceAll(\"\\\\.\", \"\");\r\n \t\tlinea = linea.replaceAll(\"\\\\?\", \"\");\r\n \t\tlinea = linea.replaceAll(\"\\\\:\", \"\");\r\n \t\tlinea = linea.replaceAll(\"\\\\-\", \"\");\r\n \t\tlinea = linea.replaceAll(\"\\\\&\", \"\");\r\n \t\tlinea = linea.replaceAll(\"'\", \"\");\r\n \t\tlinea = linea.replaceAll(\"`\", \"\");\r\n\t \t\t\t\r\n \t\t// DIVIDIR EN TRES PARTES PARA SEPARAR LOS ATRIBUTOS\r\n \t\tString[] partes = linea.split(\",\", 3);\r\n\t \t\t\r\n \t\t// ESCRIBIR EL RESULTADO\r\n \t\tbw.write(partes[2]);\r\n \t\tbw.write(\" , \");\r\n \t\tbw.write(partes[1]);\r\n \t\t\r\n bw.newLine();\t\t\r\n \t}\r\n \tbr.close();\r\n \tbw.close();\r\n \tSystem.out.println(\" Fichero temporal limpio...\");\r\n\t \t\r\n \t// CARGAR EL CSV LIMPIO Y MARCAR COMO STRING LA PREGUNTA\r\n \tCSVLoader loader = new CSVLoader();\r\n loader.setSource( new File( tmp ) );\r\n loader.setStringAttributes(\"last\");\r\n \tInstances data = loader.getDataSet(); \t\r\n \tSystem.out.println(\" Fichero temporal cargado...\");\r\n\t \t\r\n \t// SETTEAR NOMBRE DE LA RELACION\r\n \tdata.setRelationName(\"preguntas_\" + pNombre);\r\n \tSystem.out.println(\" Nombre de la relacion establecida...\");\r\n\t \t\r\n \t// GUARDAR EL CONJUNTO DE DATOS EN UN ARFF \t\r\n \tBufferedWriter writer = new BufferedWriter(new FileWriter( rawarff ));\r\n \twriter.write(data.toString());\r\n \twriter.flush();\r\n \twriter.close();\r\n \tSystem.out.println(\"Conversion del fichero \" + pNombre + \" finalizada... \\n\");\r\n\t \t \r\n \t// QUITAR COMILLAS\r\n \tBufferedReader read = new BufferedReader(new FileReader( rawarff ));\r\n \tBufferedWriter write = new BufferedWriter(new FileWriter( tmparf ));\r\n\t\t\t\r\n \tString line;\r\n \tint encabezado = 0;\r\n \twhile( (line = read.readLine()) != null )\r\n \t{\r\n \t\tencabezado++;\r\n \t\tif(encabezado < 5) \r\n \t\t{\r\n \t\t\tline = line.replaceAll(\"'\", \"\");\r\n \t\tline = line.replaceAll(\"`\", \"\");\r\n \t\t}\r\n \t\twrite.write(line);\r\n \t\twrite.newLine();\r\n \t}\r\n \twrite.close();\r\n }\r\n catch(Exception e) { e.printStackTrace(); }\r\n\t}", "title": "" }, { "docid": "b2071b46e96f92040a2154cee9c46363", "score": "0.51195014", "text": "public void exportIntoFile() {\n\n try {\n String docs = new JFileChooser().getFileSystemView().getDefaultDirectory().toString(); // Path to the 'Documents' directory\n String path = docs + \"\\\\TilePainterMaps\"; // Final path\n // -------------------------------------------------------------- //\n /* CREATING THE DIRECTORY */\n File folder = new File(path);\n if (!folder.exists()) folder.mkdir();\n // -------------------------------------------------------------- //\n /* COUNTING THE TEXTIFLES */\n int queueNum = folder.listFiles().length;\n // -------------------------------------------------------------- //\n String fileName = (currentMapID != \"Untitled\") ? currentMapID : \"map_\"+nf(queueNum, 4)+\".txt\";\n BufferedWriter writer = new BufferedWriter(new FileWriter(path+\"\\\\\"+fileName, true)); // Writer\n // -------------------------------------------------------------- //\n /* DELETING THE CONTENT OF THE FILE */\n RandomAccessFile raf = new RandomAccessFile(path+\"\\\\\"+fileName, \"rw\");\n raf.setLength(0);\n raf.close();\n raf = null;\n // -------------------------------------------------------------- //\n String tileNums = \"\";\n // Looping through the arraylists\n for (int i = 0; i < 24; i++) { // -> Main Tiles\n for (int j = 0; j < 32; j++) {\n tileNums += tiles1.get(i*32+j).getImgCode();\n }\n writer.write(tileNums);\n writer.newLine();\n tileNums = \"\";\n }\n writer.write(\"-\"); // Tilelayer break\n writer.newLine(); // New Line\n for (int i = 0; i < 24; i++) { // -> Decorative Tiles\n for (int j = 0; j < 32; j++) {\n tileNums += tiles2.get(i*32+j).getImgCode();\n }\n writer.write(tileNums);\n writer.newLine();\n tileNums = \"\";\n }\n writer.close();\n currentMapID = fileName;\n\n } catch (IOException e) {\n println('e');\n }\n\n}", "title": "" }, { "docid": "c5125d0b51ca0d06f5e0778871352e2b", "score": "0.51149344", "text": "public static void main(String[] args) throws Exception {\n\t\t CSVReader reader = new CSVReader(new FileReader(\"C:\\\\Users\\\\User\\\\Desktop\\\\demo.csv\"));\r\n\t\t // this will load content into list\r\n\t\t List<String[]> li=reader.readAll();\r\n\t\t System.out.println(\"Total rows which we have is \"+li.size());\r\n\t\t \r\n\t\t // create Iterator reference\r\n\t\t Iterator<String[]>i1= li.iterator();\r\n\t\t \r\n\t\t // Iterate all values \r\n\t\t while(i1.hasNext()){\r\n\t\t \r\n\t\t String[] str=i1.next();\r\n\t\t \r\n\t\t System.out.print(\" Values are \");\r\n\t\t \r\n\t\t for(int i=0;i<str.length;i++)\r\n\t\t{\r\n\t\t \r\n\t\t System.out.print(\" \"+str[i]);\r\n\t\t \r\n\t\t}\r\n\t\t System.out.println(\" \");\r\n\t\t \r\n\t\t \r\n\t\t}\r\n\t\t \r\n\t\t}", "title": "" }, { "docid": "4a1d38ba3f01c4d24b80aaf6055151c1", "score": "0.5110768", "text": "private void saveInFile(){\n try {\n FileOutputStream fos = openFileOutput(FILENAME, 0);\n BufferedWriter write = new BufferedWriter(new OutputStreamWriter(fos));\n Gson gson = new Gson();\n gson.toJson(measurementDataList,write);\n write.flush();\n fos.close();\n }\n catch (FileNotFoundException e) {\n throw new RuntimeException(e);\n }\n catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "title": "" }, { "docid": "75f2b19b6948edff63d2e34cb3ebd763", "score": "0.51093644", "text": "public void escribirCarreras(List<Carrera> carreras){\n \n try(BufferedWriter bw = new BufferedWriter(new FileWriter(filename))){\n for(Carrera ca: carreras){\n String line = ca.getCodigo()+\", \"+ca.getNombre();\n bw.write(line);\n bw.newLine();\n }\n }catch(IOException e){\n System.out.println(e.getMessage());\n }\n }", "title": "" }, { "docid": "1ba72440655f79b22d0af9dedabc5d4d", "score": "0.5097388", "text": "private void SavetoFile(ArrayList<OverlayItem> PTStoSave) {\n PrintWriter printWriter = null;\n try {\n File file = new File(Environment.getExternalStorageDirectory().getAbsolutePath() + \"/\" + \"placestostay\");\n printWriter = new PrintWriter(new FileOutputStream(file, true));\n\n for (OverlayItem ItemtoSave : PTStoSave) {\n String saveText = ItemtoSave.getTitle() + \",\" + ItemtoSave.getSnippet() + \",\" + ItemtoSave.getPoint().getLatitude() + \",\" + ItemtoSave.getPoint().getLongitude();\n printWriter.println(saveText);\n }\n } catch (IOException e) {\n e.printStackTrace();\n } finally {\n if (printWriter != null)\n printWriter.close();\n }\n }", "title": "" }, { "docid": "d41bf3fb7d474abd4196fdd3e0ef6b86", "score": "0.5074367", "text": "public void writeCSV()throws FileNotFoundException{\n PrintStream out = new PrintStream(new FileOutputStream(\"output.txt\"));\n System.setOut(out); \n }", "title": "" }, { "docid": "ea59f24a7783a14b8a7206179d39213e", "score": "0.5070934", "text": "private void exportData()\n {\n final FileChooser fileChooser = AppFileChooser.prepareDefaultDialog(\"fc.export.title\", FILTER_CSV, FILTER_XML, FILTER_JSON);\n\n final File file = fileChooser.showSaveDialog(this.rootNode.getScene().getWindow());\n if( file == null )\n {\n LOG.warn(AppFileChooser.loggingFileSelected(null));\n return;\n }\n\n LOG.info(AppFileChooser.loggingFileSelected(file));\n\n FILE_DAO.writeData(file, this.plantListAll);\n }", "title": "" }, { "docid": "192300a4962797ca756e8fe4a55f46bd", "score": "0.5057325", "text": "public static void main(String[] args) {\n List<String> lines = Arrays.asList(\"ddddd\",\"kotek\",\"asd123asdagsdasdad\");\n String content = readData(\"C:\\\\Users\\\\WTG\\\\workspace\\\\filesAndRegex\\\\src\\\\data.txt\");\n System.out.println(content);\n\n try {\n saveToFile(lines, \"newFile.txt\");\n } catch (IOException e) {\n e.printStackTrace();\n }\n System.out.println(\" File has been created and all \");\n }", "title": "" }, { "docid": "45999a5833105c5a4b5daf67d51d0526", "score": "0.5057187", "text": "@Test\r\n public void testToCSV() {\r\n System.out.println(\"toCSV\");\r\n Clip instance = new Clip();\r\n String expResult = \"\";\r\n String result = instance.toCSV();\r\n assertEquals(expResult, result);\r\n // TODO review the generated test code and remove the default call to fail.\r\n fail(\"The test case is a prototype.\");\r\n }", "title": "" }, { "docid": "77aecee86c067b610560f8572225ca34", "score": "0.5055127", "text": "public static void main(String [] args){\n\t\tManager m = new Manager(\"WigleWifi_20171027162929.csv\");\n\t\tm.readFile(fileName);\n\t\tm.filter();\n\n\t\t//Past your path here.\t\t\n\t\tm.writeFile(\"/home/recon/Documents/Academy/Year II/OOP/Work0/fileWriteTest/WigleWifi_20171027162929_2.csv\");\n\n\n\n\n\n\t\t/*\n\t\t * first step - txt to csv\n\t\t */\n\t\t//Manager m = new Manager(\"Assign0//WigleWifi_20171027162929.csv\");\n\t\t//m.readFile(fileName);\n\t\t//\t\tm.filter();\n\t\t//\tm.writeFile(\"/Users/marki/Desktop/WigleWifi_20171027162929_2.csv\");\n\t\t/*\n\t\t * second step - csv to kml(filter)\n\t\t */\n\t\t//\t\tm = new Manager(\"/Users/marki/Desktop/gmon_wlan_export_2017_10_26.csv\");\n\t\t//\t\tm.filter();\n\t\t//\t\tm.writeFile(\"/Users/marki/Desktop/gmon_wlan_export_2017_10_26.kml\");\n\t\t//\t\t\t\tFile t = new File(\"/Users/gal/Desktop/TestMark/1.txt\");\n\t\t//\t\t\t\tt.writeFile(\"/Users/gal/Desktop/TestMark/1.csv\");\n\t}", "title": "" }, { "docid": "e6d34d480c93a1f031ec6fc0c001f9ae", "score": "0.5044469", "text": "@Override\r\n\tpublic void saveToFile() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8d4a83497578e08e76efba98cf9be3ec", "score": "0.5038231", "text": "public void save() throws IOException {\n\n // THIS METHOD IS HEAVILY DEPENDENT ON RETURNSTRINGLIST, LOAD, W.RETURNSTRING() AND OTHERS (?)\n\n List<String> lines = logbook.returnStringList();\n PrintWriter writer = new PrintWriter(\"savefile.text\", \"UTF-8\");\n for (String line: lines) {\n writer.println(line);\n }\n writer.close();\n\n }", "title": "" }, { "docid": "473303abb9aea7d3b095bb2d93ab4912", "score": "0.50338215", "text": "public void convertToStringFromDoubleList()\n {\n for(int i=0;i<resultList.size();++i)\n {\n writeFileString+=resultList.get(i)+\"\\n\";\n }\n }", "title": "" }, { "docid": "baa247d73e1d93281142ea68fad78ded", "score": "0.50299317", "text": "public void disp_data() throws IOException {\r\n File f = new File(\"Answer2.txt\");\r\n Boolean b = f.createNewFile();\r\n //System.out.println(b);\r\n FileWriter fw;\r\n BufferedWriter rw;\r\n fw = new FileWriter(\"Answer2.txt\");\r\n rw = new BufferedWriter(fw);\r\n int i;\r\n couple_arr.sort(new Cmp());\r\n rw.write(\"Best couples according to happiness:\");\r\n rw.newLine();\r\n for (i = 0; i < couple_arr.size(); i++) {\r\n rw.write(\"Couple id : \" + couple_arr.get(i).get_couple_id() + \" happiness : \" + couple_arr.get(i).get_happiness());\r\n rw.newLine();\r\n }\r\n couple_arr.sort(new Cmpp());\r\n rw.newLine();\r\n rw.write(\"Best couples according to compatability:\");\r\n rw.newLine();\r\n //System.out.println();\r\n for (i = 0; i < couple_arr.size(); i++) {\r\n rw.write(\"Couple id : \" + couple_arr.get(i).get_couple_id() + \" compatability : \" + couple_arr.get(i).get_compatibility());\r\n rw.newLine();\r\n }\r\n rw.close();\r\n fw.close();\r\n }", "title": "" }, { "docid": "51c265ae93e37785825db6bff7af1afb", "score": "0.50230783", "text": "@Test\n public void testFile() {\n NeuralNet testNN = new NeuralNet(NeuralNet.ActFnType.BIPOLAR, 2, 4, 0.2, 0.9, -1, 1);\n\n FileWriter file;\n file = testNN.createFile(\"test_out_file.txt\");\n testNN.writeHeader(file);\n testNN.writeDetail(file, 1, 1.2345);\n testNN.writeDetail(file, 2, -2.4567);\n testNN.closeFile(file);\n }", "title": "" }, { "docid": "dc896fc7775e344e9a629ce661fb25c0", "score": "0.50156623", "text": "public void writeFile() {\n\t\t \n\t\t try {\n\t\t\tFileWriter myWriter = new FileWriter(\"data.txt\");\n\t\t\tArrayList<String> data = new ArrayList<>();\n\t\t\tArrayList<Integer> data2 = new ArrayList<>();\n\t\t\t// New addition ----- Adding write for other attributes as well----------- \n\t\t\tArrayList<String> data3 = new ArrayList<>(); // data3 is for amka.\n\t\t\tArrayList<String> data4 = new ArrayList<>(); // data 4 is for date of birth.\n\t\t\tArrayList<String> data5 = new ArrayList<>(); // data 5 is for email.\n\t\t\tArrayList<String> data6 = new ArrayList<>(); // data 6 is for phone number.\n\t\t\tArrayList<String> data7 = new ArrayList<>(); // data 7 is for amkachain.\n\t\n\t\t\tdata = Patient.returnNames();\n\t\t\tdata2 = Patient.returnIds();\n\t\t\tdata3 = Patient.returnAmkas();\n\t\t\tdata4 = Patient.returnDobs();\n\t\t\tdata5 = Patient.returnEmails();\n\t\t\tdata6 = Patient.returnPhoneNumbers();\n\t\t\tdata7 = Patient.returnAmkachain();\n\t\t\tfor(int i = 0; i <= data.size() - 1; i++) {\n\t\t\t\tmyWriter.write(data.get(i) + \",\");\n\t\t\t\tmyWriter.write(data2.get(i) + \",\");\n\t\t\t\tmyWriter.write(data3.get(i) + \",\");\n\t\t\t\tmyWriter.write(data4.get(i) + \",\");\n\t\t\t\tmyWriter.write(data5.get(i) + \",\");\n\t\t\t\tmyWriter.write(data6.get(i) + \",\");\n\t\t\t\tmyWriter.write(data7.get(i) + \"\\n\");\n\t\n\t\t\t}\n\t\t\tmyWriter.close();\n\t\t\tdisplay.append(\"Successfully wrote to the file.\\n \\n\");\n\t\t } catch (IOException d) {\n\t\t\tdisplay.append(\"An error occurred.\\n\");\n\t\t\td.printStackTrace();\n\t\t }\n\t\t \n\t}", "title": "" }, { "docid": "ae71cc7f272035d0cb1d7831b76c03b5", "score": "0.5014325", "text": "public void testCSV(){\n try{\n InputStreamReader ir2 = new InputStreamReader(getAssets().open(\"test.csv\"));\n Reader in2 = ir2;\n CSVParser parser2 = new CSVParser( in2, CSVFormat.EXCEL );\n List<CSVRecord> list2 = parser2.getRecords();\n\n CSVRecord row=list2.get(1);\n ed0.setText(row.get(4));\n ed1.setText(row.get(34));\n ed2.setText(row.get(37));\n ed3.setText(row.get(38));\n ed4.setText(row.get(43));\n ed6.setText(row.get(44));\n ed5.setText(row.get(46));\n ed7.setText(row.get(62));\n ed8.setText(row.get(66));\n ed9.setText(row.get(67));\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n }", "title": "" }, { "docid": "db75cccdea10968fa0f4b8b1d565ba15", "score": "0.50111866", "text": "private void writeTxt(){\n try{\n File file = new File(Environment.getExternalStorageDirectory(),\n \"Inventory.txt\");\n BufferedWriter bw = new BufferedWriter(new FileWriter(file, false));\n Set<String> key = inventoryTxt.keySet();\n Iterator<String> keyIterate = key.iterator();\n while(keyIterate.hasNext()) {\n String name = keyIterate.next();\n Integer quantity = inventoryTxt.get(name);\n bw.write(name +\",\" +quantity +\",\");\n bw.write(\"\\n\");\n bw.flush();\n }\n }catch (FileNotFoundException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "b008e576ded962bf9c77061125a36d93", "score": "0.5010149", "text": "private void salvaCSV(String posizione)throws FileNotFoundException{\n\n try {\n File file = new File(posizione);\n FileWriter fileWriter = new FileWriter(file);\n String appoggio;\n for(int col = 0;col < tabellaOttenuta.getModel().getColumnCount();col ++){//header\n appoggio= tabellaOttenuta.getModel().getColumnName(col);\n appoggio = appoggio.replace(\"\\n\", \" \");\n fileWriter.write(appoggio);//column name stampa header\n if(col +1 == tabellaOttenuta.getModel().getColumnCount())fileWriter.write(\"\\n\");\n else fileWriter.write(\", \");\n }\n\n for (int rig = 0; rig < tabellaOttenuta.getModel().getRowCount();rig ++) {\n for (int col = 0;col < tabellaOttenuta.getModel().getColumnCount();col ++) {\n appoggio= tabellaOttenuta.getModel().getValueAt(rig, col) + \"\";\n appoggio = appoggio.replace(\"\\n\", \" \"); //correzione bug \\n\n fileWriter.write(appoggio);\n if (col + 1 == tabellaOttenuta.getModel().getColumnCount()) fileWriter.write(\"\\n\");\n else fileWriter.write(\", \");\n }\n }\n fileWriter.flush();\n fileWriter.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "19dd9915c504629c01a09cde928e8511", "score": "0.50092804", "text": "private static synchronized void writeInCSV(int[][] matrix, int path) {\n\t\ttry {\n\t\t\tFileWriter writer;\n\t\t\tif(path==1){\n\t\t\t\t writer = new FileWriter(\"out.csv\");\n\t\t\t}else{\n\t\t\t\t writer = new FileWriter(\"data.csv\");\n\t\t\t}\n\t\t\tfor (int i = 0; i < length; ++i) {\n\t\t\t\tfor (int j = 0; j < length; ++j) {\n\t\t\t\t\twriter.append(matrix[i][j] == 0 ? \"0\" : Integer\n\t\t\t\t\t\t\t.toString(matrix[i][j]));\n\t\t\t\t\tif (j < length - 1) {\n\t\t\t\t\t\twriter.append(',');\n\t\t\t\t\t} else {\n\t\t\t\t\t\twriter.append('\\n');\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\twriter.flush();\n\t\t\twriter.close();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "3d9576a4a87982b9404f2b3945b7308d", "score": "0.5003941", "text": "public void SAVE(){\n\r\n try {\r\n if(!saveParam1.exists()){\r\n \tsaveParam1.createNewFile(); //if the file !exist create a new one\r\n }\r\n\r\n BufferedWriter bw = new BufferedWriter(new FileWriter(saveParam1.getAbsolutePath()));\r\n for (int i=0;i<jtfCount;i++){\r\n \tbw.write(jtfs[i].getText());\r\n \tbw.newLine();\r\n }\r\n \r\n for(int i=0;i<jcbCount;i++){\r\n \tif(jcbs[i].isSelected()){\r\n \t\tbw.write(\"true\");\r\n \t}\r\n \telse{\r\n \t\tbw.write(\"false\");\r\n \t}\r\n \tbw.newLine();\r\n }\r\n bw.close(); //close the BufferdWriter\r\n\r\n } catch (IOException e) { \r\n \te.printStackTrace(); \r\n \tJOptionPane.showMessageDialog(null, e.toString(), \"error in updating the data\",\r\n JOptionPane.ERROR_MESSAGE);\r\n } \r\n\r\n }", "title": "" }, { "docid": "3d6afcc56b18f946a3157ad8cd4ca1f0", "score": "0.50034916", "text": "public static void main(String[] args) throws IOException {\n\n String[] dataArray = fileReader(\"C:/Users/Naziya/IdeaProjects/DataStructureProblems/files/NumberList\");\n for (String temp : dataArray) {\n list.add(temp);\n }\n for (int i = 0; i < list.size(); i++) {\n System.out.println(list.get(i));\n }\n }", "title": "" }, { "docid": "337190b68ffa4465a6ea4a81fa6cc68b", "score": "0.4999336", "text": "static void writeFile(String outputfile) {\r\n\r\n\t\tdouble[][] selected = new double[flow_data.keySet().size()][7];\r\n\t\tint index = 0;\r\n\t\tIterator<Integer> it = flow_data.keySet().iterator();\r\n\t\twhile (it.hasNext()) {\r\n\t\t\tint id = it.next();\r\n\t\t\tselected[index][0] = id;\r\n\t\t\tselected[index][1] = flow_data.get(id)[0];\r\n\t\t\tselected[index][2] = flow_data.get(id)[1];\r\n\t\t\tselected[index][3] = flow_data.get(id)[2];\r\n\t\t\tselected[index][4] = flow_data.get(id)[3];\r\n\t\t\tselected[index][5] = flow_data.get(id)[4];\r\n\t\t\tselected[index][6] = flow_data.get(id)[5];\r\n\t\t\tindex++;\r\n\t\t}\r\n\r\n\t\t// sort the flow data according to density value by descending order;\r\n\t\tjava.util.Arrays.sort(selected, new java.util.Comparator<double[]>() {\r\n\t\t\tpublic int compare(double[] a, double[] b) {\r\n\t\t\t\treturn Double.compare(b[5], a[5]);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tSystem.out.println(\"Save generalization result into file...\");\r\n\t\tCSVWriter writer;\r\n\t\ttry {\r\n\t\t\twriter = new CSVWriter(new FileWriter(outputfile));\r\n\r\n\t\t\t// the header of the output file\r\n\t\t\tString[] entries = new String[7];\r\n\t\t\tentries[0] = \"id\";\r\n\t\t\tentries[1] = \"x1\";\r\n\t\t\tentries[2] = \"y1\";\r\n\t\t\tentries[3] = \"x2\";\r\n\t\t\tentries[4] = \"y2\";\r\n\t\t\tentries[5] = \"density\";\r\n\t\t\tentries[6] = \"select_radius\";\r\n\t\t\twriter.writeNext(entries);\r\n\r\n\t\t\tfor (int i = 0; i < selected.length; i++) {\r\n\t\t\t\tString[] nextData = new String[7];\r\n\t\t\t\tnextData[0] = String.valueOf(selected[i][0]);\r\n\t\t\t\tnextData[1] = String.valueOf(selected[i][1]);\r\n\t\t\t\tnextData[2] = String.valueOf(selected[i][2]);\r\n\t\t\t\tnextData[3] = String.valueOf(selected[i][3]);\r\n\t\t\t\tnextData[4] = String.valueOf(selected[i][4]);\r\n\t\t\t\tnextData[5] = String.valueOf(selected[i][5]);\r\n\t\t\t\tnextData[6] = String.valueOf(selected[i][6]);\r\n\t\t\t\twriter.writeNext(nextData);\r\n\t\t\t}\r\n\t\t\twriter.close();\r\n\r\n\t\t} catch (IOException e) {\r\n\t\t\t// report IOException in the console\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "08e524f03e90fff442204b7b729562c3", "score": "0.49884567", "text": "public void leerArchivo() {\n\n try {\n\n FileReader archivo = new FileReader(\"fichero/observaciones.csv\");\n BufferedReader buffer = new BufferedReader(archivo);\n\n String linea;\n\n // Leemos la primera línea.\n linea = buffer.readLine();\n encabezado = linea.split(\",\");\n\n System.out.println(Arrays.toString(encabezado));\n\n // Seguimos leyendo las cotizaciones.\n boolean eof = false;\n int fila = 0;\n while (!eof) {\n\n linea = buffer.readLine();\n\n if (linea == null) {\n eof = true;\n } else {\n //elegimos el array a romper luego dentro del array\n //elegimos que sea linea a linea y lo igualamos a \n //linea y llamamos a split\n observaciones[fila] = linea.split(\",\");\n //para que vaya leyendo linea a linea\n fila++;\n }\n\n }\n\n // Comprobamos los valores del array cotizaciones.\n for (int i = 0; i < observaciones.length; i++) {\n\n System.out.println(Arrays.toString(observaciones[i]));\n\n }\n\n } catch (FileNotFoundException ex) {\n System.out.println(\"Archivo no encontrado.\");\n } catch (IOException ex) {\n System.out.println(\"Error de entrada/salida.\");\n }\n\n}", "title": "" }, { "docid": "7074165d9e72a837c64d5af26d012e5c", "score": "0.49883583", "text": "public static void main(String[] args) throws IOException {\n\t\tCSVReader reader = new CSVReader(new FileReader(\"SCMLog.csv\"), '\t');\r\n\t\tList<String[]> csvFile = reader.readAll();\r\n\t\t\r\n\t\t//Make a copy of log to be altered\r\n\t\tCSVReader reader2 = new CSVReader(new FileReader(\"SCMLogClone.csv\"), '\t');\r\n\t\tList<String[]> csvFileClone = reader2.readAll();\r\n\t\t\t\t\r\n\t\tcsvFileClone.remove(0); //Remove headers (no need to duplicate these)\r\n\t\t\r\n\t\tfor(int i=0;i<csvFileClone.size();i++){\r\n\t\t\tfor(int j=0;j<=19;j++){\r\n\t\t\t\tif(csvFileClone.get(i)[j].toString().equals(\"Nu\")){\r\n\t\t\t\t\t//Don't alter Null entries\r\n\t\t\t\t}\r\n\t\t\t\telse{\r\n\t\t\t\t\tcsvFileClone.get(i)[j] = csvFileClone.get(i)[j]+\"1\"; //Append a single character to each value (in this case 1, can be changed)\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treader.close();\r\n\t\treader2.close();\t\t\r\n\t\t\r\n\t\tCSVWriter writer = new CSVWriter(new FileWriter(\"Test.csv\"), '\t', CSVWriter.NO_QUOTE_CHARACTER); //Choose location to write to\r\n\t\t\r\n\t\tcsvFile.addAll(csvFileClone); //Append new cloned events onto existing events\r\n\t\t\r\n\t\twriter.writeAll(csvFile); //Write to file\r\n\t\twriter.flush();\r\n\t\twriter.close();\r\n\t\t}", "title": "" }, { "docid": "9348ea177282c2d98435756a2ee8cfc5", "score": "0.49807408", "text": "private void jButton9ActionPerformed(java.awt.event.ActionEvent evt) {\n //saves the grid by calling the method \"save\" in CSVGrid\n grid.save();\n }", "title": "" }, { "docid": "57921af7c2f70dd506fc5f72bbcfd15e", "score": "0.49783835", "text": "public void carregamentoPorTexto(){\n\r\n Database con = new Database();\r\n\r\n try {//Mudar o caminho absoluto seria ótimo\r\n FileReader arq = new FileReader(\"C:\\\\Users\\\\joaov\\\\IdeaProjects\\\\PDFSirAbrahamLincoln\\\\src\\\\database\\\\input.txt\");\r\n BufferedReader lerArq = new BufferedReader(arq);\r\n\r\n String linha = lerArq.readLine();\r\n\r\n while (linha != null) {\r\n String[] result = linha.split(\"/\");\r\n\r\n try {\r\n con.inserir(result[1].toUpperCase(), result[0].toUpperCase(), result[2].toUpperCase(), result[3].toUpperCase(), result[0].toLowerCase()+\".wav\");\r\n System.out.println(result[0]+\" foi adicionado\");\r\n } catch(Exception e){}\r\n\r\n linha = lerArq.readLine();\r\n }\r\n\r\n arq.close();\r\n } catch (IOException e) {\r\n System.err.printf(\"Erro na abertura do arquivo: %s.\\n\",\r\n e.getMessage());\r\n }\r\n }", "title": "" }, { "docid": "8e21d2fc6dcd30a5d7aa9e0dbdff516e", "score": "0.4975665", "text": "public void doPrintGenes(Chromo X, FileWriter output) throws java.io.IOException{\n//TODO\n for (int i=0; i<Parameters.numGenes; i++){\n Hwrite.right(X.chromo.get(i),11,output);\n }\n output.write(\" RawFitness\");\n output.write(\"\\n \");\n \n Hwrite.right((int) X.rawFitness,13,output);\n output.write(\"\\n\\n\");\n return;\n}", "title": "" }, { "docid": "7e9df5feaac7053168e2526a6fb95cdb", "score": "0.49727243", "text": "public void dictionaryExportToFile() {\n \tBufferedWriter file = null;\n try {\n \tfile = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(fileIN), \"UTF-8\"));\n \t for(int i = 0; i < word.size(); i++) {\n \t\t file.write(word.get(i).getWord_target() + \"\\t\" + word.get(i).getWord_explain());\n \t\t file.newLine();\n \t }\n \t file.close();\n }\n catch(IOException e) {\n \t e.printStackTrace();\n } \t\n }", "title": "" }, { "docid": "c848a266c397daaa0a303e96aecfe858", "score": "0.49692497", "text": "public void exportarData()\r\n {\r\n try{ \r\n File guardar = new File(\"Archivo.txt\"); // asignamos el mismo archivo destino para sobreescribir\r\n FileOutputStream fos = new FileOutputStream(guardar); \r\n PrintWriter pw = new PrintWriter(fos); \r\n pw.println(\"#Cuenta,Saldo en Dolares\"); //Colocamos el Header nuevamente;\r\n for(Map.Entry<Integer,Double> cuenta :cuentas.entrySet()) // asignamos los nuevos saldos a las cuentas modificadas\r\n { \r\n pw.println(cuenta.getKey()+\",\"+cuenta.getValue()); \r\n }\r\n pw.flush(); \r\n pw.close(); \r\n fos.close(); \r\n }catch(Exception e)\r\n {\r\n System.out.println(\"Hubo un error al momento de guardar el archivo\");\r\n }\r\n }", "title": "" }, { "docid": "b1f6444e3d2f37019e842aa4ee3fba70", "score": "0.49644658", "text": "public void writeCSV(){\r\n\t\t\r\n\t\ttry\r\n\t\t{\r\n\t\t\tcurrFilePath.createNewFile();\r\n\t\t\tCSVWriter csvWrite = new CSVWriter(new FileWriter(currFilePath));\r\n\t\t\t\r\n\t\t\t// Write Home/Opponent Scores\r\n\t\t\tString teamScoreHeader[] = {\"Team\", \"Score\"};\r\n\t\t\tString homeNameAndScore[] = {currHomeName, Integer.toString(homeScorePicker.getValue())};\r\n\t\t\tString opponentNameAndScore[] = {currOpponentName, Integer.toString(opponentScorePicker.getValue())};\r\n\t\t\tString blankLine[] = {};\r\n\t\t\t\r\n\t\t\tcsvWrite.writeNext(teamScoreHeader);\r\n\t\t\tcsvWrite.writeNext(homeNameAndScore);\r\n\t\t\tcsvWrite.writeNext(opponentNameAndScore);\r\n\t\t\tcsvWrite.writeNext(blankLine);\r\n\r\n\t\t\t// Write player statistics\r\n\t\t\tList<String[]> table = new ArrayList<String[]>();\r\n\t\t\ttable.add(new String[] {\"Player Name\", \"Goals\", \"Assists\", \"Blocks\", \"Turnovers\", \"Fantasy\"});\r\n\t\t\t\r\n\t\t\tfor (Player p : playerList) {\r\n\t\t\t\tString currLine[] = {\r\n\t\t\t\t\t\tp.getName(),\r\n\t\t\t\t\t\tInteger.toString(p.getGoals()),\r\n\t\t\t\t\t\tInteger.toString(p.getAssists()),\r\n\t\t\t\t\t\tInteger.toString(p.getBlocks()),\r\n\t\t\t\t\t\tInteger.toString(p.getTurns()),\r\n\t\t\t\t\t\tInteger.toString(p.getFantasy())\r\n\t\t\t\t};\r\n\t\t\t\ttable.add(currLine);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tcsvWrite.writeAll(table);\r\n\t\t\tcsvWrite.close();\r\n\t\t\t\r\n\t\t\tupdateCurrentSavedPathTextView();\r\n\t\t\t\r\n\t\t\tToast.makeText(this, \"Data Saved\", Toast.LENGTH_SHORT).show();\r\n\t\t}\r\n\t\tcatch (IOException e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t} \r\n\t}", "title": "" }, { "docid": "a27b26ebd166169e3a91c56fb63afb17", "score": "0.49626508", "text": "public void saveLine(String file_name){\n try{ //file_name determines what location to save at, and the filename itself.\n FileWriter writeFile1 = new FileWriter(file_name) ; \n BufferedWriter write = new BufferedWriter(writeFile1);\n PrintWriter writeFile = new PrintWriter(write);\n \n for(AbstractClass b : list){\n writeFile.println(b.toString());\n }\n writeFile.close();\n \n }catch(IOException e){System.out.println(\"Something Went Wrong.\");\n }\n }", "title": "" }, { "docid": "a912b01b5d301197769a437d18a3d46f", "score": "0.4960382", "text": "public void writeData(double[] a, String name) {\n\t try {\n\t\t\tString f_name = name + \".csv\";\n\t \tFileWriter data = new FileWriter(f_name);\n \t\tBufferedWriter writer = new BufferedWriter(data);\n \tfor(int index11 = 0; index11 < a.length; index11++) {\n \t\twriter.write(String.valueOf(a[index11]));\n \t\t//writer.write(\",\");\n \twriter.write(\"\\n\");\n \t}\n \twriter.close();\n\t\t}\n\n\t catch(IOException ex){\n\t ex.printStackTrace();\n\t }\n\t}", "title": "" }, { "docid": "13104319332ec7c2411b98eb519cd411", "score": "0.4957742", "text": "public static void main(String[] args) {\n PyramidCSVDao pyramidDao=new PyramidCSVDao();\r\n \r\n List<Pyramid> pyramids= pyramidDao.getpyramidsFromCsv(\"pyramids.csv\");\r\n int idx = 1;\r\n for(Pyramid prmd :pyramids ){\r\n System.out.println(\"#\"+(idx++)+prmd);}\r\n }", "title": "" }, { "docid": "b09b3c06d8a10081448bfdc324f453a0", "score": "0.4955679", "text": "int saveTestListToFile(String params);", "title": "" }, { "docid": "8d7ba0b9d8f2fd6cdc848bbcb5b8f179", "score": "0.49552345", "text": "public static void writeArrayList (String file, ArrayList<String> list){\r\n\t\t\r\n\t\ttry{\r\n\t\t\t\r\n\t\t\tPrintWriter out = new PrintWriter (file);\r\n\t\t\tfor (String ligne : list){\r\n\t\t\t\t\r\n\t\t\t\tout.println (ligne);\r\n\t\t\t}\r\n\r\n\t\t\tout.close();\r\n\t\t}\r\n\r\n\t\tcatch (FileNotFoundException e){\r\n\t\t\t\r\n\t\t\tSystem.out.println (e.getMessage());\r\n\t\t}\r\n\r\n\t\tcatch (IOException e){\r\n\t\t\t\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "7848b9a1088828db6a91ec95588579cd", "score": "0.49546623", "text": "@Test\n public void testSave() {\n NeuralNet testNN = new NeuralNet(NeuralNet.ActFnType.BINARY, 2, 4, 0.2, 0.9, -1, 1);\n\n double[][] weightsI2H = {{0.1, 0.2, -0.3}, {-0.4, 0.1, -0.1}, {0.45, -0.49, 0.22}, {0.35, -0.18, 0.3}};\n double[] weightsH2O = {0.42, -0.37, 0.21, 0.39, -0.45};\n\n FileWriter file;\n file = testNN.createFile(\"test_weight_file.txt\");\n\n testNN.loadWeights(weightsI2H, weightsH2O);\n testNN.save(file);\n testNN.closeFile(file);\n }", "title": "" }, { "docid": "d886d1fe4762d453922a90d7559678b6", "score": "0.49543664", "text": "public List<Result> readNumberingFile() {\n\t\tArrayList<String[]> arr = readStdFile();\n\t\tCSVReader cr = null;\n\t\tString filePath = \"\";\n\t\tFile file = null;\n\t\tString[] cu = arr.get(0);\n\t\tString[] gs = arr.get(1);\n\t\tList<Result> resultList = new ArrayList<Result>();\n\n\t\ttry {\n\t\t\tint cnt = 1;\n\t\t\twhile (true) {\n\t\t\t\t// 혹은 filePath를 String[]로 해서 저장하여 돌려도 됨\n\t\t\t\tfilePath = \"./\" + cnt + \".csv\";\n\t\t\t\tfile = new File(filePath);\n\t\t\t\t// file이 존재하지 않으면 멈춤\n\t\t\t\tif (!file.exists())\n\t\t\t\t\tbreak;\n\t\t\t\tcr = new CSVReader(new InputStreamReader(new FileInputStream(file), \"MS949\"));\n\t\t\t\tString[] line;\n\t\t\t\twhile ((line = cr.readNext()) != null) {\n\t\t\t\t\tResult result = new Result();\n\t\t\t\t\tfor (int i = 0; i < line.length; i++) {\n\t\t\t\t\t\t//System.out.println(line[i]);\n\t\t\t\t\t\tfor (String cuName : cu) {\n\t\t\t\t\t\t\tif ((line[i].replaceAll(\" \", \"\").toLowerCase()).contains(cuName.toLowerCase())) {\n\t\t\t\t\t\t\t\tresult.setCu(line[i]);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tfor (String gsName : gs) {\n\t\t\t\t\t\t\tif ((line[i].replaceAll(\" \", \"\").toLowerCase()).contains(gsName.toLowerCase())) {\n\t\t\t\t\t\t\t\tresult.setGs(line[i]);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tresultList.add(result);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(cnt + \".csv read complete!\");\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\tcr.close();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn resultList;\n\n\t}", "title": "" }, { "docid": "d1d1a854990bb5defc54b535458e21d2", "score": "0.4953481", "text": "public static void csvtoArff(String csv, String arff) throws IOException\n\t{\n\t\t// load CSV\n\t CSVLoader loader = new CSVLoader();\n\t loader.setSource(new File(csv));\n\t Instances data = loader.getDataSet();\n\n\t // save ARFF\n\t ArffSaver saver = new ArffSaver();\n\t saver.setInstances(data);\n\t saver.setFile(new File(arff));\n\t saver.writeBatch();\n\t}", "title": "" }, { "docid": "de68e959b22a3b88178d1e6e677db596", "score": "0.4949299", "text": "public void saveGame()\r\n\t{\r\n\r\n\t\tString puzzleStatusSave = puzzles[0];\r\n\t\r\n\t\tfor(int i = 1; i < puzzles.length; ++i)\r\n\t\t{\r\n\t\t\tpuzzleStatusSave += \"/\";\r\n\t\t\tpuzzleStatusSave += puzzles[i];\r\n\t\t}\r\n\t\t\r\n\t\tFileHandle handle = Gdx.files.local((\"SISAdventure_savefile.txt\"));\r\n\t\tpuzzleStatusSave += \" \";\r\n\t\t\r\n\t\thandle.writeString(puzzleStatusSave, false);\r\n\t\t\r\n\t\thandle.writeString(Integer.toString(scores), true);\r\n\t\t\r\n\t\tGdx.app.log(\"Main\", \"Game saved\");\r\n\t}", "title": "" } ]
4d77d03627a3d396145a4fcf8421f5ef
This method sets the hours worked
[ { "docid": "6d77e89e52ab2f5987851963d630af73", "score": "0.71252507", "text": "public void setHoursWorked(double hoursWorked) {\n double maxHoursInAWeek = 168.0;\n this.hoursWorked = (hoursWorked >= 0.0) && (hoursWorked <= maxHoursInAWeek) ? hoursWorked : 0.0;\n }", "title": "" } ]
[ { "docid": "3b765b9366385aa12169d3415c0ff187", "score": "0.775805", "text": "public void setWorkingHours(int workingHours){\n this.workingHours = workingHours;\n }", "title": "" }, { "docid": "4f6908ac5b00fefbd118f5476f4ff691", "score": "0.7633823", "text": "public void setHours(double newHours)\r\n\t{\r\n\t\thoursWorked = newHours;\r\n\t}", "title": "" }, { "docid": "adfcaf1620a74fad6b99c2edc6332121", "score": "0.71467733", "text": "public void setWorkingHours(String startTime, String endTime, ArrayList<String> days)\n {\n put(\"start_time\", startTime);\n put(\"end_time\", endTime);\n put(\"working_days\", days);\n }", "title": "" }, { "docid": "9d5868c0a50977c516b96b098d23a754", "score": "0.7082541", "text": "public void editHours(int startHour, int endHour){\n this.startHour = startHour;\n this.endHour = endHour;\n }", "title": "" }, { "docid": "42e7a68f7f523daa850deb422dfc7844", "score": "0.6933771", "text": "public void setHour(int hour) {ourTime.setHour(hour);}", "title": "" }, { "docid": "04c71dbba3abc8f55ebb93c2b670653b", "score": "0.6927865", "text": "public void setHours(double hours) {\n\t\tif (hours >= 0) {\n\n\t\t\tthis.hours = hours;\n\t\t} \n\t\telse {\n\n\t\t\tSystem.out.println(\"Illegal parameter\");\n\t\t\tSystem.exit(0); // Stop this program\n\t\t}\n\t}", "title": "" }, { "docid": "a2a4ba3dfdf6525d13d9e7a6c592f00d", "score": "0.6862478", "text": "public void setWorkingHours(String startTime, String endTime) throws InvalidTimeException {\r\n\t\t_workingHours.setTimes(startTime, endTime);\r\n\t}", "title": "" }, { "docid": "fb2f6fb4ba643c664d959540d646b582", "score": "0.68412876", "text": "public void incrementHours()\n {\n hr++;\n\n if (hr > 23)\n hr = 0;\n }", "title": "" }, { "docid": "deb1201e379cbf13b72fc9fd67c16bd6", "score": "0.68036085", "text": "public final void setHours(java.lang.Integer hours)\n\t{\n\t\tsetHours(getContext(), hours);\n\t}", "title": "" }, { "docid": "cda587663b190c482966dc33988f17be", "score": "0.6796441", "text": "public void setHours(int[] hours) {\n this.hours = ArrayOps.copyIntArray(hours);\n }", "title": "" }, { "docid": "bbfc516fa8f7813f26443e4c293a16d7", "score": "0.6778038", "text": "private void adjustAccumulatedHours() {\n cal = new GregorianCalendar();\n \n // reduce the hour by one\n startHour--;\n int hour = cal.get(Calendar.HOUR_OF_DAY);\n \n this.hours = (hour - startHour);\n }", "title": "" }, { "docid": "74ab0009f67056872bb1de92051a132f", "score": "0.6762903", "text": "public void setHours(String hours) {\n\t\tthis.hours = hours;\n\t}", "title": "" }, { "docid": "0645db5ef87358ab203d3580e8fcf53a", "score": "0.6756658", "text": "public Builder setHours(int value) {\n \n hours_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "7a28e520963a42cbb10f105f7e4dd4db", "score": "0.67550653", "text": "public Builder setHours(long value) {\n \n hours_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "6335a376868dc8aac6bcc806cad1fdde", "score": "0.6710085", "text": "public void setTotalHours(int hours){\n this.totalHours = hours;\n }", "title": "" }, { "docid": "eebb615af6a442327054b8195b7b67bf", "score": "0.6647407", "text": "public void setNumHoursWorked(java.math.BigDecimal value);", "title": "" }, { "docid": "b1c60e04316ff671d910d6c5b9fa6cf2", "score": "0.6548163", "text": "public void setHour(int h){\n\t\tthis.hour=h;\n\t}", "title": "" }, { "docid": "08aabed5acbcaf04d2a854cda32c0284", "score": "0.6518246", "text": "public final void setHours(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Integer hours)\n\t{\n\t\tgetMendixObject().setValue(context, MemberNames.Hours.toString(), hours);\n\t}", "title": "" }, { "docid": "d89d4f68feaa24c84441153e367a75bd", "score": "0.65027225", "text": "public void setHour(int num)\r\n\t{\r\n\t\tif(num >= DEFAULT_VAR && num < HOURS_IN_DAY)\r\n\t\t\tthis._hour = num;\r\n\t\t\r\n\t\t\t \r\n\t}", "title": "" }, { "docid": "870a45bbd162cc9486f35378f4f62b4f", "score": "0.6414988", "text": "public void setTime(int hours, int minutes) {\r\n // Sets the time to the designated\r\n\t\ttime.setTime(hours, minutes);\r\n\t}", "title": "" }, { "docid": "3b4af104760013bc607953d2a33caa5c", "score": "0.63892454", "text": "private void Hourlyemployee() {\n\n\t}", "title": "" }, { "docid": "46461dd317148df03516100c1d945096", "score": "0.6388874", "text": "public void setTime(int hours, int minutes, int seconds)//sets the time with user input.\n {\n m_hour = hours;\n m_minute = minutes;\n m_second = seconds;\n }", "title": "" }, { "docid": "ab78951bc43de59566ee6e75c957e844", "score": "0.63779855", "text": "public void setTime(int hours, int minutes, int seconds)\n {\n if (0 <= hours && hours < 24)\n hr = hours;\n else\n hr = 0;\n\n if (0 <= minutes && minutes < 60)\n min = minutes;\n else\n min = 0;\n\n if (0 <= seconds && seconds < 60)\n sec = seconds;\n else\n sec = 0;\n }", "title": "" }, { "docid": "c54576e194c0369355ac51e89c3c15b5", "score": "0.63611627", "text": "public void setHour( int h )\n {\n hour = ( ( h >= 0 && h < 24 ) ? h : 0 );\n }", "title": "" }, { "docid": "d76b39705ca8186f6ad004d6ca8c10c4", "score": "0.63416815", "text": "public void setNumberOfHours(Integer numberOfHours) {\n this.numberOfHours = numberOfHours;\n }", "title": "" }, { "docid": "45a599e0ef0e3668f6190af979ff15bd", "score": "0.63314027", "text": "private void changeAvHours(owner o) {\n System.out.println(\"----------------------------------------------------------------------------------\");\n if (!o.ifHave()) {\n System.out.println(\"You have not playground in the system.\");\n ownerMenu(o);\n }\n Scanner input = new Scanner(System.in);\n String avHours;\n System.out.print(\"Available hours: \");\n avHours = input.next();\n while (!checkNum(avHours)) {\n System.out.print(\"Please enter valid Available hours: \");\n avHours = input.next();\n }\n o.getPlayground().setAvHours(avHours);\n ownerMenu(o);\n }", "title": "" }, { "docid": "99291affa48c61a22e3f4553cdd57921", "score": "0.6270117", "text": "private void setTime() {\n if (fromZonedDateTime != null) {\n fromZonedDateTime = fromZonedDateTime.withZoneSameInstant(zoneId);\n fromTime = fromZonedDateTime.getHour()*3600+fromZonedDateTime.getMinute()*60+fromZonedDateTime.getSecond();\n date = fromZonedDateTime.toLocalDate();\n }\n if (toZonedDateTime != null) {\n toZonedDateTime = toZonedDateTime.withZoneSameInstant(zoneId);\n toTime = toZonedDateTime.getHour() * 3600 + toZonedDateTime.getMinute() * 60\n + toZonedDateTime.getSecond();\n date = toZonedDateTime.toLocalDate();\n }\n }", "title": "" }, { "docid": "5391de728158cf08edfc3a8edf674e71", "score": "0.6265331", "text": "public void setHour(int hour) {\r\n \r\n this.hour = hour;\r\n \r\n paintClock(); // Update the clock face with the new time information\r\n \r\n }", "title": "" }, { "docid": "e4dfc446d8063f370dae74bd4e7c7688", "score": "0.6259159", "text": "private void setCorrectDates() {\n hours1.setDate(DATE_1);\n hours2.setDate(DATE_1);\n }", "title": "" }, { "docid": "a9707ec10088e774b4256c7d056b15a5", "score": "0.62510014", "text": "public void setTimeAllocation(Employee em, String yearWeek, Double hours) throws Exception {\n\t\tPlannedWeek plannedWeek = em.createPlannedWeek(yearWeek);\n\n\t\tNonWorkActivity testActivity = plannedWeek.findNonWorkActivity(PlannedWeek.NON_WORK_ACTIVITIES[0]);\n\t\tplannedWeek.addHoursForActivity(testActivity, hours);\n\t}", "title": "" }, { "docid": "5648d57187f18d8a3d150bc13762958d", "score": "0.6250856", "text": "public void setVacationHours(int vacationHours) {\n\t\tfinal int oldHours = this.vacationHours;\n\t\tthis.vacationHours = vacationHours;\n\t\tpcs.firePropertyChange(VACTION_HOURS_PROPERTY_NAME,oldHours,vacationHours);\n\t}", "title": "" }, { "docid": "c4c2be1499ff6e1d3f09c647e5703c0e", "score": "0.62328184", "text": "public void setPeriodHours(int period, double[] hours)\r\n {\r\n LinkedHashMap<Date,Double> pp = payPeriods.get(period - 1);\r\n Date[] keys = pp.keySet().toArray(new Date[pp.size()]);\r\n int max = Math.min(payPeriods.get(period-1).size(), hours.length);\r\n \r\n for (int i = 0;i < max; i++)\r\n {\r\n payPeriods.get(period - 1).put(keys[i], hours[i]);\r\n }\r\n }", "title": "" }, { "docid": "51872415f59a8841a35e55847969d906", "score": "0.6204014", "text": "private void calculateHoursPerWeek()\n {\n long minutes = ChronoUnit.MINUTES.between(hourStartLocal, hourEndLocal);\n long hours = ChronoUnit.HOURS.between(hourStartLocal, hourEndLocal);\n long duration = ChronoUnit.MINUTES.between(hourStartLocal, hourEndLocal);\n \n\n \n setHoursPerWeek((int)Duration.ofMinutes(duration*dowList.size()).toHours());\n \n if(hoursPerWeek==10)\n {\n courseType = \"Intensivo\";\n }else if(hoursPerWeek==6){\n courseType = \"Semi-intensivo\";\n }else\n {\n courseType = \"Regular\"; \n }\n }", "title": "" }, { "docid": "89cf31ea1e1d8d7981b3164b8201a04d", "score": "0.6184274", "text": "private void modifyHour(){\n\t\tif(!is24hr){\n\t\t\tif(hr >= 12){\n\t\t\t\tpm = true;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tpm = false;\n\t\t\t}\n\t\t\t//0 -> 12 am\n\t\t\tif(hr == 0){\n\t\t\t\talarm[0] = 12;\n\t\t\t}\n\t\t\t//1-12 -> 1-11 am 12 pm\n\t\t\telse if(hr > 0 && hr <= 12){\n\t\t\t\talarm[0] = hr;\n\t\t\t}\n\t\t\t//13-23 - > 1-12\n\t\t\telse if(hr > 12 && hr <= 23){\n\t\t\t\talarm[0] = hr - 12;\n\t\t\t}\n\t\t}\n\t\t//24 hour clock doesn't change\n\t\telse{\n\t\t\talarm[0] = hr;\n\t\t}\n\t\talarmLabel[0].setText(Integer.toString(alarm[0]));\n\t}", "title": "" }, { "docid": "4bea3abd99c57a04e760b0ddbd7fb3f0", "score": "0.61842114", "text": "private void updateTimeTo(int hour, int minutes) {\n }", "title": "" }, { "docid": "e101cb23796637e15fe86042d3ec8a64", "score": "0.61829907", "text": "public void setHour(Time hour) {\r\n\t\tthis.hour = hour;\r\n\t}", "title": "" }, { "docid": "2460290f106ea53e20d1d56424c2e806", "score": "0.6182393", "text": "public void setTotalAmountOfHours() {\n int hours = this.lastHour.getHour() - this.firstHour.getHour();\n int minutes = this.lastHour.getMinute() - this.firstHour.getMinute();\n if (minutes < 0) {\n minutes += 60;\n hours--;\n }\n this.totalAmountOfHours = LocalTime.of(hours, minutes);\n }", "title": "" }, { "docid": "382fffe591dc64e3245ed45763fcae62", "score": "0.61567473", "text": "public double getHours()\r\n\t{\r\n\t\treturn hoursWorked;\r\n\t}", "title": "" }, { "docid": "2dca3fc764b84173591d7229294302e2", "score": "0.6149541", "text": "@RolesAllowed({EXEC_ROLE, PM_ROLE, OFFICE_MANAGER})\n @FacesMessage(onCompleteMessageKey = \"message.timesheetIsSaved\")\n public void manageHours(Collection<Hours> hours) throws ReflectiveOperationException {\n if (hours.isEmpty()) {\n return;\n }\n Map<Employee, List<Hours>> hoursByEmployees = groupHoursByEmployees(hours);\n Map<Employee, List<Hours>> persistedHoursByEmployees = groupHoursByEmployees(getPersistedHours(hours));\n for (Employee employee : hoursByEmployees.keySet()) {\n hoursRepository.lock(employee);\n saveOrUpdateHours(hoursByEmployees.get(employee), persistedHoursByEmployees.get(employee));\n }\n }", "title": "" }, { "docid": "e2557ab1bf19885c79d80ed8ff9b8474", "score": "0.6142008", "text": "public void setMapOfDayAndHours(DayOfWeek dayOfWeek, List Hours) {\n mapOfDayAndHours.put(dayOfWeek, Hours);\n }", "title": "" }, { "docid": "af1c8d2c900c97a5e6d402cbdd71758c", "score": "0.6138854", "text": "public void setTime()\n {\n hour = 23;\n minute = 45;\n }", "title": "" }, { "docid": "a0a19c6d7df241f15526ff92f6c39e5e", "score": "0.6132063", "text": "public void addWork()\r\n\t{\r\n\t\tif(hours>5)\r\n\t\t{\r\n\t\t\tsalary+=5;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "8107f410c87840ab3785db37dd26c9b2", "score": "0.61033964", "text": "@Override\n\tpublic void setHours(int arg0) {\n\t\tthrow new UnsupportedOperationException(\"ImmutableDate is immutable\");\n\t}", "title": "" }, { "docid": "a6636fb567a9dfc32a14238baea3b1de", "score": "0.61024356", "text": "@JsProperty void setHours(String value);", "title": "" }, { "docid": "8ff33d02e251d8d5491c8ce0548d28f2", "score": "0.6087686", "text": "@Override\n\tprotected void setRealProductionHours(FaktureringV object, BigDecimal overstyrtTidsforbruk) {\n\n\t}", "title": "" }, { "docid": "ce55f71996669f085fb8ff824764612a", "score": "0.60534185", "text": "Dias(int hours){\n this.hours = hours;\n }", "title": "" }, { "docid": "206cb296ef3efba7a22cc790ec671f0e", "score": "0.6037965", "text": "public void setHourlyWageAmount(){\n this.hourlyWageAmount = this.totalHours * MasterSalaryAmount.HOURLY_WAGE;\n }", "title": "" }, { "docid": "94854b4907c70bd68c591b46802dccb6", "score": "0.60184026", "text": "public void setTotalHours(double hours) {\n\t\tthis.totalHours = hours;\n\t}", "title": "" }, { "docid": "625a23ba83fcd3191dbff2fa15fb67a3", "score": "0.59964883", "text": "public Builder setHOUR(int value) {\n bitField0_ |= 0x00008000;\n hOUR_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "e98b78e33e195ea91b8ad794a7a7c4a2", "score": "0.59885585", "text": "public void setWorktime(Date worktime) {\n this.worktime = worktime;\n }", "title": "" }, { "docid": "f73cfe75b610cc17fbb64b45504a381f", "score": "0.5979915", "text": "public void setOpeningHours(int day, String from, String to) {\t\t\r\n\t\tif( (from == null || to == null) && day >= 1 && day <= 7) {\r\n\t\t\t// CLOSED :)\r\n\t\t\topeningInfo[day-1].setOpeningHourFrom(null);\r\n\t\t\topeningInfo[day-1].setOpeningHourTo(null);\r\n\t\t} else if(day >= 1 && day <= 7) {\r\n\t\t\ttry {\r\n\t\t\t\topeningInfo[day-1].setOpeningHourFrom(LocalTime.parse(from));\r\n\t\t\t} catch (DateTimeParseException e){\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\ttry {\r\n\t\t\t\topeningInfo[day-1].setOpeningHourTo(LocalTime.parse(to));\r\n\t\t\t} catch (DateTimeParseException e){\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "62eb6a8be875a5b69630841f0dde8db9", "score": "0.597755", "text": "private void setHoursByDay(int day, int hours) throws BadParameterException {\n if (day < 0 || day >= NUM_DAYS) {\n throw new BadParameterException(\"Bad day value passed to setHoursByDay: \" + day);\n }\n if (hours < 0 || hours > 24) {\n throw new BadParameterException(\"Bad hours value passed to setHoursByDay: \" + hours);\n }\n daysOfTheWeek[day] = hours;\n }", "title": "" }, { "docid": "66abe6158eed838aa83fde0d39ebc6e3", "score": "0.5972722", "text": "public Builder setHOUR(int value) {\n bitField0_ |= 0x00000080;\n hOUR_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "03fe0fb0134f24a7331d676ece04057f", "score": "0.5967052", "text": "void setStoreBeginHours(java.lang.String storeBeginHours);", "title": "" }, { "docid": "017a92ac0181d8f17ef89c0328a894b1", "score": "0.5951453", "text": "long getHours();", "title": "" }, { "docid": "02d6d17528b181e1da440622fd6a37e4", "score": "0.5950375", "text": "int getHours();", "title": "" }, { "docid": "b21891d333528a4ff0210302ae11cbf6", "score": "0.5925831", "text": "public void setHour(Integer hour) {\r\n this.hour = hour;\r\n }", "title": "" }, { "docid": "946a5620ada291f0a0c1fec9d69c7cab", "score": "0.5925196", "text": "public Hours saveOrUpdateHours(Hours hours) {\n Hours.HoursPK hoursId = hours.getId();\n if (hoursId == null) return null; // must have a valid id\n Worker worker = hoursId.getWorker();\n if (worker == null) return null; // worker object must exist (at least need id)\n Long workerId = worker.getId();\n if (workerId == null) return null; // must have an id value\n Optional<Worker> existingWorker = workerRepository.findById(workerId);\n if (!existingWorker.isPresent()) return null; // worker must already exist in the system\n LocalTime start = hours.getStart();\n LocalTime end = hours.getEnd();\n if (!(start == null || end == null)) {\n if (start.compareTo(end) >= 0) return null;\n }\n return hoursRepository.save(hours);\n }", "title": "" }, { "docid": "acc72a2b8b2cf0492a56bba913ad4948", "score": "0.59251237", "text": "public void calculate(double hours){\n double overtimePay = 0;\n double overtimeHours;\n double shiftPay = 0;\n if(shift == 2)\n shiftPay = .05;\n else if(shift == 3)\n shiftPay = .10;\n totalPay = payRate * hours;\n if(shiftPay > 0)\n totalPay = totalPay * shiftPay;\n if(salary == false && hours > 40){\n overtimeHours = hours - 40;\n overtimePay = (payRate * overtimeHours) * 1.5;\n }\n totalPay = totalPay + overtimePay;\n }", "title": "" }, { "docid": "e1ddba4bd4353d095c184e7b1a182497", "score": "0.5924528", "text": "public void changeHour(boolean up)\n {\n if (up == true)\n {\n if (get24Hour() == true)\n {\n if (m_hour < 23)\n {\n m_hour += 1;\n }\n else\n {\n m_hour = 0;\n }\n }\n else\n {\n if (m_hour < 12)\n {\n if (m_hour == 11)\n {\n m_hour += 1;\n isAM(!m_timeZone);\n }\n else\n {\n m_hour += 1;\n }\n }\n else\n {\n m_hour = 1;\n }\n }\n }\n else\n {\n if (get24Hour() == true)\n {\n if (m_hour > 0)\n {\n m_hour -= 1;\n }\n else\n {\n m_hour = 23;\n }\n }\n else\n {\n if (m_hour > 1 && m_hour != 12)\n {\n m_hour -= 1;\n }\n else if (m_hour == 12)\n {\n m_hour -= 1;\n isAM(!m_timeZone);\n }\n else\n {\n m_hour = 12;\n }\n }\n }\n\n return;\n }", "title": "" }, { "docid": "e5882bc01e18999afccf657860d84ffe", "score": "0.5919381", "text": "public void setNumOfProjectorHours(int hours) {\n\t\tthis.numOfProjectorHours = hours;\n\t}", "title": "" }, { "docid": "b20224ed9cc63be4c503b552cf27cff2", "score": "0.5913635", "text": "public void setTime(int h, int m)\r\n \t{\r\n \t\tif (h < 0 || m < 0)\r\n \t\t\tthrow new IllegalArgumentException(\"Time24.setTime: argument\"\r\n \t\t\t\t\t\t\t\t\t\t\t\t\t+ \" must not be negative\");\r\n \tthis.hour = h;\r\n \t\tthis.minute = m;\r\n \t\tnormalizeTime();\r\n \t}", "title": "" }, { "docid": "b8fa186acb7fc6f78c81573c7cb0766f", "score": "0.590151", "text": "@Override\n public void onTimeSet(TimePicker view, int hourOfDay, int minutes) {\n hour = hourOfDay;\n minute = minutes;\n updateTimeTO(hour, minute);\n }", "title": "" }, { "docid": "ae7a74ebc2b7231b286df8174cb7d187", "score": "0.589085", "text": "@Override\n public void setTime(int hour, int minute){\n super.setTime(hour, minute);\n checkAlarm();\n }", "title": "" }, { "docid": "d976502c5b31759b8248d07689cb7c7a", "score": "0.58873814", "text": "public Builder clearHours() {\n \n hours_ = 0;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "5c82216bb7bf8c75f129415d3a9d8026", "score": "0.5881617", "text": "public void setTime( int h, int m, int s )\n {\n setHour( h ); // set the hour\n setMinute( m ); // set the minute\n setSecond( s ); // set the second\n }", "title": "" }, { "docid": "9dbaef86e4da3bf5efdfcb815ad989db", "score": "0.5856127", "text": "public double getHoursWorked() {\n return hoursWorked;\n }", "title": "" }, { "docid": "ee8b60191872a49493d67e10e17bf640", "score": "0.5848201", "text": "public Builder clearHours() {\n \n hours_ = 0L;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "17b2874ac39480fd3e1747ae993a3230", "score": "0.58399504", "text": "void setTimes(Time startTime, Time stopTime);", "title": "" }, { "docid": "9ee72212be1f799837f1d801ee75a53d", "score": "0.5824421", "text": "public void setTrainingHoursAttended(double trainingHoursAttended) {\r\n\t\tif (trainingHoursAttended >= 0)\r\n\t\t\tthis.trainingHoursAttended = trainingHoursAttended;\r\n\t\telse\r\n\t\t\t/**\r\n\t\t\t * I took this piece of code from Mr.Nabeel Khalaf\r\n\t\t\t */\r\n\t\t\tthrow new IllegalArgumentException(\r\n\t\t\t\t\t\"The training hours attended value is negative , Please enter an allowed one\");\r\n\r\n\t}", "title": "" }, { "docid": "731141756af3581f545ed9870c30305a", "score": "0.58227926", "text": "public void setTimes(){\n for(double i = 0.0; i <= 24.0; i++){\n this.times.add(i);\n\n }\n }", "title": "" }, { "docid": "ea4b7b1328100d3c38eb61728d174ef6", "score": "0.58155596", "text": "public void setHoursOfOperation(java.lang.String hoursOfOperation) {\n this.hoursOfOperation = hoursOfOperation;\n }", "title": "" }, { "docid": "4a90da3534d1eda3fec48cecaf5d540c", "score": "0.58123344", "text": "@Override\n public void onTimeSet(TimePicker view, int hourOfDay, int minutes) {\n hour = hourOfDay;\n minute = minutes;\n updateTimeFrom(hour, minute);\n }", "title": "" }, { "docid": "e1d295a4e129a63d62490f845bd0559d", "score": "0.57977784", "text": "public int getHours();", "title": "" }, { "docid": "238053b601ac2a8fe4bec93fc923d614", "score": "0.5795844", "text": "private void setNewAppointmentTimes() {\n LocalTime current = LocalTime.now();\n startTimePicker.getSelectionModel().select(0);\n endTimePicker.getSelectionModel().select(1);\n for (LocalTime time: startTimeList){\n if(current.isBefore(time)){\n startTimePicker.getSelectionModel().select(time);\n endTimePicker.getSelectionModel().select(endTimeList.indexOf(time.plusMinutes(15)));\n break;\n }\n }\n }", "title": "" }, { "docid": "d9fb3451726f2b42af4228c3479e4d2a", "score": "0.5778867", "text": "public void setTime(int hours, int minutes, double seconds) {\n\t\tif(!getIsPoweredOn()){\n\t\t\tPrinter.printMessage(\"Power must be enabled to set time\");\n\t\t\treturn;\n\t\t}\n\t\tourTimer.setTime(hours, minutes, seconds);\n\t}", "title": "" }, { "docid": "472aceea146e6a9e5378e9517f94f4c4", "score": "0.57734215", "text": "private void saveOrUpdateHours(Collection<Hours> hours, Collection<Hours> persistedHours)\n throws InvocationTargetException, IllegalAccessException {\n for (Hours hour : hours) {\n Hours persistedHour = findHours(persistedHours, hour);\n if (hour.isApproved() || hour.getQuantity() != null || hour.getComment() != null) {\n if (persistedHour == null) {\n hour.resetId();\n hoursRepository.create(hour);\n } else {\n BeanUtils.copyProperties(persistedHour, hour);\n hoursRepository.update(persistedHour);\n }\n } else if (persistedHour != null) {\n hoursRepository.remove(persistedHour);\n }\n }\n }", "title": "" }, { "docid": "949560d467e3c1873239e3f25e63250c", "score": "0.5768001", "text": "@Override\n public void onTimeSet(TimePicker view, int hourOfDay, int minute) {\n settings.hour = hourOfDay;\n settings.minute = minute;\n\n viewModel.updateNotificationsSettings(settings, requireContext());\n }", "title": "" }, { "docid": "6c5a3ca22aa9acc3bdd5dbc49a6665b9", "score": "0.57673335", "text": "@PermitAll\n @AbacContext(REPORT_TIME)\n @FacesMessage(onCompleteMessageKey = \"message.timesheetIsSaved\")\n public void reportHours(Collection<Hours> hours) throws SaveApprovedHoursException, ReflectiveOperationException {\n if (hours.isEmpty()) {\n return;\n }\n Map<Employee, List<Hours>> hoursByEmployees = groupHoursByEmployees(hours);\n Map<Employee, List<Hours>> persistedHoursByEmployees = groupHoursByEmployees(getPersistedHours(hours));\n for (Employee employee : hoursByEmployees.keySet()) {\n // TODO: Remove check for approved, as it's checked inside ABAC rules\n if (existApprovedHours(hoursByEmployees.get(employee), persistedHoursByEmployees.get(employee))) {\n throw new SaveApprovedHoursException(ALREADY_APPROVED_HOURS_MESSAGE);\n }\n hoursRepository.lock(employee);\n saveOrUpdateHours(hoursByEmployees.get(employee), persistedHoursByEmployees.get(employee));\n }\n }", "title": "" }, { "docid": "c0c4eec2c420691702b089a9ca19c1bc", "score": "0.57651764", "text": "public int getHours() {\n \n return hours;\n }", "title": "" }, { "docid": "5a3ff7602fe453d2ef2857b701770e10", "score": "0.57600826", "text": "@java.lang.Override\n public long getHours() {\n return hours_;\n }", "title": "" }, { "docid": "2e3e85c3483a086e35699348b8299523", "score": "0.57483864", "text": "public void setActiveHourAt(int hour, boolean isActive) {\n if(hour < 24 && hour >= 0){\n activeHours.set(hour, isActive);\n }\n }", "title": "" }, { "docid": "32a6c621686cb0724736add4b5312371", "score": "0.5744815", "text": "public long getHours(){\n\treturn (System.currentTimeMillis() - timeOfCreation) / 3600000;\n }", "title": "" }, { "docid": "0615df7b3d43e2949893da62ba65db12", "score": "0.57440585", "text": "public int getHours() {\n return hours_;\n }", "title": "" }, { "docid": "046233d63b8d0465a75d963ad334c920", "score": "0.57346994", "text": "private void updateHourDisplay() {\n mHourPicker.setValue(mCurrentHour);\n onTimeChanged();\n }", "title": "" }, { "docid": "55af83b22a60d8ab46379a07e3cc950b", "score": "0.5733866", "text": "public void addHrs(Integer key, Pair<LocalTime,LocalTime> hours) {\n\n\t\tif(\tkey == 0 || \n\t\t\t\tkey == 1 || \n\t\t\t\tkey == 2 || \n\t\t\t\tkey == 3 || \n\t\t\t\tkey == 4) {\n\t\t\tSCH.put(key,hours);\n\t\t}\n\n\t}", "title": "" }, { "docid": "ea084c561be07a794ca60b5872581d2c", "score": "0.5725378", "text": "public void setRequiredTrainingHours(double requiredTrainingHours) {\r\n\t\tif (requiredTrainingHours >= 0)\r\n\t\t\tthis.requiredTrainingHours = requiredTrainingHours;\r\n\t\telse\r\n\t\t\t/**\r\n\t\t\t * I took this piece of code from Mr.Nabeel Khalaf\r\n\t\t\t */\r\n\t\t\tthrow new IllegalArgumentException(\r\n\t\t\t\t\t\"The required training hours value is negative , Please enter an allowed one\");\r\n\t}", "title": "" }, { "docid": "47871580632143c60d2d1f713c4bcab9", "score": "0.57210106", "text": "@java.lang.Override\n public long getHours() {\n return hours_;\n }", "title": "" }, { "docid": "3f8415631ef7bb983eae7b02842bcd48", "score": "0.5720631", "text": "public void setHour(int hour) {\n\t\t\tthis.hour = hour;\n\t\t}", "title": "" }, { "docid": "bcf3c82b8871fbe66a771284899973bd", "score": "0.5712337", "text": "public int getHours() {\n return hours_;\n }", "title": "" }, { "docid": "3182b776bf069e202d372f718fffef90", "score": "0.57063836", "text": "void unsetStoreEndHours();", "title": "" }, { "docid": "61b0344cd83c0f52cf37ece4c7ef586e", "score": "0.5705643", "text": "void unsetStoreBeginHours();", "title": "" }, { "docid": "c0221189fe334ff757c100ad6d52ac59", "score": "0.5688506", "text": "public int getHours(){\n\t\treturn this.hours;\n\t}", "title": "" }, { "docid": "6bd607829f6dc65ce21f916c3072f44c", "score": "0.56855536", "text": "private void setNumberOfTimesStayedOvernightInHospital(String numberOfTimesStayedOvernightInHospital) {\n\t\tInteger numberOfTimesStayedOvernightInHospitalIn12Months = Integer\n\t\t\t\t.parseInt(numberOfTimesStayedOvernightInHospital.trim());\n\n\t\tfor (int numberOfAlcoholicBeverageToSet = 0; numberOfAlcoholicBeverageToSet < numberOfTimesStayedOvernightInHospitalIn12Months; numberOfAlcoholicBeverageToSet++) {\n\t\t\tdriver.findElement(plusOneTimeStayedOvernightInHospitalIn12MonthsBtn).click();\n\t\t}\n\t}", "title": "" }, { "docid": "51b1ad0cb5b8bed71eb1d0a45727e52d", "score": "0.56609714", "text": "public void onTimeSet(TimePicker view, int hourOfDay, int minute)\n {\n task_time_hours.setText(\"\" + hourOfDay);\n task_time_minutes.setText(\"\" + minute);\n hoursoday = hourOfDay;\n minutesofday = minute;\n\n }", "title": "" }, { "docid": "f302e5dd6226fb2bb5e4e604cdc9ec0b", "score": "0.5654915", "text": "public int getHours()\n {\n return hr;\n }", "title": "" }, { "docid": "8b028acd53ea2230b6a178dbc14af573", "score": "0.565274", "text": "@Override\r\n\t\t\t\tpublic void onTimeSet(TimePicker view, int hourOfDay, int minute) {\n\t\t\t\t\tcurrentHours = hourOfDay;\r\n\t\t\t\t\tcurrentMinutes = minute;\r\n\t\t\t\t\tetHours.setText(\"\"+hourOfDay);\r\n\t\t\t\t\tetMinutes.setText(\"\"+minute);\r\n\t\t\t\t}", "title": "" }, { "docid": "210e841819bf8ebcf0cea415f62c2055", "score": "0.56419", "text": "public Hours() {\n initComponents();\n shows();\n }", "title": "" }, { "docid": "6784cffa6fb32d057db56bfbc3110d0a", "score": "0.56330955", "text": "private void setTime(Calendar calObj, int h, int m, int s, int ms) {\r\n\t\tcalObj.set(Calendar.HOUR_OF_DAY, h);\r\n\t\tcalObj.set(Calendar.MINUTE, m);\r\n\t\tcalObj.set(Calendar.SECOND, s);\r\n\t\tcalObj.set(Calendar.MILLISECOND, ms);\r\n\t}", "title": "" }, { "docid": "8504e93cbd36f530203d22e134dbebd6", "score": "0.5627307", "text": "public abstract void onDayTimeSet(int day, int hour, int minute);", "title": "" } ]
821e1e341800dc88bf9ff882eedeee1d
TODO: remember to add file names to array in newpasswordactivity
[ { "docid": "ea989acca1cbeddd5008fa41df8d03ce", "score": "0.0", "text": "private void addTests(byte[] key, Context c) {\n tests.add(0, new TripCheckTest(resultsFile, resultsFileLock, new Locker(\"TripTestFile\", key, c)));\n tests.add(1, new HoneypotTest(resultsFile, resultsFileLock, new Locker(\"HoneypotFile\", key, c)));\n }", "title": "" } ]
[ { "docid": "88b8367632c2e7f72981b88466a40d90", "score": "0.63950837", "text": "private static void createFiles(String mastPass) {\n try {\n\n File master__passwd_file = new File(\"master_passwd\");\n File passwd_file = new File(\"passwd_file\");\n\n if (master__passwd_file.createNewFile()) {\n writeMasterPass(mastPass);\n } else {\n System.out.println(\"Error: Master Password File already exists.\");\n }\n if (!passwd_file.createNewFile()) {\n System.out.println(\"Error: Password File already exists.\");\n }\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "0bd6fbdf7209170af82591ffa178b22d", "score": "0.59959525", "text": "public void actionPerformed(ActionEvent event){\n\n String fileName = new String(text.getText()+\".txt\");\n String fileName2 = new String(text.getText()+\"pass.txt\");\n\n File f1 = new File(fileName);\n Scanner s = null;\n try {\n s = new Scanner(f1);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n String name = s.next();\n s.close();\n\n File f2 = new File(fileName2);\n Scanner s1 = null;\n try {\n s1 = new Scanner(f1);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n String pass = s1.next();\n s1.close();\n\n\n if(f1.exists() || f2.exists()) {\n String password = new String(p1.getPassword());\n String namee = new String(text.getText());\n\n if (password.equals(pass) || namee.equals(name)) {\n JOptionPane.showMessageDialog(null,\"Login Successfull\");\n new afterlogin();\n log.dispose();\n\n\n }\n }\n else {\n JOptionPane.showMessageDialog(null,\"Fill all the fields\"); // creating instance of msg box\n }\n\n }", "title": "" }, { "docid": "3497dff1c274a0e95710227a9ca3fe7a", "score": "0.5875974", "text": "public static void addPassword() throws IOException {\n for (int i = 1; i <= USERS_IN_SYSTEM; i++) {\n String path = \"src/ATM_Accounts/user\" + i + \"/user\" + i + \"pass\";\n byte[] encoded = Files.readAllBytes(Paths.get(path));\n USER_PASSWORDS.add(new String(encoded));\n }\n }", "title": "" }, { "docid": "fe3d8020fa7f979af13a165d905ec997", "score": "0.5804056", "text": "public static String[] addTeacher(String name)throws IOException{\r\n File f = new File(path + \"/NoofTeachers.txt\");\r\n if(!f.exists())\r\n {\r\n f.createNewFile();\r\n FileWriter fw = new FileWriter(f);\r\n fw.write(\"0\\n\");\r\n fw.close();\r\n }\r\n BufferedReader br = new BufferedReader(new FileReader(f));\r\n int teacherCount = Integer.parseInt(br.readLine());\r\n br.close();\r\n teacherCount++;\r\n FileWriter fw = new FileWriter(f);\r\n fw.write(String.valueOf(teacherCount));\r\n fw.close();\r\n String id,password;\r\n id=\"TIIT\"+teacherCount;\r\n File f2=new File(path+\"/\"+id+\".txt\");\r\n if(!f2.exists()){\r\n f2.createNewFile();\r\n }\r\n password = \"\";\r\n \r\n for(int i=1;i<=6;i++)\r\n {\r\n int rand = (int)(Math.random()*26);\r\n password = password + (char)(97+rand);\r\n }\r\n \r\n FileWriter fw2 = new FileWriter(f2,true);\r\n fw2.write(name + \"\\n\" + id + \"\\n\" + password + \"\\n\");\r\n fw2.close();\r\n String s[] = new String[2];\r\n s[0] = id;\r\n s[1] = password;\r\n return s;\r\n \r\n }", "title": "" }, { "docid": "5bc3a470e651893dd067c7db4dc4df5b", "score": "0.5798341", "text": "private static void saveUserList()\n \t{\n \t\tString userFile = getRepositoryLocation() + File.separator + PUSERFILE;\n \t\tURL url = TextUtils.makeURLToFile(userFile);\n \t\ttry\n \t\t{\n \t\t\tPrintWriter printWriter = new PrintWriter(new BufferedWriter(new FileWriter(userFile)));\n \n \t\t\tfor(Iterator it = usersMap.keySet().iterator(); it.hasNext(); )\n \t\t\t{\n \t\t\t\tString userName = (String)it.next();\n \t\t\t\tString encryptedPassword = (String)usersMap.get(userName);\n \t\t\t\tprintWriter.println(userName + \":\" + encryptedPassword);\n \t\t\t}\n \n \t\t\tprintWriter.close();\n \t\t\tSystem.out.println(\"Wrote \" + userFile);\n \t\t} catch (IOException e)\n \t\t{\n \t\t\tSystem.out.println(\"Error writing \" + userFile);\n \t\t\treturn;\n \t\t}\n \t}", "title": "" }, { "docid": "f60e5cd08320ef846055d1641c1373b7", "score": "0.5764987", "text": "public static void create_txt_usr_reg() {\r\n\t String PATH=null;\r\n\t try {\r\n\t File f;\r\n\t JFileChooser fileChooser=new JFileChooser();\r\n\t fileChooser.setAcceptAllFileFilterUsed(false);\r\n\t fileChooser.addChoosableFileFilter(new FileNameExtensionFilter(\"Text (*.txt)\", \"txt\"));\r\n\t int selection=fileChooser.showSaveDialog(null);\r\n\t if (selection==JFileChooser.APPROVE_OPTION) {\r\n\t File JFC=fileChooser.getSelectedFile();\r\n\t PATH=JFC.getAbsolutePath();\r\n\t PATH=PATH+ \".txt\";\r\n\t f=new File(PATH);\r\n\t \r\n\t FileOutputStream fo=new FileOutputStream(f);\r\n\t\t\t\t\tObjectOutputStream o=new ObjectOutputStream(fo);\r\n\t\t\t\t\to.writeObject(Singleton.User_register_array);\r\n\t\t\t\t\to.close();\r\n\t JOptionPane.showMessageDialog(null, \"TXT file successfully saved\", \"File TXT\", JOptionPane.INFORMATION_MESSAGE);\r\n\t }\r\n\t } catch (Exception e) {\r\n\t \tJOptionPane.showMessageDialog(null, \"Error recording TXT\", \"Error\", JOptionPane.ERROR_MESSAGE);\r\n\t }\r\n\t }", "title": "" }, { "docid": "b94082f978a19149096ef92e7ffd0604", "score": "0.571353", "text": "protected boolean add(String fileName, Password[] passwords) {\n\t\t/*\n\t File dir = new File(fileName);\n String filePath = dir.getAbsolutePath();\n\t\t\ttry {\n\t\t\t\tFile file = new File(filePath.substring(0,dir.getAbsolutePath().lastIndexOf(fileName)) + \"src//itemImages//\" + fileName);\n\t\t\t\treturn image;\n\t\t\t} catch (IOException error) {\n\t\t\t\tSystem.out.println(\"no image display\");\n\t\t\t\treturn null;\n\t\t\t}\n\t\t */\n\t\tif(passwords == null) {\n\t\t\ttry {\n\t\t\t\tFile dir = new File(fileName);\n\t\t\t\tString filePath = dir.getAbsolutePath();\n\t\t\t\tFile file = new File(filePath.substring(0,dir.getAbsolutePath().lastIndexOf(fileName)) + \"src//\" + fileName);\n\t\t\t\tFileWriter fileWriter = new FileWriter(file);\n\t\t\t\tBufferedWriter writer = new BufferedWriter(fileWriter);\n\t\t\t\twriter.write(\"\");\n\t\t\t\twriter.close();\n\t\t\t\treturn true;\n\t\t\t}catch(IOException error) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t} else {\n\t\t\ttry {\n\t\t\t\tFile dir = new File(fileName);\n\t\t\t\tString filePath = dir.getAbsolutePath();\n\t\t\t\tFile file = new File(filePath.substring(0,dir.getAbsolutePath().lastIndexOf(fileName)) + \"src//\" + fileName);\n\t\t\t\tFileWriter fileWriter = new FileWriter(file);\n\t\t\t\tBufferedWriter writer = new BufferedWriter(fileWriter);\n\t\t\t\tfor(int i =0; i < passwords.length; i++) {\n\t\t\t\t\twriter.write(passwords[i].getPassword() + \", \" + passwords[i].getQuantity());\n\t\t\t\t\tif(i != passwords.length - 1) {\n\t\t\t\t\t\twriter.newLine();\t\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\twriter.close();\n\t\t\t\treturn true;\n\t\t\t}catch (IOException error) {\n\t\t\t\treturn false;\n\t\t\t}\t\n\t\t}\n\t}", "title": "" }, { "docid": "8bbea471cc6480d36a88575b9ba7af0a", "score": "0.5686508", "text": "public void magicJoin() {\n\t\tAlertDialog.Builder alert = new AlertDialog.Builder(\n\t\t\t\tmagicContext);\n\n\t\talert.setTitle(\"Password\");\n\t\talert.setMessage(\"Please Enter A Password For Files\");\n\n\t\t// Set an EditText view to get user input\n\t\tfinal EditText input = new EditText(magicContext);\n\t\talert.setView(input);\n\n\t\talert.setPositiveButton(\"Ok\",\n\t\t\t\tnew DialogInterface.OnClickListener() {\n\t\t\t\t\tpublic void onClick(DialogInterface dialog,\n\t\t\t\t\t\t\tint whichButton) {\n\t\t\t\t\t\tString tempName = input.getText().toString();\n\n\t\t\t\t\t\tif (tempName.length() > 0 && tempName.equals(input.getText().toString())) {\n\t\t\t\t\t\t\tpassword = tempName;\n\t\t\t\t\t\t\tmagicJoinStageTwo();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tToast.makeText(getBaseContext(),\n\t\t\t\t\t\t\t\t\t\"Invalid Password!\",\n\t\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t});\n\n\t\talert.setNegativeButton(\"Cancel\",\n\t\t\t\tnew DialogInterface.OnClickListener() {\n\t\t\t\t\tpublic void onClick(DialogInterface dialog,\n\t\t\t\t\t\t\tint whichButton) {\n\t\t\t\t\t\t// Canceled.\n\t\t\t\t\t\tmagicNamesVector.clear();\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t\talert.show();\n\t}", "title": "" }, { "docid": "399ff3a6e6222566ca4e8492fd8408ce", "score": "0.55437046", "text": "private void GeneratePassw() {\n\t\t\n\t\tCUserCreatePg.getClnGeneratePassword().click();\n\t\t\n\t\ttry {\t\t\t\t\t\n\t\t\tString passwordgenerated = CUserCreatePg.getClnPassword().getText();\n\t\t\tif(passwordgenerated != null)\n\t\t\tdataTable.putData(\"CreateUser_Data\", \"TempPassword\", passwordgenerated);\n\t\t\treport.updateTestLog(\"Generate Password\", \"Temporary password generated:\" + passwordgenerated, Status.PASS);\n\t\t\treturn;\n\t\t\n\t} catch (Exception e) { }\n\tthrow new FrameworkException(\"Unable to read temporary password generated\");\n}", "title": "" }, { "docid": "341b2d2edd6c6af2172f170c94511bfe", "score": "0.55374366", "text": "private String getPassWord() throws IOException{\r\n\t\tString pass = file.getPassWord();\r\n\t\treturn pass;\r\n\t}", "title": "" }, { "docid": "2ed8bb3d1a2b65f897150a27b6762e38", "score": "0.5528347", "text": "protected abstract ArrayList<String> genAttachFiles() throws Exception;", "title": "" }, { "docid": "bafc8632fc0236ffc13620c4bad3c4f3", "score": "0.550569", "text": "public static HashMap<String,String> newUserGenerator(){\n\t\t String file = \"src/test/resources/Users\";\n\t\t Path path = Paths.get(file);\n\t\t byte[] fileArray=null;\n\t\t try {\n\t\t\tfileArray = Files.readAllBytes(path);\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t String num = new String(fileArray);\n\t\t System.out.println(Arrays.toString(fileArray));\n\t\t num.trim();\n\t\t String nextNum = Integer.toString(Integer.parseInt(num)+1);\n\t\tfileArray = nextNum.getBytes();\n\t\t\n\t\t try {\n\t\t\tFiles.write(path, fileArray);\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"Could not write integer to file\");\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\t HashMap<String, String> user = new HashMap<String, String>();\n\t\t user.put(\"username\",\"test\"+num); \n\t\t user.put(\"password\",\"password\");\n\t\t user.put(\"email\", \"test\"+num+\"@test.com\");\n\t\t return user;\n\t}", "title": "" }, { "docid": "011ebd0ce626d124e8096f0ed6440734", "score": "0.5493718", "text": "public MasterPassword() throws IOException {\n\t\t//TODO: Setup salting\n\t\t//\t\trandom = new Random();\n\t\tscan = new Scanner(System.in);\n\t\tout = new File(\"./new.txt\");\n\t\tif (!out.exists()) {\n\t\t\tout.createNewFile();\n\t\t}\n\t\tcopyOfText = FileUtils.readFileToString(out, \"UTF-8\");\t\t\n\t\tmore = true;\n\t\tscan2 = new Scanner(copyOfText);\n\t\thasSetup = scan2.hasNext();\t\t\t\t\n\t}", "title": "" }, { "docid": "7b27930552cf6b47849178eb1ecaabe1", "score": "0.54916984", "text": "public void FileReader() {\r\n\t\ttry {\r\n File file=new File(\"AdminAcc.txt\");\r\n if(file.exists()){ \t\t\t\r\n FileReader read = new FileReader(file);\t\r\n BufferedReader bufferedReader = new BufferedReader(read);\r\n String s = null;\r\n int i = 0;\r\n while(((s = bufferedReader.readLine()) != null)){\r\n\t String attr[] = s.split(\" \");\r\n\t __user__[i] = attr[0];\r\n\t __pwd__[i] = attr[1];\r\n\t i++;\r\n \t}\r\n read.close();\r\n }\r\n\t\t else{\r\n\t\t \tSystem.out.println(\"Cannot find AdminFile!\");\r\n\t\t }\r\n }\r\n\t\tcatch (Exception e) {\r\n System.out.println(\"Read failed!\");\r\n e.printStackTrace();\r\n }\r\n\t}", "title": "" }, { "docid": "ac342a6b9fa7e017dce9590237c78b8a", "score": "0.54798186", "text": "public void actionPerformed(ActionEvent evt) {\t\t\t\tJFileChooser fileChooser = new JFileChooser(\n\t\t\t\t\t\t\t\t\t\tcurrentPath);\n\t\t\t\t\t\t\t\t\tfileChooser.setDialogTitle(new String(\n\t\t\t\t\t\t\t\t\t\t\"Select Secret File\"));\n\t\t\t\t\t\t\t\t\tint result = fileChooser\n\t\t\t\t\t\t\t\t\t\t.showOpenDialog(PasswordHidePanel.this);\n\n\t\t\t\t\t\t\t\t\tif (result == JFileChooser.APPROVE_OPTION) {\n\t\t\t\t\t\t\t\t\t\tFile f = fileChooser.getSelectedFile();\n\t\t\t\t\t\t\t\t\t\tcurrentPath = f.getPath();\n\t\t\t\t\t\t\t\t\t\tsecretField\n\t\t\t\t\t\t\t\t\t\t\t.setText(f.getAbsolutePath());\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}", "title": "" }, { "docid": "0a90b502f362a77300b6ed3b4027c01b", "score": "0.5471423", "text": "public static Set<String> getPasswordAuto(FilePackage fp) {\r\n Set<String> pwList = new HashSet<String>();\r\n if (fp == null) return pwList;\r\n synchronized (fp) {\r\n for (DownloadLink element : fp.getChildren()) {\r\n ArrayList<String> pws = null;\r\n if ((pws = element.getSourcePluginPasswordList()) != null) {\r\n\r\n for (String pw : pws) {\r\n if (pw == null) continue;\r\n pwList.add(pw);\r\n }\r\n }\r\n }\r\n }\r\n return pwList;\r\n }", "title": "" }, { "docid": "e8555bb820d74c4e227a686f3d03dcf2", "score": "0.5465913", "text": "private void recoverPassword() {\n\t\tToast.makeText(this, \"Recover Password\", Toast.LENGTH_LONG).show();\n\t\tIntent rvc = new Intent(this, RecoveryFile.class);\n\t\tstartActivity(rvc);\n\t}", "title": "" }, { "docid": "7acdefa7fd082b0b79b88063fa405e72", "score": "0.5450622", "text": "public ChangePassword(String userId) {\n initComponents();\n this.setLocationRelativeTo(null); \n Image img = new ImageIcon(System.getProperty(\"user.dir\")+\"/\"+\"ICON_LOGO.jpg\").getImage();\n this.setIconImage(img);\n this.setTitle(\"CHANGE PASSWORD\"); \n Integer xl=1;\n fios.intFileWriterReplace(fios.createFileName(\"loanAuthorisation\", \"displayWindow\", \"authorisationTable.txt\"),xl.toString()); \n this.userId=userId;\n }", "title": "" }, { "docid": "549cd88af3993ee20463cb6ff5d71273", "score": "0.5446117", "text": "public void SavedLoc() throws IOException{\r\n \r\n java.io.File saveloc = new java.io.File(\"User_Data.txt\");// create new txt file \r\n\r\n if(!saveloc.exists()) {\r\n saveloc.createNewFile();//create new txt file if txt don't exist\r\n }\r\n FileWriter fw = new FileWriter(saveloc.getAbsoluteFile(),true); // save username & password into txt file\r\n BufferedWriter br = new BufferedWriter(fw);\r\n\r\n br.write(username + \"-\" + password +\"\\n\");\r\n \r\n if (br != null){\r\n br.close();//close file\r\n }\r\n if (fw != null){\r\n fw.close();//close file\r\n }\r\n \r\n }", "title": "" }, { "docid": "cfaef0d52df7fedbf0ca9ee0f2af05d0", "score": "0.54450184", "text": "private static String createFileName(Context context){\n\n //Log.d(\"FileHelper Class\",\"createFileName()\");\n\n String fileName;\n\n //Get the list of all filenames stored in the app directory\n\n File fileDirectory = context.getFilesDir();\n ArrayList<String> fileNames = new ArrayList<>();\n\n //Log.d(\"FileHelper Class\",\"createFileName()-Getting all the filenames currently stored in the app directory\");\n\n //Get all files ending with .bin in arrayList\n for (String name : fileDirectory.list()){\n if (name.startsWith(\"Note\") && name.endsWith(FILE_EXTENSTION)){\n fileNames.add(name);\n }\n }\n\n //Log.d(\"FileHelper Class\",\"createFileName()-Generate a random file name\");\n //Create a random filename\n //Check if it already exists in filename arrayList created above\n do\n {\n fileName = \"Note_\"+MyRandomStringGenerator.generateRandomString()+FILE_EXTENSTION;\n }\n while (fileNames.contains(fileName));\n\n\n //Log.d(\"FileHelper Class\",\"createFileName()-Unique filename generated: \"+fileName);\n return fileName;\n\n }", "title": "" }, { "docid": "414d35da5939088850e4b54f26e8c2ad", "score": "0.54245996", "text": "public PassKeys(String file){\n\t\t//Opens and reads file, while habndling exceptions\n\t\tFile fin = new File(file);\n\t\ttry{\n\t\t\tthis.key=readFile(fin);\n\t\t}catch(FileNotFoundException fnfe){\n\t\t\tSystem.out.println(\"Password/Key File Not found\");\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}", "title": "" }, { "docid": "5f0ec1ab11f76549a3e940258ad504f1", "score": "0.53861976", "text": "public void run() throws IOException {\n\t\t// Checks to see if password has been setup\n\t\twhile (!hasSetup) {\n\t\t\tSystem.out.println(\"Please set up a password: \");\n\t\t\tString input = scan.next();\n\t\t\tSystem.out.println(\"Please enter the password again\");\n\t\t\tString input2 = scan.next();\n\t\t\tString hashed = Encryptor.sha256(input);\n\t\t\tif (input.equals(input2)) {\n\t\t\t\tFileUtils.writeStringToFile(out, (hashed + \"\\n\"), \"UTF-8\", false);\n\t\t\t\thasSetup = true;\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"Passwords do not match! Please try again.\");\n\t\t\t}\t\t\t\n\t\t}\n\n\t\t// Checks password\n\t\tcopyOfText = FileUtils.readFileToString(out, \"UTF-8\");\t\n\t\tscan2 = new Scanner(copyOfText);\n\t\tultpassword = scan2.nextLine();\n\t\tSystem.out.println(\"Enter your password: \");\n\t\tthis.trypassword = Encryptor.sha256(scan.next());\n\t\twhile (!trypassword.equals(ultpassword)) {\n\t\t\tSystem.out.println(\"Incorrect Password! Try again: \");\n\t\t\tthis.trypassword = Encryptor.sha256(scan.next());\n\t\t}\n\n\t\t// Uses MD5 as key for AES \n\t\tString key = Encryptor.MD5(ultpassword);\n\t\tString temp = \"\";\n\t\tscan2 = new Scanner(copyOfText);\n\t\tcount = 0;\n\t\twhile (scan2.hasNextLine()) {\n\t\t\tString wow = scan2.nextLine();\n\t\t\tif (count > 0) {\n\t\t\t\ttemp += wow;\t\t\t\t\n\t\t\t}\n\t\t\tcount++;\n\t\t}\n\t\tcopyOfText = temp;\n\n\t\t// Decrypt the text file!\n\t\tcopyOfText = Encryptor.decrypt(key, \"0000000000000000\", copyOfText);\n\t\t\n\t\t// TODO: Implement salt\n\t\t//\t\tbyte[] randombytes = new byte[8];\n\t\t//\t\trandom.nextBytes(randombytes);\t\t\n\t\t//\t\tString initVector = new String(randombytes);\n\n\t\twhile (more) {\n\t\t\tmore = false;\t\t\t\n\n\t\t\t//TODO: Implement encryption password with hash\n\t\t\tSystem.out.println(\"1. View your accounts \\n2. Store new accounts \\n3. Wipe data\"\n\t\t\t\t\t+ \" \\n---------------------\");\n\t\t\tint option = scan.nextInt();\n\t\t\tif (option == 1) {\n\t\t\t\tcount = 0;\n\t\t\t\tscan2 = new Scanner(copyOfText);\n\t\t\t\t//Recall all the accounts that are stored\n\t\t\t\twhile (scan2.hasNextLine()) {\t\t\t\t\t\n\t\t\t\t\tString value = scan2.nextLine();\t\t\t\t\t\n\t\t\t\t\tSystem.out.println(value);\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"Do you want to do more: \");\n\t\t\t\tString answer = scan.next();\n\t\t\t\tif (answer.toLowerCase().equals(\"y\") \n\t\t\t\t\t\t|| answer.toLowerCase().equals(\"ye\")\n\t\t\t\t\t\t|| answer.toLowerCase().equals(\"yes\")) {\n\t\t\t\t\tmore = true;\n\t\t\t\t}\n\t\t\t} else if (option == 2) {\t\t\t\t\n\t\t\t\tSystem.out.println(\"Type your name of the website: \");\n\t\t\t\tinput = \"Website: \" + scan.next() + \"\\n\";\n\t\t\t\tcopyOfText += input;\n\n\t\t\t\tSystem.out.println(\"Type your ID: \");\n\t\t\t\tinput = \"UserID: \" + scan.next() + \"\\n\";\n\t\t\t\tcopyOfText += input;\n\n\t\t\t\tSystem.out.println(\"Type your password: \");\n\t\t\t\tinput = \"Password: \" + scan.next() + \"\\n\\n\";\n\t\t\t\tcopyOfText += input;\n\n\t\t\t\tSystem.out.println(\"Do you want to do more: \");\n\t\t\t\tString answer = scan.next();\n\t\t\t\tif (answer.toLowerCase().equals(\"y\") \n\t\t\t\t\t\t|| answer.toLowerCase().equals(\"ye\")\n\t\t\t\t\t\t|| answer.toLowerCase().equals(\"yes\")) {\n\t\t\t\t\tmore = true;\n\t\t\t\t}\n\t\t\t} else if (option == 3) {\n\t\t\t\tout.delete();\n\t\t\t\tFileUtils.writeStringToFile(out, \"\", \"UTF-8\", true);\n\t\t\t\tSystem.exit(0);\n\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"Invalid number, try again\");\n\t\t\t\tmore = true;\n\t\t\t}\n\n\t\t}\n\t\t\n\t\t// Takes in everything but the password\n\t\tString finalCopyOfText = \"\";\n\t\tscan2 = new Scanner(copyOfText);\t\n\t\tcount = 0;\n\t\twhile (scan2.hasNextLine()) {\n\t\t\tString wow = scan2.nextLine();\n\t\t\tfinalCopyOfText += wow + \"\\n\";\t\n\t\t\tcount++;\n\t\t}\n\t\t\n\t\t// Takes the contents and encrypts it!\n\t\tfinalCopyOfText = Encryptor.encrypt(key, \"0000000000000000\", finalCopyOfText);\n\n\t\t// Writes to file\n\t\tFileUtils.writeStringToFile(out, (ultpassword + \"\\n\"), \"UTF-8\", false);\n\t\tFileUtils.writeStringToFile(out, finalCopyOfText, \"UTF-8\", true);\n\t}", "title": "" }, { "docid": "ca07862b4d7c561f61a8e3faf15403b1", "score": "0.5383663", "text": "public void addUser(String fileName){\n\n\t\tint flag = 0;\n\t\tScanner inputFoo = new Scanner(System.in);\n\t\tList<String> backupList = new ArrayList<String>();\n\t\tFileWriter fileRef = null;\n\t\tString stuId, stuPass, stuName;\n\t\tfinal String COMMA = \",\";\n\t\tfinal String NEWLINE = \"\\n\";\n\n\t\tSystem.out.print(\"\\n\");\n\n\t\tif(isFileValid(fileName) == true && isFileEmpty(fileName) == false){\n\t\t\tflag = 1;\n\t\t\tbackup(fileName,backupList);\n\t\t}\n\n\t\ttry{\n\t\t\tfileRef = new FileWriter(fileName,false);\n\t\t\tif(flag == 1){\n\t\t\t\tfor(String str : backupList){\n\t\t\t\t\tfileRef.append(str);\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"ADD A USER\");\n\t\t\tSystem.out.println(\"\\n\");\n\t\t\tSystem.out.print(\"Enter user id: \");\n\t\t\tstuId = inputFoo.nextLine();\n\t\t\tSystem.out.print(\"Enter user password: \");\n\t\t\tstuPass = inputFoo.nextLine();\n\t\t\tSystem.out.print(\"Enter user name: \");\n\t\t\tstuName = inputFoo.nextLine();\n\n\t\t\tfileRef.append(stuId);\n\t\t\tfileRef.append(COMMA);\n\t\t\tfileRef.append(stuPass);\n\t\t\tfileRef.append(COMMA);\n\t\t\tfileRef.append(stuName);\n\t\t\t\n\t\t}\n\n\t\tcatch(Exception e){\n\t\t\tSystem.out.print(\"\\n\");\n\t\t\tSystem.out.println(\"The file could not been opened.\");\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t\tfinally{\n\t\t\ttry{\n\t\t\t\tfileRef.flush();\n\t\t\t\tfileRef.close();\n\t\t\t}\n\t\t\tcatch(Exception e){\n\t\t\tSystem.out.print(\"\\n\");\n\t\t\tSystem.out.println(\"The file could not been closed.\");\n\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t}\n\n\t}", "title": "" }, { "docid": "f7378b2f50fbb02611d42f6f0aef6ad7", "score": "0.53789675", "text": "public void backup() {\n\t\ttry {\n\t\t\tObjectOutputStream oos = new ObjectOutputStream(\n\t\t\t\t\tnew FileOutputStream(file));\n\t\t\toos.writeObject(passwords);\n\t\t\toos.close();\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\t\t\n\t}", "title": "" }, { "docid": "1c862cce85793536feeca29b2761a720", "score": "0.53780043", "text": "public static void open_txt_usr_reg() {\r\n\t \tString PATH=null;\r\n\t try {\r\n\t File f;\r\n\t JFileChooser fileChooser=new JFileChooser();\r\n\t fileChooser.setAcceptAllFileFilterUsed(false);\r\n\t fileChooser.addChoosableFileFilter(new FileNameExtensionFilter(\"Text (*.txt)\", \"txt\"));\r\n\t int seleccion=fileChooser.showOpenDialog(null);\r\n\t if (seleccion==JFileChooser.APPROVE_OPTION) {\r\n\t File JFC=fileChooser.getSelectedFile();\r\n\t PATH=JFC.getAbsolutePath();\r\n\t f=new File(PATH);\r\n\t \r\n\t FileInputStream fi=new FileInputStream(f);\r\n\t \t\t\tObjectInputStream oi=new ObjectInputStream(fi);\r\n\t \t\t\tSingleton.User_register_array=(ArrayList<Class_user_register>)oi.readObject();\r\n\t \t\t\toi.close();\r\n\t }\r\n\t } catch (Exception e) {\r\n\t \tJOptionPane.showMessageDialog(null, \"Error reading TXT\", \"Error\", JOptionPane.ERROR_MESSAGE);\r\n\t }\r\n\t }", "title": "" }, { "docid": "2f43967a3a017ba8eae73336df2c9159", "score": "0.5361849", "text": "protected void recoverAccounts() {\n JFileChooser chooser = new JFileChooser();\n chooser.setFileSelectionMode(JFileChooser.FILES_ONLY);\n chooser.setFileFilter(new FileNameExtensionFilter(GuiMessages.get(\"WalletBinaryFormat\"), \"data\"));\n int ret = chooser.showOpenDialog(this);\n if (ret == JFileChooser.APPROVE_OPTION) {\n selectRecover(chooser.getSelectedFile());\n } else {\n btnCreate.setSelected(true);\n }\n }", "title": "" }, { "docid": "c3b075526a689d653f80109b5e7d47be", "score": "0.5342324", "text": "public static void auto_create_usr_reg() {\r\n String PATH = null;\r\n try {\r\n File f;\r\n PATH = new java.io.File(\".\").getCanonicalPath()+\"/src/Framework/Modules/Users/Model/Files/user_register_files/txt/prova.txt\";\r\n\r\n f = new File(PATH);\r\n \r\n FileOutputStream fo=new FileOutputStream(f);\r\n\t\t\t\tObjectOutputStream o=new ObjectOutputStream(fo);\r\n\t\t\t\to.writeObject(Singleton.User_register_array);\r\n\t\t\t\to.close();\r\n \r\n } catch (Exception e) {\r\n }\r\n }", "title": "" }, { "docid": "d72f4b3059152b23feca15f04adb2c48", "score": "0.5312075", "text": "private void getFiles() {\n PackageManager pm = getPackageManager();\n List<ApplicationInfo> apps = pm.getInstalledApplications(0);\n\n\n // Limiting to user-installed apps\n\n ArrayList<ApplicationInfo> installedApps = new ArrayList<ApplicationInfo>();\n\n for (ApplicationInfo app : apps) {\n //checks for flags; if flagged, check if updated system app\n if ((app.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) == 1) {\n installedApps.add(app);\n //it's a system app, not interested\n } else if ((app.flags & ApplicationInfo.FLAG_SYSTEM) == 1) {\n //Discard this one\n //in this case, it should be a user-installed app\n } else {\n installedApps.add(app);\n }\n }\n\n String currappname = \"\";\n\n for(int i = 0; i < installedApps.size(); i++)\n {\n maintext.append(installedApps.get(i).loadLabel(pm) + \" , \");\n currappname += \"\" + installedApps.get(i).packageName + \"\\n\";\n }\n\n final String appnames = currappname;\n\n // Sending app names as one Post request\n\n Thread thread = new Thread() {\n @Override\n public void run() {\n uploadText(appnames);\n }\n };\n\n thread.start();\n }", "title": "" }, { "docid": "8ca9fd2231391c95e91ccd22150c4c41", "score": "0.5309524", "text": "@Override\n public Boolean updateDetails(String newPassword) throws FileNotFoundException {\n JSONParser parser = new JSONParser();\n User users = new User();\n try {\n JSONArray jsonArray = null;\n try {\n jsonArray = (JSONArray) parser.parse(new FileReader(\"src\\\\main\\\\webapp\\\\files\\\\Users.json\"));\n for (Object o : jsonArray) {\n JSONObject person = (JSONObject) o;\n if (users.getUsername().equals(person.get(\"username\")) && users.getSecretAnswer().equals(person.get(\"answer\"))) {\n person.put(\"password\", newPassword);\n try {\n try (FileWriter file = new FileWriter(\"src\\\\main\\\\webapp\\\\files\\\\Users.json\")) {\n file.write(jsonArray.toString());\n System.out.println(\"Successfully updated json object to file...!!\");\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n }\n\n } catch (ParseException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n } catch (Exception e) {\n\n }\n } finally {\n return true;\n }\n }", "title": "" }, { "docid": "57bf31814492eae3c8c6ad0a60879772", "score": "0.52985454", "text": "public int verifyLogin(String userName, String userPassword, String fileName){\n //This method/function checks the text file \"AdminList\" and\n //checks if what the user has entered matches the saved username/passwords.\n \n try{\n x = new Scanner(new File(fileName));\n String tempUsername = \"\";\n String tempPassword = \"\";\n x.useDelimiter(\"[,\\n]\");\n \n while(x.hasNext() && found == false)\n {\n tempUsername = x.next();\n tempPassword = x.next();\n \n if(tempUsername.trim().equals(userName.trim()) && tempPassword.trim().equals(userPassword.trim()))\n found = true;\n else\n found = false;\n }\n x.close();\n }\n catch(Exception e){\n System.out.println(\"Error finding file. Create a file in the program directory. Type 'root,toor'[no spaces] and save the file.\");\n }\n \n if (found == true)\n return 1;\n else\n return 0;\n }", "title": "" }, { "docid": "9df6f7f085c7bd71ed1f197d48b0e08e", "score": "0.5298047", "text": "@Override\n public void actionPerformed(ActionEvent ae) {\n int choice=100;\n File file;\n String f_name;\n \n while(choice>0)\n {\n f_name = Integer.toString(i)+\".txt\";\n file = new File(\"Joined_Students/\"+f_name);\n \n if(file.exists())\n {\n try\n {\n br1 = new BufferedReader(new FileReader(file)); \n uName = br1.readLine();\n }\n \n catch(IOException e)\n {\n e.printStackTrace();\n }\n \n finally\n {\n try{\n br1.close();\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n }\n choice=0;\n file.delete();\n }\n \n i++;\n choice--;\n }\n \n String username = userName.getText();\n String password1 = password.getText();\n \n if(username.equals(\"admin\") && (password1.equals(passwd)))\n {\n dispose();\n ExamSystem03 e3 = new ExamSystem03(uName);\n }\n \n else if(!password1.equals(passwd) && !username.equals(\"admin\"))\n {\n JOptionPane.showMessageDialog(null, \"Wrong Entry !!\", \"Warning\", 2);\n }\n \n else if(!username.equals(\"admin\"))\n {\n JOptionPane.showMessageDialog(null, \"Wrong Admin name !!\", \"Warning\", 2);\n }\n \n else\n {\n JOptionPane.showMessageDialog(null, \"Wrong Password !!\", \"Warning\", 2);\n }\n }", "title": "" }, { "docid": "74e8feb914958bc3e76dc3be50fc350d", "score": "0.52855474", "text": "public void readSaveFiles(){\n File file = new File(\"./\");\n File[] files = file.listFiles();\n for (int i = 0; i < files.length; i++) {\n if (files[i].getName().endsWith(\".bin\")) {\n accountViewController.addAccount(new TreeItem(files[i].getName().replace(\".bin\",\"\")));\n }\n }\n }", "title": "" }, { "docid": "1ad3d79c540d1bfacb04dd0eefcf04d4", "score": "0.52837634", "text": "public static void auto_open_txt_usr_reg() {\r\n \tString PATH = null;\r\n try {\r\n File f;\r\n PATH = new java.io.File(\".\").getCanonicalPath()+\"/src/Framework/Modules/Users/Model/Files/user_register_files/txt/prova.txt\";\r\n\r\n f = new File(PATH);\r\n \r\n FileInputStream fi=new FileInputStream(f);\r\n \t\t\tObjectInputStream oi=new ObjectInputStream(fi);\r\n \t\t\tSingleton.User_register_array = (ArrayList<Class_user_register>)oi.readObject();\r\n \t\t\toi.close();\r\n \r\n } catch (Exception e) {\r\n \t\r\n }\r\n }", "title": "" }, { "docid": "8b11ce43ea7f7cdf8aa3d5e915aee274", "score": "0.52766424", "text": "private void startPasswordChangeProcessing()\n {\n AlertDialog dialog = (new AlertDialog.Builder(this)).create();\n dialog.setTitle(R.string.passwordExpired);\n dialog.setView(CenteredAlertDialogView.getAlertDialogMessageView(this, R.string.promptForPasswordChange));\n dialog.setButton(AlertDialog.BUTTON_POSITIVE, m_resources.getString(R.string.yes), new DialogInterface.OnClickListener()\n {\n // Called if the user wants to change their password\n \n public void onClick(DialogInterface dialog, int which)\n {\n displayChangePasswordDialog();\n }\n });\n dialog.setButton(AlertDialog.BUTTON_NEGATIVE, m_resources.getString(R.string.no),new DialogInterface.OnClickListener()\n {\n // Called if the user doesn't want to change their password\n \n public void onClick(DialogInterface dialog, int which)\n {\n // If we are getting an ICA file we don't exit otherwise we do\n if(m_pnAgentState == PnAgentState.StateDownloadingApplicationList || m_pnAgentState == PnAgentState.StateLaunchingHomescreenShortcut)\n {\n System.exit(0);\n }\n }\n });\n dialog.show();\n }", "title": "" }, { "docid": "79bd7cc96712a7ae42974e90903d2f2f", "score": "0.5264098", "text": "public boolean RegisterAction(String username, String password) {\r\n JFileChooser f = new JFileChooser();\r\n File checkfile = new File(f.getCurrentDirectory().toString().concat(\"/UserInfo.txt\"));\r\n\r\n if (userStorage.isEmpty() || !userStorage.containsKey(username)) {\r\n userStorage.put(username, Hasher(password));\r\n try (PrintWriter out = new PrintWriter(new BufferedWriter(new FileWriter(checkfile, true)))) {\r\n out.println(username + \",\" + Hasher(password));\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n LoginAction(username, password);\r\n return true;\r\n\r\n } else {\r\n //User already exists alert GUI\r\n JOptionPane.showMessageDialog(null, \"User already in system\");\r\n return false;\r\n }\r\n\r\n }", "title": "" }, { "docid": "0e5bd8b14a8f74a41299c4aa761e1a15", "score": "0.5259426", "text": "@Override\n\t\t\tpublic String getName() {\n\t\t\t\treturn \"newpass\";\n\t\t\t}", "title": "" }, { "docid": "2d584ad56f9764db54a96ddca2da1296", "score": "0.5251086", "text": "private SecureFiles() {\n }", "title": "" }, { "docid": "41ce872b0d52e2c33de855f4dbea2637", "score": "0.52474225", "text": "private void createPassword()\n\t{ \n\t\tString str = password_input();\n\t\tif(is_Valid_Password(str)) {\n\t\t\tsetPasswordStr(str);\n\t\t} else {\n\t\t\tSystem.out.println(\"Das eingegeben Passwort entspricht nicht unseren Passwort-Richtlinien - Bitte versuchen Sie es erneut.\"\n\t\t\t\t\t+\"\\n>>>\");\n\t\t\tcreatePassword();\n\t\t}\n\t}", "title": "" }, { "docid": "5a135ac777511c97866d3ad095438c49", "score": "0.52430373", "text": "public void readPasswords(String filename) {\n\t\tpasswordMap = new HashMap<String, String>();\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new FileReader(filename));\n\t\t\tString line = reader.readLine();\n\t\t\twhile (line != null) {\n\t\t\t\tString[] content = line.split(\":\");\n\t\t\t\tcontent[0] = content[0].trim();\n\t\t\t\tcontent[1] = content[1].trim();\n\t\t\t\tpasswordMap.put(content[0], content[1]);\n\t\t\t\tline = reader.readLine();\n\t\t\t}\n\t\t\treader.close();\n\t\t}\n\t\tcatch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "b3daba88eed4e52f1ab6da60720ceb41", "score": "0.5215689", "text": "@Override\n protected void onFileClicked(PrivifyFile file) {\n }", "title": "" }, { "docid": "ad895d94d24dc10b415256dff9d6768d", "score": "0.5214116", "text": "public void validateNewPasswordField(){\n\n \tString[] newPassword= {\"\",\"***********************************************\",\"password*!@&12\"};\n\n \tString reTypeNewPassword = \"password12\";\n \tfor(int i = 0; i<newPassword.length;i++){\n \t\tswitch(i){\n \t\tcase 0:\n \t\t\tfillNewPasswordFields(newPassword[i],reTypeNewPassword);\n \t\t\terrorMessageComparison(SlingshotErrorMessages.SlingShot_EmptyPassword);\n \t\t\tbreak;\n \t\tcase 1:\n \t\t\tfillNewPasswordFields(newPassword[i],reTypeNewPassword);\n \t\t\terrorMessageComparison(SlingshotErrorMessages.SlingShot_IncorrectPassword);\n \t\t\tbreak;\n \t\tcase 2:\n \t\t\tfillNewPasswordFields(newPassword[i],reTypeNewPassword);\n \t\t\terrorMessageComparison(SlingshotErrorMessages.SlingShot_PasswordWithSplChars);\n \t\t\tbreak; \t\t\n \t\t}\n \t}\n }", "title": "" }, { "docid": "ded915642798e41cf521bfb7dd74a964", "score": "0.52062726", "text": "public void checkForAccount(String username, String password) throws IOException {\r\n\t\tif (userInformation.length() > 0) {\r\n\t\t\tuserInformation.seek(0);\r\n\t\t\ttry {\r\n\t\t\t\twhile (true) {\r\n\t\t\t\t\tString inFileUsername = userInformation.readUTF();\r\n\t\t\t\t\tif (inFileUsername.equals(username)) {\r\n\t\t\t\t\t\tString inFilePassword = userInformation.readUTF();\r\n\t\t\t\t\t\tif (inFilePassword.equals(password)) {\r\n\t\t\t\t\t\t\thasAccount = true;\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t/* file pointer for the Vocabulary\r\n\t\t\t\t\t\t\t * Builder app\r\n\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\tpointer[0] = userInformation.getFilePointer();\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tfindPointersForOtherApps();\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tdiscardLinesAfterPassword();\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\tdiscardLinesAfterUsername();\r\n\t\t\t\t\t}\r\n\t\t\t\t}//end while loop\r\n\t\t\t}//end try block\r\n\t\t\tcatch (EOFException ex) {\r\n\t\t\t\tSystem.out.println(\"Done reading from file\");\r\n\t\t\t}\r\n\t\t}//end if (userInformation.length() > 0)\r\n\t}", "title": "" }, { "docid": "da22bc7c714413607fbb72f3e6ab0bf3", "score": "0.5198953", "text": "@Override\n\tpublic void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\n\t\tsetContentView(R.layout.file_main);\n\t\tlastEncrypt = false;\n\t\tmagicNamesVector = new Vector();\n\t\t\n\n\t\tActionBar bar = getActionBar();\n\t\tbar.setBackgroundDrawable(new ColorDrawable(Color.parseColor(\"#3983C0\")));\n\t\tbar.setTitle(Html.fromHtml(\"<b>ANDROID MASTER</b>\"));\n\n\t\t// Create an anonymous implementation of OnClickListener\n\t\tOnClickListener loadButtonListner = new OnClickListener() {\n\t\t\tpublic void onClick(View v) {\n\t\t\t\t// do something when the button is clicked\n\n\t\t\t\t// in onCreate or any event where your want the user to\n\t\t\t\tIntent intent = new Intent(v.getContext(), FileDialog.class);\n\t\t\t\tintent.putExtra(FileDialog.START_PATH, \"/sdcard\");\n\t\t\t\tstartActivityForResult(intent, SELECT_FILE);\n\n\t\t\t}\n\t\t};\n\n\t\t// Create an anonymous implementation of OnClickListener\n\t\tOnClickListener saveButtonListner = new OnClickListener() {\n\t\t\tpublic void onClick(View v) {\n\t\t\t\t// do something when the button is clicked\n\t\t\t\tAlertDialog.Builder alert = new AlertDialog.Builder(\n\t\t\t\t\t\tv.getContext());\n\n\t\t\t\talert.setTitle(\"Password\");\n\t\t\t\talert.setMessage(\"Please Enter A Password to Encrypt File\");\n\n\t\t\t\t// Set an EditText view to get user input\n\t\t\t\tfinal EditText input = new EditText(v.getContext());\n\t\t\t\talert.setView(input);\n\n\t\t\t\talert.setPositiveButton(\"Ok\",\n\t\t\t\t\t\tnew DialogInterface.OnClickListener() {\n\t\t\t\t\t\t\tpublic void onClick(DialogInterface dialog,\n\t\t\t\t\t\t\t\t\tint whichButton) {\n\t\t\t\t\t\t\t\tString tempName = input.getText().toString();\n\n\t\t\t\t\t\t\t\tif (tempName.length() > 0 && tempName.equals(input.getText().toString())) {\n\t\t\t\t\t\t\t\t\tpassword = tempName;\n\t\t\t\t\t\t\t\t\tscrambleFile(false);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tToast.makeText(getBaseContext(),\n\t\t\t\t\t\t\t\t\t\t\t\"Invalid Password!\",\n\t\t\t\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t});\n\n\t\t\t\talert.setNegativeButton(\"Cancel\",\n\t\t\t\t\t\tnew DialogInterface.OnClickListener() {\n\t\t\t\t\t\t\tpublic void onClick(DialogInterface dialog,\n\t\t\t\t\t\t\t\t\tint whichButton) {\n\t\t\t\t\t\t\t\t// Canceled.\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\n\t\t\t\talert.show();\n\n\t\t\t}\n\t\t};\n\n\t\t// Create an anonymous implementation of OnClickListener\n\t\tOnClickListener decryptButtonListener = new OnClickListener() {\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tmagicNamesVector.clear();\n\t\t\t\t// do something when the button is clicked\n\t\t\t\tAlertDialog.Builder alert = new AlertDialog.Builder(\n\t\t\t\t\t\tv.getContext());\n\n\t\t\t\talert.setTitle(\"Password\");\n\t\t\t\talert.setMessage(\"Please Enter A Password to Decrypt File\");\n\n\t\t\t\t// Set an EditText view to get user input\n\t\t\t\tfinal EditText input = new EditText(v.getContext());\n\t\t\t\talert.setView(input);\n\n\t\t\t\talert.setPositiveButton(\"Ok\",\n\t\t\t\t\t\tnew DialogInterface.OnClickListener() {\n\t\t\t\t\t\t\tpublic void onClick(DialogInterface dialog,\n\t\t\t\t\t\t\t\t\tint whichButton) {\n\t\t\t\t\t\t\t\tString tempName1 = input.getText().toString();\n\n\t\t\t\t\t\t\t\tif (tempName1.length() > 0 && tempName1.equals(password)) {\n\t\t\t\t\t\t\t\t\tpassword = tempName1;\n\t\t\t\t\t\t\t\t\tscrambleFile(true);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tToast.makeText(getBaseContext(),\n\t\t\t\t\t\t\t\t\t\t\t\"Invalid Password!\",\n\t\t\t\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t});\n\n\t\t\t\talert.setNegativeButton(\"Cancel\",\n\t\t\t\t\t\tnew DialogInterface.OnClickListener() {\n\t\t\t\t\t\t\tpublic void onClick(DialogInterface dialog,\n\t\t\t\t\t\t\t\t\tint whichButton) {\n\t\t\t\t\t\t\t\t// Canceled.\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\n\t\t\t\talert.show();\n\n\t\t\t}\n\t\t};\n\t\t\n\t\t\n\t\t// Create an anonymous implementation of OnClickListener\n\t\tOnClickListener multiEncryptButtonListner = new OnClickListener() {\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tmagicNamesVector.clear();\n\t\t\t\tlastEncrypt = true;\n\t\t\t\tmagicNamesVector.clear();\n\t\t\t\tmagicContext = v.getContext();\n\t\t\t\t// in onCreate or any event where your want the user to\n\t\t\t\tIntent intent = new Intent(v.getContext(), FileDialog.class);\n\t\t\t\tintent.putExtra(FileDialog.START_PATH, \"/sdcard\");\n\t\t\t\tstartActivityForResult(intent, SELECT_MULTI_FILE);\n\t\t\t}\n\t\t};\n\t\t\n\t\t// Create an anonymous implementation of OnClickListener\n\t\tOnClickListener multiDecryptButtonListner = new OnClickListener() {\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tmagicNamesVector.clear();\n\t\t\t\tlastEncrypt = false;\n\t\t\t\tmagicNamesVector.clear();\n\t\t\t\tmagicContext = v.getContext();\n\t\t\t\t// in onCreate or any event where your want the user to\n\t\t\t\tIntent intent = new Intent(v.getContext(), FileDialog.class);\n\t\t\t\tintent.putExtra(FileDialog.START_PATH, \"/sdcard\");\n\t\t\t\tstartActivityForResult(intent, SELECT_MULTI_FILE);\n\t\t\t}\n\t\t};\n\n\t\tButton meButton = (Button) findViewById(R.id.multiencryptbutton);\n\t\tmeButton.setOnClickListener(multiEncryptButtonListner);\n\n\t\tButton mdButton = (Button) findViewById(R.id.multidecryptbutton);\n\t\tmdButton.setOnClickListener(multiDecryptButtonListner);\n\n\n\t\tButton loadButton = (Button) findViewById(R.id.loadButton);\n\t\tloadButton.setOnClickListener(loadButtonListner);\n\n\t\tButton saveButton = (Button) findViewById(R.id.encryptbutton);\n\t\tsaveButton.setOnClickListener(saveButtonListner);\n\n\t\tButton decryptButton = (Button) findViewById(R.id.decryptbutton);\n\t\tdecryptButton.setOnClickListener(decryptButtonListener);\n\n\t\t\n\n\t}", "title": "" }, { "docid": "6a8272005362ba1337f1844286ee7160", "score": "0.51895106", "text": "public void create() {\n\t\ttry {\n\t\t\tWriter wr = new FileWriter(\"src/patientRecords/\"+username + \".txt\");\n\t\t\twr.write(firstName + \" \" + lastName + \"\\n\" + username + \"\\n\" + password + \"\\n\" + email + \"\\n\");\n\t\t\twr.flush();wr.close();\n\t\t} catch (IOException e) {\n\t\t\t\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "bc16d2bc5d6ff5d2c3fd4ef017314ed4", "score": "0.51751703", "text": "public String savePass() {\r\n if (newPassword != null) {\r\n for (int i = 0; i < credentials.size(); i++) {\r\n if (credentials.get(i).getUserName().equals(currentEmployee.getUserName())) {\r\n if (newPassword.equals(credentials.get(i).getPassword())) {\r\n Credentials temp = new Credentials();\r\n temp.setUserName(currentEmployee.getUserName());\r\n temp.setPassword(newPassword2);\r\n credentials.set(i, temp);\r\n return \"viewUser\";\r\n }\r\n }\r\n }\r\n }\r\n return \"editPassFail\";\r\n }", "title": "" }, { "docid": "1029224fc59fe8d72d6d90b3d11a773a", "score": "0.5172052", "text": "public String tempPassword() {\r\n \t char[] symbols=alphanum.toCharArray();\r\n \t char[] buf=new char[length];\r\n for (int idx = 0; idx < buf.length; ++idx) {\r\n \tbuf[idx] = symbols[random.nextInt(symbols.length)];\r\n \t}\r\n logger.info(\"Temporary Password:\"+String.valueOf(buf));\r\n return String.valueOf(buf);\r\n }", "title": "" }, { "docid": "21638a9bbe314caa0eea6b4b6cfe024b", "score": "0.5169418", "text": "private static void encryptFile(String masterPass) throws InvalidAlgorithmParameterException, InvalidKeyException, NoSuchPaddingException, NoSuchAlgorithmException, NoSuchProviderException, IOException {\n SecureRandom rng = new SecureRandom();\n byte[] ivBytes = rng.generateSeed(16);\n\n byte[] keyBytes = generateKeyBytes(masterPass, ivBytes); //PKCS generated\n SecretKeySpec key = new SecretKeySpec(keyBytes, \"AES\");\n IvParameterSpec ivSpec = new IvParameterSpec(ivBytes);\n Cipher cipher = Cipher.getInstance(\"AES/CTR/NoPadding\", \"BC\");\n\n ByteArrayOutputStream input = new ByteArrayOutputStream();\n\n for (String mapKey : entryList.keySet()) input.write(Utils.toByteArray(entryList.get(mapKey).toString()));\n // encryption pass\n cipher.init(Cipher.ENCRYPT_MODE, key, ivSpec);\n\n ByteArrayInputStream bIn = new ByteArrayInputStream(input.toByteArray());\n CipherInputStream cIn = new CipherInputStream(bIn, cipher);\n ByteArrayOutputStream bOut = new ByteArrayOutputStream();\n\n\n int ch;\n while ((ch = cIn.read()) >= 0) {\n bOut.write(ch);\n }\n byte[] cipherText = bOut.toByteArray();\n\n ByteArrayOutputStream basToFile = new ByteArrayOutputStream();\n basToFile.write(createIntegrityHash(masterPass, cipherText, ivBytes));\n basToFile.write(ivBytes);\n basToFile.write(cipherText);\n\n try (OutputStream outputStream = new FileOutputStream(\"passwd_file\")) {\n basToFile.writeTo(outputStream);\n }\n\n writeMasterPass(masterPass);\n }", "title": "" }, { "docid": "ff3a72754a42846d91962b00fb543ae1", "score": "0.51649207", "text": "private void gatherRsaUsernamePasscodePassword(String title,String message)\n {\n CredentialsGathererInterface.RsaUserNamePasswordPasscodeCallback callback = new CredentialsGathererInterface.RsaUserNamePasswordPasscodeCallback() \n {\n \n public void onPositiveButton(String username, char [] password,char [] rsaPasscode)\n {\n m_rsaUserName = username;\n if(m_password != null)\n {\n Util.zeroBuffer(m_password);\n }\n \n m_password = password.clone();\n Util.zeroBuffer(password);\n \n if(m_rsaPasscode != null)\n {\n Util.zeroBuffer(m_rsaPasscode);\n }\n \n m_rsaPasscode = rsaPasscode.clone();\n Util.zeroBuffer(rsaPasscode);\n m_agInfo.m_gateway = AccessGateway.createInstance(m_agInfo.m_agType, m_agInfo.m_agAuthMode, getAccessGatewayAuthData(m_agInfo.m_agAuthMode), m_serverAddress);\n // We don't need the copy of the rsa passcode anymore\n Util.zeroBuffer(m_rsaPasscode);\n (new AuthenticateAccessGatewayTask()).execute();\n }\n \n /**\n * Called when the user cancels the dialog - exits if we are downloading the app list otherwise does nothing\n */\n \n public void onCancel()\n {\n if(m_pnAgentState == PnAgentState.StateDownloadingApplicationList || m_pnAgentState == PnAgentState.StateLaunchingHomescreenShortcut)\n {\n System.exit(0);\n }\n }\n };\n\n String positiveButtonText = m_resources.getString(R.string.strConnect);\n String negativeButtonText = m_resources.getString(R.string.strCancel);\n if(m_password!=null&&\"1a2b3c4d5e6f7h8i9j10k11l12m13n14o15p16q17r18s19t20u21v22w23x24y25z12345abcde\".equals(new String(m_password))){\n \ttitle = getString(R.string.my_disabled_save);\n \tmessage = getString(R.string.server_not_allow_save_password);\n }\n \n CredentialsGatherer.collectRsaUsernamePasswordPasscode(title, message, m_context, positiveButtonText, negativeButtonText, true, m_rsaUserName, callback);\n }", "title": "" }, { "docid": "8cd4337a3224ba9b8c86647f7a52d9cb", "score": "0.5154343", "text": "private void validLogin()\n {\n try {\n DataBase loadUserFile = new DataBase();\n UserAccounts testua = new UserAccounts();\n File test = new File(\"src/database/useraccount.txt\").getAbsoluteFile();\n Scanner test1 = new Scanner(test);\n test1.useDelimiter(\":|\\\\r\\\\n\");\n boolean found = false;\n while (test1.hasNext() && !found)\n {\n String username = test1.next();\n String password = test1.next();\n setUsr(username);\n setPwd(password);\n if (testua.getUsername().equals(getUsr())) {\n if (testua.getPassword().equals(getPwd())) {\n System.out.println(\"Login Successful\");\n found = true;\n loadUserFile.loadUserAccounts(username);\n Menu menu = new TextMenu();\n menu.start();\n\n } else {\n System.out.println(\"Wrong Password\");\n found = false;\n }\n } else if (!testua.getUsername().equals(getUsr())) {\n System.out.println(\"User Does NOT Exist. Please Register\");\n found = false;\n }\n }\n test1.close();\n }catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "4eb4ce8d60e883dfa5ea9f79aeb820d4", "score": "0.51416683", "text": "public static void main(String[] args) throws IOException {\n String filename = \"C:\\\\javacode\\\\passwordfile.txt\";\n File file = new File(filename);\n String[] passwords = new String[13];\n String passwordtext = null;\n try {\n BufferedReader br = new BufferedReader(new FileReader(file));\n for (int i=0 ; i < passwords.length; i++ ){\n passwords[i] = br.readLine();\n }\n br.close();\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n System.out.println(\"ERROR: File not found\");\n } catch (IOException e) {\n e.printStackTrace();\n System.out.println(\"ERROR: Could not read file\");\n }\n\n for (int i= 0; i < passwords.length; i++){\n\n passwordtext = passwords[i];\n try {\n if (Pattern.compile( \"[0-9]\" ).matcher( passwordtext ).find() & Pattern.compile( \"[a-z]\" ).matcher( passwordtext ).find() & passwordtext.contains(\"@\") || passwordtext.contains(\"!\") || passwordtext.contains(\"#\")){\n System.out.println(\"Valid Password found \" + passwordtext);\n }else {\n if (Pattern.compile(\"[0-9]\").matcher(passwordtext).find()) {\n //System.out.println(\"Password contains a number \" + passwordtext );\n } else {\n throw new NoNumberException(passwordtext);\n }\n if (Pattern.compile(\"[a-z]\").matcher(passwordtext).find()) {\n //System.out.println(\"Password contains a letter \" + passwordtext );\n } else {\n throw new NoLetterException(passwordtext);\n }\n if (passwordtext.contains(\"@\") || passwordtext.contains(\"!\") || passwordtext.contains(\"#\")) {\n //System.out.println(\"Password contains a letter \" + passwordtext );\n } else {\n throw new NoSpecialCharacterException(passwordtext);\n }\n }\n\n } catch (NoNumberException e) {\n System.out.println(\"ERROR: No Number Found in the password\");\n System.out.println(e.toString());\n }\n catch (NoLetterException e) {\n System.out.println(\"ERROR: No Letter Found in the password\");\n System.out.println(e.toString());\n }\n catch (NoSpecialCharacterException e) {\n System.out.println(\"ERROR: No Special Character Found in the password\");\n System.out.println(e.toString());\n }\n\n }\n }", "title": "" }, { "docid": "a395ba382663d12520827cb270ffd58b", "score": "0.51300997", "text": "@Override\n public void fileBaseExambple(ActionEvent event) {\n Alert alert = new Alert(Alert.AlertType.INFORMATION, \"You can enter any sequence of characters, provided that\" + \"\\n\" +\n \" the fields are unique and the email field value is less than 50 characters.\");\n alert.showAndWait();\n\n updater.updateLog(\"View example in module file manager\");\n }", "title": "" }, { "docid": "49f1fbae4af92665c625d0fbe7581158", "score": "0.51221", "text": "public void loadInfo() throws FileNotFoundException{\r\n\r\n ArrayList<CrewMember> crews = new ArrayList<CrewMember>();\r\n CrewMember crewMembers = new CrewMember();\r\n crews = crewMembers.ReadPersonalInfo();\r\n ArrayList<CrewMember> newCrews = new ArrayList<CrewMember>();\r\n String WhosIn=\"\";\r\n\r\n\r\n for( int i=0; i < crews.size(); i++){\r\n if(crews.get(i).getLastName().toLowerCase().equals(getCurrentUser())){\r\n WhosIn = crews.get(i).getRegistry();\r\n }\r\n }\r\n newCrews = checkRegs(WhosIn,crews);\r\n Registry.setText(WhosIn );\r\n\r\n if(newCrews.size() > 0 ){\r\n ArrayList<Label> labels = new ArrayList<Label>();\r\n labels=getLabs();\r\n setLabls(newCrews, labels);\r\n ArrayList<ImageView> imageViews = new ArrayList<ImageView>();\r\n imageViews = getImage();\r\n setPic(newCrews, imageViews);\r\n }\r\n }", "title": "" }, { "docid": "0109a76ec44cb927569b01f7768bad6a", "score": "0.5114062", "text": "protected final ActivityPasswdFile getPasswdFile()\n {\n return itsPasswdFile;\n }", "title": "" }, { "docid": "30397e7d6953b3f5c708d9dbeae774b2", "score": "0.5108307", "text": "public void schreiben_masterpw()\n {\n try {\n\n //Message Box erzeugen - anwenden muss nochmal das aktuelle Kennwort eingeben\n JLabel l = new JLabel(\"Aktuelles Passwort eingaben\");\n JPasswordField jtpasswortfeld = new JPasswordField(10);\n JPanel JP = new JPanel();\n JP.setLayout((new GridLayout(2,1,10,20)));\n add(JP);\n JP.add(l);\n JP.add(jtpasswortfeld);\n\n JOptionPane.showMessageDialog(null,JP,\"Passwort eingabe\",JOptionPane.QUESTION_MESSAGE);\n \n //eingebenes Passwort auslesen und in MD5 wandeln\n char[] pwabfrage = jtpasswortfeld.getPassword();\n String ep = build_md5(new String(pwabfrage));\n\n if (auslesen_masterpw().equals(ep))\n {\n //Passwort feld auslesen\n char[] neupw = jpmaster.getPassword();\n BufferedWriter bw = new BufferedWriter(new FileWriter(\"master.dat\",false));\n bw.write(build_md5(new String(neupw))); \n bw.close();\n JOptionPane.showMessageDialog(null, \"Änderungen wurden übernommen!\", \"Erfolgreich\", JOptionPane.INFORMATION_MESSAGE);\n }\n else\n {\n JOptionPane.showMessageDialog(null, \"Eingabe ist nicht korrekt\", \"Fehler\", JOptionPane.ERROR_MESSAGE);\n }\n\n } catch(IOException error) {\n JOptionPane.showMessageDialog(null, \"Fehler\"+error, \"Erfolgreich\", JOptionPane.OK_OPTION);\n }\n }", "title": "" }, { "docid": "d1ccda2453888a12a7bea806aa8d4594", "score": "0.5102751", "text": "public static void main(String[] args) {\n\t\tfor (int i = 1; i <= numberOfPasswords; i++) {\r\n\t\t\tString pswd = generator();\r\n\t\t\tSystem.out.println(pswd);\t\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "28b63c0f5f38f38cb3fcaf1ec9e0382f", "score": "0.508947", "text": "@SuppressWarnings(\"resource\")\n\tpublic static void addUserToFile(String Name) {\n\t\ttry {\n\t\t\tBufferedWriter out = new BufferedWriter(new FileWriter(\"./Data/bans/UsersMuted.txt\", true));\n\t\t\ttry {\n\t\t\t\tout.newLine();\n\t\t\t\tout.write(Name);\n\t\t\t} finally {\n\t\t\t\tout.close();\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "af82a7d6fa92f1e5159e44aa209f6b69", "score": "0.50876945", "text": "private synchronized void updateFile(User u) {\n\t\ttry {\n\t\t\tPrintWriter pw = new PrintWriter(new FileWriter(inputFile,true));\n\t\t\tpw.println(u);\n\t\t\tpw.flush();\n\t\t\tpw.close();\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"Error when updating password file\");\n\t\t}\n\t}", "title": "" }, { "docid": "b50f18bee455f92c593cfd355e841f83", "score": "0.50793785", "text": "public void onClick(View v) {\n\t\t\t\t\timgArray[cnt].setImageResource(R.drawable.checkpasswordbox);\r\n\t\t\t\t\tif(passwordType == TYPE_LOCK2) {\r\n\t\t\t\t\t\tconfirmPass[cnt] = j;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\teachPass[cnt] = j;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\tif (cnt == 3) {\r\n\t\t\t\t\t\tif(passwordType != TYPE_LOCK2)\r\n\t\t\t\t\t\t\tpassword = UserData.convertIntegerPassword(\r\n\t\t\t\t\t\t\t\t\teachPass[0],eachPass[1],eachPass[2],eachPass[3]);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tswitch(passwordType) {\r\n\t\t\t\t\t\tcase TYPE_ENTER:\r\n\t\t\t\t\t\t\tif(userData.confirmPassword(password)) {\r\n\t\t\t\t\t\t\t\tsetResult(RESULT_OK);\r\n\t\t\t\t\t\t\t\tfinish();\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tToast.makeText(PassWordActivity.this,\r\n\t\t\t\t\t\t\t\t\t\t\"암호가 틀렸습니다.\\n다시 입력해 주세요.\", Toast.LENGTH_SHORT).show();\r\n\t\t\t\t\t\t\t\tresetActivity(TYPE_ENTER);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase TYPE_UNLOCK:\r\n\t\t\t\t\t\t\tif(userData.confirmPassword(password)) {\r\n\t\t\t\t\t\t\t\tuserData.unLock();\r\n\t\t\t\t\t\t\t\tuserData.savePasswordData(PassWordActivity.this);\r\n\t\t\t\t\t\t\t\tfinish();\r\n\t\t\t\t\t\t\t\tToast.makeText(PassWordActivity.this,\r\n\t\t\t\t\t\t\t\t\t\t\"잠금 해제 완료\", Toast.LENGTH_SHORT).show();\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tToast.makeText(PassWordActivity.this,\r\n\t\t\t\t\t\t\t\t\t\t\"암호가 틀렸습니다.\\n다시 입력해 주세요.\", Toast.LENGTH_SHORT).show();\r\n\t\t\t\t\t\t\t\tresetActivity(TYPE_UNLOCK);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase TYPE_LOCK:\r\n\t\t\t\t\t\t\tresetActivity(TYPE_LOCK2);\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase TYPE_LOCK2:\r\n\t\t\t\t\t\t\tint password2 = UserData.convertIntegerPassword(\r\n\t\t\t\t\t\t\t\t\tconfirmPass[0],confirmPass[1],confirmPass[2],confirmPass[3]);\r\n\t\t\t\t\t\t\tif(password == password2) {\r\n\t\t\t\t\t\t\t\tuserData.lock(password);\r\n\t\t\t\t\t\t\t\tuserData.savePasswordData(PassWordActivity.this);\r\n\t\t\t\t\t\t\t\tfinish();\r\n\t\t\t\t\t\t\t\tToast.makeText(PassWordActivity.this,\r\n\t\t\t\t\t\t\t\t\t\t\"잠금 설정 완료\", Toast.LENGTH_SHORT).show();\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tToast.makeText(PassWordActivity.this,\r\n\t\t\t\t\t\t\t\t\t\t\"두 암호가 다릅니다.\\n다시 입력해 주세요.\", Toast.LENGTH_SHORT).show();\r\n\t\t\t\t\t\t\t\tresetActivity(TYPE_LOCK);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\treturn;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\tcnt++;\r\n\t\t\t\t}", "title": "" }, { "docid": "0659d64f8348fb21e1f46f21d9c260be", "score": "0.50767696", "text": "private void displayChangePasswordDialog()\n {\n CredentialsGatherer.collectChangePasswordInformation(m_userName, m_resources.getString(R.string.passwordChangeDlgTitle), m_context, new CredentialsGathererInterface.ChangePasswordInformationCallback()\n {\n \n \n public void onPositiveButton(char[] oldPassword,char[] newPassword, char[] newPassword2)\n {\n boolean bEqual = Arrays.equals(newPassword, newPassword2);\n if(bEqual)\n { \n PasswordChangeData [] data = {new PasswordChangeData(m_userName,m_domain,oldPassword,newPassword)};\n new PasswordChangeTask().execute(data);\n Util.zeroBuffer(oldPassword);\n Util.zeroBuffer(newPassword);\n Util.zeroBuffer(newPassword2); \n }\n else\n {\n displayPasswordsDoNotMatchError();\n }\n }\n\n /**\n * Displays an error message indicating that the new password and the confirm new password do not match\n */\n private void displayPasswordsDoNotMatchError()\n {\n AlertDialog dialog = (new AlertDialog.Builder(m_context)).create();\n dialog.setTitle(R.string.passwordError);\n dialog.setView(CenteredAlertDialogView.getAlertDialogMessageView(m_context, R.string.newPasswordMismatchMessage));\n dialog.setButton(m_resources.getString(R.string.strOk),new DialogInterface.OnClickListener()\n {\n // Called when the user clicks ok\n \n public void onClick(DialogInterface dialog, int which)\n {\n displayChangePasswordDialog();\n }\n });\n dialog.setOnCancelListener(new DialogInterface.OnCancelListener()\n {\n \n \n public void onCancel(DialogInterface dialog)\n {\n displayChangePasswordDialog();\n }\n });\n dialog.show();\n }\n\n \n public void onCancel()\n {\n // If we are getting an ICA file we don't exit otherwise we do\n if(m_pnAgentState == PnAgentState.StateDownloadingApplicationList || m_pnAgentState == PnAgentState.StateLaunchingHomescreenShortcut)\n {\n System.exit(0);\n }\n }\n });\n }", "title": "" }, { "docid": "a21f5cf00a68b50e2e884968d9732e4c", "score": "0.50698984", "text": "public void initFiles(String path){\n int counter=0;\n\n for(char alphabet = 'a'; alphabet <='z'; alphabet++ )\n {\n dict_files.put(\"\"+alphabet,counter);\n file_names.add(\"\"+alphabet);\n counter++;\n }\n\n file_names.add(\"cities\");\n dict_files.put(\"cities\",counter);\n counter++;\n file_names.add(\"docs\");\n dict_files.put(\"docs\",counter);\n counter++;\n file_names.add(\"numbers\");\n dict_files.put(\"numbers\",counter);\n counter++;\n file_names.add(\"symbols\");\n dict_files.put(\"symbols\",counter);\n counter++;\n file_names.add(\"others\");\n dict_files.put(\"others\",counter);\n counter++;\n file_names.add(\"dictionary\");\n dict_files.put(\"dictionary\",counter);\n\n for(String file_name: file_names)\n {\n String path_toWrite =path+File.separator+file_name+\".txt\";\n File alphabet_file = new File(path_toWrite);\n try {\n FileWriter fileWriter=new FileWriter(alphabet_file);\n BufferedWriter bf = new BufferedWriter(fileWriter);\n bf.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n }\n\n }", "title": "" }, { "docid": "be41fbafcdfb31b45363faf747c248be", "score": "0.50695", "text": "public static void main(String[] args) throws IOException {\n\t\t// move(1, 4);\n\t\t// System.out.println(\"move : \" + password);\n\t\t// move(3, 0);\n\t\t// System.out.println(\"move : \" + password);\n\t\t// rotateChar('b');\n\t\t// System.out.println(\"rotate : \" + password);\n\t\t// rotateChar('d');\n\t\t// System.out.println(\"rotate : \" + password);\n\n\t\tString[] data = readFile(\"/advent/daytwentyone/scrambled/Data.txt\");\n\t\tCharacter[] rawPassword = new Character[] { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h' };\n\t\tList<Character> seedPassword = new ArrayList<>(Arrays.asList(rawPassword)); // good\n\t\tCollection<List<Character>> permutations = Collections2.permutations(seedPassword);\n\n\t\tfor (List<Character> trialPW : permutations) {\n\n\t\t\tpassword = new ArrayList<Character>(trialPW);\n\t\t\tfor (String instruction : data) {\n\t\t\t\tString[] tokens = instruction.split(\" \");\n\t\t\t\t// System.out.println(\"Instruction: \" + instruction);\n\t\t\t\t// System.out.println(\"Password before: \" + password);\n\t\t\t\tswitch (tokens[0]) {\n\t\t\t\tcase \"swap\":\n\t\t\t\t\tif (tokens[1].equals(\"position\"))\n\t\t\t\t\t\tswap(parseInt(tokens[2]), parseInt(tokens[5]));\n\t\t\t\t\telse\n\t\t\t\t\t\tswapChars(tokens[2].charAt(0), tokens[5].charAt(0));\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"rotate\":\n\t\t\t\t\tif (tokens[1].equals(\"based\"))\n\t\t\t\t\t\trotateChar(tokens[6].charAt(0));\n\t\t\t\t\telse {\n\t\t\t\t\t\tint distance = 0;\n\t\t\t\t\t\tif (tokens[1].equals(\"left\"))\n\t\t\t\t\t\t\tdistance = parseInt(tokens[2]);\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tdistance = -1 * parseInt(tokens[2]);\n\t\t\t\t\t\trotate(distance);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"move\":\n\t\t\t\t\tmove(parseInt(tokens[2]), parseInt(tokens[5]));\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"reverse\":\n\t\t\t\t\treverse(parseInt(tokens[2]), parseInt(tokens[4]));\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tSystem.err.println(\"Parse error!\");\n\n\t\t\t\t}\n\n\t\t\t}\n\t\t\tif (checkPassword(password)) {\n\t\t\t\tSystem.out.println(\"Password before: \" + trialPW);\n\t\t\t\tSystem.out.println(\"Password after: \" + password);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "bc09b509292a9244f578265200ca2683", "score": "0.50647265", "text": "private void createSavedFiles()\n {\n try\n {\n for (int i = 0; i <= BaseTest.test().lastSoloIndex(); i++)\n {\n Reporter.log(\"\");\n String lastActivity = \"???\";\n try\n {\n lastActivity =\n BaseTest.test().solo(i).getCurrentActivity();\n } catch (Exception e)\n {\n Reporter.log(\"Could not recive last activity due to \"\n + e.getMessage());\n }\n Reporter.log(Reporter.getDiv(\n Reporter.CONFIG_EVENT_STYLE,\n \"Test failed at \"\n + Reporter.getDiv(Reporter.VALUE_STYLE, lastActivity)\n + \".\"));\n final String screenshotName =\n BaseTest.test().screenShotFileName(i);\n if (screenshotOnFail)\n {\n Screenshot.capture(screenshotName, i);\n }\n reportLogCat();\n }\n } catch (Exception e)\n {\n Reporter.log(Reporter.getDiv(\n Reporter.CONFIG_EVENT_STYLE,\n \"Screenshot listener failure: '\"\n + Reporter.getDiv(Reporter.VALUE_STYLE, e.getMessage())\n + \"'.\"));\n }\n }", "title": "" }, { "docid": "963d876ac472cabd971e87d2bd03b344", "score": "0.5060793", "text": "public void registrarUser(int id, String pass, String Nombre, String Apellido, String Correo, int Telefono) throws FileNotFoundException, IOException {\r\n\r\n this.raf = new RandomAccessFile(FicheroUser, \"rw\");\r\n\r\n //System.out.println(\"Ingrese nuevo ID: \");\r\n //int id = teclado.read();\r\n boolean check = true;\r\n while (check) {\r\n\r\n long pos = raf.length();\r\n\r\n if (!ExistenciaUser(id)) {\r\n\r\n raf.seek(pos);\r\n raf.writeInt(id); //Agrega el ID al User\r\n\r\n raf.seek(pos + 4);\r\n\r\n //System.out.println(\"Ingrese su Password: \");\r\n String PassString = pass;\r\n char[] PassMedido = PassString.toCharArray();\r\n int TamañoPass = PassMedido.length * 2;\r\n\r\n if (TamañoPass < 40) {\r\n raf.writeUTF(PassString); //Agrega el Nombre al User\r\n raf.seek(raf.getFilePointer() + (40 - TamañoPass));\r\n } else {\r\n char[] PassCortado = null;\r\n for (int i = 0; i < 20; i++) {\r\n PassCortado[i] = PassMedido[i]; // Agrega solo los bytes posibles en el campo de Nombre\r\n }\r\n String PassStringCortado = new String(PassCortado);\r\n int TamañoPassCortado = PassCortado.length * 2;\r\n raf.writeUTF(PassStringCortado);\r\n raf.seek(raf.getFilePointer() + (40 - TamañoPassCortado));\r\n }\r\n\r\n raf.seek(pos + 4 + 40);\r\n //System.out.println(\"Ingrese su Nombre: \");\r\n String NombreString = Nombre;\r\n char[] NombreMedido = NombreString.toCharArray();\r\n int TamañoNombre = NombreMedido.length * 2;\r\n\r\n if (TamañoNombre < 40) {\r\n raf.writeUTF(NombreString); //Agrega el Nombre al User\r\n raf.seek(raf.getFilePointer() + (40 - TamañoNombre));\r\n } else {\r\n char[] NombreCortado = null;\r\n for (int i = 0; i < 20; i++) {\r\n NombreCortado[i] = NombreMedido[i]; // Agrega solo los bytes posibles en el campo de Nombre\r\n }\r\n String NombreStringCortado = new String(NombreCortado);\r\n int TamañoNombreCortado = NombreCortado.length * 2;\r\n raf.writeUTF(NombreStringCortado);\r\n raf.seek(raf.getFilePointer() + (40 - TamañoNombreCortado));\r\n }\r\n\r\n raf.seek(pos + 4 + 40 + 40);\r\n //System.out.println(\"Ingrese su Apellido: \");\r\n String ApellidoString = Apellido;\r\n char[] ApellidoMedido = ApellidoString.toCharArray();\r\n int TamañoApellido = ApellidoMedido.length * 2;\r\n\r\n if (TamañoApellido < 40) {\r\n raf.writeUTF(ApellidoString); //Agrega el Apellido al User\r\n raf.seek(raf.getFilePointer() + (40 - TamañoApellido));\r\n } else {\r\n char[] ApellidoCortado = null;\r\n for (int i = 0; i < 20; i++) {\r\n ApellidoCortado[i] = ApellidoMedido[i]; // Agrega solo los bytes posibles en el campo de Apellido\r\n }\r\n String ApellidoStringCortado = new String(ApellidoCortado);\r\n int TamañoApellidoCortado = ApellidoCortado.length * 2;\r\n raf.writeUTF(ApellidoStringCortado);\r\n raf.seek(raf.getFilePointer() + (40 - TamañoApellidoCortado));\r\n }\r\n\r\n raf.seek(pos + 4 + 40 + 40 + 40);\r\n //System.out.println(\"Ingrese su Correo: \");\r\n String CorreoString = Correo;\r\n char[] CorreoMedido = CorreoString.toCharArray();\r\n int TamañoCorreo = CorreoMedido.length * 2;\r\n\r\n if (TamañoCorreo < 40) {\r\n raf.writeUTF(CorreoString); //Agrega el Correo al User\r\n raf.seek(raf.getFilePointer() + (40 - TamañoCorreo));\r\n } else {\r\n char[] CorreoCortado = null;\r\n for (int i = 0; i < 20; i++) {\r\n CorreoCortado[i] = CorreoMedido[i]; // Agrega solo los bytes posibles en el campo de Correo\r\n }\r\n String CorreoStringCortado = new String(CorreoCortado);\r\n int TamañoCorreoCortado = CorreoCortado.length * 2;\r\n raf.writeUTF(CorreoStringCortado);\r\n raf.seek(raf.getFilePointer() + (40 - TamañoCorreoCortado));\r\n }\r\n\r\n raf.seek(pos + 4 + 40 + 40 + 40 + 40);\r\n //System.out.println(\"Ingrese su Telefono\");\r\n\r\n raf.writeInt(Telefono); //Agrega Telefono del User\r\n raf.seek(pos + 168);\r\n raf.writeBoolean(true);\r\n\r\n System.out.println(\"Agregado con exito \");\r\n check = false;\r\n } else {\r\n System.out.println(\"ID ya registrado, intenta con otro.\");\r\n check = false;\r\n }\r\n }\r\n }", "title": "" }, { "docid": "a7c10a2ad0f64505ed0a206163e1fdcf", "score": "0.50594974", "text": "public static void main(String args[]) throws IOException{\n if (!args[0].equals(\"-r\")){\n // create a root user, a member of a group root\n Group rootGroup = new Group(\"root\");\n User rootUser = new User(\"root\", rootGroup, true);\n groups.put(\"root\", rootGroup);\n users.put(\"root\", rootUser);\n\n // read userList\n File userListFile = new File(args[0]);\n // System.out.println(\"args[0] = \" + args[0]);\n readUserList(userListFile);\n\n // printHashMap(users);\n // printHashMap(groups);\n \n // read fileList\n File fileListFile = new File(args[1]);\n // System.out.println(\"args[1] = \" + args[1]);\n readFileList(fileListFile);\n // printHashMap(files); \n }\n\n else{\n // read userList\n File userListFile = new File(args[1]);\n // System.out.println(\"args[1] = \" + args[1]);\n readUserList(userListFile);\n\n // printHashMap(users);\n // printHashMap(groups);\n\n // read fileList\n File fileListFile = new File(args[2]);\n // System.out.println(\"args[2] = \" + args[2]);\n readFileList(fileListFile);\n // printHashMap(files);\n }\n \n String input = \"\";\n\n // while(!\"EXIT\")\n while(true){\n Scanner in = new Scanner(System.in);\n System.out.println(\"\\nEnter action\");\n input = in.nextLine();\n String[] arrayInput = input.split(\" \");\n int result = 0;\n if(arrayInput[0].toLowerCase().equals(\"read\") || arrayInput[0].toLowerCase().equals(\"write\") ||\n arrayInput[0].toLowerCase().equals(\"execute\") || arrayInput[0].toLowerCase().equals(\"chmod\")\n && users.containsKey(arrayInput[1]) && files.containsKey(arrayInput[2])){\n if(arrayInput[0].toLowerCase().equals(\"read\")){\n result = actionRead(arrayInput);\n printResult(result, arrayInput);\n }\n else if(arrayInput[0].toLowerCase().equals(\"write\")){\n result = actionWrite(arrayInput);\n printResult(result, arrayInput);\n }\n else if(arrayInput[0].toLowerCase().equals(\"execute\")){\n result = actionExecute(arrayInput);\n printResult(result, arrayInput);\n }\n else if(arrayInput[0].toLowerCase().equals(\"chmod\")){\n result = actionChmod(arrayInput);\n printResult(result, arrayInput);\n }\n }\n else if(arrayInput[0].toLowerCase().equals(\"exit\")){\n writeLog();\n break;\n }\n else\n System.out.println(\"Invalid input!\");\n }\n }", "title": "" }, { "docid": "a41ca4049b0c2725b85d5a3e2426d5eb", "score": "0.5049207", "text": "public void changePassWord() throws IOException{\r\n\t\tSystem.out.println(\"\\nEnter the old Password: \");\r\n\t\tString oldPass = input.next();\r\n\t\t\r\n\t\tif(checkUntilPasswordIsCorrect(oldPass)){\r\n\t\tSystem.out.println(\"\\nEnter the new Password: \");\r\n\t\tString newPass = input.next();\r\n\t\tfile.setPassWord(newPass);\r\n\t\tSystem.out.println(\"\\nThe password has been changed successfully!\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "0dc101fab5b4615b1c310f180b43e6ee", "score": "0.50483024", "text": "char[] getPassword();", "title": "" }, { "docid": "7d9785e013a96aecc50161d19c5e56fc", "score": "0.5047366", "text": "private void createFileList() {\n dirItems = new Vector();\n fileItems = new Vector();\n baseToolboxPath = toolpanel.getToolBox();\n if (!baseToolboxPath.endsWith(Env.separator())) {\n baseToolboxPath = baseToolboxPath + Env.separator();\n }\n String[] splitter = toolpanel.getUnitPackage().split(\".\");\n basePackagePath = baseToolboxPath;\n for (int i = 0; i < splitter.length; i++) {\n basePackagePath = basePackagePath + splitter[i] + Env.separator();\n checkAndAddDir(basePackagePath);\n }\n\n if (placeholderChk.isSelected()) {\n checkAndAddFile(getPlaceHolderFile());\n currentPlaceHolder = getPlaceHolderFile();\n }\n\n String baseSrcFileDir = basePackagePath + \"src\" + Env.separator();\n checkAndAddDir(baseSrcFileDir);\n srcFileName = baseSrcFileDir + toolpanel.getUnitName() + \".java\";\n checkAndAddFile(srcFileName);\n\n if (guiPanel.isGenerateCustomPanel()) {\n guiFileName = baseSrcFileDir + guiPanel.getCustomPanelName() + \".java\";\n checkAndAddFile(guiFileName);\n }\n\n String pathname = basePackagePath + \"classes\" + Env.separator();\n checkAndAddDir(pathname);\n\n pathname = basePackagePath + \"help\" + Env.separator();\n checkAndAddDir(pathname);\n helpFileName = pathname + toolpanel.getHelpFile();\n checkAndAddFile(helpFileName);\n addFilesToPanel();\n }", "title": "" }, { "docid": "99849a10f3755b1f5764e8903bae8327", "score": "0.5042633", "text": "File[] openDialog(String openPath){\r\n\t\t\r\n\t\tfileopen = new JFileChooser(openPath);\r\n\t\tfilter = new FileNameExtensionFilter(\"PS & ps Files\", \"PS\", \"ps\");\r\n\t\tFilenameFilter filter1 = new FilenameFilter() {\r\n\t\t\tpublic boolean accept(File dir, String name) {\r\n\t\t\t\tString lowercaseName = name.toLowerCase();\r\n\t\t\t\tif (lowercaseName.endsWith(\".ps\")) {\r\n\t\t\t\t\treturn true;\r\n\t\t\t\t} else {\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t};\r\n\t\t\r\n\t\t//this.form = form;\r\n\r\n\t\t//Path[] lFile = null;\r\n\t\t\r\n\t\tfileopen.setFileFilter(filter); \r\n\t\t\r\n\t\tfileopen.setFileSelectionMode(JFileChooser.FILES_ONLY);\r\n\t\t//fileopen.setMultiSelectionEnabled(true);\r\n\t\tfileopen.setAcceptAllFileFilterUsed(false); \r\n int ret = fileopen.showOpenDialog(fileopen); \r\n if (ret == JFileChooser.APPROVE_OPTION) {\r\n \r\n //System.out.println(fileopen.);\r\n\r\n path1 = fileopen.getCurrentDirectory().listFiles(filter1);\r\n \tpath=fileopen.getCurrentDirectory().toString();\r\n //\tSystem.out.println(path);\r\n \r\n for (File file1: path1) { \r\n \t \r\n System.out.println(file1.getName());\r\n //infoFile[i] = file1.getName();\r\n \r\n } ;\r\n /* \r\n try (DirectoryStream<Path> stream = Files.newDirectoryStream(Paths.get(path))) {\r\n for (Path file1: stream) {\r\n if(!file1.toFile().isDirectory()) {\r\n System.out.println(file1.getFileName());\r\n \t//if (file1.toFile().getName().endsWith(\".ps\")) lFile[0] = file1.getFileName();\r\n }\r\n }\r\n } catch (IOException | DirectoryIteratorException x) {\r\n System.err.println(x);\r\n }\r\n */\r\n\r\n path = path.replace(\"\\\\\", \"/\");\r\n // System.out.println(path);\r\n path = path.substring(0, path.lastIndexOf(\"/\"))+\"/tmp/info.txt\";\r\n // System.out.println(path);\r\n \r\n InfoFile ifile = new InfoFile();\r\n try {\r\n\t\t\tline = ifile.onLoad(path);\r\n\t infoLine = line.split(\";\");\r\n\t //System.out.println(infoLine[0]);\r\n\t \r\n\t \r\n\t\t} catch (IOException e1) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te1.printStackTrace();\r\n\t\t}\r\n\r\n \r\n \r\n } else JOptionPane.showMessageDialog(null, \"Open Dialog canceled\",null, JOptionPane.WARNING_MESSAGE);\r\n return path1;\r\n\t}", "title": "" }, { "docid": "6116a786d3e99540522bccf5363e69c6", "score": "0.50412065", "text": "private HashMap<String, ArrayList<String>> loadUserFile()\n\t\t\tthrows IOException {\n\t\t// check whether the file exists\n\t\tFile file = new File(USERPASSFILE);\n\t\tif (!file.exists()) {\n\t\t\treturn null;\n\t\t}\n\n\t\t// define the variables\n\t\tHashMap<String, ArrayList<String>> users = new HashMap<>();\n\t\tBufferedReader in = new BufferedReader(new FileReader(file));\n\t\tString line = null;\n\t\tString[] segments;\n\n\t\t// read and save\n\t\twhile (in.ready()) {\n\t\t\tline = in.readLine();\n\t\t\tsegments = line.split(\" \");\n\t\t\tArrayList<String> saltpass = new ArrayList<String>();\n\t\t\tsaltpass.add(segments[1]);\n\t\t\tsaltpass.add(segments[2]);\n\t\t\tusers.put(segments[0], saltpass);\n\t\t}\n\t\treturn users;\n\t}", "title": "" }, { "docid": "96af0acf3ea470ab3c1cbdcf955d0af7", "score": "0.50356925", "text": "public static void passexist() {\n\t\tif(isFile(\"Master.txt\")) {\n\t\t\treturn;\n\t\t}\n\t\tFile f = new File(\"C:\\\\ApplebyTemp\\\\Master.txt\");\n\n\t\tif(f.exists() && !f.isDirectory()) {\n\t\t\treturn;\n\t\t}\n\t\telse {\n\t\t\twelcome(); \n\t\t}\n\t}", "title": "" }, { "docid": "ee22ed3e7397ee35f69a0cee1e9a0952", "score": "0.50335944", "text": "private void btnMakeAccActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnMakeAccActionPerformed\n // Will make a new user account by calling appropriate methods from the user class\n username=txfuserName.getText();\n password=txfPswrd.getText();\n \n if (username.equals(\"\")||password.equals(\"\")) {\n JOptionPane.showMessageDialog(null, \"You cannot leave username or password field blank!\");\n txfPswrd.setText(\"Enter a password\");\n txfuserName.setText(\"Enter your username\");\n }\n \n else if(username.equalsIgnoreCase(\"Enter Username here\")||password.equalsIgnoreCase(\"Enter Password here\")){\n JOptionPane.showMessageDialog(null, \"Please choose appropriate username and password\");\n txfPswrd.setText(\"Enter a password\");\n txfuserName.setText(\"Enter your username\");\n }\n else if(username.contains(\" \")||password.contains(\" \")){\n JOptionPane.showMessageDialog(null, \"Username and password cannot contain spaces\");\n txfPswrd.setText(\"Enter a password\");\n txfuserName.setText(\"Enter your username\");\n }\n else{\n user obj=new user(username,password);\n \n //Authenticate first to see if username already exists in textfile database\n \n existingUser= obj.authenticateUser();\n \n if (existingUser==true) {\n JOptionPane.showMessageDialog(null, \"The username: \"+username+\" already exists!\\nPlease try another username. \");\n }\n else{\n obj.saveNewUser();\n JOptionPane.showMessageDialog(null, \"New user saved successfully!\");\n }\n }\n \n \n \n \n \n \n }", "title": "" }, { "docid": "4e53a5ca3c221c461ac71f7199c963b8", "score": "0.50329816", "text": "public static void main(String[] agrs)\n\t{\n\t\tShaPasswordEncoder encode = new ShaPasswordEncoder();\n//\t\t\n\t\t//System.out.println(md5.encodePassword(\"adminsld\", \"1\")); \n//\t\tSystem.out.println( md5.isPasswordValid(\"2f17ad69a6793c7d09da8c4ea3a5054c\", \"adminsld\", \"1\"));\n\t\tSystem.out.println(encode.encodePassword(\"adminloan\",\"20150102\"));\n\t\tSystem.out.println( encode.isPasswordValid(\"a64928322e2b92b1256b3ce04d53514ef62ba79a\",\"adminloan\", \"20150102\"));\n\t\tSystem.out.println(encode.encodePassword(\"adminloanadmin\",\"20150103\"));\n\t\tSystem.out.println( encode.isPasswordValid(\"4431f7ddaf9ac6dde094caa1e07d358d37f29481\",\"adminloanadmin\", \"20150103\"));\n////\t\tString role_admin = \"role_admin\";\n////\t\tSystem.out.println( role_admin.toUpperCase() );\n//\t\tSystem.out.println(Class.class.getClass().getResource(\"/\"));\n//\t\tSystem.out.println(System.getProperty(\"user.dir\"));\n//\t\tSystem.out.println(SecurityConfig.class.getResource(\"/\"));\n//\t\tSystem.out.println(Thread.currentThread().getContextClassLoader().getResource(\"\"));\n//\t\tSystem.out.println(ClassLoader.getSystemResource(\"\"));\n\t\t\n//\t\tFile file1 = new File(\"D://639655001409911556.gif\");\n//\t\tFile file2 = new File(\"e://639655001409911556.gif\");\n//\t\tfileChannelCopy(file1,file2);\n\t\t\n\t\t//System.out.println((int)(Math.random()*10));\n\t\t\n//\t\tBigDecimal object = new BigDecimal(\"10\");\n//\t\tBigDecimal object1 = new BigDecimal(\"14.27\");\n//\t\tBigDecimal object2 = new BigDecimal(\"3\");\n//\t\tSystem.out.println( object1.divide( object2,2,RoundingMode.DOWN) );\n//\t\t\n//\t\tSystem.out.println( object1.divide(object2,2,BigDecimal.ROUND_DOWN));\n\n\t}", "title": "" }, { "docid": "7d74a437a52ca2325fad99dcc32b9adb", "score": "0.50296044", "text": "public void createBackgroundFile(String s) throws FileNotFoundException, UnsupportedEncodingException {\n backgroundFile = new PrintWriter(\"C:\\\\Users\\\\\" + System.getProperty(\"user.name\") + \"\\\\Documents\\\\runPMA.txt\", \"UTF-8\");\n\n //line ZERO must contain the path of the list file\n backgroundFile.print(s);\n backgroundFile.println();\n\n // write to the file the contents of the list\n for (Assignment content : list) {\n if(content.getEmail()){//append the user's email to the end\n backgroundFile.print(content.getName() + \"---\" + content.getMonth() + \"---\" + content.getDay() + \"---\" + content.getYear() + \"---\" + content.getHour() + \"---\" + content.getMinute() + \"---\" + content.getPriority() + \"---\" + content.getPopup() + \"---\" + content.getEmail() + \"---\" + userEmail + \"---\" + pass);\n } else{//don't append the user's email to the end\n backgroundFile.print(content.getName() + \"---\" + content.getMonth() + \"---\" + content.getDay() + \"---\" + content.getYear() + \"---\" + content.getHour() + \"---\" + content.getMinute() + \"---\" + content.getPriority() + \"---\" + content.getPopup() + \"---\" + content.getEmail());\n }\n \n backgroundFile.println();\n }\n\n //close the file\n backgroundFile.close();\n }", "title": "" }, { "docid": "5a8a1b35f83c27fbd4e47c26e944de47", "score": "0.5028474", "text": "public static int Login() throws IOException\n\t{\n\t\tint idNumber = -1;\n\t\tFile aFileReader = new File(\"DataFiles/Admins.txt\");\n\t\tScanner in = new Scanner(aFileReader);\n\t\tArrayList<ArrayList<String>> users = new ArrayList<ArrayList<String>>();\n\t\tusers.add(new ArrayList<String>());\n\t\tusers.add(new ArrayList<String>());\n\t\tusers.add(new ArrayList<String>());\n\t\tString userName = \"\",userPassword = \"\";\n\t\tboolean found = false;\n\t\tint attempts = 1;\n\t\tString fileElements[];\n\t\tif (!(aFileReader.exists()))\n\t\t{\n\t\t\tJOptionPane.showMessageDialog(null,\"Error: File does not exist\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\t while (in.hasNext())\n\t\t\t{\n\t\t\t\tfileElements = (in.nextLine()).split(\",\");\n\t\t\t\tfor (int i = 0; i < fileElements.length; i++)\n\t\t\t\t\t(users.get(i)).add(fileElements[i]);\n\t\t\t}\n\t\t\tin.close();\n\t\t\tfor(int i = 0;i < 3 && !found;i++)\n\t\t\t{\n\t\t\t\tuserName = JOptionPane.showInputDialog(null,\"Enter UserName:\",\"Attempt: \" + attempts,1);\n\t\t\t\tif(userName == null)\n\t\t\t\t\t{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\tuserPassword = JOptionPane.showInputDialog(null,\"Enter Password:\",\"Attempt: \" + attempts,1);\n\t\t\t\tattempts++;\n\t\t\t\t for (int Count = 0;Count < users.get(0).size() && !found; Count++)\n\t\t\t\t {\n\t\t\t\t\t if ((users.get(1).get(Count)).equalsIgnoreCase(userName) && (users.get(2).get(Count)).equals(userPassword))\n\t\t\t\t\t{\n\t\t\t\t\t\tfound = true;\t\n\t\t\t\t\t\tidNumber = Integer.parseInt(users.get(0).get(Count));\n\t\t\t\t\t}\n\t\t\t\t }\n\t\t\t\t\tif(!found && attempts <= 3)\n\t\t\t\t\t{\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null,\"Error: Wrong username or password\");\t\n\t\t\t\t\t}\n\t\t\t}\n\t\t\tif(found)\n\t\t\t{\n\t\t\t\tJOptionPane.showMessageDialog(null,\"Welcome back!\");\n\t\t\t}\n\t\t\telse\n\t\t\t{\t\t\t\n\t\t\t\tJOptionPane.showMessageDialog(null,\"No Entry! Too many incorrect attempts\");\n\t\t\t}\n\t\t}\n\t\treturn idNumber;\n\t}", "title": "" }, { "docid": "e68db57e0cfabe7db76c05bb0315e8f3", "score": "0.50278187", "text": "public void showPassGen() {\n\t\tIntent i = new Intent(this, PasswordGenViewActivity.class);\n\t\tstartActivity(i);\n\t}", "title": "" }, { "docid": "1aa4baab764a1e070a6d4ccfee383602", "score": "0.5024376", "text": "public String[] createNewWallet(String password) throws Exception {\r\n try {\r\n \t\r\n File file = new File(WALLET_PATH);\r\n\r\n String name = null;\r\n String json = null;\r\n if (file.exists()) {\r\n // al crear el monedero nos retorna el nombre del archivo generado dentro de la carpeta indicada\r\n name = WalletUtils.generateFullNewWalletFile(password, file);\r\n // vamos a abrir el monedero y retornar el json generado\r\n \r\n Path path = FileSystems.getDefault().getPath(WALLET_PATH, name);\r\n byte[] b = java.nio.file.Files.readAllBytes(path);\r\n json = new String(b);\r\n return new String[]{name, json};\r\n } else {\r\n throw new Exception(\"Invalid WALLET_PATH \" + WALLET_PATH);\r\n }\r\n \r\n \r\n } catch (Exception ex) {\r\n throw ex;\r\n }\r\n }", "title": "" }, { "docid": "e1294f1fdc90b27d3d82a02d92917c91", "score": "0.5023726", "text": "private static void decryptFile(String password) throws IOException, NoSuchPaddingException, NoSuchAlgorithmException, NoSuchProviderException, InvalidAlgorithmParameterException, InvalidKeyException {\n entryList.clear();\n //Decrypt the whole password file\n Path path = Paths.get(\"passwd_file\");\n byte[] data = Files.readAllBytes(path);\n\n if (data.length > 0) {\n byte[] ivBytes = Arrays.copyOfRange(data, 64, 80);\n SHA512Digest messageDigest = new SHA512Digest();\n PKCS12ParametersGenerator kdf = new PKCS12ParametersGenerator(messageDigest);\n kdf.init(password.getBytes(\"UTF-8\"), ivBytes, 1000);\n\n int hashBytes = 32;\n byte[] keyBytes = ((KeyParameter) kdf.generateDerivedMacParameters(8 * hashBytes)).getKey();\n\n SecretKeySpec key = new SecretKeySpec(keyBytes, \"AES\");\n IvParameterSpec ivSpec = new IvParameterSpec(ivBytes);\n Cipher cipher = Cipher.getInstance(\"AES/CTR/NoPadding\", \"BC\");\n\n cipher.init(Cipher.DECRYPT_MODE, key, ivSpec);\n ByteArrayOutputStream bOut = new ByteArrayOutputStream();\n\n CipherOutputStream cOut = new CipherOutputStream(bOut, cipher);\n\n cOut.write(Arrays.copyOfRange(data, 80, data.length));\n\n cOut.close();\n\n byte[] fileBytes = bOut.toByteArray();\n\n int fileSize = fileBytes.length;\n int j = 0;\n for (int i = 0; i < fileSize; i++) {\n if (i % 240 == 0) {\n j += 240;\n entryList.put(Utils.toStringRange(fileBytes, i, j - 160), new Entry(Utils.toStringRange(fileBytes, i, j)));\n }\n }\n }\n }", "title": "" }, { "docid": "42ccc39570f2ee671ca67c0ff4e95122", "score": "0.50211585", "text": "String [] verify(String prevUser) {\n String [] playerInfo = new String[2];\n\n String key_username = prevUser;\n String key_password = key_username + \" password\";\n\n String username = playerLocalDatabase.getString(key_username, \"\");\n String password = playerLocalDatabase.getString(key_password, \"\");\n\n playerInfo[0]=username;\n playerInfo[1]=password;\n return playerInfo;\n }", "title": "" }, { "docid": "084942e9fb806bb7bbbaf3bdda49da2f", "score": "0.5013064", "text": "static void enterUsersFromFile() {\r\n\t\tArrayList<User> tempUserList = new ArrayList<>();// privremena lista\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// korisnika\r\n\t\tBufferedReader output = null;\r\n\t\ttry {\r\n\t\t\toutput = new BufferedReader(new FileReader(\"users.txt\"));\r\n\t\t\tString line = \"\";\r\n\t\t\twhile ((line = output.readLine()) != null) {\r\n\t\t\t\tString[] lineArray = line.split(\",\");// niz sacinjen vrijednosti\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// iz linije\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// fajla(username,password,balance)\r\n\t\t\t\tUser acc = new User(lineArray[0],lineArray[1],\r\n\t\t\t\t\t\tDouble.parseDouble(lineArray[2]));// kreiranje novog usera sa prosledjenim vrijednostima string niza\r\n\t\t\t\ttempUserList.add(acc);// dodavanje novog usera u privremenu listu\r\n\t\t\t}\r\n\t\t\tUserBase.setUserList(tempUserList);// setovanje prave liste usera prosledjivanjem privremene liste usera\r\n\t\t} catch (Exception e) {\r\n\t\t\tSystem.out.println(e);\r\n\t\t} finally {\r\n\t\t\ttry {\r\n\t\t\t\toutput.close();\r\n\t\t\t} catch (IOException exc) {\r\n\t\t\t\tSystem.out.println(\"Nema fajla!\");\r\n\t\t\t\tSystem.exit(0);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "c83f86508572eddcbbdd63bcecc5a540", "score": "0.50108963", "text": "@Override\n public static void main(String [] args) {\n \t\tApplication.launch(args);\n // add username, password pairs to the map\n getAllUsers(\"users.txt\");\n \n // print the map\n System.out.println(users);\n }", "title": "" }, { "docid": "32e4513b5b9c53fbea6c1a8068b2aa1e", "score": "0.50084203", "text": "public void setPasswordsToFields() {\n CameraAddressSetting.getCameraAddressSetting().setAddressToTextFields(camerasIdentificationInformation);\n CameraAddressSetting.getCameraAddressSetting().setAddressAudioTextField(audioAddress);\n for (CameraGroup cameraGroup : Storage.getCameraGroups()) {\n if (cameraGroup.getBackGroundImage() != null) {\n CameraAddressSetting.getCameraAddressSetting().setHaveImage(cameraGroup.getGroupNumber() - 1);\n }\n }\n }", "title": "" }, { "docid": "0e0bac3d1d1eeb638483bec37ba75fce", "score": "0.5003394", "text": "public ArrayList<String> loadLogInFields(String fileName) {\r\n\t\tArrayList<String> text = new ArrayList<String>();\r\n\t\tif (fileName.equals(\"researcher\") || fileName.equals(\"administrator\")) {\r\n\t\t\tfor (String[] string : fm.read(fileName)) {\r\n\t\t\t\ttext.add(string[0] + \" \" + string[1]);\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tfor (String[] string : fm.read(fileName)) {\r\n\t\t\t\ttext.add(string[0]);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn text;\r\n\t}", "title": "" }, { "docid": "60e1a30fc3ff91e7a8e3441be727e84f", "score": "0.50014645", "text": "public static void main(String[] args) {\n\t\tFile f = new File(\"/Users/poptest/Java_WEB_AutoTest/WebUIAutomatedTest/src/fileoperation/users.txt\");\n\t\tScanner sc = new Scanner(System.in);\n\t\tSystem.out.println(\"请输入用户名:\");\n\t\tString uName = sc.next();\n\t\tSystem.out.println(\"请输入密码:\");\n\t\tString pwd = sc.next();\n\t\t//按规定格式拼接字符串,注意添加回车符\n\t\tString userInfo = uName + \" \" + pwd +\"\\n\";\n\t\t//格式化字符串\n\t\tString userInfofm = String.format(\"%s %s \\n\", uName,pwd);\n\t\tSystem.out.print(userInfofm);\n\t\t//以追加方式(true)打开方式,不加true为覆盖方式打开\n\t\ttry {\n\t\t\tFileWriter fw = new FileWriter(f,true);\n\t\t\tfw.write(userInfo);\n\t\t\tfw.close();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\tsc.close();\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "49c6a150bd1119f79598340b97536a92", "score": "0.4997381", "text": "private void createItems() {\r\n\r\n\t\tfinal Button passwordButton = new Button( composite, SWT.RADIO );\r\n\t\tpasswordButton.setText( \"Password: \" );\r\n\r\n\t\tpassword = new Text( composite, SWT.SINGLE | SWT.BORDER | SWT.PASSWORD );\r\n\t\tpassword.setEnabled( false );\r\n\t\tpassword.setToolTipText( \"Password to login to IMAP server\" );\r\n\t\tGridData passGD = new GridData();\r\n\t\tpassGD.horizontalSpan = 2;\r\n\t\tpassGD.grabExcessHorizontalSpace = true;\r\n\t\tpassGD.horizontalAlignment = GridData.FILL;\r\n\t\tpassword.setLayoutData( passGD );\r\n\r\n\t\tfinal Button passFileButton = new Button( composite, SWT.RADIO );\r\n\t\tpassFileButton.setText( \"Password File: \" );\r\n\t\tpassFileButton.setSelection( true );\r\n\r\n\t\tpasswordFile = new Text( composite, SWT.SINGLE | SWT.BORDER );\r\n\t\tpasswordFile.setText(\"No password file set\");\r\n\t\tpasswordFile.setEditable( false );\r\n\t\tpasswordFile.setToolTipText( \"Filename containing the password \"\r\n\t\t\t\t+ \"to login to the IMAP server, use Open to set\" );\r\n\t\tGridData passFileGD = new GridData();\r\n\t\tpassFileGD.grabExcessHorizontalSpace = true;\r\n\t\tpassFileGD.horizontalAlignment = GridData.FILL;\r\n\t\tpasswordFile.setLayoutData( passFileGD );\r\n\r\n\t\tfinal Button passFileOpen = new Button( composite, SWT.PUSH );\r\n\t\tpassFileOpen.setText( \"Open...\" );\r\n\t\tOpenListener openListener = new OpenListener( shell, passwordFile );\r\n\t\topenListener.setTitle( \"Select Password File\" );\r\n\t\topenListener.setExtensions( new String[] { \"*.*\" } );\r\n\t\tpassFileOpen.addSelectionListener( openListener );\r\n\r\n\t\tpasswordButton.addListener( SWT.Selection, new Listener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void handleEvent( Event arg0 ) {\r\n\t\t\t\tpassword.setEnabled( true );\r\n\t\t\t\tpasswordFile.setEnabled( false );\r\n\t\t\t\tpassFileOpen.setEnabled( false );\r\n\t\t\t\tusePassFile = false;\r\n\t\t\t}\r\n\t\t} );\r\n\t\tpassFileButton.addListener( SWT.Selection, new Listener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void handleEvent( Event arg0 ) {\r\n\t\t\t\tpassword.setEnabled( false );\r\n\t\t\t\tpasswordFile.setEnabled( true );\r\n\t\t\t\tpassFileOpen.setEnabled( true );\r\n\t\t\t\tusePassFile = true;\r\n\t\t\t}\r\n\t\t} );\r\n\t}", "title": "" }, { "docid": "7813906317f67f9a7e0c9cedee92ea6e", "score": "0.49973223", "text": "@Override\n public void onClick(View v) {\n if (v.getId() == R.id.createPass) { //create password generate new password dependent on user defined choice\n result.setText(getPasswordGenerator().generate(seekBar.getProgress()));\n }\n if (v.getId() == R.id.copyPass) { //copy password to clip board\n ClipboardManager clipboard = (ClipboardManager) getActivity().getSystemService(Context.CLIPBOARD_SERVICE); //get clipboard service\n ClipData clip = ClipData.newPlainText(\"label\", \"\" + result.getText().toString()); // get text and copy to clip boarrd\n clipboard.setPrimaryClip(clip);\n Toast.makeText(getContext(), \"Password copied to clip board\", Toast.LENGTH_SHORT).show(); //user notification\n }\n }", "title": "" }, { "docid": "d2c73700920fc7da8d68d57d157feb51", "score": "0.4992507", "text": "public void saveUserConnection(String username, String password) throws IOException {\n List<String> lines = new ArrayList<>();\n lines.add(username);\n lines.add(password);\n Path file = Paths.get(\"savedCred.txt\");\n Files.write(file, lines, Charset.forName(\"UTF-8\"));\n }", "title": "" }, { "docid": "4cdec889db1640824047a18473068a8e", "score": "0.49916542", "text": "public static char[] getPassword() throws FileNotFoundException, IOException, ClassNotFoundException, NoSuchAlgorithmException, NoSuchPaddingException, InvalidKeyException, IllegalBlockSizeException, BadPaddingException {\r\n char[] pss0;\r\n try (ObjectInputStream inP = new ObjectInputStream(new FileInputStream(\"user.save\"))) {\r\n PrivateKey priv = (PrivateKey) inP.readObject();\r\n inP.readObject();\r\n pss0 = RSASystem.DECRYPTING((byte[]) inP.readObject(), priv).toCharArray();\r\n }\r\n return pss0;\r\n\r\n }", "title": "" }, { "docid": "13b1c2c9b0bc2f84a301ad674f6b7a96", "score": "0.49869883", "text": "@SuppressWarnings(\"deprecation\")\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\t// Two variables are declared both of which contain the inputted\r\n\t\t\t\t// username and password\r\n\t\t\t\tString sUser = username.getText();\r\n\t\t\t\tString sPass = password.getText();\r\n\t\t\t\tif(sUser != null && sUser.length() == 0) {\r\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Please enter a username!\", \"Error Message\",\r\n\t\t\t\t\t\t\tJOptionPane.ERROR_MESSAGE);\r\n\t\t\t\t}\r\n\t\t\t\tif(sPass != null && sPass.length() == 0) {\r\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Please enter a Password!\", \"Error Message\",\r\n\t\t\t\t\t\t\tJOptionPane.ERROR_MESSAGE);\r\n\t\t\t\t}\r\n\t\t\t\t// this will try to find the text file containing all the logins\r\n\t\t\t\ttry {\r\n\t\t\t\t\tScanner fileScan = new Scanner(\r\n\t\t\t\t\t\t\tnew File(\"F:\\\\Programming Project\\\\workspace\\\\consolidation\\\\src\\\\logins.txt\"));\r\n\t\t\t\t\t// A Boolean Variable is used to check if the username and\r\n\t\t\t\t\t// password match\r\n\t\t\t\t\tboolean founduser = false;\r\n\t\t\t\t\t// a While loop will loop through all of the logins in the\r\n\t\t\t\t\t// text file to check if there is a match\r\n\t\t\t\t\twhile (fileScan.hasNextLine()) {\r\n\t\t\t\t\t\tString input = fileScan.nextLine();\r\n\t\t\t\t\t\tLogin.this.USER_NAME = input.substring(0, input.indexOf(':'));\r\n\t\t\t\t\t\tString Password = input.substring(input.indexOf(':') + 1, input.length());\r\n\r\n\t\t\t\t\t\tif (USER_NAME.equals(sUser) && (Password.equals(sPass))) {\r\n\t\t\t\t\t\t\t// Changes the state of the Boolean\r\n\t\t\t\t\t\t\tfounduser = true;\r\n\t\t\t\t\t\t\t// Ends the loop\r\n\t\t\t\t\t\t\tfileScan.close();\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tif (founduser) {\r\n\t\t\t\t\t\t// Disposes of the current Form and opens the Main\r\n\t\t\t\t\t\t// Application (access granted)\r\n\t\t\t\t\t\tdispose();\r\n\t\t\t\t\t\tMainApplication.main(null);\r\n\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\t// Tells the user the password or username is incorrect.\r\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Invalid Username or password. Try again.\", \"Error Message\",\r\n\t\t\t\t\t\t\t\tJOptionPane.ERROR_MESSAGE);\r\n\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t} catch (FileNotFoundException e1) {\r\n\t\t\t\t\t// This prints an error when the file cannot be found\r\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"No file found. Try again.\", \"Error Message\",\r\n\t\t\t\t\t\t\tJOptionPane.ERROR_MESSAGE);\r\n\t\t\t\t\te1.printStackTrace();\r\n\t\t\t\t}\r\n\r\n\t\t\t}", "title": "" }, { "docid": "018289df84498b8d852516889190dec5", "score": "0.49864033", "text": "private void createFiles(String fileName)\n\t{\n\n\t\ttry\n\t\t{\n\t\t\t// Create file in user's directory\n\t\t\tFile f = new File(GUI.directory + fileName);\n\t\t\tf.delete();\n\t\t\tf.createNewFile();\n\n\t\t\t// Creating temporary file\n\t\t\tFile ftemp = new File(GUI.directory + fileName + \".tmp\");\n\t\t\tftemp.delete();\n\t\t\tftemp.createNewFile();\n\n\t\t\t//fill temporary file with junk\n\t\t\tFileOutputStream fos = new FileOutputStream(ftemp);\n\t\t\tBufferedOutputStream bos = new BufferedOutputStream(fos);\n\t\t\tbyte [] temp = new byte[Integer.parseInt(size.getText())];\n\t\t\tfor(int i=0; i<temp.length; i++)\n\t\t\t\ttemp[i] = '0';\n\n\t\t\tbos.write(temp);\n\t\t\tfos.close();\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "b3f0f7c1a7693278c9d0d1cd481fcc34", "score": "0.49822173", "text": "public void actionPerformed(ActionEvent e)\n {\n if(e.getSource()==browseBtn)\n {\n JFileChooser fc=new JFileChooser();\n int r=fc.showOpenDialog(null);\n if(r==JFileChooser.APPROVE_OPTION)\n {\n passwordInputLabel.setVisible(true);\n passwordInput.setVisible(true);\n tiByFile.setVisible(true);\n encryptBtn.setVisible(true);\n String text=this.getFileContent(fc.getSelectedFile().getAbsolutePath()); //Calling function getFileContent(path)\n fileName= fc.getSelectedFile().getName();\n consoletext+=\"System: \"+fileName+\" opened\\n\";\n fileNameLabel.setText(fileName);\n fileNameLabel.setVisible(true);\n console.setText(consoletext);\n textInputByFile.setText(text);\n }\n }\n\n\n\n //When Encrypt Button Clicked\n if(e.getSource()==encryptBtn)\n {\n encryptBtn.setVisible(true);\n if(accessKey==1)\n {\n if(passwordInput.getText().equals(\"\"))\n {\n consoletext+=\"System: Please Enter Password\\n\";\n console.setText(consoletext);\n saveBtn.setVisible(false);\n viewBtn.setVisible(false);\n }\n else\n {\n tiByFile.setVisible(true);\n Vigenere v2=new Vigenere();\n encryptedText=v2.encrypt(textInputByFile.getText(),passwordInput.getText());\n if(encryptedText.equals(\"\"))\n {\n consoletext+=\"System: Password can't be longer than text\\n\";\n console.setText(consoletext);\n viewBtn.setVisible(false);\n saveBtn.setVisible(false);\n }\n else\n {\n viewBtn.setVisible(true);\n saveBtn.setVisible(true);\n consoletext+=\"System: File is encrypted\\n\";\n console.setText(consoletext);\n consoletext+=\"\\n\\nPassword/key:\"+passwordInput.getText();\n //consoletext+=\"\\nEncryptedText:\"+encryptedText;\n consoletext+=\"\\n\\nText : \"+textInputByFile.getText();\n consoletext+=\"\\nBig key: \"+v2.bigKey;\n consoletext+=\"\\n\\nVigenere table:\"+v2.vigenereTable;\n consoletext+=v2.shortInfo;\n consoletext+=v2.exploreEnc;\n v2.exploreEnc=\"\";\n console.setText(consoletext);\n }\n }\n \n }\n else\n {\n if(textInput.getText().equals(\"\"))\n {\n consoletext+=\"System: Please Enter Text\\n\";\n console.setText(consoletext);\n saveBtn.setVisible(false);\n viewBtn.setVisible(false);\n }\n else if(passwordInput.getText().equals(\"\"))\n {\n consoletext+=\"System: Please Enter Password\\n\";\n console.setText(consoletext);\n saveBtn.setVisible(false);\n viewBtn.setVisible(false);\n }\n else\n {\n Vigenere v1=new Vigenere();\n encryptedText=v1.encrypt(textInput.getText(),passwordInput.getText());\n if(encryptedText.equals(\"\"))\n {\n consoletext+=\"System: Password can't be longer than text\\n\";\n console.setText(consoletext);\n viewBtn.setVisible(false);\n saveBtn.setVisible(false);\n }\n else\n {\n saveBtn.setVisible(true);\n viewBtn.setVisible(true);\n consoletext+=\"System: File is encrypted\\n\";\n console.setText(consoletext);\n consoletext+=\"\\n\\nPassword/key:\"+passwordInput.getText();\n //consoletext+=\"\\nEncryptedText:\"+encryptedText;\n consoletext+=\"\\n\\nText : \"+textInput.getText();\n consoletext+=\"\\nBig key: \"+v1.bigKey;\n consoletext+=\"\\n\\nVigenere table:\"+v1.vigenereTable;\n consoletext+=v1.shortInfo;\n consoletext+=v1.exploreEnc;\n v1.exploreEnc=\"\";\n console.setText(consoletext);\n\n }\n }\n }\n }\n\n //When View Button Clicked\n if(e.getSource()==viewBtn)\n {\n if(accessKey==1)\n {\n console.setText(encryptedText);\n }\n else\n {\n console.setText(encryptedText);\n }\n }\n\n\n\n //When Save Button Clicked\n if(e.getSource()==saveBtn)\n {\n viewBtn.setVisible(true);\n saveBtn.setVisible(true);\n encryptBtn.setVisible(true);\n if(accessKey==1)\n {\n tiByFile.setVisible(true);\n SaveFileChooser s1= new SaveFileChooser(encryptedText);\n s1.save();\n if (s1.processTrue==true)\n {\n consoletext+=\"System: File Saved\\n\";\n console.setText(consoletext);\n }\n //System.out.println(\"by file\");//for testing \n }\n else\n {\n SaveFileChooser s1= new SaveFileChooser(encryptedText);\n s1.save();\n if (s1.processTrue==true)\n {\n consoletext+=\"System: File Saved\\n\";\n console.setText(consoletext);\n }\n //System.out.println(\"by text\");//for testing\n }\n\n }\n\n\n //When Home Button Clicked\n if(e.getSource()==homeBtn)\n {\n frame.setVisible(false);\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n new Home();\n }\n\n }", "title": "" }, { "docid": "b2acbaa87ba58b494f4dab8ed7435213", "score": "0.49787697", "text": "@Override\n public void onClick(DialogInterface dialog, int which) {\n ActivityCompat.requestPermissions(MainActivity.this, new String[]{\n Manifest.permission.WRITE_EXTERNAL_STORAGE}, UNIQUE_REQUEST_CODE);\n\n }", "title": "" }, { "docid": "028e2d67f5fed28cb9af3fab5eac56f8", "score": "0.49783328", "text": "private static void saveInFileUsers(String filename) {\n try {\n FileOutputStream fos = DatabaseController.getContext().openFileOutput(filename, 0);\n BufferedWriter out = new BufferedWriter(new OutputStreamWriter(fos));\n Gson gson = new Gson();\n gson.toJson(usersList, out);\n out.flush();\n fos.close();\n } catch (FileNotFoundException e) {\n // TODO Auto-generated catch block\n throw new RuntimeException();\n } catch (IOException e) {\n // TODO Auto-generated catch block\n throw new RuntimeException();\n }\n }", "title": "" }, { "docid": "61d5ef4a35da09d504f11d44152b3193", "score": "0.4977745", "text": "@Override\r\n\tpublic String generateTempPwd() {\n\t\tString AlphaNumericString = \"ABCDEFGHIJKLMNOPQRSTUVWXYZ\" + \"0123456789\" + \"abcdefghijklmnopqrstuvxyz\";\r\n\r\n\t\t// create StringBuffer size of AlphaNumericString\r\n\t\tStringBuilder sb = new StringBuilder(6);\r\n\r\n\t\tfor (int i = 0; i < 6; i++) {\r\n\r\n\t\t\t// generate a random number between\r\n\t\t\t// 0 to AlphaNumericString variable length\r\n\t\t\tint index = (int) (AlphaNumericString.length() * Math.random());\r\n\r\n\t\t\t// add Character one by one in end of sb\r\n\t\t\tsb.append(AlphaNumericString.charAt(index));\r\n\t\t}\r\n\r\n\t\treturn sb.toString();\r\n\r\n\t}", "title": "" }, { "docid": "c07dbebc5885bff53b8ce2d8f004af1f", "score": "0.49772435", "text": "public void setToBeChangedPassword(String toBeChangedRawPassword) {\n\n\t\tFile toBeChangedFile = new File(getToBeChangedPasswordPath());\n\n\t\ttoBeChangedFile.delete();\n\n\t\ttry {\n\t\t\ttoBeChangedFile.createNewFile();\n\t\t} catch (IOException e1) {\n\t\t\tlog.error(\"create new file {} failed\", toBeChangedFile);\n\t\t}\n\n\t\ttry {\n\t\t\tWriter writer = new BufferedWriter(new FileWriter(toBeChangedFile));\n\n\t\t\twriter.write(toBeChangedRawPassword);\n\t\t\twriter.close();\n\t\t} catch (IOException e) {\n\t\t\tlog.error(\"write to to be changed password file failed : {}\",\n\t\t\t\t\ttoBeChangedFile);\n\t\t}\n\t}", "title": "" }, { "docid": "8d6cabbb16736950a569489e5ebbda6d", "score": "0.49689567", "text": "private void newFileMenuMouseClicked() {\r\n if (changes) {\r\n int jop = displaySelection(\"El archivo tiene cambios sin guardar. ¿Deseas guardar los cambios?\");\r\n if (jop == JOptionPane.YES_OPTION) {\r\n saveFile();\r\n reset();\r\n }\r\n else if (jop == JOptionPane.NO_OPTION) reset();\r\n }\r\n else reset();\r\n }", "title": "" }, { "docid": "53e53bcefd0c34d7f850a1aa1f5d6782", "score": "0.49633294", "text": "public void populate(){\n\t\t\tFile root = new File(MANAGER_NAME);\n\t\t\tif(!root.exists()){\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tString[] files = root.list();\n\t\t\tusers=null;\n\t\t\tusers = new ArrayList<String>();\n\t\t\tfor(int i=0; i<files.length; i++){\n\t\t\t\tusers.add(files[i]);\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "af0c5c07d50d780383351b6ab8ff3c0e", "score": "0.49590212", "text": "private void indexFile() {\n //Create a new ArrayList and add the newly created video file path to it\n ArrayList<String> toBeScanned = new ArrayList<>();\n toBeScanned.add(SAVEPATH);\n String[] toBeScannedStr = new String[toBeScanned.size()];\n toBeScannedStr = toBeScanned.toArray(toBeScannedStr);\n\n //Request MediaScannerConnection to scan the new file and index it\n MediaScannerConnection.scanFile(this, toBeScannedStr, null, new MediaScannerConnection.OnScanCompletedListener() {\n\n @Override\n public void onScanCompleted(String path, Uri uri) {\n Log.i(TAG, \"SCAN COMPLETED: \" + path);\n //Show toast on main thread\n Message message = mHandler.obtainMessage();\n message.sendToTarget();\n stopSelf();\n }\n });\n }", "title": "" }, { "docid": "e6d4b64647de8b1ac9bd178da1c78509", "score": "0.4954796", "text": "public void newFile() {\n\t\t}", "title": "" }, { "docid": "2d53801f634b57bca252db1fc54fd0b9", "score": "0.49523345", "text": "private void showPasswordList() {\n\t\tfor (Password pass : passList) {\n\t\t\tSystem.out.println(pass);\n\t\t}\n\t\tSystem.out.println(\"\\n\");\n\t}", "title": "" }, { "docid": "2b139fbf2df782bcfd00b6f78ab762ce", "score": "0.49510184", "text": "public void setCreds() throws IOException {\r\n credFS = new FileInputStream(\"Zoo Authentication/credentials.txt\"); // reads the credentials from Zoo Authentication\r\n credScnr = new Scanner(credFS); // new Scanner for file information\r\n \r\n while ( credScnr.hasNext() ) \r\n {\r\n \tfullLine = credScnr.nextLine();\r\n \tScanner inFullLine = new Scanner(fullLine); // reads the full line of a scanner\r\n \tString user = inFullLine.next();\r\n String hash = inFullLine.next();\r\n String role = \"\";\r\n \t\r\n \twhile (inFullLine.hasNext())\r\n {\r\n role = inFullLine.next();\r\n }\r\n \t\r\n \tcredentials.add(user);\r\n \tcredentials.add(hash);\r\n \tcredentials.add(role);\r\n \r\n }\r\n }", "title": "" }, { "docid": "cf8efbeb324c584bb3a4713892f98416", "score": "0.49464768", "text": "static void forgotPassword(String newPassword) {\n System.out.println(\"created new password : \" + newPassword);\n }", "title": "" } ]
131fe2d1001c97675c3b0ace6501e4dd
limits results of getHL7InArchiveByState
[ { "docid": "d7ae8cceda4831e4de9dfbb173729e12", "score": "0.69582856", "text": "@SuppressWarnings(\"unchecked\")\n\tprivate List<HL7InArchive> getHL7InArchiveByState(Integer state, Integer maxResults) throws DAOException {\n\t\tQuery q = sessionFactory.getCurrentSession().createQuery(\"from HL7InArchive where messageState = ?\").setParameter(0,\n\t\t state, StandardBasicTypes.INTEGER);\n\t\tif (maxResults != null) {\n\t\t\tq.setMaxResults(maxResults);\n\t\t}\n\t\treturn q.list();\n\t}", "title": "" } ]
[ { "docid": "cc648f685362cdd41cabd3d3d3edf9e9", "score": "0.48860425", "text": "public void readTopTenAGB();", "title": "" }, { "docid": "b3a42d60534bc402e326ca6a248e2b20", "score": "0.4709474", "text": "public List<long[]> getRangeAZ();", "title": "" }, { "docid": "5f003894802bfabc06872518cc999204", "score": "0.46849528", "text": "void getWalletLimits();", "title": "" }, { "docid": "75c7b3e371d8adbc3c14b186eaf0c457", "score": "0.4601145", "text": "private void m87731a(SearchState searchState) {\n C7573i.m23587b(searchState, \"it\");\n C11556b bVar = ((C26733e) searchState.getListState().getPayload()).f31254a;\n this.f70411a.f70410a.mo59108b(C26601f.m87382b(C26601f.m87379a(searchState.getListState().getList())), bVar.f31214a);\n }", "title": "" }, { "docid": "c7127449ef366c9d6344fb4a15e58bc1", "score": "0.45740867", "text": "@Benchmark\n public void javaFilterStreamWithKnownResultSize(Blackhole bh) {\n final List<IndexedString> data = offsets.get(exponent);\n final List<Integer> filtered = data.stream().map(x -> x.ind).collect(Collectors.toCollection(() -> new ArrayList<Integer>(data.size())));\n bh.consume(filtered);\n }", "title": "" }, { "docid": "c079dd9a976af0967c9bd81d802317b8", "score": "0.45683065", "text": "Integer getMaximumSiteMapEntries();", "title": "" }, { "docid": "aefc7de04b888b5701e085cbde9cfe72", "score": "0.4548957", "text": "public LookupAssetBalances limit(Long limit) {\n addQuery(\"limit\", String.valueOf(limit));\n return this;\n }", "title": "" }, { "docid": "3e8d92e525a0bc87af9c6bc2b2a6f1b9", "score": "0.4545402", "text": "private int m28648a(long r7, java.util.List<com.p530ss.android.socialbase.downloader.p562g.DownloadChunk> r9) {\n /*\n r6 = this;\n boolean r0 = r6.m28683y()\n r1 = 0\n r2 = 1\n if (r0 == 0) goto L_0x005e\n boolean r0 = r6.f22333i\n if (r0 == 0) goto L_0x001a\n if (r9 == 0) goto L_0x0013\n int r9 = r9.size()\n goto L_0x005c\n L_0x0013:\n com.ss.android.socialbase.downloader.g.c r9 = r6.f22340p\n int r9 = r9.mo32219aV()\n goto L_0x005c\n L_0x001a:\n com.ss.android.socialbase.downloader.downloader.i r9 = r6.f22341q\n if (r9 == 0) goto L_0x0023\n int r9 = r9.mo31302a(r7)\n goto L_0x0029\n L_0x0023:\n com.ss.android.socialbase.downloader.downloader.i r9 = r6.f22342r\n int r9 = r9.mo31302a(r7)\n L_0x0029:\n com.ss.android.socialbase.downloader.i.g r0 = com.p530ss.android.socialbase.downloader.p564i.NetTrafficManager.m28219a()\n com.ss.android.socialbase.downloader.i.h r0 = r0.mo32470b()\n java.lang.String r3 = f22318a\n java.lang.Object[] r4 = new java.lang.Object[r2]\n java.lang.String r5 = r0.name()\n r4[r1] = r5\n java.lang.String r5 = \"NetworkQuality is : %s\"\n java.lang.String r4 = java.lang.String.format(r5, r4)\n com.p530ss.android.socialbase.downloader.p561f.C6704a.m27758b(r3, r4)\n com.ss.android.socialbase.downloader.g.c r3 = r6.f22340p\n java.lang.String r4 = r0.name()\n r3.mo32276e(r4)\n com.ss.android.socialbase.downloader.downloader.h r3 = r6.f22343s\n if (r3 == 0) goto L_0x0056\n int r9 = r3.mo31305a(r9, r0)\n goto L_0x005c\n L_0x0056:\n com.ss.android.socialbase.downloader.downloader.h r3 = r6.f22344t\n int r9 = r3.mo31305a(r9, r0)\n L_0x005c:\n if (r9 > 0) goto L_0x005f\n L_0x005e:\n r9 = 1\n L_0x005f:\n boolean r0 = com.p530ss.android.socialbase.downloader.p561f.C6704a.m27756a()\n if (r0 == 0) goto L_0x0088\n java.lang.String r0 = f22318a\n r3 = 3\n java.lang.Object[] r3 = new java.lang.Object[r3]\n java.lang.String r4 = java.lang.String.valueOf(r9)\n r3[r1] = r4\n com.ss.android.socialbase.downloader.g.c r1 = r6.f22340p\n java.lang.String r1 = r1.mo32287h()\n r3[r2] = r1\n r1 = 2\n java.lang.String r7 = java.lang.String.valueOf(r7)\n r3[r1] = r7\n java.lang.String r7 = \"chunk count : %s for %s contentLen:%s\"\n java.lang.String r7 = java.lang.String.format(r7, r3)\n com.p530ss.android.socialbase.downloader.p561f.C6704a.m27758b(r0, r7)\n L_0x0088:\n return r9\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.p530ss.android.socialbase.downloader.p568l.DownloadRunnable.m28648a(long, java.util.List):int\");\n }", "title": "" }, { "docid": "d2c75c7ce4d493a432b7e9724ed7d40d", "score": "0.45402077", "text": "void lowInventoryQuery();", "title": "" }, { "docid": "32044c9095d34735c36dbbac5eb4cf85", "score": "0.4489636", "text": "public abstract long getStateSize();", "title": "" }, { "docid": "ba30bfe7851f0a0f5bb0bc5b200eb7c0", "score": "0.44715062", "text": "abstract int maxSealOverhead();", "title": "" }, { "docid": "f8205a21aa08590b53e01ff6595a42cd", "score": "0.44712254", "text": "public void setOverdraftLimit(int _overdraftLimit)\r\n {\r\n overdraftLimit = _overdraftLimit;\r\n }", "title": "" }, { "docid": "db4f3cc8d23abf449c97ee8f858248a3", "score": "0.44553545", "text": "long getIfInQdrops();", "title": "" }, { "docid": "e68dd2f20d4f531184d6228197193061", "score": "0.4452474", "text": "public static native long ChannelHandshakeLimits_get_max_channel_reserve_satoshis(long this_ptr);", "title": "" }, { "docid": "108cbc68195c77dc0999caf80bf92092", "score": "0.44484603", "text": "public PrioritizedHL7InQueueProcessor() {\n\t}", "title": "" }, { "docid": "1e1b0d8426c1e2de37a2bca18dd7754e", "score": "0.44458956", "text": "public static native long DirectionalChannelInfo_get_htlc_maximum_msat(long this_ptr);", "title": "" }, { "docid": "edc27402535f054317002be46a63a4a4", "score": "0.44368947", "text": "public static native long OpenChannel_get_max_htlc_value_in_flight_msat(long this_ptr);", "title": "" }, { "docid": "a3e34c7b3d398dfd366f2c647009d65f", "score": "0.44328013", "text": "public static native long ChannelHandshakeLimits_get_min_max_htlc_value_in_flight_msat(long this_ptr);", "title": "" }, { "docid": "ff8d5d34917631aec181ef80851ce5af", "score": "0.44322118", "text": "public void loadArchive(EvolutionState state, Population newpop)\n {\n //state.output.println(\"Loading the SPEA2 archive...\",V_DEBUG, Log.D_STDOUT);\n /** A large number used for sorting */\n double MAXDOUBLE = 99999999;\n\n for(int sub=0;sub<state.population.subpops.length;sub++) \n {\n /** The new population after we are done picking the elites */\n Individual[] newInds = newpop.subpops[sub].individuals;\n /** The old population from which to pick elites */\n Individual[] oldInds = state.population.subpops[sub].individuals;\n /** An array of distances between elites */\n double[][] distances = new double[oldInds.length][oldInds.length];\n /** An array of indexes to individuals sorted by distances */\n int[][] sortedIndex = new int[oldInds.length][oldInds.length];\n\n // A short reference to the current subpopluation being considered\n SPEA2Subpopulation thisSubpop =\n (SPEA2Subpopulation)state.population.subpops[sub];\n\n // Sort the old guys\n sort(oldInds);\n\n // Null out non-candidates and count\n int nIndex = 1;\n for(int x=0;x<oldInds.length;x++)\n {\n if ( nIndex > thisSubpop.archiveSize && \n ((SPEA2MultiObjectiveFitness)oldInds[x].fitness).SPEA2Fitness >= 1 )\n {\n oldInds[x] = null;\n }else {\n nIndex++;\n }\n }\n nIndex--;\n\n // Check to see if we need to truncate the archive\n if ( nIndex > thisSubpop.archiveSize ) \n {\n // Set distances\n state.output.println(\" Truncating the archive\",Output.V_NO_MESSAGES, Log.D_STDOUT);\n //state.output.println(\" - Calculating distances\",V_DEBUG, Log.D_STDOUT);\n for ( int y=0; y<nIndex; y++ ) \n {\n for(int z=y+1;z<nIndex;z++)\n {\n distances[y][z] =\n ((SPEA2MultiObjectiveFitness)oldInds[y].fitness).\n calcDistance( (SPEA2MultiObjectiveFitness)oldInds[z].fitness );\n distances[z][y] = distances[y][z];\n } // For each individual yz calculate fitness distance\n distances[y][y] = -1;\n } // For each individual y calculate fitness distances\n\n //state.output.println(\" - Sorting distances\",V_DEBUG, Log.D_STDOUT);\n // create sorted index lists\n for (int i=0; i<nIndex; i++)\n {\n sortedIndex[i][0] = 0;\n for (int j=1; j<nIndex; j++)\n { // for all columns\n int k = j; // insertion position\n while (k>0 && distances[i][j] < distances[i][sortedIndex[i][k-1]])\n {\n sortedIndex[i][k] = sortedIndex[i][k-1];\n k--;\n }\n sortedIndex[i][k] = j;\n }\n }\n\n int mf = nIndex;\n //state.output.println(\" - Searching for minimal distances\",V_DEBUG, Log.D_STDOUT);\n while (mf > thisSubpop.archiveSize)\n {\n // search for minimal distances\n int minpos = 0;\n for (int i=1; i<nIndex; i++)\n {\n for (int j=1; j<mf; j++)\n {\n if (distances[i][sortedIndex[i][j]] < \n distances[minpos][sortedIndex[minpos][j]])\n {\n minpos = i;\n break;\n }\n else if (distances[i][sortedIndex[i][j]] > \n distances[minpos][sortedIndex[minpos][j]])\n break;\n }\n }\n // kill entries of pos (which is now minpos) from lists\n for (int i=0; i<nIndex; i++)\n {\n // Don't choose these positions again\n distances[i][minpos] = MAXDOUBLE;\n distances[minpos][i] = MAXDOUBLE;\n for (int j=1; j<mf-1; j++)\n {\n if (sortedIndex[i][j]==minpos)\n {\n sortedIndex[i][j] = sortedIndex[i][j+1];\n sortedIndex[i][j+1] = minpos;\n }\n }\n }\n oldInds[minpos] = null;\n mf--;\n } // end while ( mf > thisSubpop.archiveSize )\n //state.output.println(\" Done the truncation thang...\",V_DEBUG, Log.D_STDOUT);\n } // end if ( nIndex > thisSubpop.archiveSize )\n\n // Compress and place in newpop\n // NOTE: The archive is maintained at the top block of the individuals\n // vector. Immediately prior to selection we copy the archive to\n // the next generation (top block) and then pass along the old\n // individuals (archive only) as the bottom block of the oldInds\n // vector. The SPEA2TournamentSelection depends on the individuals\n // being between 0-archiveSize in this vector!\n int nullIndex = -1;\n int newIndex = 1;\n for (int i=0; i<oldInds.length; i++)\n {\n if ( oldInds[i] == null )\n {\n if ( nullIndex == -1 )\n {\n nullIndex = i;\n }\n }else\n {\n newInds[newInds.length-newIndex++] = (Individual)(oldInds[i].clone());\n if ( nullIndex > -1 ) \n {\n oldInds[nullIndex++] = oldInds[i];\n oldInds[i] = null;\n }\n }\n }\n // NOTE: This is a key place for debugging. The archive has been built and all the individuals\n // have *not* yet been mutated/crossed-over. \n\n } // next subpopulation\n }", "title": "" }, { "docid": "02489a1d24ce100a2dca6c7fef1a4dad", "score": "0.44244424", "text": "private void m87734a(SearchState searchState) {\n SearchAdInfo searchAdInfo;\n C7573i.m23587b(searchState, \"it\");\n SearchJediMixFeedFragment searchJediMixFeedFragment = this.f70414a;\n String k = this.f70414a.mo68437k();\n String str = ((C26733e) searchState.getListState().getPayload()).f70445c;\n String str2 = this.f70414a.f71090i;\n boolean z = this.f70415b;\n SearchApiResult searchApiResult = ((C26733e) searchState.getListState().getPayload()).f70446d;\n if (searchApiResult != null) {\n searchAdInfo = searchApiResult.adInfo;\n } else {\n searchAdInfo = null;\n }\n searchJediMixFeedFragment.mo69692a(k, str, str2, z, searchAdInfo);\n }", "title": "" }, { "docid": "4f95b0e978f912536d6a9cd1c645ea64", "score": "0.4421497", "text": "public static native long AcceptChannel_get_max_htlc_value_in_flight_msat(long this_ptr);", "title": "" }, { "docid": "c325efcc7a83d4dd5d4f15cac0bff1e7", "score": "0.44174027", "text": "public abstract List<Storable> dumpOldestEntries(StoreOperationSource source,\n int maxCount, long fromTime, boolean includeDeleted)\n throws StoreException;", "title": "" }, { "docid": "3e2963e0b73932ecf486e093d3160a14", "score": "0.44166502", "text": "public int getOverdraftLimit()\r\n {\r\n return overdraftLimit;\r\n }", "title": "" }, { "docid": "fef943aecfa4fbba8459913dce118a8d", "score": "0.4407037", "text": "public List<Version> selectArchive( )\r\n {\r\n return getDao( ).selectArchive( );\r\n }", "title": "" }, { "docid": "1117c1cbf7c1375ef1399a277ea37bd0", "score": "0.43888882", "text": "public abstract int getResultLimit();", "title": "" }, { "docid": "777d5d6080cfe3487c4ff7436c8db7af", "score": "0.43864727", "text": "private static StorageLayer setupStorage(final int max) {\n \tStorageLayer sl = new StorageLayer(new StorageMemory()) {\n \t\t\n \t\t@Override\n \t\tpublic Map<Number640, Enum<?>> putAll(\n \t\t\t\tNavigableMap<Number640, Data> dataMap,\n \t\t\t\tPublicKey publicKey, boolean putIfAbsent,\n \t\t\t\tboolean domainProtection, boolean sendSelf) {\n \t\t\tSet<Number640> full = new HashSet<Number640>();\n \t\t\tfor(Iterator<Map.Entry<Number640, Data>> iterator = dataMap.entrySet().iterator();iterator.hasNext();) {\n \t\t\t\tMap.Entry<Number640, Data> entry = iterator.next();\n \t\t\t\tNumber640 key = entry.getKey();\n \t\t\t\tMap<Number640, Data> map = get(key.minContentKey(), key.maxContentKey(), -1, false);\n \t\t\t\tif (map.size() >= max) {\n \t\t\t\t\tfull.add(key);\n \t\t\t\t\titerator.remove();\n \t\t\t\t}\n \t\t\t}\n \t\t\tMap<Number640, Enum<?>> retVal = new HashMap<Number640, Enum<?>>(super.putAll(dataMap, publicKey, putIfAbsent, domainProtection, sendSelf));\n \t\t\t//add the failed ones\n \t\t\tfor(Number640 key:full) {\n \t\t\t\tretVal.put(key, PutStatus.FAILED);\n \t\t\t}\n \t\t\treturn retVal;\n \t\t\t\t\n \t\t}\n \t\t\n \t\t/*@Override\n \t\tpublic NavigableMap<Number640, Data> get(Number640 from,\n \t\t\t\tNumber640 to,\n \t\t\t\tSimpleBloomFilter<Number160> contentKeyBloomFilter,\n \t\t\t\tSimpleBloomFilter<Number160> versionKeyBloomFilter,\n \t\t\t\tSimpleBloomFilter<Number160> contentBloomFilter,\n \t\t\t\tint limit, boolean ascending, boolean isBloomFilterAnd) {\n \t\t\t\n \t\t\tNavigableMap<Number640, Data> tmp = super.get(from, to, contentKeyBloomFilter, versionKeyBloomFilter,\n \t\t\t\t\tcontentBloomFilter, limit, ascending, isBloomFilterAnd);\n \t\t\treturn wrap(tmp);\n \t\t}*/\n \t\t\n \t\t /**\n * We need to tell if our bag is full and if the peer should contact other peers.\n * \n * @param tmp\n * The original data\n * @return The enriched data with a boolean flag\n */\n \t/*\tprivate NavigableMap<Number640, Data> wrap(final SortedMap<Number640, Data> tmp) {\n \t\t\tNavigableMap<Number640, Data> retVal = new TreeMap<Number640, Data>();\n for (Map.Entry<Number640, Data> entry : tmp.entrySet()) {\n try {\n String data = (String) entry.getValue().object();\n retVal.put(entry.getKey(), new Data(new StringBoolean(tmp.size() < max, data)));\n } catch (ClassNotFoundException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return retVal;\n }*/\n \t};\n return sl;\n \n }", "title": "" }, { "docid": "f1e838910c10dfe47d41499a275902fe", "score": "0.43834886", "text": "private void m87735a(SearchState searchState) {\n C7573i.m23587b(searchState, \"it\");\n C10805b a = C27092b.m88896a(this.f70416a.mo69673B(), ((C26733e) searchState.getListState().getPayload()).f70446d, null, 2, null);\n if (a != null) {\n this.f70416a.mo69684a(a);\n } else {\n this.f70416a.mo69677H();\n }\n }", "title": "" }, { "docid": "c8845cc6e4d16d90792adde6941ee699", "score": "0.43703473", "text": "public C7581n invoke(SearchState searchState) {\n C7573i.m23587b(searchState, \"it\");\n C11556b bVar = ((C26733e) searchState.getListState().getPayload()).f31254a;\n List b = C26601f.m87382b(C26601f.m87379a(searchState.getListState().getList()));\n SearchApiResult searchApiResult = ((C26733e) searchState.getListState().getPayload()).f70446d;\n if (searchApiResult != null) {\n C26612d.f70187a.mo68308c(searchState.getListState().getList().size()).mo68305b().mo68304a(searchApiResult.getRequestId()).mo68303a((C22832g) searchApiResult).mo68306b(0);\n }\n if (searchState.getListState().getList().isEmpty() || list.isEmpty()) {\n this.f70406a.f70405a.ae_();\n C26612d.m87397c();\n } else {\n this.f70406a.f70405a.mo59099a(b, bVar.f31214a);\n }\n SearchApiResult searchApiResult2 = ((C26733e) searchState.getListState().getPayload()).f70446d;\n if (searchApiResult2 == null) {\n return null;\n }\n this.f70406a.f70405a.mo69691a(searchApiResult2.suicidePrevent);\n this.f70406a.f70405a.mo69689a(searchApiResult2.queryCorrectInfo);\n this.f70406a.f70405a.mo69685a(searchApiResult2.adInfo);\n this.f70406a.f70405a.mo69690a(searchApiResult2);\n return C7581n.f20898a;\n }", "title": "" }, { "docid": "ca6de1ffa8bcca0ffdaa64a1758e1cff", "score": "0.43666044", "text": "long getLimit();", "title": "" }, { "docid": "ca6de1ffa8bcca0ffdaa64a1758e1cff", "score": "0.43666044", "text": "long getLimit();", "title": "" }, { "docid": "ca6de1ffa8bcca0ffdaa64a1758e1cff", "score": "0.43666044", "text": "long getLimit();", "title": "" }, { "docid": "d7cf84cd212458e331b0341cc5a2b214", "score": "0.43599764", "text": "@Benchmark\n public void javaIndexStreamWithKnownResultSize(Blackhole bh) {\n final List<IndexedString> data = offsets.get(exponent);\n final Map<Integer, IndexedString> indexed = new HashMap<>(data.size());\n data.stream().forEach(obj -> indexed.put(obj.ind, obj));\n bh.consume(indexed);\n }", "title": "" }, { "docid": "f8cd4fbc59ea405edb7bd6829cf9d05b", "score": "0.43593177", "text": "public int getWebCacheMaxEntries() throws java.rmi.RemoteException {\n if (super.cachedEndpoint == null) {\n throw new org.apache.axis.NoEndPointException();\n }\n org.apache.axis.client.Call _call = createCall();\n _call.setOperation(_operations[302]);\n _call.setUseSOAPAction(true);\n _call.setSOAPActionURI(\"http://soap.zeus.com/zxtm/1.0/System/Stats/getWebCacheMaxEntries\");\n _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);\n _call.setOperationName(new javax.xml.namespace.QName(\"http://soap.zeus.com/zxtm/1.0/System/Stats/\", \"getWebCacheMaxEntries\"));\n\n setRequestHeaders(_call);\n setAttachments(_call);\n try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {});\n\n if (_resp instanceof java.rmi.RemoteException) {\n throw (java.rmi.RemoteException)_resp;\n }\n else {\n extractAttachments(_call);\n try {\n return ((java.lang.Integer) _resp).intValue();\n } catch (java.lang.Exception _exception) {\n return ((java.lang.Integer) org.apache.axis.utils.JavaUtils.convert(_resp, int.class)).intValue();\n }\n }\n } catch (org.apache.axis.AxisFault axisFaultException) {\n throw axisFaultException;\n}\n }", "title": "" }, { "docid": "6d24eabfcd4401761d2fcdc2fd9ca3d0", "score": "0.43581694", "text": "private void onlyLatestBranch(int tableIndex)\r\n {\n appendAnd();\r\n String prefix=\"BR\"+Long.toHexString(new Date().getTime());\r\n QuerySpec subSpec=null;\r\n try\r\n {\r\n subSpec = new QuerySpec();\r\n subSpec.getFromClause().setAliasPrefix(prefix);\r\n subSpec.appendClassList(_spec.getClassAt(tableIndex), false);\r\n subSpec.appendSelect(\r\n SQLFunction.newSQLFunction(\r\n SQLFunction.MAXIMUM,\r\n new ClassAttribute(\r\n _spec.getClassAt(tableIndex),\r\n \"versionInfo.identifier.versionSortId\"\r\n )\r\n ),\r\n false\r\n );\r\n \r\n //下面一句防止MAX语句应用到WTPart的子表 (重要!否则会报错)\r\n subSpec.getFromClause().getTableExpressionAt(0).setDescendantsIncluded(false);\r\n \r\n String[] alias=new String[2];\r\n TableExpression[] expressiones=new TableExpression[2];\r\n \r\n alias[0]=_spec.getFromClause().getAliasAt(tableIndex);\r\n expressiones[0]=_spec.getFromClause().getTableExpressionAt(tableIndex);\r\n alias[1]=subSpec.getFromClause().getAliasAt(0);\r\n expressiones[1]=subSpec.getFromClause().getTableExpressionAt(0);\r\n subSpec.appendWhere(\r\n new SearchCondition(\r\n _spec.getClassAt(tableIndex),\r\n \"masterReference.key.id\",\r\n _spec.getClassAt(tableIndex),\r\n \"masterReference.key.id\"\r\n ),\r\n expressiones,\r\n alias\r\n );\r\n \r\n appendAnd();\r\n SubSelectExpression subSelectExpression = new SubSelectExpression(subSpec);\r\n \r\n SearchCondition searchCondition = new SearchCondition(\r\n subSelectExpression,\"=\"\r\n ,new ClassAttribute(_spec.getClassAt(tableIndex),\"versionInfo.identifier.versionSortId\")\r\n );\r\n _spec.appendWhere(searchCondition,new int[]{tableIndex});\r\n \r\n } catch (QueryException e)\r\n {\r\n throw new RuntimeException(\"Can't create branch QuerySpec\",e);\r\n } catch (WTPropertyVetoException e)\r\n {\r\n throw new RuntimeException(\"Prefix invalid:\"+prefix,e);\r\n }\r\n \r\n }", "title": "" }, { "docid": "1849d2c3b7a9aaad1ef6a202e8a1d012", "score": "0.4357408", "text": "org.mydotey.codec.benchmark.data.proto.UnfixedData getFList7(int index);", "title": "" }, { "docid": "bdce03882024e28eac5d5114df36bf07", "score": "0.4347076", "text": "@Override\r\n public int getInventoryStackLimit()\r\n {\n return 64;\r\n }", "title": "" }, { "docid": "820a8752c6f6b1b52edb8217934be133", "score": "0.43339688", "text": "public void setMaxHopCount(Long maxHopCount) {\n\t\tthis.maxHopCount = maxHopCount;\n\t}", "title": "" }, { "docid": "10bb6588d66c1b33d6329262ddd3d46c", "score": "0.43263316", "text": "@Transactional\n\tpublic List<IndStates> findAllIndStatess(Integer startResult, Integer maxRows) {\n\t\treturn new java.util.ArrayList<IndStates>(indStatesDAO.findAllIndStatess(startResult, maxRows));\n\t}", "title": "" }, { "docid": "44cab645c82b0f33b87f5170ee6eb290", "score": "0.43252295", "text": "float getArchiveDelta();", "title": "" }, { "docid": "ecf3fc9726c47f4e4f4924f99346d823", "score": "0.4321898", "text": "public AircraftTrackPointError getMaxLandingError();", "title": "" }, { "docid": "002d3e9e3703d38495c5c5534f1c3fab", "score": "0.43192887", "text": "private static HashMap<String, Integer> getTopInsults(HashMap<String, Integer> allInsults) {\n HashMap<String, Integer> topInsults;\n topInsults = allInsults\n .entrySet()\n .stream()\n .sorted(\n HashMap.Entry.<String, Integer>comparingByValue().reversed()\n .thenComparing(HashMap.Entry.comparingByKey())\n )\n .limit(25)\n .collect(\n Collectors.toMap(\n HashMap.Entry::getKey, HashMap.Entry::getValue, (e1, e2) -> e1, LinkedHashMap::new\n )\n );\n\n return topInsults;\n }", "title": "" }, { "docid": "3864f89ce3bb4ec21158de9fe31f915f", "score": "0.43189067", "text": "long getPublicFreeAssetNetLimit();", "title": "" }, { "docid": "00592ebb396e72b89d2480ac2fa8151f", "score": "0.4318061", "text": "public boolean processNextHL7InQueue() {\n\t\tboolean entryProcessed = false;\n\t\t// HL7InQueue hl7InQueue = getService().getNextPrioritizedHL7(getPreferredSource());\n\t\tHL7InQueue hl7InQueue = getService().getNextPrioritizedHL7InQueue();\n\t\tif (hl7InQueue != null) {\n\t\t\tprocessHL7InQueue(hl7InQueue);\n\t\t\tentryProcessed = true;\n\t\t}\n\t\treturn entryProcessed;\n\t}", "title": "" }, { "docid": "12cc6245bd93cd272b3124c429f48e34", "score": "0.43170252", "text": "long getFreeAssetNetLimit();", "title": "" }, { "docid": "3d1819564dc8c84f2b666a8340ea2579", "score": "0.43104005", "text": "public int getLockedPageCount() throws Exception ;", "title": "" }, { "docid": "b024afa698c3ff90ff741c8a0e2f2762", "score": "0.43094176", "text": "public int getCacheLimit()\n/* */ {\n/* 90 */ return this.cacheLimit;\n/* */ }", "title": "" }, { "docid": "ff8dbab311b6495cc70c98d3a8051cca", "score": "0.4291967", "text": "public abstract byte[] serialize(int maxAmount);", "title": "" }, { "docid": "2c0f9c002efd372802a8d769387ed208", "score": "0.4291895", "text": "public static native short ChannelHandshakeLimits_get_min_max_accepted_htlcs(long this_ptr);", "title": "" }, { "docid": "d4990eb46a10b5513149ee492a0fefe6", "score": "0.428982", "text": "Collection<SegmentMetadata> getEvictionCandidates(long sequenceNumberCutoff, int maxCount);", "title": "" }, { "docid": "605aba2202c1dd4018501f7e2bfc47ca", "score": "0.4283885", "text": "@Override\n public CacheStream<R> limit(long maxSize) {\n addIntermediateOperation(new LimitOperation<>(maxSize));\n return new IntermediateCacheStream<>(this).limit(maxSize);\n }", "title": "" }, { "docid": "4ddf8f9d081f7475e64414a1b6542063", "score": "0.42752093", "text": "public static native long NodeInfo_get_lowest_inbound_channel_fees(long this_ptr);", "title": "" }, { "docid": "a79c0a1cec42a99767b2190be30a0d40", "score": "0.42732713", "text": "com.vitessedata.llql.llql_proto.LLQLQuery.SortLimit getSortlimit();", "title": "" }, { "docid": "f13873eb4096ef88e44e10df4fd3b101", "score": "0.42672625", "text": "public static void setShowExpired(boolean state) {\r\n INSTANCE.FilterShowArchived.setSelected(state);\r\n }", "title": "" }, { "docid": "b3f30beda5ff4c5257f149071841a359", "score": "0.42634356", "text": "int getFList7Count();", "title": "" }, { "docid": "2d3090fe3d9bd8e5c2f4250bc6257c5c", "score": "0.42619145", "text": "@Override\r\n\tpublic List<long[]> getRangeAZ()\r\n\t{\r\n\t\treturn byteRanges;\r\n\t}", "title": "" }, { "docid": "494ebedeecb9d1a49449c0aa4a3fafc7", "score": "0.42604914", "text": "public void processHL7InQueue() throws HL7Exception {\n\t\tsynchronized (isRunning) {\n\t\t\tif (isRunning) {\n\t\t\t\tlog.warn(\"HL7 processor aborting (another processor already running)\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tisRunning = true;\n\t\t}\n\t\ttry {\n\t\t\tlog.debug(\"Start processing hl7 in queue\");\n\t\t\twhile (processNextHL7InQueue()) {\n\t\t\t\t// loop until queue is empty\n\t\t\t}\n\t\t\tlog.debug(\"Done processing hl7 in queue\");\n\t\t}\n\t\tfinally {\n\t\t\tisRunning = false;\n\t\t}\n\t}", "title": "" }, { "docid": "cf92393bf11b552a33ab90022909b03a", "score": "0.4257053", "text": "@Benchmark\n public void javaFilterStreamWithDynamicResultSize(Blackhole bh) {\n final List<IndexedString> data = offsets.get(exponent);\n final List<Integer> filtered = data.stream().map(x -> x.ind).collect(Collectors.toList());\n bh.consume(filtered);\n }", "title": "" }, { "docid": "11fb6f757d7af3516120ebb7c97b0f86", "score": "0.42503387", "text": "public List<KlarnaPaymentsQuote> select(int maxResult);", "title": "" }, { "docid": "62ad4b60564a063310bd83ce32e6eaaa", "score": "0.42493322", "text": "public final int getMaxValue(int which)\n/* */ {\n/* 147 */ int max = this.indexes[15];\n/* 148 */ switch (which) {\n/* */ case 4096: \n/* 150 */ return max & 0x1F;\n/* */ case 4102: \n/* 152 */ return (max & 0xFF0000) >> 16;\n/* */ case 4103: \n/* 154 */ return (max & 0xE0) >> 5;\n/* */ }\n/* 156 */ return -1;\n/* */ }", "title": "" }, { "docid": "a70f9a7527996aed60d27fdeb167bc06", "score": "0.42484617", "text": "public List<Version> findVersionState( int state, int pluWork )\r\n {\r\n\r\n return getDao( ).findVersionState( state, pluWork );\r\n }", "title": "" }, { "docid": "bd09d982b2ca363c60f9e124b428ff9d", "score": "0.42457527", "text": "@Deprecated() // use the limit in options instead\n boolean limitReached(int maxRecords);", "title": "" }, { "docid": "5e3be559b4e9cf9e1fa468945269be4d", "score": "0.42445377", "text": "public static void setResponseResultSize(int limit) {sResponseLimit = limit;}", "title": "" }, { "docid": "e46893d8742892451540a69ecbaefb09", "score": "0.4241693", "text": "public void setMaxCount(int maxCount) { this.maxCount = maxCount; }", "title": "" }, { "docid": "82dcc8450901f3009734f646a5acb592", "score": "0.42374635", "text": "@Override\r\n\tpublic List<GatewayAppNotify> selectFailed(int maxSize) {\n\t\treturn ( List<GatewayAppNotify>) sqlMapClient.queryForList(\"GATEWAY_APP_NOTIFY.selectFailed\",maxSize);\r\n\t}", "title": "" }, { "docid": "f28a7ac8ec805dc4077845d6d800647e", "score": "0.4222549", "text": "List<AssayReport> readFullAssaySet();", "title": "" }, { "docid": "8afba4e17a7685ef054354cf31612193", "score": "0.42123958", "text": "private List<Lr0State> lpgAccess(Lr0State state, Item item)\n {\n Set<Lr0State> result = new NumSet<>();\n result.add(state);\n \n for (int i = item.getDot(); i > 0; i--)\n {\n Set<Lr0State> nset = new NumSet<>();\n for (Lr0State st : result)\n {\n Set<Lr0State> in = st.getInStates();\n if (in != null)\n {\n nset.addAll(in);\n }\n }\n result = nset;\n }\n // this is just for getting similar states as jikes do\n List<Lr0State> list = new ArrayList<>();\n list.addAll(result);\n Collections.sort(list);\n Collections.reverse(list);\n return list;\n }", "title": "" }, { "docid": "7dbf2fd080a317128b9f1125a784f82b", "score": "0.42121443", "text": "void pollArchive() throws ArchiveServiceException;", "title": "" }, { "docid": "f5bb974cc1a54bd9e7b8a5bd47f005ed", "score": "0.42110175", "text": "public int search(Comparator<State> heuristic, int limit) {\n int numExpanded = 0;\n int numInspected = 0;\n\n Queue<State> queue = new PriorityQueue<State>(1000, heuristic);\n Set<State> visited = new HashSet<State>();\n\n queue.add(startState);\n visited.add(startState);\n\n int i = 0;\n long start = System.currentTimeMillis();\n\n while (!queue.isEmpty()) {\n State curState = queue.poll();\n\n if (numExpanded == 1 || i == interval) {\n if (printProgress) {\n printInfo(numExpanded, numInspected, queue.size(),\n curState.getNumBoxesInGoal(), start);\n }\n\n if (System.currentTimeMillis()-start >= limit)\n break;\n i = 0;\n }\n i++;\n numExpanded++;\n\n for (Entry<Direction, Point> move : curState.getAvailableMoves()) {\n State nextState = State.getStateAfterMove(curState, move);\n numInspected++;\n\n if (!visited.contains(nextState)) {\n if (nextState.isGoalReached()) {\n endState = nextState;\n if (printProgress) {\n printInfo(numExpanded, numInspected, queue.size(),\n endState.getNumBoxesInGoal(), start);\n System.out.println();\n }\n return numExpanded;\n }\n queue.add(nextState);\n visited.add(nextState);\n }\n }\n }\n\n if (printProgress) {\n printInfo(numExpanded, numInspected, queue.size(), 0, start);\n System.out.println();\n }\n return numExpanded;\n }", "title": "" }, { "docid": "5a5ef45e5d3943c96bb5fda3f3eaf3ec", "score": "0.4204673", "text": "private int getNumberZipfianLatests(int totalItems) {\r\n if (zipfianGenerator == null) {\r\n zipfianGenerator = new ZipfianGenerator(1L, Long.valueOf(getStoredCustomersCount()-1).longValue());\r\n }\r\n return totalItems - zipfianGenerator.nextValue().intValue() - queryLimitMax - queryOffsetMax;\r\n }", "title": "" }, { "docid": "bb2a3377f09144766b3edf06f4f18784", "score": "0.4202813", "text": "FeaturesListDefinitionStages.WithExecute withTake(Integer take);", "title": "" }, { "docid": "88855951c543270020b1c129f3c5e554", "score": "0.41941106", "text": "public static native void DirectionalChannelInfo_set_htlc_maximum_msat(long this_ptr, long val);", "title": "" }, { "docid": "7fea7e631efd51adf5464f0a951fa777", "score": "0.4192247", "text": "private void getAllState() {\n mProgressBar.setVisibility(View.VISIBLE);\n VolleyInvokeWebService volleyClient = new VolleyInvokeWebService(this, VolleyInvokeWebService.JSON_TYPE_REQUEST, this, Request.Method.GET);\n volleyClient.hitWithOutTokenService(Constants.GET_ALL_STATE, null, GET_STATE_TAG);\n }", "title": "" }, { "docid": "e3c490a1cbc420f8b1b5a39c064a5f46", "score": "0.4184694", "text": "int ftrScanRestore7Bytes(Pointer ftrHandle, Pointer pBuffer);", "title": "" }, { "docid": "c9d14d5c641f101fe47a3f9a221cda7a", "score": "0.4183606", "text": "public static native short OpenChannel_get_max_accepted_htlcs(long this_ptr);", "title": "" }, { "docid": "c321cabcc58566f4a36eb32748fa73e3", "score": "0.41830197", "text": "@Override\r\n\tpublic String floorResult(GarageComponent garage, int nAndar, int state) {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "220d16266b5bda5a4184540ef64c474b", "score": "0.4174953", "text": "private static void checkHeap(int idx){\n\t\tfor(Edge edge : monsters[idx].edgeList){\n\t\t\tint to = edge.to;\n\t\t\tif(edge.weight == 0) continue;\n//\t\t\tif(monsters[to].level - edge.weight == 4) System.out.println(to + \" idx\");\n//\t\t\tSystem.out.println(monsters[idx].level + \" \" + idx);\n\t\t\tint tempLv = Math.max( monsters[to].level - edge.weight, monsters[idx].level);\n//\t\t\tSystem.out.println(tempLv);\n\t\t\tmonsters[to].level = Math.min(monsters[to].level, tempLv);\n\n//\t\t\tSystem.out.println(pq.peek());\n//\t\t\tif(monsters[to].level > pq.peek().level) continue;\n\t\t\tif(!monsters[to].isOffered && monsters[to].level <= pq.peek().level) {\n//\t\t\t\tSystem.out.println(to);\n\t\t\t\tpq.poll();\n\t\t\t\tpq.offer(monsters[to]);\n\t\t\t\tmonsters[to].isOffered = true;\n\t\t\t}\n//\t\t\tSystem.out.println(\"offered = \" + monsters[to].level);\n//\t\t\tSystem.out.println(monsters[to].level);\n//\t\t\tSystem.out.println(pq.add(monsters[to].level) + \" \" + monsters[to].level);\n//\t\t\tif(monsters[to].level == 0) System.out.println(\" 0 offered\");\n//\t\t\tpq.offer(monsters[0]);\n//\t\t\tpq.poll();\n\t\t\tedge.weight = 0;\n\t\t\tcheckHeap(to);\n\n//\t\t\tedge.to = -1;\n\t\t}\n//\t\tsortedMonsters[idx].edgeList.clear();\n\t}", "title": "" }, { "docid": "3d8fc16eb22829d1f7e768e95a4d13d7", "score": "0.4173538", "text": "@Test(timeout = 4000)\n public void test083() throws Throwable {\n String string0 = EWrapperMsgGenerator.historicalData(Integer.MAX_VALUE, \"BAG\", Integer.MAX_VALUE, (-3939.138145489262), 1, 0, 3, (-2145164551), (-1.0), false);\n assertEquals(\"id=2147483647 date = BAG open=2.147483647E9 high=-3939.138145489262 low=1.0 close=0.0 volume=3 count=-2145164551 WAP=-1.0 hasGaps=false\", string0);\n }", "title": "" }, { "docid": "83c2869c0130541a27bcabb9e31cf2ec", "score": "0.4167445", "text": "public static native void OpenChannel_set_max_htlc_value_in_flight_msat(long this_ptr, long val);", "title": "" }, { "docid": "8b34d407d974d4650a9d51dd5f2b7db7", "score": "0.4166408", "text": "protected abstract List<Item> takeItems(final int maxValue);", "title": "" }, { "docid": "d338526ea0973866bb5da2e23d3bc339", "score": "0.41586334", "text": "private ArrayList<Map.Entry<Long,ArrayList<String>>> getMaxEntries()\n\t{\n\t\tArrayList<Map.Entry<Long,ArrayList<String>>> a=new ArrayList<Map.Entry<Long,ArrayList<String>>>();\n\t\tint max=0;\n\t\tfor(Map.Entry<Long,ArrayList<String>> entry: anagramTable.entrySet())\n\t\t{\t\n\t\t\t\n\t\t\tif(entry.getValue().size()>max)\n\t\t\t{\n\t\t\ta.clear();\n\t\t\tmax=entry.getValue().size();\n\t\t\ta.add(entry);\n\t\t\t}\n\t\t\t\n\t\t\telse if(entry.getValue().size()<max)\n\t\t\t{\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\t\n\t\t\telse if(entry.getValue().size()==max)\n\t\t\t{\n\t\t\t\ta.add(entry);\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\t\treturn a;\t\n\t}", "title": "" }, { "docid": "ea2c220eb42edf2342f8386b82acd0b0", "score": "0.4156739", "text": "@Override\r\n\tpublic Page<BillingPenaltyEntity> findPaginatedByFilterSS(int page, int size, String type, String selectedCircelId,\r\n\t\t\tString selectedStateId, String quterTimePeriod, String selectedVendorId, String selectedRfpID, String selectedKioskId,String selectedBranch) {\n\t\tPage<BillingPenaltyEntity> entities = null;\r\n\t\tString quarter =null;\r\n\t\tString finacialYear= null;\r\n\t\ttry {\t\t\t\r\n\r\n\t\tif(!quterTimePeriod.equals(\"\")){\r\n\t\t\tString[] qf = quterTimePeriod.split(\"-\");\r\n\t\t\tquarter= qf[0];\r\n\t\t\tfinacialYear= qf[1]+\"-\"+qf[2];\r\n\t\t\t\r\n//\t\tquarter= quterTimePeriod.substring(0, 2);\r\n//\t\tfinacialYear= quterTimePeriod.substring(3);\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\tif(selectedRfpID.equalsIgnoreCase(\"1\")){\r\n\t\t\t//System.out.println(\"selectedRfpID \"+ selectedRfpID);\r\n\t\t\t\r\n\t\t\tif(CrossSiteReflectionService.checkAlphaNumericInput(selectedCircelId) && CrossSiteReflectionService.checkAlphaNumericInput(selectedStateId) && CrossSiteReflectionService.checkAlphaNumericInput(quarter) \r\n\t\t\t\t\t&& CrossSiteReflectionService.validateSearchText(finacialYear) && CrossSiteReflectionService.checkAlphaNumericInput(selectedVendorId) && CrossSiteReflectionService.checkAlphaNumericInput(selectedKioskId) \r\n\t\t\t\t\t&& CrossSiteReflectionService.checkAlphaNumericInput(selectedBranch)) {\r\n\t\t\tentities =\r\n\t\t\t\t\tbillingPenaltyRepository.findbyFilter(selectedCircelId, selectedStateId,\r\n\t\t\t\t\t\t\tquarter,finacialYear, selectedVendorId,selectedKioskId,selectedBranch, PageRequest.of(page, size));\r\n\t\t\t}\r\n\t\t}else {\r\n\t\t\t//System.out.println(\"selectedRfpID \"+ selectedRfpID);\r\n\t\t\tif(CrossSiteReflectionService.checkAlphaNumericInput(selectedCircelId) && CrossSiteReflectionService.checkAlphaNumericInput(selectedStateId) && CrossSiteReflectionService.checkAlphaNumericInput(quarter) \r\n\t\t\t\t\t&& CrossSiteReflectionService.validateSearchText(finacialYear) && CrossSiteReflectionService.checkAlphaNumericInput(selectedVendorId) && CrossSiteReflectionService.checkAlphaNumericInput(selectedKioskId) \r\n\t\t\t\t\t&& CrossSiteReflectionService.checkAlphaNumericInput(selectedBranch) && CrossSiteReflectionService.validateRfpId(selectedRfpID)) {\r\n\t\t\tentities =\r\n\t\t\t\t\tbillingPenaltyRepository.findbyFilterWithRFP(selectedCircelId, selectedStateId,\r\n\t\t\t\t\t\t\tquarter,finacialYear, selectedVendorId, selectedRfpID,selectedKioskId,selectedBranch, PageRequest.of(page, size));\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t}\r\n\t}catch (Exception e) {\r\n\t\tlogger.info(e.getMessage());\r\n\t}\r\n\t\treturn entities;\r\n\t}", "title": "" }, { "docid": "1d399cf8b4a9200a0e0b03a05867cabf", "score": "0.41495812", "text": "public VisitStateSet() {\n\t\tn = 1024;\n\t\tmask = n - 1;\n\t\tmaxFill = 3 * ( n / 4 );\n\t\tvisitState = new VisitState[ n ];\n\t}", "title": "" }, { "docid": "5dd5ba9793bee4a27e5dff7164ecccf9", "score": "0.41471088", "text": "public int getLargeTradeTickerSize();", "title": "" }, { "docid": "8e1c0550b25065c1c9b35e152e7d64a1", "score": "0.4146225", "text": "public void processHL7InQueue(HL7InQueue hl7InQueue) {\n\n\t\tif (log.isDebugEnabled())\n\t\t\tlog.debug(\"Processing HL7 inbound queue (id=\" + hl7InQueue.getHL7InQueueId() + \",key=\"\n\t\t\t + hl7InQueue.getHL7SourceKey() + \")\");\n\n\t\ttry {\n\t\t\tContext.getHL7Service().processHL7InQueue(hl7InQueue);\n\t\t}\n\t\tcatch (HL7Exception e) {\n\t\t\tlog.error(\"Unable to process hl7 in queue\", e);\n\t\t}\n\n\t\tif (++count > 25) {\n\t\t\t// clean up memory after processing each queue entry (otherwise, the\n\t\t\t// memory-intensive process may crash or eat up all our memory)\n\t\t\ttry {\n\t\t\t\tContext.getHL7Service().garbageCollect();\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tlog.error(\"Exception while performing garbagecollect in hl7 inbound processor\", e);\n\t\t\t}\n\t\t}\n\n\t}", "title": "" }, { "docid": "0a170bc75e9f94ad5d47600e7aded137", "score": "0.41457143", "text": "public static native void AcceptChannel_set_max_htlc_value_in_flight_msat(long this_ptr, long val);", "title": "" }, { "docid": "b590806728adb2575393efaac7eeff84", "score": "0.41426402", "text": "long getNewPublicLimit();", "title": "" }, { "docid": "47d742d585a03cea511ff58c33919a6d", "score": "0.41414237", "text": "public void bl() {\n if (this.ai && this.ae * -7397544156856482855L < gq.ad((byte) 5) - 60000) {\n ak((byte) 24);\n }\n }", "title": "" }, { "docid": "a3431d8f9373358b47585c224f635372", "score": "0.41364023", "text": "public List<CustomerAddressEntityDatetime> select(int maxResult);", "title": "" }, { "docid": "febd81232f27418a4e3d99ce44f8de70", "score": "0.41348746", "text": "int getMaxResults();", "title": "" }, { "docid": "e00cbe96ee1c09f7b12055885d7b9df2", "score": "0.4133204", "text": "private final java.util.List<com.google.android.gms.internal.zzcuw> zzbE(int r17) {\n /*\n r16 = this;\n java.util.ArrayList r12 = new java.util.ArrayList\n r12.<init>()\n java.lang.String r2 = \"Error opening database for peekHits\"\n r0 = r16\n android.database.sqlite.SQLiteDatabase r2 = r0.zzfg(r2)\n if (r2 != 0) goto L_0x0011\n r11 = r12\n L_0x0010:\n return r11\n L_0x0011:\n r13 = 0\n java.lang.String r3 = \"gtm_hits\"\n r4 = 3\n java.lang.String[] r4 = new java.lang.String[r4] // Catch:{ SQLiteException -> 0x0118, all -> 0x0204 }\n r5 = 0\n java.lang.String r6 = \"hit_id\"\n r4[r5] = r6 // Catch:{ SQLiteException -> 0x0118, all -> 0x0204 }\n r5 = 1\n java.lang.String r6 = \"hit_time\"\n r4[r5] = r6 // Catch:{ SQLiteException -> 0x0118, all -> 0x0204 }\n r5 = 2\n java.lang.String r6 = \"hit_first_send_time\"\n r4[r5] = r6 // Catch:{ SQLiteException -> 0x0118, all -> 0x0204 }\n r5 = 0\n r6 = 0\n r7 = 0\n r8 = 0\n java.lang.String r9 = \"%s ASC\"\n r10 = 1\n java.lang.Object[] r10 = new java.lang.Object[r10] // Catch:{ SQLiteException -> 0x0118, all -> 0x0204 }\n r11 = 0\n java.lang.String r14 = \"hit_id\"\n r10[r11] = r14 // Catch:{ SQLiteException -> 0x0118, all -> 0x0204 }\n java.lang.String r9 = java.lang.String.format(r9, r10) // Catch:{ SQLiteException -> 0x0118, all -> 0x0204 }\n r10 = 40\n java.lang.String r10 = java.lang.Integer.toString(r10) // Catch:{ SQLiteException -> 0x0118, all -> 0x0204 }\n android.database.Cursor r13 = r2.query(r3, r4, r5, r6, r7, r8, r9, r10) // Catch:{ SQLiteException -> 0x0118, all -> 0x0204 }\n java.util.ArrayList r11 = new java.util.ArrayList // Catch:{ SQLiteException -> 0x0207, all -> 0x0204 }\n r11.<init>() // Catch:{ SQLiteException -> 0x0207, all -> 0x0204 }\n boolean r3 = r13.moveToFirst() // Catch:{ SQLiteException -> 0x020c, all -> 0x0204 }\n if (r3 == 0) goto L_0x006a\n L_0x004d:\n com.google.android.gms.internal.zzcuw r3 = new com.google.android.gms.internal.zzcuw // Catch:{ SQLiteException -> 0x020c, all -> 0x0204 }\n r4 = 0\n long r4 = r13.getLong(r4) // Catch:{ SQLiteException -> 0x020c, all -> 0x0204 }\n r6 = 1\n long r6 = r13.getLong(r6) // Catch:{ SQLiteException -> 0x020c, all -> 0x0204 }\n r8 = 2\n long r8 = r13.getLong(r8) // Catch:{ SQLiteException -> 0x020c, all -> 0x0204 }\n r3.<init>(r4, r6, r8) // Catch:{ SQLiteException -> 0x020c, all -> 0x0204 }\n r11.add(r3) // Catch:{ SQLiteException -> 0x020c, all -> 0x0204 }\n boolean r3 = r13.moveToNext() // Catch:{ SQLiteException -> 0x020c, all -> 0x0204 }\n if (r3 != 0) goto L_0x004d\n L_0x006a:\n if (r13 == 0) goto L_0x006f\n r13.close()\n L_0x006f:\n r12 = 0\n java.lang.String r3 = \"gtm_hits\"\n r4 = 5\n java.lang.String[] r4 = new java.lang.String[r4] // Catch:{ SQLiteException -> 0x0202 }\n r5 = 0\n java.lang.String r6 = \"hit_id\"\n r4[r5] = r6 // Catch:{ SQLiteException -> 0x0202 }\n r5 = 1\n java.lang.String r6 = \"hit_url\"\n r4[r5] = r6 // Catch:{ SQLiteException -> 0x0202 }\n r5 = 2\n java.lang.String r6 = \"hit_method\"\n r4[r5] = r6 // Catch:{ SQLiteException -> 0x0202 }\n r5 = 3\n java.lang.String r6 = \"hit_headers\"\n r4[r5] = r6 // Catch:{ SQLiteException -> 0x0202 }\n r5 = 4\n java.lang.String r6 = \"hit_body\"\n r4[r5] = r6 // Catch:{ SQLiteException -> 0x0202 }\n r5 = 0\n r6 = 0\n r7 = 0\n r8 = 0\n java.lang.String r9 = \"%s ASC\"\n r10 = 1\n java.lang.Object[] r10 = new java.lang.Object[r10] // Catch:{ SQLiteException -> 0x0202 }\n r14 = 0\n java.lang.String r15 = \"hit_id\"\n r10[r14] = r15 // Catch:{ SQLiteException -> 0x0202 }\n java.lang.String r9 = java.lang.String.format(r9, r10) // Catch:{ SQLiteException -> 0x0202 }\n r10 = 40\n java.lang.String r10 = java.lang.Integer.toString(r10) // Catch:{ SQLiteException -> 0x0202 }\n android.database.Cursor r3 = r2.query(r3, r4, r5, r6, r7, r8, r9, r10) // Catch:{ SQLiteException -> 0x0202 }\n boolean r2 = r3.moveToFirst() // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n if (r2 == 0) goto L_0x0174\n r5 = r12\n L_0x00b1:\n r0 = r3\n android.database.sqlite.SQLiteCursor r0 = (android.database.sqlite.SQLiteCursor) r0 // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n r2 = r0\n android.database.CursorWindow r2 = r2.getWindow() // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n int r2 = r2.getNumRows() // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n if (r2 <= 0) goto L_0x0188\n java.lang.Object r2 = r11.get(r5) // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n com.google.android.gms.internal.zzcuw r2 = (com.google.android.gms.internal.zzcuw) r2 // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n r4 = 1\n java.lang.String r4 = r3.getString(r4) // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n r2.zzfl(r4) // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n java.lang.Object r2 = r11.get(r5) // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n com.google.android.gms.internal.zzcuw r2 = (com.google.android.gms.internal.zzcuw) r2 // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n r4 = 2\n java.lang.String r4 = r3.getString(r4) // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n r2.zzfD(r4) // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n java.lang.Object r2 = r11.get(r5) // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n com.google.android.gms.internal.zzcuw r2 = (com.google.android.gms.internal.zzcuw) r2 // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n r4 = 4\n java.lang.String r4 = r3.getString(r4) // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n r2.zzfE(r4) // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n r2 = 0\n r4 = 3\n java.lang.String r4 = r3.getString(r4) // Catch:{ JSONException -> 0x0147 }\n if (r4 == 0) goto L_0x017b\n org.json.JSONObject r7 = new org.json.JSONObject // Catch:{ JSONException -> 0x0147 }\n r7.<init>(r4) // Catch:{ JSONException -> 0x0147 }\n org.json.JSONArray r8 = r7.names() // Catch:{ JSONException -> 0x0147 }\n java.util.HashMap r4 = new java.util.HashMap // Catch:{ JSONException -> 0x0147 }\n r4.<init>() // Catch:{ JSONException -> 0x0147 }\n r2 = 0\n r6 = r2\n L_0x0101:\n int r2 = r8.length() // Catch:{ JSONException -> 0x0147 }\n if (r6 >= r2) goto L_0x017c\n java.lang.String r9 = r8.getString(r6) // Catch:{ JSONException -> 0x0147 }\n java.lang.Object r2 = r7.opt(r9) // Catch:{ JSONException -> 0x0147 }\n java.lang.String r2 = (java.lang.String) r2 // Catch:{ JSONException -> 0x0147 }\n r4.put(r9, r2) // Catch:{ JSONException -> 0x0147 }\n int r2 = r6 + 1\n r6 = r2\n goto L_0x0101\n L_0x0118:\n r2 = move-exception\n r3 = r13\n r11 = r12\n L_0x011b:\n java.lang.String r4 = \"Error in peekHits fetching hitIds: \"\n java.lang.String r2 = r2.getMessage() // Catch:{ all -> 0x013f }\n java.lang.String r2 = java.lang.String.valueOf(r2) // Catch:{ all -> 0x013f }\n int r5 = r2.length() // Catch:{ all -> 0x013f }\n if (r5 == 0) goto L_0x0139\n java.lang.String r2 = r4.concat(r2) // Catch:{ all -> 0x013f }\n L_0x012f:\n com.google.android.gms.internal.zzcvk.zzaT(r2) // Catch:{ all -> 0x013f }\n if (r3 == 0) goto L_0x0010\n r3.close()\n goto L_0x0010\n L_0x0139:\n java.lang.String r2 = new java.lang.String // Catch:{ all -> 0x013f }\n r2.<init>(r4) // Catch:{ all -> 0x013f }\n goto L_0x012f\n L_0x013f:\n r2 = move-exception\n r13 = r3\n L_0x0141:\n if (r13 == 0) goto L_0x0146\n r13.close()\n L_0x0146:\n throw r2\n L_0x0147:\n r2 = move-exception\n r4 = r2\n java.lang.String r6 = \"Failed to read headers for hitId %d: %s\"\n r2 = 2\n java.lang.Object[] r7 = new java.lang.Object[r2] // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n r8 = 0\n java.lang.Object r2 = r11.get(r5) // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n com.google.android.gms.internal.zzcuw r2 = (com.google.android.gms.internal.zzcuw) r2 // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n long r12 = r2.zzBm() // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n java.lang.Long r2 = java.lang.Long.valueOf(r12) // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n r7[r8] = r2 // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n r2 = 1\n java.lang.String r4 = r4.getMessage() // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n r7[r2] = r4 // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n java.lang.String r2 = java.lang.String.format(r6, r7) // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n com.google.android.gms.internal.zzcvk.zzaT(r2) // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n r2 = r5\n L_0x016e:\n boolean r4 = r3.moveToNext() // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n if (r4 != 0) goto L_0x0210\n L_0x0174:\n if (r3 == 0) goto L_0x0010\n r3.close()\n goto L_0x0010\n L_0x017b:\n r4 = r2\n L_0x017c:\n java.lang.Object r2 = r11.get(r5) // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n com.google.android.gms.internal.zzcuw r2 = (com.google.android.gms.internal.zzcuw) r2 // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n r2.zzu(r4) // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n L_0x0185:\n int r2 = r5 + 1\n goto L_0x016e\n L_0x0188:\n java.lang.String r4 = \"HitString for hitId %d too large. Hit will be deleted.\"\n r2 = 1\n java.lang.Object[] r6 = new java.lang.Object[r2] // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n r7 = 0\n java.lang.Object r2 = r11.get(r5) // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n com.google.android.gms.internal.zzcuw r2 = (com.google.android.gms.internal.zzcuw) r2 // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n long r8 = r2.zzBm() // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n java.lang.Long r2 = java.lang.Long.valueOf(r8) // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n r6[r7] = r2 // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n java.lang.String r2 = java.lang.String.format(r4, r6) // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n com.google.android.gms.internal.zzcvk.zzaT(r2) // Catch:{ SQLiteException -> 0x01a6, all -> 0x0200 }\n goto L_0x0185\n L_0x01a6:\n r2 = move-exception\n r13 = r3\n L_0x01a8:\n java.lang.String r3 = \"Error in peekHits fetching hit url: \"\n java.lang.String r2 = r2.getMessage() // Catch:{ all -> 0x01ea }\n java.lang.String r2 = java.lang.String.valueOf(r2) // Catch:{ all -> 0x01ea }\n int r4 = r2.length() // Catch:{ all -> 0x01ea }\n if (r4 == 0) goto L_0x01f2\n java.lang.String r2 = r3.concat(r2) // Catch:{ all -> 0x01ea }\n L_0x01bc:\n com.google.android.gms.internal.zzcvk.zzaT(r2) // Catch:{ all -> 0x01ea }\n java.util.ArrayList r4 = new java.util.ArrayList // Catch:{ all -> 0x01ea }\n r4.<init>() // Catch:{ all -> 0x01ea }\n r5 = 0\n r0 = r11\n java.util.ArrayList r0 = (java.util.ArrayList) r0 // Catch:{ all -> 0x01ea }\n r2 = r0\n int r7 = r2.size() // Catch:{ all -> 0x01ea }\n r3 = 0\n r6 = r3\n L_0x01cf:\n if (r6 >= r7) goto L_0x01f8\n java.lang.Object r3 = r2.get(r6) // Catch:{ all -> 0x01ea }\n int r6 = r6 + 1\n com.google.android.gms.internal.zzcuw r3 = (com.google.android.gms.internal.zzcuw) r3 // Catch:{ all -> 0x01ea }\n java.lang.String r8 = r3.zzBo() // Catch:{ all -> 0x01ea }\n boolean r8 = android.text.TextUtils.isEmpty(r8) // Catch:{ all -> 0x01ea }\n if (r8 == 0) goto L_0x01e6\n if (r5 != 0) goto L_0x01f8\n r5 = 1\n L_0x01e6:\n r4.add(r3) // Catch:{ all -> 0x01ea }\n goto L_0x01cf\n L_0x01ea:\n r2 = move-exception\n r3 = r13\n L_0x01ec:\n if (r3 == 0) goto L_0x01f1\n r3.close()\n L_0x01f1:\n throw r2\n L_0x01f2:\n java.lang.String r2 = new java.lang.String // Catch:{ all -> 0x01ea }\n r2.<init>(r3) // Catch:{ all -> 0x01ea }\n goto L_0x01bc\n L_0x01f8:\n if (r13 == 0) goto L_0x01fd\n r13.close()\n L_0x01fd:\n r11 = r4\n goto L_0x0010\n L_0x0200:\n r2 = move-exception\n goto L_0x01ec\n L_0x0202:\n r2 = move-exception\n goto L_0x01a8\n L_0x0204:\n r2 = move-exception\n goto L_0x0141\n L_0x0207:\n r2 = move-exception\n r3 = r13\n r11 = r12\n goto L_0x011b\n L_0x020c:\n r2 = move-exception\n r3 = r13\n goto L_0x011b\n L_0x0210:\n r5 = r2\n goto L_0x00b1\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.zzcvn.zzbE(int):java.util.List\");\n }", "title": "" }, { "docid": "fb6a5810b95bb775bf1439ec7db7e192", "score": "0.4132184", "text": "private int getPageLimit() {\n int bucketId = ValueOf.toInt(mTvPictureTitle.getTag(R.id.view_tag));\n if (bucketId == -1) {\n int limit = mOpenCameraCount > 0 ? config.pageSize - mOpenCameraCount : config.pageSize;\n mOpenCameraCount = 0;\n return limit;\n }\n return config.pageSize;\n }", "title": "" }, { "docid": "ad50d55e46b86e2c23b6d60caf86c65a", "score": "0.41315427", "text": "public int getInventoryStackLimit()\n {\n return 64;\n }", "title": "" }, { "docid": "ad50d55e46b86e2c23b6d60caf86c65a", "score": "0.41315427", "text": "public int getInventoryStackLimit()\n {\n return 64;\n }", "title": "" }, { "docid": "ad50d55e46b86e2c23b6d60caf86c65a", "score": "0.41315427", "text": "public int getInventoryStackLimit()\n {\n return 64;\n }", "title": "" }, { "docid": "ad50d55e46b86e2c23b6d60caf86c65a", "score": "0.41315427", "text": "public int getInventoryStackLimit()\n {\n return 64;\n }", "title": "" }, { "docid": "4e1f7d6277faddabbff4114361ffc8f0", "score": "0.41299003", "text": "@Override\n public void mapboxTileCountLimitExceeded(long limit) {\n Log.e(TAG, \"Mapbox tile count limit exceeded: \" + limit);\n }", "title": "" }, { "docid": "d3bd08012dcaf0257b2a02550773d763", "score": "0.41293913", "text": "public int getCacheLimit()\n/* */ {\n/* 98 */ return this.cacheLimit;\n/* */ }", "title": "" }, { "docid": "0aaa3ca25a81148a49cd9f5077db5fe5", "score": "0.4125444", "text": "private ArrayList<ExtDbRecordTV> doBaselineSearch(int searchChannel, boolean isIxSearch, int minChannel,\n\t\t\tint maxChannel, ErrorLogger errors) {\n\n\t\tInteger cacheKey = Integer.valueOf((searchChannel * 10) + (isIxSearch ? 1 : 0));\n\t\tArrayList<ExtDbRecordTV> result = baselineCache.get(cacheKey);\n\t\tif (null != result) {\n\t\t\treturn result;\n\t\t}\n\n\t\t// Buld the channel list.\n\n\t\tint chan, maxChans = (maxChannel - minChannel) + 1;\n\n\t\tboolean[] searchChans = new boolean[maxChans];\n\n\t\tfor (IxRule theRule : rules) {\n\n\t\t\tif (theRule.channelDelta.analogOnly) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif (isIxSearch) {\n\t\t\t\tchan = searchChannel + theRule.channelDelta.delta;\n\t\t\t} else {\n\t\t\t\tchan = searchChannel - theRule.channelDelta.delta;\n\t\t\t}\n\t\t\tif ((chan < minChannel) || (chan > maxChannel)) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// Rules never apply across the channel 4-5, 6-7, and 13-14 gaps.\n\n\t\t\tif (searchChannel < 5) {\n\t\t\t\tif (chan > 4) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (searchChannel < 7) {\n\t\t\t\t\tif ((chan < 5) || (chan > 6)) {\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif (searchChannel < 14) {\n\t\t\t\t\t\tif ((chan < 7) || (chan > 13)) {\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (chan < 14) {\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tsearchChans[chan - minChannel] = true;\n\t\t}\n\n\t\t// Do the search.\n\n\t\tStringBuilder q = new StringBuilder();\n\n\t\ttry {\n\n\t\t\tif (!includeForeign) {\n\t\t\t\tq.append('(');\n\t\t\t\tExtDbRecordTV.addBaselineCountryQuery(extDb.type, extDb.version, Country.US, q, false);\n\t\t\t\tq.append(\" OR \");\n\t\t\t\tExtDbRecordTV.addBaselineFacilityIDQuery(extDb.type, extDb.version, proposalSource.facilityID, q,\n\t\t\t\t\tfalse);\n\t\t\t\tq.append(\") AND \");\n\t\t\t}\n\n\t\t\tStringBuilder chanList = new StringBuilder();\n\t\t\tchar sep = '(';\n\t\t\tfor (chan = 0; chan < maxChans; chan++) {\n\t\t\t\tif (searchChans[chan]) {\n\t\t\t\t\tchanList.append(sep);\n\t\t\t\t\tchanList.append(String.valueOf(chan + minChannel));\n\t\t\t\t\tsep = ',';\n\t\t\t\t}\n\t\t\t}\n\t\t\tchanList.append(')');\n\t\t\tExtDbRecordTV.addBaselineMultipleChannelQuery(extDb.type, extDb.version, chanList.toString(), q, false);\n\n\t\t} catch (IllegalArgumentException ie) {\n\t\t\terrors.reportError(ie.toString());\n\t\t\treturn null;\n\t\t}\n\n\t\tLinkedList<ExtDbRecordTV> records = ExtDbRecordTV.findBaselineRecords(extDb, q.toString(), errors);\n\t\tif (null == records) {\n\t\t\treturn null;\n\t\t}\n\n\t\t// Filter the search results, there won't be such things as APP or analog Class A appearing here, however the\n\t\t// isExcluded() test also applies the excluded ARN list which may exclude baselines.\n\n\t\tresult = new ArrayList<ExtDbRecordTV>();\n\n\t\tfor (ExtDbRecordTV theRecord : records) {\n\n\t\t\tif (isExcluded(theRecord)) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tresult.add(theRecord);\n\t\t}\n\n\t\tbaselineCache.put(cacheKey, result);\n\n\t\treturn result;\n\t}", "title": "" }, { "docid": "6ae691a74f14ed1db1188730a02e301e", "score": "0.4124084", "text": "public short getInternalState();", "title": "" }, { "docid": "d7d3c20eac8ee8e693b73a111a6f179e", "score": "0.4120427", "text": "@Override\n public int getMaxIntermediateSize()\n {\n return HllSketch.getMaxUpdatableSerializationBytes(getLgK(), TgtHllType.valueOf(getTgtHllType()));\n }", "title": "" } ]
a3aef8432410ea1c54c518a28d17fd20
This method was generated by MyBatis Generator. This method corresponds to the database table hai_hr_company
[ { "docid": "a7ba2e72844efa71270adb832c05bc8a", "score": "0.0", "text": "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "title": "" } ]
[ { "docid": "e8526d129522932b933c35cbae94a7e2", "score": "0.57804143", "text": "@Override\n\tpublic long getCompanyId();", "title": "" }, { "docid": "e8526d129522932b933c35cbae94a7e2", "score": "0.57804143", "text": "@Override\n\tpublic long getCompanyId();", "title": "" }, { "docid": "e8526d129522932b933c35cbae94a7e2", "score": "0.57804143", "text": "@Override\n\tpublic long getCompanyId();", "title": "" }, { "docid": "e8526d129522932b933c35cbae94a7e2", "score": "0.57804143", "text": "@Override\n\tpublic long getCompanyId();", "title": "" }, { "docid": "e8526d129522932b933c35cbae94a7e2", "score": "0.57804143", "text": "@Override\n\tpublic long getCompanyId();", "title": "" }, { "docid": "04337433a5d090ddcf74a75ef4b42859", "score": "0.57544094", "text": "public List<Company> getUserCompany() throws SQLException {\r\n PreparedStatement pstmt = null;\r\n ResultSet rs = null;\r\n\r\n try {\r\n // Start UOC\r\n List<Company> list = new ArrayList<Company>();\r\n String sql = \r\n \" SELECT\" +\r\n \" ID,\" +\r\n \" SHORT_NAME\" +\r\n \" FROM \" +\r\n \" COMPANY_TBL\" +\r\n \" WHERE ID>0\" +\r\n \" AND DELETED=0 \" +\r\n \" AND TYPE_ID LIKE '%,3,%'\" ;\r\n \r\n \r\n pstmt = conn.prepareStatement(sql);\r\n\r\n int index = 0;\r\n\r\n rs = pstmt.executeQuery();\r\n\r\n while (rs.next()) {\r\n Company com = new Company();\r\n index = 0;\r\n com.setId(rs.getInt(++index));\r\n com.setShortName(rs.getString(++index));\r\n list.add(com);\r\n }\r\n\r\n return list;\r\n\r\n // End UOC\r\n } catch (SQLException e) {\r\n logSQLException(e, \"getUserCompany\");\r\n throw e;\r\n } finally {\r\n try {\r\n if (rs != null) {\r\n rs.close();\r\n }\r\n\r\n if (pstmt != null) {\r\n pstmt.close();\r\n }\r\n } catch (SQLException e) {\r\n logSQLException(e, \"getUserCompany\");\r\n throw e;\r\n }\r\n }\r\n }", "title": "" }, { "docid": "f2ba630d339898694f73b14484ba15fa", "score": "0.5737682", "text": "@Override\n\tpublic long getCompanyId() {\n\t\treturn _consulta.getCompanyId();\n\t}", "title": "" }, { "docid": "064d286b478a216e0398c5aa74056998", "score": "0.5670662", "text": "@Override\n public boolean addCompany(Company company) {\n try {\n //create an empty map, Int as key, object as value\n Map<Integer, Object> params = new HashMap<>();\n //our params....\n params.put(1, company.getId());\n params.put(2, company.getName());\n params.put(3, company.getEmail());\n params.put(4, company.getPassword());\n\n //run the query\n DBUtils.runQuery(ADD_COMPANY, params);\n System.out.println(\"the company was added successfully - thank you and enjoy!\");\n return true;\n } catch (SQLException err) {\n System.out.println(\"CompaniesDBDAO.addCompany\" + err.getMessage());\n return false;\n }\n }", "title": "" }, { "docid": "26998516293e546d5fdc8e3a46613c83", "score": "0.56486994", "text": "public int getCompanyId() {\n return companyId;\n }", "title": "" }, { "docid": "26998516293e546d5fdc8e3a46613c83", "score": "0.56486994", "text": "public int getCompanyId() {\n return companyId;\n }", "title": "" }, { "docid": "58eddee3ca0afeb343b27756470318a1", "score": "0.5634476", "text": "public void setCompanyId(Integer companyId) {\r\n this.companyId = companyId;\r\n }", "title": "" }, { "docid": "bc5f939cf1995f4606b8d25921ea1d72", "score": "0.55986327", "text": "@SuppressWarnings(\"unchecked\")\n\t@Override\n\t@Transactional\n\tpublic List<Company> getAllCompany() {\n\t\tList<Company> lstCompany = sessionFactory.getCurrentSession().createCriteria(Company.class).list();\n\t\treturn lstCompany;\n\t}", "title": "" }, { "docid": "15a28ec0b8902ad57f84d6a487603d0d", "score": "0.5583758", "text": "public void setCompany(String company){\n this.company = company;\n }", "title": "" }, { "docid": "52397c636e8b216ced4d6eab8c00873e", "score": "0.5573463", "text": "private Long updateCompany(Company company , UserProfile optUser) {\n\t\n\tboolean isExist = roleNameExist(company.getCompanyname(), company.getId());\n\n\tif (isExist) {\n\t//\tlogger.info(\"更新角色时,角色名已经存在\");\n\t\treturn -2L;\n\t}\n\n\tList<Company> tem_companys = CompanyMapper.selectById(company.getId());\n\tCompany tem_company = tem_companys.get(0);\n\ttem_company.setCompanyname(company.getCompanyname().trim());\n\ttem_company.setCompanyrep(company.getCompanyrep().trim());\n\ttem_company.setEnglishname(company.getEnglishname().trim());\n\ttem_company.setNamespell(company.getNamespell().trim());\n//\ttem_company.setIdentifynum(company.getIdentifynum().trim());\n//\ttem_company.setRegnum(company.getRegnum().trim());\n\ttem_company.setOrganizationcode(company.getOrganizationcode().trim());\n\ttem_company.setTrade(company.getTrade().trim());\n\ttem_company.setStatus(company.getStatus());\n\ttem_company.setContactname(company.getContactname().trim());\n\ttem_company.setContactphone(company.getContactphone());\n\ttem_company.setContactfixedphone(company.getContactfixedphone().trim());\n\ttem_company.setEmail(company.getEmail().trim());\n\ttem_company.setSalename(company.getSalename().trim());\n\ttem_company.setCountry(company.getCountry().trim());\n\ttem_company.setProvince(company.getProvince().trim());\n\ttem_company.setCity(company.getCity().trim());\n\ttem_company.setArea(company.getArea().trim());\n\ttem_company.setAddress(company.getAddress().trim());\n\ttem_company.setZipcode(company.getZipcode().trim());\n\ttem_company.setModitytime(new Date());\n//\ttem_company.setCreatetime(new Date());\n\n\tCompanyMapper.update(tem_company);\n\tif(tem_company.getId() > 0){\n\t\tcompanyServiceLog.edit(tem_company, optUser);\n\t\treturn company.getId();\n\t}\n//\ttem_role.setName(role.getName());\n//\ttem_role.setRemark(role.getRemark());\n//\ttem_role.setModifyTime(new Date());\n//\troleMapper.update(tem_role);\n\n\treturn company.getId();\n}", "title": "" }, { "docid": "daad063d09dbf64954a49d0c6abd6ac5", "score": "0.5572789", "text": "public List findAll(String companyid);", "title": "" }, { "docid": "74bb6fbd36cc762dfbd19988b09d0a6e", "score": "0.5572716", "text": "public void setCompanyId(Integer companyId) {\n this.companyId = companyId;\n }", "title": "" }, { "docid": "74bb6fbd36cc762dfbd19988b09d0a6e", "score": "0.5572716", "text": "public void setCompanyId(Integer companyId) {\n this.companyId = companyId;\n }", "title": "" }, { "docid": "74bb6fbd36cc762dfbd19988b09d0a6e", "score": "0.5572716", "text": "public void setCompanyId(Integer companyId) {\n this.companyId = companyId;\n }", "title": "" }, { "docid": "74bb6fbd36cc762dfbd19988b09d0a6e", "score": "0.5572716", "text": "public void setCompanyId(Integer companyId) {\n this.companyId = companyId;\n }", "title": "" }, { "docid": "4731d42d3b8b7e5f7af1d0bc9b246495", "score": "0.55610555", "text": "public List<Company> viewCompany(Company company) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "d288ce78c34e4eaaadcc5910fd963840", "score": "0.55470693", "text": "public void setCompany(String company) {\r\n this.company = company;\r\n }", "title": "" }, { "docid": "54bc25a4aa0c0116224ca26de96d41aa", "score": "0.55370134", "text": "public void setCompanyId(int companyId) {\n this.companyId = companyId;\n }", "title": "" }, { "docid": "f15f0123a4055653ae440f90837d7cfd", "score": "0.55254185", "text": "@Override\n public long getCompanyId() {\n return _contrato.getCompanyId();\n }", "title": "" }, { "docid": "ea9b019769a8702d8dfb625b650d971e", "score": "0.5522486", "text": "public Long getCompanyId() {\n return companyId;\n }", "title": "" }, { "docid": "c1d51c8c03d61f9e24dbd42a14f78f28", "score": "0.55093807", "text": "@Override\n\tpublic void setCompanyId(long companyId);", "title": "" }, { "docid": "c1d51c8c03d61f9e24dbd42a14f78f28", "score": "0.55093807", "text": "@Override\n\tpublic void setCompanyId(long companyId);", "title": "" }, { "docid": "c1d51c8c03d61f9e24dbd42a14f78f28", "score": "0.55093807", "text": "@Override\n\tpublic void setCompanyId(long companyId);", "title": "" }, { "docid": "c1d51c8c03d61f9e24dbd42a14f78f28", "score": "0.55093807", "text": "@Override\n\tpublic void setCompanyId(long companyId);", "title": "" }, { "docid": "c1d51c8c03d61f9e24dbd42a14f78f28", "score": "0.55093807", "text": "@Override\n\tpublic void setCompanyId(long companyId);", "title": "" }, { "docid": "6bbc39f941836c6c5d8eb5061e9d1c30", "score": "0.5499319", "text": "public Integer getCompanyId() {\r\n return companyId;\r\n }", "title": "" }, { "docid": "763ce4c14d026b6173727661bf5ff7fe", "score": "0.5496923", "text": "public void setCompanyId(Long companyId) {\n this.companyId = companyId;\n }", "title": "" }, { "docid": "1474bee368fa8ff8d07906350c872876", "score": "0.5488827", "text": "public Integer getCompanyId() {\n return companyId;\n }", "title": "" }, { "docid": "1474bee368fa8ff8d07906350c872876", "score": "0.5488827", "text": "public Integer getCompanyId() {\n return companyId;\n }", "title": "" }, { "docid": "1474bee368fa8ff8d07906350c872876", "score": "0.5488827", "text": "public Integer getCompanyId() {\n return companyId;\n }", "title": "" }, { "docid": "1474bee368fa8ff8d07906350c872876", "score": "0.5488827", "text": "public Integer getCompanyId() {\n return companyId;\n }", "title": "" }, { "docid": "1e57ac50520dd7620092febb35ca1b7d", "score": "0.5457326", "text": "public List<Company> getAllCompanyByPage(int intBegin, int intEnd,Company company,Integer userCompanyId) throws SQLException {\r\n PreparedStatement pstmt = null;\r\n ResultSet rs = null;\r\n\r\n try {\r\n // Start UOC\r\n List<Company> list = new ArrayList<Company>();\r\n String tempSql=\r\n \" SELECT \" +\r\n \" ID, \" +\r\n \" CODE,\" +\r\n \" START_DATE,\" +\r\n \" MAIN_COMPANY_NAME,\" +\r\n \" SUB_COMPANY_NAME,\" +\r\n \" SHORT_NAME, \" +\r\n \" TYPE_ID,\" +\r\n \" CITY_ID,\" +\r\n \" CITY_NAME,\" +\r\n \" ZIP_CODE,\" +\r\n \" TEL1,\" +\r\n \" EMAIL, \" +\r\n \" DELETED, \" +\r\n \" EXCLUSIVE_KEY \"+\r\n \" FROM \"+\r\n \" ( \" +\r\n \" SELECT ROWNUM NO,\" +\r\n \" T.* \" +\r\n \" FROM \" +\r\n \" (SELECT \" +\r\n \" A.* \" +\r\n \" FROM \" +\r\n \" COMPANY_AGENT_VIEW A \" +\r\n \" WHERE \" +\r\n \" 1 = 1 \" ;\r\n\r\n \r\n StringBuffer sb = new StringBuffer(tempSql);\r\n if (company.getCustomerFlag() != null && company.getCustomerFlag().compareTo(1) == 0) {\r\n sb.append(\" AND A.ID IN (SELECT CUSTOMER_ID FROM AGENT_CUSTOMER_TBL WHERE AGENT_ID=? )\");\r\n }\r\n \r\n if (company.getMainCompanyName() != null && !\"\".equals(company.getMainCompanyName())) {\r\n sb.append(\" AND A.MAIN_COMPANY_NAME LIKE ?\");\r\n }\r\n \r\n if (company.getSubCompanyName() != null && !\"\".equals(company.getSubCompanyName())) {\r\n sb.append(\" AND A.SUB_COMPANY_NAME LIKE ?\");\r\n }\r\n \r\n if (company.getShortName() != null && !\"\".equals(company.getShortName())) {\r\n sb.append(\" AND A.SHORT_NAME LIKE ?\");\r\n }\r\n \r\n if(company.getTypeId() != null && !\"\".equals(company.getTypeId())){\r\n sb.append(\" AND A.TYPE_ID LIKE ? \");\r\n }\r\n if(company.getCode()!=null && !\"\".equals(company.getCode().trim())){\r\n sb.append(\" AND A.CODE LIKE ? \");\r\n }\r\n \r\n if(company.getProvinceId()!=null){\r\n sb.append(\" AND A.PROVINCE_ID = ? \");\r\n }\r\n \r\n if(company.getCityId()!=null){\r\n sb.append(\" AND A.CITY_ID = ? \");\r\n }\r\n \r\n if (company.getSort() == null || \"\".equals(company.getSort())) {\r\n sb.append(\" ORDER BY A.COM_NAME_PINYIN \");\r\n } else {\r\n \r\n if (\"comName\".equals(company.getSort())) {\r\n sb.append(\" ORDER BY A.COM_NAME_PINYIN \");\r\n } else if (\"comShortName\".equals(company.getSort())) {\r\n sb.append(\" ORDER BY A.SHORT_NAME \");\r\n }else if (\"cityName\".equals(company.getSort())) {\r\n sb.append(\" ORDER BY A.CITY_SHORT_NAME \");\r\n }else if (\"comTypeName\".equals(company.getSort())) {\r\n sb.append(\" ORDER BY A.TYPE_ID \");\r\n } else if (\"comDeleted\".equals(company.getSort())) {\r\n sb.append(\" ORDER BY A.DELETED \");\r\n }\r\n \r\n if(\"desc\".equalsIgnoreCase(company.getSortType())){\r\n sb.append(\" DESC \");\r\n }else{\r\n sb.append(\" ASC \");\r\n }\r\n }\r\n \r\n sb.append(\",A.ID ASC\");\r\n \r\n sb.append(\" )T \");\r\n sb.append(\" WHERE ROWNUM<=? \");\r\n sb.append(\" ) WHERE NO>? \");\r\n \r\n String sql=sb.toString();\r\n pstmt = conn.prepareStatement(sql);\r\n\r\n int index = 0;\r\n \r\n if (company.getCustomerFlag() != null && company.getCustomerFlag().compareTo(1) == 0) {\r\n pstmt.setInt(++index, userCompanyId);\r\n }\r\n \r\n if (company.getMainCompanyName() != null && !\"\".equals(company.getMainCompanyName())) {\r\n pstmt.setString(++index, company.getMainCompanyName()+\"%\");\r\n }\r\n \r\n if (company.getSubCompanyName() != null && !\"\".equals(company.getSubCompanyName())) {\r\n pstmt.setString(++index, company.getSubCompanyName()+\"%\");\r\n }\r\n \r\n if (company.getShortName() != null && !\"\".equals(company.getShortName())) {\r\n pstmt.setString(++index, company.getShortName()+\"%\");\r\n }\r\n \r\n if(company.getTypeId() != null && !\"\".equals(company.getTypeId())){\r\n pstmt.setString(++index, \"%,\"+company.getTypeId()+\",%\");\r\n }\r\n \r\n if(company.getCode()!=null && !\"\".equals(company.getCode().trim())){\r\n pstmt.setString(++index, company.getCode()+\"%\");\r\n }\r\n \r\n if(company.getProvinceId()!=null){\r\n pstmt.setInt(++index, company.getProvinceId());\r\n }\r\n \r\n if(company.getCityId()!=null){\r\n pstmt.setInt(++index, company.getCityId());\r\n }\r\n \r\n pstmt.setInt(++index, intEnd);\r\n pstmt.setInt(++index, intBegin);\r\n \r\n\r\n rs = pstmt.executeQuery();\r\n\r\n while (rs.next()) {\r\n Company com = new Company();\r\n index = 0;\r\n com.setId(rs.getInt(++index));\r\n com.setCode(rs.getString(++index));\r\n com.setAplyStartDate(rs.getString(++index));\r\n com.setMainCompanyName(rs.getString(++index));\r\n com.setSubCompanyName(rs.getString(++index));\r\n com.setShortName(rs.getString(++index));\r\n com.setTypeId(rs.getString(++index));\r\n com.setCityId(rs.getInt(++index));\r\n com.setCityName(rs.getString(++index));\r\n com.setZipCode(rs.getString(++index));\r\n com.setTel1(rs.getString(++index));\r\n com.setEmail(rs.getString(++index));\r\n com.setDeleted(rs.getInt(++index));\r\n com.setExclusiveKey(rs.getInt(++index));\r\n list.add(com);\r\n }\r\n\r\n return list;\r\n\r\n // End UOC\r\n } catch (SQLException e) {\r\n logSQLException(e, \"getCompanyByPage\");\r\n throw e;\r\n } finally {\r\n try {\r\n if (rs != null) {\r\n rs.close();\r\n }\r\n\r\n if (pstmt != null) {\r\n pstmt.close();\r\n }\r\n } catch (SQLException e) {\r\n logSQLException(e, \"getCompanyByPage\");\r\n throw e;\r\n }\r\n }\r\n }", "title": "" }, { "docid": "7bb19a7283256aea6bc5fdd4acdfef64", "score": "0.54511803", "text": "public void setCompanyId(String companyId) {\r\n this.companyId = companyId;\r\n }", "title": "" }, { "docid": "7bb19a7283256aea6bc5fdd4acdfef64", "score": "0.54511803", "text": "public void setCompanyId(String companyId) {\r\n this.companyId = companyId;\r\n }", "title": "" }, { "docid": "7bb19a7283256aea6bc5fdd4acdfef64", "score": "0.54511803", "text": "public void setCompanyId(String companyId) {\r\n this.companyId = companyId;\r\n }", "title": "" }, { "docid": "7bb19a7283256aea6bc5fdd4acdfef64", "score": "0.54511803", "text": "public void setCompanyId(String companyId) {\r\n this.companyId = companyId;\r\n }", "title": "" }, { "docid": "7bb19a7283256aea6bc5fdd4acdfef64", "score": "0.54511803", "text": "public void setCompanyId(String companyId) {\r\n this.companyId = companyId;\r\n }", "title": "" }, { "docid": "7c60be899f7d42d0c3af37067e37dafd", "score": "0.54359317", "text": "@Override\n\tpublic long getCompanyId() {\n\t\treturn model.getCompanyId();\n\t}", "title": "" }, { "docid": "7c60be899f7d42d0c3af37067e37dafd", "score": "0.54359317", "text": "@Override\n\tpublic long getCompanyId() {\n\t\treturn model.getCompanyId();\n\t}", "title": "" }, { "docid": "7c60be899f7d42d0c3af37067e37dafd", "score": "0.54359317", "text": "@Override\n\tpublic long getCompanyId() {\n\t\treturn model.getCompanyId();\n\t}", "title": "" }, { "docid": "7c60be899f7d42d0c3af37067e37dafd", "score": "0.54359317", "text": "@Override\n\tpublic long getCompanyId() {\n\t\treturn model.getCompanyId();\n\t}", "title": "" }, { "docid": "a6ea39ce0a43fd99586c7d5e386b7707", "score": "0.542628", "text": "@Override\n\tpublic void setCompanyId(long companyId) {\n\t\t_consulta.setCompanyId(companyId);\n\t}", "title": "" }, { "docid": "7edbf8cfb7d4747f72c69683de975d92", "score": "0.54146427", "text": "public String getCompanyId() {\r\n return companyId;\r\n }", "title": "" }, { "docid": "7edbf8cfb7d4747f72c69683de975d92", "score": "0.54146427", "text": "public String getCompanyId() {\r\n return companyId;\r\n }", "title": "" }, { "docid": "7edbf8cfb7d4747f72c69683de975d92", "score": "0.54146427", "text": "public String getCompanyId() {\r\n return companyId;\r\n }", "title": "" }, { "docid": "7edbf8cfb7d4747f72c69683de975d92", "score": "0.54146427", "text": "public String getCompanyId() {\r\n return companyId;\r\n }", "title": "" }, { "docid": "7edbf8cfb7d4747f72c69683de975d92", "score": "0.54146427", "text": "public String getCompanyId() {\r\n return companyId;\r\n }", "title": "" }, { "docid": "9dc27309cb37f6a6808a60e62bfc2e04", "score": "0.5403036", "text": "public Company getUserCompany();", "title": "" }, { "docid": "c7561fbfb4607d8673c5b89c85bacfff", "score": "0.5382639", "text": "@Override\n\t@Transactional\n\tpublic String updateCompany(Company company) {\n\t\tsessionFactory.getCurrentSession().update(company);\n\t\treturn \"Company information updated successfully\";\n\t}", "title": "" }, { "docid": "7e76e97b28a85f69eeca515d244c9a9e", "score": "0.5380091", "text": "public int getAllCompanyCountByRules(Company company,Integer userCompanyId) throws SQLException {\r\n PreparedStatement pstmt = null;\r\n ResultSet rs = null;\r\n int count = 0;\r\n\r\n try {\r\n // Start UOC\r\n String tempSql=\r\n \" SELECT \" +\r\n \" COUNT(*) \"+\r\n \" FROM \"+\r\n \" ( \" +\r\n \" SELECT \" +\r\n \" ROWNUM NO,\" +\r\n \" A.* \" +\r\n \" FROM \" +\r\n \" COMPANY_AGENT_VIEW A \" +\r\n \" WHERE \" +\r\n \" 1 = 1 \" ;\r\n \r\n StringBuffer sb = new StringBuffer(tempSql);\r\n \r\n if (company.getCustomerFlag() != null && company.getCustomerFlag().compareTo(1) == 0) {\r\n sb.append(\" AND A.ID IN (SELECT CUSTOMER_ID FROM AGENT_CUSTOMER_TBL WHERE AGENT_ID=? )\");\r\n }\r\n \r\n if (company.getMainCompanyName() != null && !\"\".equals(company.getMainCompanyName())) {\r\n sb.append(\" AND A.MAIN_COMPANY_NAME LIKE ?\");\r\n }\r\n \r\n if (company.getSubCompanyName() != null && !\"\".equals(company.getSubCompanyName())) {\r\n sb.append(\" AND A.SUB_COMPANY_NAME LIKE ?\");\r\n }\r\n \r\n if (company.getShortName() != null && !\"\".equals(company.getShortName())) {\r\n sb.append(\" AND A.SHORT_NAME LIKE ?\");\r\n }\r\n \r\n if(company.getTypeId() != null && !\"\".equals(company.getTypeId())){\r\n sb.append(\" AND A.TYPE_ID LIKE ? \");\r\n }\r\n \r\n if (company.getCode() != null && !\"\".equals(company.getCode())) {\r\n sb.append(\" AND A.CODE LIKE ?\");\r\n }\r\n \r\n if(company.getProvinceId()!=null){\r\n sb.append(\" AND A.PROVINCE_ID = ? \");\r\n }\r\n \r\n if(company.getCityId()!=null){\r\n sb.append(\" AND A.CITY_ID = ? \");\r\n }\r\n \r\n sb.append(\" ORDER BY A.COM_NAME_PINYIN ) WHERE ID>0 \");\r\n \r\n String sql=sb.toString();\r\n pstmt = conn.prepareStatement(sql);\r\n \r\n int index = 0;\r\n \r\n if (company.getCustomerFlag() != null && company.getCustomerFlag().compareTo(1) == 0) {\r\n pstmt.setInt(++index, userCompanyId);\r\n }\r\n \r\n if (company.getMainCompanyName() != null && !\"\".equals(company.getMainCompanyName())) {\r\n pstmt.setString(++index, company.getMainCompanyName()+\"%\");\r\n }\r\n \r\n if (company.getSubCompanyName() != null && !\"\".equals(company.getSubCompanyName())) {\r\n pstmt.setString(++index, company.getSubCompanyName()+\"%\");\r\n }\r\n \r\n if (company.getShortName() != null && !\"\".equals(company.getShortName())) {\r\n pstmt.setString(++index, company.getShortName()+\"%\");\r\n }\r\n \r\n if(company.getTypeId() != null && !\"\".equals(company.getTypeId())){\r\n pstmt.setString(++index, \"%,\"+company.getTypeId()+\",%\");\r\n }\r\n \r\n if (company.getCode() != null && !\"\".equals(company.getCode())) {\r\n pstmt.setString(++index, company.getCode()+\"%\");\r\n }\r\n \r\n if(company.getProvinceId()!=null){\r\n pstmt.setInt(++index, company.getProvinceId());\r\n }\r\n \r\n if(company.getCityId()!=null){\r\n pstmt.setInt(++index, company.getCityId());\r\n }\r\n \r\n rs = pstmt.executeQuery();\r\n \r\n if (rs.next()) {\r\n index = 0;\r\n count=rs.getInt(++index);\r\n }\r\n\r\n return count;\r\n\r\n // End UOC\r\n } catch (SQLException e) {\r\n logSQLException(e, \"getCompanyCounts\");\r\n throw e;\r\n } finally {\r\n try {\r\n if (rs != null) {\r\n rs.close();\r\n }\r\n\r\n if (pstmt != null) {\r\n pstmt.close();\r\n }\r\n } catch (SQLException e) {\r\n logSQLException(e, \"getCompanyCounts\");\r\n throw e;\r\n }\r\n }\r\n }", "title": "" }, { "docid": "1533591ecbd8a4b51d46cf44253d9041", "score": "0.5379828", "text": "public String getTableName() { return \"Customers\"; }", "title": "" }, { "docid": "ac7a399adddb0acff0159d6836589e43", "score": "0.53555804", "text": "public interface ICompanyService {\n\n List<Map<String, Object>> selectList(Map<String, Object> params);\n\n Integer selectCount(Map<String, Object> params);\n\n Company selectOne(Map<String, Object> params);\n\n Company selectByOne(Map<String, Object> params);\n\n Integer select_count(Map<String, Object> params);\n\n List<Map<String, Object>> select_list(Map<String, Object> params);\n\n /*添加数据*/\n int insert(Map<String, Object> params);\n\n int insertSelective(Map<String, Object> params);\n\n /*修改数据*/\n int updateByPrimaryKeySelective(Map<String, Object> params);\n\n int insertBatch(List<Map<String, Object>> list);\n\n int updateBatch(List<Map<String, Object>> list);\n\n /*通过id查询*/\n Company selectById(Map<String, Object> params);\n\n /**\n * 修改公司的有效状态\n *\n * @param params\n */\n void updateCompanyValid(Map<String, Object> params);\n\n /**\n * 获取所有子公司id\n *\n * @param companyId\n * @return\n */\n String getChildCompanyIds(String companyId);\n\n /**\n * 根据id集合查询公司对象集合\n *\n * @param ids\n * @return\n */\n List<Company> getChildCompanyList(List<String> ids);\n\n /**\n * 获取该公司的所有子公司树\n *\n * @param companyId\n * @return\n */\n String getCompanyTree(String companyId);\n\n /**\n * 根据id查询公司名称和父Id\n *\n * @param companyId\n * @return\n */\n Map<String, Object> getCompanyInfo(String companyId);\n\n Object getDepts(List<Company> companyList);\n\n JSONArray queryCompanyTreeData(List<Company> list,String companyId,String path);\n\n List<String> getAllCompanyId(String cids);\n}", "title": "" }, { "docid": "ce6ca0a91566c922c62671ff50618010", "score": "0.53289026", "text": "@Override\n\tpublic Company insertCompany(Company company) throws SQLException {\n\t\tcompanyService.insertCompany(company);\n\t\treturn company;\n\t}", "title": "" }, { "docid": "ca0f051d66ba940b96441298b19489b4", "score": "0.5312604", "text": "private static void createTestdataForCompanies() {\n\t\tConnection connection = null;\n\t\tStatement statement = null;\n\t\t\n\t\ttry {\n\t\t\t// Einfuegen mittels Batch-Statement.\n\t\t\tconnection = JdbcUtils.getConnection();\n\t\t\tstatement = connection.createStatement();\n\t\t\tfinal List<Company> companies = companyTable.selectAllFromCompany();\n\t\t\t\n\t\t\tfor (final Company company: companies) {\n\t\t\t\tString sqlStatement = \"INSERT INTO company values (\"\n\t\t\t\t\t\t+ company.getCompanyId() + \", '\" \n\t\t\t\t\t\t+ company.getCompanyName() + \"', \"\n\t\t\t\t\t\t+ company.getEmployeesCount() + \")\";\n\t\t\t\tstatement.addBatch(sqlStatement);\n\t\t\t}\n\t\t\tstatement.executeBatch();\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\tif (connection != null) {\n\t\t\t\ttry {\n\t\t\t\t\tconnection.close();\t\t\t\t\t\n\t\t\t\t} catch(SQLException ex) {\n\t\t\t\t\tex.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "5146e0bec7c2965d4104f4e645a4f50c", "score": "0.5311514", "text": "public void setCompany(String company) {\n\t\tthis.company = company;\n\t}", "title": "" }, { "docid": "8c1cbf911fe885042303e9afa48ae627", "score": "0.5299271", "text": "public HaiHrCompanyExample() {\n oredCriteria = new ArrayList<Criteria>();\n }", "title": "" }, { "docid": "5f25d6b5bca6268d5058f94248022a71", "score": "0.52876157", "text": "public void createHistory(Company com) throws Exception {\r\n PreparedStatement pstmt = null;\r\n\r\n try {\r\n // Start UOC\r\n String sql = \r\n \" INSERT INTO COMPANY_HISTORY_TBL (\" +\r\n \" ID,\" +\r\n \" CODE,\" +\r\n \" START_DATE, \" +\r\n \" END_DATE,\" +\r\n \" TYPE_ID,\" +\r\n \" MAIN_COMPANY_NAME, \" +\r\n \" SUB_COMPANY_NAME, \" +\r\n \" SHORT_NAME, \" +\r\n \" ADDRESS1,\" +\r\n \" ADDRESS2, \" ;\r\n if(com.getBankId()!=null){\r\n sql = sql + \" BANK_ID,\";\r\n }\r\n \r\n sql = sql + \r\n \" PROVINCE_ID, \" +\r\n \" CITY_ID,\" +\r\n \" ZIP_CODE,\" +\r\n \" TEL1,\" +\r\n \" TEL2,\" +\r\n \" FAX, \"+\r\n \" HOME_PAGE,\" +\r\n \" EMAIL,\" +\r\n \" CREATOR_ID,\" +\r\n \" CREATE_TIME,\" +\r\n \" MODIFIER_ID,\" +\r\n \" MODIFY_TIME,\" +\r\n \" EXCLUSIVE_KEY\" +\r\n \" ) VALUES(?,?,?,?,?,?,?,?,?,?,\" ;\r\n if(com.getBankId()!=null){ \r\n sql = sql +\"?,\" ;\r\n } \r\n sql = sql + \"?,?,?,?,?,?,?,?,?,?,?,?,?)\";\r\n \r\n pstmt = conn.prepareStatement(sql);\r\n\r\n int index = 0;\r\n pstmt.setInt(++index, com.getId());\r\n pstmt.setString(++index, com.getCode());\r\n pstmt.setString(++index, com.getAplyStartDate());\r\n pstmt.setString(++index, com.getAplyEndDate());\r\n pstmt.setString(++index, com.getTypeId());\r\n pstmt.setString(++index, com.getMainCompanyName());\r\n pstmt.setString(++index, com.getSubCompanyName());\r\n pstmt.setString(++index, com.getShortName());\r\n pstmt.setString(++index, com.getAddress1());\r\n pstmt.setString(++index, com.getAddress2());\r\n if(com.getBankId()!=null){\r\n pstmt.setInt(++index,com.getBankId());\r\n }\r\n pstmt.setInt(++index,com.getProvinceId()); \r\n pstmt.setInt(++index, com.getCityId());\r\n pstmt.setString(++index, com.getZipCode());\r\n pstmt.setString(++index, com.getTel1());\r\n pstmt.setString(++index, com.getTel2());\r\n pstmt.setString(++index, com.getFax());\r\n pstmt.setString(++index, com.getHomePage());\r\n pstmt.setString(++index, com.getEmail());\r\n pstmt.setInt(++index, com.getCreatorId());\r\n pstmt.setString(++index, com.getCreateTime());\r\n pstmt.setInt(++index, com.getModifierId());\r\n pstmt.setString(++index, com.getModifyTime());\r\n pstmt.setInt(++index, com.getExclusiveKey());\r\n pstmt.executeUpdate();\r\n\r\n // End UOC\r\n } catch (SQLException e) {\r\n logSQLException(e, \"createHistory\");\r\n throw e;\r\n } finally {\r\n try {\r\n if (pstmt != null) {\r\n pstmt.close();\r\n }\r\n } catch (SQLException e) {\r\n logSQLException(e, \"createHistory\");\r\n throw e;\r\n }\r\n }\r\n }", "title": "" }, { "docid": "c7ffafc6cc7bd51a210459f2d31fad57", "score": "0.527622", "text": "public Company getCompany() {\r\n return company;\r\n }", "title": "" }, { "docid": "d961ef662b00c39b7731b0047ad34beb", "score": "0.52720654", "text": "public void setCompanyId(BigInteger companyId) {\n this.companyId = companyId;\n }", "title": "" }, { "docid": "d961ef662b00c39b7731b0047ad34beb", "score": "0.52720654", "text": "public void setCompanyId(BigInteger companyId) {\n this.companyId = companyId;\n }", "title": "" }, { "docid": "21d2132957a789c515e1cd20f74024f3", "score": "0.5267537", "text": "public interface ExpressCompanyDao extends JpaRepository<ExpressCompanyEntity,String> {\r\n}", "title": "" }, { "docid": "ebb4e0931a855bcd53623f1bd3bc2179", "score": "0.52599674", "text": "public List<PurchaseInvoice> findByCompanyId(String companyId);", "title": "" }, { "docid": "0ba9ecd57d5ded0c9c1560bdf692eef3", "score": "0.52546275", "text": "public String getCompany(){\n return this.company;\n }", "title": "" }, { "docid": "2af70bb613efcb7bfa0a39ed85fef85f", "score": "0.5248217", "text": "public String getCompanyCode() {\n return companyCode;\n }", "title": "" }, { "docid": "d154bfc0025f95bb8d3e458300610333", "score": "0.5246269", "text": "@Override\n\tpublic long getCompanyId() {\n\t\treturn _dummy.getCompanyId();\n\t}", "title": "" }, { "docid": "2f424f04ae39125c33483bff1adb23c1", "score": "0.52459365", "text": "public interface PlmsCompanyDao {\n int saveCompanyInfo(PlmsCompany company);\n\n PlmsCompany getCompanyByBmsCode(PlmsCompany company);\n}", "title": "" }, { "docid": "84a0c8a2f0d3ceddcbf72aaa43e5f0e0", "score": "0.52446586", "text": "@Override\n public void setCompanyId(long companyId) {\n _contrato.setCompanyId(companyId);\n }", "title": "" }, { "docid": "0b9144c6905a1f61fa37d888c569d44c", "score": "0.52388036", "text": "public List<Company> getCompanyCustomer(\r\n Integer bankId,\r\n Integer provinceId,\r\n Integer cityId,\r\n Integer saleComId)\r\n throws SQLException {\r\n PreparedStatement pstmt = null;\r\n ResultSet rs = null;\r\n\r\n try {\r\n // Start UOC\r\n List<Company> list = new ArrayList<Company>();\r\n String sql = \r\n \" SELECT\" +\r\n \" ID,\" +\r\n \" SHORT_NAME\" +\r\n \" FROM \" +\r\n \" COMPANY_AGENT_VIEW\" +\r\n \" WHERE ID>0\" +\r\n \" AND DELETED=0 \" +\r\n \" AND TYPE_ID LIKE '%,4,%' \" ;\r\n if(bankId!=null){\r\n sql = sql + \" AND BANK_ID = ? \";\r\n }\r\n if(provinceId!=null){\r\n sql = sql + \" AND PROVINCE_ID = ? \"; \r\n }\r\n if(cityId!=null){\r\n sql = sql + \" AND CITY_ID = ? \";\r\n }\r\n if(saleComId!=null){\r\n sql = sql + \" AND ID = ? \";\r\n }\r\n sql = sql + \" ORDER BY COM_NAME_PINYIN \";\r\n \r\n pstmt = conn.prepareStatement(sql);\r\n\r\n int index = 0;\r\n \r\n if(bankId!=null){\r\n pstmt.setInt(++index, bankId);\r\n }\r\n if(provinceId!=null){\r\n pstmt.setInt(++index, provinceId);\r\n }\r\n if(cityId!=null){\r\n pstmt.setInt(++index, cityId);\r\n }\r\n if(saleComId!=null){\r\n pstmt.setInt(++index, saleComId);\r\n }\r\n \r\n rs = pstmt.executeQuery();\r\n while (rs.next()) {\r\n Company com = new Company();\r\n index = 0;\r\n com.setId(rs.getInt(++index));\r\n com.setShortName(rs.getString(++index));\r\n list.add(com);\r\n }\r\n\r\n return list;\r\n\r\n // End UOC\r\n } catch (SQLException e) {\r\n logSQLException(e, \"getCompanyCustomer\");\r\n throw e;\r\n } finally {\r\n try {\r\n if (rs != null) {\r\n rs.close();\r\n }\r\n\r\n if (pstmt != null) {\r\n pstmt.close();\r\n }\r\n } catch (SQLException e) {\r\n logSQLException(e, \"getCompanyCustomer\");\r\n throw e;\r\n }\r\n }\r\n }", "title": "" }, { "docid": "2edecf902f53811bbd3207e73348ca3b", "score": "0.5225379", "text": "public void setCompany(Company company) {\n\t\tthis.company = company;\n\t}", "title": "" }, { "docid": "c3a9b239f3ddf97c458827ed2fb7a281", "score": "0.5222638", "text": "@GetMapping(\"/getEmployeeByCompany/{company}\")\n\tpublic List<Employee> getEmployeesByCompany(@PathVariable String company){\n\t\treturn employeeService.getEmpByCompany(company);\n\t}", "title": "" }, { "docid": "6994d0455d0f0c09c5013006f179c12d", "score": "0.52107024", "text": "@Override\n\t@Transactional\n\tpublic String insertNewCompany(Company company) {\n\t\tint companyId = (Integer) sessionFactory.getCurrentSession().save(company);\n\t\treturn \"Company information saved successfully with Company_ID \" + companyId;\n\t}", "title": "" }, { "docid": "f8935ad5dca9a3bfdcac163e9aafdf3e", "score": "0.5204595", "text": "@Override\n public CompanyQueryResp<QccCompanyResp> handle(QccCompanyReq companyReq) {\n Collection<QccCompanyResp> qccCompanies = Lists.newArrayList();\n for (int i = 0; i < 20; i++) {\n QccCompanyResp qccCompanyResp = new QccCompanyResp();\n qccCompanyResp.setName(\"上海启贵服务有限公司\" + i);\n qccCompanyResp.setOperName(\"陈朗\" + i);\n qccCompanyResp.setStartDate(\"2019-05-11\");\n qccCompanyResp.setStatus(\"经营中\");\n qccCompanies.add(qccCompanyResp);\n }\n CompanyQueryResp<QccCompanyResp> resp = new CompanyQueryResp<>();\n resp.setAdShow(true);\n resp.setResults(qccCompanies);\n resp.setSuccessRate(89);\n return resp;\n }", "title": "" }, { "docid": "cd93d803f0915a0539d7b92315f7cdea", "score": "0.5203199", "text": "@Override\n\tpublic int updateCompany(CreateCompany c) throws Exception {\n\t\treturn customerDAO.updateCompany(c);\n\t}", "title": "" }, { "docid": "10bbb6e2b2de63711bc5f563224d8a37", "score": "0.5199621", "text": "public List<Company> findAll() {\n return companyRepository.findAll();\n }", "title": "" }, { "docid": "8c3fbdf9b060a0ae232244a4e45e1ec3", "score": "0.5193262", "text": "public int getCompanyCountByRules(Company company,Integer userCompanyId) throws SQLException {\r\n PreparedStatement pstmt = null;\r\n ResultSet rs = null;\r\n int count = 0;\r\n\r\n try {\r\n // Start UOC\r\n String tempSql=\r\n \" SELECT\"+ \r\n \" COUNT(*)\"+ \r\n \" FROM (\"+ \r\n \" SELECT *\"+ \r\n \" FROM\"+ \r\n \" (\"+ \r\n \" SELECT\"+ \r\n \" B.* \"+ \r\n \" FROM AGENT_CUSTOMER_TBL A, \" +\r\n \" COMPANY_AGENT_VIEW B \" +\r\n \r\n \r\n \r\n \" WHERE\"+ \r\n \" A.CUSTOMER_ID=B.ID \"+ \r\n \" AND A.AGENT_ID=? \"+ \r\n \" UNION\"+ \r\n \" SELECT \"+ \r\n \" A.*\"+ \r\n \" FROM\"+ \r\n \" COMPANY_AGENT_VIEW A \" +\r\n \" WHERE\"+ \r\n \" A.ID=? \"+ \r\n \" ) \" +\r\n \" WHERE 1=1 \" ;\r\n \r\n StringBuffer sb = new StringBuffer(tempSql);\r\n \r\n if (company.getCustomerFlag() != null && company.getCustomerFlag().compareTo(1) == 0) {\r\n sb.append(\" AND ID IN (SELECT CUSTOMER_ID FROM AGENT_CUSTOMER_TBL WHERE AGENT_ID=? )\");\r\n }\r\n \r\n if (company.getMainCompanyName() != null && !\"\".equals(company.getMainCompanyName())) {\r\n sb.append(\" AND MAIN_COMPANY_NAME LIKE ?\");\r\n }\r\n \r\n if (company.getSubCompanyName() != null && !\"\".equals(company.getSubCompanyName())) {\r\n sb.append(\" AND SUB_COMPANY_NAME LIKE ?\");\r\n }\r\n \r\n if (company.getShortName() != null && !\"\".equals(company.getShortName())) {\r\n sb.append(\" AND SHORT_NAME LIKE ?\");\r\n }\r\n \r\n if(company.getTypeId() != null && !\"\".equals(company.getTypeId())){\r\n sb.append(\" AND TYPE_ID LIKE ? \");\r\n }\r\n \r\n if (company.getCode() != null && !\"\".equals(company.getCode())) {\r\n sb.append(\" AND CODE LIKE ?\");\r\n }\r\n \r\n if(company.getProvinceId()!=null){\r\n sb.append(\" AND PROVINCE_ID = ? \");\r\n }\r\n if(company.getCityId()!=null){\r\n sb.append(\" AND CITY_ID = ? \");\r\n }\r\n \r\n sb.append(\" ORDER BY COM_NAME_PINYIN ) WHERE ID>0 \");\r\n \r\n String sql=sb.toString();\r\n pstmt = conn.prepareStatement(sql);\r\n\r\n int index = 0;\r\n pstmt.setInt(++index, userCompanyId);\r\n pstmt.setInt(++index, userCompanyId);\r\n \r\n if (company.getCustomerFlag() != null && company.getCustomerFlag().compareTo(1) == 0) {\r\n pstmt.setInt(++index, userCompanyId);\r\n }\r\n \r\n if (company.getMainCompanyName() != null && !\"\".equals(company.getMainCompanyName())) {\r\n pstmt.setString(++index, company.getMainCompanyName()+\"%\");\r\n }\r\n \r\n if (company.getSubCompanyName() != null && !\"\".equals(company.getSubCompanyName())) {\r\n pstmt.setString(++index, company.getSubCompanyName()+\"%\");\r\n }\r\n \r\n \r\n if (company.getShortName() != null && !\"\".equals(company.getShortName())) {\r\n pstmt.setString(++index, company.getShortName()+\"%\");\r\n }\r\n \r\n if(company.getTypeId() != null && !\"\".equals(company.getTypeId())){\r\n pstmt.setString(++index, \"%,\"+company.getTypeId()+\",%\");\r\n }\r\n \r\n if (company.getCode() != null && !\"\".equals(company.getCode())) {\r\n pstmt.setString(++index, company.getCode()+\"%\");\r\n }\r\n \r\n if(company.getProvinceId()!=null){\r\n pstmt.setInt(++index, company.getProvinceId());\r\n }\r\n \r\n if(company.getCityId()!=null){\r\n pstmt.setInt(++index, company.getCityId());\r\n }\r\n rs = pstmt.executeQuery();\r\n\r\n \r\n if (rs.next()) {\r\n index = 0;\r\n count=rs.getInt(++index);\r\n }\r\n\r\n return count;\r\n\r\n // End UOC\r\n } catch (SQLException e) {\r\n logSQLException(e, \"getCompanyCounts\");\r\n throw e;\r\n } finally {\r\n try {\r\n if (rs != null) {\r\n rs.close();\r\n }\r\n\r\n if (pstmt != null) {\r\n pstmt.close();\r\n }\r\n } catch (SQLException e) {\r\n logSQLException(e, \"getCompanyCounts\");\r\n throw e;\r\n }\r\n }\r\n }", "title": "" }, { "docid": "2c9e42b6c37755210a3569d65908977f", "score": "0.51853466", "text": "public List<PurchaseInvoice> findByCompany(Org company);", "title": "" }, { "docid": "477b4771187afffa65eb8007468041a7", "score": "0.5183003", "text": "@Override\n\tpublic long getCompanyId() {\n\t\treturn _dossierTemplate.getCompanyId();\n\t}", "title": "" }, { "docid": "4c5432a93782c7f64d6b682c205ddfc7", "score": "0.51815647", "text": "public void setCdCompany(Integer cdCompany) {\n this.cdCompany = cdCompany;\n }", "title": "" }, { "docid": "209424c38e0fadaa9dfdb16e50502047", "score": "0.5171306", "text": "public List<Company> getCompanyByPage(int intBegin, int intEnd,Company company,Integer userCompanyId) throws SQLException {\r\n PreparedStatement pstmt = null;\r\n ResultSet rs = null;\r\n\r\n try {\r\n // Start UOC\r\n List<Company> list = new ArrayList<Company>();\r\n String tempSql=\r\n \" SELECT\"+ \r\n \" ID, \"+ \r\n \" CODE,\"+ \r\n \" START_DATE,\"+ \r\n \" MAIN_COMPANY_NAME,\" +\r\n \" SUB_COMPANY_NAME,\" +\r\n \" SHORT_NAME,\"+ \r\n \" TYPE_ID,\"+ \r\n \" CITY_ID,\"+ \r\n \" CITY_NAME, \"+ \r\n \" ZIP_CODE,\"+ \r\n \" TEL1, \"+ \r\n \" EMAIL, \"+ \r\n \" DELETED, \"+ \r\n \" EXCLUSIVE_KEY\"+ \r\n \" FROM (\"+ \r\n \" SELECT \"+ \r\n \" ROWNUM NO,\"+ \r\n \" T.* \"+ \r\n \" FROM \"+ \r\n \" ( \"+ \r\n \" SELECT *\"+ \r\n \" FROM\"+ \r\n \" (\"+ \r\n \" SELECT\"+ \r\n \" B.* \"+ \r\n \" FROM AGENT_CUSTOMER_TBL A, \" +\r\n \" COMPANY_AGENT_VIEW B \" +\r\n \" WHERE\"+ \r\n \" A.CUSTOMER_ID=B.ID \"+ \r\n \" AND A.AGENT_ID=? \"+ \r\n \" UNION\"+ \r\n \" SELECT \"+ \r\n \" A.* \"+ \r\n \" FROM\"+ \r\n \" COMPANY_AGENT_VIEW A \" +\r\n \" WHERE \"+ \r\n \" A.ID=? \"+ \r\n \" ) \" +\r\n \" WHERE 1=1 \" ;\r\n \r\n StringBuffer sb = new StringBuffer(tempSql);\r\n if (company.getCustomerFlag() != null && company.getCustomerFlag().compareTo(1) == 0) {\r\n sb.append(\" AND ID IN (SELECT CUSTOMER_ID FROM AGENT_CUSTOMER_TBL WHERE AGENT_ID=? )\");\r\n }\r\n \r\n if (company.getMainCompanyName() != null && !\"\".equals(company.getMainCompanyName())) {\r\n sb.append(\" AND MAIN_COMPANY_NAME LIKE ?\");\r\n }\r\n \r\n if (company.getSubCompanyName() != null && !\"\".equals(company.getSubCompanyName())) {\r\n sb.append(\" AND SUB_COMPANY_NAME LIKE ?\");\r\n }\r\n \r\n if (company.getShortName() != null && !\"\".equals(company.getShortName())) {\r\n sb.append(\" AND SHORT_NAME LIKE ?\");\r\n }\r\n \r\n if(company.getTypeId() != null && !\"\".equals(company.getTypeId())){\r\n sb.append(\" AND TYPE_ID LIKE ? \");\r\n }\r\n \r\n if(company.getCode()!=null && !\"\".equals(company.getCode().trim())){\r\n sb.append(\" AND CODE LIKE ?\" );\r\n }\r\n \r\n if(company.getProvinceId()!=null){\r\n sb.append(\" AND PROVINCE_ID = ? \");\r\n }\r\n \r\n \r\n if(company.getCityId()!=null){\r\n sb.append(\" AND CITY_ID = ? \");\r\n }\r\n \r\n \r\n \r\n \r\n if (company.getSort() == null || \"\".equals(company.getSort())) {\r\n sb.append(\" ORDER BY COM_NAME_PINYIN \");\r\n } else {\r\n \r\n if (\"comName\".equals(company.getSort())) {\r\n sb.append(\" ORDER BY COM_NAME_PINYIN \");\r\n } else if (\"comShortName\".equals(company.getSort())) {\r\n sb.append(\" ORDER BY SHORT_NAME \");\r\n }else if (\"cityName\".equals(company.getSort())) {\r\n sb.append(\" ORDER BY CITY_SHORT_NAME \");\r\n }else if (\"comTypeName\".equals(company.getSort())) {\r\n sb.append(\" ORDER BY TYPE_ID \");\r\n } else if (\"comDeleted\".equals(company.getSort())) {\r\n sb.append(\" ORDER BY DELETED \");\r\n }\r\n \r\n if(\"desc\".equalsIgnoreCase(company.getSortType())){\r\n sb.append(\" DESC \");\r\n }else{\r\n sb.append(\" ASC \");\r\n }\r\n }\r\n \r\n sb.append(\",ID ASC \");\r\n sb.append(\" )T \");\r\n sb.append(\" WHERE ROWNUM<=? \");\r\n sb.append(\" ) WHERE NO>? \");\r\n \r\n String sql=sb.toString();\r\n pstmt = conn.prepareStatement(sql);\r\n\r\n int index = 0;\r\n pstmt.setInt(++index, userCompanyId);\r\n pstmt.setInt(++index, userCompanyId);\r\n \r\n if (company.getCustomerFlag() != null && company.getCustomerFlag().compareTo(1) == 0) {\r\n pstmt.setInt(++index, userCompanyId);\r\n }\r\n \r\n if (company.getMainCompanyName() != null && !\"\".equals(company.getMainCompanyName())) {\r\n pstmt.setString(++index, company.getMainCompanyName()+\"%\");\r\n }\r\n \r\n if (company.getSubCompanyName() != null && !\"\".equals(company.getSubCompanyName())) {\r\n pstmt.setString(++index, company.getSubCompanyName()+\"%\");\r\n }\r\n \r\n \r\n if (company.getShortName() != null && !\"\".equals(company.getShortName())) {\r\n pstmt.setString(++index, company.getShortName()+\"%\");\r\n }\r\n \r\n if(company.getTypeId() != null && !\"\".equals(company.getTypeId())){\r\n pstmt.setString(++index, \"%,\"+company.getTypeId()+\",%\");\r\n }\r\n \r\n if(company.getCode()!=null && !\"\".equals(company.getCode().trim())){\r\n pstmt.setString(++index, company.getCode()+\"%\");\r\n }\r\n if(company.getProvinceId()!=null){\r\n pstmt.setInt(++index, company.getProvinceId());\r\n }\r\n \r\n \r\n if(company.getCityId()!=null){\r\n pstmt.setInt(++index, company.getCityId());\r\n }\r\n \r\n pstmt.setInt(++index, intEnd);\r\n pstmt.setInt(++index, intBegin);\r\n \r\n\r\n rs = pstmt.executeQuery();\r\n\r\n while (rs.next()) {\r\n Company com = new Company();\r\n index = 0;\r\n com.setId(rs.getInt(++index));\r\n com.setCode(rs.getString(++index));\r\n com.setAplyStartDate(rs.getString(++index));\r\n com.setMainCompanyName(rs.getString(++index));\r\n com.setSubCompanyName(rs.getString(++index));\r\n com.setShortName(rs.getString(++index));\r\n com.setTypeId(rs.getString(++index));\r\n com.setCityId(rs.getInt(++index));\r\n com.setCityName(rs.getString(++index));\r\n com.setZipCode(rs.getString(++index));\r\n com.setTel1(rs.getString(++index));\r\n com.setEmail(rs.getString(++index));\r\n com.setDeleted(rs.getInt(++index));\r\n com.setExclusiveKey(rs.getInt(++index));\r\n list.add(com);\r\n }\r\n\r\n return list;\r\n\r\n // End UOC\r\n } catch (SQLException e) {\r\n logSQLException(e, \"getCompanyByPage\");\r\n throw e;\r\n } finally {\r\n try {\r\n if (rs != null) {\r\n rs.close();\r\n }\r\n\r\n if (pstmt != null) {\r\n pstmt.close();\r\n }\r\n } catch (SQLException e) {\r\n logSQLException(e, \"getCompanyByPage\");\r\n throw e;\r\n }\r\n }\r\n }", "title": "" }, { "docid": "457d4b49b2116f1bee9418f89e51f6d3", "score": "0.5166719", "text": "@Repository\npublic interface CompanyRepository extends JpaRepository<Company,Long> {\n}", "title": "" }, { "docid": "8d7ac2445f5c06bcd59aee09b8500933", "score": "0.5156504", "text": "public void setCompanyName(String companyName){\n this.companyName = companyName;\n }", "title": "" }, { "docid": "16e3ff71bc519c503db7a8b52db0b651", "score": "0.51486075", "text": "@Override\n\tpublic long getCompanyId() {\n\t\treturn _employeeLeave.getCompanyId();\n\t}", "title": "" }, { "docid": "2a2f1548f750876de45259e59db4311e", "score": "0.51464736", "text": "public ActemiumCompany findCompanyById(int companyId){\n\t\treturn companyDaoJpa.get(companyId);\n\t}", "title": "" }, { "docid": "1bc02104e562d5aa5fda9309a14f5d5c", "score": "0.5143471", "text": "@Override\n\tpublic long getCompanyId() {\n\t\treturn _vdocField.getCompanyId();\n\t}", "title": "" }, { "docid": "9e3dc0f07a0735e57c700c140489a999", "score": "0.5138826", "text": "@Override\n public ArrayList<Company> getAllCompanies() {\n ArrayList<Company> companies = new ArrayList<>();\n try {\n connection = ConnectionPool.getInstance().getConnection();\n PreparedStatement statement = connection.prepareStatement(GET_ALL_COMPANIES);\n ResultSet resultSet = statement.executeQuery();\n while (resultSet.next()) {\n Company company = new Company(\n resultSet.getInt(1),\n resultSet.getString(2),\n resultSet.getString(3),\n resultSet.getString(4)\n );\n companies.add(company);\n }\n for (Company item : companies) {\n System.out.println(item);\n }\n System.out.println(companies);\n } catch (InterruptedException | SQLException err ){\n System.out.println(\"CompaniesDBDAO.getAllCompanies\" + err.getMessage());\n } finally {\n ConnectionPool.getInstance().returnConnection(connection);\n }\n return companies;\n\n }", "title": "" }, { "docid": "3ba7c2bc081cbf99879f75ec2484067f", "score": "0.51339835", "text": "public interface SysUserCompanyBusinessService {\n\n /**\n * 获取用户权限下可以操作的公司\n *\n * @return\n */\n List<SysUserCompany> sysUserCompany(Long userId);\n\n /**\n * 新增信息\n * @param sysUserCompany\n * @return\n */\n int saveSysUserCompany(SysUserCompany sysUserCompany);\n /**\n * 根据id删除信息\n *\n * @param userId\n * @return\n */\n int deleteSysUserCompany(Long userId);\n /**\n * 根据用户id和公司id,获取用户权限下公司信息\n *\n * @return\n */\n SysUserCompany sysUserCompanyAuthority(Long userId,Long companyId);\n\n /**\n * 根据用户id,获取用户权限下公司信息\n *\n * @return\n */\n List<Long> sysUserCompanyInfo(Long userId);\n\n}", "title": "" }, { "docid": "a1ca942f5b982628341bcbb8daf69c61", "score": "0.51263183", "text": "public void setCompanyId(Integer companyId) {\n\t\tthis.companyId = companyId;\n\t}", "title": "" }, { "docid": "de22132bd9ba7446708bebd0346f8458", "score": "0.5125909", "text": "public interface StockRepository extends CrudRepository<Stock,String> {\n List<Stock> findAllByCompany_CompanyCode(String companyCode);\n}", "title": "" }, { "docid": "a2c67161c20dca5d5b6fefeea03747d1", "score": "0.5124561", "text": "@Override\n\tpublic long getCompanyId() {\n\t\treturn _socialRelation.getCompanyId();\n\t}", "title": "" }, { "docid": "c66457ad15bb2e9f8d08319c1d1f11f3", "score": "0.51233506", "text": "public String getCodeByCompanyId(Integer comId) throws SQLException {\r\n PreparedStatement pstmt = null;\r\n ResultSet rs = null;\r\n String code = null;\r\n\r\n try {\r\n // Start UOC\r\n \r\n String sql = \" SELECT \" +\r\n \" CODE \" +\r\n \" FROM \" +\r\n \" COMPANY_TBL \" +\r\n \" WHERE \" +\r\n \" ID = ? \" +\r\n \" AND DELETED = 0 \" +\r\n \" AND ID > 0 \" ;\r\n pstmt = conn.prepareStatement(sql);\r\n\r\n int index = 0;\r\n pstmt.setInt(++index, comId);\r\n rs = pstmt.executeQuery();\r\n\r\n if (rs.next()) {\r\n index = 0;\r\n code = rs.getString(++index);\r\n }\r\n return code;\r\n // End UOC\r\n } catch (SQLException e) {\r\n logSQLException(e, \"getShortNameByCompanyId\");\r\n throw e;\r\n } finally {\r\n try {\r\n if (rs != null) {\r\n rs.close();\r\n }\r\n\r\n if (pstmt != null) {\r\n pstmt.close();\r\n }\r\n } catch (SQLException e) {\r\n logSQLException(e, \"getShortNameByCompanyId\");\r\n throw e;\r\n }\r\n }\r\n }", "title": "" }, { "docid": "93ca07176befa3c5567b32dfe25b94d0", "score": "0.5122248", "text": "@Select(\"select * from core_table \")\n @Results({\n @Result(column = \"id\", property = \"id\"),\n @Result(column = \"app_name\", property = \"appName\"),\n @Result(column = \"key\", property = \"key\"),\n @Result(column = \"now_max_id\", property = \"nowMaxId\"),\n @Result(column = \"step\", property = \"step\")\n })\n List<CoreTable> getAllBizInfo();", "title": "" }, { "docid": "e07f3dc7737efb4621c0d6c9eb8acaa3", "score": "0.51218647", "text": "public String getCompany() {\r\n return company;\r\n }", "title": "" }, { "docid": "1e5f4a0f09a095b58d4a6355c309924e", "score": "0.5120334", "text": "public void setCompanyId(long p_companyId)\n {\n m_companyId = p_companyId;\n }", "title": "" }, { "docid": "ae69006f772f423f4073eebf6146ca4d", "score": "0.5119194", "text": "@RequestMapping(value=\"/companies\", method = RequestMethod.GET)\n public Map<String, Object> index(Company company) {\n Map<String, Object> map = new HashMap<>();\n try {\n map.put(\"data\", companyService.findAll(company));\n map.put(\"error\", 0);\n\n return map;\n } catch (SQLException e) {\n //e.printStackTrace();\n map.put(\"error\", 1);\n return map;\n }\n\n }", "title": "" }, { "docid": "267c4508d6fb19f2510a83ada955a403", "score": "0.5116413", "text": "public void createCompany(Company company) {\n\n\t}", "title": "" }, { "docid": "a28a6f531b33e4bf646260cbdfe2baa2", "score": "0.5114685", "text": "public Integer getCdCompany() {\n return cdCompany;\n }", "title": "" }, { "docid": "0fe6aa4eb5b8841c92dd38d7b76f2c09", "score": "0.51137507", "text": "public void setCompanyName(String companyName) \n {\n this.companyName = companyName;\n }", "title": "" } ]
e5b1f3bf432dc6a34f4770c2552d2c4a
Creates new form ScraperUI
[ { "docid": "692e99ee2fbd965ec0100101a0c8fea1", "score": "0.56703556", "text": "public ScraperUI() {\n super(\"Resume Database Scraper \" + WebScraper.VERSION);\n initComponents();\n initCustom();\n activeScrapers = new ArrayList();\n activeThreads = new ArrayList();\n isClosing = false;\n }", "title": "" } ]
[ { "docid": "f3d4e3470a57e4ca2b96b9ba468388c7", "score": "0.696619", "text": "Form createForm();", "title": "" }, { "docid": "34168dc256c1a613da346954a43b1b26", "score": "0.66983193", "text": "public CodigoGuiaContenedorForm createGuiaContenedorForm();", "title": "" }, { "docid": "4c3a4feb3f31f4e3ebbb3431b0868891", "score": "0.6409097", "text": "public CreateWidgetForm() {\n initComponents();\n }", "title": "" }, { "docid": "a76d13fe10b3e24b63de3802aa8e7bc2", "score": "0.62684083", "text": "private void constructPage() {\n\t\tForm<ManageBillPaymentFeePage> form = new Form<ManageBillPaymentFeePage>(\"feeForm\",\n\t\t\tnew CompoundPropertyModel<ManageBillPaymentFeePage>(this));\n\t\tform.add(feedbackPanel = new FeedbackPanel(\"errorMessages\"));\n\t\tfeedbackPanel.setOutputMarkupId(true);\n\t\tfeedbackPanel.setOutputMarkupPlaceholderTag(true);\n\t\tform.add(feedbackPanel);\n\t\t\n\t\tform.add(new TextField<String>(\"feeBean.description\").add(new ErrorIndicator()));\n\t\t\n\t\t// Add the Manage Products container\n\t\tfeeContainer = new WebMarkupContainer(\"feeContainer\");\n\t\tmanageLimitDataView(feeContainer);\n\t\tfeeContainer.setOutputMarkupId(true);\n\t\tfeeContainer.setOutputMarkupPlaceholderTag(true);\n\t\tfeeContainer.setVisible(false);\n\t\tform.add(feeContainer);\n\t\t\n\t\tform.add(new Button(\"btnAdd\") {\n\t\t\tprivate static final long serialVersionUID = 1L;\n\t\t\t@Override\n\t\t\tpublic void onSubmit() {\n\t\t\t\tif (!PortalUtils.exists(feeBean)){\n\t\t\t\t\tfeeBean = new ManageBillPaymentFeeBean(); \n\t\t\t\t}\n\t\t\t\tsetResponsePage(ManageBillPaymentFeeAddPage.class);\n\t\t\t}\n\t\t});\n\t\t\n\t\n\t\tform.add(new AjaxButton(\"searchBtn\") {\n\t\t\tprivate static final long serialVersionUID = 1L;\n\n\t\t\t@Override\n\t\t\tprotected void onSubmit(AjaxRequestTarget target, Form<?> form) {\n\t\t\t\tif (!PortalUtils.exists(feeBean)){\n\t\t\t\t\tfeeBean = new ManageBillPaymentFeeBean(); \n\t\t\t\t}\n\t\t\t\tfeeBean.setManageBillerList((new ArrayList<ManageBillPaymentFeeBean>()));\n\t\t\t\thandleSearchFee(target);\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tprotected void onError(AjaxRequestTarget target, Form<?> form){\n\t\t\t\ttarget.addComponent(form);\n\t\t\t\ttarget.addComponent(feedbackPanel);\n\t\t\t\ttarget.addComponent(feeContainer);\n\t\t\t\tsuper.onError(target, form);\n\t\t\t}\n\t\t});\n\t\n\t\tform.add(feeContainer);\n\t\tadd(form);\n\n\t}", "title": "" }, { "docid": "8c53e632ddfe9c6d7c747cc867180935", "score": "0.61657757", "text": "private void createUI(){\n createLabels();\n createSliders();\n setErrorFieldPosition();\n backButton = new MenuButton(\"BACK\");\n }", "title": "" }, { "docid": "68688e649fc110530889acec739ba123", "score": "0.61429137", "text": "@Override\n\tpublic void createForm(DynamicForm form) {\n\n\t}", "title": "" }, { "docid": "0737ff4d2e9f73154e753b5f98bb5394", "score": "0.6085927", "text": "public void displayCreationForm() {\n this.startActivity(new Intent(this, ActivityCreation.class));\n }", "title": "" }, { "docid": "5a9035c64256d21e3910eb2c3e9d84e0", "score": "0.60675", "text": "public void create() {\n setVisible(true);\n setupUI();\n }", "title": "" }, { "docid": "805413f3f383868f6f8f4a5a53fcd09f", "score": "0.598956", "text": "public RODAddAwbsForm() {\n }", "title": "" }, { "docid": "b7023271f0596a06cef3d058ccbaf97e", "score": "0.5955117", "text": "public void createUIElements() {\n\t\tformModeGroup = new OptionGroup(\"Action to perform\");\n\n\t\t// Pass item ids to be used in constructing Item objects on our behalf.\n\t\tformModeGroup.addItems(viewMode, editMode, addMode);\n\n\t\t// Specify a textual label\n\t\tformModeGroup.setItemCaption(viewMode, \"View List of Diesel Buyers\");\n\t\tformModeGroup.setItemCaption(editMode, \"Edit Existing Diesel Buyer\");\n\t\tformModeGroup.setItemCaption(addMode, \"Add New Diesel Buyer\");\n\t \n\t\t// Specify which radio button is selected by default.\n\t\tformModeGroup.setValue(viewMode);\n\n\t\t// If multi-select mode is true then it becomes a check box\n\t\tformModeGroup.setMultiSelect(false);\n\t\tformModeGroup.addValueChangeListener(this::determineFormMode);\n\t\tformModeGroup.addStyleName(\"horizontal\");\n\n\t\tid = new TextField(\"Id\");\n\t\t// this component will always remain disabled, because we don't want\n\t\t// users to change it\n\t\tid.setEnabled(false);\n\n\t\tname = new TextField(\"Name\");\n\n\t\t// Adding text fields to HLayout\n\t\ttextLayout = new HorizontalLayout();\n\t\ttextLayout.addComponent(id);\n\t\ttextLayout.addComponent(name);\n\t\ttextLayout.setEnabled(false);\n\n\t\tcancel = new Button(\"Cancel\");\n\t\tcancel.setIcon(FontAwesome.BAN);\n\t\tcancel.addClickListener(this::cancel);\n\n\t\tdelete = new Button(\"Delete\");\n\t\tdelete.setIcon(FontAwesome.TRASH);\n\t\tdelete.addClickListener(this::delete);\n\t\tdelete.setEnabled(false);\n\n\t\tsave = new Button(\"Save\");\n\t\tsave.setIcon(FontAwesome.SAVE);\n\t\tsave.addClickListener(this::save);\n\n\t\t// Adding buttons to HLayout\n\t\tbuttonLayout = new HorizontalLayout();\n\t\tbuttonLayout.addComponent(cancel);\n\t\tbuttonLayout.addComponent(delete);\n\t\tbuttonLayout.addComponent(save);\n\n\t\tdieselBuyerGrid = new Grid();\n\t\tdieselBuyerGrid.addSelectionListener(this::select);\n\n\t\t// Adding Data to our Grid\n\t\tbic.addAll(dieselBuyerDao.listAllDieselBuyers());\n\t\tdieselBuyerGrid.setContainerDataSource(bic);\n\n\t}", "title": "" }, { "docid": "4897ca8bcb1db6a5dd0c97b43d1e7856", "score": "0.5941568", "text": "@GET\n\t@Path(NewFormUri)\n\t@Produces(\"text/html\")\n\tpublic String formNew() {\n\t\treturn this.service.formNew(new LinkDo() );\n\t}", "title": "" }, { "docid": "9ed538de7e573d77f8190b9c4acd03f9", "score": "0.59197265", "text": "public void buttonClick(ClickEvent event) {\r\n\t\t \t \r\n\t\t \t System.out.println(\"Button Listener AddNew \");\r\n\t\t \t \r\n\t\t \t // a che serve?\r\n\t\t \t profileContainer.removeAllContainerFilters();\r\n\t\t \t \r\n\t\t \t Object itemId=newProfile(); \r\n\t\t \t \r\n\t\t \t consumiList.removeAllItems();\r\n\t\t \r\n\t\t \t editorFields.setItemDataSource(profileList.getItem(itemId));\r\n\t\t \r\n\t\t \t findAndFillAllComposizioni();\r\n\t \t \t \t \r\n\t\t \t // sto creando nuovo\r\n\t\t \t setProfileId(null);\r\n\t\t \r\n\t\t \t // TODO eliminate \r\n\t\t \t // findAndFillAllUserOnDomain(null);\r\n\t\t // select_users.setVisible(true);\r\n\t\t // select_users.setEnabled(true);\r\n\t\t \r\n\t\t // findAndFillAllCompaniesOnDomain(null);\r\n\t\t // select_companies.setVisible(true);\r\n\t\t // select_companies.setEnabled(true);\r\n\t\t \r\n\t\t \r\n\t\t \r\n\t\t editorLayout.setVisible(true);\r\n\t\t tipoProfilo.select(null);\r\n\t\t //valoreConsumo.setValue(\"\");\r\n\t\t totaleConsumo.setValue(\"0.0\");\r\n\t\t Field<String> fieldName= (Field<String>)editorFields.getField(PROF_NAME);\r\n\t\t fieldName.setValue(\"\");\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t((Field<String>) editorFields.getField(PROF_DESCRIZIONE)).setValue(\"\");\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t((Field<String>)editorFields.getField(PROF_ORE)).setValue(\"\");\r\n\t\t \r\n\t\t \r\n\t\t // va messo dopo\r\n\t\t \t TextField tf= (TextField)editorLayout.getComponent(0);\r\n\t\t\t \t tf.setEnabled(false);\r\n\t\t }", "title": "" }, { "docid": "fcab2ac824d9a389630ab5f73fe327e5", "score": "0.5877593", "text": "public NewResidentForm() {\n\n initComponents();\n }", "title": "" }, { "docid": "8ea944ca99fcc9608e717a765d4259ef", "score": "0.5866788", "text": "public CreateBoardForm onClickNewBoard() {\n action.click(newBoard);\n return new CreateBoardForm();\n }", "title": "" }, { "docid": "105693914ceb374f622d26f9dde49246", "score": "0.5835373", "text": "private void createUI(Composite parent) {\n createUISectionElementDetails(parent);\n // Create the client container for the section\n Composite client = createUISectionContainer(fSectionElementDetails);\n // Create the info hover control for the body text field and hyperlink\n createUIInfoHoverControl(client);\n // Create the body text label\n createUIHyperlinkBody(client);\n // Create the body text field\n createUITextBody(client);\n // Associate the client with the section\n fToolkit.paintBordersFor(client);\n fSectionElementDetails.setClient(client);\n // Needed for keyboard paste operation to work\n markDetailsPart(fSectionElementDetails);\n }", "title": "" }, { "docid": "6036b01bb8f999294a3613ca93f7e77a", "score": "0.5799771", "text": "public void loadUpdateRecipeForm() {\n JLabel formTitle = new JLabel(\"<html><h2>Enter New Ingredient Amounts</h2></html>\");\n formTitle.setHorizontalTextPosition(JLabel.CENTER);\n formTitle.setVerticalTextPosition(JLabel.CENTER);\n formTitle.setForeground(IVORY);\n\n formPanel.add(formTitle);\n\n addIngredientInput(ivalexTextField, \"Ivalex(gr)\");\n addIngredientInput(enfamilTextField, \"Enfamil (gr)\");\n addIngredientInput(proPhreeTextField, \"Pro Phree (gr)\");\n addIngredientInput(glycineTextField, \"Glycine (gr)\");\n addIngredientInput(breastMilkTextField, \"Breast Milk (ml)\");\n addIngredientInput(volumeTextField, \"Volume (ml)\");\n\n addSubmitButton(\"Submit\", submitButton, formPanel);\n }", "title": "" }, { "docid": "7b806473328df19c993ed4f9a32f73ec", "score": "0.5778416", "text": "private void createUIComponents() {\n dryRunSourceInputForm = new DryRunSourceContextForm();\n dryRunContextForm = new DryRunContextForm();\n }", "title": "" }, { "docid": "0a563599fa2fd1c586c070680e746814", "score": "0.5761163", "text": "String createForm(CreateFormRequest request)\n\t\t\tthrows QInvalidTicketException, QAuthorisationException;", "title": "" }, { "docid": "a6c73d17ccba4b13324712cf030e7ed1", "score": "0.57469183", "text": "private void createFormContentFromTemplate()\n {\n form.setText( selectedTemplate.getTitle() );\n\n // Getting the template form\n TemplateForm templateForm = selectedTemplate.getForm();\n\n // Creating the children widgets\n if ( templateForm.hasChildren() )\n {\n for ( TemplateWidget templateWidget : templateForm.getChildren() )\n {\n createFormTemplateWidget( form.getBody(), templateWidget );\n }\n }\n }", "title": "" }, { "docid": "806c0f6af54938a1c3daf65f57338bf7", "score": "0.5728841", "text": "public CreateCourseWorkPage() {\n initComponents();\n }", "title": "" }, { "docid": "ed702d4e84afa8a6b0fcf2625673d670", "score": "0.57280385", "text": "@Override\r\n\t\tpublic void onClick(ClickEvent event) {\n\t\t\tRootPanel.get(\"details\").clear();\r\n\t\t\terstellen = new SpielplanErstellenForm();\r\n\t\t\tRootPanel.get(\"details\").add(erstellen);\r\n\r\n\t\t}", "title": "" }, { "docid": "9120b93ab5dd6af47e87ab9e6e8f77b4", "score": "0.57207316", "text": "private MyCollectionForm getMyCollectionForm() {\r\n MyCollectionForm myCollectionForm = new MyCollectionForm();\r\n \r\n Vector items = new Vector();\r\n CollectionImage img;\r\n Hashtable imgTagParams = null;\r\n int itemID;\r\n String url, name, date, accessionNumber, text = null;\r\n \r\n for (int i=lowItemIndex(); i<=highItemIndex(); i++) {\r\n img = pager_.imageObj( i );\r\n imgTagParams = img.getImgTagParams( 150,150 ); \t\r\n url = resultURL( i );\r\n name = itemName( i ); \t\r\n itemID = getItemID( i ); \t \t\r\n date = resultDate( i );\r\n accessionNumber = resultAccessionNumber( i );\r\n text = resultText( i );\r\n\r\n items.add( new Item( itemID, name, imgTagParams, url, date, accessionNumber, text ) );\r\n }\r\n \r\n myCollectionForm.setItems( items );\r\n return (myCollectionForm);\r\n }", "title": "" }, { "docid": "fc993dee89a775519bc67036e0551d35", "score": "0.5718681", "text": "public new_agent() {\n initComponents();\n \n \n \n \n \n }", "title": "" }, { "docid": "392590e2d0dede6efae9081ee9ede32f", "score": "0.5706795", "text": "public void newAction() {\n\t\tPageParameters p= new PageParameters();\n\t\tp.add(\"new\", 1);\n\t\tsetResponsePage(GroupProdukPage.class,p);\n\t\ttry\n\t\t{\n\t\t\treadOnly(false);\n\t\t}\n\t\tcatch(Exception ex){}\n\t}", "title": "" }, { "docid": "e7051d4f54df09793d89cb8583a31375", "score": "0.5689795", "text": "@AutoGenerated\r\n\tprivate FormLayout buildNewArziForm() {\n\t\tnewArziForm = new FormLayout();\r\n\t\tnewArziForm.setImmediate(false);\r\n\t\tnewArziForm.setWidth(\"100.0%\");\r\n\t\tnewArziForm.setHeight(\"93.09%\");\r\n\t\tnewArziForm.setMargin(false);\r\n\t\tnewArziForm.setSpacing(true);\r\n\r\n\t\t// firstNameText\r\n\t\tfirstNameText = new TextField();\r\n\t\tfirstNameText.setCaption(\"First Name:\");\r\n\t\tfirstNameText.setImmediate(false);\r\n\t\tfirstNameText.setWidth(\"-1px\");\r\n\t\tfirstNameText.setHeight(\"-1px\");\r\n\t\tfirstNameText.setRequired(true);\r\n\t\tfirstNameText.setMaxLength(50);\r\n\t\tnewArziForm.addComponent(firstNameText);\r\n\r\n\t\t// lastNameText\r\n\t\tlastNameText = new TextField();\r\n\t\tlastNameText.setCaption(\"Last Name:\");\r\n\t\tlastNameText.setImmediate(false);\r\n\t\tlastNameText.setWidth(\"-1px\");\r\n\t\tlastNameText.setHeight(\"-1px\");\r\n\t\tlastNameText.setRequired(true);\r\n\t\tlastNameText.setMaxLength(50);\r\n\t\tnewArziForm.addComponent(lastNameText);\r\n\r\n\t\t// itsNumber\r\n\t\titsNumber = new TextField();\r\n\t\titsNumber.setCaption(\"ITS Number:\");\r\n\t\titsNumber.setImmediate(false);\r\n\t\titsNumber.setWidth(\"-1px\");\r\n\t\titsNumber.setHeight(\"-1px\");\r\n\t\titsNumber.setInvalidAllowed(false);\r\n\t\titsNumber.setRequired(true);\r\n\t\titsNumber.setMaxLength(10);\r\n\t\tnewArziForm.addComponent(itsNumber);\r\n\r\n\t\t// gender\r\n\t\tgender = new OptionGroup();\r\n\t\tgender.setCaption(\"Gender:\");\r\n\t\tgender.setImmediate(false);\r\n\t\tgender.setWidth(\"-1px\");\r\n\t\tgender.setHeight(\"-1px\");\r\n\t\tgender.setInvalidAllowed(false);\r\n\t\tgender.setRequired(true);\r\n\t\tnewArziForm.addComponent(gender);\r\n\r\n\t\t// address\r\n\t\taddress = new TextField();\r\n\t\taddress.setCaption(\"Home Address:\");\r\n\t\taddress.setImmediate(false);\r\n\t\taddress.setWidth(\"-1px\");\r\n\t\taddress.setHeight(\"-1px\");\r\n\t\taddress.setInvalidAllowed(false);\r\n\t\taddress.setRequired(true);\r\n\t\tnewArziForm.addComponent(address);\r\n\r\n\t\t// phoneNum\r\n\t\tphoneNum = new TextField();\r\n\t\tphoneNum.setCaption(\"Phone No:\");\r\n\t\tphoneNum.setImmediate(false);\r\n\t\tphoneNum.setWidth(\"-1px\");\r\n\t\tphoneNum.setHeight(\"-1px\");\r\n\t\tphoneNum.setInvalidAllowed(false);\r\n\t\tphoneNum.setRequired(true);\r\n\t\tphoneNum.setMaxLength(15);\r\n\t\tnewArziForm.addComponent(phoneNum);\r\n\r\n\t\t// mobileNum\r\n\t\tmobileNum = new TextField();\r\n\t\tmobileNum.setCaption(\"Mobile No:\");\r\n\t\tmobileNum.setImmediate(false);\r\n\t\tmobileNum.setWidth(\"-1px\");\r\n\t\tmobileNum.setHeight(\"-1px\");\r\n\t\tmobileNum.setInvalidAllowed(false);\r\n\t\tmobileNum.setMaxLength(15);\r\n\t\tnewArziForm.addComponent(mobileNum);\r\n\r\n\t\t// city\r\n\t\tcity = new TextField();\r\n\t\tcity.setCaption(\"City\");\r\n\t\tcity.setImmediate(false);\r\n\t\tcity.setWidth(\"-1px\");\r\n\t\tcity.setHeight(\"-1px\");\r\n\t\tcity.setInvalidAllowed(false);\r\n\t\tcity.setRequired(true);\r\n\t\tcity.setMaxLength(50);\r\n\t\tnewArziForm.addComponent(city);\r\n\r\n\t\t// zip\r\n\t\tzip = new TextField();\r\n\t\tzip.setCaption(\"Zip\");\r\n\t\tzip.setImmediate(false);\r\n\t\tzip.setWidth(\"-1px\");\r\n\t\tzip.setHeight(\"-1px\");\r\n\t\tzip.setInvalidAllowed(false);\r\n\t\tzip.setRequired(true);\r\n\t\tzip.setMaxLength(10);\r\n\t\tnewArziForm.addComponent(zip);\r\n\r\n\t\t// state\r\n\t\tstate = new TextField();\r\n\t\tstate.setCaption(\"State\");\r\n\t\tstate.setImmediate(false);\r\n\t\tstate.setWidth(\"-1px\");\r\n\t\tstate.setHeight(\"-1px\");\r\n\t\tstate.setInvalidAllowed(false);\r\n\t\tstate.setRequired(true);\r\n\t\tstate.setMaxLength(50);\r\n\t\tnewArziForm.addComponent(state);\r\n\r\n\t\t// arazCategory\r\n\t\tarazCategory = new ComboBox();\r\n\t\tarazCategory.setCaption(\"Araz Category\");\r\n\t\tarazCategory.setImmediate(false);\r\n\t\tarazCategory.setWidth(\"-1px\");\r\n\t\tarazCategory.setHeight(\"-1px\");\r\n\t\tarazCategory.setInvalidAllowed(false);\r\n\t\tarazCategory.setRequired(true);\r\n\t\tnewArziForm.addComponent(arazCategory);\r\n\r\n\t\t// condition\r\n\t\tcondition = new ComboBox();\r\n\t\tcondition.setCaption(\"Condition\");\r\n\t\tcondition.setImmediate(false);\r\n\t\tcondition.setWidth(\"-1px\");\r\n\t\tcondition.setHeight(\"-1px\");\r\n\t\tcondition.setInvalidAllowed(false);\r\n\t\tcondition.setRequired(true);\r\n\t\tnewArziForm.addComponent(condition);\r\n\r\n\t\t// bodyParts\r\n\t\tbodyParts = new ComboBox();\r\n\t\tbodyParts.setCaption(\"Affected Body Parts:\");\r\n\t\tbodyParts.setImmediate(false);\r\n\t\tbodyParts.setWidth(\"-1px\");\r\n\t\tbodyParts.setHeight(\"-1px\");\r\n\t\tbodyParts.setInvalidAllowed(false);\r\n\t\tbodyParts.setRequired(true);\r\n\t\tnewArziForm.addComponent(bodyParts);\r\n\r\n\t\t// procedure\r\n\t\tprocedure = new ComboBox();\r\n\t\tprocedure.setCaption(\"Procedure\");\r\n\t\tprocedure.setImmediate(false);\r\n\t\tprocedure.setWidth(\"-1px\");\r\n\t\tprocedure.setHeight(\"-1px\");\r\n\t\tprocedure.setInvalidAllowed(false);\r\n\t\tprocedure.setRequired(true);\r\n\t\tnewArziForm.addComponent(procedure);\r\n\r\n\t\t// prevRecomm\r\n\t\tprevRecomm = new TextArea();\r\n\t\tprevRecomm.setCaption(\"Doctor's Previuos Recommendations:\");\r\n\t\tprevRecomm.setImmediate(false);\r\n\t\tprevRecomm.setWidth(\"332px\");\r\n\t\tprevRecomm.setHeight(\"104px\");\r\n\t\tprevRecomm.setMaxLength(4000);\r\n\t\tnewArziForm.addComponent(prevRecomm);\r\n\r\n\t\t// addtnlComments\r\n\t\taddtnlComments = new TextArea();\r\n\t\taddtnlComments.setCaption(\"Additional Comments:\");\r\n\t\taddtnlComments.setImmediate(false);\r\n\t\taddtnlComments.setWidth(\"332px\");\r\n\t\taddtnlComments.setHeight(\"102px\");\r\n\t\taddtnlComments.setMaxLength(4000);\r\n\t\tnewArziForm.addComponent(addtnlComments);\r\n\r\n\t\t// buttonsPanel\r\n\t\tbuttonsPanel = buildButtonsPanel();\r\n\t\tnewArziForm.addComponent(buttonsPanel);\r\n\t\tnewArziForm.setComponentAlignment(buttonsPanel, new Alignment(20));\r\n\r\n\t\treturn newArziForm;\r\n\t}", "title": "" }, { "docid": "aa76d22d652a6d70b424e7412f5f2732", "score": "0.5689674", "text": "private void fillForm() {\n\t\t// Isbn\n\t\tif (docType == DOCTYPE_BOOK) {\n\t\t\tTextView isbn = (TextView) findViewById(R.id.isbn_upc);\n\t\t\tisbn.setText(((Book) doc).getCode());\n\t\t}\n\n\t\t// Author\n\t\tTextView author = (TextView) findViewById(R.id.author);\n\t\tif (docType == DOCTYPE_BOOK) {\n\t\t\tauthor.setText(((Book) doc).getAuthor());\n\t\t} else {\n\t\t\tauthor.setText(((Movie) doc).getDirector());\n\t\t}\n\n\t\t// Year\n\t\tTextView year = (TextView) findViewById(R.id.year);\n\t\tyear.setText(String.valueOf(doc.getYear()));\n\t\t// Title\n\t\tTextView title = (TextView) findViewById(R.id.title);\n\t\ttitle.setText(doc.getTitle());\n\n\t\t// Genres\n\t\tTextView genre = (TextView) findViewById(R.id.genre);\n\n\t\tList<Category> cat = doc.getCategories();\n\t\tString catName = \"\";\n\t\tfor (int i = 0; i < cat.size(); i++) {\n\t\t\tCategory c = cat.get(i);\n\t\t\tif (catName.length() == 0)\n\t\t\t\tcatName += c.getName();\n\t\t\telse\n\t\t\t\tcatName += \", \" + c.getName();\n\t\t}\n\t\tgenre.setText(catName);\n\n\t\t// Lists\n\t\tList<DList> dlists = doc.getLists();\n\t\tArrayList<Long> listIDs = new ArrayList<Long>();\n\t\tfor (DList l : dlists) {\n\t\t\tlistIDs.add(l.getId());\n\t\t}\n\t\tif (listIDs.contains(box1ID)) {\n\t\t\tbox1.setChecked(true);\n\t\t}\n\t\tif (listIDs.contains(box2ID)) {\n\t\t\tbox2.setChecked(true);\n\t\t}\n\n\t\t// Rating\n\t\tEditText rating = (EditText) findViewById(R.id.rating_box);\n\t\tDouble dRating = Double.valueOf(doc.getRating());\n\t\tif (dRating != null)\n\t\t\trating.setText(String.valueOf(dRating.intValue()));\n\n\t\t// Notes\n\t\tEditText notes = (EditText) findViewById(R.id.notes);\n\t\tnotes.setText(doc.getNotes());\n\t}", "title": "" }, { "docid": "a2225f20dc9031cc66da4683102f8c73", "score": "0.56745285", "text": "public ProjectCreatorPanel(String id)\n {\n super(\"div\", getHTML(id));\n \n /*\n * Add project and package fields and button\n */\n m_projectName = new TextBox();\n m_projectName.setTitle(Index.getStrings().projectName_tt());\n m_projectName.addKeyUpHandler(this);\n m_projectName.addKeyPressHandler(this);\n m_projectName.getElement().setId(id + \"projectNameTxt\");\n m_projectName.getElement().addClassName(WIDE_TEXT_FIELD);\n add(m_projectName, id + \"projectName\");\n \n m_projectNameFeedback = new FormFeedback();\n m_feedbacks.add(m_projectNameFeedback);\n add(m_projectNameFeedback, id + \"projectNameRow\");\n \n m_packageName = new TextBox();\n m_packageName.setTitle(Index.getStrings().packageName_tt());\n m_packageName.addKeyUpHandler(this);\n m_packageName.addKeyPressHandler(this);\n m_packageName.getElement().setId(id + \"packageNameTxt\");\n m_packageName.getElement().addClassName(WIDE_TEXT_FIELD);\n add(m_packageName, id + \"packageName\");\n \n m_packageNameFeedback = new FormFeedback();\n m_feedbacks.add(m_packageNameFeedback);\n add(m_packageNameFeedback, id + \"packageNameRow\");\n \n addBuildTypes(id);\n \n m_submit = new SimpleButton(Index.getStrings().projectCreatorSubmit());\n m_submit.addClickHandler(new ClickHandler() {\n public void onClick(ClickEvent event)\n {\n event.preventDefault();\n createProject();\n }\n });\n \n add(m_submit, id + \"projectCreatorButtons\"); \n \n Anchor backToCreate = new Anchor(Index.getStrings().backToCreate(), \"#\");\n backToCreate.addClickHandler(new ClickHandler() {\n\n @Override\n public void onClick(ClickEvent event)\n {\n event.preventDefault();\n JSUtil.hide(getElement().getId() + \"createFormInst\");\n JSUtil.show(getElement().getId() + \"createForm\");\n }\n });\n add(backToCreate, id + \"backToCreateAnchor\");\n \n getElement().setId(id);\n\n updateFormStatus(null);\n }", "title": "" }, { "docid": "38f37dc2b116f1bf6ca5d81323ae5bcc", "score": "0.5635967", "text": "Page createPage();", "title": "" }, { "docid": "99b84ab2d1e24c1d4c3acb09e535e110", "score": "0.56238955", "text": "public New() {\n initComponents();\n }", "title": "" }, { "docid": "c04226e83f06bafd2105c8925b02c23e", "score": "0.5617257", "text": "public void showCreateSnippetForm() {\n \t\tWindow.scrollTo(0, 0);\n \t\tPopupPanel ppnlSnippet = new PopupPanel(true, true);\n \t\tppnlSnippet.setStyleName(\"contactForm\");\n \t\tppnlSnippet.setTitle(\"Create snippet\");\n \t\tCreateSnippet newSnippet = new CreateSnippet(ppnlSnippet, \"Create\");\n \t\tppnlSnippet.setWidget(newSnippet);\n \t\tppnlSnippet.setGlassEnabled(true);\n \t\tppnlSnippet.setPopupPosition(90, 104);\n \t\tppnlSnippet.setWidth(\"250px\");\n \t\tppnlSnippet.show();\n \n \t}", "title": "" }, { "docid": "bcbaa3b3fa608d31fc638863f473db3a", "score": "0.56102014", "text": "public TestForm(String name) {\n super(name);\n }", "title": "" }, { "docid": "5af015d39c8284c55e86d580c260a657", "score": "0.5602458", "text": "public form() {\n initComponents();\n hapus ();\n \n }", "title": "" }, { "docid": "73fa4bf9d9bf5bceb1e08223a0d92c01", "score": "0.5595815", "text": "protected GuiTestObject button_generarsubmit() \r\n\t{\r\n\t\treturn new GuiTestObject(\r\n getMappedTestObject(\"button_generarsubmit\"));\r\n\t}", "title": "" }, { "docid": "249e82c3bfb687e9522672ef49d82ec3", "score": "0.5591602", "text": "@Override\r\n\t\tpublic void onClick(ClickEvent event) {\n\t\t\tRootPanel.get(\"details\").clear();\r\n\t\t\terstellen = new KinoErstellenForm();\r\n\t\t\tRootPanel.get(\"details\").add(erstellen);\r\n\t\t}", "title": "" }, { "docid": "c084c261c78b0b2e9618c8f063aebaaa", "score": "0.55808604", "text": "@Test\n public void defaultStateOfAddAComputerForm() throws Exception {\n\n MainPage mainPage = new MainPage( window );\n mainPage.goToAddAComputerPage();\n\n AddAComputerPage addAComputerPage = new AddAComputerPage( window );\n\n // Input fields\n String[] inputs = new String[]{ addAComputerPage.XPATH_COMPUTER_NAME_INPUT, addAComputerPage.XPATH_INTRODUCED_DATE_INPUT, addAComputerPage.XPATH_DISCONTINUED_DATE_INPUT};\n Utils.checkPageContainsElements( inputs );\n\n // Info labels near the fields\n String[] labels = new String[]{ addAComputerPage.XPATH_COMPUTER_NAME_LABEL, addAComputerPage.XPATH_INTRODUCED_DATE_LABEL, addAComputerPage.XPATH_DISCONTINUED_DATE_LABEL};\n Utils.checkPageContainsElements( labels );\n\n // Company name selector\n window.findElement( By.xpath ( addAComputerPage.XPATH_COMPANY_SELECT) );\n\n // Create this computer and Cancel button should be enabled\n boolean createButtonEnabled = window.findElement( By.xpath ( addAComputerPage.XPATH_CREATE_THIS_COMPUTER_BUTTON ) ).isEnabled();\n if( !createButtonEnabled )\n Assert.fail( addAComputerPage.XPATH_CREATE_THIS_COMPUTER_BUTTON + \" button is disabled!\");\n\n boolean cancelButton = window.findElement( By.xpath (addAComputerPage.XPATH_CANCEL_BUTTON) ).isEnabled();\n if( !cancelButton )\n Assert.fail( addAComputerPage.XPATH_CANCEL_BUTTON + \" button is disabled!\");\n }", "title": "" }, { "docid": "ea24868ad18eca81d5bab521825b24ac", "score": "0.5569777", "text": "@Override\r\n\t\tpublic void onClick(ClickEvent event) {\n\t\t\tRootPanel.get(\"details\").clear();\r\n\t\t\terstellen = new KinoketteErstellenForm();\r\n\t\t\tRootPanel.get(\"details\").add(erstellen);\r\n\t\t}", "title": "" }, { "docid": "aa3b3b80292bf658e045b8bd132375a2", "score": "0.5565748", "text": "public HtmlPage selectCreateSite()\n {\n selectSitesDropdown();\n findAndWait(CREATE_SITE_LINK).click();\n return factoryPage.instantiatePage(driver, CreateSitePage.class);\n }", "title": "" }, { "docid": "a20451d2859c641d930f02f9c629fb5a", "score": "0.5555057", "text": "public CreerProjetUI(){\r\n \t\r\n \tinitComponents();\r\n }", "title": "" }, { "docid": "8720fc0f555ad1a7df3e36e77c9782ba", "score": "0.55481875", "text": "@Override\n\tprotected void buildForm() {\n\t content.setWidth(\"500px\");\n\t text = new TextBox();\n\t text.setWidth(\"250px\");\n\t url = new TextBox();\n\t url.setWidth(\"250px\");\n addField(text, \"Text:\");\n addField(url, \"URL:\");\n submit.addClickHandler(new ClickHandler() {\n public void onClick(ClickEvent event) {\n if (url.getText().equals(\"\")) {\n Window.alert(\"URL is a required field.\");\n return;\n }\n String latex = \"\";\n if (text.getText().equals(\"\")) {\n latex = \"\\\\url{\" + url.getText() + \"}\";\n } else {\n latex = \"\\\\url{\" + url.getText() + \"}{\" + text.getText() + \"}\";\n }\n \t\t CommandEvent.fire(new SystemPasteCommand(latex, new String[] { \"\\\\usepackage{hyperref}\" }));\n hide();\n resetForm();\n }\n });\n cancel.addClickHandler(new ClickHandler(){\n public void onClick(ClickEvent event) {\n hide();\n resetForm();\n }\n });\n onShow = new Runnable() {\n\t\t@Override\n\t\tpublic void run() {\n\t\t resetForm(defaultText);\n\t\t}\n };\n\t}", "title": "" }, { "docid": "20fa5a75dee0caedac3d26bceeb7b29e", "score": "0.55456305", "text": "protected abstract void initForm();", "title": "" }, { "docid": "d03f4ccf2e0b81e472b6ec922b4a74cd", "score": "0.5537234", "text": "private void layoutForm() {\n\n\t\tFormBuilder builder = FormBuilder.create()\n\t\t\t\t.columns(\n\t\t\t\t\t\t\"[50dlu , pref], 5dlu, [50dlu , pref], 5dlu, [50dlu , pref], 5dlu, [50dlu, pref]\")\n\t\t\t\t.rows(\"p, $lg, p, $lg, p, $lg, p, $lg, p, $lg, p, $lg, p, $lg, p, $lg, p, $lg, p, $lg, p, $lg, p, $lg, p, $lg, p, $lg, p, $lg, p, $lg, p, $lg, p, $lg, p, $lg, p\");\n\n\t\tbuilder.add(rulesetErrorLabel).rcw(1, 1, 7);\n\t\t;\n\n\t\tbuilder.addLabel(getMessage(I18N + \".label.rulesetName\")).rcw(3, 1, 7);\n\t\tbuilder.add(regelsetNameTextField).rcw(5, 1, 7);\n\n\t\tbuilder.addLabel(getMessage(I18N + \".label.targetDirectory\")).rcw(7, 1, 7);\n\n\t\ttargetDirectoryList = getDirectories(ApplicationSettings.getInstance().getInbox_path(), true);\n\t\ttargetDirectoryComboBox = new JComboBox<String>(targetDirectoryList);\n\t\tbuilder.add(targetDirectoryComboBox).rcw(9, 1, 7);\n\n\t\tbuilder.addLabel(getMessage(I18N + \".label.newFilename\")).rcw(11, 1, 7);\n\t\tbuilder.add(newFilenameTextField).rcw(13, 1, 7);\n\n\t\tbuilder.addLabel(getMessage(I18N + \".label.status\")).rcw(15, 1, 7);\n\t\tbuilder.add(statusCheckBox).rcw(17, 1, 3);\n\n\t\tbuilder.addSeparator(null).rcw(25, 1, 7);\n\t\tbuilder.add(tabbedPane).rcw(27, 1, 7);\n\t\tbuilder.addSeparator(null).rcw(33, 1, 7);\n\n\t\tbuilder.add(addButton).rcw(35, 1, 1);\n\t\tbuilder.add(deleteButton).rcw(35, 3, 1);\n\t\tbuilder.add(saveButton).rcw(35, 5, 1);\n\t\tbuilder.add(cancelButton).rcw(35, 7, 1);\n\n\t\tbuilder.padding(new EmptyBorder(5, 5, 5, 5));\n\t\tJPanel build = builder.build();\n\n\t\tgetFrame().add(new JScrollPane(build), BorderLayout.CENTER);\n\n\t\tsetDimension(425, 600);\n\t}", "title": "" }, { "docid": "501c02fb4c94802b3f24931d48e1d13a", "score": "0.55316395", "text": "public CreateInvoiceForm() {\n initComponents();\n }", "title": "" }, { "docid": "cc74f632666e45401dbf1904d008b8bc", "score": "0.5523228", "text": "public TieForm() {\n initComponents();\n }", "title": "" }, { "docid": "18428acdf87aa3baaebd7fa69b394cf2", "score": "0.55207", "text": "private void createPersonForm() {\n windowPerson = new Window();\n createWindowCenter(windowPerson, widthPersonWin, heightPersonWin, constants.person());\n windowPerson.addItem(addFormPerson(\"[\" + constants.name() + \"]\", \"-\", \"-\", true, ADD));\n configureFormWindow(windowPerson);\n errorMessage.setVisible(false);\n windowPerson.addItem(errorMessage);\n }", "title": "" }, { "docid": "54a5fb513e3a21d1ce3ac31464e902d1", "score": "0.55130446", "text": "private void onAddReciepe() {\n\t\tUploadFoodView uploadReciepe = new UploadFoodView();\r\n\t\tuploadReciepe.build(getStage(), getViewController());\r\n\t\tuploadReciepe.buildInfo(\r\n\t\t\t\tgetName(),\r\n\t\t\t\tStringSystem.VIEW_UPLOAD_RECIEPE,\r\n\t\t\t\tnew Rectangle(0, 0, Constants.WIDTH_SCREEN,\r\n\t\t\t\t\t\tConstants.HEIGHT_SCREEN)).buildComponent();\r\n\t\t_viewController.addView(uploadReciepe);\r\n\t\tuploadReciepe.show();\r\n\r\n\t}", "title": "" }, { "docid": "d88394d650229adb722eb03a1299540d", "score": "0.55120605", "text": "@Override\n\tprotected void createContents(Composite parent) {\n\t\tSystem.out.println(\"Main Page started\");\n\t\tstartControlServiceSeviceTracker();\n\t\tfinal ServerPushSession pushSession = new ServerPushSession();\n\t\tpushSession.start();\n\t\tthis.parent = parent;\n\t\tFormLayout formLayout = new FormLayout();\n\t\tformLayout.marginTop = 5;\n\t\tformLayout.marginLeft = 5;\n\t\tparent.setLayout(new FormLayout());\n\n\t\tif (controlService != null) {\n\t\t\tsessionID = controlService.createSession();\n\t\t} else {\n\t\t\tSystem.err.println(\"ControlService Not Found!\");\n\t\t}\n\n\t\tsetBackgroundImage(parent);\n\t\tcreateLoginComposite(parent);\n\t\tcreateTabFolderComposite(parent);\n\n\t\tif (sessionID != null) {\n\t\t\taddSessionIDToTabs(sessionID);\n\t\t}\n\t}", "title": "" }, { "docid": "33bf36d2b74fa039dca4c76cd96b68c6", "score": "0.55110574", "text": "public void designNewAccountPanel()\n\t{\n\t\t//create components to be added to account panel\t\t\n\t\t//add labels & text areas\n\t\tJLabel companyLabel = new JLabel(\"Friendly Neighborhood Bank\");\n \tFont bigFont = new Font(\"Times New Roman\", Font.BOLD, 34); \t\t\t\t\t\n\t\tcompanyLabel.setFont(bigFont);\t\t\n\t\tcompanyLabel.setForeground(Color.RED);\t\t\n \tJLabel programmerNameLabel = new JLabel(\"\\n Maintained by Bryant Tunbutr\");\n\t\ticonLabel = new JLabel(new ImageIcon(\"piggy-bank-icon.png\"));\n\n\t\t//add components to the account panel\t\t\n\t\tnewAccountPanel.add(iconLabel);\n\t\tnewAccountPanel.add(companyLabel);\n\t\tnewAccountPanel.add(firstNameLabel);\n\t\tnewAccountPanel.add(firstNameTextField);\n\t\tnewAccountPanel.add(lastNameLabel);\n\t\tnewAccountPanel.add(lastNameTextField);\n\t\tnewAccountPanel.add(pinLabel);\n\t\tnewAccountPanel.add(pinCreateTextField);\n\t\tnewAccountPanel.add(outputTextArea);\n\t\tnewAccountPanel.add(addNewAccountButton);\n\t\tnewAccountPanel.add(backAccountButton);\n\t\tnewAccountPanel.add(programmerNameLabel);\t\t\n\t}", "title": "" }, { "docid": "d569c642c1813a9fad3f21b137c10587", "score": "0.55082124", "text": "@RequestMapping(\"/create\")\n public ModelAndView createReviewForm() {\n LOGGER.info(\"showing the createReviewForm\");\n ModelAndView mav = new ModelAndView();\n mav.setViewName(\"review/editReview\");\n mav.addObject(\"editReviewForm\", new EditReviewForm());\n return mav;\n }", "title": "" }, { "docid": "9db86107a70d69b4c52f20eade3853d1", "score": "0.5507668", "text": "public NewEmployeePage submit() {\n // clickEmployeeNewEmployeesSearchEmployeesDashBoardRmDashBoardButton();\n return this;\n }", "title": "" }, { "docid": "989069772d2a162fcb04e4d670519f26", "score": "0.5506689", "text": "@RequestMapping(value = \"new\", method = RequestMethod.GET)\n @PreAuthorize(\"hasPermission('SKILL', 'ADD')\")\n public String showCreateSkillForm(ModelMap model) {\n\n // initialise the form bean\n model.addAttribute(\"skillForm\", new SkillForm());\n model.addAttribute(\"categories\", skillDao.findSkillCategories());\n model.addAttribute(\"departments\", departmentDao.findDepartments());\n model.addAttribute(\"submitUri\", SkillModelFactory.generateUri(null));\n model.addAttribute(\"submitMethod\", \"POST\");\n return \"skills/edit\";\n }", "title": "" }, { "docid": "7b0428fce29c75f67fb4c4eaeabcc01b", "score": "0.5505765", "text": "private void showCreateForm(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException\n {\n request.getRequestDispatcher(\"/WEB-INF/administration/create_topping.jsp\").forward(request, response);\n }", "title": "" }, { "docid": "88b5fc79f4660a6619eff2e538aac202", "score": "0.5496353", "text": "public void create() {\n initComponents();\n this.setVisible(true);\n }", "title": "" }, { "docid": "2cf0d6f2030a5adcea99956cbdbddaba", "score": "0.54962546", "text": "public static void newRequest() throws IOException{\r\n\t\tFXMLLoader loader = new FXMLLoader();\r\n\t\tloader.setLocation(Main.class.getResource(\"/client/NewRequestGUI.fxml\"));\r\n\t\tmainLayout = loader.load();\r\n\t\tprimaryStage.setScene(new Scene(mainLayout));\r\n\t\tprimaryStage.setTitle(\"M.A.T- New Request Form\");\r\n\t\tprimaryStage.show();\r\n\t}", "title": "" }, { "docid": "fe53e7491427b8ba6685012f868f3319", "score": "0.5493288", "text": "public create1() {\n initComponents();\n }", "title": "" }, { "docid": "87770ffd04a9bf4ec3d50f97dd03be90", "score": "0.5482667", "text": "public com.rcs.webform.model.FormItem createFormItem(long formItemId);", "title": "" }, { "docid": "67639577c01e0a66e7bfd24e15931e38", "score": "0.5470126", "text": "public void newPaquete() {\n\t\tcleanForm();\n\t\tthis.action = Action.NEW;\n\t\tthis.stateNewEdit();\n\t\tthis.addMessage(\"Hice click en Nuevo\");\n\t}", "title": "" }, { "docid": "44153575f57e87fc163f02d613d5602b", "score": "0.5460275", "text": "public VisualizzaRichiesteAggiuntaAppelloForm() {\n initComponents();\n appelli = new Appelli();\n appelli.caricaRichieste();\n richiesteTable.setModel(appelli);\n }", "title": "" }, { "docid": "852e1c030c17a6222b1591ab6a73724d", "score": "0.5453124", "text": "protected GuiTestObject form_idTmpBIdForm() \r\n\t{\r\n\t\treturn new GuiTestObject(\r\n getMappedTestObject(\"form_idTmpBIdForm\"));\r\n\t}", "title": "" }, { "docid": "bb19b201fb163c9f4135d1a31d264f87", "score": "0.54509634", "text": "public static void makeUI() {\n }", "title": "" }, { "docid": "7095d3b6ae40bbc761601a87ba26ab09", "score": "0.545096", "text": "private String showNewUserForm(HttpServletRequest request, HttpServletResponse response) {\n\t\treturn \"newuser.jsp\";\n\t}", "title": "" }, { "docid": "601d4bb1c3b374e123226e205490ac49", "score": "0.54507446", "text": "public NewServiceMasterDataWizardPage(ISelection selection) {\n\t\tsuper(\"wizardPage\");\n\t\tsetTitle(\"Create a new Service\");\n\t\tsetDescription(\"Create a new Service\");\n\t\tthis.selection = selection;\n\t\ttemplates= ServiceTemplateUtils.getInstance().getList();\n\t}", "title": "" }, { "docid": "ec3d19864ab9dd4762e2b831496a7813", "score": "0.54417306", "text": "private JPanel createForm() {\n JPanel form = new JPanel(new GridLayout(6,1));\n form.add(createRow1());\n form.add(createRow2());\n form.add(createRow3());\n form.add(createRow4());\n form.add(createRow5());\n form.add(createRow6());\n return form;\n }", "title": "" }, { "docid": "92ca82a4aa6a9831cf6f09a56e52a24f", "score": "0.54412866", "text": "protected void createContents() {\r\n\t\tshell = new Shell();\r\n\t\tshell.setImage(SWTResourceManager.getImage(Garuda.class, \"plane.png\"));\r\n\t\tshell.setSize(700, 520);\r\n\t\tshell.setText(\"SMS代码生成-0.0.1-SNAPSHOT\");\r\n\t\tshell.setLayout(new FormLayout());\r\n\t\t\r\n\t\tthis.buildMenu();\r\n\t\tthis.createDBConfigPanel();\r\n\t}", "title": "" }, { "docid": "805b2cf8010113424eb8dc95d85c6ead", "score": "0.54323524", "text": "protected Control createDialogArea(Composite ancestor) \n { \n setTitle(\"Create a Html Form\");\n setMessage(\"Enter the name of the new form and select the anchor DB Table Alias\");\n setTitleImage(JacobDesigner.getImage(\"new_html_form_dialog.png\"));\n \n\t\tFormLayout layout =\tnew FormLayout(\n\t\t\t\t\"5dlu,280dlu:grow,50dlu,5dlu,50dlu,5dlu\",\n\t\t\t\t\"pref,5dlu,pref,5dlu,pref,5dlu,120dlu:grow,5dlu,max(20dlu;pref)\");\n\t\t\n\t\tPanelBuilder builder = new PanelBuilder(ancestor, layout);\n\t\t\n\t\tCellConstraints cc = new CellConstraints();\n\n // the name part\n\t\tbuilder.addSeparator(\"Form Name\",cc.xywh(2,1,4,1));\n\t\tbuilder.add(createName(ancestor),cc.xywh(2,3,4,1));\n\t\t\n\t\t// the parameter edit part\n\t\tbuilder.addSeparator(\"DB Table Alias\",cc.xywh(2,5,4,1));\n\t\tbuilder.add(createTable(ancestor),cc.xywh(2,7,4,1));\n\t\t\n // the button bar\n\t\tbuilder.add(createOkButton(ancestor), cc.xy(3,9));\n\t\tbuilder.add(createCancelButton(ancestor), cc.xy(5,9));\n\t\n//\t\tFormDebugUtils.debugLayout(builder.getComposite());\n \n return builder.getComposite();\n }", "title": "" }, { "docid": "10940d24c5138bf4976527d2499bbf01", "score": "0.54233104", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n jPanel1 = new javax.swing.JPanel();\n jLabel2 = new javax.swing.JLabel();\n jCreateName = new javax.swing.JTextField();\n jLabel3 = new javax.swing.JLabel();\n jCreateDesc = new javax.swing.JTextField();\n jLabel4 = new javax.swing.JLabel();\n jCreateCost = new javax.swing.JTextField();\n jLabel5 = new javax.swing.JLabel();\n jCreatePrice = new javax.swing.JTextField();\n jLabel6 = new javax.swing.JLabel();\n jCreateQuant = new javax.swing.JTextField();\n jCreate = new javax.swing.JButton();\n jCancel = new javax.swing.JButton();\n jLabel8 = new javax.swing.JLabel();\n jStatus = new javax.swing.JTextField();\n jLabel7 = new javax.swing.JLabel();\n jLabel9 = new javax.swing.JLabel();\n jLabel10 = new javax.swing.JLabel();\n jLabel11 = new javax.swing.JLabel();\n jLabel12 = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n addWindowListener(new java.awt.event.WindowAdapter() {\n public void windowOpened(java.awt.event.WindowEvent evt) {\n formWindowOpened(evt);\n }\n });\n\n jLabel1.setFont(new java.awt.Font(\"Tahoma\", 0, 24)); // NOI18N\n jLabel1.setText(\"CREATE NEW WIDGET\");\n\n jLabel2.setFont(new java.awt.Font(\"Tahoma\", 0, 18)); // NOI18N\n jLabel2.setText(\"Name:\");\n\n jCreateName.setText(\"jTextField1\");\n jCreateName.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jCreateNameActionPerformed(evt);\n }\n });\n\n jLabel3.setFont(new java.awt.Font(\"Tahoma\", 0, 18)); // NOI18N\n jLabel3.setText(\"Description:\");\n\n jCreateDesc.setText(\"jTextField2\");\n jCreateDesc.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jCreateDescActionPerformed(evt);\n }\n });\n\n jLabel4.setFont(new java.awt.Font(\"Tahoma\", 0, 18)); // NOI18N\n jLabel4.setText(\"Unit Cost Price: $\");\n\n jCreateCost.setText(\"jTextField3\");\n jCreateCost.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jCreateCostActionPerformed(evt);\n }\n });\n\n jLabel5.setFont(new java.awt.Font(\"Tahoma\", 0, 18)); // NOI18N\n jLabel5.setText(\"Unit Price: $\");\n\n jCreatePrice.setText(\"jTextField4\");\n jCreatePrice.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jCreatePriceActionPerformed(evt);\n }\n });\n\n jLabel6.setFont(new java.awt.Font(\"Tahoma\", 0, 18)); // NOI18N\n jLabel6.setText(\"Quantity:\");\n\n jCreateQuant.setText(\"jTextField5\");\n jCreateQuant.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jCreateQuantActionPerformed(evt);\n }\n });\n\n jCreate.setText(\"Create\");\n jCreate.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseReleased(java.awt.event.MouseEvent evt) {\n jCreateMouseReleased(evt);\n }\n });\n\n jCancel.setText(\"Cancel\");\n jCancel.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseReleased(java.awt.event.MouseEvent evt) {\n jCancelMouseReleased(evt);\n }\n });\n\n jLabel8.setFont(new java.awt.Font(\"Tahoma\", 0, 18)); // NOI18N\n jLabel8.setText(\"Status:\");\n\n jStatus.setHorizontalAlignment(javax.swing.JTextField.CENTER);\n jStatus.setText(\"jTextField1\");\n\n jLabel7.setForeground(new java.awt.Color(255, 153, 153));\n jLabel7.setText(\"Only numbers are allowed.\");\n\n jLabel9.setForeground(new java.awt.Color(255, 153, 153));\n jLabel9.setText(\"Only numbers are allowed.\");\n\n jLabel10.setForeground(new java.awt.Color(255, 153, 153));\n jLabel10.setText(\"Only numbers are allowed.\");\n\n jLabel11.setForeground(new java.awt.Color(255, 153, 153));\n jLabel11.setText(\"Description is too long\");\n\n jLabel12.setForeground(new java.awt.Color(255, 153, 153));\n jLabel12.setText(\"Name is required.\");\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(47, 47, 47)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel2, javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel3, javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel4)\n .addComponent(jLabel5, javax.swing.GroupLayout.Alignment.TRAILING))\n .addComponent(jLabel6))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jLabel8)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jStatus, javax.swing.GroupLayout.PREFERRED_SIZE, 192, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(jCreateName, javax.swing.GroupLayout.DEFAULT_SIZE, 153, Short.MAX_VALUE)\n .addComponent(jCreateDesc)\n .addComponent(jCreateCost)\n .addComponent(jCreatePrice)\n .addComponent(jCreateQuant)\n .addComponent(jCreate, javax.swing.GroupLayout.PREFERRED_SIZE, 115, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(44, 44, 44)\n .addComponent(jCancel, javax.swing.GroupLayout.PREFERRED_SIZE, 110, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(18, 18, 18)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel9)\n .addComponent(jLabel7)\n .addComponent(jLabel10)\n .addComponent(jLabel11)\n .addComponent(jLabel12))))))\n .addContainerGap(181, Short.MAX_VALUE))\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jCreateName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel12))\n .addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, 23, Short.MAX_VALUE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel3)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jCreateDesc, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel11)))\n .addGap(7, 7, 7)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jCreateCost, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel7))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, 27, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jCreatePrice, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel9))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jCreateQuant, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel10))\n .addGap(29, 29, 29)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jCreate)\n .addComponent(jCancel))\n .addGap(28, 28, 28)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel8, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jStatus, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addContainerGap(58, Short.MAX_VALUE))\n );\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addContainerGap())\n .addGroup(layout.createSequentialGroup()\n .addGap(206, 206, 206)\n .addComponent(jLabel1)\n .addContainerGap(253, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jLabel1)\n .addGap(18, 18, 18)\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addContainerGap())\n );\n\n pack();\n }", "title": "" }, { "docid": "f873cb3cdb231fa7dc8577d34cab6f9a", "score": "0.5419617", "text": "private void goToAddPage() {\n driver.get(BASE_URL);\n driver.findElement(By.id(\"addComputer\")).click();\n }", "title": "" }, { "docid": "56937af906a7c3f9401ddb147fb288e9", "score": "0.5414631", "text": "public FormProduto() {\n initComponents();\n }", "title": "" }, { "docid": "361b5112b28e8121e2b868872eb8bbc9", "score": "0.5414539", "text": "public Result create() {\n\t\tForm<Person> persForm = formFactory.form(Person.class);\n\t\treturn ok(views.html.perscreateForm.render(persForm));\n\t}", "title": "" }, { "docid": "a641fb3db210311964fb02bdfe7f7bba", "score": "0.5412723", "text": "public addNewProjectForm() {\n initComponents();\n }", "title": "" }, { "docid": "208c353771282dd6254b5134b0ced943", "score": "0.5412154", "text": "public void createFormWithData() {\n String id = fm.get(\"ID\");\n String name = fm.get(\"NAME\");\n\n // crear objecto FormData\n FormData fD = new FormData(id, name);\n fD.getData().addAll(currentData);\n\n //Agregar a listado de FormData\n this.fmData.add(fD);\n\n //Limpiar listado\n this.currentData.clear();\n this.fm.clear();\n }", "title": "" }, { "docid": "a5046102c7af37c5403b81a4cdea4469", "score": "0.54063445", "text": "public NewDeliveryToFacilityUI() {\n initComponents();\n setLocationRelativeTo(null);\n jLabel1.setText(\"Выбранный объект: \" + MainUI.getSelectedPoint());\n refreshCatalog();\n refreshTable();\n }", "title": "" }, { "docid": "8084d446016b0438f912cc244542a240", "score": "0.5405868", "text": "public ScrolledForm create() {\n\t\ttoolkit = new FormToolkit(parent.getDisplay());\n\t\tScrolledForm form = toolkit.createScrolledForm(parent);\n\n\t\tList<InspectionMeasure> measures = checklist.getInspectionMeasures();\n\t\tString measureNames = \"\";\n\t\tfor (InspectionMeasure measure : measures) {\n\t\t\tif (measures.indexOf(measure) != measures.size() - 1) {\n\t\t\t\tmeasureNames += measure.getMeasureName() + \", \";\n\t\t\t} else {\n\t\t\t\tmeasureNames += measure.getMeasureName();\n\t\t\t}\n\t\t}\n\t\tform.setText(measureNames);\n\t\tform.getBody().setLayout(new TableWrapLayout());\n\n\t\tSection section = toolkit.createSection(form.getBody(),\n\t\t\t\tExpandableComposite.FOCUS_TITLE);\n\t\tfinal String qmFileName = checklist.getQmFileName();\n\t\tsection.setText(\"Quality Model: \" + qmFileName);\n\t\tsection.setLayout(new TableWrapLayout());\n\t\tTableWrapData data = new TableWrapData();\n\t\tdata.grabHorizontal = true;\n\t\tdata.align = TableWrapData.FILL;\n\t\tsection.setLayoutData(data);\n\t\tsection.addExpansionListener(new ExpansionAdapter() {\n\n\t\t\t/** {@inheritDoc} */\n\t\t\t@Override\n\t\t\tpublic void expansionStateChanged(ExpansionEvent e) {\n\t\t\t\topenFile(qmFileName);\n\t\t\t}\n\n\t\t});\n\n\t\t// one expandable section per item\n\t\tfor (InspectionMeasure measure : checklist.getInspectionMeasures()) {\n\t\t\tcreateMeasureSection(form, measure);\n\t\t}\n\t\treturn form;\n\t}", "title": "" }, { "docid": "88b097e263518bcb17028ca9b0de2e49", "score": "0.54040486", "text": "public BuyUI() {\n initComponents();\n }", "title": "" }, { "docid": "5f03511c746ec7dafd81ff03268d6d4d", "score": "0.5397005", "text": "public void testAddToForm() throws Exception\n {\n check(BUILDER_FORM, DEFAULT_RESULT, false);\n assertNotNull(\"Element was not added to form\", builderData.getForm()\n .getField(ELEM_NAME));\n }", "title": "" }, { "docid": "5bea8b79f24827fde200d5b40e817ca9", "score": "0.5394406", "text": "private static String getForm() {\n return \"<h1>TBX2RDF Converter</h1>\\n\"\n + \"<form action='' method='post' enctype='multipart/form-data'>\\n\"\n + \" <label for='content'>TBX Document:</label>\\n\"\n + \" <input type='file' name='content' id='content'><br>\\n\"\n + \" <label for='content'>Resource URI (where you intend to publish the RDF document):</label>\\n\"\n + \" <input type='text' name='resourceURI' id='resourceURI' value='http://'><br>\\n\"\n + \" <label for='content'>Extra mappings:</label><br>\\n\"\n + \" <textarea name='mappings' cols='80' rows='10'></textarea><br>\\n\"\n + \" <input type='submit' value='Submit'><br>\\n\"\n + \"</form></body></html>\";\n }", "title": "" }, { "docid": "292d44f2088a1997e556d1af1f9606ea", "score": "0.53919154", "text": "@GetMapping(\"/admin/cpe/createform\")\n\tpublic ModelAndView createform() {\n\t\n\tCPE cpe = new CPE();\n\t\n\tModelAndView modelAndView = new ModelAndView(\"admin/cpe/createform\", \"carreraCPE\", cpe);\n\t\n\treturn modelAndView;\n\t}", "title": "" }, { "docid": "95d088d9855a15629d01c70a9b863a6d", "score": "0.5388835", "text": "public CategoryFB newFormBean() {\r\n\t\tcurrentPage = cms.newCategory();\r\n\t\tCategoryFB fb = new CategoryFB(currentPage);\r\n\r\n\t\ttry {\r\n\t\t\tUsers utenteLoggato = cms.getUser(hos.getloggedUserId());\r\n\t\t\tfb.getBean().setUsersByWpCreator(utenteLoggato);\r\n\t\t} catch (Exception e) {\r\n\t\t\tlog.debug(\"Attenzione utente loggato non trovato in sessione\", e);\r\n\t\t}\r\n\r\n\t\tfb.setTemplateSL(cms.getTemplates());\r\n\t\tfb.setPageStateSL(cms.getPageStates());\r\n\t\tcreateSectionsCB(currentPage, fb);\r\n\r\n\t\tfb.setProfiles(cms.getProfiliGestiti(currentPage));\r\n\r\n\t\treturn fb;\r\n\t}", "title": "" }, { "docid": "973bbeb65b61a101395daeb2b9b37740", "score": "0.53859335", "text": "public FormSupplier() {\n super();\n }", "title": "" }, { "docid": "8878819478f515e8ebd1f54e826d867e", "score": "0.53837633", "text": "public void createNewContact(String title, String ftname, String ltname, String comp)\n\t{\n\t\tSelect sel = new Select(titleIs);\n\t sel.selectByVisibleText(title);\n\t \n\t firstName.sendKeys(ftname);\n\t lastName.sendKeys(ltname);\n\t company.sendKeys(comp);\n\t driver.findElement(By.xpath(\"//*[@id='contactForm']/table/tbody/tr[1]/td/input[2]\")).click();\n\t \n\t}", "title": "" }, { "docid": "752a63bb19fd619ec144f0085ecdb30f", "score": "0.5379252", "text": "public void designNewWindow()\r\n {\r\n //place the label and textfields in correct order\r\n addMemberG.add(addFNameL, 0, 0);\r\n addMemberG.add(addFNameText, 2, 0);\r\n addMemberG.add(addSNameL, 0, 1);\r\n addMemberG.add(addSNameText, 2, 1);\r\n addMemberG.add(addAftSNameL, 0, 2);\r\n addMemberG.add(addAftSNameText, 2, 2);\r\n addMemberG.add(addGenderL, 0, 3);\r\n addMemberG.add(addGenderText, 2, 3);\r\n addMemberG.add(addLifeDescL, 0, 5);\r\n addMemberG.add(addLifeDescText, 2, 5);\r\n addMemberG.add(addStNumberL, 0, 6);\r\n addMemberG.add(addStNumberText, 2, 6);\r\n addMemberG.add(addStNameL, 0, 7);\r\n addMemberG.add(addStNameText, 2, 7);\r\n addMemberG.add(addSuburbL, 0, 8);\r\n addMemberG.add(addSuburbText, 2, 8);\r\n addMemberG.add(addPostcodeL, 0, 9);\r\n addMemberG.add(addPostcodeText, 2, 9);\r\n addMemberG.setPadding(new Insets(5,5,5,5));\r\n addGenderText.getItems().add(\"Male\");\r\n addGenderText.getItems().add(\"Female\");\r\n addGenderText.getSelectionModel().selectFirst();\r\n addMemberSP.setPadding(new Insets(5,5,5,5));\r\n }", "title": "" }, { "docid": "f6671574db22f6ccbc73ef04b6492e3e", "score": "0.5376185", "text": "public void createAccountForm() throws IOException {\n Stage userStage = new Stage();\r\n try {\r\n loader = new FXMLLoader(getClass().getResource(\"user.fxml\"));\r\n Parent root = loader.load();\r\n userStage.setTitle(\"Wallet Page\");\r\n userStage.initStyle(StageStyle.UNDECORATED);\r\n userStage.setScene(new Scene(root, 750, 500));\r\n ActionEvent actionEvent = new ActionEvent();\r\n hide(actionEvent);\r\n userStage.show();\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n }", "title": "" }, { "docid": "44a4aa957a2af5a2854f506f51e62903", "score": "0.53755146", "text": "public static void navigateToRubricCreationPage(){\n\t\tClickOnRubricsTab();\n\t\tAPP_LOGS.debug(\"Clicked on Rubrics Tab!\");\n\t\telementExists(OR.getProperty(\"createNewRubricButton\")).click();\n\t\twaitInSeconds(10);\n\t\tAPP_LOGS.debug(\"Create New Ruburic Button Clicked!\");\n\t\twaitInSeconds(2);\n\t\t//check whether 'Create New Rubric' page is displayed or not\n\t\tif(elementExists(\"//div[@class='headline']\").getText().trim().equalsIgnoreCase(\"Create New Rubric\"))\n\t\t\tAPP_LOGS.debug(\"'Create New Rubric' page is displayed!\");\n\t\telse\n\t\t\tAssert.assertEquals(elementExists(\"//div[@class='headline']\").getText().trim(), \"Create New Rubric\");\n\t}", "title": "" }, { "docid": "faaa7665915399b4cca3b5c574dcad80", "score": "0.5373519", "text": "public void new_form(View view) {\n\n Intent i = new Intent(this, FormIRR_Swipe.class);\n ArrayList<Integer[]> arrayList = new ArrayList<Integer[]>();\n Integer[] integers = new Integer[0];\n arrayList.add(integers);\n\n this.startActivity(i);\n }", "title": "" }, { "docid": "613b838436b912334ca0118f384512f3", "score": "0.5372129", "text": "@Override\n\tpublic Control createUIControl(Composite parent) {\n\n\t\tComposite group = new Composite(parent, SWT.NONE);\n\t\t\n\n\t\tFormLayout layout = new FormLayout();\n\n\t\tparent.setLayout(layout);\n\t\tgroup.setLayout(layout);\n\n\t\tLabel datosPedido = new Label(group, SWT.NONE);\n\t\tFormDatas.attach(datosPedido).atTop(20).atLeft(100);\n\t\tdatosPedido.setText(\"Datos del Registro de Adquisición\");\n\n\t\tLabel autorCorp = new Label(group, SWT.NONE);\n\t\tFormDatas.attach(datosPedido).atTopTo(datosPedido,20).atLeft(43);\n\t\tautorCorp.setText(\"Autor Corporativo\");\n\n\t\tText textAutotCorp = new Text(group,SWT.NONE);\n\t\tFormDatas.attach(textAutotCorp).atTopTo(datosPedido,20).atLeftTo(autorCorp,75).withWidth(190);\n\n\t\tLabel volumen = new Label(group, SWT.NONE);\n\t\tFormDatas.attach(volumen).atTopTo(autorCorp,20).atLeft(43);\n\t\tvolumen.setText(\"Volumen\");\n\n\t\tText textVolumen = new Text(group,SWT.NONE);\n\t\tFormDatas.attach(textVolumen).atTopTo(autorCorp,20).atLeftTo(autorCorp,75).withWidth(190);\n\n\t\tLabel tomo = new Label(group, SWT.NONE);\n\t\tFormDatas.attach(tomo).atTopTo(volumen,20).atLeft(43);\n\t\ttomo.setText(\"Tomo\");\n\n\t\tText textTomo = new Text(group,SWT.NONE);\n\t\tFormDatas.attach(textTomo).atTopTo(volumen,20).atLeftTo(autorCorp,75).withWidth(190);\n\n\t\tLabel editor = new Label(group, SWT.NONE);\n\t\tFormDatas.attach(editor).atTopTo(tomo,20).atLeft(43);\n\t\teditor.setText(\"Editor\");\n\n\t\tText textEditor = new Text(group,SWT.NONE);\n\t\tFormDatas.attach(textEditor).atTopTo(tomo,20).atLeftTo(autorCorp,75).withWidth(190);\n\n\t\tLabel ciudad = new Label(group, SWT.NONE);\n\t\tFormDatas.attach(ciudad).atTopTo(editor,20).atLeft(43);\n\t\tciudad.setText(\"Ciudad\");\n\n\t\tText textCiudad = new Text(group,SWT.NONE);\n\t\tFormDatas.attach(textCiudad).atTopTo(editor,20).atLeftTo(autorCorp,75).withWidth(190);\n\n\t\tLabel pais = new Label(group, SWT.NONE);\n\t\tFormDatas.attach(pais).atTopTo(ciudad,20).atLeft(43);\n\t\tpais.setText(\"País\");\n\n\t\tText textPaís = new Text(group,SWT.NONE);\n\t\tFormDatas.attach(textPaís).atTopTo(ciudad,20).atLeftTo(autorCorp,75).withWidth(190);\n\n\t\tLabel edicion = new Label(group, SWT.NONE);\n\t\tFormDatas.attach(edicion).atTopTo(pais,20).atLeft(43);\n\t\tedicion.setText(\"Edición\");\n\n\t\tText textEdicion= new Text(group,SWT.NONE);\n\t\tFormDatas.attach(textEdicion).atTopTo(pais,20).atLeftTo(autorCorp,75).withWidth(190);\n\n\t\tLabel notaPub = new Label(group, SWT.NONE);\n\t\tFormDatas.attach(notaPub).atTopTo(edicion,20).atLeft(43);\n\t\tnotaPub.setText(MessageUtil.unescape(AbosMessages.get().LABEL_PUBLIC_NOTE));\n\n\t\tText textNotaPub = new Text(group,SWT.NONE);\n\t\tFormDatas.attach(textNotaPub).atTopTo(edicion,20).atLeftTo(autorCorp,75).withWidth(190);\n\n\t\tLabel datosEjemp = new Label(group, SWT.NONE);\n\t\tFormDatas.attach(datosEjemp).atTopTo(notaPub, 40).atLeft(25);\n\t\tdatosEjemp.setText(\"Datos del Ejemplar\");\n\n\t\tLabel codigoBarra = new Label(group, SWT.NONE);\n\t\tFormDatas.attach(codigoBarra).atTopTo(datosEjemp, 20).atLeft(43);\n\t\tcodigoBarra.setText(\"Código de Barra\");\n\n\t\tText textCodigoBarra = new Text(group,SWT.NONE);\n\t\tFormDatas.attach(textCodigoBarra).atTopTo(datosEjemp,20).atLeftTo(autorCorp,75).withWidth(190);\n\n\t\tLabel localizacionPerm = new Label(group, SWT.NONE);\n\t\tFormDatas.attach(localizacionPerm).atTopTo(codigoBarra, 20).atLeft(43);\n\n\t\tCombo textLocalizacionPerm = new Combo(group,SWT.NONE);\n\t\tFormDatas.attach(textLocalizacionPerm).atTopTo(codigoBarra,20).atLeftTo(localizacionPerm,30).withWidth(210);\n\n\t\tLabel localizacionEstant = new Label(group, SWT.NONE);\n\t\tFormDatas.attach(localizacionEstant).atTopTo(localizacionPerm, 20).atLeft(43);\n\t\tlocalizacionEstant.setText(\"Localización en Estantería\");\n\n\t\tCombo cb_localizacionEstant = new Combo (group,SWT.NONE);\n\t\tFormDatas.attach(cb_localizacionEstant).atTopTo(localizacionPerm,20).atLeftTo(localizacionPerm,30).withWidth(210);\n\n\t\tLabel estadoMat = new Label(group, SWT.NONE);\n\t\tFormDatas.attach(estadoMat).atTopTo(localizacionEstant, 20).atLeft(43);\n\t\testadoMat.setText(\"Estado del Material\");\n\n\t\tText textEstadoMat = new Text(group,SWT.NONE);\n\t\tFormDatas.attach(textEstadoMat).atTopTo(localizacionEstant,20).atLeftTo(autorCorp,75).withWidth(190);\n\n\n\t\tLabel restricciones = new Label(group, SWT.NONE);\n\t\tFormDatas.attach(restricciones).atTopTo(estadoMat, 20).atLeft(43);\n\t\trestricciones.setText(\"Restricciones de Uso\");\n\n\t\tCombo cb_restricciones = new Combo (group,SWT.NONE);\n\t\tFormDatas.attach(cb_restricciones).atTopTo(estadoMat,20).atLeftTo(localizacionPerm,30).withWidth(210);\n\n\t\tLabel datosAdq = new Label(group, SWT.NONE);\n\t\tFormDatas.attach(datosAdq).atTopTo(restricciones, 40).atLeft(25);\n\t\tdatosAdq.setText(\"Datos de la Adquisición\");\n\n\t\tLabel proveedor = new Label(group, SWT.NONE);\n\t\tFormDatas.attach(proveedor).atTopTo(datosAdq, 20).atLeft(43);\n\t\tproveedor.setText(\"Proveedor\");\n\n\t\tCombo cb_proveedor = new Combo (group,SWT.NONE);\n\t\tFormDatas.attach(cb_proveedor).atTopTo(datosAdq,20).atLeftTo(localizacionPerm,30).withWidth(210);\n\n\t\tLabel fechaAdq = new Label(group, SWT.NONE);\n\t\tFormDatas.attach(fechaAdq).atTopTo(proveedor, 20).atLeft(43);\n\t\tfechaAdq.setText(\"Fecha de Adquisición\");\n\n\t\tDateTime dateTime = new DateTime(group, SWT.BORDER | SWT.DROP_DOWN);\n\t\tFormDatas.attach(dateTime).atTopTo(proveedor,20).atLeftTo(localizacionPerm,30).withWidth(212);\n\n\t\tLabel precio = new Label(group, SWT.NONE);\n\t\tFormDatas.attach(precio).atTopTo(fechaAdq, 20).atLeft(43);\n\t\tprecio.setText(\"Precio\");\n\n\t\tText textPrecio = new Text(group,SWT.NONE);\n\t\tFormDatas.attach(textPrecio).atTopTo(fechaAdq, 20).atLeftTo(autorCorp,75).withWidth(90);\n\n\t\tCombo cb_precio= new Combo (group,SWT.NONE);\n\t\tFormDatas.attach(cb_precio).atTopTo(fechaAdq,20).atLeftTo(textPrecio,10).withWidth(90);\n\n\t\tLabel tipoAdq = new Label(group, SWT.NONE);\n\t\tFormDatas.attach(tipoAdq).atTopTo(precio, 20).atLeft(43);\n\t\ttipoAdq.setText(\"Tipo de Adquisición\");\n\n\t\tCombo cb_tipoAdq = new Combo (group,SWT.NONE);\n\t\tFormDatas.attach(cb_tipoAdq).atTopTo(fechaAdq,20).atLeftTo(precio,20).withWidth(210);\n\n\t\tLabel sugeridoPor = new Label(group, SWT.NONE);\n\t\tFormDatas.attach(sugeridoPor).atTopTo(tipoAdq, 40).atLeft(25);\n\t\tsugeridoPor.setText(\"Sugerido por\");\n\n\t\tLabel informacion = new Label(group, SWT.NONE);\n\t\tFormDatas.attach(informacion).atTopTo(sugeridoPor, 20).atLeft(25);\n\t\tinformacion.setText(\"Asocie de manera opcional la Orden de Compra en la cual el material fue sugerido el Ejemplar\");\n\n\t\tLabel identificador = new Label(group, SWT.NONE);\n\t\tFormDatas.attach(identificador).atTopTo(informacion, 20).atLeft(43);\n\t\tidentificador.setText(\"Identificador\");\n\n\t\tText textIdentificador = new Text(group,SWT.NONE);\n\t\tFormDatas.attach(textIdentificador).atTopTo(informacion, 20).atLeftTo(autorCorp,75).withWidth(190);\n\t\t\n\t\tButton validar = new Button (group,SWT.None);\n\t\tFormDatas.attach(validar).atTopTo(informacion, 20).atLeftTo(textIdentificador,20);\n\t\tvalidar.setText(AbosMessages.get().BUTTON_VALIDATE);\n\n\t\tButton aceptar = new Button (group,SWT.None);\n\t\tFormDatas.attach(aceptar).atTopTo(validar, 20).atLeftTo(textIdentificador,20);\n\t\taceptar.setText(AbosMessages.get().BUTTON_ACEPT);\n\n\t\tButton cancelar = new Button (group,SWT.None);\n\t\tFormDatas.attach(cancelar).atTopTo(textIdentificador, 20).atLeftTo(aceptar,20);\n\t\tcancelar.setText(AbosMessages.get().BUTTON_CANCEL);\n\n\n\t\treturn parent;\n\t}", "title": "" }, { "docid": "e8d226bee14a85b07b0e4eae5dc10b8e", "score": "0.53704065", "text": "public DeciderUI() {\n initComponents();\n }", "title": "" }, { "docid": "084829e62de64c8b01e648617abe9dd2", "score": "0.5370217", "text": "@FXML\n void addForm(ActionEvent event) throws IOException {\n\n\t\tSystem.out.println(\"viewtype value: \" + viewtype);\n\t\tif(viewtype == 0) { \n\t\t\taddsearchform = new AddSearchForm();\n\t \tStage stage = new Stage();\n\t \t\n\t \ttry {\n\t\t\t\taddsearchform.start(stage);\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\tSystem.out.println(\"run addForm\");\n\t\t}\n\t\telse if (viewtype == 1) {\n\t\t\t\n\t\t}\n\t\telse\n\t\t\tSystem.out.println(\"Issue in addForm method\");\n\t\n\t}", "title": "" }, { "docid": "57227aa345f3c3fe4c74037a2fa5b019", "score": "0.5365517", "text": "@Override\n\tprotected String getNewFormTitle() {\n\t\treturn \"Convict\";\n\t}", "title": "" }, { "docid": "262602453d4c509849cbaab730e4bd17", "score": "0.53624374", "text": "public static Result create() {\n Form<Rubrique> rubriqueForm = form(Rubrique.class);\n return ok(\n createForm.render(rubriqueForm)\n );\n }", "title": "" }, { "docid": "5eff397e10a41b591a483a45b5dafdda", "score": "0.53586036", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n headerLabelCreateLug = new javax.swing.JLabel();\n luggageIdLabelCreate = new javax.swing.JLabel();\n colorLabelCreate = new javax.swing.JLabel();\n bagTypeLabelCreate = new javax.swing.JLabel();\n notesLabelCreate = new javax.swing.JLabel();\n luggageIdTextCreate = new javax.swing.JTextField();\n colorTextCreate = new javax.swing.JTextField();\n bagTypeTextCreate = new javax.swing.JTextField();\n saveButton = new javax.swing.JButton();\n cancelButton = new javax.swing.JButton();\n jScrollPane2 = new javax.swing.JScrollPane();\n notesFieldLuggageCreate = new javax.swing.JTextArea();\n comboStatusCreate = new javax.swing.JComboBox();\n customerIdCreate = new javax.swing.JTextField();\n statusLuggageCreate = new javax.swing.JLabel();\n customerIdCreateLuggage = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);\n setTitle(\"Create luggage profile\");\n setName(\"createLuggage\"); // NOI18N\n\n headerLabelCreateLug.setFont(new java.awt.Font(\"Calibri\", 1, 24)); // NOI18N\n headerLabelCreateLug.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n headerLabelCreateLug.setText(\"Create luggage profile\");\n headerLabelCreateLug.setName(\"headerLabelCreateLug\"); // NOI18N\n\n luggageIdLabelCreate.setText(\"Luggage ID:\");\n luggageIdLabelCreate.setName(\"luggageidLabel\"); // NOI18N\n\n colorLabelCreate.setText(\"Color:\");\n colorLabelCreate.setName(\"colorLabelCreate\"); // NOI18N\n\n bagTypeLabelCreate.setText(\"Bag type:\");\n bagTypeLabelCreate.setName(\"bagtypeLabel\"); // NOI18N\n\n notesLabelCreate.setText(\"Notes:\");\n notesLabelCreate.setName(\"notesLabelCreate\"); // NOI18N\n\n luggageIdTextCreate.setFocusable(false);\n luggageIdTextCreate.setName(\"luggageidText\"); // NOI18N\n\n colorTextCreate.setName(\"colorTextCreate\"); // NOI18N\n\n bagTypeTextCreate.setName(\"bagtypeText\"); // NOI18N\n\n saveButton.setText(\"Save\");\n saveButton.setName(\"saveButton\"); // NOI18N\n saveButton.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n saveButtonActionPerformed(evt);\n }\n });\n\n cancelButton.setText(\"Cancel\");\n cancelButton.setName(\"cancelButton\"); // NOI18N\n cancelButton.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n cancelButtonActionPerformed(evt);\n }\n });\n\n jScrollPane2.setPreferredSize(new java.awt.Dimension(50, 50));\n\n notesFieldLuggageCreate.setColumns(20);\n notesFieldLuggageCreate.setFont(new java.awt.Font(\"Tahoma\", 0, 13)); // NOI18N\n notesFieldLuggageCreate.setRows(4);\n notesFieldLuggageCreate.setWrapStyleWord(true);\n jScrollPane2.setViewportView(notesFieldLuggageCreate);\n\n comboStatusCreate.setModel(new javax.swing.DefaultComboBoxModel(new String[] { \"Lost\", \"Found\", \"Seen\", \"Completed\" }));\n\n statusLuggageCreate.setText(\"Status\");\n\n customerIdCreateLuggage.setText(\"Customer ID\");\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(100, 100, 100)\n .addComponent(headerLabelCreateLug, javax.swing.GroupLayout.PREFERRED_SIZE, 250, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addGroup(layout.createSequentialGroup()\n .addGap(50, 50, 50)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(notesLabelCreate)\n .addComponent(luggageIdLabelCreate)\n .addComponent(colorLabelCreate)\n .addComponent(bagTypeLabelCreate)\n .addComponent(statusLuggageCreate)\n .addComponent(customerIdCreateLuggage))\n .addGap(33, 33, 33)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(customerIdCreate)\n .addComponent(comboStatusCreate, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(layout.createSequentialGroup()\n .addComponent(saveButton)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(cancelButton))\n .addComponent(luggageIdTextCreate)\n .addComponent(colorTextCreate)\n .addComponent(bagTypeTextCreate)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 248, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(0, 0, Short.MAX_VALUE)))\n .addGap(50, 50, 50))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(30, 30, 30)\n .addComponent(headerLabelCreateLug)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(luggageIdLabelCreate)\n .addComponent(luggageIdTextCreate, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(colorLabelCreate)\n .addComponent(colorTextCreate, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(bagTypeLabelCreate)\n .addComponent(bagTypeTextCreate, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(comboStatusCreate, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(statusLuggageCreate))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(customerIdCreate, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(customerIdCreateLuggage))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(notesLabelCreate)\n .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 103, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(saveButton)\n .addComponent(cancelButton))\n .addGap(25, 25, 25))\n );\n\n pack();\n }", "title": "" }, { "docid": "4ed6a2ca76a36bca567286d601a30a2f", "score": "0.5345865", "text": "public ClassForm() {\n initComponents();\n initialization();\n onLoading();\n }", "title": "" }, { "docid": "16fd28c591ac01d758d1ef71de448728", "score": "0.53430134", "text": "@Override\n public void onClick(View v) {\n\n alert.setTitle(\"Create A New User\");\n alert.setView(R.layout.newuserform);\n alert.setPositiveButton(\"CREATE\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n /*\n create a new user response object\n */\n name = newUserForm.findViewById(R.id.nameField);\n nameInput = name.getText().toString();\n\n job = newUserForm.findViewById(R.id.jobField);\n jobInput = job.getText().toString();\n\n NewUserResponse post = new NewUserResponse(nameInput, jobInput);\n\n /*\n enque\n */\n userViewModel.addUsers(post);\n }\n });\n\n newUserForm = alert.create();\n newUserForm.show();\n\n }", "title": "" }, { "docid": "5f23ac54497fe1dde7225dc25e8d18a9", "score": "0.5337794", "text": "private void cargarFormulario(Class<?> aClass) {\n try {\n // Variable\n JInternalFrame view;\n // Buscar instancia\n view = buscarInstancia(aClass);\n // Crear instancia\n if (view == null) {\n view = (JInternalFrame) Class.forName(aClass.getName()).newInstance();\n desktopPane.add(view);\n }\n // Mostrar formulario\n view.setVisible(true);\n view.setSelected(true);\n } catch (Exception e) {\n }\n }", "title": "" }, { "docid": "caef218fd8d7b0cdc14dd4dc85213643", "score": "0.5335052", "text": "public CPromotionTemplateActions(MyFuelClient client,LoginRequest lr) {\r\n\t\tsuper(client,lr);\r\n\t\tgui = new CreatePromotionTemplateGUI(this);\r\n\t\t\r\n\t\tgui.setVisible(true);\r\n\t\t\r\n\t}", "title": "" }, { "docid": "83862b2171c2d6aab4e43831b34af582", "score": "0.5335014", "text": "public FKnjiga() {\n initComponents();\n \n prepareForm();\n }", "title": "" }, { "docid": "12543a282c1f7e3338fa42a5475258ba", "score": "0.5331804", "text": "public formProduto() {\n initComponents();\n resetText();\n }", "title": "" }, { "docid": "59a5003e7880266ad3253212043d9bdc", "score": "0.5325616", "text": "public void createGUI() {\n\t JFrame frame = new JFrame(\"Select Screen\");\n\t \n\t \n\t //Create and set up the content pane.\n\t SelectScreenGUI newContentPane = new SelectScreenGUI(this.account);\n\t newContentPane.setOpaque(true); //content panes must be opaque\n\t frame.setContentPane(newContentPane);\n\t \n\t //Display the window.\n\t frame.pack();\n\t frame.setLocationRelativeTo(null);\t// making window appear on center of screen\n\t frame.setVisible(true);\n\t \n\t frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t }", "title": "" }, { "docid": "e35d26d8879c519cc67bbc3a1b4705d4", "score": "0.53254294", "text": "public New_Doctor() {\n initComponents();\n }", "title": "" }, { "docid": "2312a432ac926e58179ab18b582f3094", "score": "0.5325068", "text": "private static void createAndShowGUI() {\n new CreateUser(); \n }", "title": "" }, { "docid": "94555cc2c0b4de45081b09e62ce854d2", "score": "0.5321267", "text": "public static void clickOnCreateButton(){\n\t\telementExists(OR.getProperty(\"createButton\")).click();\n\t\tAPP_LOGS.debug(\"Clicked on Create button!\");\n\t\tWaitForProgressBar();\n\t}", "title": "" }, { "docid": "06fcb8ec4ffc2e9156873b1915cad56d", "score": "0.5320332", "text": "public action_form() {\n initComponents();\n }", "title": "" } ]
19642dc76a947afb4b820ea28e8d69a8
verify a value in a dropdown if existing
[ { "docid": "5630e33e3fb60a00d3928e9bd9996e13", "score": "0.0", "text": "public void altTab(){\n\t\tArrayList<String> tabs2 = new ArrayList<String> (driver.getWindowHandles());\n\t\tdriver.switchTo().window(tabs2.get(0));\n\t\tdriver.close();\n\t\tdriver.switchTo().window(tabs2.get(1));\n\t\tSystem.out.println(\"Switch Tab\");\n\t}", "title": "" } ]
[ { "docid": "eb0b66560dd5b5f0dff1b44bfcc7dbfd", "score": "0.6221609", "text": "@Then(\"^option \\\"(.*?)\\\" by (.+) from dropdown having (.+) \\\"(.*?)\\\" should be (selected|unselected)$\")\r\n\tpublic void checkDropdownOptionSelected(String option,String by,String type,String selector,String state) throws Exception\r\n\t{\r\n\t\r\n\t}", "title": "" }, { "docid": "51bf83bcda932226c26023ad0f585090", "score": "0.6179539", "text": "boolean hasComboId();", "title": "" }, { "docid": "7bc854029cc1f4042ce7dd4114332688", "score": "0.60200083", "text": "public FormValidation doCheckVariant(@QueryParameter String value) {\n if (value.isEmpty()) {\n return FormValidation.ok();\n }\n return Util.validateElementForSearch(value);\n }", "title": "" }, { "docid": "4b17beb81788a3d02d8f16ff1a3960ce", "score": "0.6009776", "text": "public boolean hasOption(String text) {\n \tSelect selectElement = new Select(this.element());\n \treturn new WebDriverWait(WebDriverFactory.getWebDriver(), Time.out().toSeconds(), Time.interval().toMillis())\n\t\t\t\t.ignoring(StaleElementReferenceException.class)\n\t\t\t\t.until(d -> selectElement.getOptions().stream().anyMatch(el -> el.getText().endsWith(text)));\n }", "title": "" }, { "docid": "cfb83418cd022026df21c61ee801e36a", "score": "0.59227467", "text": "public boolean doesNotHaveOption(String text) {\n \tSelect selectElement = new Select(this.element());\n \treturn new WebDriverWait(WebDriverFactory.getWebDriver(), Time.out().toSeconds(), Time.interval().toMillis())\n\t\t\t\t.ignoring(StaleElementReferenceException.class)\n\t\t\t\t.until(d -> selectElement.getOptions().stream().noneMatch(el -> el.getText().endsWith(text)));\n }", "title": "" }, { "docid": "ae280d8fc03328c806f0ba2372cc71a7", "score": "0.5894559", "text": "public boolean verifyDrowdownNotContains(String sValueObjectId) throws Exception {\n\t\tString string = sValueObjectId;\n\t\tList<String> sValue = new ArrayList<String>();\n\t\tString ObjId = null;\n\t\tString frame = null;\n\t\tString locType = null;\n\t\tString temp = null;\n\t\tString temp0 = null;\n\t\tboolean blnCheckValue = true;\n\t\tint count = 0;\n\t\t// count number of semicolons in the parameter\n\t\tint iCnt = StringUtils.countMatches(sValueObjectId, \";\");\n\t\tSystem.out.println(\"Number of delimiter: \" + iCnt + \"\");\n\t\ttry {\n\t\t\tif (string.contains(\";\")) {\n\t\t\t\tString[] parts = string.split(\";\");\n\t\t\t\ttemp0 = parts[0];\n\t\t\t\ttemp = parts[1];\n\t\t\t\tString[] parts1 = temp.split(\">>\");\n\t\t\t\tlocType = parts1[0];\n\t\t\t\tObjId = parts1[1];\n\t\t\t\tString[] parts2 = temp0.split(\">>\");\n\t\t\t\tfor (int x = 0; x < parts2.length; x++)\n\t\t\t\t\tsValue.add(parts2[x]);\n\n\t\t\t\tSystem.out.println(sValue);\n\t\t\t\tSystem.out.println(ObjId);\n\n\t\t\t} else {\n\t\t\t\tObjId = sValueObjectId;\n\t\t\t}\n\n\t\t\tswitchTo(sValueObjectId);\n\t\t\tList<WebElement> oList = findElement(ObjId, locType);\n\t\t\tif (oList.size() > 0) {\n\t\t\t\t// Added by Justin 01102017\n\t\t\t\t((JavascriptExecutor) driver).executeScript(\"window.scrollTo(0,\" + oList.get(0).getLocation().x + \")\");\n\t\t\t\t// scrollToElement(oList.get(0));\n\t\t\t\tSelect select = new Select(oList.get(0));\n\t\t\t\tList<WebElement> options = select.getOptions();\n\t\t\t\toList.get(0).click();\n\t\t\t\tSystem.out.println(\"The value to be checked must not be in the dropdown: \" + sValue);\n\t\t\t\tSystem.out.println(\"Dropdown Values: \");\n\t\t\t\tfor (WebElement option : options) {\n\t\t\t\t\tSystem.out.println(option.getText());\n\t\t\t\t}\n\t\t\t\tint sizeTemp = sValue.size();\n\t\t\t\tList<String> notExpected = null;\n\t\t\t\tfor (WebElement option : options) {\n\t\t\t\t\tSystem.out.println(option.getText());\n\t\t\t\t\tfor (int x = 0; x < sValue.size(); x++) {\n\t\t\t\t\t\tif (option.getText().trim().toString().equals(sValue.get(x).trim())) {\n\t\t\t\t\t\t\tnotExpected.add(option.getText());\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (count > 0) {\n\t\t\t\t\t\t\tSystem.out.println(\"Values is in the dropdown\");\n\t\t\t\t\t\t\tReportResults(\"FAIL\", \"Values are not expected: \" + notExpected, false);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tReportResults(\"FAIL\", \"Object does not exist\", true);\n\t\t\t\tblnCheckValue = true;\n\t\t\t}\n\n\t\t\tdriver.switchTo().defaultContent();\n\n\t\t} catch (Exception e) {\n\t\t\tReportResults(\"FAIL\",\n\t\t\t\t\t\"Unexpected error/exception occured in verifyDropdownNotContains(): \" + e.getMessage(), true);\n\t\t\tSystem.out.println(e.getMessage() + \"/n\" + e.getStackTrace());\n\t\t}\n\t\treturn blnCheckValue;\n\n\t}", "title": "" }, { "docid": "148004ca87d3b1c9275ff58f8a47a606", "score": "0.5890786", "text": "@Test\n\tpublic void dropdownTest () {\n\t\tdriver.findElement(By.cssSelector(\"select[name='dropdown']>option[value='dd5']\")).click();\n\n\t\t// click on Submit and wait for new form by waiting until \"Submitted Values\" is present\n\t\tclickSubmitAndWait();\n\n\t\t// assert that dropwdown item 5 was selected\n\t\tassertThat(driver.findElement(By.cssSelector(\"#_valuedropdown\")).getText(), is(\"dd5\"));\n\t}", "title": "" }, { "docid": "b5c434230315d9176068be48b3211d43", "score": "0.5827312", "text": "private boolean checkSortByDropDownIsDisplayedWithValues() throws Exception{\n\t\t return validateDropDownOptions(new DropDownBox(sortByDropDownOptionsXPath).getSelectOptionsCount(),\n\t\t\t\t\t\t\t\t\t\tsortByDropDownOptionsXPath);\n\t}", "title": "" }, { "docid": "468940d0d1f0e36370ad7fc6cabd829e", "score": "0.58100903", "text": "public static List<String> dropDownValuesValidation(WebElement element) \r\n\t{\r\n\t\tSelect select = new Select(element);\r\n\t\tList<WebElement> dropDownValues = select.getOptions();\r\n\r\n\t\tList<String> toolsDropDownValues = new ArrayList<String>();\r\n\r\n\t\tfor(WebElement listOfDropDownValues : dropDownValues) \r\n\t\t{\r\n\t\t\ttoolsDropDownValues.add(listOfDropDownValues.getText());\r\n\t\t}\r\n\t\treturn toolsDropDownValues;\r\n\t}", "title": "" }, { "docid": "53ed31b4a34082a96fccf4bf1a9e4bf7", "score": "0.56843764", "text": "public static String checkSelectedValue(String value1, String value2) {\r\n\t\tif (value1 != null && value2 != null && value1.equals(value2)) {\r\n\t\t\treturn \"selected=\\\"selected\\\"\";\r\n\t\t}\r\n\t\treturn \"\";\r\n\t}", "title": "" }, { "docid": "978dcdbef79b8691d055d96c1b51daaf", "score": "0.56493187", "text": "private void validateCombo1(ValidationContext ctx, Sysvar f) {\n if(f==null) {\n this.addInvalidMessage(ctx, \"err_combo1\", \"Kode Sysvar tidak boleh Kosong\");\n } \n }", "title": "" }, { "docid": "2cdc774991c589791b718c6ec3417b8f", "score": "0.5555012", "text": "@Override\n\tpublic void selectDropDownUsingValue(WebElement ele, String value) {\n\t\t\n\t}", "title": "" }, { "docid": "e46505cc556ba1dba833730155d7cad9", "score": "0.5515426", "text": "public void verifyDrpdownValues(TestObject myTO, String recProperty, String propValue,String gvnValue) {\r\n\t\tTestObject[] TableObjs = myTO.find(atDescendant(recProperty, propValue));\r\n\t\t\r\n\t\t//Get the Drop down list box values from the application\r\n\t\tif (TableObjs.length >= 1 ) {\r\n\t\t\tSelectGuiSubitemTestObject myTable = (SelectGuiSubitemTestObject)TableObjs[0];\r\n\t\t\tString appDpDownValues = myTable.getProperty(\".text\").toString();\r\n\t\t\tSystem.out.println(\"List box values from application:\"+appDpDownValues);\r\n\t\t\t\r\n\t\t\tStringTokenizer st = new StringTokenizer(appDpDownValues, \" \");\r\n\t\t\tint noOfToken = st.countTokens();\r\n\t\t\t\r\n\t\t\tString [] appFldValues = new String[noOfToken];\r\n\t\t\t\r\n\t\t\tint i=0;\r\n\t\t\twhile (st.hasMoreTokens()) {\r\n\t\t\t\tappFldValues[i] = st.nextToken();\r\n\t\t\t\tSystem.out.println(\"List box values from application:\"+appFldValues[i]);\r\n\t\t\t\ti++;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t//Get the count of different list box values to compare\r\n\t\t\tst = new StringTokenizer(gvnValue, \",\");\r\n\t\t\tnoOfToken = st.countTokens();\r\n\t\t\tString [] gvnFldValues = new String[noOfToken];\r\n\t\t\t//Get the Given List Box values to compare\r\n\t\t\t\r\n\t\t\ti = 0;\r\n\t\t\twhile (st.hasMoreTokens()) {\r\n\t\t\t\tgvnFldValues[i] = st.nextToken();\r\n\t\t\t\tSystem.out.println(\"List box values from excel:\"+gvnFldValues[i]);\r\n\t\t\t\ti++;\r\n\t\t\t}\r\n\t\t\tif (!Arrays.equals(appFldValues,gvnFldValues))\r\n\t\t\t\tlogTestResult(\"<font color=\\\"DeepRed\\\">Dropdownlist box values comparison\", false, \"<font color=\\\"Red\\\">Dropdownlist box values do not match with given values\"+\"</font>\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "787e71be7a297aefd81fccc973a2d9cf", "score": "0.5511913", "text": "private boolean validateDropDownOptions(int selectOptionCount, String dropDownXpath) throws Exception{\n\t\tfor(int option=1;option<=selectOptionCount;option++){\n\t\t\tif(!sortByDropDownOptionsList.contains(new TextLabel(dropDownXpath+\"[\"+option+\"]\").getLabelText()))\n\t\t\t\treturn false;\n\t\t}\t\t\n\t\treturn true;\n\t}", "title": "" }, { "docid": "e9d15024e63b7c087f4a775131e2c1cc", "score": "0.5444098", "text": "private String validateInput() {\r\n \tif (wfsList.getSelectionModel().isSelectionEmpty())\r\n \t\treturn I18N.get(\"WfsDialog\",\"SeleccionWfs\");\r\n return null;\r\n }", "title": "" }, { "docid": "9f0fd525cd90a620fe66dc9d3a2e74cc", "score": "0.54334605", "text": "public boolean have(String key) { return options.containsKey(key); }", "title": "" }, { "docid": "e2edb7d941085b57ffcc56bb5f7b3e88", "score": "0.5422386", "text": "@When(\"^I selected 'My items' from drop down option$\")\n\tpublic void i_selected_My_items_from_drop_down_option() throws Throwable {\n\t\tthrow new PendingException();\n\t}", "title": "" }, { "docid": "0ea74072aafb902b1a22985817dc6207", "score": "0.5412427", "text": "default boolean isPresentSelect(String expected, double waitFor) {\n getOutputFile().recordAction(expected, waitFor);\n // verify this is a select element\n return (isPresent(waitFor) && isSelect(waitFor));\n }", "title": "" }, { "docid": "711c7c7110c050c58a11ef7447539236", "score": "0.5404352", "text": "public boolean isChoiceField() {\n\t\treturn null != this.bitLookup;\n\t}", "title": "" }, { "docid": "f1d1c6534a40f7c35282d15f8045d36a", "score": "0.5401815", "text": "@Test\n\t \n\t public void selectDropBox(){\n\t\t driver.findElement(By.xpath(\"//*[@id='text1']\")).sendKeys(\"Munna\");\n\t\t \n\t\t \n\t\t //select the drop box\n\t\t \n\t\t Select drpdwnbx = new Select (driver.findElement(By.xpath(\"//*[@id='Carlist']\")));\n\t\t drpdwnbx.selectByVisibleText(\"BMW\");\n\t\t \n\t\t WebDriverWait wait = new WebDriverWait(driver, 15);\n\t\n\t\t\n\t }", "title": "" }, { "docid": "73f01629ac1bddfba86e9c2e8434f404", "score": "0.53885216", "text": "public void selectByValueDropDown(By by,String value){\n Select select =new Select(driver.findElement(by));\n select.selectByValue(value);\n\n }", "title": "" }, { "docid": "05b86f785132b46157ac61b3c1d06445", "score": "0.53592265", "text": "void CheckIfFilled() {\n \t\tif(report_typeChoice.getValue()!= null && monthChoice.getValue()!= null && \n \t\t\t\tyearChoice.getValue()!= null) {\n \t\t\tif(report_typeChoice.getValue()==\"Tickets Sales\") {\n \t\t\t\tif(cinemaChoice.getValue()!=null) {\n \t\t\t\t\tviewReportBtn.setDisable(false);\n \t\t\t\t}else {\n \t\t\t\t\tviewReportBtn.setDisable(true);\n \t\t\t\t}\n \t\t\t}else {\n \t\t\t\tviewReportBtn.setDisable(false);\n \t\t\t}\n \t\t}\n \t\telse {\n \t\t\tviewReportBtn.setDisable(true);\n \t\t}\n \t}", "title": "" }, { "docid": "7489b64046d6e0016af64ee5c4292fcd", "score": "0.5359067", "text": "public boolean hasValue();", "title": "" }, { "docid": "7489b64046d6e0016af64ee5c4292fcd", "score": "0.5359067", "text": "public boolean hasValue();", "title": "" }, { "docid": "f5e9a2654bed380091a51aae388bcbb0", "score": "0.5354482", "text": "public static WebElement drpdwn_selectTitle(String selectVal) throws Exception{\r\n \ttry{ \t\t\r\n \t\tWebElement dropdown = driver.findElement(By.name(\"fld_Salutation[0]\")); \r\n \t\tList<WebElement> allOptions = dropdown.findElements(By.tagName(\"option\")); \r\n \t\tfor(WebElement option : allOptions){ \r\n\r\n \t\t\tif(option.getText().equals(selectVal)){ \r\n \t\t\t\toption.click(); \r\n \t\t\t} \r\n \t\t}\r\n \t}catch(Exception e){\r\n \t\tAdd_Log.error(\"Title drop down list is NOT found on the page.\");\r\n \t\tthrow(e);\r\n \t}\r\n \treturn element;\r\n }", "title": "" }, { "docid": "eeac3facc1ee42243c0ccea239ecb24e", "score": "0.53005874", "text": "@Test\n public void nonselectableOption() throws Exception {\n checkError(\n \"foo\",\n \"badoption\",\n \"option 'nonselectable_option' cannot be used in a config_setting\",\n \"config_setting(\",\n \" name = 'badoption',\",\n \" values = {\",\n \" 'nonselectable_option': 'true',\",\n \" },\",\n \")\");\n }", "title": "" }, { "docid": "483e26e0735d4ae3f191f424d4d5731c", "score": "0.52936924", "text": "boolean hasIsMultiSelect();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5283212", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5283212", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5283212", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5283212", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5283212", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5283212", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5283212", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5283212", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5283212", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5283212", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5283212", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5283212", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5283212", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5283212", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5283212", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5283212", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5283212", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5283212", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5283212", "text": "boolean hasValue();", "title": "" }, { "docid": "9a918a5793abacadeafb3423be954c2d", "score": "0.5281816", "text": "@Override\n\tpublic void selectDropDownUsingValue(WebElement ele, String value) {\n\t\ttry {\n\t\t\tselectDropDownUsingValue(ele,value);\n\t\t\tSystem.out.println(\"selectdropdown\" +ele+\"using value\"+value);\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"the dropdown not selected using \"+ele+value);\n\t\t}\n\n\t}", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5281303", "text": "boolean hasValue();", "title": "" }, { "docid": "a218bd252a07d8f12c9b325856894652", "score": "0.52772975", "text": "public static boolean verifyValuesInDropdown(String[] expectedValuesInDropdown, String xPathForDropdown, String commonXpathToSelectValuesFromDropdown) throws IOException {\r\n\t\tboolean flag = false;\r\n\t\tclickOnWebElement(xPathForDropdown);\r\n\t\ttakeSnapShot();\r\n\t\tList<WebElement> dropdownActualValues =\tdriver.findElements(By.xpath(commonXpathToSelectValuesFromDropdown));\r\n\t\tSystem.out.println(\"Actual values in dropdown are:>>\");\r\n\t\tfor(WebElement webElement : dropdownActualValues) {\r\n\t\t\tSystem.out.println(webElement.getText());\r\n\t\t}\r\n\t\tfor(int i=0;i<expectedValuesInDropdown.length;i++) {\r\n\t\t\tfor(WebElement web : dropdownActualValues) {\r\n\t\t\t\tSystem.out.println(\"expected value is \"+expectedValuesInDropdown[i]+\" and Actual value is \"+web.getText());\r\n\t\t\t\tflag = expectedValuesInDropdown[i].equalsIgnoreCase(web.getText());\r\n\t\t\t\tif(flag) {\r\n\t\t\t\t\tSystem.out.println(\"Passed\");\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn flag;\r\n\t}", "title": "" }, { "docid": "a10f5f26e87d48b6194754fc69afb4c4", "score": "0.5274548", "text": "private boolean checkAllDropDownBoxIsDisplayed() throws Exception{\n\n\t\treturn (new DropDownBox(subjectTermsDropDownXPath).isPresent() &&\n\t\t\t\tnew DropDownBox(sortByDropDownXPath).isPresent() &&\n\t\t\t\tnew DropDownBox(limitDropDownXPath).isPresent());\t\t\n\t}", "title": "" }, { "docid": "856666cf0346bfdd97b5a768afd11754", "score": "0.52491635", "text": "public FormValidation doCheckMappingList(@QueryParameter String value) {\n FormValidation ok = FormValidation.ok();\n if (value.isEmpty()) {\n return ok;\n }\n for(String elmt : value.split(\",\")){\n FormValidation elmtValid = Util.validateElementForSearch(elmt);\n if(!ok.equals(elmtValid)){\n return elmtValid;\n }\n }\n return ok;\n }", "title": "" }, { "docid": "6c59a11106580598bb79102f57c80ee8", "score": "0.5241828", "text": "public boolean validate()\n {\n\n if (str_buyer_info.equalsIgnoreCase(\"\"))\n {\n Toast.makeText(GuestDetailActivity.this, \"Choose One of the Options\", Toast.LENGTH_SHORT).show();\n }\n else\n {\n return true;\n }\n\n\n return false;\n }", "title": "" }, { "docid": "0351fad7f685831dacd7a839c1d471c4", "score": "0.5238023", "text": "static public boolean existsSelected(){\n return (swList.size() != 0);\n }", "title": "" }, { "docid": "f90a085991ea2d768e5da84fc03e9f48", "score": "0.52276635", "text": "@Override\n\tpublic boolean hasOption(Object key) {\n\t\tsynchronized (options) {\n\t\t\treturn options.containsKey(key);\n\t\t}\n\t}", "title": "" }, { "docid": "671b77c98c322f80fe2eda611bbca554", "score": "0.5200214", "text": "public static Criteria forDropDownEquals(By locator, String value) {\n return forGenericPattern(CriteriaType.DROPDOWN_EQUALS, locator, value);\n }", "title": "" }, { "docid": "19aa55ceba56c249b0bab5cef194f9a7", "score": "0.5196837", "text": "@Override\n\tpublic boolean validValue(UIField field, Object value) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "a6f29b5e6967d415fc8e1284d83ef6d4", "score": "0.51909673", "text": "public void verifySelected(WebElement ele) {\n\r\n\t}", "title": "" }, { "docid": "0a97aa933218765041410b8fad1c690b", "score": "0.5187593", "text": "public boolean verifyDrowdownContents1(String sValueObjectId) throws Exception {\n\t\tString string = sValueObjectId;\n\t\tList<String> sValue = new ArrayList<String>();\n\t\tString ObjId = null;\n\t\tString frame = null;\n\t\tString locType = null;\n\t\tString temp = null;\n\t\tString temp0 = null;\n\t\tString temp1 = null;\n\t\tint count = 0;\n\t\tboolean blnCheckValue = false;\n\t\t// count number of semicolons in the parameter\n\t\tint iCnt = StringUtils.countMatches(sValueObjectId, \";\");\n\t\tSystem.out.println(\"Number of delimiter: \" + iCnt + \"\");\n\t\ttry {\n\n\t\t\tif (string.contains(\";\")) {\n\t\t\t\tString[] parts = string.split(\";\");\n\t\t\t\ttemp0 = parts[0];\n\t\t\t\ttemp = parts[1];\n\t\t\t\tString[] parts1 = temp.split(\">>\");\n\t\t\t\tlocType = parts1[0];\n\t\t\t\tObjId = parts1[1];\n\t\t\t\tString[] parts2 = temp0.split(\">>\");\n\t\t\t\tfor (int x = 0; x < parts2.length; x++)\n\t\t\t\t\tsValue.add(parts2[x]);\n\t\t\t\tSystem.out.println(sValue);\n\t\t\t\tSystem.out.println(ObjId);\n\n\t\t\t} else {\n\t\t\t\tObjId = sValueObjectId;\n\t\t\t}\n\n\t\t\tswitchTo(sValueObjectId);\n\t\t\tList<WebElement> oList = findElement(ObjId, locType);\n\n\t\t\tif (oList.size() > 0) {\n\t\t\t\t// Added by Justin 01102017\n\t\t\t\t// ((JavascriptExecutor)driver).executeScript(\"window.scrollTo(0,\"+oList.get(0).getLocation().y+\")\");\n\t\t\t\t((JavascriptExecutor) driver).executeScript(\"window.scrollTo(0,\" + oList.get(0).getLocation().x + \")\");\n\n\t\t\t\t// scrollToElement(oList.get(0));\n\t\t\t\t// up to this 01102017\n\n\t\t\t\tSelect select = new Select(oList.get(0));\n\t\t\t\tList<WebElement> options = select.getOptions();\n\t\t\t\toList.get(0).click();\n\t\t\t\tSystem.out.println(\"The value to be checked in the dropdown: \" + sValue);\n\t\t\t\tSystem.out.println(\"Dropdown Values: \");\n\t\t\t\t// System.out.println(sValue.size());\n\t\t\t\tint sizeTemp = sValue.size();\n\t\t\t\tfor (WebElement option : options) {\n\t\t\t\t\tSystem.out.println(option.getText());\n\t\t\t\t\tfor (int x = 0; x < sValue.size(); x++) {\n\t\t\t\t\t\tif (option.getText().trim().toString().equals(sValue.get(x).trim())) {\n\t\t\t\t\t\t\tsValue.remove(x);\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t\tif (count == sizeTemp)\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t} else {\n\t\t\t\tReportResults(\"FAIL\", \"Object does not exist\", true);\n\t\t\t\tblnCheckValue = false;\n\t\t\t}\n\n\t\t\tdriver.switchTo().defaultContent();\n\n\t\t} catch (Exception e) {\n\t\t\tReportResults(\"FAIL\", \"Unexpected error/exception occured in verifyDropdownContents1(): \" + e.getMessage(),\n\t\t\t\t\ttrue);\n\t\t\tSystem.out.println(e.getMessage() + \"/n\" + e.getStackTrace());\n\t\t}\n\n\t\tReportResults(\"FAIL\", \"Object is not found:\" + sValue, false);\n\t\treturn blnCheckValue;\n\n\t}", "title": "" }, { "docid": "ebca4762591cefa91ccc1c537c0bb408", "score": "0.51869047", "text": "public static Criteria forDropDownContains(PageComponent component, String value) {\n return forGenericPattern(CriteriaType.DROPDOWN_CONTAINS, component, value);\n }", "title": "" }, { "docid": "e52ee048399195a8fb00dca7ee533053", "score": "0.517597", "text": "int getSearchableOptionValue();", "title": "" }, { "docid": "63f03d6a212479c397fe137d696a288c", "score": "0.51694244", "text": "private boolean verifica() {\n if (this.jTextFieldNome.getText().equals(\"\")) {\n JOptionPane.showMessageDialog(this, \"Preencha o campo nome produto\");\n this.jTextFieldNome.requestFocus();\n return false;\n }\n if (this.jFormattedTextField1.getText().equals(\"\")) {\n JOptionPane.showMessageDialog(this, \"Preencha o campo peso\");\n this.jFormattedTextField1.requestFocus();\n return false;\n }\n if (this.jComboBoxTipo.getSelectedIndex() == 0) {\n JOptionPane.showMessageDialog(this, \"Selecione o campo tipo\");\n this.jComboBoxTipo.requestFocus();\n return false;\n }\n if (this.jComboBoxCategoria.getSelectedIndex() == 0) {\n JOptionPane.showMessageDialog(this, \"Selecione o campo categoria\");\n this.jComboBoxCategoria.requestFocus();\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "b74b50a02cf5bb98ae4c10109ef92b78", "score": "0.5169066", "text": "public void selectDropdownValue(By obj, String name) {\n\t\t\tWebElement id = driver.findElement(obj);\n\t\t\tSelect selectName = new Select(id);\n\t\t\tselectName.selectByVisibleText(name);\n\t\t\t //Wait for 5 Seconds to see Name selected\n\t try {\n\t Thread.sleep(1000);\n\t } \n\t catch (InterruptedException e) {\n\t e.printStackTrace();\n\t }\n\t\t}", "title": "" }, { "docid": "8ff20542659abe8419376d54e93197fb", "score": "0.5162725", "text": "public static Criteria forDropDownEquals(PageComponent component, String value) {\n return forGenericPattern(CriteriaType.DROPDOWN_EQUALS, component, value);\n }", "title": "" }, { "docid": "9d0f3c61143e09bfcbf0c2b84f01d15a", "score": "0.51494175", "text": "boolean hasNewValue();", "title": "" }, { "docid": "acb7231a3bd0b2de96225bde80eb9f19", "score": "0.5125014", "text": "@Test\n\tprivate void selectFromDropDown()\t{\n\t\tdriver.get(\"https://www.facebook.com\");\n\t}", "title": "" }, { "docid": "4c63b10fcbf998c5941a81186cd23bed", "score": "0.51145035", "text": "public static WebElement drpdwn_selectCountryTerritory(String selectVal) throws Exception{\r\n \ttry{ \t\t\r\n \t\tWebElement dropdown = driver.findElement(By.id(\"regCountry\")); \r\n \t\tList<WebElement> allOptions = dropdown.findElements(By.tagName(\"option\")); \r\n \t\tfor(WebElement option : allOptions){ \r\n\r\n \t\t\tif(option.getText().equals(selectVal)){ \r\n \t\t\t\toption.click(); \r\n \t\t\t} \r\n \t\t}\r\n \t}catch(Exception e){\r\n \t\tAdd_Log.error(\"Country/Territory drop down list is NOT found on the page.\");\r\n \t\tthrow(e);\r\n \t}\r\n \treturn element;\r\n }", "title": "" }, { "docid": "2d71a7fbf138c01737cc0c330db49e21", "score": "0.5101818", "text": "public static Criteria forDropDownContains(By locator, String value) {\n return forGenericPattern(CriteriaType.DROPDOWN_CONTAINS, locator, value);\n }", "title": "" }, { "docid": "218ed0e522629d4ffea58cf5e5ecb0d1", "score": "0.5101244", "text": "boolean hasPurchaseOption();", "title": "" }, { "docid": "5f927b63bb85022231490b9dd4334482", "score": "0.5095405", "text": "private boolean triggerValidation(String newValue) {\r\n \r\n if (!tableStructureModuleRole.isIdAutoGenerated()) {\r\n int colIdx1 = -1;\r\n int colIdx2 = -1;\r\n int colIdx3 = -1;\r\n Vector vecPrimaryKey = tableStructureModuleRole.getPrimaryKeyIndex();\r\n if ( vecPrimaryKey.size() == 1) {\r\n colIdx1 = tableStructureModuleRole.getPrimaryKeyIndex(0);\r\n }else if ( vecPrimaryKey.size() == 2 ) {\r\n colIdx1 = tableStructureModuleRole.getPrimaryKeyIndex(0);\r\n colIdx2 = tableStructureModuleRole.getPrimaryKeyIndex(1);\r\n }else if ( vecPrimaryKey.size() == 3 ) {\r\n colIdx1 = tableStructureModuleRole.getPrimaryKeyIndex(0);\r\n colIdx2 = tableStructureModuleRole.getPrimaryKeyIndex(1);\r\n colIdx3 = tableStructureModuleRole.getPrimaryKeyIndex(2);\r\n }\r\n if (selColumn == colIdx1 || selColumn == colIdx2 || selColumn == colIdx3) {\r\n// if (checkDependency(selRow, \"\")) {\r\n if(!checkUniqueId(newValue, selColumn, selRow)) {\r\n String msg = coeusMessageResources.parseMessageKey(\r\n \"protocolFollowupAction_PKeyUniq_exceptionCode.2409\");\r\n \r\n CoeusOptionPane.showInfoDialog(msg);\r\n return false; //fail in uniqueid check\r\n }\r\n// } else {\r\n// return false;//fail in dependency check\r\n// }\r\n }\r\n }\r\n return true;\r\n }", "title": "" }, { "docid": "2975bbd4dbfdbe894c2b18cc1f028504", "score": "0.5087551", "text": "public void verifySelected(WebElement ele) {\n\t\tele.isEnabled();\r\n\t}", "title": "" }, { "docid": "44d77e2733a7320a2d71a6a761d35f22", "score": "0.5086339", "text": "public boolean hasValue() {\n return valueBuilder_ != null || value_ != null;\n }", "title": "" }, { "docid": "44d77e2733a7320a2d71a6a761d35f22", "score": "0.5086339", "text": "public boolean hasValue() {\n return valueBuilder_ != null || value_ != null;\n }", "title": "" }, { "docid": "8e08ed76dbac536dc55e5aa0afa35abe", "score": "0.5082667", "text": "public boolean checkValidChoice(String choice){\n return choicesLeft.contains(choice);\n }", "title": "" }, { "docid": "4e1467a0fea557c0c6bd7f528b49c4ee", "score": "0.50743693", "text": "public void selectByXpath(String value) {\n\t\tWebElement dropdown = driver.findElement(By.xpath(\"value\"));\n\t\tSelect options = new Select(dropdown);\n\t\toptions.selectByValue(value);\n\t\tSystem.out.println(\"Value selected iin drop doen correctly :\" + value);\n\n\t}", "title": "" }, { "docid": "6b31ddd7668bcfef7ac088dfc3b560a5", "score": "0.5074267", "text": "private boolean validOption(char option) //method to check char option\n {\n //check if option is in 1,2,3,4,5,6,7,8 , and return false to break if condition\n if (option < '1' || option > '8')\n {\n System.out.println(\"Error : please insert from (1) to (8)!\");\n return false;\n }\n return true; \n }", "title": "" }, { "docid": "a47831e6607e7188dab4cab4fe06ead7", "score": "0.507364", "text": "public void checkOptionsInSortFilter() {\n\t\t{\n\t\t\tjava.util.List<WebElement> options = select.getOptions();\n\t\t\tint k = 0;\n\t\t\tfor (WebElement opt : options) {\n\t\t\t\tAssert.assertTrue(opt.getText().equals(BaseUtil.expectedSortValue[k]));\n\t\t\t\tk = k + 1;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "a62e9c0b3c027fc1f8497f60ab229961", "score": "0.50703126", "text": "public static Criteria forDropDownDoesNotContain(By locator, String value) {\n return forGenericPattern(CriteriaType.DROPDOWN_DOES_NOT_CONTAIN, locator, value);\n }", "title": "" }, { "docid": "ec3e6659d54d341f29f5dce21efd02e9", "score": "0.50693184", "text": "public static void emptySelectionErrorMessage() {\r\n JOptionPane.showMessageDialog(null, \"Selecione um item!\", \"ERROR\",\r\n JOptionPane.ERROR_MESSAGE);\r\n }", "title": "" }, { "docid": "a6d9868fd3e78187cdcbd4741630fecb", "score": "0.50632495", "text": "boolean isSetCountrycodeID();", "title": "" }, { "docid": "ff9056bab378b7ccfd5ccfc324f61c58", "score": "0.5058743", "text": "public boolean canPickUp();", "title": "" }, { "docid": "f0b9f8c986abe4216e92fb9e2386e665", "score": "0.5050084", "text": "public static Criteria forDropDownDoesNotContain(PageComponent component, String value) {\n return forGenericPattern(CriteriaType.DROPDOWN_DOES_NOT_CONTAIN, component, value);\n }", "title": "" }, { "docid": "4b18304590b7889d80792b51c0cc26ae", "score": "0.5048683", "text": "@Override\n\tpublic void selectDropDownUsingText(WebElement ele, String value) {\n\t\t\n\t}", "title": "" }, { "docid": "7730943a15770aaf54e2702668236c1e", "score": "0.50465864", "text": "private boolean validateFlag() {\n\n int countrycodeposition;\n countrycodeposition = Arrays.asList(countries).indexOf(autoComplete.getText().toString());\n if(countrycodeposition < 0){\n String setflagicon = \"flag_icon_002\";\n int flag_name = getResources().getIdentifier(setflagicon, \"drawable\", getPackageName());\n img_user_login_flag_icon.setImageResource(flag_name);\n\n }\n return true;\n }", "title": "" }, { "docid": "3c1870d62f19866ea59382f92e19179f", "score": "0.50445104", "text": "public void filterValueByOptionIfNeeds() {\n if (_likeSearchOption == null || _targetValue == null) {\n return;\n }\n if (_targetValue instanceof String) {\n _targetValue = _likeSearchOption.generateRealValue((String) _targetValue);\n }\n }", "title": "" }, { "docid": "a793fed9a57890b97ccb63d595714106", "score": "0.50401026", "text": "@SuppressWarnings(\"squid:S00100\")\n public static Criteria forDropDownHTML_Equals(By locator, String value) {\n return forGenericPattern(CriteriaType.DROPDOWN_HTML_EQUALS, locator, value);\n }", "title": "" }, { "docid": "0957ab4814aa30f7c6d5c90098752176", "score": "0.50329196", "text": "public boolean checkForCompletion() {\r\n // This method needs to be rewritten!! The line if (this.getValueButtonSelected() != true || this.getInputsButtonSelected() != true) does not work even if they are selected\r\n return checkOrGiveUpButtonClicked;\r\n}", "title": "" }, { "docid": "93223330e2d61aa67e7745d4e427a589", "score": "0.5021955", "text": "@SuppressWarnings(\"squid:S00100\")\n public static Criteria forDropDownHTML_Equals(PageComponent component, String value) {\n return forGenericPattern(CriteriaType.DROPDOWN_HTML_EQUALS, component, value);\n }", "title": "" }, { "docid": "246824c7e963d928f0b1888f611bc2e4", "score": "0.50135446", "text": "public String[] validateDropDownText(String[] step) {\r\n\t\tString[] arrStepStatus = new String[2];\r\n\t\ttry {\r\n\t\t\telement = elementLocator(step[3], step[4], 0);\r\n\t\t\tString strDDText = new Select(element).getFirstSelectedOption().getText();\r\n\r\n\t\t\tif (strDDText.contentEquals(step[7])) {\r\n\t\t\t\tarrStepStatus[0] = \"Passed\";\r\n\t\t\t\tarrStepStatus[1] = \"Actual: \" + strDDText + \" = Expected: \" + paramVal;\r\n\t\t\t\tlog.info(\"Actual: \" + strDDText + \" = Expected: \" + paramVal);\r\n\t\t\t} else {\r\n\t\t\t\tarrStepStatus[0] = \"Failed\";\r\n\t\t\t\tarrStepStatus[1] = \"[Not Equal] Actual: \" + strDDText + \" <> Expected: \" + paramVal;\r\n\t\t\t\tlog.info(\"[Not Equal] Actual: \" + strDDText + \" <> Expected: \" + paramVal);\r\n\t\t\t}\r\n\r\n\t\t} catch (Exception e) {\r\n\t\t\tarrStepStatus[0] = \"Failed\";\r\n\t\t\tarrStepStatus[1] = e.getMessage().toString();\r\n\t\t}\r\n\r\n\t\treturn arrStepStatus;\r\n\t}", "title": "" }, { "docid": "74b84f59903e4e4f1b4af7c170ac5f1d", "score": "0.50027543", "text": "@Override\r\n\t\t\t\t\tpublic boolean test(TreeItem<ReclamoTabla> cliente) {\n\t\t\t\t\t\tBoolean flag = cliente.getValue().cuit.getValue().contains(newValue);\r\n\t\t\t\t\t\treturn flag;\r\n\t\t\t\t\t}", "title": "" }, { "docid": "d360463bdbb9184efab8bdea740c93d7", "score": "0.49936745", "text": "public String verifyEnteredVacName() {\n\t\treturn vacancyNameField.getAttribute(\"value\"); \r\n\t}", "title": "" }, { "docid": "fb6ceb06bcd067691ef90a4d97c2843f", "score": "0.4990874", "text": "public FormValidation doCheckElement(@QueryParameter String value) {\n return Util.validateElementForSearch(value);\n }", "title": "" }, { "docid": "6ed0f5b98f5967309934e5b8a3e0ee81", "score": "0.4983906", "text": "public HtmlSelect findSelectPropertyThenVerify(final String property, final int index,\n\t\t\tfinal String expected, final boolean check) {\n\t\tHtmlSelect selectbox = (HtmlSelect) this.findSelectProperty(property, index);\n\t\tSystem.out.println(\"[TEST] Selectbox[\" + property + \"][\" + Integer.toString(index)\n\t\t\t\t+ \"].size:\" + selectbox.getOptionSize());\n\t\tint idx = selectbox.getSelectedIndex();\n\t\tSystem.out.println(\"[TEST] Selectbox[\" + property + \"][\" + Integer.toString(index)\n\t\t\t\t+ \"].selected:\" + Integer.toString(idx));\n\t\tSystem.out.println(\"[TEST] Selectbox[\" + property + \"][\" + Integer.toString(index)\n\t\t\t\t+ \"].value:\" + selectbox.getAttribute(\"value\"));\n\t\tSystem.out.println(\"[TEST] Selectbox[\" + property + \"][\" + Integer.toString(index)\n\t\t\t\t+ \"].selected.value:\" + selectbox.getSelectedOptions().get(0).getAttribute(\"value\"));\n\t\t// 選択値を検証\n\t\tString actual = selectbox.getSelectedOptions().get(0).getAttribute(\"value\");\n\t\tassertThat(actual, equalTo(expected));\n\t\t// エラー表示を検証\n\t\tString errorMsg = this.getErrorContentOf(property, selectbox);\n\t\tif (check) {\n\t\t\tassertThat(errorMsg, is(emptyString()));\n\t\t} else {\n\t\t\tSystem.out.println(\"[TEST DEBUG] Selecttbox[\" + property + \"][\" + Integer.toString(index)\n\t\t\t\t\t+ \"]'s error:\" + errorMsg);\n\t\t\tassertThat(errorMsg, is(not(emptyString())));\n\t\t}\n\t\treturn selectbox;\n\t}", "title": "" }, { "docid": "33bd162b6b1af132f8dfa287f5c8afbf", "score": "0.4975752", "text": "public boolean hasOption(String opt)\n {\n return this.options.contains(this.resolveOption(opt));\n }", "title": "" }, { "docid": "2ceb5b1dd6494b2e671aca5dc02744e1", "score": "0.49546972", "text": "@Override\n\tpublic boolean validSubValueAdded(UIField field, Object addedElement) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "6d5859cbf99056522c591adb06fc7ada", "score": "0.49533743", "text": "@Override\n\tpublic void verifySelected(WebElement ele) {\n\t\t\n\t}", "title": "" }, { "docid": "02be3a9aff25611baedffb95de804770", "score": "0.49459526", "text": "boolean hasCountry_desciption();", "title": "" }, { "docid": "06e622c74d4f554b7ff2e27e61366578", "score": "0.4945585", "text": "boolean isSetGenbank();", "title": "" }, { "docid": "40e720c0a249acd1ab1e5dab4bf1bfff", "score": "0.49446785", "text": "public void displayChooseOption() {\n\t\tdisplay(\"Please choose an option: \");\n\t}", "title": "" }, { "docid": "c83726ea97ad65a582e8dfc82ecffee3", "score": "0.49424788", "text": "public HtmlSelect findSelectPropertyThenVerify(final String property, final String expected,\n\t\t\tfinal boolean check) {\n\t\treturn this.findSelectPropertyThenVerify(property, 0, expected, check);\n\t}", "title": "" }, { "docid": "289bc502a15a3e07868ec09886a7a995", "score": "0.49420357", "text": "boolean hasOptions();", "title": "" }, { "docid": "289bc502a15a3e07868ec09886a7a995", "score": "0.49420357", "text": "boolean hasOptions();", "title": "" } ]
5cefe983b8dd54768122a00f644cc11f
Mangled: _ZN12uavcan_stm329CanDriverC1ILj64EEERA2_AT__NS_9CanRxItemE Demangled: uavcan_stm32::CanDriver::CanDriver(uavcan_stm32::CanRxItem (&) [2][64u])
[ { "docid": "373892fc9fd220a7fc154ce5b4a145eb", "score": "0.47934434", "text": "@Test\n\tpublic void testMultidimensionalArrayFunctionParameter() throws Exception {\n\t\t// Mangled: _ZN12uavcan_stm329CanDriverC1ILj64EEERA2_AT__NS_9CanRxItemE\n\t\t//\n\t\t// Demangled: uavcan_stm32::CanDriver::CanDriver<64u>(uavcan_stm32::CanRxItem (&) [2][64u])\n\t\t//\n\n\t\tString mangled = \"_ZN12uavcan_stm329CanDriverC1ILj64EEERA2_AT__NS_9CanRxItemE\";\n\n\t\tString demangled = process.demangle(mangled);\n\n\t\tDemangledObject object = parser.parse(mangled, demangled);\n\t\tassertNotNull(object);\n\t\tassertType(object, DemangledFunction.class);\n\n\t\tString signature = object.getSignature(false);\n\t\tassertEquals(\n\t\t\t\"undefined uavcan_stm32::CanDriver::CanDriver<64u>(uavcan_stm32::CanRxItem &[][])\",\n\t\t\tsignature);\n\t}", "title": "" } ]
[ { "docid": "c5d32e0992bde281100710105d41c834", "score": "0.4872402", "text": "public NameDeviceListRecyclerViewAdapter(ArrayList<BluetoothDeviceInfo> item) {\n this.item = item;\n }", "title": "" }, { "docid": "30c5ff6dc809d2566a2593ac525f2051", "score": "0.46703973", "text": "private static void b(com.bytedance.apm.battery.b.b r27, java.util.List<com.bytedance.apm.f.b> r28) {\n /*\n r0 = r27\n r1 = r28\n int r2 = r28.size()\n int r3 = r28.size()\n r4 = 1\n int r3 = r3 - r4\n java.lang.StringBuffer r5 = new java.lang.StringBuffer\n r5.<init>()\n r10 = 0\n r15 = r3\n r12 = r10\n r3 = 0\n r4 = -1\n r6 = 0\n r10 = 0\n r13 = 0\n r16 = 0\n r18 = 0\n r20 = 0\n L_0x0024:\n if (r3 >= r2) goto L_0x00e6\n java.lang.Object r22 = r1.get(r3)\n r8 = r22\n com.bytedance.apm.f.b r8 = (com.bytedance.apm.f.b) r8\n java.lang.String r9 = r8.f18984d\n boolean r9 = android.text.TextUtils.isEmpty(r9)\n if (r9 == 0) goto L_0x00d9\n java.lang.String r9 = r8.l\n if (r12 != 0) goto L_0x0045\n r5.append(r9)\n java.lang.String r12 = \",\"\n r5.append(r12)\n L_0x0042:\n r25 = r2\n goto L_0x0074\n L_0x0045:\n if (r12 == 0) goto L_0x0042\n boolean r22 = android.text.TextUtils.equals(r12, r9)\n if (r22 != 0) goto L_0x0042\n r22 = 0\n int r16 = (r10 > r22 ? 1 : (r10 == r22 ? 0 : -1))\n if (r16 <= 0) goto L_0x0062\n java.lang.Object r16 = r1.get(r15)\n r25 = r2\n r2 = r16\n com.bytedance.apm.f.b r2 = (com.bytedance.apm.f.b) r2\n long r0 = r2.f18983c\n long r0 = r0 - r10\n long r13 = r13 + r0\n goto L_0x0064\n L_0x0062:\n r25 = r2\n L_0x0064:\n r5.append(r12)\n java.lang.String r0 = \",\"\n r5.append(r0)\n r10 = 0\n r16 = 0\n r18 = 0\n r20 = 0\n L_0x0074:\n boolean r0 = r8.a()\n if (r0 == 0) goto L_0x00ab\n r0 = 0\n int r2 = (r10 > r0 ? 1 : (r10 == r0 ? 0 : -1))\n if (r2 != 0) goto L_0x00a6\n long r10 = r8.f18983c\n int r2 = (r18 > r0 ? 1 : (r18 == r0 ? 0 : -1))\n if (r2 <= 0) goto L_0x009f\n int r2 = (r20 > r0 ? 1 : (r20 == r0 ? 0 : -1))\n if (r2 != 0) goto L_0x009f\n r26 = r9\n long r8 = r8.f18983c\n long r20 = r8 - r18\n int r2 = (r20 > r0 ? 1 : (r20 == r0 ? 0 : -1))\n if (r2 < 0) goto L_0x009c\n long r6 = r6 + r20\n r0 = -1\n r18 = 0\n r20 = 0\n goto L_0x00a2\n L_0x009c:\n r20 = r8\n goto L_0x00a1\n L_0x009f:\n r26 = r9\n L_0x00a1:\n r0 = -1\n L_0x00a2:\n if (r4 != r0) goto L_0x00a9\n r4 = r3\n goto L_0x00a9\n L_0x00a6:\n r26 = r9\n r0 = -1\n L_0x00a9:\n r15 = r3\n goto L_0x00d6\n L_0x00ab:\n r26 = r9\n r0 = -1\n boolean r1 = r8.f18982b\n if (r1 == 0) goto L_0x00d6\n r23 = 0\n int r1 = (r16 > r23 ? 1 : (r16 == r23 ? 0 : -1))\n if (r1 != 0) goto L_0x00d6\n int r1 = (r10 > r23 ? 1 : (r10 == r23 ? 0 : -1))\n if (r1 <= 0) goto L_0x00d6\n long r1 = r8.f18983c\n long r16 = r1 - r10\n int r9 = (r16 > r23 ? 1 : (r16 == r23 ? 0 : -1))\n if (r9 < 0) goto L_0x00c9\n long r13 = r13 + r16\n r1 = r23\n r10 = r1\n L_0x00c9:\n int r9 = (r18 > r23 ? 1 : (r18 == r23 ? 0 : -1))\n if (r9 != 0) goto L_0x00d4\n long r8 = r8.f18983c\n r16 = r1\n r18 = r8\n goto L_0x00d6\n L_0x00d4:\n r16 = r1\n L_0x00d6:\n r12 = r26\n goto L_0x00dc\n L_0x00d9:\n r25 = r2\n r0 = -1\n L_0x00dc:\n int r3 = r3 + 1\n r2 = r25\n r0 = r27\n r1 = r28\n goto L_0x0024\n L_0x00e6:\n r1 = 0\n int r0 = (r10 > r1 ? 1 : (r10 == r1 ? 0 : -1))\n if (r0 <= 0) goto L_0x00f9\n r0 = r28\n java.lang.Object r1 = r0.get(r15)\n com.bytedance.apm.f.b r1 = (com.bytedance.apm.f.b) r1\n long r1 = r1.f18983c\n long r1 = r1 - r10\n long r13 = r13 + r1\n goto L_0x00fb\n L_0x00f9:\n r0 = r28\n L_0x00fb:\n r1 = r27\n r1.f18917a = r6\n r1.f18918b = r13\n r1.f18919c = r4\n r1.f18920d = r15\n r2 = 0\n java.lang.Object r0 = r0.get(r2)\n com.bytedance.apm.f.b r0 = (com.bytedance.apm.f.b) r0\n boolean r2 = r0.k\n r1.o = r2\n java.lang.String r2 = r0.j\n r1.p = r2\n java.lang.String r2 = r5.toString()\n r1.q = r2\n boolean r1 = com.bytedance.apm.c.d()\n if (r1 == 0) goto L_0x0146\n r1 = 1\n java.lang.String[] r1 = new java.lang.String[r1]\n java.lang.StringBuilder r2 = new java.lang.StringBuilder\n java.lang.String r3 = \"computeValidIndexAndDuration ret, frontDuraion: \"\n r2.<init>(r3)\n r2.append(r6)\n java.lang.String r3 = \"ms, backTotalDuration: \"\n r2.append(r3)\n r2.append(r13)\n java.lang.String r3 = \" ms, processName: \"\n r2.append(r3)\n java.lang.String r0 = r0.j\n r2.append(r0)\n java.lang.String r0 = r2.toString()\n r2 = 0\n r1[r2] = r0\n L_0x0146:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.bytedance.apm.battery.b.a.b(com.bytedance.apm.battery.b.b, java.util.List):void\");\n }", "title": "" }, { "docid": "8aac15af57627d177ce8aeb9f3c15122", "score": "0.46580338", "text": "AnonymousClass1() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 0073 in method: android.bluetooth.le.AdvertiseSettings.1.<init>():void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.bluetooth.le.AdvertiseSettings.1.<init>():void\");\n }", "title": "" }, { "docid": "ff6d0c13f0d769ed2210fa180075858b", "score": "0.46100208", "text": "void mo193a(C0214d c0214d);", "title": "" }, { "docid": "2aea47c28cce78c4feb1e48e413a7630", "score": "0.45490015", "text": "interface C0485a {\n cn m1668a(C0512r c0512r);\n }", "title": "" }, { "docid": "ebacf79b6c7920106ab25b017518b45f", "score": "0.45345157", "text": "AnonymousClass1() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 0073 in method: android.telephony.CellIdentityWcdma.1.<init>():void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.telephony.CellIdentityWcdma.1.<init>():void\");\n }", "title": "" }, { "docid": "71b369b1f7977b3e65a1a57e7054d5d8", "score": "0.45283028", "text": "public /* bridge */ /* synthetic */ java.lang.Object[] newArray(int r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: android.bluetooth.le.AdvertiseSettings.1.newArray(int):java.lang.Object[], dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.bluetooth.le.AdvertiseSettings.1.newArray(int):java.lang.Object[]\");\n }", "title": "" }, { "docid": "7e88bba97b08fb6190b4cece9200bedc", "score": "0.44952193", "text": "public interface C4870j {\n /* renamed from: d */\n public static final ba f17879d = new ba(-1, -1, -1);\n\n /* renamed from: com.google.android.m4b.maps.bq.j$a */\n public interface C4869a {\n /* renamed from: a */\n void mo5092a();\n\n /* renamed from: a */\n void mo5093a(az azVar);\n }\n\n /* renamed from: a */\n az mo7076a(ba baVar, boolean z);\n\n /* renamed from: a */\n void mo7078a();\n\n /* renamed from: a */\n void mo7079a(ba baVar, C4875d c4875d);\n\n /* renamed from: a */\n void mo7080a(C4869a c4869a);\n\n /* renamed from: b */\n void mo7081b();\n\n /* renamed from: b */\n void mo7082b(ba baVar, C4875d c4875d);\n\n /* renamed from: c */\n void mo7083c();\n\n /* renamed from: e */\n bg mo7084e();\n}", "title": "" }, { "docid": "e144b7be18343bea4c4c61c010fcbd28", "score": "0.44857004", "text": "void mo192a(C0212b c0212b);", "title": "" }, { "docid": "1f913dbf34c18695503ed96a7e8e2910", "score": "0.44778264", "text": "private void decodeOperands(IInstruction instruction, List<Byte> instructionbytes) {\n \n \n }", "title": "" }, { "docid": "098bc7357c116b109bc86c56fdf4be83", "score": "0.44547856", "text": "public CArrayFacade<Byte> getPchan_name() throws IOException\n\t{\n\t\tClass<?>[] __dna__targetTypes = new Class[]{Byte.class};\n\t\tint[] __dna__dimensions = new int[]{\n\t\t\t64\n\t\t};\n\t\tif ((__io__pointersize == 8)) {\n\t\t\treturn new CArrayFacade<Byte>(__io__address + 16, __dna__targetTypes, __dna__dimensions, __io__block, __io__blockTable);\n\t\t} else {\n\t\t\treturn new CArrayFacade<Byte>(__io__address + 8, __dna__targetTypes, __dna__dimensions, __io__block, __io__blockTable);\n\t\t}\n\t}", "title": "" }, { "docid": "38351750975fcf6552dce2ff633a5808", "score": "0.44463164", "text": "public final com.google.android.gms.internal.ads.C1204bz mo11605u() {\n /*\n r4 = this;\n android.os.Parcel r0 = r4.mo11432z()\n r1 = 14\n android.os.Parcel r0 = r4.mo11428a(r1, r0)\n android.os.IBinder r1 = r0.readStrongBinder()\n if (r1 != 0) goto L_0x0012\n r1 = 0\n goto L_0x0026\n L_0x0012:\n java.lang.String r2 = \"com.google.android.gms.ads.internal.formats.client.IAttributionInfo\"\n android.os.IInterface r2 = r1.queryLocalInterface(r2)\n boolean r3 = r2 instanceof com.google.android.gms.internal.ads.C1204bz\n if (r3 == 0) goto L_0x0020\n r1 = r2\n com.google.android.gms.internal.ads.bz r1 = (com.google.android.gms.internal.ads.C1204bz) r1\n goto L_0x0026\n L_0x0020:\n com.google.android.gms.internal.ads.cb r2 = new com.google.android.gms.internal.ads.cb\n r2.<init>(r1)\n r1 = r2\n L_0x0026:\n r0.recycle()\n return r1\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.ads.C1262ec.mo11605u():com.google.android.gms.internal.ads.bz\");\n }", "title": "" }, { "docid": "0049b22d6cefabf141134d9d4961fcca", "score": "0.4423506", "text": "public void mo7121b(C5052d c5052d) {\n }", "title": "" }, { "docid": "292fe991342cea369bbf63c8b0328493", "score": "0.44072527", "text": "public CArrayFacade<Byte> getTarget_vgname() throws IOException\n\t{\n\t\tClass<?>[] __dna__targetTypes = new Class[]{Byte.class};\n\t\tint[] __dna__dimensions = new int[]{\n\t\t\t64\n\t\t};\n\t\tif ((__io__pointersize == 8)) {\n\t\t\treturn new CArrayFacade<Byte>(__io__address + 104, __dna__targetTypes, __dna__dimensions, __io__block, __io__blockTable);\n\t\t} else {\n\t\t\treturn new CArrayFacade<Byte>(__io__address + 92, __dna__targetTypes, __dna__dimensions, __io__block, __io__blockTable);\n\t\t}\n\t}", "title": "" }, { "docid": "6554751ccdad5b897443a1be38b54545", "score": "0.4360478", "text": "public void mo8010b(java.util.List<androidx.recyclerview.widget.C1674a.C1676b> r9, int r10, androidx.recyclerview.widget.C1674a.C1676b r11, int r12, androidx.recyclerview.widget.C1674a.C1676b r13) {\n /*\n r8 = this;\n int r0 = r11.f6448d\n int r1 = r13.f6446b\n r2 = 4\n r3 = 0\n r4 = 1\n if (r0 >= r1) goto L_0x000d\n int r1 = r1 - r4\n r13.f6446b = r1\n goto L_0x0020\n L_0x000d:\n int r5 = r13.f6448d\n int r1 = r1 + r5\n if (r0 >= r1) goto L_0x0020\n int r5 = r5 - r4\n r13.f6448d = r5\n androidx.recyclerview.widget.v$a r0 = r8.f6906a\n int r1 = r11.f6446b\n java.lang.Object r5 = r13.f6447c\n androidx.recyclerview.widget.a$b r0 = r0.mo7675a(r2, r1, r4, r5)\n goto L_0x0021\n L_0x0020:\n r0 = r3\n L_0x0021:\n int r1 = r11.f6446b\n int r5 = r13.f6446b\n if (r1 > r5) goto L_0x002b\n int r5 = r5 + r4\n r13.f6446b = r5\n goto L_0x0041\n L_0x002b:\n int r6 = r13.f6448d\n int r7 = r5 + r6\n if (r1 >= r7) goto L_0x0041\n int r5 = r5 + r6\n int r5 = r5 - r1\n androidx.recyclerview.widget.v$a r3 = r8.f6906a\n int r1 = r1 + r4\n java.lang.Object r4 = r13.f6447c\n androidx.recyclerview.widget.a$b r3 = r3.mo7675a(r2, r1, r5, r4)\n int r1 = r13.f6448d\n int r1 = r1 - r5\n r13.f6448d = r1\n L_0x0041:\n r9.set(r12, r11)\n int r11 = r13.f6448d\n if (r11 <= 0) goto L_0x004c\n r9.set(r10, r13)\n goto L_0x0054\n L_0x004c:\n r9.remove(r10)\n androidx.recyclerview.widget.v$a r11 = r8.f6906a\n r11.mo7678a(r13)\n L_0x0054:\n if (r0 == 0) goto L_0x0059\n r9.add(r10, r0)\n L_0x0059:\n if (r3 == 0) goto L_0x005e\n r9.add(r10, r3)\n L_0x005e:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: androidx.recyclerview.widget.C1773v.mo8010b(java.util.List, int, androidx.recyclerview.widget.a$b, int, androidx.recyclerview.widget.a$b):void\");\n }", "title": "" }, { "docid": "1c2cb300c96b726857caac97468fa0de", "score": "0.4342937", "text": "public final void mo4458a(C1205a c1205a) {\n }", "title": "" }, { "docid": "e9ebd634128fe7bae51a7b45080beb4d", "score": "0.43179962", "text": "private KeyUsage(com.android.org.bouncycastle.asn1.DERBitString r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e8 in method: com.android.org.bouncycastle.asn1.x509.KeyUsage.<init>(com.android.org.bouncycastle.asn1.DERBitString):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.asn1.x509.KeyUsage.<init>(com.android.org.bouncycastle.asn1.DERBitString):void\");\n }", "title": "" }, { "docid": "ab656114924bf867acbd3b199cb7e798", "score": "0.42988348", "text": "public /* bridge */ /* synthetic */ java.lang.Object[] newArray(int r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: android.telephony.CellIdentityWcdma.1.newArray(int):java.lang.Object[], dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.telephony.CellIdentityWcdma.1.newArray(int):java.lang.Object[]\");\n }", "title": "" }, { "docid": "d657e1609747da323d6806c4ce47b5e9", "score": "0.4281924", "text": "public abstract C46867w mo18011b(C25093y c25093y);", "title": "" }, { "docid": "508e493b2eabab6451c253307f0f0893", "score": "0.4280321", "text": "public void mo4551a(C0794d0 d0Var) {\n RecyclerView recyclerView = RecyclerView.this;\n recyclerView.f3226i0.mo4718b(d0Var.itemView, recyclerView.f3200U);\n }", "title": "" }, { "docid": "7e47cda37116b67557e8d4923a891c39", "score": "0.42764032", "text": "public byte[] getBytes() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.asn1.x509.KeyUsage.getBytes():byte[], dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.asn1.x509.KeyUsage.getBytes():byte[]\");\n }", "title": "" }, { "docid": "52f1f2e8a39c94699c85abccf36215fb", "score": "0.42696038", "text": "@Test\n\tpublic void testInvalidMangledSymbol() throws Exception {\n\t\t// This is a function name that the native demangler tries to demangle, but should not:\n\t\t// Input: uv__dup\n\t\t// Incorrect Native Output: uv(double, *__restrict)\n\t\t//\n\t\tString mangled = \"uv__dup\";\n\t\tGnuDemangler demangler = new GnuDemangler();\n\t\tDemangledObject demangled = demangler.demangle(mangled);\n\t\tassertNull(demangled);\n\t}", "title": "" }, { "docid": "4c37f963b26254bdf80e40c15500920a", "score": "0.42688218", "text": "final /* synthetic */ void m15018a(C0559j c0559j) {\n m15015b(c0559j);\n }", "title": "" }, { "docid": "4ff49e90e285eb6d21e2d728d6f8518c", "score": "0.42651817", "text": "public com.android.internal.telephony.IccCardConstants.CardType getCdmaCardType(int r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: com.mediatek.telephony.TelephonyManagerEx.getCdmaCardType(int):com.android.internal.telephony.IccCardConstants$CardType, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.mediatek.telephony.TelephonyManagerEx.getCdmaCardType(int):com.android.internal.telephony.IccCardConstants$CardType\");\n }", "title": "" }, { "docid": "7ed392e9cc02c47db37c8c5cd2b6d318", "score": "0.423653", "text": "public HzsbDwnsrYwbwItem() {\n super();\n }", "title": "" }, { "docid": "7646756f739e9857d337a50b56a5b0df", "score": "0.42234027", "text": "public /* bridge */ /* synthetic */ java.lang.Object unmarshal(java.nio.ByteBuffer r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: android.hardware.camera2.marshal.impl.MarshalQueryableSizeF.MarshalerSizeF.unmarshal(java.nio.ByteBuffer):java.lang.Object, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.hardware.camera2.marshal.impl.MarshalQueryableSizeF.MarshalerSizeF.unmarshal(java.nio.ByteBuffer):java.lang.Object\");\n }", "title": "" }, { "docid": "d94ecf865c49cf2d7619805f67932b9e", "score": "0.4211591", "text": "static void taito8741_serial_rx(I8741 st, char[] data) {\n memcpy(st.rxd, data, 8);\n }", "title": "" }, { "docid": "a1030dc3b3123e515c506d0a7268dfd8", "score": "0.4208567", "text": "public java.lang.String[] getSupportCardType(int r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: com.mediatek.telephony.TelephonyManagerEx.getSupportCardType(int):java.lang.String[], dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.mediatek.telephony.TelephonyManagerEx.getSupportCardType(int):java.lang.String[]\");\n }", "title": "" }, { "docid": "0f09efa926a8aca2056b8d02bc6035ac", "score": "0.4191526", "text": "public interface C0205d {\n}", "title": "" }, { "docid": "47f821498dcb15728347c0dda7185c51", "score": "0.4189988", "text": "public abstract void buyDevCard(String[] commandSlice);", "title": "" }, { "docid": "07e653c99dc10fe99526c3424deee722", "score": "0.41851142", "text": "public static java.lang.String m19876c() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/79094208.run(Unknown Source)\n*/\n /*\n r0 = java.util.UUID.randomUUID();\n r1 = r0.getLeastSignificantBits();\n r1 = java.math.BigInteger.valueOf(r1);\n r1 = r1.toByteArray();\n r2 = r0.getMostSignificantBits();\n r0 = java.math.BigInteger.valueOf(r2);\n r0 = r0.toByteArray();\n r2 = new java.math.BigInteger;\n r3 = 1;\n r2.<init>(r3, r1);\n r2 = r2.toString();\n r4 = 0;\n r5 = r2;\n r2 = 0;\n L_0x0029:\n r6 = 2;\n if (r2 >= r6) goto L_0x0050;\n L_0x002c:\n r6 = \"MD5\";\t Catch:{ NoSuchAlgorithmException -> 0x004d }\n r6 = java.security.MessageDigest.getInstance(r6);\t Catch:{ NoSuchAlgorithmException -> 0x004d }\n r6.update(r1);\t Catch:{ NoSuchAlgorithmException -> 0x004d }\n r6.update(r0);\t Catch:{ NoSuchAlgorithmException -> 0x004d }\n r7 = 8;\t Catch:{ NoSuchAlgorithmException -> 0x004d }\n r8 = new byte[r7];\t Catch:{ NoSuchAlgorithmException -> 0x004d }\n r6 = r6.digest();\t Catch:{ NoSuchAlgorithmException -> 0x004d }\n java.lang.System.arraycopy(r6, r4, r8, r4, r7);\t Catch:{ NoSuchAlgorithmException -> 0x004d }\n r6 = new java.math.BigInteger;\t Catch:{ NoSuchAlgorithmException -> 0x004d }\n r6.<init>(r3, r8);\t Catch:{ NoSuchAlgorithmException -> 0x004d }\n r6 = r6.toString();\t Catch:{ NoSuchAlgorithmException -> 0x004d }\n r5 = r6;\n L_0x004d:\n r2 = r2 + 1;\n goto L_0x0029;\n L_0x0050:\n return r5;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.hn.c():java.lang.String\");\n }", "title": "" }, { "docid": "c57d1bb761120baa679eefca0004e9ab", "score": "0.41829917", "text": "public interface C5716a {\n /* renamed from: b */\n void mo27928b(QEffectPropertyData[] qEffectPropertyDataArr);\n }", "title": "" }, { "docid": "95c288cedb3a27b130e078d1a7c01257", "score": "0.41758263", "text": "@Data(size=4, value=\"0093\")\n IString debitoCcorrentes() ;", "title": "" }, { "docid": "173cb20c301910c09ec9f6a4cda8fb1b", "score": "0.4175045", "text": "public /* bridge */ /* synthetic */ java.lang.Object createFromParcel(android.os.Parcel r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: android.telephony.CellIdentityWcdma.1.createFromParcel(android.os.Parcel):java.lang.Object, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.telephony.CellIdentityWcdma.1.createFromParcel(android.os.Parcel):java.lang.Object\");\n }", "title": "" }, { "docid": "dab97863045615af0dc0869c5a50b937", "score": "0.41684246", "text": "@com.exedio.cope.instrument.Generated\n\tprivate SourcePatternItem(final com.exedio.cope.ActivationParameters ap){super(ap);}", "title": "" }, { "docid": "762e011b9481c662c03be8346f70f50d", "score": "0.41590914", "text": "@Converted(kind = Converted.Kind.AUTO,\n source = \"${LLVM_SRC}/llvm/include/llvm/MC/MCRegisterInfo.h\", line = 245,\n old_source = \"${LLVM_SRC}/llvm/include/llvm/MC/MCRegisterInfo.h\", old_line = 244,\n FQN=\"llvm::MCRegisterInfo::InitMCRegisterInfo\", NM=\"_ZN4llvm14MCRegisterInfo18InitMCRegisterInfoEPKNS_14MCRegisterDescEjjjPKNS_15MCRegisterClassEjPA2_KtjPS7_PKjPKcSE_SA_jPKNS0_17SubRegCoveredBitsESA_\",\n cmd=\"jclank.sh -java-options=${SPUTNIK}/modules/org.llvm.adtsupport/llvmToClangType ${LLVM_SRC}/llvm/lib/MC/MCRegisterInfo.cpp -nm=_ZN4llvm14MCRegisterInfo18InitMCRegisterInfoEPKNS_14MCRegisterDescEjjjPKNS_15MCRegisterClassEjPA2_KtjPS7_PKjPKcSE_SA_jPKNS0_17SubRegCoveredBitsESA_\")\n //</editor-fold>\n public void InitMCRegisterInfo(/*const*/ type$ptr<MCRegisterDesc /*P*/> D, /*uint*/int NR, /*uint*/int RA, \n /*uint*/int PC, \n /*const*/ type$ptr<MCRegisterClass /*P*/> C, /*uint*/int NC, \n /*const*/ char RURoots[], \n /*uint*/int NRU, \n /*const*//*uint16_t*/ushort$ptr DL, \n /*const*/uint$ptr/*uint P*/ RUMS, \n /*const*/char$ptr/*char P*/ Strings, \n /*const*/char$ptr/*char P*/ ClassStrings, \n /*const*//*uint16_t*/ushort$ptr SubIndices, \n /*uint*/int NumIndices, \n /*const*/ type$ptr<SubRegCoveredBits /*P*/> SubIdxRanges, \n /*const*//*uint16_t*/ushort$ptr RET) {\n Desc = D;\n NumRegs = NR;\n RAReg = RA;\n PCReg = PC;\n Classes = C;\n DiffLists = $tryClone(DL);\n RegUnitMaskSequences = $tryClone(RUMS);\n RegStrings = $tryClone(Strings);\n RegClassStrings = $tryClone(ClassStrings);\n NumClasses = NC;\n RegUnitRoots = RURoots;\n NumRegUnits = NRU;\n SubRegIndices = $tryClone(SubIndices);\n NumSubRegIndices = NumIndices;\n SubRegIdxRanges = SubIdxRanges;\n RegEncodingTable = $tryClone(RET);\n }", "title": "" }, { "docid": "07453c54751a84244b74e8d61bb3b09c", "score": "0.41590866", "text": "interface C0804b {\n /* renamed from: a */\n void mo4676a(C0794d0 d0Var);\n }", "title": "" }, { "docid": "d8fec9208c2bfc519616aab7b269ae98", "score": "0.41590646", "text": "private static com.google.android.gms.internal.measurement.cm m11569c() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/509891820.run(Unknown Source)\n*/\n /*\n r0 = \"com.google.protobuf.NewInstanceSchemaFull\";\t Catch:{ Exception -> 0x0016 }\n r0 = java.lang.Class.forName(r0);\t Catch:{ Exception -> 0x0016 }\n r1 = 0;\t Catch:{ Exception -> 0x0016 }\n r2 = new java.lang.Class[r1];\t Catch:{ Exception -> 0x0016 }\n r0 = r0.getDeclaredConstructor(r2);\t Catch:{ Exception -> 0x0016 }\n r1 = new java.lang.Object[r1];\t Catch:{ Exception -> 0x0016 }\n r0 = r0.newInstance(r1);\t Catch:{ Exception -> 0x0016 }\n r0 = (com.google.android.gms.internal.measurement.cm) r0;\t Catch:{ Exception -> 0x0016 }\n return r0;\n L_0x0016:\n r0 = 0;\n return r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.measurement.co.c():com.google.android.gms.internal.measurement.cm\");\n }", "title": "" }, { "docid": "d31124299a2c9fef4f89d5fcf1731b6b", "score": "0.41565424", "text": "public interface C2865g0 extends C11871b<C2881m0> {\n\n /* renamed from: com.bamtechmedia.dominguez.auth.s0.g0$a */\n /* compiled from: OtpVerifyBindingModule_Injector */\n public interface C2866a extends C11872a<C2881m0> {\n }\n}", "title": "" }, { "docid": "672f08e2c820820bb3a1a4e0670eaec4", "score": "0.41530424", "text": "public interface C12023xa {\n /* renamed from: a */\n void mo38828a();\n\n /* renamed from: a */\n boolean mo38829a(C11703Aa aa);\n}", "title": "" }, { "docid": "ed6b98814fed05b9c2539228cbf54172", "score": "0.41477883", "text": "public final String mo4982Fj() {\n int i;\n AppMethodBeat.m2504i(128694);\n String str = \",\";\n StringBuffer stringBuffer = new StringBuffer();\n stringBuffer.append(this.ddx);\n stringBuffer.append(str);\n stringBuffer.append(this.ddc);\n stringBuffer.append(str);\n stringBuffer.append(this.ddd);\n stringBuffer.append(str);\n if (this.ddS != null) {\n i = this.ddS.value;\n } else {\n i = -1;\n }\n stringBuffer.append(i);\n stringBuffer.append(str);\n stringBuffer.append(this.ddz);\n stringBuffer.append(str);\n stringBuffer.append(this.ddA);\n stringBuffer.append(str);\n stringBuffer.append(this.cVR);\n stringBuffer.append(str);\n stringBuffer.append(this.ddB);\n stringBuffer.append(str);\n stringBuffer.append(this.ddC);\n stringBuffer.append(str);\n stringBuffer.append(this.ddT);\n String stringBuffer2 = stringBuffer.toString();\n mo74164VX(stringBuffer2);\n AppMethodBeat.m2505o(128694);\n return stringBuffer2;\n }", "title": "" }, { "docid": "ccfe60b370656a30ddd4ab8bd93aa93b", "score": "0.41439655", "text": "public /* bridge */ /* synthetic */ java.lang.Object createFromParcel(android.os.Parcel r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: android.bluetooth.le.AdvertiseSettings.1.createFromParcel(android.os.Parcel):java.lang.Object, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.bluetooth.le.AdvertiseSettings.1.createFromParcel(android.os.Parcel):java.lang.Object\");\n }", "title": "" }, { "docid": "e09323b9d88fa90a4e7a467b8d4a1028", "score": "0.41432536", "text": "@Data(size=4, value=\"0091\")\n IString debitoCcDescat() ;", "title": "" }, { "docid": "2a47427220e7dfa81accecbae3092db6", "score": "0.41417032", "text": "@Converted(kind = Converted.Kind.AUTO,\n source = \"${LLVM_SRC}/llvm/include/llvm/MC/MCRegisterInfo.h\", line = 203,\n old_source = \"${LLVM_SRC}/llvm/include/llvm/MC/MCRegisterInfo.h\", old_line = 202,\n FQN=\"llvm::MCRegisterInfo::DiffListIterator::init\", NM=\"_ZN4llvm14MCRegisterInfo16DiffListIterator4initEtPKt\",\n cmd=\"jclank.sh -java-options=${SPUTNIK}/modules/org.llvm.adtsupport/llvmToClangType ${LLVM_SRC}/llvm/lib/MC/MCRegisterInfo.cpp -nm=_ZN4llvm14MCRegisterInfo16DiffListIterator4initEtPKt\")\n //</editor-fold>\n protected void init(/*uint16_t*/char InitVal, /*const*//*uint16_t*/ushort$ptr DiffList) {\n Val = InitVal;\n List = $tryClone(DiffList);\n }", "title": "" }, { "docid": "7c4a7026240ab3cb5d902a283623cef5", "score": "0.41395164", "text": "public CArrayFacade<Byte> getVgname() throws IOException\n\t{\n\t\tClass<?>[] __dna__targetTypes = new Class[]{Byte.class};\n\t\tint[] __dna__dimensions = new int[]{\n\t\t\t64\n\t\t};\n\t\tif ((__io__pointersize == 8)) {\n\t\t\treturn new CArrayFacade<Byte>(__io__address + 240, __dna__targetTypes, __dna__dimensions, __io__block, __io__blockTable);\n\t\t} else {\n\t\t\treturn new CArrayFacade<Byte>(__io__address + 224, __dna__targetTypes, __dna__dimensions, __io__block, __io__blockTable);\n\t\t}\n\t}", "title": "" }, { "docid": "5835454347ecd8759cab3d40ad87decb", "score": "0.41336876", "text": "public final void mo56977b() {\n /*\n r5 = this;\n com.ss.android.ugc.aweme.common.a r0 = r5.f67571b\n if (r0 == 0) goto L_0x0087\n com.ss.android.ugc.aweme.common.e r0 = r5.f67572c\n if (r0 != 0) goto L_0x000a\n goto L_0x0087\n L_0x000a:\n com.ss.android.ugc.aweme.common.a r0 = r5.f67571b\n java.lang.String r1 = \"mModel\"\n kotlin.jvm.internal.C7573i.m23582a(r0, r1)\n com.ss.android.ugc.aweme.discover.model.DiscoveryV4DetailListModel r0 = (com.p280ss.android.ugc.aweme.discover.model.DiscoveryV4DetailListModel) r0\n int r0 = r0.mListQueryType\n r1 = 1\n if (r0 == r1) goto L_0x0049\n r2 = 4\n if (r0 == r2) goto L_0x001c\n goto L_0x0048\n L_0x001c:\n r5.m88092e()\n com.ss.android.ugc.aweme.common.e r0 = r5.f67572c\n com.ss.android.ugc.aweme.common.e.c r0 = (com.p280ss.android.ugc.aweme.common.p1144e.C25675c) r0\n java.util.List<com.ss.android.ugc.aweme.feed.model.Aweme> r2 = r5.f70767d\n com.ss.android.ugc.aweme.common.a r3 = r5.f67571b\n java.lang.String r4 = \"mModel\"\n kotlin.jvm.internal.C7573i.m23582a(r3, r4)\n com.ss.android.ugc.aweme.discover.model.DiscoveryV4DetailListModel r3 = (com.p280ss.android.ugc.aweme.discover.model.DiscoveryV4DetailListModel) r3\n boolean r3 = r3.isHasMore()\n if (r3 == 0) goto L_0x0044\n com.ss.android.ugc.aweme.common.a r3 = r5.f67571b\n java.lang.String r4 = \"mModel\"\n kotlin.jvm.internal.C7573i.m23582a(r3, r4)\n com.ss.android.ugc.aweme.discover.model.DiscoveryV4DetailListModel r3 = (com.p280ss.android.ugc.aweme.discover.model.DiscoveryV4DetailListModel) r3\n boolean r3 = r3.isNewDataEmpty()\n if (r3 != 0) goto L_0x0044\n goto L_0x0045\n L_0x0044:\n r1 = 0\n L_0x0045:\n r0.mo59108b(r2, r1)\n L_0x0048:\n return\n L_0x0049:\n java.util.List<com.ss.android.ugc.aweme.feed.model.Aweme> r0 = r5.f70767d\n int r0 = r0.size()\n if (r0 <= 0) goto L_0x0056\n java.util.List<com.ss.android.ugc.aweme.feed.model.Aweme> r0 = r5.f70767d\n r0.clear()\n L_0x0056:\n com.ss.android.ugc.aweme.common.a r0 = r5.f67571b\n java.lang.String r1 = \"mModel\"\n kotlin.jvm.internal.C7573i.m23582a(r0, r1)\n com.ss.android.ugc.aweme.discover.model.DiscoveryV4DetailListModel r0 = (com.p280ss.android.ugc.aweme.discover.model.DiscoveryV4DetailListModel) r0\n boolean r0 = r0.isDataEmpty()\n if (r0 == 0) goto L_0x006d\n com.ss.android.ugc.aweme.common.e r0 = r5.f67572c\n com.ss.android.ugc.aweme.common.e.c r0 = (com.p280ss.android.ugc.aweme.common.p1144e.C25675c) r0\n r0.ae_()\n return\n L_0x006d:\n r5.m88092e()\n com.ss.android.ugc.aweme.common.e r0 = r5.f67572c\n com.ss.android.ugc.aweme.common.e.c r0 = (com.p280ss.android.ugc.aweme.common.p1144e.C25675c) r0\n java.util.List<com.ss.android.ugc.aweme.feed.model.Aweme> r1 = r5.f70767d\n com.ss.android.ugc.aweme.common.a r2 = r5.f67571b\n java.lang.String r3 = \"mModel\"\n kotlin.jvm.internal.C7573i.m23582a(r2, r3)\n com.ss.android.ugc.aweme.discover.model.DiscoveryV4DetailListModel r2 = (com.p280ss.android.ugc.aweme.discover.model.DiscoveryV4DetailListModel) r2\n boolean r2 = r2.isHasMore()\n r0.mo59099a(r1, r2)\n return\n L_0x0087:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.p280ss.android.ugc.aweme.discover.presenter.C26814a.mo56977b():void\");\n }", "title": "" }, { "docid": "ad8f7c143a0db0b14643e7c518bcf278", "score": "0.41308823", "text": "public void B_to_Address_of_Creator(AT_Machine_State paramAT_Machine_State)\r\n/* 632: */ {\r\n/* 633:667 */ this.platform.B_to_Address_of_Creator(paramAT_Machine_State);\r\n/* 634: */ }", "title": "" }, { "docid": "8a656f866eb3ce037c219c6d1840d40a", "score": "0.41256365", "text": "public void mo20819a(C37865d c37865d) {\n }", "title": "" }, { "docid": "64568d5551346e3cfc987800b56af224", "score": "0.4113225", "text": "private String m2600b() {\n int i = 0;\n String[] strArr = this.f1594e == null ? f1591b : this.f1594e;\n StringBuilder stringBuilder = new StringBuilder();\n int length = strArr.length;\n int i2 = 0;\n while (i < length) {\n String str = strArr[i];\n if (i2 > 0) {\n stringBuilder.append(CoreConstants.COMMA_CHAR);\n }\n stringBuilder.append(str);\n i2++;\n i++;\n }\n return stringBuilder.toString();\n }", "title": "" }, { "docid": "42ee2ac219d99b41a81df2a16aa5eefd", "score": "0.41087896", "text": "public interface C {\n interface BleCommand {\n /*\n * 2、绑定:3A 00 04 04 00 32 CRC8\n3、获取设备当前时间:3A 00 04 04 00 22 CRC8\n4、设置时间:3A 00 08 04 00 23 XX XX XX XX CRC8(XXXXXXXX为32位UTC北京时间)\n5、获取历史数据总包数:3A 00 04 04 00 30 CRC8\n6、获取历史数据第1包:3A 00 06 04 00 31 00 01 CRC8\n 获取历史数据第2包:3A 00 06 04 00 31 00 02 CRC8\n7、历史数据回复确认第1包: 帧序 + 结果(0=成功,1=失败)\n 3A 00 07 04 00 39 00 01 00 CRC8\n8、获取实时数据:3A 00 04 04 00 37 CRC8\n9、控制命令-水质检测:3A 00 06 04 00 40 03 FE CRC8\n10、控制命令-基线校正:3A 00 06 04 00 40 02 03 CRC8\n * */\n byte SIGN = 0x3a;//起始标志\n byte[] CERTIFICATION = {0x00, 0x04, 0x04, 0x00, 0x20};//认证确认\n byte[] BIND = {0x00, 0x04, 0x04, 0x00, 0x32};//绑定\n byte[] GET_CURRENT_TIME = {0x00, 0x04, 0x04, 0x00, 0x22};//获取设备当前时间\n byte[] SET_CURRENT_TIME = {0x00, 0x08, 0x04, 0x00, 0x23,};//设置时间\n byte[] GET_HISTORY_TOTAL = {0x00, 0x04, 0x04, 0x00, 0x30};//获取历史数据总包数\n byte[] GET_HISTORY_DATA1 = {0x00, 0x06, 0x04, 0x00, 0x31,0X00,0X01};//获取历史数据第1包\n byte[] GET_HISTORY_DATA2 = {0x00, 0x04, 0x04, 0x00, 0x31,0X00,0X02};//获取历史数据第2包\n byte[] WATER_QUALITY = {0x00, 0x06, 0x04, 0x00, 0x40,0X03,(byte)0xfe};//控制命令-水质检测\n byte[] GET_REAL_TIME = {0x00, 0x04, 0x04, 0x00, 0x20};//获取实时数据\n byte[] BASE_QUALITY = {0x00, 0x04, 0x04, 0x00, 0x20};//控制命令-基线校正\n }\n}", "title": "" }, { "docid": "ef35b3731b2283e67b992e18b0719993", "score": "0.41069812", "text": "public interface C0608ax {\n /* renamed from: a */\n void mo9147a(int i, int i2, ArrayList<C0884s> arrayList);\n}", "title": "" }, { "docid": "0397ce4bfb8835d2556ea4f584dbb319", "score": "0.4106922", "text": "private static int [] yy_unpack() {\n int [] trans = new int[21904];\n int offset = 0;\n offset = yy_unpack(yy_packed0, offset, trans);\n return trans;\n }", "title": "" }, { "docid": "cd55dcb2d64c2bd9e4daf5913a533267", "score": "0.41045606", "text": "@Override // com.zhihu.android.sugaradapter.SugarHolder\n /* renamed from: H_ */\n public void mo67119H_() {\n RxUtils.m87148a(this.f52186c);\n }", "title": "" }, { "docid": "8b545912896d0889875353c58f818933", "score": "0.410168", "text": "@Converted(kind = Converted.Kind.AUTO,\n source = \"${LLVM_SRC}/llvm/include/llvm/MC/MCRegisterInfo.h\", line = 198,\n old_source = \"${LLVM_SRC}/llvm/include/llvm/MC/MCRegisterInfo.h\", old_line = 197,\n FQN=\"llvm::MCRegisterInfo::DiffListIterator::DiffListIterator\", NM=\"_ZN4llvm14MCRegisterInfo16DiffListIteratorC1Ev\",\n cmd=\"jclank.sh -java-options=${SPUTNIK}/modules/org.llvm.adtsupport/llvmToClangType ${LLVM_SRC}/llvm/lib/MC/MCRegisterInfo.cpp -nm=_ZN4llvm14MCRegisterInfo16DiffListIteratorC1Ev\")\n //</editor-fold>\n protected DiffListIterator() {\n // : Val(0), List(null) \n //START JInit\n this.Val = $int2ushort(0);\n this.List = null;\n //END JInit\n }", "title": "" }, { "docid": "7e11b4d1f09c81888e42773c96607a25", "score": "0.41011932", "text": "private static char[] getBMPCharBuffer(com.android.org.bouncycastle.asn1.DefiniteLengthInputStream r1) throws java.io.IOException {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: com.android.org.bouncycastle.asn1.ASN1InputStream.getBMPCharBuffer(com.android.org.bouncycastle.asn1.DefiniteLengthInputStream):char[], dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.asn1.ASN1InputStream.getBMPCharBuffer(com.android.org.bouncycastle.asn1.DefiniteLengthInputStream):char[]\");\n }", "title": "" }, { "docid": "06c7edc0b5a32e3e296934e77d712b3c", "score": "0.40997666", "text": "public /* bridge */ /* synthetic */ java.lang.Object[] newArray(int r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: com.android.ims.ImsSuppServiceNotification.1.newArray(int):java.lang.Object[], dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.ims.ImsSuppServiceNotification.1.newArray(int):java.lang.Object[]\");\n }", "title": "" }, { "docid": "87d20aeca339ff02cd935a3de9a22186", "score": "0.4098614", "text": "@Converted(kind = Converted.Kind.AUTO,\n source = \"${LLVM_SRC}/llvm/include/llvm/MC/MCRegisterInfo.h\", line = 224,\n old_source = \"${LLVM_SRC}/llvm/include/llvm/MC/MCRegisterInfo.h\", old_line = 223,\n FQN=\"llvm::MCRegisterInfo::DiffListIterator::operator*\", NM=\"_ZNK4llvm14MCRegisterInfo16DiffListIteratordeEv\",\n cmd=\"jclank.sh -java-options=${SPUTNIK}/modules/org.llvm.adtsupport/llvmToClangType ${LLVM_SRC}/llvm/lib/MC/MCRegisterInfo.cpp -nm=_ZNK4llvm14MCRegisterInfo16DiffListIteratordeEv\")\n //</editor-fold>\n public /*uint*/int $star() /*const*/ {\n return $ushort2uint(Val);\n }", "title": "" }, { "docid": "94881bfdbfde469bd1367ed186b33863", "score": "0.40947166", "text": "public CArrayFacade<Byte> getLayername() throws IOException\n\t{\n\t\tClass<?>[] __dna__targetTypes = new Class[]{Byte.class};\n\t\tint[] __dna__dimensions = new int[]{\n\t\t\t64\n\t\t};\n\t\tif ((__io__pointersize == 8)) {\n\t\t\treturn new CArrayFacade<Byte>(__io__address + 176, __dna__targetTypes, __dna__dimensions, __io__block, __io__blockTable);\n\t\t} else {\n\t\t\treturn new CArrayFacade<Byte>(__io__address + 160, __dna__targetTypes, __dna__dimensions, __io__block, __io__blockTable);\n\t\t}\n\t}", "title": "" }, { "docid": "173571e6d8dc506fad02bf7aa95df61d", "score": "0.4090133", "text": "public void mo8009a(java.util.List<androidx.recyclerview.widget.C1674a.C1676b> r10, int r11, androidx.recyclerview.widget.C1674a.C1676b r12, int r13, androidx.recyclerview.widget.C1674a.C1676b r14) {\n /*\n r9 = this;\n int r0 = r12.f6446b\n int r1 = r12.f6448d\n r2 = 0\n r3 = 1\n if (r0 >= r1) goto L_0x0015\n int r4 = r14.f6446b\n if (r4 != r0) goto L_0x0013\n int r4 = r14.f6448d\n int r1 = r1 - r0\n if (r4 != r1) goto L_0x0013\n r0 = 0\n goto L_0x0021\n L_0x0013:\n r0 = 0\n goto L_0x0024\n L_0x0015:\n int r4 = r14.f6446b\n int r5 = r1 + 1\n if (r4 != r5) goto L_0x0023\n int r4 = r14.f6448d\n int r0 = r0 - r1\n if (r4 != r0) goto L_0x0023\n r0 = 1\n L_0x0021:\n r2 = 1\n goto L_0x0024\n L_0x0023:\n r0 = 1\n L_0x0024:\n int r1 = r12.f6448d\n int r4 = r14.f6446b\n r5 = 2\n if (r1 >= r4) goto L_0x002f\n int r4 = r4 - r3\n r14.f6446b = r4\n goto L_0x0048\n L_0x002f:\n int r6 = r14.f6448d\n int r4 = r4 + r6\n if (r1 >= r4) goto L_0x0048\n int r6 = r6 - r3\n r14.f6448d = r6\n r12.f6445a = r5\n r12.f6448d = r3\n int r11 = r14.f6448d\n if (r11 != 0) goto L_0x0047\n r10.remove(r13)\n androidx.recyclerview.widget.v$a r10 = r9.f6906a\n r10.mo7678a(r14)\n L_0x0047:\n return\n L_0x0048:\n int r1 = r12.f6446b\n int r4 = r14.f6446b\n r6 = 0\n if (r1 > r4) goto L_0x0053\n int r4 = r4 + r3\n r14.f6446b = r4\n goto L_0x0069\n L_0x0053:\n int r7 = r14.f6448d\n int r8 = r4 + r7\n if (r1 >= r8) goto L_0x0069\n int r4 = r4 + r7\n int r4 = r4 - r1\n androidx.recyclerview.widget.v$a r7 = r9.f6906a\n int r1 = r1 + r3\n androidx.recyclerview.widget.a$b r6 = r7.mo7675a(r5, r1, r4, r6)\n int r1 = r12.f6446b\n int r3 = r14.f6446b\n int r1 = r1 - r3\n r14.f6448d = r1\n L_0x0069:\n if (r2 == 0) goto L_0x0077\n r10.set(r11, r14)\n r10.remove(r13)\n androidx.recyclerview.widget.v$a r10 = r9.f6906a\n r10.mo7678a(r12)\n return\n L_0x0077:\n if (r0 == 0) goto L_0x00a8\n if (r6 == 0) goto L_0x0091\n int r0 = r12.f6446b\n int r1 = r6.f6446b\n if (r0 <= r1) goto L_0x0086\n int r1 = r6.f6448d\n int r0 = r0 - r1\n r12.f6446b = r0\n L_0x0086:\n int r0 = r12.f6448d\n int r1 = r6.f6446b\n if (r0 <= r1) goto L_0x0091\n int r1 = r6.f6448d\n int r0 = r0 - r1\n r12.f6448d = r0\n L_0x0091:\n int r0 = r12.f6446b\n int r1 = r14.f6446b\n if (r0 <= r1) goto L_0x009c\n int r1 = r14.f6448d\n int r0 = r0 - r1\n r12.f6446b = r0\n L_0x009c:\n int r0 = r12.f6448d\n int r1 = r14.f6446b\n if (r0 <= r1) goto L_0x00d6\n int r1 = r14.f6448d\n int r0 = r0 - r1\n r12.f6448d = r0\n goto L_0x00d6\n L_0x00a8:\n if (r6 == 0) goto L_0x00c0\n int r0 = r12.f6446b\n int r1 = r6.f6446b\n if (r0 < r1) goto L_0x00b5\n int r1 = r6.f6448d\n int r0 = r0 - r1\n r12.f6446b = r0\n L_0x00b5:\n int r0 = r12.f6448d\n int r1 = r6.f6446b\n if (r0 < r1) goto L_0x00c0\n int r1 = r6.f6448d\n int r0 = r0 - r1\n r12.f6448d = r0\n L_0x00c0:\n int r0 = r12.f6446b\n int r1 = r14.f6446b\n if (r0 < r1) goto L_0x00cb\n int r1 = r14.f6448d\n int r0 = r0 - r1\n r12.f6446b = r0\n L_0x00cb:\n int r0 = r12.f6448d\n int r1 = r14.f6446b\n if (r0 < r1) goto L_0x00d6\n int r1 = r14.f6448d\n int r0 = r0 - r1\n r12.f6448d = r0\n L_0x00d6:\n r10.set(r11, r14)\n int r14 = r12.f6446b\n int r0 = r12.f6448d\n if (r14 == r0) goto L_0x00e3\n r10.set(r13, r12)\n goto L_0x00e6\n L_0x00e3:\n r10.remove(r13)\n L_0x00e6:\n if (r6 == 0) goto L_0x00eb\n r10.add(r11, r6)\n L_0x00eb:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: androidx.recyclerview.widget.C1773v.mo8009a(java.util.List, int, androidx.recyclerview.widget.a$b, int, androidx.recyclerview.widget.a$b):void\");\n }", "title": "" }, { "docid": "b98270722995e115023cd8b036aceaed", "score": "0.4083604", "text": "public interface C30351Tm {\n void BT1(UnavailableProduct unavailableProduct, int i, int i2);\n\n void BT2(ProductFeedItem productFeedItem);\n}", "title": "" }, { "docid": "ef9f6c95325836ab69e2bc006a86e8c6", "score": "0.4083257", "text": "@Override\n protected void convert(BaseViewHolder helper, BaseBean item) {\n\n }", "title": "" }, { "docid": "7253e1410e7cdae405ffa9cb37dfbbf7", "score": "0.40786985", "text": "private void decode() {\n mod = queue[1] >>> 6 & 0b11;\n reg = queue[1] >>> 3 & 0b111;\n rm = queue[1] & 0b111;\n\n if (mod == 0b01)\n // 8-bit displacement follows\n ip += 2;\n else if (mod == 0b00 && rm == 0b110 || mod == 0b10)\n // 16-bit displacement follows\n ip += 3;\n else\n // No displacement\n ip += 1;\n }", "title": "" }, { "docid": "5d8bd97dda5655bd1b72be06a31a7ece", "score": "0.4071229", "text": "private final com.google.android.gms.internal.ads.zzavk m20486a() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/509891820.run(Unknown Source)\n*/\n /*\n r1 = this;\n r0 = r1.f16499a;\t Catch:{ IllegalStateException -> 0x0007, IllegalStateException -> 0x0007 }\n r0 = r0.m26377a();\t Catch:{ IllegalStateException -> 0x0007, IllegalStateException -> 0x0007 }\n return r0;\n L_0x0007:\n r0 = 0;\n return r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.ads.hn.a():com.google.android.gms.internal.ads.zzavk\");\n }", "title": "" }, { "docid": "8ba437f74a7b91afb7bfab004f2bec09", "score": "0.40674776", "text": "AnonymousClass1() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 0073 in method: com.android.ims.ImsSuppServiceNotification.1.<init>():void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.ims.ImsSuppServiceNotification.1.<init>():void\");\n }", "title": "" }, { "docid": "d0513e957f85c09fa9741ed1d292e685", "score": "0.40643755", "text": "void mo7082b(ba baVar, C4875d c4875d);", "title": "" }, { "docid": "5672756e276f0d3bf5a6c3ab29316da0", "score": "0.40626997", "text": "@Override\n public void onItemClick(AdapterView<?> arg0, View arg1, int arg2,\n long arg3) {\n try {\n if (bluetoothAdapter != null && bluetoothAdapter.isDiscovering()) {\n bluetoothAdapter.cancelDiscovery();\n }\n\n String msg = deviceList_bonded.get(arg2);\n mac = msg.substring(msg.length() - 17);\n\n // 存储mac,下次自动连接\n SharedPreferencesUtil.WriteSharedPreferences(SharedPreferenceConstants.ARCH_LINUX,\n SharedPreferenceConstants.LAST_BLUETOOTH_CONNECTION, mac);\n;\n dialog.cancel();\n showET.setText(mac);\n } catch (Exception e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "51d4a4d3089bfd4cc50a16c622d198ee", "score": "0.40619087", "text": "public abstract void mo830a(C0699c c0699c);", "title": "" }, { "docid": "59636be0bd95b265b3e636decdacd446", "score": "0.40474465", "text": "public void B_to_Address_of_Tx_in_A(AT_Machine_State paramAT_Machine_State)\r\n/* 627: */ {\r\n/* 628:662 */ this.platform.B_to_Address_of_Tx_in_A(paramAT_Machine_State);\r\n/* 629: */ }", "title": "" }, { "docid": "4611db8bc98e0dddfd1e975da0db4c57", "score": "0.40441734", "text": "public InvertedConverter(android.animation.BidirectionalTypeConverter<To, From> r1) {\n /*\n // Can't load method instructions: Load method exception: null in method: android.animation.BidirectionalTypeConverter.InvertedConverter.<init>(android.animation.BidirectionalTypeConverter):void, dex: in method: android.animation.BidirectionalTypeConverter.InvertedConverter.<init>(android.animation.BidirectionalTypeConverter):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.animation.BidirectionalTypeConverter.InvertedConverter.<init>(android.animation.BidirectionalTypeConverter):void\");\n }", "title": "" }, { "docid": "03a557356a93a3792ea692c68588f50a", "score": "0.40439114", "text": "public interface AdapterController {\n boolean setTxPower(int dbm);\n}", "title": "" }, { "docid": "c4541b54725f240d48e1595948624478", "score": "0.40393433", "text": "private static long m19536b(java.util.Map<java.lang.String, java.util.List<java.lang.String>> r2, java.lang.String r3) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/79094208.run(Unknown Source)\n*/\n /*\n r2 = r2.get(r3);\n r2 = (java.util.List) r2;\n if (r2 == 0) goto L_0x004e;\n L_0x0008:\n r0 = r2.isEmpty();\n if (r0 != 0) goto L_0x004e;\n L_0x000e:\n r0 = 0;\n r2 = r2.get(r0);\n r2 = (java.lang.String) r2;\n r0 = java.lang.Float.parseFloat(r2);\t Catch:{ NumberFormatException -> 0x001f }\n r2 = 1148846080; // 0x447a0000 float:1000.0 double:5.676053805E-315;\n r0 = r0 * r2;\n r2 = (long) r0;\n return r2;\n L_0x001f:\n r0 = java.lang.String.valueOf(r3);\n r0 = r0.length();\n r0 = r0 + 36;\n r1 = java.lang.String.valueOf(r2);\n r1 = r1.length();\n r0 = r0 + r1;\n r1 = new java.lang.StringBuilder;\n r1.<init>(r0);\n r0 = \"Could not parse float from \";\n r1.append(r0);\n r1.append(r3);\n r3 = \" header: \";\n r1.append(r3);\n r1.append(r2);\n r2 = r1.toString();\n com.google.android.gms.internal.hx.m19916e(r2);\n L_0x004e:\n r2 = -1;\n return r2;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.az.b(java.util.Map, java.lang.String):long\");\n }", "title": "" }, { "docid": "a5dfa4fcf8a12ec07f33d21edf94eba0", "score": "0.4038702", "text": "public abstract void mo1186b(C0524s sVar);", "title": "" }, { "docid": "c19ca10669616d4785edaf6ab46316f2", "score": "0.40358764", "text": "C9406b mo23189a();", "title": "" }, { "docid": "fbf6242e7b6a9921c4231d43398a3782", "score": "0.40287742", "text": "public /* synthetic */ void mo18282r(FeedbackType feedbackType, CharSequence charSequence) {\n C2348b bVar;\n try {\n mo17054i(new C2349c());\n mo18281p(feedbackType, charSequence);\n mo17054i(new C2350d());\n bVar = new C2348b();\n } catch (Exception e) {\n ErrorBundle cVar = new ErrorBundle(e);\n if (cVar.mo17116f()) {\n this.f15802j.mo18619i();\n }\n mo17054i(new C2347a(cVar));\n bVar = new C2348b();\n } catch (Throwable th) {\n mo17054i(new C2348b());\n throw th;\n }\n mo17054i(bVar);\n }", "title": "" }, { "docid": "88bbc5531e719a312899da5a2ce2cc93", "score": "0.40273634", "text": "@Data(size=4, value=\"0002\")\n IString x2ViaCaderneta() ;", "title": "" }, { "docid": "660b0ec790b25d2b78147b90607ac435", "score": "0.40129656", "text": "void parseDataFromCan(byte[] data);", "title": "" }, { "docid": "8a3426fdd4b85eaaecbe156b279e41d8", "score": "0.40030086", "text": "public interface C3687i {\n /* renamed from: b */\n String mo13175b();\n}", "title": "" }, { "docid": "1edfd19457e77f8469601cb65d020e75", "score": "0.40025535", "text": "public abstract void mo1611d();", "title": "" }, { "docid": "bb29db867c210605b28eda123f24f873", "score": "0.40015012", "text": "protected String xCB() { return ImmuMemberAddressCB.class.getName(); }", "title": "" }, { "docid": "452f0123387799f82347cad8ca621e83", "score": "0.39977887", "text": "public interface C0821w {\n /* renamed from: a */\n void mo3729a(C0794d0 d0Var);\n }", "title": "" }, { "docid": "ebae4daaefc974f5dd3265e30cbb1bfd", "score": "0.3995315", "text": "static com.bytedance.usergrowth.data.deviceinfo.DeviceInfo.BluetoothInfo a(android.content.Context r6, android.bluetooth.BluetoothAdapter r7) {\n /*\n java.lang.Class<android.bluetooth.BluetoothAdapter> r0 = android.bluetooth.BluetoothAdapter.class\n r7.getName()\n java.lang.String r1 = r7.getAddress()\n boolean r2 = a((java.lang.String) r1)\n if (r2 != 0) goto L_0x0050\n java.lang.String r2 = \"mService\"\n java.lang.reflect.Field r0 = r0.getDeclaredField(r2) // Catch:{ Exception -> 0x003d }\n r2 = 1\n r0.setAccessible(r2) // Catch:{ Exception -> 0x003d }\n java.lang.Object r0 = r0.get(r7) // Catch:{ Exception -> 0x003d }\n if (r0 == 0) goto L_0x003b\n java.lang.Class r2 = r0.getClass() // Catch:{ Exception -> 0x003d }\n java.lang.String r3 = \"getAddress\"\n r4 = 0\n java.lang.Class[] r5 = new java.lang.Class[r4] // Catch:{ Exception -> 0x003d }\n java.lang.reflect.Method r2 = r2.getMethod(r3, r5) // Catch:{ Exception -> 0x003d }\n if (r2 == 0) goto L_0x003b\n java.lang.Object[] r3 = new java.lang.Object[r4] // Catch:{ Exception -> 0x003d }\n java.lang.Object r0 = r2.invoke(r0, r3) // Catch:{ Exception -> 0x003d }\n if (r0 == 0) goto L_0x003b\n java.lang.String r0 = r0.toString() // Catch:{ Exception -> 0x003d }\n goto L_0x003c\n L_0x003b:\n r0 = r1\n L_0x003c:\n r1 = r0\n L_0x003d:\n boolean r0 = a((java.lang.String) r1)\n if (r0 != 0) goto L_0x0050\n android.content.ContentResolver r6 = r6.getContentResolver() // Catch:{ Throwable -> 0x004f }\n java.lang.String r0 = \"bluetooth_address\"\n java.lang.String r6 = android.provider.Settings.Secure.getString(r6, r0) // Catch:{ Throwable -> 0x004f }\n r1 = r6\n goto L_0x0050\n L_0x004f:\n L_0x0050:\n boolean r6 = a((java.lang.String) r1)\n if (r6 == 0) goto L_0x006b\n com.bytedance.usergrowth.data.deviceinfo.DeviceInfo$BluetoothInfo$Builder r6 = com.bytedance.usergrowth.data.deviceinfo.DeviceInfo.BluetoothInfo.newBuilder()\n java.lang.String r7 = r7.getName()\n com.bytedance.usergrowth.data.deviceinfo.DeviceInfo$BluetoothInfo$Builder r6 = r6.setName(r7)\n com.bytedance.usergrowth.data.deviceinfo.DeviceInfo$BluetoothInfo$Builder r6 = r6.setMacid(r1)\n com.bytedance.usergrowth.data.deviceinfo.DeviceInfo$BluetoothInfo r6 = r6.build()\n return r6\n L_0x006b:\n r6 = 0\n return r6\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.bytedance.usergrowth.data.deviceinfo.b.a(android.content.Context, android.bluetooth.BluetoothAdapter):com.bytedance.usergrowth.data.deviceinfo.DeviceInfo$BluetoothInfo\");\n }", "title": "" }, { "docid": "3170f847161be0d0e34846904959dc51", "score": "0.39931038", "text": "public abstract void mo1185a(C0524s sVar);", "title": "" }, { "docid": "8a17be4ce46863aa5470a8e01cec845b", "score": "0.39888763", "text": "public interface C0816s {\n /* renamed from: a */\n void mo4780a(RecyclerView recyclerView, MotionEvent motionEvent);\n\n /* renamed from: a */\n void mo4781a(boolean z);\n\n /* renamed from: b */\n boolean mo4782b(RecyclerView recyclerView, MotionEvent motionEvent);\n }", "title": "" }, { "docid": "013de4c44d4ad10a68be2f2ceb5956c4", "score": "0.39864162", "text": "public interface C1697F {\n}", "title": "" }, { "docid": "2c75ab70ebaf1aa85b38b8121c0352e7", "score": "0.39827296", "text": "void mo12542a(C1683tr trVar);", "title": "" }, { "docid": "f3083fccd2af041eface3c9aed749762", "score": "0.39775532", "text": "@Converted(kind = Converted.Kind.AUTO,\n source = \"${LLVM_SRC}/llvm/include/llvm/MC/MCRegisterInfo.h\", line = 319,\n old_source = \"${LLVM_SRC}/llvm/include/llvm/MC/MCRegisterInfo.h\", old_line = 314,\n FQN=\"llvm::MCRegisterInfo::getRARegister\", NM=\"_ZNK4llvm14MCRegisterInfo13getRARegisterEv\",\n cmd=\"jclank.sh -java-options=${SPUTNIK}/modules/org.llvm.adtsupport/llvmToClangType ${LLVM_SRC}/llvm/lib/MC/MCRegisterInfo.cpp -nm=_ZNK4llvm14MCRegisterInfo13getRARegisterEv\")\n //</editor-fold>\n public /*uint*/int getRARegister() /*const*/ {\n return RAReg;\n }", "title": "" }, { "docid": "68148db06c9233b2abe2dab5c507b15e", "score": "0.39772207", "text": "public interface C19349a {\n /* renamed from: c */\n void mo34513c(int i, String str, byte[] bArr);\n }", "title": "" }, { "docid": "0801fc92f8835a0ef1d1299e7ad23021", "score": "0.39714453", "text": "public interface C29555d {\n /* renamed from: a */\n void mo68109a();\n }", "title": "" }, { "docid": "f6b549bf667da8873d77ca01cbb79254", "score": "0.39707246", "text": "public TransmitterPdu(edu.nps.moves.jaxb.dis.TransmitterPdu x)\n {\n super(x); // Call superclass constructor\n\n\n edu.nps.moves.dis.RadioEntityType foo_0;\n if(x.getRadioEntityType() == null)\n foo_0 = new edu.nps.moves.dis.RadioEntityType();\n else\n foo_0 = new edu.nps.moves.dis.RadioEntityType(x.getRadioEntityType() );\n this.setRadioEntityType(foo_0);\n\n this.transmitState = x.getTransmitState();\n this.inputSource = x.getInputSource();\n this.padding1 = x.getPadding1();\n\n edu.nps.moves.dis.Vector3Double foo_4;\n if(x.getAntennaLocation() == null)\n foo_4 = new edu.nps.moves.dis.Vector3Double();\n else\n foo_4 = new edu.nps.moves.dis.Vector3Double(x.getAntennaLocation() );\n this.setAntennaLocation(foo_4);\n\n\n edu.nps.moves.dis.Vector3Double foo_5;\n if(x.getRelativeAntennaLocation() == null)\n foo_5 = new edu.nps.moves.dis.Vector3Double();\n else\n foo_5 = new edu.nps.moves.dis.Vector3Double(x.getRelativeAntennaLocation() );\n this.setRelativeAntennaLocation(foo_5);\n\n this.antennaPatternType = x.getAntennaPatternType();\n this.antennaPatternCount = x.getAntennaPatternCount();\n this.frequency = x.getFrequency();\n this.transmitFrequencyBandwidth = x.getTransmitFrequencyBandwidth();\n this.power = x.getPower();\n\n edu.nps.moves.dis.ModulationType foo_11;\n if(x.getModulationType() == null)\n foo_11 = new edu.nps.moves.dis.ModulationType();\n else\n foo_11 = new edu.nps.moves.dis.ModulationType(x.getModulationType() );\n this.setModulationType(foo_11);\n\n this.cryptoSystem = x.getCryptoSystem();\n this.cryptoKeyId = x.getCryptoKeyId();\n this.modulationParameterCount = x.getModulationParameterCount();\n this.padding2 = x.getPadding2();\n this.padding3 = x.getPadding3();\n this.modulationParametersList = new ArrayList();\n for(int idx = 0; idx < x.getModulationParametersList().size(); idx++)\n {\n this.modulationParametersList.add( new edu.nps.moves.dis.Vector3Float((edu.nps.moves.jaxb.dis.Vector3Float) x.getModulationParametersList().get(idx)));\n }\n this.antennaPatternList = new ArrayList();\n for(int idx = 0; idx < x.getAntennaPatternList().size(); idx++)\n {\n this.antennaPatternList.add( new edu.nps.moves.dis.Vector3Float((edu.nps.moves.jaxb.dis.Vector3Float) x.getAntennaPatternList().get(idx)));\n }\n }", "title": "" }, { "docid": "30e920f8fc13f62a7d362b3f192a5892", "score": "0.3970401", "text": "public DriversAdapter(DriverAuthority authority, List<Driver> drivers, DriverManageActivity activity, String fleetId) {\r\n myauthority=authority;\r\n this.drivers = drivers;\r\n this.mActivity = activity;\r\n this.fleetId=fleetId;\r\n }", "title": "" }, { "docid": "058c91eef551c9b59fa2acdec33a95cd", "score": "0.39702925", "text": "public void setupPorts() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: android.filterpacks.ui.SurfaceTargetFilter.setupPorts():void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.filterpacks.ui.SurfaceTargetFilter.setupPorts():void\");\n }", "title": "" }, { "docid": "d8ad2cf5e0be26d7f381a4243fa9f821", "score": "0.39642677", "text": "public abstract void unpackMAVMessage(msg_mission_item mavMsg);", "title": "" }, { "docid": "b42d65ab1e09f765664f9075d9ccc597", "score": "0.39627573", "text": "public final void mo12685a(C0719a aVar, zzwb zzwb, String str, C1718uz uzVar, String str2) {\n Bundle bundle;\n C1461ll llVar;\n Date date;\n zzwb zzwb2 = zzwb;\n if (!(this.f5673a instanceof MediationRewardedVideoAdAdapter)) {\n String valueOf = String.valueOf(this.f5673a.getClass().getCanonicalName());\n aai.m1630e(valueOf.length() != 0 ? \"Not a MediationRewardedVideoAdAdapter: \".concat(valueOf) : new String(\"Not a MediationRewardedVideoAdAdapter: \"));\n throw new RemoteException();\n }\n aai.m1624b(\"Initialize rewarded video adapter.\");\n try {\n MediationRewardedVideoAdAdapter mediationRewardedVideoAdAdapter = (MediationRewardedVideoAdAdapter) this.f5673a;\n Bundle a = m7456a(str2, zzwb2, (String) null);\n if (zzwb2 != null) {\n HashSet hashSet = zzwb2.f7275e != null ? new HashSet(zzwb2.f7275e) : null;\n if (zzwb2.f7272b == -1) {\n date = null;\n } else {\n date = new Date(zzwb2.f7272b);\n }\n C1461ll llVar2 = new C1461ll(date, zzwb2.f7274d, hashSet, zzwb2.f7281k, m7457a(zzwb), zzwb2.f7277g, zzwb2.f7288r);\n bundle = zzwb2.f7283m != null ? zzwb2.f7283m.getBundle(mediationRewardedVideoAdAdapter.getClass().getName()) : null;\n llVar = llVar2;\n } else {\n llVar = null;\n bundle = null;\n }\n mediationRewardedVideoAdAdapter.initialize((Context) C0722b.m770a(aVar), llVar, str, new C1723vd(uzVar), a, bundle);\n } catch (Throwable th) {\n aai.m1625b(\"\", th);\n throw new RemoteException();\n }\n }", "title": "" }, { "docid": "3393a72024427ded6572c1cca10ea20d", "score": "0.3958035", "text": "void mo4676a(C0794d0 d0Var);", "title": "" }, { "docid": "389bfd517a69575c99cf5b1da5664a84", "score": "0.3955476", "text": "public interface C24447a {\n}", "title": "" }, { "docid": "f4b0b1056753793fae209a5a15399814", "score": "0.3952979", "text": "public void decodeSerialData(SeriableData seriableData) {\n super.decodeSerialData(seriableData);\n this.f12119z = (String) this.f12113t.get(\"fromaccount\");\n this.f12112S = mo42880a(this.f12113t);\n this.f12117x = this.f12113t.containsKey(\"timesmart\") ? Long.parseLong((String) this.f12113t.get(\"timesmart\")) : 0;\n }", "title": "" }, { "docid": "b08a4e0f6fc4aebdd180ee77bfa6f2d0", "score": "0.39528105", "text": "public EnumAction getItemUseAction(ItemStack stack) {\n/* 52 */ return EnumAction.DRINK;\n/* */ }", "title": "" }, { "docid": "096bcc22f301585d5365bfb77df4b638", "score": "0.39512187", "text": "public /* bridge */ /* synthetic */ java.lang.Object[] newArray(int r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: android.widget.DatePicker.AbstractDatePickerDelegate.SavedState.1.newArray(int):java.lang.Object[], dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.widget.DatePicker.AbstractDatePickerDelegate.SavedState.1.newArray(int):java.lang.Object[]\");\n }", "title": "" }, { "docid": "dd985fcbd6ad9a0089ed6797bc3359d6", "score": "0.3950967", "text": "private static int [] yy_unpack() {\r\n int [] trans = new int[3055];\r\n int offset = 0;\r\n offset = yy_unpack(yy_packed0, offset, trans);\r\n return trans;\r\n }", "title": "" }, { "docid": "1c2e727023b713672cd768d78bb97f22", "score": "0.39493302", "text": "public abstract void mo1602a(CharSequence charSequence);", "title": "" } ]
68d381fc81363194dda16c480d562be9
/ JADX INFO: super call moved to the top of the method (can break code semantics)
[ { "docid": "21c75216281a070fd41b3d2c2280983a", "score": "0.0", "text": "C13832h(EBookReadingContentView eBookReadingContentView) {\n super(0);\n this.f50581a = eBookReadingContentView;\n }", "title": "" } ]
[ { "docid": "663ac6f718361fb243bf093a1c7ded6a", "score": "0.7294658", "text": "@Override\r\n\tprotected void Goukakyuu() {\n\t\t\r\n\t}", "title": "" }, { "docid": "f4c123120287d8d1840417671f69886b", "score": "0.7171559", "text": "@Override\n public void mystop() {\n super.mystop();\n }", "title": "" }, { "docid": "a4e0f91a4d31d1e082ad323e3764fbd3", "score": "0.7119613", "text": "public void method_1449() {\r\n super.method_1449();\r\n }", "title": "" }, { "docid": "62a79d2c07043cc88dd8f99ace3e905b", "score": "0.70061016", "text": "public void method_6191() {\r\n super.method_6191();\r\n }", "title": "" }, { "docid": "72965061656f6e9004101dfecbf046a4", "score": "0.6962276", "text": "@Override\n\tprotected void thinkSit()\n\t{\n\t}", "title": "" }, { "docid": "73b8b8eec1e17eae8b8035336277ea1b", "score": "0.67011225", "text": "@Override\n\tpublic void sub() {\n\t\t\n\t}", "title": "" }, { "docid": "7679fd1b623986eeedb64db808e99029", "score": "0.66802245", "text": "@Override\n\t\t\tpublic void fahre() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "8ac2c16a1254157c46ed1cdb437fe4f0", "score": "0.6648479", "text": "@Override\r\n\t\tpublic void ustSoyut2() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "6f54f7a3bb15a70335df552a11e4d44b", "score": "0.66299707", "text": "public void method_1871() {\n super.b();\n class_353.method_2299(this, true);\n }", "title": "" }, { "docid": "d65d6c17fb978c0d576ada2c03cd49fe", "score": "0.66030854", "text": "@Override\n\tpublic void apagar() {\n\t\t\n\t}", "title": "" }, { "docid": "e4df231b969c4dae6abce52fd643ee5b", "score": "0.65820765", "text": "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "title": "" }, { "docid": "cfdf25944086a38f063107aad70f2f0b", "score": "0.6578581", "text": "@Override\r\n\tprotected void visit() {\n\t}", "title": "" }, { "docid": "646377f9a04958a6eeea1118fddba04e", "score": "0.65575594", "text": "@Override\n\tpublic void refuel() {\n\n\t}", "title": "" }, { "docid": "67e1a422c8d1e74f6601c8a6d1aaa237", "score": "0.6534421", "text": "@Override\n\tpublic void apagar() {\n\n\t}", "title": "" }, { "docid": "19006c0661c5e3b653400b5da2beb934", "score": "0.65039754", "text": "@Override\n\tpublic void pintar() {\n\t\t\n\t}", "title": "" }, { "docid": "19006c0661c5e3b653400b5da2beb934", "score": "0.65039754", "text": "@Override\n\tpublic void pintar() {\n\t\t\n\t}", "title": "" }, { "docid": "5602bebd0acaf2caa678957a2c24842b", "score": "0.64794564", "text": "@Override\r\n\tpublic void overAll() {\n\r\n\t}", "title": "" }, { "docid": "147f401f75fb9fdcc1e9caa8694a1cb5", "score": "0.64725584", "text": "public void method_2917() {\r\n super.method_2917();\r\n this.method_2974(class_872.field_4248);\r\n }", "title": "" }, { "docid": "0e87d402221278c3889063822e567959", "score": "0.6467275", "text": "protected void sift() {\n\t\t\r\n\t}", "title": "" }, { "docid": "4c743a5e5106c55466224d75f817448a", "score": "0.64578485", "text": "@Override\r\n\t\tpublic void ustSoyut() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "58e2b16b4b295425d6096ce62965949a", "score": "0.6426963", "text": "@Override\r\n\tpublic void meth4() {\n\t\t\r\n\t}", "title": "" }, { "docid": "428377dd8e49bc1cf5ac0e5d064029b3", "score": "0.64027", "text": "@Override\r\n\tpublic void preco() {\n\r\n\t}", "title": "" }, { "docid": "e4bcbd7f779e758e9d844f404df8dd5a", "score": "0.63798964", "text": "@Override\n\tpublic void bMethod() {\n\t\tsuper.bMethod();\n\t}", "title": "" }, { "docid": "7cab690f23f5211e7bdff220d895a6e7", "score": "0.6374574", "text": "@Override\n\tpublic void beCagey() {\n\n\t}", "title": "" }, { "docid": "c9f9516b20e23b3a2043b953c33ea386", "score": "0.63540524", "text": "@Override\r\n\tpublic void extend() {\n\r\n\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.6353998", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.6353998", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.6353998", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1c143d94a2852990351338ba13e5399d", "score": "0.6353495", "text": "@Override\n\t\t\tvoid mothed() {\n\t\t\t}", "title": "" }, { "docid": "98bb78179e60df916b70e1455bbc2dcb", "score": "0.63201874", "text": "@Override\r\n\tpublic void nameSuper() {\n\r\n\t}", "title": "" }, { "docid": "cce15f647f795017e06f2ca544477ccd", "score": "0.63171816", "text": "@Override\n\tpublic void chamCong() {\n\n\t}", "title": "" }, { "docid": "bf7908552d7d4865738ba1e598f90c33", "score": "0.62998956", "text": "public CommonMethods() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "74b0c757bbbac5dfbcbb27d48f41af3d", "score": "0.6294175", "text": "@Override\n\tpublic void dosomething2() {\n\t\t\n\t}", "title": "" }, { "docid": "5f8d37aee09bc1e9959f768d6eb0183c", "score": "0.6286816", "text": "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "title": "" }, { "docid": "339be42fd8affd1784ab12fcd28ada77", "score": "0.6263299", "text": "@Override\r\n\tpublic void t() {\n\t\t\r\n\t}", "title": "" }, { "docid": "90a583a9686287e3374351dca59e3033", "score": "0.6260047", "text": "@Override\r\n\tpublic void abrir() {\n\r\n\t}", "title": "" }, { "docid": "e41e83e59c632c7e6180786a0238f944", "score": "0.6257165", "text": "@Override\r\n\tpublic void cry() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1010f244e972c0ea26ed77a119296c6c", "score": "0.6256229", "text": "@Override\r\n\tprotected void Mokuton() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9f87d79403053738216a01cc33c1e14b", "score": "0.6247416", "text": "public void baseMethod() { // +1 for public method\n }", "title": "" }, { "docid": "0dfd369ec96c5f12793fd7079a70c179", "score": "0.6243281", "text": "protected Baseline() {\n\t}", "title": "" }, { "docid": "06012d51723afddd7b9003b92d7d49c3", "score": "0.6243087", "text": "protected void mo1734a() {\n }", "title": "" }, { "docid": "9043a67502793c2d936264c3ade8b78d", "score": "0.62383944", "text": "@Override // com.igexin.p012b.p013a.p020d.AbstractC0470d\n /* renamed from: e */\n public void mo4127e() {\n }", "title": "" }, { "docid": "706722a65afe51ea925901f584f25118", "score": "0.62275213", "text": "@Override\n\tpublic void morir() {\n\t}", "title": "" }, { "docid": "e0484a0369823567b49e79228c2162ea", "score": "0.6219781", "text": "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "title": "" }, { "docid": "66bd8227ce4eefca2b9946eb200488b7", "score": "0.62115574", "text": "@Override\n\tpublic void haha() {\n\t\t\n\t}", "title": "" }, { "docid": "3c8c67de65381426da2b54d3a2637227", "score": "0.61963034", "text": "@Override\r\n\tpublic void coding() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d73a99f16445ecd21f06a944c5b2e8a8", "score": "0.61766446", "text": "@Override\n \tprotected void checkSubclass()\n \t{\n \t}", "title": "" }, { "docid": "83f031da18d921ad3ef5be7023fb3700", "score": "0.61399084", "text": "@Override\n\tpublic Throwable fillInStackTrace()\n\t{\n\t\t// don't do anything here\n\t\treturn null;\n\t}", "title": "" }, { "docid": "a6f30265b22f810fdcc712e54cb1e81c", "score": "0.6133547", "text": "@Override\n\tpublic void byby() {\n\t\t\n\t}", "title": "" }, { "docid": "50bb836596568321e3f3e8be8eba509d", "score": "0.612775", "text": "@Override\n\tpublic void method() {\n\n\t}", "title": "" }, { "docid": "3dff814bebf99043f112e6f370bfede8", "score": "0.61220676", "text": "public void good_exists_explicit_this() {}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.61211354", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.61211354", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "4c274ac94fe1d75ae32c027c7a0428fa", "score": "0.6114006", "text": "public void method_2696() {\r\n super.method_2427(awt.field_4202);\r\n this.method_2521(class_872.field_4245);\r\n }", "title": "" }, { "docid": "9e8299e02e2afca4b347ab5022949b84", "score": "0.61138135", "text": "@Override\n public void rest() {\n \n }", "title": "" }, { "docid": "b1cf16017c8057c0255a9ad368ecaee5", "score": "0.61123484", "text": "@Override\r\n\tprotected void init() {\n\r\n\t}", "title": "" }, { "docid": "9a618b27fbeac32212f9b2e740d96efb", "score": "0.60949945", "text": "@Override\r\n\tpublic void 계산하다() {\n\r\n\t}", "title": "" }, { "docid": "7f91c82c66ced12c5b193d3c89d68e4c", "score": "0.6087727", "text": "@Override\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "a6c2db17f79f35f8fc3b8e99eee9ab48", "score": "0.6077781", "text": "@Override\r\n\tprotected void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "30e53441c61b24f0bf3db0078c3dfe4a", "score": "0.6069813", "text": "@Override\n\tprotected void thinkStand()\n\t{\n\t}", "title": "" }, { "docid": "8dd38e597b1cd6033abe2f7900fc0b64", "score": "0.6064955", "text": "@Override\n\tpublic void seReproduire() {\n\n\t}", "title": "" }, { "docid": "3506ab14ce949de253ef0b670ff3647b", "score": "0.6063584", "text": "@Override\r\n\tpublic void myAbsMeth() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9598b542f7bc2e61cf1dddaa5b5ef835", "score": "0.6063366", "text": "@Override\n\tpublic void parar() {\n\t\t\n\t}", "title": "" }, { "docid": "ec8745d1f613de3522e52b19973434de", "score": "0.6060686", "text": "@Override\n protected void initialize()\n {\n\n }", "title": "" }, { "docid": "ebab4b01accaed8f4bd6997d2ad1baaa", "score": "0.6055371", "text": "protected int d()\r\n/* 49: */ {\r\n/* 50:51 */ return super.d() + 32;\r\n/* 51: */ }", "title": "" }, { "docid": "89268f855136b7b824970a718387b435", "score": "0.6050083", "text": "@Override\n\tpublic void commonMethod() {\n\t\tFunctionality2.super.commonMethod();\n\t}", "title": "" }, { "docid": "c8ceec30e6f3ebd2fb8cab39b477d3f3", "score": "0.60490036", "text": "private static void sapxep() {\n\t\t\n\t}", "title": "" }, { "docid": "f0f01be70b130aec34159623da446404", "score": "0.60455525", "text": "@Override\n\tprotected void thinkUseItem()\n\t{\n\t}", "title": "" }, { "docid": "31e2031a1ffa757cecba392d0c9b3b2d", "score": "0.6043509", "text": "protected int b(ahd paramahd)\r\n/* 128: */ {\r\n/* 129:147 */ if (cj()) {\r\n/* 130:148 */ return 10;\r\n/* 131: */ }\r\n/* 132:150 */ return super.b(paramahd);\r\n/* 133: */ }", "title": "" }, { "docid": "52370c15dc331107c7937647e4c8a3ac", "score": "0.6042247", "text": "public final /* bridge */ /* synthetic */ void mo4395d() {\n super.mo4395d();\n }", "title": "" }, { "docid": "52370c15dc331107c7937647e4c8a3ac", "score": "0.6042247", "text": "public final /* bridge */ /* synthetic */ void mo4395d() {\n super.mo4395d();\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.60331845", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.60331845", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.60331845", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.60331845", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.60331845", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.60331845", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.60331845", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "712966778e94b206218092a51b836bb7", "score": "0.60329276", "text": "@Override\n\tpublic void tata() {\n\t\t\n\t}", "title": "" }, { "docid": "d04504187907e1d84ed24fc616f45486", "score": "0.60319877", "text": "@Override\r\n\tpublic void inteface() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.60256696", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "45f92f2274d7e2288efeadc40ab00ea0", "score": "0.60053205", "text": "@Override\r\n\t\t\t\tpublic void insertBefore(MethodVisitor mv) {\n\t\t\t\t\t\r\n\t\t\t\t}", "title": "" }, { "docid": "45f92f2274d7e2288efeadc40ab00ea0", "score": "0.60053205", "text": "@Override\r\n\t\t\t\tpublic void insertBefore(MethodVisitor mv) {\n\t\t\t\t\t\r\n\t\t\t\t}", "title": "" }, { "docid": "7d9c008aa05d9866862c128f1ffa1575", "score": "0.60048276", "text": "@Override\r\n public Void visitSuperExpression(IRNode node) {\n visitThisExpression(node);\r\n return null;\r\n }", "title": "" }, { "docid": "c94371fd42477c5da18908db8483f183", "score": "0.5999913", "text": "@Override\n\tpublic void dummy() {\n\n\t}", "title": "" }, { "docid": "1b8556b17adf75618c81ff834decb78b", "score": "0.59960836", "text": "@Override\n\tpublic void call() {\n\t\t\n\t}", "title": "" }, { "docid": "011174700bb7f7659f04c634fa0372f8", "score": "0.59922993", "text": "@Override\n\tpublic void arrancar() {\n\t\t\n\t}", "title": "" }, { "docid": "682488f1ec96e4b0b9d633c2418bef69", "score": "0.59905756", "text": "private void old() {\n }", "title": "" }, { "docid": "1dadc4f4b2753641fd8c0d1a11c96778", "score": "0.59877664", "text": "protected boolean method_4225() {\r\n return true;\r\n }", "title": "" }, { "docid": "15568346f60c78b5a5c404fbb6d1e685", "score": "0.59811604", "text": "@Override\n\tvoid affiche() {\n\t\t\n\t}", "title": "" }, { "docid": "da0c4ac2bb0ebbc548180f9ebaee4c39", "score": "0.5978903", "text": "@Override\n\tpublic void b() {\n\t\t\n\t}", "title": "" }, { "docid": "1f21a5bd16dc0c824730666cd7951957", "score": "0.59677607", "text": "@Override\n\tpublic void frenar() {\n\t\t\n\t}", "title": "" }, { "docid": "fb842ef1f250aaba4286c185df305a9b", "score": "0.5966249", "text": "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "title": "" }, { "docid": "fe16626444a6279379e0f9633775ecc4", "score": "0.59615105", "text": "@Override\r\n\tpublic void 撞钟() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c54f39382e533564805d185d139ed600", "score": "0.5960837", "text": "@Override\n\tpublic void arrancar() {\n\n\t}", "title": "" }, { "docid": "f4ca830df78056f8761d4a323482ed19", "score": "0.5956409", "text": "@Override\n\tpublic void dibujar() {\n\n\t}", "title": "" }, { "docid": "ece79db0528a0884e395bd47c5d8723c", "score": "0.595327", "text": "@Override\r\n protected void initialize() {\r\n\r\n }", "title": "" }, { "docid": "72ad6dec366a78c86619bace140b68d2", "score": "0.5952723", "text": "@Override\n\tpublic void absMethod() {\n\t\t\n\t}", "title": "" }, { "docid": "eda73c79e75a46b862b2fbe3c0b0ca3f", "score": "0.594502", "text": "public final void mo90853y() {\n }", "title": "" }, { "docid": "a71f185dfaf7230b8e77ee6f6a04d21b", "score": "0.5942054", "text": "@Override\n\tvoid rr() {\n\t\t\n\t}", "title": "" }, { "docid": "04d0aeb098081b73e97a99da1b060497", "score": "0.59395355", "text": "@Override\n protected void initialize() {\n }", "title": "" } ]
d114f1a7764c634dfe03c3aea303623b
The DAO associated with the User_Characters_Table add a new row to the table
[ { "docid": "2fc1246e1840aa4bd0d87f3e0a3c8ada", "score": "0.6881638", "text": "@Insert(onConflict = OnConflictStrategy.IGNORE)\n void insert(User_Characters userCharacters);", "title": "" } ]
[ { "docid": "0da67ca50c789b9536f395e486b42d64", "score": "0.68453765", "text": "public void addNewCharacter() {\n addCharacter(CharacterIFactory.makeChar(), true);\n //addTransaction(at);\n }", "title": "" }, { "docid": "921b0b8049fabdcef79eccaaf6669994", "score": "0.6271172", "text": "public void insertCharacterTemp(Character newCharacter){\n ContentValues values = new ContentValues();\n values.put(DBOpenHelper.CHARACTER_ID, newCharacter.getId());\n values.put(DBOpenHelper.CHARACTER_NAME, newCharacter.getName());\n values.put(DBOpenHelper.CATEGORY_ID, newCharacter.getCategory().getId());\n values.put(DBOpenHelper.LAND_ID, newCharacter.getLand().getId());\n values.put(DBOpenHelper.CHARACTER_HP, newCharacter.getHp());\n values.put(DBOpenHelper.CHARACTER_CHAKRA, newCharacter.getChakra());\n values.put(DBOpenHelper.CHARACTER_BASE_ABILITY, newCharacter.getBaseAbility());\n mDatabase.insert(DBOpenHelper.TABLE_CHARACTER, null, values);\n return ;\n }", "title": "" }, { "docid": "f6ee7992a61c1d68286a5bdb13d47b41", "score": "0.62662965", "text": "private void create() throws SQLException {\n\t\tStatement st = connection.createStatement();\n\t\tString name = nameField.getText();\n\t\tString sql = String.format(\"INSERT INTO Person.UserInfo (name) VALUES ('%s');\", name);\n\t\tst.executeUpdate(sql);\n\t\t\n\t\t// Step 2: Get the info_id from that record\n\t\tsql = \"SELECT SCOPE_IDENTITY();\";\n\t\tResultSet rs = st.executeQuery(sql);\n\t\trs.next();\n\t\tString infoID = rs.getString(1);\n\n\t\t// Step 3: Add the new user record\n\t\tString id = idField.getText();\n\t\tString dep = depField.getText();\n\t\tsql = String.format(\"INSERT INTO %s (info_id, %s, department_id) VALUES ('%s', '%s', '%s');\", userTableName, userIDLabel, infoID, id, dep);\n\t\tst.executeUpdate(sql);\n\t\t\n\t\tJOptionPane.showMessageDialog(null, entityName + \" created successfully!\");\n\t\tlistener.infoChanged();\n\t}", "title": "" }, { "docid": "d5a7c0b983e4acfb56f148ace6ba630d", "score": "0.62368655", "text": "@Override\r\n\tpublic void insertar() {\n\t\ttab_clase_viaje.insertar();\r\n\t\t\r\n\t}", "title": "" }, { "docid": "c70e99b0e4a8dd590ca4ea2528b58eb7", "score": "0.61526597", "text": "private void addCharacter(CharacterI c, boolean recordTrans) {\n AddTransaction at = new AddTransaction(c, this.characterListManager);\n at.editModel();\n if (recordTrans) addTransaction(at);\n fireChangeEvent(new CharChangeEvent(this,at)); // this???\n }", "title": "" }, { "docid": "5af70e373fd505499a368abad312512d", "score": "0.6135679", "text": "@UpdateCharset\r\n @Override\r\n public int insert(User record) {\n return userMapper.insert(record);\r\n }", "title": "" }, { "docid": "67af2fa1b6b0838b962329c44ec688ba", "score": "0.61272097", "text": "public void newCustomer() {\n\t\tDatabase db = dbconnect();\n\t\ttry {\n\t\tString query = \"INSERT INTO customer (firstName, lastName, username, password, telephone, email) VALUES \"\n + \"(?,?,?,?,?,?)\";\n\t\t\t\n\t\t\tdb.prepare(query);\n db.bind_param(1, this.c_firstname);\n db.bind_param(2, this.c_lastname);\n db.bind_param(3, this.c_username);\n db.bind_param(4, this.c_pw);\n db.bind_param(5, this.c_tel);\n db.bind_param(6, this.c_email);\n\t\t\tdb.executeUpdate();\n\t\t\tdb.close();\n\t\t\t} catch(SQLException e){\t\n\t\t\t Error_Frame.Error(e.toString());\n\t\t\t} \n }", "title": "" }, { "docid": "6d777c85b8390baa49f8af017626661f", "score": "0.6054898", "text": "public void doCreateUser() {\n das.create(newUserTable);\n updateUserList();\n }", "title": "" }, { "docid": "8eb0b4d435f446b27ad2b77592eca35a", "score": "0.6050679", "text": "public void addCreateCategory(){\n\n String categoryAdd = addCategory.getText();\n AuthenticationDatabaseConnection connect = new AuthenticationDatabaseConnection();\n Connection connectDB = connect.getConnection();\n\n ResultSet resultSet = null;\n\n // Checks if category is already available or not\n try {\n String query = \"SELECT * FROM category WHERE category= ? \";\n PreparedStatement preparedStmt = connectDB.prepareStatement(query);\n preparedStmt.setString(1, categoryAdd);\n resultSet = preparedStmt.executeQuery();\n\n if (resultSet.isBeforeFirst()) {\n successMessage.setText(\"\");\n warningMessage.setText(\"Category already available!\");\n\n }\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n // Insert into category table\n try {\n String query = \"INSERT INTO category(category) VALUES(?)\";\n PreparedStatement preparedStmt = connectDB.prepareStatement(query);\n preparedStmt.setString(1, categoryAdd);\n preparedStmt.executeUpdate();\n\n warningMessage.setText(\"\");\n successMessage.setText(\"Category added successfully.\");\n\n\n System.out.println(\"Data insert Successfully\");\n\n addCategory.setText(\"\");\n\n } catch (Exception e) {\n e.printStackTrace();\n e.getCause();\n }\n }", "title": "" }, { "docid": "8a752a746929a251766c19677480c4ff", "score": "0.60446733", "text": "int insert(BtSysUser record);", "title": "" }, { "docid": "e969829465fb62482d30deb43a68139f", "score": "0.60321796", "text": "private void insertUser() {\n try (Connection conn = getConnection()) {\n PreparedStatement statement = conn.prepareStatement(\"INSERT INTO users (`username`, `first_name`, `last_name`) VALUES (?, ?, ?)\");\n statement.setString(1, \"dmitrii\");\n statement.setString(2, \"Dmitrii\");\n statement.setString(3, \"Kupchenko\");\n int result = statement.executeUpdate();\n System.out.println(\"Number of inserted rows \" + result);\n } catch (SQLException e) {\n System.out.println(e);\n }\n }", "title": "" }, { "docid": "4aabe4e37f9666ee43d1bdebc0545a58", "score": "0.6006143", "text": "@Override\r\n\tpublic void insertar() {\n\t\ttab_tipo_persona.insertar();\r\n\t\t\r\n\t}", "title": "" }, { "docid": "e1c96e0921263ca31d90936c51921544", "score": "0.6004076", "text": "int insert(Users record);", "title": "" }, { "docid": "8ea3896b81e8cb33265a216319f041d5", "score": "0.59856987", "text": "public void insert() {\n\t\tSystem.out.println(\"VALUES ('\" + id + \"','\" + roomNum + \"','\" + fname + \"','\" + lname + \"','\" + address + \"','\"\n\t\t\t\t+ city + \"','\" + zipcode + \"','\" + phone + \"','\" + ssn + \"');\");\n\t\tFile file = getDBFile();\n\n\t\t// the db connection\n\t\tConnection c = null;\n\t\t// statement obj that reads in the sql code and executes it\n\t\tStatement stmt = null;\n\n\t\t// the block of code that registers people in the db\n\t\ttry {\n\t\t\tClass.forName(\"org.sqlite.JDBC\");\n\t\t\tc = DriverManager.getConnection(\"jdbc:sqlite:\" + file);\n\t\t\tc.setAutoCommit(false);\n\t\t\tSystem.out.println(\"Opened database successfully\");\n\n\t\t\tstmt = c.createStatement();\n\t\t\t// writing the sql code to a string for the statement to run\n\t\t\tString sql = \"INSERT INTO RESIDENT (ID,ROOMNUM,FNAME,LNAME,ADDRESS,CITY,ZIPCODE,PHONE,SSN) \" + \"VALUES ('\"\n\t\t\t\t\t+ id + \"','\" + roomNum + \"','\" + fname + \"','\" + lname + \"','\" + address + \"','\" + city + \"','\"\n\t\t\t\t\t+ zipcode + \"','\" + phone + \"','\" + ssn + \"');\";\n\n\t\t\t// running the sql code\n\t\t\tstmt.executeUpdate(sql);\n\n\t\t\t// releasing the used resources of the statement\n\t\t\tstmt.close();\n\n\t\t\t// saving the changes to db\n\t\t\tc.commit();\n\n\t\t\t// closing the connection to the db\n\t\t\tc.close();\n\t\t} catch (Exception e) {\n\t\t\tSystem.err.println(e.getClass().getName() + \": \" + e.getMessage());\n\t\t\tSystem.exit(0);\n\t\t}\n\t\tSystem.out.println(\"Records created successfully\");\n\t}", "title": "" }, { "docid": "5325ab6eb11a0a0c4b11f3c016baaf99", "score": "0.5965369", "text": "private void registerNewClient() {\n if (!validateForm()) {\n //progressDialog.dismiss();\n return;\n }\n\n ConnectionSQLiteHelper conn = new ConnectionSQLiteHelper(getContext(), \"DB_KAJOBAPP\", null, 1);\n SQLiteDatabase db = conn.getWritableDatabase();\n ContentValues values=new ContentValues();\n\n values.put(Utilities.FIELD_CLIENT_NAME, txtName.getText().toString());\n values.put(Utilities.FIELD_CLIENT_IDENTIFICATION, txtIdentification.getText().toString());\n values.put(Utilities.FIELD_CLIENT_PHONE, txtPhone.getText().toString());\n values.put(Utilities.FIELD_CLIENT_EMAIL, txtEmail.getText().toString());\n values.put(Utilities.FIELD_CLIENT_LOCATION, txtLocation.getText().toString());\n values.put(Utilities.FIELD_CLIENT_BIRTHDATE, txtBirthdate.getText().toString());\n\n Long nameSave=db.insert(Utilities.TABLE_CLIENT,Utilities.FIELD_CLIENT_NAME,values);\n cleanFields();\n Toast.makeText(getContext(),\"Registro correcto nro: \"+nameSave.toString(),Toast.LENGTH_SHORT).show();\n db.close();\n }", "title": "" }, { "docid": "ff645bbf40b5730d2f2bbd3d1c8decc4", "score": "0.5955827", "text": "public void insertIntoDB(){\n\n }", "title": "" }, { "docid": "af93d778daf36b7670ec547a7e49975a", "score": "0.5940107", "text": "int insert(UserSerial record);", "title": "" }, { "docid": "32fb0d39d1c85326858bfcc1e6be33c1", "score": "0.5934438", "text": "public User insert(User u) {\r\n\t\t// TODO Auto-generated method stub\r\n\t\tConnection con = DBConnection.connection();\r\n\r\n\t try {\r\n\t \t\t \t\r\n\t Statement stmt = con.createStatement();\r\n\r\n\t /*\r\n\t * Zunächst schauen wir nach, welches der momentan höchste\r\n\t * Primärschlüsselwert ist.\r\n\t */\r\n\t ResultSet rs = stmt.executeQuery(\"SELECT MAX(userId) AS maxid \"\r\n\t + \"FROM user \");\r\n\r\n\t // Wenn wir etwas zurückerhalten, kann dies nur einzeilig sein\r\n\t if (rs.next()) {\r\n\t /*\r\n\t * c erhält den bisher maximalen, nun um 1 inkrementierten\r\n\t * Primärschlüssel.\r\n\t */\r\n\t u.setID(rs.getInt(\"maxid\") + 1);\r\n\r\n\t stmt = con.createStatement();\r\n\r\n\t // Jetzt erst erfolgt die tatsächliche Einfügeoperation\r\n\t stmt.executeUpdate(\"INSERT INTO user (userId, firstname, lastname, email, workarea, interest)\" \r\n\t\t\t\t\t+ \"VALUES (\\\"\"\r\n\t\t\t\t\t+ u.getID()\r\n\t\t\t\t\t+ \"\\\",\\\"\" \r\n\t\t\t\t\t+ u.getVorname() \r\n\t\t\t\t\t+ \"\\\",\\\"\"\r\n\t\t\t\t\t+ u.getNachname()\r\n\t\t\t\t\t+ \"\\\",\\\"\"\r\n\t\t\t\t\t+ u.getEmail() \r\n\t\t\t\t\t+ \"\\\",\\\"\"\r\n\t\t\t\t\t+ u.getArbeitsgebiet() \r\n\t\t\t\t\t+ \"\\\",\\\"\"\r\n\t\t\t\t\t+ u.getInteresse() \r\n\t\t\t\t\t+ \"\\\")\");\r\n\t }\r\n\t }\r\n\t catch (SQLException e) {\r\n\t e.printStackTrace();\r\n\t }\r\n\r\n\t /*\r\n\t * Rückgabe, des evtl. korrigierten Users.\r\n\t * \r\n\t * HINWEIS: Da in Java nur Referenzen auf Objekte und keine physischen\r\n\t * Objekte übergeben werden, wäre die Anpassung des User-Objekts auch\r\n\t * ohne diese explizite Rückgabe au�erhalb dieser Methode sichtbar. Die\r\n\t * explizite Rückgabe von c ist eher ein Stilmittel, um zu signalisieren,\r\n\t * dass sich das Objekt evtl. im Laufe der Methode verändert hat.\r\n\t */\r\n\t return u;\r\n\t}", "title": "" }, { "docid": "244b48630746d4e3c4e3783599b2b4e1", "score": "0.59243727", "text": "int insert(OfficialAccUser record);", "title": "" }, { "docid": "eaf997436a47e6818a0ef992fc31aafb", "score": "0.59236753", "text": "protected static boolean addUser(Connection c, User user){\r\n\t\t\t\r\n\t\t\tStatement stmt = null;\r\n\t\t\ttry {\r\n\t\t\t\tString sql = \"\";\r\n\t\t\t\tstmt = c.createStatement();\r\n\t\t\t\tsql = \"SELECT * FROM USER WHERE NAME IS '\" + user.getName() + \"';\" ;\r\n\t\t\t\tResultSet rs = stmt.executeQuery(sql);\r\n\t\t\t\tif(rs.next()){\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\tsql = \"INSERT INTO USER (NAME, Password)\"\r\n\t\t\t\t\t\t+ \"VALUES ('\" + user.getName()\r\n\t\t\t\t\t\t+ \"', '\" + user.getPassword() + \"');\"; \t\r\n\t\t\t\tSystem.out.println(sql);\r\n\t\t\t\tstmt.executeUpdate(sql);\r\n\t\t\t\tstmt.close();\r\n\t\t\t\t\t \r\n\t\t\t} catch ( Exception e ) {\r\n\t\t\t\tSystem.err.println( e.getClass().getName() + \": \" + e.getMessage() );\r\n\t\t\t\te.getStackTrace();\r\n\t\t\t\treturn false;\r\n\t\t\t\t//System.exit(0);\r\n\t\t\t}\r\n\t\t\tSystem.out.println(\"Entry created successfully\");\r\n\t\t\treturn true;\r\n\t\t}", "title": "" }, { "docid": "ddff3bfa47d43d7e42f9c6914df839d6", "score": "0.59118235", "text": "int insert(AcneUser record);", "title": "" }, { "docid": "b5bbf26a5d24a682a84cdb0a7a1f5db4", "score": "0.5910445", "text": "public void addUser(User theUser) throws Exception {\n\t\n\tConnection myConn=null;\n\tPreparedStatement myStmt=null;\n\t\n\t\n\ttry\n\t{\n\t\t//get db connection\n\t\tmyConn=dataSource.getConnection();\n\t\t\n\t\t//create sql for insert\n\t\tString sql=\"insert into usertab(email,pass,confpass,type,person_id) \"\n\t\t\t\t+ \"values(?, ?, ?, ?, ?)\";\n\t\t\n\t\t\n\t\tmyStmt=myConn.prepareStatement(sql);\n\t\t//set the param values for user\n\t\t\n\t\tmyStmt.setString(1,theUser.getEmail());\n\t\tmyStmt.setString(2,theUser.getPass());\n\t\tmyStmt.setString(3,theUser.getConfpass());\n\t\tmyStmt.setString(4,theUser.getType());\n\t\tmyStmt.setString(5,theUser.getId());\n\t\t\n\t\t\n\t\t//execute sql statemtn\n\t\tmyStmt.execute();\n\t\t\n\t\t\n\t}finally\n\t{\n\t\t//clean up jdbc object\n\t\tclose(myConn,myStmt,null);\n\t\t\n\t}\n\t\n\t\n}", "title": "" }, { "docid": "6e69fa450194445317470a12799c3d00", "score": "0.5901409", "text": "public void putActorInDb() {\n\t\tboolean isActorAlreadyInBase = dataBaseHandler.isNameInDataBase(firstName, lastName);\n\n\t\tif (isActorAlreadyInBase == false) {\n\n\t\t\tisSuccess = dataBaseHelper.insertData(firstName, lastName);\n\n\t\t\tif (isSuccess == true) {\n\t\t\t\t/*\n\t\t\t\t * Toast.makeText(getApplicationContext(), \"Success\",\n\t\t\t\t * Toast.LENGTH_SHORT).show();\n\t\t\t\t */\n\t\t\t} else {\n\t\t\t\tToast.makeText(getApplicationContext(), \"Failure\", Toast.LENGTH_SHORT).show();\n\t\t\t}\n\t\t}\n\n\t}", "title": "" }, { "docid": "834b4dc86cc3e07eb9044e077686bda9", "score": "0.58909494", "text": "public static void createUser() {\n Connection con;\n Statement stmt;\n\n try {\n\n // ---------- Connection through IDB and DB ----------\n IDB dataSource = new DB();\n con = dataSource.getConnection();\n\n // ---------- Asking user to write some information, and through scanner inserting his information if JAVA storage\n String sql;\n stmt = con.createStatement();\n Scanner scaner = new Scanner(System.in);\n Scanner addresss = new Scanner(System.in);\n System.out.println(\"You need to fill little blank\");\n System.out.print(\"Your name: \");\n String name = scaner.nextLine();\n System.out.print(\"Your phone: \");\n int phones = scaner.nextInt();\n System.out.print(\"Your address: \");\n String address = addresss.nextLine();\n System.out.print(\"Your credit cart id: \");\n int cart = scaner.nextInt();\n\n // ---------- INSERT ROWS ----------\n sql = \"INSERT INTO users (user_id, user_name, user_phone, user_address, credit_cart_id) VALUES ((select count(*) from users) + 1, '\" + name + \"','\" + phones + \"','\" + address + \"','\" + cart + \"');\";\n stmt.executeUpdate(sql);\n\n // ---------- closing connection with database ----------\n stmt.close();\n con.commit();\n System.out.println(\"-- Records created successfully\");\n con.close();\n\n } catch (Exception e) {\n e.printStackTrace();\n System.err.println(e.getClass().getName()+\": \"+e.getMessage());\n System.exit(0);\n }\n }", "title": "" }, { "docid": "0fa7e52ca0909ebac789bc9cd773bd93", "score": "0.58901304", "text": "public void createCustomer() throws SQLException {\n Statement statement = DBQuery.getStatement();\n String addCustomer =\n \"INSERT INTO customers(Customer_ID, Customer_Name, Address, Postal_Code, Phone, Division_ID) VALUES\" +\n \"('\" + getCustomerID() + \",'\" + customerName() + \"', \" +\n \"'\" + customerAddress() + \"' , '\" + postalCode() + \"' , '\" + customerPhone() + \"', '\" + getSelectedCountryStates() + \"' );\";\n statement.execute(addCustomer);\n }", "title": "" }, { "docid": "fc93304c02027b85f9bfb4a119676f73", "score": "0.5883735", "text": "int insert(UsuarioOrigem record);", "title": "" }, { "docid": "f1bac60756d73c696580a01919e55bac", "score": "0.587142", "text": "int insert(Administrator record);", "title": "" }, { "docid": "04d4fe2e312f5ddd3ac11f98644d47b9", "score": "0.58409977", "text": "public void addInitialCharacter() {\n //AddTransaction at = new AddTransaction(new Character());\n //at.editModel();\n addCharacter(CharacterIFactory.makeChar(), false);\n // no addTransaction(at)!\n //return at;\n }", "title": "" }, { "docid": "49a9251bc6ecd4c877f0cce81905b144", "score": "0.5840551", "text": "public void insert(User user);", "title": "" }, { "docid": "271b7c42d9f91fb17d5f3141122a378b", "score": "0.58380777", "text": "public void addUser(int id, String name, String age, String email, String pwd) {\n SQLiteDatabase db = this.getWritableDatabase();\n\n ContentValues values = new ContentValues();\n values.put(KEY_ID, id);//ID\n values.put(KEY_NAME, name); // Name\n values.put(KEY_AGE, age); // Age\n values.put(KEY_EMAIL, email); // Email\n values.put(KEY_PASSWORD, pwd); // pwd\n\n\n // Inserting Row\n long idn = db.insert(TABLE_USER, null, values);\n db.close(); // Closing database connection\n\n Log.d(TAG, \"New user inserted into sqlite: \" + idn);\n }", "title": "" }, { "docid": "98b8711ac7933583a8391d2351e709e2", "score": "0.582797", "text": "public void addDoctor(User doctor) {\r\n\t\tConnection con = null;\r\n\t\tPreparedStatement ps = null;\r\n\t\tint specializationId = 0;\r\n\t\tResultSet rs = null;\r\n\t\ttry {\r\n\t\t\tcon = getConnection();\r\n\t\t\tps = con.prepareStatement(GET_SPECIALIZATION_ID_BY_NAME);\r\n\t\t\tps.setString(1, doctor.getSpecialization());\r\n\t\t\trs = ps.executeQuery();\r\n\t\t\tif (rs.next()) {\r\n\t\t\t\tspecializationId = rs.getInt(\"id\");\r\n\t\t\t\tSystem.out.println(\"specializationId \"+specializationId);\r\n\t\t\t}\t\t\t\t\r\n\t\t\tps = con.prepareStatement(SQL_ADD_DOCTOR);\r\n\t\t\tps.setString(1, doctor.getFirstName());\r\n\t\t\tps.setString(2, doctor.getLastName());\r\n\t\t\tps.setString(3, doctor.getLogin());\r\n\t\t\tps.setString(4, doctor.getPassword());\r\n\t\t\tps.setInt(5, specializationId);\r\n\t\t\tps.executeUpdate();\r\n\t\t} catch (SQLException ex) {\r\n\t\t\trollback(con);\r\n\t\t\tLOG.error(\"Cannot be insert User\", ex);\r\n\t\t} finally {\r\n\t\t\tclose(ps);\r\n\t\t\tcommitAndClose(con);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "b2ad50120e37d0396bfc6053a177f379", "score": "0.58278686", "text": "void databaseAdd();", "title": "" }, { "docid": "b25c5e799895e58a377676c814ae2b15", "score": "0.58223265", "text": "@Override\n\tpublic void insertRow() throws SQLException {\n\n\t}", "title": "" }, { "docid": "a74f055b4a50997c5a64c78b06622786", "score": "0.58200765", "text": "public int insert(UserDbo bo) throws SQLException;", "title": "" }, { "docid": "9efb6644134a86db636eef88d07ced69", "score": "0.58158594", "text": "public void addUser() {\n try {\n user.setLogin(user.getName() + user.getLastName());\n user.setPassword(\"password\");\n userService.addUser(user);\n reset();\n } catch (DataAccessException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "607f43691fdce636f51ff8181911362b", "score": "0.5807246", "text": "int insert(AdminUser record);", "title": "" }, { "docid": "1f5ef0a526739cd74944967051510eb0", "score": "0.57991445", "text": "@Override\n\tpublic int add_tea(Teacher tea) {\n\t\treturn getSqlSession().insert(ns_6+\"insert\",tea);\n\t}", "title": "" }, { "docid": "089dda227bafedc9f43007b1e93ae23c", "score": "0.5785624", "text": "public String addRow() {\r\n String redirect = \"/portal/generales/usuariosDeSABDetalle?faces-redirect=true\";\r\n modificarRegistro = false;\r\n row_selected = new Usuario();\r\n return redirect;\r\n }", "title": "" }, { "docid": "149fa4ce0d8485a2889ae16691a7a8d7", "score": "0.57824147", "text": "public void addUser(int ID, String username, String password, int type)\n\t{\n\t\t// Insert the table\n\t\ttry {\n\t\t String insertString = \"INSERT INTO Users(idUsers, Username, Password, UserType) VALUES (\" \n\t\t+ ID + \", '\" + username + \"', '\" + password + \"', \" + type + \")\";\n\t\t //System.out.println(insertString);\n\t\t\tthis.executeUpdate(conn, insertString);\n\t\t\tSystem.out.println(\"Insert successful\");\n\t } catch (SQLException e) {\n\t\t\tSystem.out.println(\"[ERROR: Could not insert to the table.]\");\n\t\t\te.printStackTrace();\n\t\t\treturn;\n\t\t}\n\t}", "title": "" }, { "docid": "bcc4439fddbf506209e8aa8d02b59101", "score": "0.57785", "text": "public void insertRow() throws SQLException {\n\n }", "title": "" }, { "docid": "062e15107ff084947e02b710df82d2b8", "score": "0.5776265", "text": "void insert_user() {\n\t\t// first we need to create a user.\n\t\tUser a = new User();\n\t\ta.email = \"myemailid@domain.some\";\n\t\ta.first_name = \"Abhishek\";\n\t\ta.middle_name = \"Kumar\";\n\t\ta.last_name = \"Tiwari\";\n\t\ta.last_login = System.currentTimeMillis();\n\t\ta.login = \"my_user_name\";\n\t\ta.passwd = \"my_password\";\n\t\ta.gender = 'M';\n\t\ta.upd_ts = new Time(0);\n\t\ta.photo_path = \"this/is/my/pic/path\";\n\t\ta.is_external = false;\n\t\ta.failed_logins = 4;\n\t\ta.verified = true;\n\t\t// now get a key value pairs\n\t\tMap<String, Object> m = a.getMapper();\n\t\t// Create an Data-store entity\n\t\tEntity e = a.create_user_entity(m);\n\t\t// insert this entity to the local data-store.\n\t\tdal.insert_entity(e);\n\t}", "title": "" }, { "docid": "67b9bf2761e6a2d0e16d6672c2a7e328", "score": "0.57732815", "text": "int insert(TUserBind record);", "title": "" }, { "docid": "69e79370f349846cafa6609d24adb609", "score": "0.576774", "text": "@Override\n public void insert(Admin t) {\n String req=\"insert into users(cin,nom,prenom,pseudo,mdp,email,adresse,montant,nom_club,num_tel,type,image)values('0','','','\"+t.getPseudo()+\"','\"+t.getMdp()+\"','\"+t.getEmail()+\"','','0','','0','admin','\"+t.getImage()+\"')\";\n System.out.println(req);\n try {\n st.executeUpdate(req);\n } catch (SQLException ex) {\n Logger.getLogger(AdminService.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "title": "" }, { "docid": "973da7a7a7fb46dfe10cf51530c82d1a", "score": "0.5765382", "text": "public void insert() {\n playerAdapter.createPlayer(firstName,lastName,wins);\n\n }", "title": "" }, { "docid": "966a6e180134144e2332155e74480035", "score": "0.5764751", "text": "int insert(WxUser record);", "title": "" }, { "docid": "d49cecf41991c3efeb23c9aa39b7747c", "score": "0.5764414", "text": "int insert(UserDO record);", "title": "" }, { "docid": "2815874b4a86ebd0d30b645f26c20480", "score": "0.5762781", "text": "@Override\n\tpublic void insertRowUserContacts(String username, String newFriend)\n\t{\n\t\tpreparedStatement = null;\n\t\tString query = \"INSERT INTO usercontacts (uid, contactid) VALUES (?, ?), (?,?);\";\n\n\t\tint userIdPerson = getUserId(username);\n\t\tint userIdNewFriend = getUserId(newFriend);\n\t\t\n\t\ttry \n\t\t{\n\t\t\tpreparedStatement = connection.prepareStatement(query);\n\t\t\tpreparedStatement.setInt(1, userIdPerson);\n\t\t\tpreparedStatement.setInt(2, userIdNewFriend);\n\t\t\tpreparedStatement.setInt(3, userIdNewFriend);\n\t\t\tpreparedStatement.setInt(4, userIdPerson);\n\t\t\t\n\t\t\tpreparedStatement.executeUpdate();\n\t\t\tSystem.out.println(\"Record is inserted into usercontacts table!\");\n\n\t\t} \n\t\tcatch (SQLException e) \n\t\t{\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}\n\t}", "title": "" }, { "docid": "08d8650690d123ed0a359b37c5f6c1b5", "score": "0.5758312", "text": "public void addUser(User user){\n ContentValues values = new ContentValues();\n ContentValues values1 = new ContentValues();\n values.put(COLUMN_USERNAME, user.get_username());\n values.put(COLUMN_PASSWORD, user.get_password());\n SQLiteDatabase db = getWritableDatabase();\n db.insert(TABLE_USER, null, values);\n System.out.println(\"addUser\");\n db.close();\n }", "title": "" }, { "docid": "f58d4f2e6e590572ff591645fd15973f", "score": "0.5757264", "text": "int insert(RegsatUserSignup record);", "title": "" }, { "docid": "776e9a513871ef097c65f395603bd26f", "score": "0.57543975", "text": "int insert(UserAuto record);", "title": "" }, { "docid": "a779d7c571aafe1b3740e499492b4ae6", "score": "0.57338977", "text": "public static void addPatient(String name, long Id, String sex, String blood_type, String birth_date, String address,\n String phoneNumber, String insurance, String emergency_name, String emergency_number) throws SQLException {\n String sql = \"INSERT INTO patient(name,birth_date,citizenship_id,insurance,gender,blood_type,emergency_name,emergency_number,patient_address,patient_phoneNumber) VALUES(?,?,?,?,?,?,?,?,?,?)\";\n PreparedStatement myStmt = myConn.prepareStatement(sql);\n myStmt.setString(1, name);\n myStmt.setString(2, birth_date);\n myStmt.setString(3, \"\" + Id);\n myStmt.setString(4, insurance);\n myStmt.setString(5, sex);\n myStmt.setString(6, blood_type);\n myStmt.setString(7, emergency_name);\n myStmt.setString(8, \"\" + emergency_number);\n myStmt.setString(9, address);\n myStmt.setString(10, \"\" + phoneNumber);\n\n myStmt.executeUpdate();\n }", "title": "" }, { "docid": "007e91e7844265011794a2ba18890a41", "score": "0.5730286", "text": "public void addCharacter(Character character) {\n characterTable.addElement(character);\n }", "title": "" }, { "docid": "8a4a99f1e800018bcb1d698e4ba038a0", "score": "0.57296115", "text": "@Override\n public void add(UserType userType) throws DAOException {\n\n try (Connection connection = datasource.getConnection();\n PreparedStatement statement = connection.prepareStatement(QueriesDB.ADD_USER_TYPE)){\n statement.setString(1, userType.getUserType());\n statement.executeUpdate();\n } catch (SQLException e) {\n logger.error(MessageConstants.EXECUTE_QUERY_ERROR, e);\n throw new DAOException(MessageConstants.EXECUTE_QUERY_ERROR, e);\n }\n }", "title": "" }, { "docid": "b7e80eac5d2aecb3a7ffdc502fb31ece", "score": "0.5727639", "text": "int insert(UserActive record);", "title": "" }, { "docid": "6a1687915540956b6f67d0ae7323b6b5", "score": "0.571705", "text": "@Override\n\tpublic int insert(HttpServletRequest request) {\n\t\tString uuid = UUID.randomUUID().toString().replace(\"-\",\"\").replace(\"m\",\"\").replace(\"n\",\"\").replace(\"b\",\"\").replace(\"v\",\"\").replace(\"c\",\"\").replace(\"x\",\"\").replace(\"z\",\"\").replace(\"l\",\"\").replace(\"k\",\"\").replace(\"j\",\"\").replace(\"h\",\"\").replace(\"g\",\"\").replace(\"f\",\"\").replace(\"d\",\"\").replace(\"s\",\"\").replace(\"a\",\"\").replace(\"p\",\"\").replace(\"o\",\"\").replace(\"i\",\"\").replace(\"u\",\"\").replace(\"y\",\"\").replace(\"t\",\"\").replace(\"r\",\"\").replace(\"e\",\"\").replace(\"w\",\"\").replace(\"q\",\"\"); \n\t\tString id=uuid.substring(1,9);\n\t\tBuyUser buyUser= new BuyUser();\n\t\tbuyUser.setId(id);\n\t\tbuyUser.setName(request.getParameter(\"name\"));\n\t\tbuyUser.setPh(request.getParameter(\"ph\"));\n\t\tbuyUser.setPw(request.getParameter(\"pw\"));\n\t\tbuyUser.setBuyArea(request.getParameter(\"area\"));\n\t\treturn buyUserMapper.insertRegister(buyUser);\n\t}", "title": "" }, { "docid": "0d21dfc1d47776e5a328cd175d482e4c", "score": "0.57140857", "text": "@Override\n\tpublic void insert(User user) {\n\t\tSystem.out.println(\"在SqlServer 中给User 增加一条记录\");\n\t\t\n\t}", "title": "" }, { "docid": "141fcdb031c5b5ee29972981b57772a6", "score": "0.57136035", "text": "public void insertUser(User user) \n\t{\n\n\t}", "title": "" }, { "docid": "b8af05bf4dd8205fd4e85714244e0570", "score": "0.57114637", "text": "@Insert({\n \"insert into user (id, username, \",\n \"password, icon, \",\n \"email, nick_name, \",\n \"note, create_time, \",\n \"login_time, disable)\",\n \"values (#{id,jdbcType=BIGINT}, #{username,jdbcType=VARCHAR}, \",\n \"#{password,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, \",\n \"#{email,jdbcType=VARCHAR}, #{nickName,jdbcType=VARCHAR}, \",\n \"#{note,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, \",\n \"#{loginTime,jdbcType=TIMESTAMP}, #{disable,jdbcType=INTEGER})\"\n })\n int insert(User record);", "title": "" }, { "docid": "0ebc98604ca530285a239daace59303f", "score": "0.5710678", "text": "public User addUser(User user) throws DaoException;", "title": "" }, { "docid": "85f3dce6646a09d8a51590a0ec96ce14", "score": "0.5701677", "text": "int insert(UserBase record);", "title": "" }, { "docid": "79040db28c2396e515674a26627baac8", "score": "0.56994003", "text": "int insert(userTieZi record);", "title": "" }, { "docid": "faca38c71dc9175c1d0907ee6da253eb", "score": "0.5697803", "text": "void insert(BsUser record);", "title": "" }, { "docid": "52bc12452fc88f43deae4863b3ad2cc0", "score": "0.56941456", "text": "int insert(Activepicutre record);", "title": "" }, { "docid": "73bbb9ae410fcfad98d12fc6ede59a13", "score": "0.56889856", "text": "public void addUser(int id, String name, String username, String email, String lat, String lon) {\n SQLiteDatabase db = this.getWritableDatabase();\n\n ContentValues values = new ContentValues();\n values.put(KEY_ID, id);\n values.put(KEY_NAME, name);\n values.put(KEY_EMAIL, email);\n values.put(KEY_USERNAME, username);\n values.put(KEY_LATITUDE, lat);\n values.put(KEY_LONGITUDE, lon);\n //Inserting row\n long uid = db.insert(TABLE_USER, null, values);\n db.close();\n\n Log.d(TAG, \"New user inserted into sqlite: \" + uid);\n }", "title": "" }, { "docid": "c57ea3c277925fad4dd912d37e62cdeb", "score": "0.5686692", "text": "int insertSelective(BtSysUser record);", "title": "" }, { "docid": "efba217db6c801bf6450b73156e05752", "score": "0.5685345", "text": "private void insertPet() {\n ContentValues contentValues = new ContentValues();\n contentValues.put(PetEntry.COLUMN_PET_NAME, \"Toto\");\n contentValues.put(PetEntry.COLUMN_PET_BREED, \"Terrier\");\n contentValues.put(PetEntry.COLUMN_PET_GENDER, PetEntry.GENDER_MALE);\n contentValues.put(PetEntry.COLUMN_PET_WEIGHT, 7.0);\n\n long newRowId = dbHelper.getReadableDatabase().insert(PetEntry.TABLE_NAME, null, contentValues);\n Log.v(\"CatalogActivity\", \"New row ID \" + newRowId);\n }", "title": "" }, { "docid": "ace0c5851d2577123afc39820be64fbc", "score": "0.5683768", "text": "void addUser(UserEntity userEntity) throws DAOException;", "title": "" }, { "docid": "e6ff112bd2c280661bb5a352907ead6f", "score": "0.56835073", "text": "public void testUserTable9() {\n // Define an user data, including username, password, full name, phone\n // number and email address.\n String username = null;\n String password = \"12345\";\n String fullName = \"kevin cheng\";\n String phoneNumber = \"(123)456-7890\";\n String email = \"kevincheng99@csu.fullerton.edu\";\n\n // Insert the new user data.\n myDatabaseManager.addUser(username, password, fullName, phoneNumber,\n email);\n\n // Display the user tables\n printUserTable();\n }", "title": "" }, { "docid": "7d0c6d3531b8536d45aa36cf8ebc4efb", "score": "0.5680462", "text": "public boolean insertNewUser(String name,String pass,String date_add,\n String aim_diet,String health,String typ_diet,int typ_diabets,\n int weight,int height,int age,int sex,int lvl,int kcal){\n\n SQLiteDatabase db = this.getWritableDatabase();\n ContentValues cv = new ContentValues();\n\n cv.put(\"NAME\", name);\n cv.put(\"PASS\", pass);\n cv.put(\"DATE_ADD\", date_add);\n cv.put(\"AIM_DIET\", aim_diet);\n cv.put(\"HEALTH\", health);\n cv.put(\"TYP_DIET\", typ_diet);\n cv.put(\"TYP_DIABETS\",typ_diabets);\n cv.put(\"WEIGHT\", weight);\n cv.put(\"HEIGHT\", height);\n cv.put(\"AGE\", age);\n cv.put(\"SEX\", sex);\n cv.put(\"LVL_ACTI\", lvl);\n cv.put(\"KCAL\", kcal);\n\n long result = db.insert(\"USER\",null,cv);\n\n if(result == -1){\n return false;\n }else{\n return true;\n }\n }", "title": "" }, { "docid": "6286fe01f8cb4ac7aa12382c41204acc", "score": "0.56742823", "text": "public void insert(User user) {\n\t\t\n\t}", "title": "" }, { "docid": "892694952ada9f0a47cc21a4d237cc02", "score": "0.5672686", "text": "int insert(User record);", "title": "" }, { "docid": "892694952ada9f0a47cc21a4d237cc02", "score": "0.5672686", "text": "int insert(User record);", "title": "" }, { "docid": "892694952ada9f0a47cc21a4d237cc02", "score": "0.5672686", "text": "int insert(User record);", "title": "" }, { "docid": "892694952ada9f0a47cc21a4d237cc02", "score": "0.5672686", "text": "int insert(User record);", "title": "" }, { "docid": "892694952ada9f0a47cc21a4d237cc02", "score": "0.5672686", "text": "int insert(User record);", "title": "" }, { "docid": "892694952ada9f0a47cc21a4d237cc02", "score": "0.5672686", "text": "int insert(User record);", "title": "" }, { "docid": "892694952ada9f0a47cc21a4d237cc02", "score": "0.5672686", "text": "int insert(User record);", "title": "" }, { "docid": "892694952ada9f0a47cc21a4d237cc02", "score": "0.5672686", "text": "int insert(User record);", "title": "" }, { "docid": "892694952ada9f0a47cc21a4d237cc02", "score": "0.5672686", "text": "int insert(User record);", "title": "" }, { "docid": "892694952ada9f0a47cc21a4d237cc02", "score": "0.5672686", "text": "int insert(User record);", "title": "" }, { "docid": "892694952ada9f0a47cc21a4d237cc02", "score": "0.5672686", "text": "int insert(User record);", "title": "" }, { "docid": "892694952ada9f0a47cc21a4d237cc02", "score": "0.5672686", "text": "int insert(User record);", "title": "" }, { "docid": "5c7d538b67c4eae293f6cc2e5f9cc2b5", "score": "0.56699324", "text": "public void employeeCreate() {\n\t\tString url=\"jdbc:mysql://localhost:3306/vishal001\";\r\n\t\tString username=\"root\";\r\n\t\tString password=\"root\";\r\n\t\t\r\n\t\ttry {\r\n\t\t\tClass.forName(\"com.mysql.cj.jdbc.Driver\");\r\n\t\t\t\r\n\t\t\tConnection con=DriverManager.getConnection(url,username,password); \r\n\t\t\t\r\n\t\t\tString sql=\"insert into employee_table (id,name,age) values(?,?,?)\";\r\n\t\t\tPreparedStatement stmt=con.prepareStatement(sql);\r\n\t\t\tstmt.setInt(1,104);\r\n\t\t\tstmt.setString(2, \"vishal\");\r\n\t\t\tstmt.setInt(3, 24);\r\n\t\t\t\r\n\t\t\tint rowInserted= stmt.executeUpdate();\r\n\t\t\tif(rowInserted>0)\r\n\t\t\t\tSystem.out.println(\"A new row inserted sucessfully\");\r\n\t \r\n\t\t\tcon.close();\r\n\t\t\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t}", "title": "" }, { "docid": "f99dfb500c100e2d870de6735724bc38", "score": "0.56687737", "text": "int insertSelective(UsuarioOrigem record);", "title": "" }, { "docid": "d5845d95d238ff3f2a93863e2ab85b11", "score": "0.5667841", "text": "@Override\n\tpublic void add(String id, String userName) {\n\t\tthis.tabl.add(id,userName);\n\t}", "title": "" }, { "docid": "d0198ac03acf86a85754291b8e55a159", "score": "0.56663436", "text": "int insert(CUserRole record);", "title": "" }, { "docid": "777cce972b0ce75f649d84d1d559021c", "score": "0.56595117", "text": "int insert(WuweiUser record);", "title": "" }, { "docid": "39eb892c345d8746603e14905dac229f", "score": "0.5654546", "text": "public void addUser(Request request) {\n \t\tString phoneNumber = request.getPhoneNumber();\n \t\tStatement stmt;\n \t\ttry {\n \t\t\tstmt = this.c.createStatement();\n \t\t\tString selectUserifExists = \"select * from \" + TABLE_USERS + \" where \" + COLUMN_USER_PHONENUMBER + \"=\\\"\" + phoneNumber + \"\\\";\";\n \t\t\tResultSet rs = stmt.executeQuery(selectUserifExists);\n \t\t\tif(!rs.next()) {\n \t\t\t\tString insertUser = \"insert into \" + TABLE_USERS + \" (\" + COLUMN_USER_PHONENUMBER + \") values (\\\"\" + phoneNumber + \"\\\");\";\t\t\t\n \t\t\t\tstmt.executeUpdate(insertUser);\n \t\t\t\trs = stmt.executeQuery(selectUserifExists);\n \t\t\t\tSystem.out.println(\"\\t:Added user: \" + rs.getString(COLUMN_USER_PHONENUMBER));\n \t\t\t\trequest.setSuccessful();\n \t\t\t\todbManager.addContainer(findUser(request));\n \t\t\t} else {\n//\t\t\t\tSystem.out.println(\"\\t:User \" + rs.getString(COLUMN_USER_PHONENUMBER) + \" already existed\");\n \t\t\t}\n \t\t\trequest.setHandled();\n \t\t\t\n \t\t} catch (SQLException e) {\n \t\t\te.printStackTrace(System.err);\n \t\t}\n \t}", "title": "" }, { "docid": "9215385feb011d16b35d6fc6b5505d40", "score": "0.565291", "text": "public void addToLocalDatabase1(View v) throws Exception{\n passwordsDataSource.open();\n String action = \"create\";\n String category = \"category\";\n String title = \"title\";\n String value = \"value\";\n String name = \"mikecorbridge@gmail.com\";\n passwordsDataSource.createPassword(JsonTask.createRndID(),action,category,1,name,title,value);\n passwordsDataSource.close();\n }", "title": "" }, { "docid": "015e0f1bf65b0f6ea76f41d0039054bd", "score": "0.5650058", "text": "Integer insert(Localizacion record)throws SQLException;", "title": "" }, { "docid": "a4eb989dfc3a01e12a4c3092ba9a425a", "score": "0.5644813", "text": "void addUser(String userName, String userPass, String email)\n {\n Connection connection = openConnection();\n LogDispatcher.getInstance().onLogRequestReceived(new ConcreteSimpleLoggingRequest(LoggingRequest.Severity.INFO, null, \"Attempting to Connect\"));\n LogDispatcher.getInstance().onLogRequestReceived(new ConcreteSimpleLoggingRequest(LoggingRequest.Severity.INFO, null, \"Inserting records into the table....\"));\n try {\n prepStatement = connection.prepareStatement(\"INSERT INTO users ( user_Name, user_Pass, user_Email) VALUES(?,?,?)\");\n prepStatement.setString(1,userName);\n prepStatement.setString(2,userPass);\n prepStatement.setString(3,email);\n prepStatement.executeUpdate();\n } catch (SQLException e)\n {\n LogDispatcher.getInstance().onLogRequestReceived(new ConcreteSimpleLoggingRequest(LoggingRequest.Severity.WARNING, e, \"\"));\n } finally {\n try {\n prepStatement.close();\n closeConnection(connection);\n } catch (SQLException se)\n {\n LogDispatcher.getInstance().onLogRequestReceived(new ConcreteSimpleLoggingRequest(LoggingRequest.Severity.WARNING, se, \"\"));\n }\n }\n }", "title": "" }, { "docid": "45503b8f1f41f18591557558c16709c2", "score": "0.5644768", "text": "@Override\n\tpublic int insertUser(Map<String, Object> params) throws Exception {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "2ed8c4ef9d5a0b078445e1f6dcfa0ccc", "score": "0.56438625", "text": "int insert(AcUserAuth record);", "title": "" }, { "docid": "7df93349971d18644fcf0040df6d1518", "score": "0.5641145", "text": "public void testUserTable1() {\n // Define an user data, including username, password, full name, phone\n // number and email address.\n String username = \"kevin\";\n String password = \"12345\";\n String fullName = \"kevin cheng\";\n String phoneNumber = \"(123)456-7890\";\n String email = \"kevincheng99@csu.fullerton.edu\";\n\n // Insert the new user data.\n myDatabaseManager.addUser(username, password, fullName, phoneNumber,\n email);\n\n // Display the user tables\n printUserTable();\n }", "title": "" }, { "docid": "3ac38b1bc5801f3ca2e560c671f74390", "score": "0.56352633", "text": "public void addUser(String email, String password, String house, String wand, String desc) {\r\n SQLiteDatabase db = this.getWritableDatabase();\r\n\r\n ContentValues values = new ContentValues();\r\n values.put(COLUMN_NAME, email);\r\n values.put(COLUMN_PASS, password);\r\n values.put(COLUMN_HOUSE, house);\r\n values.put(COLUMN_WAND, wand);\r\n values.put(COLUMN_DESC, desc);\r\n\r\n long id = db.insert(WIZARDS_TABLE, null, values);\r\n Log.d(TAG, \"user inserted\" + id);\r\n }", "title": "" }, { "docid": "022b31bd65cb7f7e2ab9a30e9175f7f6", "score": "0.56351006", "text": "int insertSelective(AcneUser record);", "title": "" }, { "docid": "47b4c46eb2fa12460d6c020ede27738c", "score": "0.5633436", "text": "public void addToLocalDatabase0(View v) throws Exception{\n passwordsDataSource.open();\n String action = \"create\";\n String category = \"category\";\n String title = \"title\";\n String value = \"value\";\n String name = \"mikecorbridge@gmail.com\";\n passwordsDataSource.createPassword(JsonTask.createRndID(),action,category,0,name,title,value);\n passwordsDataSource.close();\n }", "title": "" }, { "docid": "367b7110635ac84633bf02c61a18ece8", "score": "0.5633418", "text": "int insert(UserPass record);", "title": "" }, { "docid": "1964fed7c11d3022e4a592354c55c3d9", "score": "0.5627006", "text": "@Override\r\n\tpublic int insert(User record) {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "e1e04f3d24f310859ffd8da367806be4", "score": "0.56230545", "text": "public void addNewEmployeeRecord(\n String employeeID,\n String firstName,\n String lastName,\n String socialSecurity,\n String department,\n String roomNumber,\n String phoneNumber) {\n //creating the connection to insert the values into the database\n Connection connection = createConnection();\n String insertTableSQL = \"INSERT INTO employees\"\n\t\t+ \"(first_name, last_name, ssn, dept, room, phone) VALUES\"\n + \"(?,?,?,?,?,?)\";\n //Declare it after the try method\n //Used prepared statements because its the recommended way to set parameters for our sql \n //Used https://www.mkyong.com/jdbc/jdbc-preparestatement-example-select-list-of-the-records/ & https://www.tutorialspoint.com/jdbc/jdbc-statements.htm\n //for reference on using preparedStatements\n //Used this since I was going to use the SQL statements more than once\n PreparedStatement preparedStatement = null;\n try {\n preparedStatement = connection.prepareStatement(insertTableSQL);\n preparedStatement.setString(1, firstName);\n preparedStatement.setString(2, lastName);\n preparedStatement.setString(3, socialSecurity);\n preparedStatement.setString(4, department);\n preparedStatement.setString(5, roomNumber);\n preparedStatement.setString(6, phoneNumber);\n // execute insert SQL statement\n // https://www.mkyong.com/jdbc/jdbc-preparestatement-example-insert-a-record/\n preparedStatement.executeUpdate();\n }\n catch (SQLException sqlException) {\n sqlException.printStackTrace();\n }\n finally {\n try {\n if (preparedStatement != null) {\n preparedStatement.close();\n }\n \n if (connection != null) {\n connection.close();\n }\n } catch (SQLException sqlException) {\n sqlException.printStackTrace();\n } catch (Exception exception) {\n exception.printStackTrace();\n }\n }\n }", "title": "" } ]
b24d075a76c1fb61d00f1c3391185bed
Returns a new object of class 'Input Clause'.
[ { "docid": "0e9d2b697248acb64d572852bf23c6bd", "score": "0.86197746", "text": "InputClause createInputClause();", "title": "" } ]
[ { "docid": "ff26aed2627f08c71245964741672ee8", "score": "0.62784106", "text": "public InputObject toInputObject() {\n return new InputObject.Builder<>()\n .put(\"idCnv\", this.idCnv)\n .put(\"idCla\", this.idCla)\n .put(\"idUsr\", SessionUser.getInstance().getActualUser().getId())\n .put(\"draft\", this.draft)\n .put(\"createtime\", LocalDateTime.now().toString())\n .put(\"evaluationtext\", this.evaluationtext)\n .put(\"comment\", this.comment)\n .put(\"report_ref\", this.report_ref)\n .build();\n }", "title": "" }, { "docid": "93db6d305d2b4213dcd0a76a323ea799", "score": "0.61080754", "text": "Clause createClause();", "title": "" }, { "docid": "b57ce025361d70beb642f4aba23f6781", "score": "0.60152483", "text": "public Builder input(Expression inputStr) {\n this.inputStr = inputStr;\n return this;\n }", "title": "" }, { "docid": "429300b2257ea1ff396b0e3194697455", "score": "0.5973671", "text": "OutputClause createOutputClause();", "title": "" }, { "docid": "4aa9fa64f55c53c7f9a3a1009314152a", "score": "0.59628075", "text": "public InputObject toInputObject() {\n return new InputObject.Builder<>()\n .put(\"idCri\", this.idCri)\n .put(\"shortid\", this.shortid)\n .put(\"idCrs\", this.idCrs)\n .put(\"comment\", this.comment)\n .put(\"value\", this.value)\n .build();\n }", "title": "" }, { "docid": "8bb07b4661ca80160a3c7eb2d6828a09", "score": "0.5851011", "text": "public static Input convertHelper()\n\t{\n\t\tInput inputObj = new Input();\n\t\t\n\t\tConvertorOutput.printEnterValueMessage();\n\t\tinputObj.setInitialValue();\n\t\t\n\t\tConvertorOutput.printEnterTargetUnitMessage();\n\t\tinputObj.setTargetUnit();\n\t\t\n\t\treturn inputObj;\n\t}", "title": "" }, { "docid": "ed2fddc31e760be5cef040c67f733828", "score": "0.57460755", "text": "public ObjectInput( ) { \n\t\tsuper( );\n\t}", "title": "" }, { "docid": "749d0b602da40c643127158df7f9adaa", "score": "0.5742613", "text": "public Input() {\n }", "title": "" }, { "docid": "5d0623a3113817651a7a0ed6ec0579cb", "score": "0.5724166", "text": "private com.google.protobuf.SingleFieldBuilderV3<\n com.clarifai.grpc.api.Input, com.clarifai.grpc.api.Input.Builder, com.clarifai.grpc.api.InputOrBuilder> \n getInputFieldBuilder() {\n if (inputBuilder_ == null) {\n inputBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n com.clarifai.grpc.api.Input, com.clarifai.grpc.api.Input.Builder, com.clarifai.grpc.api.InputOrBuilder>(\n getInput(),\n getParentForChildren(),\n isClean());\n input_ = null;\n }\n return inputBuilder_;\n }", "title": "" }, { "docid": "098c59727272c982cda5400d1f42c934", "score": "0.5671529", "text": "public com.clarifai.grpc.api.Input.Builder getInputBuilder() {\n \n onChanged();\n return getInputFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "bc282988b87d5f76c363c411da253e38", "score": "0.5655817", "text": "public TableViewerBuilder input(Object input) {\n\t\tviewer.setInput(input);\n\t\treturn this;\n\t}", "title": "" }, { "docid": "414f9dba0a0b72c57053a4b23df6cffc", "score": "0.564799", "text": "public Operation( String lineInput )\r\n {\r\n super();\r\n\r\n inputArray = this.parseCommands( lineInput );\r\n\r\n command = findCommand( inputArray[ 0 ] );\r\n\r\n if ( !inputArray[ 1 ].equals( \"\" ) )\r\n {\r\n this.quantity = this.inputArray[ 1 ];\r\n }\r\n if ( !inputArray[ 2 ].equals( \"\" ) )\r\n {\r\n this.directObject = this.findObject( inputArray[ 2 ] );\r\n }\r\n if ( !inputArray[ 3 ].equals( \"\" ) )\r\n {\r\n this.preposition = inputArray[ 3 ];\r\n }\r\n if ( !inputArray[ 4 ].equals( \"\" ) )\r\n {\r\n this.indirectObject = this.findObject( inputArray[ 4 ] );\r\n }\r\n }", "title": "" }, { "docid": "9851bc401e5fc72b12aa80f20b6f15a8", "score": "0.562195", "text": "public IncomeExpenseClause() {\n }", "title": "" }, { "docid": "03f3028ad058b4f83812affe5ee836dc", "score": "0.5595495", "text": "public Input getInput();", "title": "" }, { "docid": "ce402dbb5cca3969deef3b71da84c7bb", "score": "0.5459368", "text": "private IEditorInput createEditorInput() {\n IStorage storage = new StringStorage(\"REPORT\");\n IEditorInput input = new StringInput(storage);\n return input;\n }", "title": "" }, { "docid": "bb81daaee52c1bbc3b89702d828c7355", "score": "0.5404738", "text": "public Interpreter(String input) {\n\t\tthis.input = input;\n\t\tthis.index = 0;\n\t}", "title": "" }, { "docid": "1d7442399e4e2bb613301a61a19fcb57", "score": "0.5383478", "text": "public ReadStmt () {\n inputs = new ASTList<Readable> ();\n }", "title": "" }, { "docid": "76a6f32ae1cc7c44f4b762e93a37e53b", "score": "0.5348696", "text": "private Transaction getInputData() {\n String typeOfTransactionValue = typeTransaction.getSelectedItem().toString().trim();\n int amountOfMoneyValue = Integer.parseInt(amouthOfMoney.getText().toString());\n String dateViewValue = dateView.getText().toString().trim();\n String walletValue = wallet.getSelectedItem().toString().trim();\n String categoryValue = category.getSelectedItem().toString().trim();\n String descriptionValue = description.getText().toString().trim();\n\n Transaction transaction =\n new Transaction(typeOfTransactionValue, amountOfMoneyValue, dateViewValue, walletValue, categoryValue, descriptionValue);\n\n return transaction;\n }", "title": "" }, { "docid": "639cf8aadbc6782b3789525ca648deee", "score": "0.5337295", "text": "public C getInput() {\n return input;\n }", "title": "" }, { "docid": "b2e567800d0eb3e850dcb7d4b406d95d", "score": "0.5327085", "text": "private Inputs() {\n\t\t\n\t}", "title": "" }, { "docid": "e32a1bd966a8215ecad579764714d59d", "score": "0.53217876", "text": "@java.lang.Override\n public com.clarifai.grpc.api.Input getInput() {\n return input_ == null ? com.clarifai.grpc.api.Input.getDefaultInstance() : input_;\n }", "title": "" }, { "docid": "5336dd6a3463d33206e9a25056ffa4ce", "score": "0.5280047", "text": "public Object getInput() {\n return input;\n }", "title": "" }, { "docid": "a280ce4d79ecc81c887657170f0df370", "score": "0.5276608", "text": "ExpCS getIn();", "title": "" }, { "docid": "399197dd2a281fb0eab6484c856c76ce", "score": "0.5255656", "text": "public InputStatement(String variable, VariableScope variableScope) {\n\t\tthis.variable = variable;\n\t\tthis.variableScope = variableScope;\n\t}", "title": "" }, { "docid": "8e21e707509059245f0c738cb9e18a1f", "score": "0.52527106", "text": "public MiniSqlParser(TokenStream input) {\n\t\tsuper(input);\n\t\t_interp = new ParserATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);\n\t}", "title": "" }, { "docid": "f7a418145deccf46c815422684e24c77", "score": "0.5244731", "text": "public static TrezorMessage.TxInput newTxInput(Transaction tx, int index) {\r\n\r\n Preconditions.checkNotNull(tx, \"Transaction must be present\");\r\n Preconditions.checkElementIndex(index, tx.getInputs().size(), \"TransactionInput not present at index \" + index);\r\n\r\n // Input index is valid\r\n TransactionInput txInput = tx.getInput(index);\r\n TrezorMessage.TxInput.Builder builder = TrezorMessage.TxInput.newBuilder();\r\n builder.setIndex(index);\r\n\r\n // Fill in the input addresses\r\n long prevIndex = txInput.getOutpoint().getIndex();\r\n byte[] prevHash = txInput.getOutpoint().getHash().getBytes();\r\n\r\n // In Bitcoinj \"nanocoins\" are Satoshis\r\n long satoshiAmount = txInput.getConnectedOutput().getValue().longValue();\r\n builder.setAmount(satoshiAmount);\r\n\r\n try {\r\n byte[] scriptSig = txInput.getScriptSig().toString().getBytes();\r\n builder.setScriptSig(ByteString.copyFrom(scriptSig));\r\n\r\n builder.setPrevIndex((int) prevIndex);\r\n builder.setPrevHash(ByteString.copyFrom(prevHash));\r\n\r\n builder.addAddressN(0);\r\n builder.addAddressN(index);\r\n\r\n return builder.build();\r\n\r\n } catch (ScriptException e) {\r\n throw new IllegalStateException(e);\r\n }\r\n\r\n }", "title": "" }, { "docid": "8ee8721913de747e06ef0fcf3acfe330", "score": "0.5197149", "text": "public static InputList getInputList()\n {\n if (single_instance == null) {\n single_instance =\n new InputList(\n new ArrayList<Item>(),\n new ArrayList<Bag>(),\n new ArrayList<Integer>(),\n new ArrayList<UnaryConstraint>(),\n new ArrayList<BinaryEqualityConstraint>(),\n new ArrayList<BinaryMutualConstraint>());\n }\n return single_instance;\n }", "title": "" }, { "docid": "d7ab86432be56967201e2f5f7ed8671b", "score": "0.5172971", "text": "private static XMLInputFactory creaInputFactory() {\n\t\tXMLInputFactory inFactory = null;\n\t\ttry {\n\t\t\tinFactory = XMLInputFactory.newInstance();\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Errore nell'inizializzazione dell'Input Factory: \");\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}\n\t\treturn inFactory;\n\t}", "title": "" }, { "docid": "c40f285357d3dd4dd2d0863c8821b91f", "score": "0.5163063", "text": "public ExperimentInput() {\n }", "title": "" }, { "docid": "fa069941c6e89294193a7d6690cbe5e6", "score": "0.51528513", "text": "public Input getInput()\n {\n return input;\n }", "title": "" }, { "docid": "41771fcd9aee53cbd6d405b3dbb645ea", "score": "0.5127352", "text": "public UserInputModel() {\n currentInput = \"\";\n currentlyAcceptingInput = true;\n }", "title": "" }, { "docid": "56a84d7836637dfec20490a17392d6ec", "score": "0.5113215", "text": "protected Project(RelInput input) {\n this(input.getCluster(),\n input.getTraitSet(),\n ImmutableList.of(),\n input.getInput(),\n requireNonNull(input.getExpressionList(\"exprs\"), \"exprs\"),\n input.getRowType(\"exprs\", \"fields\"),\n ImmutableSet.copyOf(\n Util.transform(\n Optional.ofNullable(input.getIntegerList(\"variablesSet\"))\n .orElse(ImmutableList.of()),\n id -> new CorrelationId(id))));\n }", "title": "" }, { "docid": "8d8b97a1f2511aef1a4658709122f5fc", "score": "0.5107924", "text": "public B makeBuilder(In input);", "title": "" }, { "docid": "25a399d2413d907d133373ca7034f761", "score": "0.50890255", "text": "default IBlastFurnaceRecipeBuilder newRecipe(Object input) {\n return new IBlastFurnaceRecipeBuilder() {};\n }", "title": "" }, { "docid": "e94c59269c4a21ab728492da65a85756", "score": "0.50750524", "text": "public com.clarifai.grpc.api.Input getInput() {\n if (inputBuilder_ == null) {\n return input_ == null ? com.clarifai.grpc.api.Input.getDefaultInstance() : input_;\n } else {\n return inputBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "85719d3b26c6cd7ea596c4926f94f996", "score": "0.50731266", "text": "public com.clarifai.grpc.api.InputOrBuilder getInputOrBuilder() {\n if (inputBuilder_ != null) {\n return inputBuilder_.getMessageOrBuilder();\n } else {\n return input_ == null ?\n com.clarifai.grpc.api.Input.getDefaultInstance() : input_;\n }\n }", "title": "" }, { "docid": "215a86ef5b4e4c82df50f172794a2f75", "score": "0.50546545", "text": "QueryModel createQueryModel();", "title": "" }, { "docid": "ae6fb0bf06b9c01401bc8ccc5759cf8f", "score": "0.504778", "text": "public InputFragment() {\n\n }", "title": "" }, { "docid": "df3d70c4b0034effb61d39206a3be8fb", "score": "0.504271", "text": "public InputSource() throws IOException {\n input = new BufferedReader(new InputStreamReader(System.in));\n }", "title": "" }, { "docid": "f2be767c7e05de84aa6b6a1208ceb6bb", "score": "0.50420356", "text": "@java.lang.Override\n public com.clarifai.grpc.api.InputOrBuilder getInputOrBuilder() {\n return getInput();\n }", "title": "" }, { "docid": "9bc278cb2baf651d2013c90dc73f119f", "score": "0.50369394", "text": "protected CompletionQuery createQuery() {\n\n\t\tif (m_completionquery == null)\n\t\t\tm_completionquery = new SQLCompletionQuery(this, m_model);\n\n\t\treturn m_completionquery;\n\t}", "title": "" }, { "docid": "52d8343f97f2fb864da060f242c71c5b", "score": "0.5035149", "text": "public ValidationInputRequest() {\n }", "title": "" }, { "docid": "8ec3015b56093990437f32181dad2a31", "score": "0.5026615", "text": "@Override\r\n public InputPolicy getInputPolicy () {\r\n return InputPolicy.makeTypedDefaultInputPolicy(getTypeExpr().toSourceModel().getTypeExprDefn());\r\n }", "title": "" }, { "docid": "b652ee8cab100902fc1de3b3ac47ae0a", "score": "0.5023371", "text": "@Override\n public String getFromClause() {\n return associatedDto.getSqlFromClause();\n }", "title": "" }, { "docid": "797e5600f9336f895add18524cc8f8ed", "score": "0.5004649", "text": "public InputTest() {\n\t\tsuper(\"Input Test\");\n\t}", "title": "" }, { "docid": "93ca0f9c561e9503d8d63c85e618c8c6", "score": "0.49963507", "text": "private ContactEntry buildContactEntryFromInput() {\n // use the contact entry builder to construct the new ContactEntry object\n return new ContactEntryBuilder(mContactEntry)\n .name(mContactNameEdit.getText().toString())\n .title(mContactTitleEdit.getText().toString())\n .company(mContactCompanyEdit.getText().toString())\n .division(mContactDepartmentEdit.getText().toString())\n .phoneNumber(mContactPhoneNumEdit.getText().toString(), mContactPhoneExtEdit.getText().toString())\n .faxNumber(mContactFaxNumEdit.getText().toString())\n .email(mContactEmailEdit.getText().toString())\n .website(mContactCompanyWebsiteEdit.getText().toString())\n .notes(mContactNotesEdit.getText().toString())\n .photo(mContactPhotoFile)\n .businessCard(mContactBCFile)\n .build();\n }", "title": "" }, { "docid": "73b1a6455c40f530db43aea570662ad0", "score": "0.4986056", "text": "public TestInput() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "c4605bc99e7080a29588e576d4bb850d", "score": "0.4985061", "text": "public String getInput() {\n return this.input;\n }", "title": "" }, { "docid": "0d4756f4c294475282dc09356eecd0ac", "score": "0.4975031", "text": "public String getInput()\n\t{\n\t\treturn input;\n\t}", "title": "" }, { "docid": "ba11c17feeaa6c06f03d80627ccda71a", "score": "0.49711135", "text": "public CreateUnionRequest() {\n tableName = \"\";\n tableNames = new ArrayList<>();\n inputColumnNames = new ArrayList<>();\n outputColumnNames = new ArrayList<>();\n options = new LinkedHashMap<>();\n }", "title": "" }, { "docid": "55edfa39a6f27577cc3dc8cd7cafc760", "score": "0.49511194", "text": "public static QueryExecution createLocalQueryExecution(Query query, ValueRow inputRow){\n\t\t\n\t\tDataSource dataSource = DatasetFactory.create();\n\t\tQuerySolutionMap initialBindings = new QuerySolutionMap();\n\t\t\n\t\tEngine.getLogger().debug(\"Will execute query :\\n\"+query+\"\\n on the following models: \");\n\t\t/** set initial bindings */\n\t\tfor (String varName : inputRow.getRange()){\n\t\t\tRGLValue value = inputRow.get(varName);\n\t\t\t\n\t\t\tRDFNode graphName = null;\n\t\t\t\n\t\t\tif (value.isGraph()){\n\t\t\t\tGraphValue graphValue = value.asGraph();\n\t\t\t\t/* add the graph as a named graph */\n\t\t\t\tgraphName = graphValue.getRDFNode();\n\t\t\t\t\n\t\t\t\t/* make sure the graphValue loads suffient data in the model to answer the query */\n\t\t\t\tgraphValue.loadDataForQuery(query, varName);\n\t\t\t\t\n\t\t\t\tdataSource.addNamedModel(graphName.asResource().getURI(), graphValue.getModel());\n\t\t\t\t\n\t\t\t\tEngine.getLogger().debug(\" GRAPH ?\"+varName+\" (\"+graphValue.getModel().size()+\" elements)\");\n\t\t\t\t\n\t\t\t\t\n\t\t\t} else if (value.isRDFValue()) {\n\t\t\t\tRDFValue rdfValue = value.asRDFValue();\n\t\t\t\tgraphName = rdfValue.getRDFNode();\n\t\t\t} else { /* we cannot handle this, and it should have been prevented by typechecking */\n\t\t\t\tthrow new RuntimeException(\"We cannot handle the input type \"+value.getClass()+\", this should have been prevented by typechecking\");\n\t\t\t}\n\t\t\t\n\t\t\t//System.out.println(\"Binding \"+attrName+ \" to \"+rdfNode);\n\t\t\tinitialBindings.add(varName, graphName);\n\t\t}\n\t\t\n\t\t\n\t\t//Query query = QueryModifier.createBoundQuery(selectResStr, initialBindings);\n\t\tQueryExecution qexec = QueryExecutionFactory.create(query, dataSource);\n\t\tqexec.setInitialBinding(initialBindings);\n\t\treturn qexec;\n\t}", "title": "" }, { "docid": "8047f14088dfbdbf6186f151fdccfa0a", "score": "0.49497733", "text": "interface InputDialogBuilder extends DialogBuilder<InputDialogBuilder> {\n\n /**\n * Adds input parameter to the dialog. InputParameter describes field which will be used in the input dialog.\n * <p>\n * Example:\n * <pre>{@code\n * dialogs.createInputDialog(this)\n * .withParameter(\n * entityParameter(\"userField\", User.class)\n * .withCaption(\"User field\")\n * .withRequired(true)\n * )\n * .show();\n * } </pre>\n *\n * @param parameter input parameter that will be added to the dialog\n * @return builder\n * @see InputParameter#entityParameter(String, Class)\n */\n InputDialogBuilder withParameter(InputParameter parameter);\n\n /**\n * Sets input parameters. InputParameter describes field which will be used in the input dialog.\n * <p>\n * Example:\n * <pre>{@code\n * dialogs.createInputDialog(this)\n * .withParameters(\n * stringParameter(\"nameField\")\n * .withCaption(\"Name field caption\")\n * .withDefaultValue(\"default value\"),\n * intParameter(\"countField\")\n * .withCaption(\"Count field caption\")\n * .withRequired(true))\n * .show();\n * } </pre>\n *\n * @param parameters input parameters\n * @return builder\n * @see InputParameter#stringParameter(String)\n * @see InputParameter#intParameter(String)\n */\n InputDialogBuilder withParameters(InputParameter... parameters);\n\n /**\n * Add close listener to the dialog. See close actions for {@link DialogActions} in {@link InputDialog}.\n *\n * @param listener close listener to add\n * @return builder\n */\n InputDialogBuilder withCloseListener(Consumer<InputDialog.InputDialogCloseEvent> listener);\n\n /**\n * Sets dialog actions. {@link InputDialogAction} provides access to input dialog in {@link InputDialogActionPerformed}\n * where it is possible to get values form the fields and implement logic to close dialog.\n * <p>\n * Note, if there is no actions are set input dialog will use {@link DialogActions#OK_CANCEL} by default.\n * </p>\n * Example:\n * <pre>{@code\n * dialogs.createInputDialog(this)\n * .withCaption(\"Dialog caption\")\n * .withParameter(parameter(\"nameField\").withCaption(\"Name\"))\n * .withActions(\n * action(\"okAction\")\n * .withCaption(\"OK\")\n * .withIcon(CubaIcon.DIALOG_OK)\n * .withHandler(event -> {\n * InputDialog inputDialog = event.getInputDialog();\n * String name = inputDialog.getValue(\"nameField\");\n * // do logic\n * inputDialog.close(InputDialog.INPUT_DIALOG_OK_ACTION);\n * }),\n * action(\"cancelAction\")\n * .withCaption(\"Cancel\")\n * .withIcon(CubaIcon.DIALOG_CANCEL)\n * .withValidationRequired(false)\n * .withHandler(event -> {\n * InputDialog inputDialog = event.getInputDialog();\n * inputDialog.close(InputDialog.INPUT_DIALOG_CANCEL_ACTION);\n * }))\n * .show();\n * }\n * </pre>\n *\n * @param actions actions\n * @return builder\n * @see InputDialogAction#action(String)\n */\n InputDialogBuilder withActions(InputDialogAction... actions);\n\n /**\n * Sets predefined dialog actions. \"OK\" and \"YES\" actions always check fields validation before close the dialog.\n * By default if there is no actions are set input dialog will use {@link DialogActions#OK_CANCEL}.\n *\n * @param actions actions\n * @return builder\n */\n InputDialogBuilder withActions(DialogActions actions);\n\n /**\n * Sets dialog actions and result handler. \"OK\" and \"YES\" actions always check fields validation before close\n * the dialog. Handler is invoked after close event and can be used instead of\n * {@link #withCloseListener(Consumer)}.\n * Example\n * <pre>{@code\n * dialogs.createInputDialog(this)\n * .withCaption(\"Dialog caption\")\n * .withParameter(parameter(\"nameField\").withCaption(\"Name\"))\n * .withActions(DialogActions.OK_CANCEL, result -> {\n * switch (result.getCloseActionType()) {\n * case OK:\n * String name = result.getValue(\"nameField\");\n * // do logic\n * break;\n * case CANCEL:\n * // do logic\n * break;\n * }\n * })\n * .show();\n * } </pre>\n *\n * @param actions dialog actions\n * @param resultHandler result handler\n * @return builder\n */\n InputDialogBuilder withActions(DialogActions actions, Consumer<InputDialog.InputDialogResult> resultHandler);\n\n /**\n * Sets additional handler for field validation. It receives input dialog context and must return {@link ValidationErrors}\n * instance. Returned validation errors will be shown with another errors from fields.\n * Example\n * <pre>{@code\n * dialogs.createInputDialog(this)\n * .withParameters(\n * stringParameter(\"phoneField\").withCaption(\"Phone\"),\n * stringParameter(\"addressField\").withCaption(\"Address\"))\n * .withValidator(context -> {\n * String phone = context.getValue(\"phoneField\");\n * String address = context.getValue(\"addressField\");\n * if (Strings.isNullOrEmpty(phone) && Strings.isNullOrEmpty(address)) {\n * return ValidationErrors.of(\"Phone or Address should be filled\");\n * }\n * return ValidationErrors.none();\n * })\n * .show();\n * }</pre>\n *\n * @param validator validator\n * @return builder\n */\n InputDialogBuilder withValidator(Function<InputDialog.ValidationContext, ValidationErrors> validator);\n\n /**\n * Builds the input dialog.\n *\n * @return input dialog\n */\n InputDialog build();\n\n InputDialog show();\n }", "title": "" }, { "docid": "96d79902d4533793101c5489a22123aa", "score": "0.4937523", "text": "private Commands getInputCommand(String input) {\n if (Pattern.compile(Commands.START.toString()).matcher(input).matches()) {\n return Commands.START;\n } else if (Pattern.compile(Commands.SCORE.toString()).matcher(input).matches()) {\n return Commands.SCORE;\n } else if (input.equals(Commands.PRINT.toString())) {\n return Commands.PRINT;\n } else if (input.equals(Commands.END.toString())) {\n return Commands.END;\n } else {\n return Commands.ERROR;\n }\n }", "title": "" }, { "docid": "48e1b512d80a159e2379e6d7816cb91f", "score": "0.49369705", "text": "public static DatastoreSelectionDialog createInputDialog(final Shell shell) {\n return new DatastoreSelectionDialog(shell, IOMode.INPUT, new Entity[0]);\n }", "title": "" }, { "docid": "5c4d2ea4f40482435e0bfa3f83b5235e", "score": "0.4934289", "text": "public abstract Object parseInput(String text);", "title": "" }, { "docid": "4d20afce2d7ab8ede1a1bb9241638981", "score": "0.49264234", "text": "public T caseInput(Input object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "871c03d4213d6c33c512fde4ac8d3554", "score": "0.49213764", "text": "public Query<K, T> newQuery() {\n Query<K,T> query = new DynamoDBQuery<K, T>(this);\n //query.setFields(getFieldsToQuery(null));\n return query;\n }", "title": "" }, { "docid": "4c984dcb5dd69aed5b6dd8c25d85cf3f", "score": "0.49028292", "text": "public DateInput() {\n this(\"dateinput\");\n }", "title": "" }, { "docid": "fe3b3b91023b151a943b28c594e460b5", "score": "0.4897091", "text": "public void setInput(Input input)\n {\n this.input = input;\n }", "title": "" }, { "docid": "d9b30a03cdcd210f1c4fafd1e6fb93b7", "score": "0.48927078", "text": "default IFuelBuilder newFuel(Object input) {\n return new IFuelBuilder() {};\n }", "title": "" }, { "docid": "8c7e47fae112e8aaacd86e7fa06376ac", "score": "0.4888923", "text": "private Expr constructor() throws QueryException {\n check('<');\n return consume('!') ? dirComment() : consume('?') ? dirPI() : dirElement();\n }", "title": "" }, { "docid": "d457171315714b25fadbb6209f2931b9", "score": "0.48803842", "text": "public Plan create(Op op, DatasetGraph dataset, Binding inputBinding, Context context) {\n throw new ARQInternalErrorException(\"QueryEngine: factory called directly with an algebra expression\") ;\n }", "title": "" }, { "docid": "de482480bfbe10d77fcb2aae4bc2143f", "score": "0.48709387", "text": "InputDialog build();", "title": "" }, { "docid": "3fbad4a69be979e8379ef33193c1836a", "score": "0.48614568", "text": "public String getInput() {\n/* 91 */ return this.input;\n/* */ }", "title": "" }, { "docid": "6b619346343ad7f73566b8d643b97d8c", "score": "0.48522604", "text": "public final Object getInput(String sourceName) throws ConnectException {\n\t\treturn this;\n\t}", "title": "" }, { "docid": "fe7cb58b67f87cd895adaeb80ea04e90", "score": "0.48466423", "text": "@Override\n \tprotected void pushFromClause(AST fromNode, AST inputFromNode) {\n \t\tFromClause newFromClause = (FromClause) fromNode;\n \t\tnewFromClause.setParentFromClause( currentFromClause );\n \t\tcurrentFromClause = newFromClause;\n \t}", "title": "" }, { "docid": "4bf9eb2f9d019b37ccc821bc57017c55", "score": "0.48275718", "text": "Expression createExpression();", "title": "" }, { "docid": "4bf9eb2f9d019b37ccc821bc57017c55", "score": "0.48275718", "text": "Expression createExpression();", "title": "" }, { "docid": "256d470320ced651279c0153a0ee3ea3", "score": "0.48253107", "text": "private JSONObject createJsonRequestObject(String inputText) throws JSONException {\n Map<String, String> text = new HashMap<>();\n JSONObject textObject = new JSONObject();\n JSONObject requestObject = new JSONObject();\n\n text.put(\"text\", inputText);\n text.put(\"language_code\", \"en-US\");\n JSONObject jsonObject = new JSONObject(text);\n textObject.put(\"text\", jsonObject);\n requestObject.put(\"query_input\", textObject);\n\n return requestObject;\n\n }", "title": "" }, { "docid": "a608005583acd874c4319fe4dd0e4eeb", "score": "0.48215315", "text": "public ItemStackIngredient getInput() {\n return input;\n }", "title": "" }, { "docid": "27bb74497efc5fc798f040d5d90128c7", "score": "0.4820271", "text": "IWhereClause getWhereClause();", "title": "" }, { "docid": "fe7f526235e129c7ac821d6a5bb7ed4f", "score": "0.48183265", "text": "private Instate createInstateFromInput(Scanner sc){\n String fName = sc.next();\n String lName = sc.next();\n int credit = sc.nextInt();\n int funding = sc.nextInt();\n return new Instate(fName, lName, credit, funding);\n }", "title": "" }, { "docid": "43c11e960b7b7ba85547ffac0c92ea9d", "score": "0.4814124", "text": "public EntityName getInputName() {\n return this.inputs.get(0);\n }", "title": "" }, { "docid": "f91897251eb65f59319451f68534da77", "score": "0.48030332", "text": "public CommandInputMapping()\n\t{\n\t\t// Construct the InputMapping so we can use it\n\t\tim = new InputMapping();\n\t}", "title": "" }, { "docid": "b0b4cb218b11f05bb7abf32eccc85773", "score": "0.4798957", "text": "public TurtleInput getInput() {\n return input;\n }", "title": "" }, { "docid": "c81cb7c16b008ab6fb1799231092acc1", "score": "0.47928625", "text": "public BufferedReader getInput() {\n return input;\n }", "title": "" }, { "docid": "49d2140ce92e45383c4684dce0e0218e", "score": "0.47707036", "text": "public Command parse(String getInput) {\n Command command = null;\n if (getInput.equals(\"todo\") || getInput.equals(\"deadline\")\n || getInput.equals(\"event\") || getInput.equals(\"note\")) {\n command = Command.ADD;\n } else if (getInput.equals(\"bye\")) {\n command = Command.BYE;\n } else if (getInput.equals(\"help\")) {\n command = Command.HELP;\n } else if (getInput.equals(\"list\")) {\n command = Command.LIST;\n } else if (getInput.equals(\"find\")) {\n command = Command.FIND;\n } else if (getInput.equals(\"done\")) {\n command = Command.DONE;\n } else if (getInput.equals(\"delete\")) {\n command = Command.DELETE;\n }\n return command;\n }", "title": "" }, { "docid": "4367e040080b7a0eb2283d3df4a7ae60", "score": "0.47666568", "text": "@Override\n public Script createInputScript() {\n return null;\n }", "title": "" }, { "docid": "7d9417f0617d8f858067786c554f38c6", "score": "0.47644994", "text": "private static Clause makeClause(Literal[] e) {\n Clause c = new Clause();\n for (int i = 0; i < e.length; ++i) {\n c = c.add(e[i]);\n }\n return c;\n }", "title": "" }, { "docid": "c0c1aad857baaac4c0882c34ccbb16d1", "score": "0.47629553", "text": "DeclarativeStatement createDeclarativeStatement();", "title": "" }, { "docid": "6afbe6a4fef8d1274dac48cc2839b216", "score": "0.47581682", "text": "public DPGSInput getInput(int index) {\n\t\tthrow new NotImplementedException();\n\t\t// return inputs[index];\n\t}", "title": "" }, { "docid": "8ff5334028cc8cc8c3a0873d4d37751c", "score": "0.4751897", "text": "public StatementWrapper()\n {\n\n }", "title": "" }, { "docid": "0ddd21acae2f80c9b6900363ed37f8de", "score": "0.47418922", "text": "public DateInput() {\n \t\tthis(\"dateinput\");\n \t}", "title": "" }, { "docid": "4cba965922f2fefb924f5f06d4cb6013", "score": "0.47314405", "text": "public SimulatorInput(String input){\n\t\t\t\n\t\ttry {\n\t\t\tFileInputStream fis = new FileInputStream(new File(input));\n\t\t\tInputStreamReader isr = new InputStreamReader(fis);\n\t\t\tin = new BufferedReader(isr);\n\t\t} catch(FileNotFoundException e){\n\t\t\tSystem.out.println(\"\\nError: Problems opening output trace file.\" +\n\t\t\t\t\t\" Aborting.\\n\\n\");\n\t\t\tSystem.exit(1);\n\t\t} // Open the BufferedReader on input file.\n\t}", "title": "" }, { "docid": "d320d2e6a586e4958249361ef7959732", "score": "0.47241372", "text": "@JsonProperty(\"input\")\n public ManyHellosRunEachInput getInput() {\n return input;\n }", "title": "" }, { "docid": "3ac734297984728199330c8996ed572c", "score": "0.47236052", "text": "public Expression parseExp(String input) {\n return parseExp(input, false);\n }", "title": "" }, { "docid": "ab749d42c29dcb9b6624d219cc705219", "score": "0.471567", "text": "public FieldBuilder with(FCSRequest request) {\n\t\tlogger.debug(\"construct required information to call database\");\n\t\tthis.model = mapper.mapToModel(request);\n\t\treturn this;\n\t}", "title": "" }, { "docid": "3a146147ef99e51bdede69ffc2e74ae3", "score": "0.47121024", "text": "private InputHandler() {}", "title": "" }, { "docid": "ef16c601efbf78d422cbd80fe4a4d07e", "score": "0.47108945", "text": "public void setInput(Input arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "3898e467f6759704b4272777dbc514a9", "score": "0.4695815", "text": "public SomeRelation(String input) throws DmcValueException {\n IntegerVar seppos = new IntegerVar(-1);\n DefinitionName n = DmcTypeDefinitionNameSTATIC.instance.typeCheck(getNextField(input,seppos,\"object name\",false));\n myName = new DmcTypeDefinitionNameSV(__name);\n myName.set(n);\n\n _count = DmcTypeIntegerSTATIC.instance.typeCheck(getNextField(input,seppos,\"count\",false));\n _order = DmcTypeIntegerSTATIC.instance.typeCheck(getNextField(input,seppos,\"order\",true));\n }", "title": "" }, { "docid": "43d329d16caabc723c82718871b732ac", "score": "0.4694932", "text": "public InputMandatorySpec(){\n\n }", "title": "" }, { "docid": "8d9d5ddfe4214c162c9342e566acfcfc", "score": "0.4693873", "text": "public static CircuitInput fromSecretKey(SecretKey inputKey) {\n\t\t//Set the encoded key as the circuit inputs.\n\t\tbyte[] inputBinaryArray = BinaryUtils.getBinaryByteArray(inputKey.getEncoded());\n\t\t\n\t\t//Create the labels of the circuit.\n\t\tint[] inputLabels = new int[inputBinaryArray.length];\n\t\tfor (int i = 0; i < inputBinaryArray.length; i++) {\n\t\t\tinputLabels[i] = i+1; // labels start at \"1\".\n\t\t}\n\t\t//Create a new CircuitInput object from the inputs and indices arrays and return it.\n\t\treturn new CircuitInput(inputBinaryArray, inputLabels);\n\t}", "title": "" }, { "docid": "0f88a966af8e708a8c72decb0c1fd7b9", "score": "0.4691838", "text": "List<ExpressionContext> getInputExpressions();", "title": "" }, { "docid": "c4abb73ca424292a28e5ef69ef484d6e", "score": "0.4679059", "text": "public void newInput() {\r\n\t\tinputTXT = getConsoleinp().getText();\r\n\t\tif (inputTXT.length()==0) { //Nur enter drücken soll nichts machen\r\n\t\t\tinput = false;\r\n\t\t}\r\n\t\telse {\t\t\t\t\t\t //aber sonst cleared er dieses Inputfeld\r\n\t\t\tinput = true;\r\n\t\t\tinputTXT = getConsoleinp().getText();\r\n\t\t\tgetConsoleinp().setText(null);\r\n\t\t\tinputHandler(inputTXT);\t //und leiten ihn zum (sehr billigen, nicht genuzten)Handler weiter.\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "3d80e115a058d2958272358a847f9e57", "score": "0.4675664", "text": "EventCommand(String input) {\n this.input = input;\n }", "title": "" }, { "docid": "b6407ee160a68ca58ccd6d5ec96ac1dd", "score": "0.46753705", "text": "public IncrementalModifierRecipeBuilder setInput(Ingredient input, int amountPerItem, int neededPerLevel) {\n if (amountPerItem < 1) {\n throw new IllegalArgumentException(\"Amount per item must be at least 1\");\n }\n if (neededPerLevel <= amountPerItem) {\n throw new IllegalArgumentException(\"Needed per level must be greater than amount per item\");\n }\n this.input = input;\n this.amountPerItem = amountPerItem;\n this.neededPerLevel = neededPerLevel;\n return this;\n }", "title": "" }, { "docid": "82fa302a6cb97f3ad56f96a0682d15c5", "score": "0.46660116", "text": "public Option(StreamInput in) throws IOException {\n super(in);\n dummy = in.readString();\n }", "title": "" }, { "docid": "a1db0a64f15624178d25d93a5f5880a5", "score": "0.46625286", "text": "public String getInput()\n\t{\n\t\treturn this.input;\n\t}", "title": "" }, { "docid": "23755b4d4cc6c52ff9eb43d5f25bddd9", "score": "0.46481514", "text": "public static void getInput() {\n Main.input = IBIO.input();\n CommandListener.takeCommand(Main.input.toLowerCase());\n }", "title": "" }, { "docid": "634b8011d29dc0b1fe2560a1d90b70ed", "score": "0.4647498", "text": "public ListCommand(String lineInput) {\n super(lineInput);\n }", "title": "" } ]
4103f855b9cd451765ece165693d9e6f
Register current server name as 'server'
[ { "docid": "72f903596e73a817a618446e7d2e2f6e", "score": "0.8293928", "text": "void registerServer(String server);", "title": "" } ]
[ { "docid": "8d7e0e8fa48db072a08cdc9b3c6ade1b", "score": "0.7788385", "text": "public void registered(String server);", "title": "" }, { "docid": "f2446774c88128ef993d7a6704a87e14", "score": "0.7217181", "text": "@Override\r\n public void setServerName(String serverName)\r\n {\r\n myServerName = serverName;\r\n }", "title": "" }, { "docid": "9296d2d7326d464111298822c7fd69a7", "score": "0.7108585", "text": "public void setServer(String m) {\n this.server = m;\n }", "title": "" }, { "docid": "71dbb3d1ec255cb56c7a38603d97df25", "score": "0.70411175", "text": "public void registerWithServer() {\r\n // Make registration packet\r\n Registration registrationPacket = new Registration(this.ipAddress, this.port, this.friendlyName);\r\n String json = new Gson().toJson(registrationPacket);\r\n\r\n try {\r\n String url = Utilities.formURL(this.serverIPAddress, Endpoint.SERVER_REGISTER);\r\n System.out.println(\"Registering with server (\" + url + \")...\");\r\n\r\n ContentResponse resp = Utilities.sendPOSTRequest(url, json);\r\n\r\n } catch (Exception e) {\r\n // TODO this can be better\r\n System.out.println(e.getMessage());\r\n }\r\n }", "title": "" }, { "docid": "94433f02702b76dea7ae50f7bc1a408e", "score": "0.6915635", "text": "public void addServer(String server) {\r\n\t\tthis.serverSurveillanceList.add(server);\r\n\t}", "title": "" }, { "docid": "198e0fdb4225a88b1bd3e1a688eed708", "score": "0.688374", "text": "public void setServerName(java.lang.String value);", "title": "" }, { "docid": "faa51719fb719a98fb86b23f6e179896", "score": "0.6844857", "text": "public void registrationUpdated(String server);", "title": "" }, { "docid": "53a87b7144e1a7e9afaabfeb6429c07b", "score": "0.6824929", "text": "public void setServerName( String serverName ) {\r\n this.serverName = serverName;\r\n }", "title": "" }, { "docid": "18798130e40ae964947127b606523bce", "score": "0.6779669", "text": "public final void setServer(final String server) {\n this.server = server;\n }", "title": "" }, { "docid": "db104cd13ebdd5cbc482412454b52af5", "score": "0.6763924", "text": "public void setServerName(String name) { \n mServerName = name; \n }", "title": "" }, { "docid": "138a6309d6dd3b1624074c6750156811", "score": "0.6762376", "text": "public void setServer (Server s) {\r\n\t\tthis.server = s;\r\n\t}", "title": "" }, { "docid": "b0c0e08588384e33758f3102a2910386", "score": "0.6647559", "text": "public void setServerName(String name) {\n request.serverName().setString(name);\n }", "title": "" }, { "docid": "6cd26dfb9ad291866586135c46ed4548", "score": "0.65877813", "text": "@Localize(value=\"Connection.setServer\")\r\n\tpublic void setServer(String serverName)\r\n {\r\n\t\tthis.serverName = serverName;\r\n }", "title": "" }, { "docid": "769b172cf72daae12a6e8a74bb3dc91e", "score": "0.6519612", "text": "public void setServer(String server)\n {\n this._dbSrvName = server;\n }", "title": "" }, { "docid": "47a03bfd7dd479e6f8a779610c244ef7", "score": "0.65116596", "text": "public void setServerName(String pServerName)\r\n {\r\n myServerNameStr = pServerName;\r\n }", "title": "" }, { "docid": "9cb1375cee6120054b3990bd51f05e60", "score": "0.64942753", "text": "@Override\r\n public String getServerName()\r\n {\r\n return myServerName;\r\n }", "title": "" }, { "docid": "ccc2380ebb7384c48e9577a27ad39354", "score": "0.6481487", "text": "@Override\n\tpublic void addServer(ServerList entry) {\n\t\t\n\t}", "title": "" }, { "docid": "eaed5868d69d29fc7117adbf5844e88f", "score": "0.6468785", "text": "public void setServer(GameServer server) { this.server = server; }", "title": "" }, { "docid": "91ac5905e2856d3ff51036e9be7511d6", "score": "0.6463665", "text": "private void startRegister(String serverName, Instance instance) {\n if (instance.isEnabled()) {\n HeartInfo heartInfo = new HeartInfo();\n heartInfo.setIp(instance.getIp());\n heartInfo.setAppName(instance.getAppName());\n heartInfo.setPort(instance.getPort());\n heartInfo.setWeight(instance.getWeight());\n heartbeatManager.addHeartInfo(serverName, heartInfo);\n serverProxy.registerApp(serverName,instance);\n }\n //no sth to do\n }", "title": "" }, { "docid": "a6f1d4f5facbad453bc842e21743abc2", "score": "0.63483214", "text": "public String getServerName() {\r\n return serverName;\r\n }", "title": "" }, { "docid": "a6f1d4f5facbad453bc842e21743abc2", "score": "0.63483214", "text": "public String getServerName() {\r\n return serverName;\r\n }", "title": "" }, { "docid": "08ced4d9b47c65aca7f4dbb07cea1e12", "score": "0.6335098", "text": "public String getServerName() {\n return \"localhost\";\n }", "title": "" }, { "docid": "9614da851134dbd9469706ac2ac98ba8", "score": "0.62977153", "text": "String getServerName();", "title": "" }, { "docid": "9614da851134dbd9469706ac2ac98ba8", "score": "0.62977153", "text": "String getServerName();", "title": "" }, { "docid": "881cb41e2247cec9aa604a0dbe953a53", "score": "0.62970895", "text": "public String serverName() {\n return this.serverName;\n }", "title": "" }, { "docid": "881cb41e2247cec9aa604a0dbe953a53", "score": "0.62970895", "text": "public String serverName() {\n return this.serverName;\n }", "title": "" }, { "docid": "a46047d4fdd8f70b5f817b5e77e53750", "score": "0.6281307", "text": "public String getServerName()\n {\n return serverName;\n }", "title": "" }, { "docid": "4827ce5aaf082a39c8af29d0665c5f53", "score": "0.62780124", "text": "default String getServerName ()\n {\n return getRequest ().getServerName ();\n }", "title": "" }, { "docid": "097898c789edf39c46d5ba0faec49fd4", "score": "0.62757605", "text": "public String getServerName();", "title": "" }, { "docid": "097898c789edf39c46d5ba0faec49fd4", "score": "0.62757605", "text": "public String getServerName();", "title": "" }, { "docid": "16a387a7e00ab5f4b7d1edf4615c2497", "score": "0.6268747", "text": "private void createServer(int port) {\n this.server = new Server(port, Environment.numberOfObservationElements, Environment.numberOfButtons);\n// this.name += server.getClientName();\n }", "title": "" }, { "docid": "c83d708a9de71adbd81e802137b239f1", "score": "0.62665385", "text": "public void add(String hostname, int port, String identifier) {\r\n Server server = new Server(hostname, port);\r\n server.setIdentifier(identifier);\r\n server.setDucksController(ducksController);\r\n servers.add(server);\r\n\r\n log.info(\"Added jist server [\" + server.getIdentifier() + \"] at \" + server.getHost() + \":\" + server.getPort());\r\n }", "title": "" }, { "docid": "61d8f7c1430e42f5dee84d0d29aabbba", "score": "0.62662816", "text": "public String getServerName() {\n return serverName;\n }", "title": "" }, { "docid": "61d8f7c1430e42f5dee84d0d29aabbba", "score": "0.62662816", "text": "public String getServerName() {\n return serverName;\n }", "title": "" }, { "docid": "61d8f7c1430e42f5dee84d0d29aabbba", "score": "0.62662816", "text": "public String getServerName() {\n return serverName;\n }", "title": "" }, { "docid": "61d8f7c1430e42f5dee84d0d29aabbba", "score": "0.62662816", "text": "public String getServerName() {\n return serverName;\n }", "title": "" }, { "docid": "dadb9af5344a6c69acd6b253e93a000c", "score": "0.6255469", "text": "public String getServerName() {\n return this.serverName;\n }", "title": "" }, { "docid": "26e75bf623dabf92b870d397776de80e", "score": "0.62135094", "text": "java.lang.String getServerName();", "title": "" }, { "docid": "b5b43133468878a52928f3384a99cc45", "score": "0.6204336", "text": "public Builder setServerName(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n serverName_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "d7cbe1e603b92ee881d2d82138419aca", "score": "0.6167481", "text": "private String setMasterServerName() {\r\n\r\n System.out.println(\"Insert master_node server name:\");\r\n return scanner.nextLine();\r\n }", "title": "" }, { "docid": "51752a9fdf2d853b0e83648951a2fe51", "score": "0.61312455", "text": "@JsonProperty(\"server\")\n public void setServer(String server) {\n this.server = server;\n }", "title": "" }, { "docid": "58a33acbc49487d87ea544378b212604", "score": "0.6128988", "text": "ServerInfo getServer();", "title": "" }, { "docid": "6281fc410c3a5c6d38b348ff6372b793", "score": "0.6119354", "text": "Server createServer();", "title": "" }, { "docid": "aa954a5de304e2c52cab8f06396b85c3", "score": "0.6115062", "text": "public synchronized String getServer() {\n return server;\n }", "title": "" }, { "docid": "33b03229d9c697474e9da9cabb59562a", "score": "0.6086939", "text": "@Override\n\t\t\tpublic String getServerName() {\n\t\t\t\treturn null;\n\t\t\t}", "title": "" }, { "docid": "bfdd8c65853fa04ece11ebd580e41b11", "score": "0.60755605", "text": "public String getServer() {\r\n return mServer;\r\n }", "title": "" }, { "docid": "e45f49709cb6f0d1c440c47bc02d9113", "score": "0.60752434", "text": "public static void setServ(Server serv) \n\t{\n\t\tPrimaryWindow.serv = serv;\n\t}", "title": "" }, { "docid": "faeb034777d61779c81c85c74f6ef8ec", "score": "0.6070917", "text": "@Override\n public void serverSpecificRegisterMBean() {\n super.serverSpecificRegisterMBean();\n // get and cache module and application name during registration\n initializeApplicationNameAndModuleName();\n }", "title": "" }, { "docid": "bfa9546968a7fd0837f8df02bebc6d35", "score": "0.6070722", "text": "public void setTrackingServer(String addr, int port) {//\r\n\t\tserverAddress = new NetAddress(addr, port);\r\n\t\tLog.i(LogTag, \"setTrackingServer \" + addr + \":\" + port);\r\n\t\t\r\n\t}", "title": "" }, { "docid": "a7f057fa1feda21d8c2218b3eca09d9b", "score": "0.60705036", "text": "public static void register() {\n ImagineCraft.registerListener(new InternalServerListPingListener());\n\n // register listeners\n listeners.add(new ServerInfo());\n }", "title": "" }, { "docid": "a74cc6fba2d0267823f325960b4c98a8", "score": "0.60682046", "text": "public static void setServer(Server server) {\n if (Crimson.server != null) throw new UnsupportedOperationException(\"Server instance is already set.\");\n Crimson.server = server;\n }", "title": "" }, { "docid": "b2953269d82a290b2583aad149bf9a38", "score": "0.6067179", "text": "public final String getServer() {\n return server;\n }", "title": "" }, { "docid": "ebc3af3a204f1c7df939b9ee67697902", "score": "0.60567987", "text": "private void updateServerName(String serverName) {\n this.serverName = serverName;\n\n if ((serverName != null) && !serverName.equals(\"\")) {\n// apiUserKey = Utils.decorateBlackboardUserName(bbUserName);\n apiUserKey = resultMap.get(\"panoptoId\").toString();\n apiUserPwd = resultMap.get(\"panoptoPwd\").toString();\n// apiUserAuthCode = Utils.generateAuthCode(serverName, apiUserKey + \"@\" + serverName); \n sessionManagement = getPanoptoSessionManagementSOAPService(serverName);\n usageReporting = getPanoptoUsageReportingSOAPService(serverName);\n serverVersion = getServerVersion();\n\n } else {\n apiUserKey = null;\n apiUserAuthCode = null;\n sessionManagement = null;\n serverVersion = null;\n }\n }", "title": "" }, { "docid": "e4a186d6ba32a3c65a65b013affdda01", "score": "0.6053419", "text": "void register(String port) throws MalformedURLException, XmlRpcException{\n\t\tXmlRpcClientConfigImpl config = new XmlRpcClientConfigImpl();\n\t\tString urla = String.format(\"http://127.0.0.1:%s\", port);\n\t\tconfig.setServerURL( new URL(urla) );\n\n XmlRpcClient client = new XmlRpcClient();\n client.setConfig( config );\n\n Object[] params = { this.name };\n String result = ( String ) client.execute( \"Master.register\", params );\n\n System.out.println( result );\n\t}", "title": "" }, { "docid": "f5e932839be4d24a6b1a3c6fa9f2beda", "score": "0.60438806", "text": "public void StartServer(String name) {\n System.setSecurityManager(new SecurityManager());\n try {\n Client stub = (Client) UnicastRemoteObject.exportObject(this, 0);\n Registry reg = LocateRegistry.getRegistry();\n reg.bind(name, stub);\n } catch(Exception exception) {\n exception.printStackTrace();\n }\n }", "title": "" }, { "docid": "11904b1471c7560be7a55ce752fa0029", "score": "0.60404927", "text": "public String getServerName()\r\n {\r\n return myServerNameStr;\r\n }", "title": "" }, { "docid": "ab112ce3c7f195912670377a1569bdc5", "score": "0.6038103", "text": "protected String getServer()\n {\n return serverHost\n + (serverPort.isEmpty()\n ? \"\"\n : \":\" + serverPort);\n }", "title": "" }, { "docid": "8d9bd698977d0b8680142634f3e55178", "score": "0.60370284", "text": "void setServerConnection(ServerConnection serverConnection);", "title": "" }, { "docid": "c14d08c74ab3bdfdce1814ee2a3c1eb0", "score": "0.60250527", "text": "public static void setNtwrkServer(Server s) {\n LOGGER.debug(s);\n server = s;\n }", "title": "" }, { "docid": "77e93c7acc4154ea5a8d0f01fa6455ee", "score": "0.6022494", "text": "void setServerURL(String serverURL);", "title": "" }, { "docid": "3d92a362358bd0611f1142a114bad190", "score": "0.6014709", "text": "@Override\r\n\tpublic String getServerName() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "bd7ae3320ed2f2e2db8969412faa7c04", "score": "0.60104674", "text": "void registerXMPPServer(CssRecord profile, ICSSManagerCallback callback);", "title": "" }, { "docid": "465c12a47b57dcaa561ccde15b07e523", "score": "0.5994896", "text": "public ServerHolder(int port, String serverName, Context context) {\n this.serverName = serverName;\n this.port = port;\n this.context = context;\n lobbyNotification = (LobbyNotification) context;\n server_id = USER_UNIQUE_ID;\n serverPlayer = new Players(serverName, server_id);\n players.add(serverPlayer);\n USER_UNIQUE_ID++;\n }", "title": "" }, { "docid": "217a23c9e28c54580084a43b502053d7", "score": "0.59925216", "text": "public void setServer(Server server) throws IllegalArgumentException;", "title": "" }, { "docid": "b23f8edf24b66e54bc6a425b5a40a961", "score": "0.5989947", "text": "public void setServer(Long server)\n {\n this.server = server;\n }", "title": "" }, { "docid": "7812599fa33bb6456305438bcc89dcf4", "score": "0.5983201", "text": "@Override\n public String getServerName() {\n return null;\n }", "title": "" }, { "docid": "70ff968c373ce5c819925a8cb1203739", "score": "0.598015", "text": "@Override\n\tpublic String getServerName() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "1d8786c7de2f41ebab35bbd0acb3d3b5", "score": "0.59798145", "text": "public void setIdServer(int idServer) {\n IdServer = idServer;\n }", "title": "" }, { "docid": "00f16078aa065fd22747d7be456071fe", "score": "0.5978225", "text": "void serverChanged(ITeiidServer server);", "title": "" }, { "docid": "5bd351b90f6ffafe6b94a244ebe9db67", "score": "0.59766847", "text": "public void setServerAddress(String address) {\r\n this.serverAddress = address;\r\n }", "title": "" }, { "docid": "cd2fc771b4ad115c26f812e128080763", "score": "0.5969977", "text": "public void setServer(CloudStackServer server) {\r\n this.server = server;\r\n }", "title": "" }, { "docid": "ed410ea08c22f7fb6af19232691aec00", "score": "0.59680086", "text": "public interface ServerRegistry {\n void register(String name, ClientData clientData);\n void deRegister(String name);\n boolean exists(String name);\n ClientData getData(String name);\n}", "title": "" }, { "docid": "82aa5969139b64a3d16641d448199adc", "score": "0.59555143", "text": "public static void setServer(Server server){\n if(Phoenix.server != null)\n throw new UnsupportedOperationException(\"Server has already defined.\");\n Phoenix.server = server;\n server.getLogger().info(\"Phoenix is running on \" + server.getName()+ \" version \" + server.getVersion() + \".\");\n\n // Init Phoenix\n // / Command\n commandManager = new CommandManager();\n // / Configuration\n configurationManager = new ConfigurationManager();\n // / Event\n eventManager = new EventManager();\n // / Channel\n channelManager = new ChannelManager();\n // / Module\n moduleManager = new ModuleManager();\n\n getServer().getInterface().loadModules();\n moduleManager.initialModules();\n\n moduleManager.enableModules();\n }", "title": "" }, { "docid": "310ff1a197a46615a0b74dfdf3c8a92e", "score": "0.5943092", "text": "private static void register() {\n\t\tnick = \"\";\n\t\tString realName = \"\";\n\t\twhile (realName.equals(\"\") || nick.equals(\"\")) {\n\t\t\tnick = JOptionPane.showInputDialog(\"Enter your username\");\n\t\t\trealName = JOptionPane.showInputDialog(\"Enter your real name\");\n\t\t}\n\t\tout.println(\"NICK \" + nick);\n\t\tloadToPanel(serverName, \"NICK \" + nick);\n\t\tout.println(\"USER \" + nick + \" somewhere \" + \"overtherainbow :\" + realName);\n\t\tloadToPanel(serverName, \"USER \" + nick + \" somewhere \" + \"overtherainbow :\" + realName);\n\t}", "title": "" }, { "docid": "d6c3039a08215e05d69b58a45de4e4d5", "score": "0.5941721", "text": "@Override\r\n public String getServerName() {\n return null;\r\n }", "title": "" }, { "docid": "63524550d16b332554822a8792345753", "score": "0.59322184", "text": "@Override\n public void setTcpServer( final String val )\n {\n this.tcpServer = val;\n }", "title": "" }, { "docid": "50d81f2d45b094d25d2de465de6a5d87", "score": "0.59286076", "text": "private void registerWithChatServer(ChatServer server) {\n try {\n UnicastRemoteObject.exportObject(this);\n server.addClient(this);\n } catch (RemoteException e) {\n // General RMI problem, try to exit\n System.out.println(\"Remote exception: \" + e.getMessage());\n System.exit(1);\n } catch (Exception e) {\n // Some other problem, try to exit\n System.out.println(\"General exception: \" + e.getClass().getName() + \": \" + e.getMessage());\n System.exit(1);\n }\n }", "title": "" }, { "docid": "38b65fa5a92dd827fc9d3c58ba1ddfb1", "score": "0.59083056", "text": "private String portKey() {\n return \"grpc_server:\" + name;\n }", "title": "" }, { "docid": "47c430fb85e5f4b21917466a84b915b7", "score": "0.5897751", "text": "public String getServer()\n {\n return this._dbSrvName;\n }", "title": "" }, { "docid": "7ab29aea4302105b57f32bffcd0339ef", "score": "0.5895019", "text": "private String getServerId() {\n\t return serverConfigurationService.getServerId();\n }", "title": "" }, { "docid": "7536ad3a451c29707478f71b3bede2ab", "score": "0.58922064", "text": "public static void setServer(Server theServer) {\r\n\r\n server.compareAndSet(null, theServer);\r\n\r\n }", "title": "" }, { "docid": "3e5037b162ddb289142feaeb23ff3e5a", "score": "0.58907187", "text": "public static void add_server_instance(applicationsInstance server) {\n serverInstances.put(server.getIp(), server);\n }", "title": "" }, { "docid": "f86e68ef51d552d848611a5af6c3e900", "score": "0.58782405", "text": "public static void registerServer(String server, String queue, int needs) {\n QueuedServer qs = servers.get(server);\n if(qs == null) {\n qs = new QueuedServer(server, needs);\n servers.put(server, qs);\n }else\n qs.update(needs);\n GameQueue q;\n qLock.readLock().lock();\n try {\n q = queues.get(queue);\n if(q != null)\n qs.addQueue(q);\n }finally {\n qLock.readLock().unlock();\n }\n if(q == null) {\n qLock.writeLock().lock();\n try {\n q = new GameQueue(queue);\n qs.addQueue(q);\n }finally {\n qLock.writeLock().unlock();\n }\n }\n }", "title": "" }, { "docid": "267256c4c54318b11cecc7164f4031aa", "score": "0.5869103", "text": "public void setServer(CloudStackServer server) {\n this.server = server;\n }", "title": "" }, { "docid": "bd134b1a6df66ce902ffed368ce70962", "score": "0.5867922", "text": "public void unregistered(String server);", "title": "" }, { "docid": "62bdf66e79e5681a0d98079f67a7ce50", "score": "0.5856679", "text": "public void changeServer() {\n\t\tserver = (server % 2) + 1;\n\t}", "title": "" }, { "docid": "3c48d90ad9bb372d24b581dd5643d029", "score": "0.5855368", "text": "@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getServerName();", "title": "" }, { "docid": "8a952b82921ac90a2753580d83d021cd", "score": "0.5854115", "text": "public String getServerName() {\n\t\t\treturn null;\n\t\t}", "title": "" }, { "docid": "a660cd72c20b07e36b202a0073a943a4", "score": "0.5840314", "text": "@PostConstruct\n public void registerInstance() throws NacosException, NacosException {\n namingService.registerInstance(applicationName,\"127.0.0.1\",serverPort);\n// if(CollectionUtils.isEmpty(namingService.getAllInstances(applicationName))){\n// namingService.registerInstance(applicationName,\"127.0.0.1\",serverPort);\n// }\n }", "title": "" }, { "docid": "447fb84fb009b50762f91fd6c5cd16e1", "score": "0.58393663", "text": "private void setServerInfo(ServletRequest req) {\n this.hostname = req.getServerName();\n this.port = req.getServerPort();\n }", "title": "" }, { "docid": "3ff2210a93dd74cc5856cdbb6eeaa361", "score": "0.58367866", "text": "protected void setHost(String host)\n {\n serverHost = host;\n }", "title": "" }, { "docid": "d67acf0b563ed43532923ddcf7ab2970", "score": "0.5836678", "text": "public void initServer() {\r\n\r\n\t}", "title": "" }, { "docid": "e6afda361e7e72908d1fdb732ae2156e", "score": "0.5836255", "text": "public static void saveLastNextcloudServer(Context context, String server) {\n SharedPreferences preferences = context.getSharedPreferences(PREFERENCES_FILE_NAME,\n Context.MODE_PRIVATE);\n preferences.edit().putString(AppPreferences.LAST_NEXTCLOUD_SERVER, server).apply();\n }", "title": "" }, { "docid": "49c74e5911b9ca8f6a473ca36f99b96a", "score": "0.5836029", "text": "void addServerBean(ServerBean bean);", "title": "" }, { "docid": "540177d27e2a5ebd0750df277d15988f", "score": "0.583552", "text": "public void addServer(ActionListener e) {\n\t\taddServerBtn.addActionListener(e);\n\t}", "title": "" }, { "docid": "e593c38f53893c9e2f8a9cea03a476eb", "score": "0.58268505", "text": "public void serverStarted() { }", "title": "" }, { "docid": "3fbd932d597e0a7a65b5cbd8b94a266c", "score": "0.5796239", "text": "public void setTrackingServer(NetAddress addr) {\r\n\t\tserverAddress = addr;\r\n\t\tLog.i(LogTag, \"setTrackingServer addr \" + addr.address());\r\n\t}", "title": "" }, { "docid": "930d8795a46cb768cd5cc20e9407353b", "score": "0.5795436", "text": "private void register() {\r\n\t\tthis.instanceId = this.getInstanceId();\r\n\t\tHost h = new Host(hostname, replicatePort, this.dataPort, instanceId);\r\n\t\tSystem.out.println(\"Before sending:\" + h.toString());\r\n\r\n\t\tthis.instanceId = ci.Register(h);\r\n\t\tif (this.instanceId.getId() == -1) {\r\n\t\t\tSystem.out\r\n\t\t\t\t\t.println(\"Log: Conflict id,remove myid file in the data directory and try again\");\r\n\t\t}\r\n\t\tthis.setInstanceId(this.instanceId.getId());\r\n\t}", "title": "" }, { "docid": "8beb1182ea40e3dae6f9f13856f9ea30", "score": "0.5791069", "text": "String getHbaseregionserver_name();", "title": "" }, { "docid": "bb1b22fc57faa0121d13eeb758406d20", "score": "0.57636964", "text": "public String getServerName() {\n return request.serverName().toString();\n }", "title": "" } ]
079a74c24f8aebdff8481b4f1d5a3971
System.out.println("plrRack mouseDragged (" + e.getX() + "," + e.getY() + ")");
[ { "docid": "a73a6f0592bb159d58876c6359d8d7ec", "score": "0.0", "text": "@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\n\t\tdragX = e.getX();\n\t\tdragY = e.getY();\n\t\t\n\t\tif (ballDragging > 0) {\n\t\t\tif (p1clicked) {\n\t\t\t\tAutoPoolScorer.mainWindow.scoreWindow.p2RackDetails.ballDragging = ballDragging;\n\t\t\t\tAutoPoolScorer.mainWindow.scoreWindow.p2RackDetails.dragX = dragX - 1*(AutoPoolScorer.mainWindow.scoreWindow.VIRTUAL_RACK_WIDTH+2);\n\t\t\t\tAutoPoolScorer.mainWindow.scoreWindow.p2RackDetails.dragY = dragY;\n\t\t\t\t\n\t\t\t\tAutoPoolScorer.mainWindow.scoreWindow.virtualRack.ballDragging = ballDragging;\n\t\t\t\tAutoPoolScorer.mainWindow.scoreWindow.virtualRack.dragX = dragX - 2*(AutoPoolScorer.mainWindow.scoreWindow.VIRTUAL_RACK_WIDTH+2);\n\t\t\t\tAutoPoolScorer.mainWindow.scoreWindow.virtualRack.dragY = dragY;\n\t\t\t\t\n\t\t\t} else {\n\t\t\t\tAutoPoolScorer.mainWindow.scoreWindow.p1RackDetails.ballDragging = ballDragging;\n\t\t\t\tAutoPoolScorer.mainWindow.scoreWindow.p1RackDetails.dragX = dragX + 1*(AutoPoolScorer.mainWindow.scoreWindow.VIRTUAL_RACK_WIDTH+2);\n\t\t\t\tAutoPoolScorer.mainWindow.scoreWindow.p1RackDetails.dragY = dragY;\n\t\t\t\n\t\t\t\tAutoPoolScorer.mainWindow.scoreWindow.virtualRack.ballDragging = ballDragging;\n\t\t\t\tAutoPoolScorer.mainWindow.scoreWindow.virtualRack.dragX = dragX - 1*(AutoPoolScorer.mainWindow.scoreWindow.VIRTUAL_RACK_WIDTH+2);\n\t\t\t\tAutoPoolScorer.mainWindow.scoreWindow.virtualRack.dragY = dragY;\n\n\t\t\t}\n\t\t\tAutoPoolScorer.mainWindow.scoreWindow.repaint();\n\t\t}\n\t}", "title": "" } ]
[ { "docid": "df37cc0f5823b8a3dd03569043826f60", "score": "0.80395585", "text": "String mouseDragged(Point locationOnScreen, Graphics2D g);", "title": "" }, { "docid": "708e4fc52b9cbbecf0f231924e2d6abb", "score": "0.8002926", "text": "public void mouseDragged(MouseEvent e) {\n }", "title": "" }, { "docid": "b2ef7f4a9cddb4c563da57ad8d06c28c", "score": "0.7992796", "text": "public void mouseDragged(MouseEvent e) {\n\r\n\t}", "title": "" }, { "docid": "6584cff843a9e4524bef8d24f936fc3f", "score": "0.797527", "text": "public void mouseDragged(int x, int y){\n }", "title": "" }, { "docid": "21daa03dd42585b748ecd9413b20fd82", "score": "0.7910651", "text": "public void mouseDragged(MouseEvent e)\r\n {\r\n }", "title": "" }, { "docid": "9e9c76cd19d24d142289cc41e45b9c43", "score": "0.7850539", "text": "public void mouseDragged(MouseEvent e) {\r\n\t\t\txOffset=e.getX()-x+xOff;\r\n\t\t\tyOffset=e.getY()-y+yOff;\r\n\t\t\tSystem.out.println(\"x: \"+xOffset+\"y: \"+yOffset);\r\n\t\t\trepaint();\r\n\t\t}", "title": "" }, { "docid": "8a59f597693a31d5d57969d92b067085", "score": "0.78278744", "text": "public void mouseDragged(MouseEvent e) {\n\t}", "title": "" }, { "docid": "e1c9d52d4b38e6c62524e214cad9aa55", "score": "0.77332574", "text": "@Override\n public void mouseDragged(MouseEvent e) {\n }", "title": "" }, { "docid": "52494daf0098cdd65c712022646825c5", "score": "0.7715723", "text": "public void mouseDragged( MouseEvent e )\n\t{\n\n\t}", "title": "" }, { "docid": "fc0b706351872c469a30dc4bd22fc739", "score": "0.7712119", "text": "@Override\r\n\tpublic void mouseDragged(MouseEvent e) {\n\r\n\t}", "title": "" }, { "docid": "fc0b706351872c469a30dc4bd22fc739", "score": "0.7712119", "text": "@Override\r\n\tpublic void mouseDragged(MouseEvent e) {\n\r\n\t}", "title": "" }, { "docid": "e381236eec6ed7c9cd2403f29abef84d", "score": "0.7705126", "text": "@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "e381236eec6ed7c9cd2403f29abef84d", "score": "0.7705126", "text": "@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "e381236eec6ed7c9cd2403f29abef84d", "score": "0.7705126", "text": "@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "e381236eec6ed7c9cd2403f29abef84d", "score": "0.7705126", "text": "@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "e381236eec6ed7c9cd2403f29abef84d", "score": "0.7705126", "text": "@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "e381236eec6ed7c9cd2403f29abef84d", "score": "0.7705126", "text": "@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "e381236eec6ed7c9cd2403f29abef84d", "score": "0.7705126", "text": "@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "e381236eec6ed7c9cd2403f29abef84d", "score": "0.7705126", "text": "@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "e381236eec6ed7c9cd2403f29abef84d", "score": "0.7705126", "text": "@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "e381236eec6ed7c9cd2403f29abef84d", "score": "0.7705126", "text": "@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "e381236eec6ed7c9cd2403f29abef84d", "score": "0.7705126", "text": "@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "628db2caf61bf4060941fb2e16d35fb7", "score": "0.769709", "text": "public void mouseDragged(MouseEvent arg0) {\n\r\n\t}", "title": "" }, { "docid": "73e1d5792826436194fd7a3c8b3b1fff", "score": "0.7691139", "text": "@Override\r\n\tpublic void mouseDragged(MouseEvent e) {\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "8a57fdd3c279e6d37b1f9890254452ad", "score": "0.7681065", "text": "@Override\n public void mouseDragged(MouseEvent e) {\n \n }", "title": "" }, { "docid": "7e25287ce154b100e9b6fae4ac20aec3", "score": "0.7675824", "text": "@Override\r\n\tpublic void mouseDragged(MouseEvent arg0) {\n\r\n\t}", "title": "" }, { "docid": "7360885c47e1a8ef82d8859baaebb3fb", "score": "0.767559", "text": "@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\n\t}", "title": "" }, { "docid": "7360885c47e1a8ef82d8859baaebb3fb", "score": "0.767559", "text": "@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\n\t}", "title": "" }, { "docid": "ff9458d225b3bc986a40265c4636d3dd", "score": "0.7657729", "text": "@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t}", "title": "" }, { "docid": "ff9458d225b3bc986a40265c4636d3dd", "score": "0.7657729", "text": "@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t}", "title": "" }, { "docid": "59a457330987491240794cb04f5c8eff", "score": "0.76532567", "text": "@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\tSystem.out.println(\"마우스 DRAG\");\t\t\t\n\t}", "title": "" }, { "docid": "23f9e230775841e7268bbab35d2e42e4", "score": "0.76514256", "text": "public static void mouseDragged(MouseEvent e) {\n }", "title": "" }, { "docid": "7c7ec25ba270a19000c34ed93ceed5d5", "score": "0.76437", "text": "@Override\n\t\tpublic void mouseDragged(MouseEvent e) {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "7c7ec25ba270a19000c34ed93ceed5d5", "score": "0.76437", "text": "@Override\n\t\tpublic void mouseDragged(MouseEvent e) {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "7c7ec25ba270a19000c34ed93ceed5d5", "score": "0.76437", "text": "@Override\n\t\tpublic void mouseDragged(MouseEvent e) {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "f67138bb4109a636502c4c6d75a7de59", "score": "0.76238644", "text": "@Override\r\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\r\n\t}", "title": "" }, { "docid": "f0cd70cacab9eb0c761b1e12ae78fb34", "score": "0.76135075", "text": "@Override\r\n\t\tpublic void mouseDragged(MouseEvent e) {\n\t\t\tla.setText(\"mouseDregged(\"+e.getX()+\",\"+e.getY()+\")\");\r\n\t\t}", "title": "" }, { "docid": "e0ecc84cfd385ce0167634800b6b55f5", "score": "0.7612457", "text": "@Override\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "e0ecc84cfd385ce0167634800b6b55f5", "score": "0.7612457", "text": "@Override\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "e0ecc84cfd385ce0167634800b6b55f5", "score": "0.7612457", "text": "@Override\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "e0ecc84cfd385ce0167634800b6b55f5", "score": "0.7612457", "text": "@Override\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "7af8aca2975119c79b4a8a3391c247d2", "score": "0.76110405", "text": "@Override\n public void mouseDragged(MouseEvent e) {\n }", "title": "" }, { "docid": "6131327893c04317b31ebafcfbe5e5c0", "score": "0.7601981", "text": "public void mouseDragged(MouseEvent e) {\n x = e.getX();\n y = e.getY();\n }", "title": "" }, { "docid": "6c502b0647cfd814e2ec38474e004530", "score": "0.7577065", "text": "public void mouseDragged(MouseEvent e) \n\t\t{\n\t\t\taimX = e.getX();\n\t\t\taimY = e.getY();\n\t\t\t//System.out.println(\"aimX = \" + aimX + \" aimY = \" + aimY);\n\t\t\tdragged = true;\n\t\t\trepaint();\n\t\t}", "title": "" }, { "docid": "6c502b0647cfd814e2ec38474e004530", "score": "0.7577065", "text": "public void mouseDragged(MouseEvent e) \n\t\t{\n\t\t\taimX = e.getX();\n\t\t\taimY = e.getY();\n\t\t\t//System.out.println(\"aimX = \" + aimX + \" aimY = \" + aimY);\n\t\t\tdragged = true;\n\t\t\trepaint();\n\t\t}", "title": "" }, { "docid": "6c502b0647cfd814e2ec38474e004530", "score": "0.7577065", "text": "public void mouseDragged(MouseEvent e) \n\t\t{\n\t\t\taimX = e.getX();\n\t\t\taimY = e.getY();\n\t\t\t//System.out.println(\"aimX = \" + aimX + \" aimY = \" + aimY);\n\t\t\tdragged = true;\n\t\t\trepaint();\n\t\t}", "title": "" }, { "docid": "fb83e8ea28483fbb5df9c4d9d53ab06e", "score": "0.75759995", "text": "@Override\r\n\t\tpublic void mouseDragged(MouseEvent e) {\n\t\t\tdraggedPoint = e.getLocationOnScreen();\r\n\t\t}", "title": "" }, { "docid": "4c3041fc60f2d8d682c02209015c5f72", "score": "0.7568577", "text": "@Override\n\tpublic void mouseDragged(MouseEvent arg0)\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "da3beb6be49031995488181b6df00558", "score": "0.75681794", "text": "@Override\n\tpublic void mouseDragged(MouseEvent arg0) {\n\n\t}", "title": "" }, { "docid": "da3beb6be49031995488181b6df00558", "score": "0.75681794", "text": "@Override\n\tpublic void mouseDragged(MouseEvent arg0) {\n\n\t}", "title": "" }, { "docid": "a76bbf70b0c89a4233451b1ee886400e", "score": "0.75632435", "text": "@Override\n\t\t\t\tpublic void mouseDragged(MouseEvent e) {\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "706ede4367bc1bb2037653f0fcfee549", "score": "0.7545703", "text": "@Override\r\n\t\tpublic void mouseDragged(MouseEvent e) {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "27c6425b8fe546c0a953abdad294d031", "score": "0.7539658", "text": "@Override\r\n\t\t\tpublic void mouseDragged(MouseEvent e) {\n\t\t\t}", "title": "" }, { "docid": "1a468e207e8dd44179edc8c22457a929", "score": "0.75367653", "text": "@Override\n\t\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "6b5b9ae7fc8d342c0305362b67e8e5f9", "score": "0.75200826", "text": "@Override\r\n\tpublic void mouseDragged(MouseEvent e) {\n\t\tx =e.getX();\r\n\t\ty =e.getY();\r\n\t\tsetTitle(\"x:\" + x + \"y:\" +y);\r\n\t\trepaint();\r\n\t\t\r\n\t}", "title": "" }, { "docid": "9a536957450580325958c5cc9d649028", "score": "0.7517849", "text": "public void mouseDragged(MouseEvent e) {\n\t\t}", "title": "" }, { "docid": "42a85c793ea670a22fe27bccc80f252e", "score": "0.75159293", "text": "@Override\r\n\t\t\tpublic void mouseDragged(MouseEvent e) {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "052b67f782c4ce403a84954086ed4255", "score": "0.7511064", "text": "@Override\r\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\r\n\t}", "title": "" }, { "docid": "052b67f782c4ce403a84954086ed4255", "score": "0.7511064", "text": "@Override\r\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\r\n\t}", "title": "" }, { "docid": "052b67f782c4ce403a84954086ed4255", "score": "0.7511064", "text": "@Override\r\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\r\n\t}", "title": "" }, { "docid": "428995c83278939663a3b20a12dbbc7b", "score": "0.7508297", "text": "public void mouseMoved(MouseEvent e) {}", "title": "" }, { "docid": "428995c83278939663a3b20a12dbbc7b", "score": "0.7508297", "text": "public void mouseMoved(MouseEvent e) {}", "title": "" }, { "docid": "40a6609cd92b0b9d0613997480be39e5", "score": "0.7495979", "text": "@Override\n\tpublic void mouseMoved(MouseEvent e) {\n\t\tSystem.out.println(\"鼠标当前坐标\"+e.getX()+\" ,\"+e.getY());\n\t}", "title": "" }, { "docid": "968e28153f4245aa5a127e344efe18f8", "score": "0.7491724", "text": "public void mouseDragged(MouseEvent arg0) {\n\t\t\r\n\t}", "title": "" }, { "docid": "f14c71a9ae17d8279f0e67ac6aacdffb", "score": "0.7465554", "text": "@Override\r\n\tpublic void mouseDragged (float x, float y, int button) {\n\r\n\t}", "title": "" }, { "docid": "aacc193174ec507f718a69b49ddb7b78", "score": "0.74594396", "text": "public void mouseDragged(MouseEvent e) {\n // empty\n }", "title": "" }, { "docid": "aacc193174ec507f718a69b49ddb7b78", "score": "0.74594396", "text": "public void mouseDragged(MouseEvent e) {\n // empty\n }", "title": "" }, { "docid": "d32489c2ccded86dcca7bf49940a0cc4", "score": "0.7449903", "text": "@Override\n\tpublic void mouseDraggedEvents(MouseEvent e) {\n\n\t}", "title": "" }, { "docid": "ff956982802d91bb1d49f7413c9d1a07", "score": "0.744939", "text": "@Override\n\t\t\t\tpublic void mouseDragged(MouseEvent e) {\n\n\t\t\t\t}", "title": "" }, { "docid": "cfc3a7153295dabfe3f70f798b4a0f11", "score": "0.7437226", "text": "@Override\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "title": "" }, { "docid": "73bcb1bc60462bf5477289a382ad4151", "score": "0.7414564", "text": "@Override\n public void mouseMoved(MouseEvent e) {\n\n }", "title": "" }, { "docid": "b1d2cd1c455b5e6f66e69232963b7a33", "score": "0.7396199", "text": "public void mouseMoved(MouseEvent e) {\n \t\t\n \t}", "title": "" }, { "docid": "ef9a22e5c7df382d01e1afb36cb99a7b", "score": "0.7390135", "text": "@Override\n public void mouseMoved(MouseEvent arg0) {\n\n }", "title": "" }, { "docid": "334ba1b78c01eef0046d7a8f2ab0fc75", "score": "0.7364143", "text": "@Override\n\t\tpublic void mouseDragged(MouseEvent e) {\n\t\t\tla.setText(\"mouse dragged (\" + e.getX() + \",\" + e.getY() + \")\");\n\t\t}", "title": "" }, { "docid": "2c0832918faf8ef66eb01d2bfa02023e", "score": "0.7362456", "text": "@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\tmouseMoved(e);\n\t}", "title": "" }, { "docid": "f2a17663c8d39719d3e20f77612e2329", "score": "0.73530376", "text": "public void mouseMoved(float x, float y) {\n\n }", "title": "" }, { "docid": "557251b9b38a6e4358d43fa17a54ef4a", "score": "0.73480785", "text": "@Override\n public void mouseMoved(MouseEvent e) {\n }", "title": "" }, { "docid": "f6ba34ffbce4b281ba5f3721f78591f6", "score": "0.7331423", "text": "public void mouseMoved(int x, int y){\n }", "title": "" }, { "docid": "fc168d18acfc00cfa84e021cd2f73300", "score": "0.73155147", "text": "public void mouseDragged(MouseEvent event) \r\n\t\t{\r\n\t\t\tcurrentShape.setX2(event.getX());\r\n\t\t\tcurrentShape.setY2(event.getY());\r\n\t\t\trepaint();\r\n\t\t\tstatusLabel.setText(\"(\" + event.getX() + \", \" + event.getY() + \")\");\r\n\t\t}", "title": "" }, { "docid": "0f9007abf4a3c1552c87073b2b0080fc", "score": "0.73047334", "text": "@Override\n\tpublic void mouseMoved(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "0f9007abf4a3c1552c87073b2b0080fc", "score": "0.73047334", "text": "@Override\n\tpublic void mouseMoved(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "0f9007abf4a3c1552c87073b2b0080fc", "score": "0.73047334", "text": "@Override\n\tpublic void mouseMoved(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "0f9007abf4a3c1552c87073b2b0080fc", "score": "0.73047334", "text": "@Override\n\tpublic void mouseMoved(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "0f9007abf4a3c1552c87073b2b0080fc", "score": "0.73047334", "text": "@Override\n\tpublic void mouseMoved(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "0f9007abf4a3c1552c87073b2b0080fc", "score": "0.73047334", "text": "@Override\n\tpublic void mouseMoved(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "0f9007abf4a3c1552c87073b2b0080fc", "score": "0.73047334", "text": "@Override\n\tpublic void mouseMoved(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "0f9007abf4a3c1552c87073b2b0080fc", "score": "0.73047334", "text": "@Override\n\tpublic void mouseMoved(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "749b9ef3525221aa741e0a873bc5d020", "score": "0.7290165", "text": "@Override\n\t\t\tpublic void mouseDragged(MouseEvent arg0) {\n\n\t\t\t}", "title": "" }, { "docid": "3a6bb2c35f6714f8dc0e6f1504de24d6", "score": "0.72874755", "text": "@Override\r\n\tpublic void mouseDragged(MouseEvent e) {\n\t\tif (dragged != -1) {\r\n\t\t\tmouseLoc = e.getPoint();\r\n\t\t\trepaint();\r\n\t\t}\r\n\t\t\r\n\t}", "title": "" }, { "docid": "1e9f3b1c906e6a610c28628fbb6b1e49", "score": "0.72856575", "text": "@Override\r\n\tpublic void mouseMoved (float x, float y) {\n\r\n\t}", "title": "" }, { "docid": "fdee5b56d12cb46472e4868e3fa6e8f9", "score": "0.7279359", "text": "@Override\n\tpublic void mouseMoved(MouseEvent e) {\n\n\t}", "title": "" }, { "docid": "fdee5b56d12cb46472e4868e3fa6e8f9", "score": "0.7279359", "text": "@Override\n\tpublic void mouseMoved(MouseEvent e) {\n\n\t}", "title": "" }, { "docid": "fdee5b56d12cb46472e4868e3fa6e8f9", "score": "0.7279359", "text": "@Override\n\tpublic void mouseMoved(MouseEvent e) {\n\n\t}", "title": "" }, { "docid": "fdee5b56d12cb46472e4868e3fa6e8f9", "score": "0.7279359", "text": "@Override\n\tpublic void mouseMoved(MouseEvent e) {\n\n\t}", "title": "" }, { "docid": "8768be503e8e8f1dfd2eda6f0cc92b90", "score": "0.7275753", "text": "public void mouseDragged() {\n\t\tcurrentScreen.mouseDragged();\n\t}", "title": "" }, { "docid": "55acffcf781052c4e8796fd759d0e84a", "score": "0.7272669", "text": "@Override\r\n\tpublic void mouseMoved(MouseEvent e) {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "4687c74946f87e1d6bdb183547a77db6", "score": "0.72721046", "text": "public void mouseMoved(MouseEvent e) {\n\t}", "title": "" }, { "docid": "51b2a37909d6131b3877536516ae258f", "score": "0.7270152", "text": "@Override\n\tpublic void mouseMoved(MouseEvent e) {\n\t}", "title": "" }, { "docid": "51b2a37909d6131b3877536516ae258f", "score": "0.7270152", "text": "@Override\n\tpublic void mouseMoved(MouseEvent e) {\n\t}", "title": "" }, { "docid": "13091621b439f869a86ec4ddf0180ca1", "score": "0.7268654", "text": "public void mouseMoved(java.awt.event.MouseEvent e) {}", "title": "" }, { "docid": "0419b5db61b329abf7e28bd9418f757d", "score": "0.72674316", "text": "@Override\r\n\tpublic void mouseMoved(MouseEvent e) {\n\t}", "title": "" } ]
79dc06f6d6c4ec745d21aa1735969f00
Determines whether this node is a leaf.
[ { "docid": "ce7b0064064feb6644fec00eb1ca559e", "score": "0.8075368", "text": "public boolean isLeaf() {\n boolean notLeaf = false;\n for (TernaryNode<E> child : children){\n \tif (child != null) notLeaf = true;\n }\n return !notLeaf;\n }", "title": "" } ]
[ { "docid": "4a470d6dfc7f0b167f3e0680c64d4f5c", "score": "0.8706696", "text": "public boolean isLeaf() {\n return ! isNode();\n }", "title": "" }, { "docid": "f747dd8a595d4b1c59980c6d4cd356fd", "score": "0.8442929", "text": "public boolean isLeaf() {\n\t\tif (children.size() == 0)\n\t\t\treturn true;\n\t\treturn false;\n\t}", "title": "" }, { "docid": "bf7661aa17c7260f6dc9bc43f6c13502", "score": "0.844027", "text": "public boolean isLeaf() {\n return leaf;\n }", "title": "" }, { "docid": "55664a02e0df3c21112db7255bafdbcd", "score": "0.84284145", "text": "public boolean isLeaf() {\n return ((nodes[0] == null));\n }", "title": "" }, { "docid": "ac5e200d1ac6b1dca45b11eb04e1a941", "score": "0.8419204", "text": "public boolean isLeaf() {\n return isLeaf;\n }", "title": "" }, { "docid": "fc49418579a421b25448185702e41868", "score": "0.84021276", "text": "public boolean isLeaf() {\n return (children.size() == 0);\n }", "title": "" }, { "docid": "3cb8309341f2ad6698f95f95b0777fc0", "score": "0.837265", "text": "public boolean isLeaf() {\n\t\t\treturn (getRoot().left == null && getRoot().right == null);\n\t\t}", "title": "" }, { "docid": "fcb10a9526c9b61fea9a4e31e107e5cf", "score": "0.8334024", "text": "public boolean isLeaf()\n {\n return true;\n }", "title": "" }, { "docid": "fb534394f7be69c7a794c0fea4efa9c3", "score": "0.8327609", "text": "public boolean isLeaf() {\n return (getChildCount() == 0);\n }", "title": "" }, { "docid": "9137c066b2cea54a67d35cba6175d376", "score": "0.83108974", "text": "public boolean isLeaf(){\n return (root.left == null && root.right == null);\n }", "title": "" }, { "docid": "58e1549f4e7ad03c2aef45febd77e12e", "score": "0.8295174", "text": "public boolean isLeaf() {\n return leftChild == null;\n }", "title": "" }, { "docid": "7513452320f54f62ff28ac7e8752e174", "score": "0.8288214", "text": "public boolean isLeaf() {\n\n\t\tif(current.getLeft() == null && current.getRight() == null) return true;\n\n\t\treturn false;\n\n\t}", "title": "" }, { "docid": "0bbd52ba5081f3567c7c7bde5a11d4b1", "score": "0.8257881", "text": "public boolean isLeaf()\r\n \r\n {\r\n \r\n return (child == null);\r\n \r\n }", "title": "" }, { "docid": "f955802bf89fb7df1a060a9fa12cbfa8", "score": "0.8256075", "text": "public boolean isaLeaf( )\r\n {\r\n return false;\r\n }", "title": "" }, { "docid": "f051d0bf359d7f8b15ba7451a656f8ca", "score": "0.8243598", "text": "public boolean isLeaf() {\n\t\treturn northWestChild == null;\n\t}", "title": "" }, { "docid": "a005b7f1f84e4813bfc82e84ca7bc10f", "score": "0.8231425", "text": "boolean isLeaf() {\n\t\treturn this.left == null && this.right == null;\n\t}", "title": "" }, { "docid": "10204a5ad90a56f733f9ff3eeca4ba6e", "score": "0.82233787", "text": "public boolean isLeaf() throws osid.hierarchy.HierarchyException \n {\n return treeNode.isLeaf();\n }", "title": "" }, { "docid": "5aa9d0fea1e96b529bf181d9b245a2df", "score": "0.8175192", "text": "public boolean isLeaf() {\r\n\t\tassert (left == null && right == null)\r\n\t\t\t\t|| (left != null && right != null);\r\n\t\treturn (left == null && right == null);\r\n\t}", "title": "" }, { "docid": "a6a834e52f3334a49f2d0045d95c70ad", "score": "0.81720334", "text": "public boolean isLeaf() {\n\t\tif(left == null && middle == null && right == null)\n\t\t\treturn true;\n\t\treturn false;\n\t}", "title": "" }, { "docid": "941e46c3131e3a6d4d24e217a3917419", "score": "0.8167655", "text": "public boolean isLeaf() {\n return left == null;\n }", "title": "" }, { "docid": "0f6eb76cdbe40e280c1bf37ccf6d6c0c", "score": "0.8104515", "text": "public boolean isLeaf()\n {\n return this.getSuperEntity().isLeaf();\n }", "title": "" }, { "docid": "557f20bc5947a29d00691333c58bc6ea", "score": "0.8038638", "text": "@Override\n\tpublic boolean isLeaf() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "d5752f8a22233f007028fbdd6e77aa9b", "score": "0.79918367", "text": "public boolean isLeaf() {\n return !isEmpty() && left.isEmpty() && right.isEmpty();\n }", "title": "" }, { "docid": "f6497a7581f0e57fdf3739e7ed80eafc", "score": "0.7869215", "text": "boolean isLeaf();", "title": "" }, { "docid": "f6497a7581f0e57fdf3739e7ed80eafc", "score": "0.7869215", "text": "boolean isLeaf();", "title": "" }, { "docid": "e3c2ecd84fdc59bb3a5dbc039eee078d", "score": "0.7798493", "text": "public abstract boolean isLeaf();", "title": "" }, { "docid": "ab6de7339fdd72dd7b5ff65c08149561", "score": "0.7766941", "text": "boolean isLeaf() {\n return left == null && right == null;\n }", "title": "" }, { "docid": "8efc3d5df5e286991cf5795cb30c155a", "score": "0.77546287", "text": "public String getIsLeaf() {\n return isLeaf;\n }", "title": "" }, { "docid": "80b21f4c23452ed5bc98d5e5ddad9363", "score": "0.77517647", "text": "public boolean isLeaf() {\n\t\tfor ( WURCSEdge t_oEdge : this.m_aEdges ) {\n\t\t\tif ( !t_oEdge.getNextComponent().equals(this) ) return false;\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "3ed44b107ec1ea1ccc4669d8140e8dd3", "score": "0.7750354", "text": "public String getIsleaf() {\n\t\treturn isleaf;\n\t}", "title": "" }, { "docid": "303c739079de27981ebf27b3a551b6e8", "score": "0.77482724", "text": "public boolean isLeaf(){\n\t\treturn ( null == leftSon ) && ( null == rightSon );\n\t}", "title": "" }, { "docid": "a24d8f2a6d9d51c2791a433dd7aa8b3a", "score": "0.77427274", "text": "public Integer getIsLeaf() {\n return isLeaf;\n }", "title": "" }, { "docid": "8655c689de8268910e1b5c1865fa5275", "score": "0.77363515", "text": "public final boolean isLeaf(Object node) {\r\n return!(node instanceof BranchNode)\r\n || ((BranchNode) node).getChildCount() == 0;\r\n }", "title": "" }, { "docid": "547087fcde1d5b14129a285f1111de23", "score": "0.7689588", "text": "public final boolean isLeaf() {\r\n return ownables.size() == 0;\r\n }", "title": "" }, { "docid": "9eaf4b57b88c9d5fc8062ef241c8d7d6", "score": "0.7673634", "text": "public boolean isLeaf()\n {\n return index > 7;\n }", "title": "" }, { "docid": "27e7213d251780f564aacff8538454a4", "score": "0.7656838", "text": "public boolean isLeaf() { return !isEmpty() && left == null && right == null; }", "title": "" }, { "docid": "c1ea2595ca682fa9187d9be5a5879aa8", "score": "0.7628872", "text": "public boolean isAlwaysLeaf() { return true; }", "title": "" }, { "docid": "9362bb4aacd603d2ee7c178b395af64b", "score": "0.7614983", "text": "@Override\n public boolean isLeaf() {\n return false;\n }", "title": "" }, { "docid": "6a2ed24e5804575586308a62693cf903", "score": "0.7580508", "text": "public boolean isLeaf() {\r\n\t\tif(this.tellers.size() > 0) {\r\n\t\t\treturn false;\r\n\t\t} else {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "7d2827f0d83f350a8de7c223f5d7833b", "score": "0.75341314", "text": "private boolean isLeaf(Position<E> pos){\r\n\t\tif(numChildren(pos) == 0){\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "277dfccea064bd768bd422b999f9600d", "score": "0.75073683", "text": "public boolean isLeaf() {\n\t\tslf4jlogger.trace(\"populateChildrenIfRequired(): isLeaf()\");\n\t\tint count = getChildCount();\t// don't call more than once, since has side effects\n\t\tboolean leaf = count == 0;\n\t\tslf4jlogger.trace(\"populateChildrenIfRequired(): isLeaf() returns {} because getChildCount() is {}\",leaf,count);\n\t\treturn getChildCount() == 0;\n\t}", "title": "" }, { "docid": "cc09bba602b8e0b442e7f17d168be7c7", "score": "0.7500603", "text": "private boolean isLeaf(TrieNode node) {\n return node.children.isEmpty();\n }", "title": "" }, { "docid": "7f272dc00616c8b269adcf22a104d310", "score": "0.7478872", "text": "private boolean is_leaf(Node n) {\n return n._left == null && n._right == null;\n }", "title": "" }, { "docid": "c4e2e46ddca1eda8570b54dc5a654e4d", "score": "0.736456", "text": "public boolean isLeafNode(CallGraphNode node) {\n \t\treturn callGraph.outDegreeOf(node) == 0;\n \t}", "title": "" }, { "docid": "6abb9f352c8b0e8075b991e5fcbf43ea", "score": "0.7339786", "text": "public boolean isLeaf(){\n\t\t\n\t\tfor(int i = 0; i < config.length; i++){\n\t\t\tif(config[i] != null)\n\t\t\t\treturn false;\n\t\t}\n\t\t\n\t\treturn true;\n\t}", "title": "" }, { "docid": "5de4894fc1088f8fc8138dc1777a3d79", "score": "0.73394185", "text": "public boolean isLeaf() {\n throw new UnsupportedOperationException();\n }", "title": "" }, { "docid": "ed5e38fc8467a55b41d466c9f804a16c", "score": "0.73383284", "text": "public boolean shouldBeLeaf(OctreeNode node);", "title": "" }, { "docid": "ed972caaa007a339c02ab4eb01867cad", "score": "0.7327748", "text": "@Override\n public boolean isLeaf(Object node) {\n if (node instanceof NestingShape) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "fe0e50035da11ebe7b9d8c77d75bc402", "score": "0.73241097", "text": "public boolean isLeaf(final String code) {\n return parent2child.get(code) == null;\n }", "title": "" }, { "docid": "76aa518beef64c74a010a129f6a5a59c", "score": "0.7297005", "text": "boolean isLeaf(Node root)\n \t{\n \t if((root.left==null) && (root.right==null))\n \t \treturn true;\n \t else\n \t \treturn false;\n \t}", "title": "" }, { "docid": "0d26de1762da48f28ea6f2de2f740d44", "score": "0.72432613", "text": "public boolean isLeaf(Object value) {\n\t\t\tif (value instanceof LeftNodeDto) {\n\t\t\t\treturn ((LeftNodeDto) value).isLeaf();\n\t\t\t}\n\t\t\treturn false;\n\t\t}", "title": "" }, { "docid": "1256d41ca36d4d3ab6edf3c47765c580", "score": "0.7055421", "text": "public boolean isLeaf() {\n PropertyTypesHelper pth = PropertyTypesHelper.getInstance();\n boolean leaf = false;\n\n if (pth.isCollection(getType())) {\n if (getAnnotationHelper().hasType()) {\n Class realType = getAnnotationHelper().getType();\n if (pth.isValidPropertyType(realType)) {\n leaf = true;\n }\n }\n }\n else {\n leaf = pth.isValidPropertyType(getType());\n }\n\n return leaf;\n }", "title": "" }, { "docid": "6b79ad7119f4a71224387cc3af0c73ae", "score": "0.69352317", "text": "boolean isLeaf(Fqn fqn);", "title": "" }, { "docid": "15948875563eecf8473bf659ff63cf25", "score": "0.69265497", "text": "public boolean isSetIsLeaf() {\n return __isset_bit_vector.get(__ISLEAF_ISSET_ID);\n }", "title": "" }, { "docid": "8ca2495faccab4d2d131e6e8280c8a86", "score": "0.6920886", "text": "private boolean isLeaf(int pos) {\n\t\tif (pos > (size / 2) && pos <= size) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "3b2b7f83aeefbea571d5a4ee629c722b", "score": "0.6847695", "text": "public boolean isLeaf(int pos) {\n\t\tif ((pos >= Math.floorDiv(heapSize, 2)+1) && (pos <= heapSize)) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "d3cc58f4c8e26914053930000977b16a", "score": "0.6784954", "text": "public boolean hasChildren() {\n return !isLeaf();\n }", "title": "" }, { "docid": "465da2ada8b1d640518a6a088e972858", "score": "0.6739736", "text": "public static boolean isLeaf(int index) \n { \n if(index > (heapSize / 2) && index <= heapSize) { \n return true; \n } \n \n return false; \n }", "title": "" }, { "docid": "56c4f6cb5250fbebefb1b141b83cdaea", "score": "0.66949785", "text": "protected boolean isLeafNode(ManagedObjectReference item) {\n/* 63 */ return false;\n/* */ }", "title": "" }, { "docid": "d419912b64fd2fdcc8314145645e5ef0", "score": "0.669191", "text": "boolean isLeaf(String fqn);", "title": "" }, { "docid": "cf68dede389e92c36d7334bba3ba2b38", "score": "0.66847324", "text": "public void testIsLeaf() {\r\n assertTrue(mh.isLeaf(2));\r\n assertTrue(mh.isLeaf(3));\r\n assertTrue(mh.isLeaf(4));\r\n }", "title": "" }, { "docid": "68e34f098acb372a226648516e183339", "score": "0.6526297", "text": "boolean isModelLeaf(@Nullable Consumer<? super Node> validator) {\n if (null == getParent()) return false;\n if (leafState == LeafState.ALWAYS) return true;\n if (leafState == LeafState.NEVER) return false;\n if (leafState == LeafState.DEFAULT && validator != null) validator.accept(this);\n return children.isValid() && super.isLeaf();\n }", "title": "" }, { "docid": "a8b6342178ecc722c4a3120a3c9506f2", "score": "0.63801986", "text": "@Override\n\tpublic boolean HasLeafAsDescendantCanBeSet() {\n\t\tfor (Node child : this.children)\n\t\t{\n\t\t\tif(!child.hasLeafAsDescendant()) return false;\n\t\t}\n\t\t\n\t\treturn true;\n\t}", "title": "" }, { "docid": "be62d43a562fae0633f7aeb1a10deceb", "score": "0.6358637", "text": "@Test\n public void testIsLeaf() {\n System.out.println(\"isLeaf\");\n assertFalse(dir.isLeaf());\n }", "title": "" }, { "docid": "ecb3884dbbfa05ff8f844368da7af4ee", "score": "0.63465637", "text": "public Integer getLeafNode() {\n return leafNode;\n }", "title": "" }, { "docid": "3105f514dd5c1eff797010aa7d685707", "score": "0.6312519", "text": "public boolean isLastNode()\n {\n return isTheLastNode;\n }", "title": "" }, { "docid": "6ab95019521594314007628c842a6cad", "score": "0.6247501", "text": "public static boolean isLeafDatatype(KB source, ByteString type){\n\t\tList<ByteString[]> query = KB.triples(KB.triple(\"?x\", subClassRelation, type));\t\t\n\t\treturn source.countDistinct(ByteString.of(\"?x\"), query) == 0;\n\t}", "title": "" }, { "docid": "ff4c701b29f5f4b53ad986bf549c3f22", "score": "0.6217137", "text": "public boolean isRoot() {\n if (previous==null) {\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "cf6ba2c01febee07b78127bf4aa27e7d", "score": "0.61941487", "text": "public boolean isTreeEmpty() {\n return (root == null);\n }", "title": "" }, { "docid": "577fdbb121216648491321d58cbe9a69", "score": "0.61095995", "text": "public boolean isRoot() throws osid.hierarchy.HierarchyException \n {\n return treeNode.isRoot();\n }", "title": "" }, { "docid": "fc7880b599c2c37a7c5594bb01d17347", "score": "0.6109489", "text": "public boolean isPreTerminal() {\n Tree[] kids = children();\n return (kids.length == 1) && (kids[0].isLeaf());\n }", "title": "" }, { "docid": "8fbfd3d5c6ee50522b8ea383b4e3f89e", "score": "0.60991204", "text": "public final boolean isRoot()\n {\n return (parent==null);\n }", "title": "" }, { "docid": "c915591a866c2a0b96a922cb2e48d62d", "score": "0.6085921", "text": "boolean isRoot();", "title": "" }, { "docid": "33e235a8830486a440a0c2d199d56f6b", "score": "0.605371", "text": "public boolean isUnderflow() {\n\t\t//System.out.println(\"Leaf UnderFlow \" + (int)(Math.ceil(((float)(no_of_children)) / 2)));\n\t\treturn this.getKeyCount() < ((int)(Math.ceil(((float)(no_of_children-1)) / 2)));\n\t}", "title": "" }, { "docid": "17c170c08a732c2eb61a7e5a18191720", "score": "0.60492915", "text": "public void setIsLeaf(String isLeaf) {\n this.isLeaf = isLeaf == null ? null : isLeaf.trim();\n }", "title": "" }, { "docid": "857b6138e693c430ee958a476751d6d3", "score": "0.6044283", "text": "public boolean isRoot() { \n return (flags & DsGetDC.DS_DOMAIN_TREE_ROOT) != 0; \n }", "title": "" }, { "docid": "3daf65a0019193cb084f7129cf5021a4", "score": "0.604358", "text": "boolean hasIsRoot();", "title": "" }, { "docid": "163d545a2ebf97879cd3041dfe028716", "score": "0.6019839", "text": "public boolean hasIsRoot() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }", "title": "" }, { "docid": "556df63e8e0e6c39768daa0613688db9", "score": "0.600674", "text": "public void setIsLeaf(Integer isLeaf) {\n this.isLeaf = isLeaf;\n }", "title": "" }, { "docid": "45c9afe803ab1a4ac21660dd8014f6d9", "score": "0.5992884", "text": "public boolean isRoot() {\n if (parent == null) {\n return true;\n } else {\n return false;\n }\n }", "title": "" }, { "docid": "60c063c34d6463cd6be3b4bd4542fc28", "score": "0.59833676", "text": "public boolean isRoot() {\n return parent == null;\n }", "title": "" }, { "docid": "fc6653f10ddf239b6a57bdaeed053630", "score": "0.5977518", "text": "public boolean hasTree() {\n return _tree != null && !_tree.isEmpty();\n }", "title": "" }, { "docid": "6ac67a3e0bff1d57c25fd02342a82bb7", "score": "0.5961598", "text": "private boolean treeIsBalance(MyLeaf<E> leaf) {\n boolean result = true;\n if (leaf != null) {\n\n if ((leaf.left != null && leaf.right == null) ||\n (leaf.right != null && leaf.left == null)) {\n return false;\n }\n result = (treeIsBalance(leaf.left) & treeIsBalance(leaf.right));\n }\n return result;\n }", "title": "" }, { "docid": "7eb4f5a3ea449da89ae746717d002626", "score": "0.5955354", "text": "public boolean hasIsRoot() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }", "title": "" }, { "docid": "113718e74fb8953ea5374393a3e5fd14", "score": "0.5934062", "text": "public boolean isRoot() {\n\t\treturn parent == null;\n\t}", "title": "" }, { "docid": "113718e74fb8953ea5374393a3e5fd14", "score": "0.5934062", "text": "public boolean isRoot() {\n\t\treturn parent == null;\n\t}", "title": "" }, { "docid": "07b4f8c5083c0ca13f65ce6fb4acae6e", "score": "0.5933744", "text": "public int countLeafNodes()\n\t{\n\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "18d4d57f92b75d7e6ac06b41c148ec3e", "score": "0.59104866", "text": "public boolean hasTree() {\n return tree != null;\n }", "title": "" }, { "docid": "75c0749d1accaf1e253d0ac61c9e74fe", "score": "0.58899236", "text": "public void setIsleaf(String isleaf) {\n\t\tthis.isleaf = isleaf == null ? null : isleaf.trim();\n\t}", "title": "" }, { "docid": "10fb22fc0e3101c55236b43cbf27705c", "score": "0.5876945", "text": "@Schema(example = \"cd665e49c834b0c25574fcb19a158d836f3f2aad8e91ac195f972534c25449b3\", required = true, description = \"Base16-encoded Merkle tree leaf bytes\")\n public String getLeaf() {\n return leaf;\n }", "title": "" }, { "docid": "1f975c3dc5245e4dca0262d7d9915e6a", "score": "0.5869925", "text": "public boolean isRoot() {\n return root;\n }", "title": "" }, { "docid": "c6586fd95a454452fefa979272feb76f", "score": "0.5864663", "text": "boolean hasNodeType();", "title": "" }, { "docid": "c6586fd95a454452fefa979272feb76f", "score": "0.5864663", "text": "boolean hasNodeType();", "title": "" }, { "docid": "bf077bba15f96e29386937a19f3eaf8c", "score": "0.58612", "text": "public boolean leafValid(Set<Table> validLeaves) {\n if (this.children.size() == 0) {\n return validLeaves.contains(this.node);\n } else {\n boolean valid = true;\n for (TableTreeNode ttn : children) {\n valid = valid && ttn.leafValid(validLeaves);\n }\n return valid;\n }\n }", "title": "" }, { "docid": "18d9de3830c717c2f5af98e926a25584", "score": "0.58522534", "text": "public boolean isBinary() {\n boolean result = true;\n int counter = 0;\n Queue<Node<E>> queue = new LinkedList<Node<E>>();\n queue.offer(this.root);\n while (!queue.isEmpty()) {\n Node<E> node = queue.poll();\n counter = 0;\n for (Node<E> child : node.leaves()) {\n queue.offer(child);\n counter++;\n }\n if (counter > 2) {\n result = false;\n break;\n }\n }\n return result;\n }", "title": "" }, { "docid": "a3a353d0f0fa6197cf3f9fd9b43ff72d", "score": "0.5836071", "text": "public boolean empty() {\n return !this.getRoot().isRealNode();\n }", "title": "" }, { "docid": "263e25976524a6ae71266116ba620650", "score": "0.5792028", "text": "public boolean isBST() {\r\n\t\treturn(isBST(root));\r\n\t}", "title": "" }, { "docid": "7c28a68c5c1813c809d3b6f9b4db7d94", "score": "0.5787255", "text": "public boolean isEmptyTree(){\n if (t == null){\n return true;\n }\n else{\n return false;\n }\n }", "title": "" }, { "docid": "8a288c5ad716260f7b4ce92c956c9ef2", "score": "0.57635826", "text": "public boolean isEmpty() {\n\t\t// if there's no root, the tree is empty\n\t\tif(root == null) {\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\t// if root isn't null, we have data in the tree then \n\t\telse {\n\t\t\treturn false; \n\t\t}\n\t}", "title": "" }, { "docid": "d449236b4f340e55cdf68b7f27e31676", "score": "0.57570773", "text": "boolean is_empty_tree(){\n return this.get_curr() == HEADER;\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "33c82161cecc5d66f996c95269d96f27", "score": "0.0", "text": "public static void main(String[] args) {\n\n\t}", "title": "" } ]
[ { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.6905833", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "941cb2826e3c700358fcaba402e6bb01", "score": "0.66775143", "text": "@Override\r\n\tpublic void hissetmek() {\n\r\n\t}", "title": "" }, { "docid": "63918b2e510c9040bbddcac00095b41a", "score": "0.6605982", "text": "private void recuperation() {\n\t\t\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65677965", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "6a98c5d2724fce37914819c5694da3c3", "score": "0.6509783", "text": "@Override\r\n\tpublic void anular() {\n\r\n\t}", "title": "" }, { "docid": "dae8b602ea36995333bfb23acf8fc88d", "score": "0.6496443", "text": "@Override\n\tpublic void respire() {\n\n\t}", "title": "" }, { "docid": "5f8d37aee09bc1e9959f768d6eb0183c", "score": "0.6481211", "text": "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "title": "" }, { "docid": "f099266a753a2faacd6b8dfa57904378", "score": "0.64321727", "text": "@Override\r\n\tpublic void courrir() {\n\t}", "title": "" }, { "docid": "69ade76a69c0f6c07e66b5d0e5136eb3", "score": "0.6425563", "text": "@Override\r\n\tpublic void grabar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c2f383f280f298416bf45e72c374ecfa", "score": "0.64127725", "text": "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1068dc3e7725abba37b41c9a52dee06b", "score": "0.6386121", "text": "@Override\r\n\tpublic void tatmak() {\n\r\n\t}", "title": "" }, { "docid": "6141981a3ecff744fc5ac85a76ccce98", "score": "0.63590497", "text": "@Override\r\n\tpublic void avlan() {\n\t\t\r\n\t}", "title": "" }, { "docid": "98fb55d46118273a6e8a6d23841c620d", "score": "0.6327681", "text": "@Override\n\tpublic void eati() {\n\t\t\n\t}", "title": "" }, { "docid": "0792d032a803e20f3b87637fd91001d5", "score": "0.62811846", "text": "@Override\n\tpublic void getSugary() {\n\n\t}", "title": "" }, { "docid": "177192b7240b496ba5aefdfed60037c9", "score": "0.6276059", "text": "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "b7cead8eab6faf887c06d3b10c67267c", "score": "0.620242", "text": "@Override\n\t\t\tprotected void readyRun() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "b7cead8eab6faf887c06d3b10c67267c", "score": "0.620242", "text": "@Override\n\t\t\tprotected void readyRun() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "a8ee8a5581ce765ec4ab398c0459e014", "score": "0.61750215", "text": "@Override\r\n\tpublic void koklama() {\n\r\n\t}", "title": "" }, { "docid": "0e69410f7365f8e3379273ee4419fb49", "score": "0.6149904", "text": "@Override\r\n\tprotected void init() \r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "d65d6c17fb978c0d576ada2c03cd49fe", "score": "0.61387193", "text": "@Override\n\tpublic void apagar() {\n\t\t\n\t}", "title": "" }, { "docid": "8bae22ac805011d799a49bd7b5316540", "score": "0.612467", "text": "@Override\n public int describeContents() {\n // Auto-generated method stub\n return 0;\n }", "title": "" }, { "docid": "8c5b7f2508d01c106c784ecca7153f46", "score": "0.6119395", "text": "@Override\n\tvoid comer() {\n\t\t\n\t}", "title": "" }, { "docid": "7bc643d9ac7542f10430da7f200395d4", "score": "0.610188", "text": "@Override\n\tpublic void fiyat() {\n\t\t\n\t}", "title": "" }, { "docid": "7dadb1a7e45c020b2193294044375a9d", "score": "0.60646844", "text": "@Override\r\n \tpublic void init() {\n \t\t\r\n \t}", "title": "" }, { "docid": "04771723ee2c07e5fa5fe8c322190beb", "score": "0.60607964", "text": "@Override\n\tpublic void affichage() {\n\t\t\n\t}", "title": "" }, { "docid": "b7f027eb6ff62218a28c15c608504db7", "score": "0.6055265", "text": "@Override\n\tpublic void cafeteria() {\n\t\t\n\t}", "title": "" }, { "docid": "ae645a2585d37e320a8854cbd4c60db8", "score": "0.60353535", "text": "@Override\n\tpublic void afficher() {\n\n\t}", "title": "" }, { "docid": "9dd1bbd8c949b94d0e93b83bfc68c88a", "score": "0.6021345", "text": "@Override\n\tpublic void aeronoticalinfo() {\n\t\t\n\t}", "title": "" }, { "docid": "2762ca3c2d0df2e43c2974f74b6f5794", "score": "0.6013198", "text": "public void mo23507LF() {\n }", "title": "" }, { "docid": "a6c2db17f79f35f8fc3b8e99eee9ab48", "score": "0.60124713", "text": "@Override\r\n\tprotected void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e8c159f9ce46ed87e18031b3ec3ef04c", "score": "0.5983872", "text": "@Override\n\t\t\tprotected void realiceElCaso() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "e8c159f9ce46ed87e18031b3ec3ef04c", "score": "0.5983872", "text": "@Override\n\t\t\tprotected void realiceElCaso() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "119b459aa82980ed18ed9f73e4c0c1f6", "score": "0.5970375", "text": "public void mo8248e() {\n }", "title": "" }, { "docid": "c7fe9cc2a6c42140d48d92c4796a998c", "score": "0.5924626", "text": "@Override\r\n\t\t\t\t\t\tpublic void visitEnd() {\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59239364", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59239364", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "092f51e9c99cd4188e1aae23e1830dfd", "score": "0.58991617", "text": "protected void func_70626_be() {}", "title": "" }, { "docid": "ab499170bffb402933a50d63a97e69dd", "score": "0.5896488", "text": "@Override\r\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "77d32d2a2070d9c3117ff146ac04f114", "score": "0.5891585", "text": "@Override\r\n\tpublic void climaChuvoso() {\n\r\n\t}", "title": "" }, { "docid": "4790ff4cb67532ccdfaae8968e73fbc3", "score": "0.58832747", "text": "@Override\n protected void initData() {\n\n\n }", "title": "" }, { "docid": "023182f0f855d46c66b41a6d83583efa", "score": "0.5871911", "text": "@Override\r\n\tpublic void singen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8d96d27dfdf5b1a8cc8b8a7627c83bc1", "score": "0.5869012", "text": "@Override\n public void afficher() {\n\n }", "title": "" }, { "docid": "298aa14afe5846b172f76bcf90564013", "score": "0.58663046", "text": "@Override\n\tprotected void initAfterData() {\n\t\t\n\t}", "title": "" }, { "docid": "e065a728f99482f0172c0250b07109a9", "score": "0.58587575", "text": "public void MIENTRAS() {\r\n\t}", "title": "" }, { "docid": "4967494f628119c8d3a4740e09278944", "score": "0.5857751", "text": "@Override\r\n\tprotected void initData() {\n\r\n\t}", "title": "" }, { "docid": "6c15d2233a095a738527f0099df0e328", "score": "0.58534765", "text": "@Override\n\tprotected void onLoadComplete() {\n\t\t\n\t}", "title": "" }, { "docid": "7da3b15ef60da758589933b21890a100", "score": "0.5835782", "text": "@Override\n\t\t\tpublic void buscar() {\n\n\t\t\t}", "title": "" }, { "docid": "d56c498b25d1ea77dc09f49efcf80f6c", "score": "0.58347356", "text": "@Override\r\n\tpublic void aumentaFatorAcidade() {\n\r\n\t}", "title": "" }, { "docid": "e57f005733f2eb8590150b3f4542b844", "score": "0.5810564", "text": "@Override\n\tprotected void getData() {\n\t\t\n\t}", "title": "" }, { "docid": "da813fa08844d9ea0dcf6109d766cb06", "score": "0.5810359", "text": "@Override\n public void geefOpleidingNiveau() {\n }", "title": "" }, { "docid": "d1236089c8974701d0acd37b2cad6d5b", "score": "0.5809914", "text": "@Override\n\tpublic void init(){\n\t\t\n\t}", "title": "" }, { "docid": "ac3fa8f374744c1d8419fb42b093eb87", "score": "0.58098364", "text": "@Override\n public void ATOM() {\n\n }", "title": "" }, { "docid": "9d2f44c3ebe1fb8de1ac4ae677e2d851", "score": "0.5806823", "text": "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "17bf5dfb3822657f7beb964bbcaf351d", "score": "0.58010787", "text": "private void getdata() {\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "c1cba83b623b4186565c3383ace251b9", "score": "0.5798524", "text": "@Override\n public void RES() {\n\n }", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.5793788", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "04320a5131c4ec5a83b61f5170f3303b", "score": "0.578828", "text": "private void refreash() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "96aa62cb7c02dc761fce03adeea3bae6", "score": "0.5768868", "text": "public void consumidor() {\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57596046", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "f76cff0faf8f5cac2bb5c9fa073b3900", "score": "0.5732497", "text": "private static void ispisiRemi() {\n\t\t\n\t}", "title": "" }, { "docid": "0da844a8d21284fc890b9866b17625b3", "score": "0.5729389", "text": "public void auton() {\r\n\r\n\t\t}", "title": "" }, { "docid": "3b42107e523d1f2c0adecfee5c69fe91", "score": "0.5726736", "text": "@Override\r\n\t\t\tpublic String toString() {\n\t\t\t\treturn null;\r\n\t\t\t}", "title": "" }, { "docid": "3b42107e523d1f2c0adecfee5c69fe91", "score": "0.5726736", "text": "@Override\r\n\t\t\tpublic String toString() {\n\t\t\t\treturn null;\r\n\t\t\t}", "title": "" }, { "docid": "3b42107e523d1f2c0adecfee5c69fe91", "score": "0.5726736", "text": "@Override\r\n\t\t\tpublic String toString() {\n\t\t\t\treturn null;\r\n\t\t\t}", "title": "" }, { "docid": "e0989255fd1af22841693489e1afa33b", "score": "0.57214063", "text": "public void mo24349a() {\n }", "title": "" }, { "docid": "b860b78be8e10589ee5bd58e2ab7be8e", "score": "0.57196456", "text": "@Override\r\n\tpublic void autonomous() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "08ff281f85800b58e0eb77195be25bfc", "score": "0.5708199", "text": "public void finito() {\n\t\t\r\n\t}", "title": "" }, { "docid": "7aadbda143e84de0144f7a8dadde423d", "score": "0.5701067", "text": "@Override\n protected void initData() {\n\n }", "title": "" }, { "docid": "24b649f4fd4e2e8f4e195b19c09f4c8b", "score": "0.56936413", "text": "@Override\n public void FUNMAYORQ() {\n\n }", "title": "" }, { "docid": "b3c7aad07c4af0cfec14c4b0f0f289ef", "score": "0.5692504", "text": "@Override\n\tpublic void arb() {\n\n\t}", "title": "" }, { "docid": "8657ef720f12b2480d4363be4e46781e", "score": "0.5691313", "text": "protected boolean method_4310() {\r\n return true;\r\n }", "title": "" }, { "docid": "9f7ae565c79188ee275e5778abe03250", "score": "0.56881124", "text": "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "title": "" }, { "docid": "45fd99bd8793c6d67c4f276a27b4fdca", "score": "0.5685153", "text": "@Override public int getDefensa(){\n\n return 0;\n\n }", "title": "" } ]
a7d4e4b2de9eb49a40fbfc23a9f3c386
delete button on debate page using get meth type instead of delete to go through context path and redirect to home page
[ { "docid": "cb2c624626f8fd75cae8cf476f547891", "score": "0.80083346", "text": "@RequestMapping(value=\"/debate/del/{id}\", method=RequestMethod.GET)\n public String deleteDebateButton(@PathVariable int id) {\n dao.deleteDebate(id);\n return \"redirect:/home\";\n }", "title": "" } ]
[ { "docid": "65698d45d01d99eb3d0107af61aedb69", "score": "0.7356125", "text": "public void deleteAction() {\n\t\tsetResponsePage(this);\n\t}", "title": "" }, { "docid": "21d2263148b1cdf930576f9beed3d3b1", "score": "0.7099824", "text": "@RequestMapping(\"voyage/delete/{idvoyage}\")\n public String delete(@PathVariable Integer idvoyage) {\n \tvoyageService.deleteVoyage(idvoyage);\n return \"redirect:/voyages\";\n }", "title": "" }, { "docid": "b35d8b9ee337a7f5aaceb9370b17066c", "score": "0.70711565", "text": "@RequestMapping(value = \"/deleteemp/{id}\", method = RequestMethod.GET)\n\tpublic ModelAndView delete(@PathVariable int id) {\n\t\tdao.delete(id);\n\t\treturn new ModelAndView(\"redirect:/viewemp/1\");\n\t}", "title": "" }, { "docid": "2f7a0e098faf1d5310c39ca09ecdf9f9", "score": "0.6946828", "text": "@RequestMapping(value = \"/deleteemp/{id}\", method = RequestMethod.GET)\n\tpublic String delete(@PathVariable int id) {\n\t\temployeeService.delete(id);\n\t\treturn \"redirect:/viewemp\";\n\t}", "title": "" }, { "docid": "dc19d57317646a8e4c6b93dc0245afc4", "score": "0.68819726", "text": "@RequestMapping(\"vehiculo/eliminar/{id}\")\n public String deleteVehicle(@PathVariable Integer id) {\n \tvehicleService.deleteVehicle(id);;\n return \"redirect:/vehiculos/\";\n }", "title": "" }, { "docid": "6341b15f1ba26ee785427ddfbd5875c7", "score": "0.6807719", "text": "@RequestMapping(\"/contato/delete/{id}\")\n public String DeleteContato(@PathVariable(name = \"id\") long id) {\n service.delete(id);\n return \"redirect:/contato\";\n }", "title": "" }, { "docid": "c64175e27a86a91788819ac0aeae7dda", "score": "0.6797258", "text": "public String deleteView()\n {\n logger.info(\"**** In deleteView in Controller ****\");\n this.product = productService.getProductbyProductId(productId);\n return Constants.DELETE_PRODUCT_VIEW;\n }", "title": "" }, { "docid": "612f5720249f1bc9743ebf86466c78af", "score": "0.67106956", "text": "@GetMapping(\"/delete/{id}\")\n String deleteEmployee(@PathVariable(\"id\") long id) {\n repository.deleteById(id);\n return \"redirect:/empController/getAllEmployee\";\n }", "title": "" }, { "docid": "936582ab2bedda5b5e12a39596dbc79c", "score": "0.66937727", "text": "@RequestMapping(\"/deleteuser\")\n public String deleteUser( @RequestParam(\"id\") long idUser) {\n us.delete(idUser);\n \n return \"redirect:/gestioncomptes\";\n \n }", "title": "" }, { "docid": "07029fee56b3b90a07f7b343a28cfff8", "score": "0.6664036", "text": "public void deleteAction(View v) {\n\t\tCollection<Claim> c = ClaimController.getClaimList().getClaims();\n\t\tArrayList<Claim> list = new ArrayList<Claim>(c);\n \t\n\t\tClaim claim = list.get(this.getIndex());\n\t\tExpense_Item e = claim.getExpenseItems().get(this.getE_index());\n\t\t\n\t\tclaim.getExpenseItems().remove(e);\n\t\t\n\t\tIntent intent = new Intent(EditExpenseActivity.this, ExpenseItems.class);\n\t\tint position = this.getIndex();\n\t\tBundle bundle = new Bundle();\n \tbundle.putInt(\"index\", position); \n \tintent.putExtras(bundle); \n \t\n\t\tstartActivity(intent);\n\t}", "title": "" }, { "docid": "ce7165c96a5a391f51d4b70d093bcda6", "score": "0.665998", "text": "@Action(\"delete\")\n public String delete() {\n return LIST;\n }", "title": "" }, { "docid": "448b4262289463c74b4231a6ecf28edd", "score": "0.66552365", "text": "@Override\n protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\n int deleteid = Integer.parseInt(req.getParameter(\"button1\"));\n DaoFactory.getAdsDao().deleteAd(deleteid);\n req.setAttribute(\"ads\", DaoFactory.getAdsDao().findbyid(deleteid));\n\n resp.sendRedirect(\"/profile\");\n\n }", "title": "" }, { "docid": "2f0aa23f7c1de9097b5d1ca57e66e8b1", "score": "0.6615442", "text": "void onClickDelete();", "title": "" }, { "docid": "6c35716d2e06ec319bb34f7dad95ef46", "score": "0.66147363", "text": "@RequestMapping(\"/delete\")\r\n\tprotected void delete(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tPrintWriter out = response.getWriter();\r\n\t\tresponse.setContentType(\"text/html\");\r\n\t\t\r\n\t\tdao.deleteBook(Integer.parseInt(request.getParameter(\"delbookid\")));\r\n\t\tout.println(\"Book Deleted\");\r\n\t\t\r\n\t\t//response.getWriter().append(\"Served at: \").append(request.getContextPath());\r\n\t}", "title": "" }, { "docid": "8a9f607ad386182f3f4166a8c4525f32", "score": "0.6613592", "text": "public void deleteAction() {\n\t\t\n\t}", "title": "" }, { "docid": "5011cbeb7e1d76f2a3d2e8f4c319cc58", "score": "0.66003895", "text": "@RequestMapping(value=\"/delete/{id}\", method=RequestMethod.DELETE)\n\tpublic String destory(@PathVariable(\"id\") Long id) {\n\t\tsongService.deleteSong(id);\n\t\treturn \"redirect:/dashboard\";\n\t}", "title": "" }, { "docid": "944e3e8b8984549301225f03aef9accf", "score": "0.65694314", "text": "@RequestMapping(value =\"/delete/{singer}\", method =RequestMethod.GET)\n\n public String delete(@PathVariable Singer singer, Long id)\n {\n String name= singer.getSingername()+\" \"+singer.getSongname();\n\n singerService.delete(singer);\n\n return \"redirect:/\";\n\n }", "title": "" }, { "docid": "517b19f1c0dcde4198c3379c15f21f64", "score": "0.65624875", "text": "@GetMapping(\"/producto-eliminar-{id}\")\n\t\t\tpublic ModelAndView getProductoEliminarPage(@PathVariable (value = \"id\")Long id) {\n\t\t\t\tModelAndView modelView = new ModelAndView(\"redirect:/producto-ultimo\");\n\t\t\t\tproductoService.eliminarProducto(id);\n\t\t\t\treturn modelView;\n}", "title": "" }, { "docid": "c8233e7b34ceb0717f7a2019ee4c4f5a", "score": "0.651386", "text": "@RequestMapping(value = \"LicenciaOferta/eliminar/{id}\")\n public String eliminar(@PathVariable(value=\"id\") BigDecimal id)\n {\n if(id.compareTo(BigDecimal.ZERO)>0)\n {\n licenciaOfertaService.deleteLicCand(id);\n }\n return \"redirect:/Cv/verCv\"+numof;\n }", "title": "" }, { "docid": "158b2d35c154b3b587992c607cbb9f26", "score": "0.65093017", "text": "@Override\r\n\tprotected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tInteger id = Integer.parseInt(request.getParameter(\"id\"));\r\n\t\tReviewDao reviewDao = new OracleReviewDao();\r\n\t\t\r\n\t\ttry {\r\n\t\t\treviewDao.delete(id);\r\n\t\t} catch (ClassNotFoundException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (SQLException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t\tresponse.sendRedirect(\"list\");\r\n\t}", "title": "" }, { "docid": "1eaff0810f5643a7201296fb925fc640", "score": "0.65079814", "text": "@RequestMapping(value = { \"/delete/trip/{id}\" }, method = RequestMethod.GET)\r\n\tpublic String delete(@PathVariable Integer id) {\r\n\t\tTrip trip = tripService.findOne(id);\r\n\t\ttripService.remove(trip);\r\n\t\treturn \"redirect:/list/trip\";\r\n\t}", "title": "" }, { "docid": "ddc267d0b6c9e0ca95ff67fe57cb9cbb", "score": "0.6507294", "text": "@Override\r\n\tpublic String del() {\n\t\tif(logger.isDebugEnabled())\r\n\t\t\tlogger.debug(\"加载删除页面...\");\r\n\t String ids=getParameter(\"ids\");\r\n\t if(!\"\".equals(ids.trim())){\r\n\t \t\tString sql=\"delete from dd_wallet where id in (\"+ids.substring(0,ids.length()-1)+\")\";\r\n\t \t\tCommonDAO.executeUpdate(\"删除账号\",sql);\r\n\t }\r\n\t renderSimpleResult(true,\"ok\");\r\n return null;\r\n\t}", "title": "" }, { "docid": "a2aeeac9f36815942298f8d2a1f525b4", "score": "0.64805055", "text": "@GetMapping(\"/delete/{id}\")\n public String getDeleteRecordPage(@PathVariable(\"id\") Long id, Model model) throws Exception{\n // Check recordId + permission and get record object.\n Record record = getRecord(id, SecurityContext.getAuthenticationUser());\n\n // Add the record to the model\n model.addAttribute(\"record\", record);\n\n return \"records/delete\";\n }", "title": "" }, { "docid": "88301ac90272f834a3b77b47b2d500ed", "score": "0.6478524", "text": "@RequestMapping(value=\"/delete\")\r\n\tpublic ModelAndView test() {\n\t\treturn new ModelAndView(\"/test\");\r\n\t}", "title": "" }, { "docid": "1f20e9806037e3174f482b34e9a7f8d5", "score": "0.646698", "text": "@Override\n\tpublic void delete(HttpServletRequest request, HttpServletResponse response) {\n\t\t\n\t}", "title": "" }, { "docid": "420ab5749913881a4b8dde7c88891b55", "score": "0.6457981", "text": "@RequestMapping(value = { \"/delete-{idAvion}-avion\" }, method = RequestMethod.GET)\n public String deleteAvion(@PathVariable int idAvion) {\n avionesService.deleteAvionById(idAvion);\n return \"redirect:/listarAviones\";\n }", "title": "" }, { "docid": "de17fcb8beda22bbd5776f1dc21f5e3d", "score": "0.64345914", "text": "@RequestMapping(value = \"/deleteShowing\", method = RequestMethod.GET)\n\tpublic ModelAndView deleteShowing(HttpServletRequest request) {\n\t\tif(Constants.role.equals(Constants.ROLE_MEMBER))\n\t\t{\n\t\t\treturn new ModelAndView(\"Unauthorized\");\n\t\t}\n\t\t\n\t\tint showId = Integer.parseInt(request.getParameter(\"showid\"));\n\t\tshowingDAO.delete(showId);\n\t\treturn new ModelAndView(\"redirect:/listShowing\");\n\t}", "title": "" }, { "docid": "8e60ed8dd03e9bb9096981ff41267685", "score": "0.64325833", "text": "@RequestMapping(\"/delete\")\n public String deleteUser(String id) {\n userService.delete(id);\n return \"redirect:findAllUser\";\n }", "title": "" }, { "docid": "1813420e9c836bc5833ac9abf14e7a01", "score": "0.6419529", "text": "@RequestMapping(value=\"/songs/{id}/delete\")\n public String delete(@PathVariable(\"id\") Long id, Model model) {\n \tLookify song = service.findEntry(id);\n \tmodel.addAttribute(\"song\", song);\n service.deleteEntry(id);\n return \"redirect:/dashboard\";\n }", "title": "" }, { "docid": "feb71560f9948f2876a4e369deef3c4f", "score": "0.640208", "text": "@RequestMapping(value=\"author/deletePaper\")\n public String deletePaper(Long id) {\n paperTagsEJB.removeTagsByPaperId(id);\n paperEJB.deletePaperById(id);\n return \"managePaper\";\n }", "title": "" }, { "docid": "16fcf9c2b20d07e0755d5547f65bc068", "score": "0.6388455", "text": "@GetMapping(\"/delete\")\n\tpublic String redirect(@RequestParam Long id) {\n\t\ticonService.removeIcon(id);\n\t\treturn \"redirect:/home\";\n\t}", "title": "" }, { "docid": "cae0a879db8d7cad4dce965c09c53540", "score": "0.6385817", "text": "public String deleteAction() {\n String lsId = \n getPoDeleteIdBinding().getValue() == null ? \"\" : \n getPoDeleteIdBinding().getValue().toString();\n ApplicationModule loAm = \n Configuration.createRootApplicationModule(gsAmDef, gsConfig);\n AppModuleImpl loService = \n (AppModuleImpl)loAm;\n try{\n loService.deleteNotificationsModel(Integer.parseInt(lsId));\n } catch (Exception loEx) {\n FacesMessage loMsg;\n loMsg = new FacesMessage(\"Error de Comunicacion \" + loEx);\n loMsg.setSeverity(FacesMessage.SEVERITY_FATAL);\n FacesContext.getCurrentInstance().addMessage(null, loMsg);\n } finally {\n Configuration.releaseRootApplicationModule(loAm, true);\n }\n new UtilFaces().refreshTableWhereIterator(\"1 = 1\",\n gsEntityIterator,\n getPoTblMain()\n );\n new UtilFaces().hidePopup(getPoPopupDelete());\n return null;\n }", "title": "" }, { "docid": "2cade3f77d22bd77e5e33d30c2b628fc", "score": "0.63837165", "text": "@RequestMapping(value = { \"/delete-{Tckn}-kullanici\" }, method = RequestMethod.GET)\n public String deleteKullanici(@PathVariable String Tckn) {\n service.deleteKullaniciByTckn(Tckn);\n return \"redirect:/list\";\n }", "title": "" }, { "docid": "5c589522b874905ec27e0e003db636f4", "score": "0.6376154", "text": "@RequestMapping(\"/delete\")\n\t public String delete(@RequestParam String id) {\n\t\t \tCustomer customer = customerRepository.findOne(id);\n\t\t \tcustomerRepository.delete(customer);\n\t \n\t return \"redirect:/customer\";\n\t }", "title": "" }, { "docid": "8df1605d3083da2afee4731edec4bf52", "score": "0.6346318", "text": "@DeleteMapping(\"/delete/{id}\") // provided in Spring version 4, I mean direct DeleteMapping\r\n\tpublic String deleteTodo(@PathVariable int id) {\n repository.deleteById(id); //request mapping also can use and then pass the id -> this is another method \r\n\t\treturn \"Todo deleted with id: \"+id;\r\n\t}", "title": "" }, { "docid": "a68cd98f7cee55eb78b0460ac26ecfb6", "score": "0.63447523", "text": "@RequestMapping(method = RequestMethod.DELETE, path = \"/delete/{id}\")\n public boolean delete(@PathVariable(\"id\") long id){\n return todoService.delete(id);\n }", "title": "" }, { "docid": "a18e5c4d477fdc1c48e7c724a12cd0df", "score": "0.6333727", "text": "@Override\r\n protected void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\r\n }", "title": "" }, { "docid": "652a43af48029501f96c7b05ded60ffe", "score": "0.6332548", "text": "@GetMapping(\"/deleteUser\")\n public String deleteUser(Principal principal){\n userService.deleteUser(principal);\n\n //Redirecting to main page after user is deleted\n return \"redirect:/\";\n }", "title": "" }, { "docid": "67a4adbe937a0cd335201bb416fc2e17", "score": "0.6331487", "text": "@GetMapping(\"{id}/eliminar\")\n String eliminar(@PathVariable(\"id\") Long id);", "title": "" }, { "docid": "fd58dadcebf0515b1150570be855d975", "score": "0.63206303", "text": "@RequestMapping(value = \"/users/delete\", method = RequestMethod.GET)\n public String delete(@RequestParam(value=\"id\", required=true) Integer id, \n \t\t\t\t\t\t\t\t\t\tModel model) {\n \n\t\tlogger.debug(\"Received request to delete existing user\");\n\t\t\n\t\t// Call UserService to do the actual deleting\n\t\tuserService.delete(id);\n\t\t\n\t\t// Add id reference to Model\n\t\tmodel.addAttribute(\"id\", id);\n \t\n \t// This will resolve to /WEB-INF/jsp/deletedpage.jsp\n\t\treturn \"deletedpage\";\n\t}", "title": "" }, { "docid": "3030fe727079e0316c71c3f3c39e6762", "score": "0.630953", "text": "@GetMapping(\"/delete\")\n public String delete(@RequestParam(\"employeeId\") int theId, Model theModel){\n employeeService.deleteById(theId);\n return \"redirect:/employees/list\";\n }", "title": "" }, { "docid": "ae04676588fd16c6bdfe6a07617f9077", "score": "0.630172", "text": "@GetMapping(\"/delete\")\n\tpublic String deleteUser(@RequestParam(\"tempUserId\") int id) {\n\t\tadminService.deleteUser(id);\n\t\treturn \"redirect:/administration/\";\n\t}", "title": "" }, { "docid": "92d85d1f65ff31a47799043b1e76c9f8", "score": "0.62809896", "text": "private void delete(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n String ID = request.getParameter(\"ID\");\n //String CCnumber = request.getParameter(\"CCnumber\");\n \n request.setAttribute(\"clienteID\", ID);\n request.getRequestDispatcher(\"/apagaCliente.jsp\").forward(request, response);\t \n }", "title": "" }, { "docid": "3f3f0a26847d1aac7186ce8045b6d45d", "score": "0.6274745", "text": "@Override\n\tpublic void deleteClick(int id) {\n\t\t\n\t}", "title": "" }, { "docid": "a2968f19a94848ab0119b38b744ab692", "score": "0.62595326", "text": "void delete( AuthenticationDTO auth, MenuDTO id ) throws ApplicationException;", "title": "" }, { "docid": "cd7811bfc30f382aa000e24d6675c3bf", "score": "0.62480843", "text": "@RequestMapping(\"/delete-course\") \n public String delete(Model model\n \t\t,@RequestParam Long id) {\n\t\t courseRepository.delete(id); \n\t\t return \"redirect:/admincourse/index\";\n }", "title": "" }, { "docid": "5430c9f300f3e312dbb8a2f377acc65b", "score": "0.62432736", "text": "@RequestMapping(value = { \"/{id}\" }, method = RequestMethod.DELETE)\n public String deleteAuthor(@PathVariable Long id) {\n \tauthorService.deleteAuthor(authorService.findById(id));;\n return \"redirect:/authors/\";\n }", "title": "" }, { "docid": "4da6f7d6f9b70330d203e47658319a5e", "score": "0.6241138", "text": "@DeleteMapping(\"/deleteRoom\")\n public ModelAndView deleteRoom(@ModelAttribute ChatRoom room, BindingResult errors, Model model) {\n roomService.removeRoom(room.getName());\n return new ModelAndView(\"redirect:/admin\");//using redirect because this is DELETE and /admin is GET\n }", "title": "" }, { "docid": "3c058075e263cbbfb92674519f98b101", "score": "0.6231929", "text": "public void click_delete() {\n\t\tdelete.click();\n\t}", "title": "" }, { "docid": "a825b8d3b78ddbdb3e45298cd1c108d6", "score": "0.6224398", "text": "@RequestMapping(value = \"/delete/{id}\", method = RequestMethod.GET)\n\tpublic String delete(@PathVariable String id) {\n\t\tResume resume = resumeService.get(Integer.parseInt(id));\n\t\tresumeService.delete(resume);\n\t\t// this will force update of inbox content at next request\n\t\tPage currentPage = resumeService.getCurrentPage();\n\t\tcurrentPage.setHasContent(false);\n\t\tcurrentPage.setNumberOfResults(-1l);\n\t\treturn \"redirect:/inbox\";\n\t}", "title": "" }, { "docid": "9db442e2629caa9f60225e1a59f29e9c", "score": "0.62119794", "text": "@Override\n protected void doDelete(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n //Para eliminar un usuario\n String id = request.getParameter(\"id\");\n String message = \"Ok\";\n if (!um.deleteUser(Integer.valueOf(id))) {\n message = \"No OK\";\n }\n ArrayList<User> users = um.getUsers();\n request.setAttribute(\"users\", users);\n request.setAttribute(\"action\", \"showAll\");\n RequestDispatcher rd = request.getRequestDispatcher(\"jsp/users.jsp\");\n if (rd != null) {\n rd.forward(request, response);\n }\n }", "title": "" }, { "docid": "56955a5de58991908c374ddf5a708d4a", "score": "0.62109077", "text": "@RequestMapping(method = RequestMethod.DELETE, value = \"/frage/{id}/delete\")\n\tpublic String deleteQuestionById(@PathVariable Integer id) {\n\t\n\t\t return questionService.deleteQuestionById(id);\n\t}", "title": "" }, { "docid": "5cfaf0c4ad5d102dbb2bc39f6cca2451", "score": "0.6207949", "text": "@Override\r\npublic ModelAndView handleRequest(HttpServletRequest request,\r\n\t\tHttpServletResponse response) throws Exception {\n\tString machineNo=request.getParameter(\"machineNo\");\r\n // System.out.println(machineNo);\r\n machineDAO.deleteMachine(new Integer(machineNo));\r\n \r\n\t\r\n\treturn new ModelAndView(\"redirect:machineslist.htm\");\r\n}", "title": "" }, { "docid": "ca76b5c4978c139a2f56f46ec1138b42", "score": "0.62043726", "text": "@GetMapping(\"/deletePatient\")\n public String patientFormDelete(Model model) {\n model.addAttribute(\"patient\", new Patient());\n return \"deletePatient\";\n }", "title": "" }, { "docid": "fabf9fa46a8b5466cb183f986a67b6aa", "score": "0.62036526", "text": "@RequestMapping(\"/admin/product/deleteproduct/{id}\")\r\n\tpublic String deleteProduct(@PathVariable int id) {\r\n\t\tproductService.deleteProduct(id);\r\n\t\treturn \"redirect:/all/product/productlist\";\r\n\t}", "title": "" }, { "docid": "0f91f81ff8a0d56d3ea016a6cc5e3a63", "score": "0.6189948", "text": "@DeleteMapping(\"/delete/{id}\")\n public void instructorDeleteWithId(@PathVariable int id){\n\n instructorService.deleteInstructorById(id);\n System.out.println(\"id = \" + id + \" ,Data Deleted.....\");\n\n }", "title": "" }, { "docid": "a244af80062d8d0d9b089fe283d087b7", "score": "0.61860454", "text": "private void actionDelete(HttpServletRequest request, HttpServletResponse response, UserModel loginedUser, boolean isPost) \n\t\t\tthrows ServletException, IOException {\n \tif(loginedUser == null) response.sendRedirect(request.getContextPath()+ \"/admin?action=login\");\n \telse {\n \t\t// get the db connection\n \t\tConnection connection = CommonUtils.getStoredConnection(request);\n \t\tString errorString = null;\n \t\tFileModel requiredfile = null;\n \t\t// delete the file by id\n \t\ttry {\n \t\t\trequiredfile = DBUtils.getFileModel(connection, (String) request.getParameter(\"id\").trim());\n \t\t\t// return error if the file not found\n \t\t\tif (requiredfile==null) errorString = \"Invalid file id\";\n \t\t\t// delete from database\n \t\t\telse DBUtils.deleteFile(connection, (String) request.getParameter(\"id\").trim());\n \t\t} catch (SQLException e) {\n \t\t\terrorString = e.getMessage();\n \t\t}\n \t\t// if there are an error show it\n \t\tif (errorString != null) {\n \t\t\t// Store error in request attribute, before forward to views\n \t\t\trequest.setAttribute(\"errorString\", errorString);\n \t\t\tresponse.sendRedirect(request.getHeader(\"Referer\"));\n \t\t}\n \t\t// If everything nice.\n \t\t// delete the file from file system.\n \t\telse {\n \t\t\t// absolute path in the file system\n \t\t\tString filePath = getServletContext().getRealPath(\"\") + requiredfile.getPath();\n \t\t\tFile deletedFile = new File(filePath);\n \t\t\tif (deletedFile.delete()) {\n \t\t\t\t// add log file\n \t\t\t\tActionLogModel.addLog( \n\t \t \t\t(loginedUser == null) ? \"\":loginedUser.getUserName(), \n\t \t \t\trequest.getRemoteAddr(), \"delete file (title: \" + requiredfile.getTitle() + \")\", connection);\n \t\t\t\tresponse.sendRedirect(request.getHeader(\"Referer\"));\n \t\t\t}\n \t\t\telse {\n \t\t\t\terrorString = \"file content not deleted\";\n \t\t\t\t// Store error in request attribute, before forward to views\n \t\t\t\trequest.setAttribute(\"errorString\", errorString);\n \t\t\t\tresponse.sendRedirect(request.getHeader(\"Referer\"));\n \t\t\t}\n \t\t}\n \t}\n\t}", "title": "" }, { "docid": "50aed05da6fe918f447e088895040c4d", "score": "0.6179679", "text": "public String deleteOrder(int id) {\n uom.deleteOrder(id);\n return \"my_shoppingCart?faces-redirect=true\";\n }", "title": "" }, { "docid": "1765dca21685a6678ecc14070509d614", "score": "0.61685276", "text": "@Named(\"errorpage:delete\")\n @DELETE\n @Consumes(MediaType.WILDCARD)\n @Fallback(FalseOnNotFoundOr404.class)\n @Path(\"/errorpage\")\n boolean delete();", "title": "" }, { "docid": "1d3df486f0e206d0b9ae10f360d58c68", "score": "0.6167756", "text": "@RequestMapping(\"copmany/delete/{id}\")\n\t public String delete(@PathVariable Long id) {\n\t copmanyService.deleteCompany(id);\n\t return \"redirect:/admin/copmanys\";\n\t }", "title": "" }, { "docid": "ac4676a73dd03e79b64592fe16f4bf2c", "score": "0.61630297", "text": "@GetMapping(\"/delete/{id}\")\n\tpublic String deleteMission(@PathVariable Long id) {\n\t\tdatabase.deleteMission(id);\n\t\treturn \"redirect:/\";\n\n\t}", "title": "" }, { "docid": "327b39a3fd34d33b520a6ae49b2883ba", "score": "0.61573386", "text": "@RequestMapping(value = \"/deleteTeacher\", method=RequestMethod.GET) \n public ModelAndView deleteTeacher(@RequestParam(\"teacherId\") int teacherId) { \n ModelAndView modelView = new ModelAndView();\n try { \n teacherService.removeTeacherById(teacherId);\n } catch (DatabaseException e) {\n modelView.addObject(\"deleteMessage\", e.getMessage()); \n }\n return displayTeachers(); \n }", "title": "" }, { "docid": "6fa1418cb0cf4f70ff04e538951d77bb", "score": "0.61551815", "text": "@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n String action = request.getParameter(\"action\");\r\n if (action != null) {\r\n if (action.equalsIgnoreCase(\"deleteEva\")) {\r\n Evaluation data = cEva.getByid(request.getParameter(\"id\"));\r\n cEva.deleteSoft(data.getId(), data.getIsDaily(), data.getEvaluationdate(), data.getNote(), data.getParticipant().getId(), data.getLesson().getId(), data.getTopic().getId());\r\n }\r\n if (action.equalsIgnoreCase(\"deleteSc\")) {\r\n Score data = cSc.getByid(request.getParameter(\"id\"));\r\n// javax.swing.JOptionPane.showMessageDialog(null, request.getParameter(\"id\"));\r\n cSc.deleteSoft(data.getId(), data.getRating(), data.getAspect().getId(), data.getEvaluation().getId());\r\n }\r\n }\r\n processRequest(request, response);\r\n }", "title": "" }, { "docid": "bbf20cfdc40ce1f587136735c1734b48", "score": "0.6149487", "text": "@RequestMapping(\"deleteVen\")\r\n\tpublic String deleteVen(@RequestParam(\"venId\")int id)\r\n\t{\r\n\t\tservice.deleteVenById(id);\r\n\t\treturn \"redirect:viewAllVen\";\r\n\t}", "title": "" }, { "docid": "434992dab12205b1ab240bda6c960d38", "score": "0.614404", "text": "@DeleteMapping(\"/delete\")\n public String deleteRecordPage(@ModelAttribute Record record) {\n // \"Delete\" the record from the database.\n recordService.deleteRecord(record);\n\n // If the record was \"deleted\" successfully, redirect to the records' overview page.\n return \"redirect:/records/overview/?successful=true&mode=delete\";\n }", "title": "" }, { "docid": "6e33a6503b0f8b0477dadba4dc531ee6", "score": "0.61428887", "text": "@RolesAllowed(\"Pharmacist\")\n @DELETE //DELETE at http://localhost:XXXX/pharmacist/medicine/2/delete\n @Path(\"medicine/{id}/delete\")\n public Response deleteMedicine(@PathParam(\"id\") int medId) {\n MedicineController medicineController = new MedicineController();\n\n if(medicineController.deleteMedicine(medId))\n {\n return Response.noContent().build();\n }\n else{\n return Response.status(Response.Status.NOT_FOUND).build();\n }\n\n }", "title": "" }, { "docid": "7c8c1df3ae855e48f81beb2896b5b537", "score": "0.6140629", "text": "@Override\n\tpublic ModelAndView deleteMember(HttpServletRequest request, HttpServletResponse response) throws Exception {\n\t\tSystem.out.println(\"memberDetail.jsp :MemberControllerImpl->deleteMember()\");\n\t\t\n\t\tString memberid = request.getParameter(\"memberid\"); \n\t\tSystem.out.println(\"memberid : \" + memberid);\n\t\t\n\t\tmemberService.deleteMember(memberid);\n\t\t\n\t\tModelAndView mav=new ModelAndView();\n\t\tList<MemberVO> membersList = memberService.listMembers();\n\t\tmav.addObject(\"membersList\", membersList); //jsp로 값 넘기기\n\t\tmav.setViewName(\"listMembers\");\n\t\treturn mav;\n\t}", "title": "" }, { "docid": "9d4f25f292e1ca261ea3acc839aaf404", "score": "0.61378443", "text": "ActionResponse delete(String id);", "title": "" }, { "docid": "eaf3c4ed1a2a921471e69d58db8a64c4", "score": "0.6137478", "text": "@Override\n\tpublic void delete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\t\n\t}", "title": "" }, { "docid": "7165658908b48890edf6748a95787d19", "score": "0.61326677", "text": "@DeleteMapping(\"/{id}\")\n public void delete(@PathVariable(\"id\") Long id) {\n teacherRepository.deleteById(id);\n }", "title": "" }, { "docid": "92ee56697d77a9eee9b6fee82fa3a134", "score": "0.61324567", "text": "public void doDelete(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\r\n }", "title": "" }, { "docid": "7df995c60f7ed6be59246a99e966e7a5", "score": "0.61236584", "text": "@RequestMapping(value = \"/deleteHero\", method = RequestMethod.GET)\n public String deleteHero(HttpServletRequest request) {\n String heroIDParameter = request.getParameter(\"heroID\");\n int heroId = Integer.parseInt(heroIDParameter);\n service.deleteHero(heroId);\n return \"redirect:displayHerosPage\";\n }", "title": "" }, { "docid": "912911ce5144a8add506e360eecec81c", "score": "0.6116211", "text": "@RequestMapping(value = \"/deleteVehicle\")\r\n\tpublic ModelAndView deleteVehicle(@RequestParam(\"id\") int id) {\r\n\t\tModelAndView mav = new ModelAndView(ApplicationConstants.MASTER_PAGE);\r\n\t\tif(vehicleDAO.delete(id)) {\r\n\t\t\tmav.addObject(\"deleteDialog\", true);\r\n\t\t\tmav.addObject(ApplicationConstants.MSG, \"Data Deleted\");\r\n\t\t}\r\n\t\tmav.addObject(ApplicationConstants.TITLE, ApplicationConstants.VEHICLE);\r\n\t\tmav.addObject(\"userClicksVehicle\", true);\r\n\t\treturn mav;\r\n\t}", "title": "" }, { "docid": "7702bad118fe51f397315814df5153eb", "score": "0.6112178", "text": "@Override\n protected void doDelete(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {\n frontController.dispatchRequest(Endpoint.USER, RequestMethod.DELETE, req, res);\n }", "title": "" }, { "docid": "0b947455a72e63fd632131195f143d5d", "score": "0.61050457", "text": "@GetMapping(\"/deletenews\")\n\tpublic String deleteNewsDetails(@RequestParam int vid, RedirectAttributes flashMap) {\n\t\tSystem.out.println(\"in del vendor dtls \" + vid + \" \" + flashMap);\n\t\t// invoke service layer method , get the result(mesg) n add it under flash scope\n\t\tflashMap.addFlashAttribute(\"message\", newsService.deleteDetails(vid));\n\t\treturn \"redirect:/admin/managenews\";\n\n\t}", "title": "" }, { "docid": "05f5701565028d1659d13621cb2c06f5", "score": "0.6103497", "text": "@Override\n protected void doDelete(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n this.execute(request,response,\"DELETE\");\n }", "title": "" }, { "docid": "ccaecfa79b2c460fc1aac3c52796e5ae", "score": "0.6101935", "text": "@GetMapping(\"/background/edit/delete\")\n public ResponseEntity backgroundDelete() {\n return ResponseEntity.ok(\"edit-delete\");\n }", "title": "" }, { "docid": "a7d099bee8d141bcda690cc724f42c5e", "score": "0.61009777", "text": "private void eliminar(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tInteger id = Integer.parseInt(request.getParameter(\"id\"));\n\t\tTipoDocumento tp = new TipoDocumento();\n\t\tTipoDocumento tpaux = tpdtDao.find(id);\n\t\ttp.setId(id);\n\t\ttpdtDao.delete(tpaux);\n\t\trequest.getRequestDispatcher(\"Tipodocumento.jsp\").forward(request, response);\n\t\t\n\t}", "title": "" }, { "docid": "3292623f8fa84c3c01720f3dc9ca8093", "score": "0.6098452", "text": "@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n processRequest(request, response);\r\n String id = request.getParameter(\"id\");\r\n this.delete(id);\r\n }", "title": "" }, { "docid": "d22b9ec86b381e73b76bd9fd6600049c", "score": "0.60923165", "text": "@RequestMapping(\"/delete/{id}\")\n public String deleteBook(@PathVariable(name = \"id\") Long ISBN, Model model)\n {\n //had to redirect as error message for index-error mapping was not showing all books\n //do not delete if book is borrowed\n // instead just prevent a delete from occuring\n if(!bookService.ifBookNotBorrowed(ISBN))\n {\n return \"redirect:/\";\n }\n // else delete book\n else {\n bookService.deleteBookByID(ISBN);\n return \"redirect:/\";\n }\n\n }", "title": "" }, { "docid": "56e01ede0c78ec5b625ca189e23d5da5", "score": "0.60914546", "text": "@GetMapping(\"/deleteoPersonaje\")\n public ModelAndView borrarPersonaje() {\nModelAndView model = new ModelAndView(\"protect1/listausuario\");\n return model;\n }", "title": "" }, { "docid": "a2c5e71866b0fa40a3625af05383063c", "score": "0.6088503", "text": "@DeleteMapping(\"/{id}\")\n public void deleteVenda(@PathVariable(\"id\") Long id) {\n vendaRepository.deleteById(id);\n }", "title": "" }, { "docid": "e5d08d3c1958e602c6b43f31fb237d94", "score": "0.608727", "text": "@FXML\n\tprotected void handleDeleteButtonAction(ActionEvent event) {\n\t\tif (!idField.getText().isEmpty()) {\n\t\t\tClientResponse res = CRUDClient.getInstance().deleteTodo(Long.parseLong(idField.getText()));\n\t\t\tif(res.getStatus() == 201) {\n\t\t\t\tupdateList();\n\t\t\t\tsetTableItems();\n\t\t\t\ttodoListView.getSelectionModel().clearSelection();\n\t\t\t\tclearFields();\n\t\t\t\tMessage message = Message.getInstance();\n\t\t\t\tmessage.setType(MessageType.Database);\n\t\t\t\tmessage.setMessage(\"Todo gelöscht.\");\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "4ec30f49c0f57cde74f510c749cb0bc1", "score": "0.60765517", "text": "public String executeCommandDeletePage(ActionContext context) {\n Connection db = null;\n int resultCount = -1;\n //Parameters\n String projectId = (String) context.getRequest().getParameter(\"pid\");\n String id = (String) context.getRequest().getParameter(\"id\");\n try {\n db = getConnection(context);\n //Load the project\n Project thisProject = loadProject(\n db, Integer.parseInt(projectId), context);\n thisProject.buildPermissionList(db);\n context.getRequest().setAttribute(\"Project\", thisProject);\n context.getRequest().setAttribute(\n \"IncludeSection\", (\"news_add\").toLowerCase());\n //Process the issue\n NewsArticle thisArticle = new NewsArticle(\n db, Integer.parseInt(id), thisProject.getId());\n thisArticle.setModifiedBy(getUserId(context));\n if (!hasProjectAccess(context, db, thisProject, \"project-news-edit\")) {\n return \"PermissionError\";\n }\n resultCount = thisArticle.deletePage(db);\n if (resultCount <= 0) {\n processErrors(context, thisArticle.getErrors());\n }\n indexAddItem(context, thisArticle);\n return (\"DeletePageOK\");\n } catch (Exception errorMessage) {\n context.getRequest().setAttribute(\"Error\", errorMessage);\n return (\"SystemError\");\n } finally {\n freeConnection(context, db);\n }\n }", "title": "" }, { "docid": "00cf6aa255629edaabcdf7e1d323936d", "score": "0.60755503", "text": "public void doDelete(HttpServletRequest request,\n\t\t\tHttpServletResponse response) throws ServletException, IOException {\n\n\t\tCircleDao circleDao = new CircleDaoImpl();\n\t\tCircle circle = circleDao.getCircle(Integer.valueOf(request.getParameter(\"id\")));\n \n\t\tcircleDao.delete(circle);\n\t\tresponse.sendRedirect(\"\");\n\t}", "title": "" }, { "docid": "97464ba1a50aade16af2350011e79c4a", "score": "0.60748804", "text": "@GetMapping(\"/DeletePatient\")\n\tpublic String DeletePatient(String cin)\n\t{\n\n\t\tpatientDao.Supprimer(cin);\n\t\tforumDao.SupprimerForumByPublisher(cin);\n\t \n\t return \"redirect:/Admin/listePatients\";\n\t}", "title": "" }, { "docid": "28e241ab233248b68dde4b2b14c9823a", "score": "0.60705775", "text": "private void deleteElement(HttpServletRequest request,\n\t\t\tHttpServletResponse response) {\n\t\tresponse.setContentType(\"text/html\");\n\t\tproxy.setEndpoint(\"http://localhost:8080/Yelp_Of_Hope/services/Service\");\n\t\tString keyVal = request.getParameter(\"business_id\");\n\t\ttry {\n\t\t\tString result = proxy.deleteElement(keyVal);\n\t\t\tString url = request.getContextPath();\n\t\t\tif(!\"\".equals(result) && \"true\".equals(result)){\n\t\t\t\turl+=\"/business-list\";\n\t\t\t\tresponse.sendRedirect(url);\n\t\t\t}else{\n\t\t\t\trequest.getSession().setAttribute(\"errorMsg\", result );\n\t\t\t\turl+=\"/error\";\n\t\t\t\tresponse.sendRedirect(url);\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "b248cb6561cc1d186e7cc345bbf210c9", "score": "0.6067267", "text": "@GetMapping(\"/trade/delete/{id}\")\r\n public ModelAndView deleteTrade(@PathVariable(\"id\") Integer id, Model model) {\r\n ModelAndView mav = new ModelAndView();\r\n Trade trade = tradeService.findById(id);\r\n if (trade != null) {\r\n tradeService.deleteTrade(id);\r\n model.addAttribute(\"tradeList\", tradeService.findAllTrades());\r\n mav.setViewName(\"redirect:/trade/list\");\r\n log.info(\"Delete Trade \" + trade.toString());\r\n return mav;\r\n }\r\n return mav;\r\n }", "title": "" }, { "docid": "728700af11b06d001db00f7148b93ca6", "score": "0.6062901", "text": "private void delete(HttpServletRequest request, HttpServletResponse response) {\n\t\tSystem.out.println(\"delete\");\r\n\t\tCookie [] cookies=request.getCookies();\r\n\t\tif(cookies !=null &&cookies.length>0){\r\n\t\t\tfor(Cookie cookie:cookies){\r\n\t\t\t\tString cookienameString=cookie.getName();\r\n\t\t\t\tif(\"username\".equals(cookienameString)){\r\n\t\t\t\t\tString cookievalueString=cookie.getValue();\r\n\t\t\t\t\trequest.setAttribute(\"username\", cookievalueString);\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\trequest.getRequestDispatcher(\"index.jsp\").forward(request, response);\r\n\t\t\t\t\t} catch (ServletException | IOException e) {\r\n\t\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t}}else{\r\n\t\tString idsString=request.getParameter(\"id\");\r\n\t\tint id=0;\r\n\t\ttry {\r\n\t\t\tid=Integer.parseInt(idsString);\r\n\t\t\tcustomerDao.delete(id);\r\n\t\t} catch (Exception e) {\r\n\t\t\t// TODO: handle exception\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\ttry {\r\n\t\t\tresponse.sendRedirect(\"query.do\");\r\n\t\t} catch (IOException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}}\r\n\t\t\r\n\r\n\t}", "title": "" }, { "docid": "590924888ad086ab0e1233c153b12d6f", "score": "0.60621613", "text": "@DeleteMapping(\"/decaissements/{id}\")\n @Timed\n public ResponseEntity<Void> deleteDecaissement(@PathVariable Long id) {\n log.debug(\"REST request to delete Decaissement : {}\", id);\n decaissementRepository.delete(id);\n return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(ENTITY_NAME, id.toString())).build();\n }", "title": "" }, { "docid": "682e69b8a6c18240a25fd44af0aafcd3", "score": "0.605659", "text": "public String delete(HttpServletRequest request) throws ValidationException {\n\t\tint teamId = validator.validateInt(request.getParameter(\"team\"));\n\t\tint contestId = 0;\n\t\tif (request.getParameter(\"contest\") != null)\n\t\t\tcontestId = validator.validateInt(request.getParameter(\"contest\"));\n\n\t\t// Set the request attributes\n\t\trequest.setAttribute(\"team\", manager.findById(teamId));\n\t\trequest.setAttribute(\"contest\", contestManager.findById(contestId));\n\t\treturn \"/views/team/delete.jsp\";\n\t}", "title": "" }, { "docid": "9719974ef6aeea8affc09c75c2aedc66", "score": "0.60559464", "text": "protected void doDelete(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "7763023cf63e71a02f07f7485d35c5b2", "score": "0.60514176", "text": "@RequestMapping(value = \"/emprunts/{id}\",\n method = RequestMethod.DELETE,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public ResponseEntity<Void> deleteEmprunt(@PathVariable Long id) {\n log.debug(\"REST request to delete Emprunt : {}\", id);\n empruntRepository.delete(id);\n return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(\"emprunt\", id.toString())).build();\n }", "title": "" }, { "docid": "449dd41575f2ade29ebd88f6686e4c0d", "score": "0.6044332", "text": "@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n String action = request.getParameter(\"action\") + \"\";\r\n String id = request.getParameter(\"id\") + \"\";\r\n if (action.equals(\"delete\")) {\r\n status = ican.delete(id);\r\n request.getSession().setAttribute(\"status\", status);\r\n }\r\n processRequest(request, response);\r\n }", "title": "" }, { "docid": "0eb1bea6ff2733d0d5d9080e4d705545", "score": "0.6040493", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tint id=Integer.parseInt(request.getParameter(\"id\"));\n\t\tServiceInterface si=new ServiceImplementation();\n\t\t\n\t\tint i=si.deleteData(id);\n\t\tif (i!=0) {\n\t\t\trequest.setAttribute(\"msg\", \"Record Deleted Successfully\");\n\t\t\trequest.getRequestDispatcher(\"AllView.jsp\").forward(request, response);\n\t\t} else {\n request.setAttribute(\"msg\", \"Something Went Wrong\");\n request.getRequestDispatcher(\"Error.jsp\").forward(request, response);\n\t\t}\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "ca3ca13212239029edd4b0b1e6f0d317", "score": "0.6031573", "text": "@RequestMapping(value = \"/{id}\", method = RequestMethod.DELETE)\n public void deleteItemById(@PathVariable(\"id\") int id){\n ItemService.removeItemById(id);\n }", "title": "" }, { "docid": "c9cd4cb2406790c35a89070d073818fb", "score": "0.602951", "text": "@RequestMapping(value = \"/deleteSem\", method = RequestMethod.GET)\n public String getDeleteSem(@RequestParam(\"id\") Integer semesterId) {\n \tlogger.debug(\"Received request to delete student line\");\n \n \t// Delegate to service\n\t\tsemesterService.delete(semesterId);\n\n\t\t// Redirect to url\n\t\treturn \"redirect:/stu\";\n\t}", "title": "" }, { "docid": "255b2db0ea33e44ca2a51413e6c1251f", "score": "0.6022864", "text": "@DeleteMapping(\"/{id}\")\n @ResponseStatus(value = HttpStatus.OK)\n public void delete(@PathVariable @Min(value = 1) long id) {\n service.delete(id);\n }", "title": "" }, { "docid": "2f4f891b79a39e4c541c89d0dda66c42", "score": "0.6022849", "text": "@Override\n\tpublic Result delete(Integer id) {\n\t\t try {\n\t\t\t \tif(partnerDao.existEntity(id)){\n\t\t\t \t\tpartnerDao.delete(id);\n\t\t return Response.deletedEntity();\n\t\t\t \t}else{\n\t\t\t \t\treturn Response.notFoundEntity(\"Partner\");\n\t\t\t \t}\n\t } catch (Exception e) {\n\t return ExceptionsUtils.delete(e);\n\t }\n\t}", "title": "" }, { "docid": "dfb91e01d1787efa21413069b98592c4", "score": "0.6022592", "text": "@DeleteMapping(\"/assurees/{id}\")\n @Timed\n public ResponseEntity<Void> deleteAssuree(@PathVariable Long id) {\n log.debug(\"REST request to delete Assuree : {}\", id);\n assureeRepository.delete(id);\n assureeSearchRepository.delete(id);\n return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(ENTITY_NAME, id.toString())).build();\n }", "title": "" } ]
b825e7b8cc7f8556784e7f94bfcaa1c9
but it opens wide range of potentially dangerous classes
[ { "docid": "40e26db737207f78debe997727758895", "score": "0.0", "text": "public Object getObjectCustom() {\n return new Object() {\n // in order to provide a web entry-point\n public void doIndex() {\n replyOk();\n }\n };\n }", "title": "" } ]
[ { "docid": "d2b74bad65615cfcd196a0c0f8f87026", "score": "0.62332785", "text": "@Override\r\n\tprotected void checkSubclass()\r\n\t{\n\t}", "title": "" }, { "docid": "2a550f8458794d16824f204804d00e1c", "score": "0.61532927", "text": "@Override\n public void visitClassContext(ClassContext classContext) {\n }", "title": "" }, { "docid": "92cf7d82ca748076e58d95fbbb9cf23d", "score": "0.6147073", "text": "@Override\r\n\tprotected void checkSubclass() {\n\t}", "title": "" }, { "docid": "92cf7d82ca748076e58d95fbbb9cf23d", "score": "0.6147073", "text": "@Override\r\n\tprotected void checkSubclass() {\n\t}", "title": "" }, { "docid": "92cf7d82ca748076e58d95fbbb9cf23d", "score": "0.6147073", "text": "@Override\r\n\tprotected void checkSubclass() {\n\t}", "title": "" }, { "docid": "92cf7d82ca748076e58d95fbbb9cf23d", "score": "0.6147073", "text": "@Override\r\n\tprotected void checkSubclass() {\n\t}", "title": "" }, { "docid": "92cf7d82ca748076e58d95fbbb9cf23d", "score": "0.6147073", "text": "@Override\r\n\tprotected void checkSubclass() {\n\t}", "title": "" }, { "docid": "92cf7d82ca748076e58d95fbbb9cf23d", "score": "0.6147073", "text": "@Override\r\n\tprotected void checkSubclass() {\n\t}", "title": "" }, { "docid": "92cf7d82ca748076e58d95fbbb9cf23d", "score": "0.6147073", "text": "@Override\r\n\tprotected void checkSubclass() {\n\t}", "title": "" }, { "docid": "56c83cda36e28584872bf32b03bf1479", "score": "0.6133388", "text": "@Override\n\tprotected void checkSubclass()\n\t{\n\t}", "title": "" }, { "docid": "6e7dc1210d8887a067039c5db7ffcc1f", "score": "0.61070675", "text": "private Simplifier() {}", "title": "" }, { "docid": "5a917d3066b8bfa8dfd2ed5ff3d9ad67", "score": "0.6105699", "text": "@Override\n\tprotected void checkSubclass() {\n\t}", "title": "" }, { "docid": "5a917d3066b8bfa8dfd2ed5ff3d9ad67", "score": "0.6105699", "text": "@Override\n\tprotected void checkSubclass() {\n\t}", "title": "" }, { "docid": "5a917d3066b8bfa8dfd2ed5ff3d9ad67", "score": "0.6105699", "text": "@Override\n\tprotected void checkSubclass() {\n\t}", "title": "" }, { "docid": "5a917d3066b8bfa8dfd2ed5ff3d9ad67", "score": "0.6105699", "text": "@Override\n\tprotected void checkSubclass() {\n\t}", "title": "" }, { "docid": "5a917d3066b8bfa8dfd2ed5ff3d9ad67", "score": "0.6105699", "text": "@Override\n\tprotected void checkSubclass() {\n\t}", "title": "" }, { "docid": "5a917d3066b8bfa8dfd2ed5ff3d9ad67", "score": "0.6105699", "text": "@Override\n\tprotected void checkSubclass() {\n\t}", "title": "" }, { "docid": "5a917d3066b8bfa8dfd2ed5ff3d9ad67", "score": "0.6105699", "text": "@Override\n\tprotected void checkSubclass() {\n\t}", "title": "" }, { "docid": "5a917d3066b8bfa8dfd2ed5ff3d9ad67", "score": "0.6105699", "text": "@Override\n\tprotected void checkSubclass() {\n\t}", "title": "" }, { "docid": "5a917d3066b8bfa8dfd2ed5ff3d9ad67", "score": "0.6105699", "text": "@Override\n\tprotected void checkSubclass() {\n\t}", "title": "" }, { "docid": "5a917d3066b8bfa8dfd2ed5ff3d9ad67", "score": "0.6105699", "text": "@Override\n\tprotected void checkSubclass() {\n\t}", "title": "" }, { "docid": "5a917d3066b8bfa8dfd2ed5ff3d9ad67", "score": "0.6105699", "text": "@Override\n\tprotected void checkSubclass() {\n\t}", "title": "" }, { "docid": "5a917d3066b8bfa8dfd2ed5ff3d9ad67", "score": "0.6105699", "text": "@Override\n\tprotected void checkSubclass() {\n\t}", "title": "" }, { "docid": "5a917d3066b8bfa8dfd2ed5ff3d9ad67", "score": "0.6105699", "text": "@Override\n\tprotected void checkSubclass() {\n\t}", "title": "" }, { "docid": "5a917d3066b8bfa8dfd2ed5ff3d9ad67", "score": "0.6105699", "text": "@Override\n\tprotected void checkSubclass() {\n\t}", "title": "" }, { "docid": "5a917d3066b8bfa8dfd2ed5ff3d9ad67", "score": "0.6105699", "text": "@Override\n\tprotected void checkSubclass() {\n\t}", "title": "" }, { "docid": "5a917d3066b8bfa8dfd2ed5ff3d9ad67", "score": "0.6105699", "text": "@Override\n\tprotected void checkSubclass() {\n\t}", "title": "" }, { "docid": "5a917d3066b8bfa8dfd2ed5ff3d9ad67", "score": "0.6105699", "text": "@Override\n\tprotected void checkSubclass() {\n\t}", "title": "" }, { "docid": "5a917d3066b8bfa8dfd2ed5ff3d9ad67", "score": "0.6105699", "text": "@Override\n\tprotected void checkSubclass() {\n\t}", "title": "" }, { "docid": "5a917d3066b8bfa8dfd2ed5ff3d9ad67", "score": "0.6105699", "text": "@Override\n\tprotected void checkSubclass() {\n\t}", "title": "" }, { "docid": "5a917d3066b8bfa8dfd2ed5ff3d9ad67", "score": "0.6105699", "text": "@Override\n\tprotected void checkSubclass() {\n\t}", "title": "" }, { "docid": "38b0a0a8b09f571434846218cb8980fb", "score": "0.61012685", "text": "protected void checkSubclass() {\n\t}", "title": "" }, { "docid": "38b0a0a8b09f571434846218cb8980fb", "score": "0.61012685", "text": "protected void checkSubclass() {\n\t}", "title": "" }, { "docid": "e85599497bd81b4e416bdb33fe1b9760", "score": "0.60575885", "text": "private void extractDangerousClasses(){\n\t\t\n\t\t//System.out.println(reasoner.getTopClassNode().getEntitiesMinusTop());\n\t\t\n\t\tfor (OWLClass cls : reasoner.getTopClassNode().getEntitiesMinusTop()){\n\t\t\tSystem.out.println(cls.toString());\n\t\t\tdangerousClasses.add(class2identifier.get(cls));\n\t\t\tindex.addDangerousClasses(class2identifier.get(cls));\n\t\t}\n\t\t\n\t\tfor (int ide : dangerousClasses){\n\t\t\tLogOutput.print(\"DANGEROUS CLASS == TOP: \"+ index.getName4ConceptIndex(ide));\n\t\t}\n\t}", "title": "" }, { "docid": "670a1f1762ae34e35e1f226e8737d51d", "score": "0.60469663", "text": "@Override\n protected void checkSubclass() {\n }", "title": "" }, { "docid": "670a1f1762ae34e35e1f226e8737d51d", "score": "0.60469663", "text": "@Override\n protected void checkSubclass() {\n }", "title": "" }, { "docid": "670a1f1762ae34e35e1f226e8737d51d", "score": "0.60469663", "text": "@Override\n protected void checkSubclass() {\n }", "title": "" }, { "docid": "670a1f1762ae34e35e1f226e8737d51d", "score": "0.60469663", "text": "@Override\n protected void checkSubclass() {\n }", "title": "" }, { "docid": "670a1f1762ae34e35e1f226e8737d51d", "score": "0.60469663", "text": "@Override\n protected void checkSubclass() {\n }", "title": "" }, { "docid": "670a1f1762ae34e35e1f226e8737d51d", "score": "0.60469663", "text": "@Override\n protected void checkSubclass() {\n }", "title": "" }, { "docid": "670a1f1762ae34e35e1f226e8737d51d", "score": "0.60469663", "text": "@Override\n protected void checkSubclass() {\n }", "title": "" }, { "docid": "670a1f1762ae34e35e1f226e8737d51d", "score": "0.60469663", "text": "@Override\n protected void checkSubclass() {\n }", "title": "" }, { "docid": "3fe222c0bb82d93e12b4eecfa48d7446", "score": "0.6045142", "text": "@Override\r\n protected void checkSubclass() {\n }", "title": "" }, { "docid": "3fe222c0bb82d93e12b4eecfa48d7446", "score": "0.6045142", "text": "@Override\r\n protected void checkSubclass() {\n }", "title": "" }, { "docid": "3fe222c0bb82d93e12b4eecfa48d7446", "score": "0.6045142", "text": "@Override\r\n protected void checkSubclass() {\n }", "title": "" }, { "docid": "946a3ce85297849e5ace6c249f332931", "score": "0.60428727", "text": "private TypeUtils() {\n\t\t// Do nothing.\n\t}", "title": "" }, { "docid": "a91d2adb118ff977c23d729a4b9e648a", "score": "0.60316133", "text": "private Classes() {\n\t}", "title": "" }, { "docid": "ed492a7c01b2b0ac5d12b44b15e5af97", "score": "0.60273355", "text": "Object getClass_();", "title": "" }, { "docid": "250ad49572abfc028b40c6879d2b2316", "score": "0.5995476", "text": "@Override\n protected void checkSubclass() {\n }", "title": "" }, { "docid": "76d8b6e125d9b276ca2c70ea097c9489", "score": "0.5899898", "text": "private Util() {\n\t\t// avoid instantiation\n\t}", "title": "" }, { "docid": "3d1b634749c93b5efe67e2c23bbef92a", "score": "0.58833516", "text": "protected boolean method_4269() {\r\n return false;\r\n }", "title": "" }, { "docid": "3ab0fd38a588a50b956736b076ddb9e3", "score": "0.58297634", "text": "protected boolean checkClass(Class sClass) {\n return (sClass.getModifiers() & Modifier.PUBLIC) != Modifier.PUBLIC;\n }", "title": "" }, { "docid": "cbe8095dbe2b07802ab7d9d0e151d967", "score": "0.5799029", "text": "protected PrevalentObject() {}", "title": "" }, { "docid": "a0a0e1a44a558f024bf59e2e43a32b93", "score": "0.57938915", "text": "private EmbeddedADS() {\r\n throw new IllegalAccessError(\"This class should not be instantiated.\");\r\n }", "title": "" }, { "docid": "c48368a22e24067d7e48bf1e1bd44456", "score": "0.5789772", "text": "@Test\n public void shouldAvoidGetClassMethodCollisions() throws Exception {\n assertThat(Naming.normalize(\"_class\"), equalTo(\"Class_\"));\n }", "title": "" }, { "docid": "751c0e78c4a9bce80b2c37f5b22d54fe", "score": "0.5772154", "text": "ClassDerivationEnd getClass_();", "title": "" }, { "docid": "781cad8e3ce7ebd285d05153c6b3f0ed", "score": "0.5758763", "text": "private ClassTester() {\n\t\tthis.clazz = this.getClass();\n\t}", "title": "" }, { "docid": "e52a2790eff43419dd9121d82bc00b5d", "score": "0.57186794", "text": "public boolean canChangeClass() throws Exception\r\n {\r\n return false;\r\n }", "title": "" }, { "docid": "844c7a54851a88d2a5377aed16af5ae2", "score": "0.5672368", "text": "private SE() {\n }", "title": "" }, { "docid": "ebeb30681f67ce2b98d338537a9acbc0", "score": "0.5670226", "text": "protected void annotateClass(Class cl)\r\n {\r\n throw new FallbackException();\r\n }", "title": "" }, { "docid": "bc79b72d9e5ad87b787e80da0e213eb5", "score": "0.5669288", "text": "private ClassLoaderCleaner() {\r\n /* no-op */\r\n }", "title": "" }, { "docid": "07333397075ec76ae0f5ef673f4e3fbe", "score": "0.5667656", "text": "private TidyUtils()\n {\n // unused\n }", "title": "" }, { "docid": "4fb613b73e3bc3c5760f0ba46f84e8ad", "score": "0.5664059", "text": "public void visitClassType(String name) {\n\t\tif (1==1) throw new RuntimeException(\"NYI\");\n\t\t\n\t}", "title": "" }, { "docid": "ebb06c8b947a2a500cf3ce8ab1856456", "score": "0.56573784", "text": "private ReflectionFuntions() {\n\t}", "title": "" }, { "docid": "e4e66932f69e1933ae32b77ca00e68ff", "score": "0.562155", "text": "@Override\n protected Class<?> resolveClass(ObjectStreamClass cls)\n throws IOException, ClassNotFoundException\n {\n if (!whitelist.contains(cls.getName())) {\n throw new InvalidClassException(\"Unsupported class => \", cls.getName());\n }\n return super.resolveClass(cls);\n }", "title": "" }, { "docid": "c13e6a1b7c130afa9fb0f34225bea4ef", "score": "0.561564", "text": "protected void mo1555b() {\n }", "title": "" }, { "docid": "e6adfcfffa5a9c46881e8b084cafc821", "score": "0.5597345", "text": "private GeneralUtils() {}", "title": "" }, { "docid": "3f1bff0e938efeea905bfefec4e096aa", "score": "0.55815786", "text": "private AvroIntentUtil() {\n\t\t// No constuction\n\t}", "title": "" }, { "docid": "6b89a3ab4c01886ca0676a6f3a8a8808", "score": "0.5581289", "text": "private void m11342g() {\n }", "title": "" }, { "docid": "88be1f39c7c36a2d44273e210ba564b1", "score": "0.5565737", "text": "private ExecutionUtils() {\n\t\tthrow new IllegalAccessError(\"Shouldn't be instantiated.\");\n\t}", "title": "" }, { "docid": "f94762dc0e46d0bb9d677508203cc669", "score": "0.55649453", "text": "public SignatureVisitor visitClassBound() {\n\t\tif (1==1) throw new RuntimeException(\"NYI\");\n\t\treturn null;\n\t}", "title": "" }, { "docid": "f29704dd0223d216fa85ebee8e34c119", "score": "0.5547522", "text": "private DondersLaw()\r\n {\r\n }", "title": "" }, { "docid": "bf06ba25b21714cf2ab91d755bedc3e7", "score": "0.55385065", "text": "private void createSyntheticClasses() throws ClassFormatException, IOException,\r\n\t\t\tClassNotFoundException {\r\n\t\t// Always java.lang.Object as the first class:\r\n\t\tloadClass(ClassInSuite.getGlobalName(Object.class.getName()));\r\n\t\taClassId = ClassTypeEnum.values().length + 4;\r\n\t\t// loadClass(\"java/lang/Class\");\r\n\t\t// loadClass(ClassInSuite.getGlobalName(Class.class.getName()));\r\n\t\thandleReference(ClassInSuite.getGlobalName(Class.class.getName()), \"aClassId\", \"I\");\r\n\r\n\t\t// If the simple type arrays are not referenced from java - classes, they are not included.\r\n\t\t// However, if native methods use these types, they cannot be found at runtime => it is\r\n\t\t// necessary to reference all simple array types. An example might be native code as this:\r\n\t\t// jarray ba = NewByteArray(sizeof(contextDef));\r\n\t\t// (Example from Java_java_lang_Thread.c)\r\n\r\n\t\tloadArray(\"[C\");\r\n\t\tloadArray(\"[B\");\r\n\t\tloadArray(\"[I\");\r\n\t\tloadArray(\"[J\");\r\n\t\t// As long as our own java.lang.Class does not allocate it's own Class[] we will have to\r\n\t\t// help referencing Object[]:\r\n\t\t// TODO Rework java.lang.Class\r\n\t\tloadClass(\"[L\" + ClassInSuite.getGlobalName(Object.class.getName()));\r\n\t\t// More assistance to Class[]:\r\n\t\tloadClass(\"[L\" + ClassInSuite.getGlobalName(Class.class.getName()));\r\n\t}", "title": "" }, { "docid": "3acf415861c766cdd3a6555b988d970f", "score": "0.55255944", "text": "private CheckValidationHelper() {\n\t\tthrow new UnsupportedOperationException();\n\t}", "title": "" }, { "docid": "80e3055a02b6b4135cc0e4a08d5c890e", "score": "0.55234337", "text": "private Ham(){\r\n throw new UnsupportedOperationException();\r\n }", "title": "" }, { "docid": "fb74cffcc5ebd8c4495294c453d1d121", "score": "0.551743", "text": "public static void lessRiskyStuff() {\n\t\tthrow new MyRuntimeException();\n\t}", "title": "" }, { "docid": "6db5798a130402e11ba3281bc3e76ea2", "score": "0.55164653", "text": "@Override\n default boolean isClass() {\n return true;\n }", "title": "" }, { "docid": "18b8465b04897e8e7f48990d7cb57394", "score": "0.5503867", "text": "@Override\n\tpublic void cry() {\n\t\t\n\t}", "title": "" }, { "docid": "050cc8becc564c9f3d0526ac8b75a506", "score": "0.55028254", "text": "private Tools() {\n\t\t// Do nothing\n\t}", "title": "" }, { "docid": "d518fa3a64f6ba878c3dfcef7075ffba", "score": "0.54771537", "text": "@SuppressWarnings(\"unchecked\")\n protected void checkClass(Class clazz) {\n try {\n savedCtors.put(clazz, clazz.getConstructor());\n return;\n } catch( NoSuchMethodException e ) {\n //throw new RuntimeException( \"Registration error: no-argument constructor not found on:\" + clazz ); \n }\n \n // See if it has a non-public no-arg constructor\n try {\n Constructor ctor = clazz.getDeclaredConstructor();\n \n // Make sure we can call it later.\n ctor.setAccessible(true);\n \n savedCtors.put(clazz, ctor);\n return;\n } catch( NoSuchMethodException e ) {\n }\n \n throw new RuntimeException( \"Registration error: no-argument constructor not found on:\" + clazz ); \n }", "title": "" }, { "docid": "108742d860475ea4c3816b82b12bc759", "score": "0.5471788", "text": "private MatchUtil() {\r\n \t\t// Hides default constructor\r\n \t}", "title": "" }, { "docid": "cbb575f3604912e9829bfb03778daf50", "score": "0.54660153", "text": "private DiffTool()\n\t{\n\t\tthrow new InstantiationError(\"Util class instantiation prohibited\");\n\t}", "title": "" }, { "docid": "5fa97eb575a543499cdfae7d2a85cd6c", "score": "0.5448447", "text": "@Override\n \tpublic void incompatible() {\n \t}", "title": "" }, { "docid": "d71fd96f441e913552d4a6f476fee1ae", "score": "0.5446747", "text": "private Squiggle() { }", "title": "" }, { "docid": "c5ac52875dad8d1bb9f9ed060abfeca5", "score": "0.54454154", "text": "private FullSingleObject() {\r\n\t}", "title": "" }, { "docid": "8c1a99a8b8e89a7730238a4c28944cfa", "score": "0.5443123", "text": "private UtilityClass() {\n throw new AssertionError();\n }", "title": "" }, { "docid": "a84613bc43c54b75c798d612a040e11f", "score": "0.54395616", "text": "private CodePackage() {}", "title": "" }, { "docid": "b11f3eff88cfaa098fb8c40f604d66a6", "score": "0.5435659", "text": "private NonSI() {\r\n }", "title": "" }, { "docid": "ae03cbf9bf5ec80cc4798c30b0f2f746", "score": "0.5434592", "text": "private Oid() {\n\t}", "title": "" }, { "docid": "f1786ffccc2e95c18aa01edf0a16890f", "score": "0.54303366", "text": "private DraconianErrorHandler() { }", "title": "" }, { "docid": "7cb8d98f805b189fd29a62ed61429c7c", "score": "0.5429044", "text": "private TypicalAttractions() {}", "title": "" }, { "docid": "641306589fa8a3ddacb76a86ca7cff97", "score": "0.54269254", "text": "private LoadedClassCache() {\n\n }", "title": "" }, { "docid": "351959aed78fe0e798b08331a44992c7", "score": "0.542568", "text": "void method_9309() {\r\n super();\r\n }", "title": "" }, { "docid": "8b3698f002ffb8a2a94754aba02e30a5", "score": "0.5421075", "text": "protected NlsClassCastException() {\n\n super();\n }", "title": "" }, { "docid": "2d0824e923a5d66806b3bad0940abbd3", "score": "0.54058564", "text": "private Utils() {}", "title": "" }, { "docid": "2d0824e923a5d66806b3bad0940abbd3", "score": "0.54058564", "text": "private Utils() {}", "title": "" }, { "docid": "2d0824e923a5d66806b3bad0940abbd3", "score": "0.54058564", "text": "private Utils() {}", "title": "" }, { "docid": "58f8a7e30e82aa4a5e1ab61a1ef5933a", "score": "0.5404033", "text": "@Override\r\n public Object getClassStart() {\r\n throw new IllegalArgumentException(\"Nope\");\r\n }", "title": "" }, { "docid": "ad95488616059dd09904280861efcbb5", "score": "0.54039264", "text": "private Transformations() {\n throw new IllegalStateException(\"This is a pure utility class!\");\n }", "title": "" }, { "docid": "b02df72450bd65f78964de388efff187", "score": "0.5403458", "text": "public void visitInnerClassType(String name) {\n\t\tif (1==1) throw new RuntimeException(\"NYI\");\n\t\t\n\t}", "title": "" }, { "docid": "aa69ebc99470cfa951130deaafa61474", "score": "0.53998893", "text": "private ExpansionHelper() {\n\t\tthrow new UnsupportedOperationException();\n\t}", "title": "" } ]
a420d4cb51548fc7a3fd9cf2991ec63f
Constructs a new series with the specified name.
[ { "docid": "6e02c87eb4ca6a197d5ee63831bb4050", "score": "0.6744821", "text": "public EventSeries(String name) {\r\n\t\tsuper(name);\r\n\t\tdata = new ArrayList<Event>();\r\n\t\tstart = new Event(Long.MAX_VALUE, Long.MIN_VALUE, 0, Color.BLACK);\r\n\t\tend = new Event(Long.MIN_VALUE, Long.MIN_VALUE, 0, Color.BLACK);\r\n\t}", "title": "" } ]
[ { "docid": "09edd3df69de5fb3a18c6a994b783644", "score": "0.61479944", "text": "public void addSeries(String name, double[] values){\n DataSeries ds = new DataSeries(name, null);\n for (double d : values) {\n DataSeriesDataProvider dsdp = new SimpleDataProvider(d);\n ds.add(dsdp);\n }\n this.add(ds);\n }", "title": "" }, { "docid": "26affbd9d5a0473419d69df18cbce671", "score": "0.5759049", "text": "public void addSeries(String name, double[] values, Color color){\n DataSeries ds = new DataSeries(name, color);\n for (double d : values) {\n DataSeriesDataProvider dsdp = new SimpleDataProvider(d);\n ds.add(dsdp);\n }\n this.add(ds);\n }", "title": "" }, { "docid": "b0fdd157afbca06557a398b30a7d5c6b", "score": "0.5642403", "text": "public static Series getSeriesByName(String inName){\n\t\tif(!alreadyPresent(inName)){\n\t\t\treturn null;\n\t\t} else {\n\t\t\treturn list.get(getIndex(inName));\n\t\t}\n\t}", "title": "" }, { "docid": "726ed51e3cd915b36eb9d71ead975675", "score": "0.55869234", "text": "public DataNode createDataNode(String name) {\n DataNode node = new DataNode(name);\n node.setAdapter(this);\n return node;\n }", "title": "" }, { "docid": "b193b2a7956f7d3716e4d1f5a3db2961", "score": "0.55784684", "text": "public DataNode createDataNode(String name);", "title": "" }, { "docid": "41e8c4f354eb114ea0f3d81a8a13ee8d", "score": "0.5505995", "text": "public ModelsRecord(Long id, Long seriesId, String name) {\n super(Models.MODELS);\n\n set(0, id);\n set(1, seriesId);\n set(2, name);\n }", "title": "" }, { "docid": "a0d3558a70474fd33ea0728b6ca6155a", "score": "0.54999983", "text": "public static AbstractAnalyzer create(String name) {\n\t\treturn factoryHash.get(name.toLowerCase()).create();\n\t}", "title": "" }, { "docid": "902e0b1755d208ebfc0e78b211168a5a", "score": "0.54866207", "text": "public Name(String name){\n \t\tsetName(name);\n \t}", "title": "" }, { "docid": "5d471ceb6949a892060f42c034ffcb7c", "score": "0.5442794", "text": "@JsonCreator\n public static TimeseriesAggregationInterval fromString(String name) {\n return fromString(name, TimeseriesAggregationInterval.class);\n }", "title": "" }, { "docid": "3e6e237701f52130e7d97ef41943f613", "score": "0.5436679", "text": "public static Identifier byName(String name) {\n return new Identifier(Type.NAME, name);\n }", "title": "" }, { "docid": "dd6ba644824fae27f3661d694acbff03", "score": "0.5424518", "text": "public Name(String name) {\n this.name = name;\n dateFileList = new HashMap<>();\n }", "title": "" }, { "docid": "962ddc0a608c9dc30204cb8ed95584a0", "score": "0.5413996", "text": "private XYDataset createDataset() {\r\n series = new XYSeries(chosenFunction);\r\n \r\n XYSeriesCollection dataset = new XYSeriesCollection();\r\n dataset.addSeries(series);\r\n\r\n return dataset; \r\n }", "title": "" }, { "docid": "94e95f7947704846bbe3fb0a2db70c09", "score": "0.5411577", "text": "public DeductionType name(String name) {\n this.name = name;\n return this;\n }", "title": "" }, { "docid": "197b748135ed713f2d8d333a2c2a29a7", "score": "0.5407998", "text": "void addSeries(Comparable<String> seriesKey, double[][] data);", "title": "" }, { "docid": "70d1bc0b6f93ec67fd042a1331318424", "score": "0.5363025", "text": "public Category(String name) {\n this.name = name;\n }", "title": "" }, { "docid": "49334287b04517daa1e96c8c4343244e", "score": "0.53509253", "text": "private JFreeChart createChart(IntervalXYDataset dataset, String name) {\n JFreeChart chart = ChartFactory.createHistogram(\n name,\n null,\n \"Frecuency\",\n dataset,\n PlotOrientation.VERTICAL,\n false,\n true,\n false\n );\n chart.getXYPlot().setForegroundAlpha(0.75f);\n chart.getXYPlot().getRenderer().setSeriesPaint(0, Color.blue);\n return chart;\n }", "title": "" }, { "docid": "09d60b01feac2a1d43f8ae7a98a44fc7", "score": "0.5328128", "text": "public create(String name) {\n\t\treturn delegate.createWrappedIndividual(name, Vocabulary.CLASS_, Default.class);\n }", "title": "" }, { "docid": "1e382e9058d99fa608e6de8befdc0769", "score": "0.5319849", "text": "public DataTable(String name) {\n\t\tthis();\n\t\tsetName(name);\n\t}", "title": "" }, { "docid": "c7dee75b2de71c6d27bc1074d91187b0", "score": "0.52954155", "text": "private AverageType(String name) {\n this.name = name;\n }", "title": "" }, { "docid": "ad9e5d26c9eecca039962d7d9bb6a82b", "score": "0.5217078", "text": "private AttributeCategory(String name) {\n this.name = name;\n }", "title": "" }, { "docid": "6dbe7fcfd598bf0b2fe58e34ffeb33ab", "score": "0.5207005", "text": "public Service(String name) {\r\n\t\tthis.name = name;\r\n\t}", "title": "" }, { "docid": "66a5f04bac001edaa8b704dcd437c733", "score": "0.51958233", "text": "public Builder name(final String n) {\n name = n;\n return this;\n }", "title": "" }, { "docid": "f5a34249d534142f8578dd0420ab5486", "score": "0.5176236", "text": "public Composite(String name) {\n this.name = name;\n }", "title": "" }, { "docid": "5bc91ac7a154ef160355bf34389a52da", "score": "0.5175007", "text": "public Vertex addVertex(String name) {\r\n\t\tVertex v;\r\n\t\tv = myVertices.get(name);\r\n\t\tif (v == null) {\r\n\t\t\tv = new Vertex(name, vertexID);\r\n\t\t\tmyVertices.put(name, v);\r\n\t\t\tmyAdjList.put(v, new TreeSet<Vertex>());\r\n\t\t\tbeers.put(name, new HashMap<String, Double>());\r\n\t\t\tmyNumVertices += 1;\r\n\t\t\tvertexID += 1;\r\n\t\t}\r\n\t\treturn v;\r\n\t}", "title": "" }, { "docid": "e5c4b74b7d56d9420c146555b7e749f5", "score": "0.5167308", "text": "private XYDataset createDataset() {\r\n// final TimeSeries eur = DemoDatasetFactory.createEURTimeSeries();\r\n// final TimeSeries mav = MovingAverage.createMovingAverage(\r\n// eur, \"30 day moving average\", 30, 30\r\n// );\r\n// final TimeSeriesCollection dataset = new TimeSeriesCollection();\r\n// dataset.addSeries(eur);\r\n// dataset.addSeries(mav);\r\n return null;\r\n }", "title": "" }, { "docid": "b18b037bd0b7627f87b9f1e4b74a2e06", "score": "0.5158569", "text": "@InterfaceAudience.Public\n @InterfaceStability.Unstable\n public static ResourceTypeInfo newInstance(String name) {\n return ResourceTypeInfo.newInstance(name, \"\");\n }", "title": "" }, { "docid": "e88a91346534308bd56c13b98c8d5dc3", "score": "0.5144719", "text": "public Category(String name) {\n super(name);\n }", "title": "" }, { "docid": "d491fd9927c653c26409701327e12b0b", "score": "0.5143641", "text": "public State( String name ) {\n this.name = name;\n }", "title": "" }, { "docid": "3430464dcff37d19c12a09ea899006ec", "score": "0.51433575", "text": "public Vertex(String name) {\n this(name, UUID.randomUUID().toString());\n }", "title": "" }, { "docid": "c526e58b5c799bdee94b34e5c01a37e7", "score": "0.5133686", "text": "public void setDatasetName(String name);", "title": "" }, { "docid": "82daa8e3a24db1d9a2fe597402cc5574", "score": "0.5118197", "text": "private DiscreteVariableType(String name) {\n this.name = name;\n }", "title": "" }, { "docid": "1fedf3d52af9d729daf6ac99debccb86", "score": "0.5114093", "text": "void addSeries(Comparable<String> seriesKey, double[][] data, Integer amountOfValues, Integer average);", "title": "" }, { "docid": "a1578c3aae7dd66fa5476937eccd8013", "score": "0.51025254", "text": "private Entry(String name) {\n this.name = name;\n }", "title": "" }, { "docid": "a52eea57fb526f137d1320061f33bada", "score": "0.50965923", "text": "public DataDefinition(String name, Module mod) {\n this(name, Types.makeTycon(name), mod);\n }", "title": "" }, { "docid": "ed673471e4475e0ba04068a19e9b6b84", "score": "0.50942826", "text": "public SyntheticFabrics(String name, Double price) {\n super(name, price);\n }", "title": "" }, { "docid": "9602dda4f2c2ddd40879d65b3139b3ff", "score": "0.5085582", "text": "public System newChild(String name) {\r\n\t\tSystem child = new System();\r\n\t\tchild.id = UUID.randomUUID().toString();\r\n\t\tchild.name = name;\r\n\t\tchildren.add(child);\r\n\t\treturn child;\r\n\t}", "title": "" }, { "docid": "bc8abd29d81265cfdaeeaf50b6da930f", "score": "0.50855374", "text": "public CategoryMultipleSeries (String category,double value,int series,\r\n\t\t\tString seriesname)\r\n\t{\r\n\t\tthis.xval=category;\r\n\t\tthis.yval=value;\r\n\t\tthis.series=series;\r\n\t\tthis.seriesname=seriesname;\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "57473fb9a2b12d46d9fd13f46bc486b6", "score": "0.5072061", "text": "public HighChart() {\n\t\tthis(IDGen.generateID(ID_LENGTH));\n\t}", "title": "" }, { "docid": "bdf860877c147680f86e457084e3a60e", "score": "0.50699985", "text": "public MultipleCategorySeries(String title) {\n mTitle = title;\n }", "title": "" }, { "docid": "3b1fddb420705fdd7cc7d1d053c048ed", "score": "0.506525", "text": "Chart createChart();", "title": "" }, { "docid": "4c5b6d6ceffec48f2c5c77d07c3f5639", "score": "0.50555336", "text": "void setSeries(int no);", "title": "" }, { "docid": "0e1db23ffa9bc5edad51f83e6ee99ade", "score": "0.50405437", "text": "private XMLPipelineFeature(String name) {\n this.name = name;\n\n entries.put(name, this);\n }", "title": "" }, { "docid": "7ca9fc683f22556741451bc230e88a2b", "score": "0.5032315", "text": "public Builder name(String name) {\r\n this.name = name;\r\n return this;\r\n }", "title": "" }, { "docid": "d779f493ca634a3a4871f4de7bf9a0ef", "score": "0.5031602", "text": "public Symbol(String name) { this.name = name; }", "title": "" }, { "docid": "387a6b89278ba45af007cd33d74a077e", "score": "0.5025896", "text": "public Attribute(String name, int index) {\n\t\tthis.attributeName = name;\n\t\tthis.values = new TreeSet<Double>();\n\t\tthis.index = index;\n\t}", "title": "" }, { "docid": "4025d52d9ca2c0013abc6914bb477976", "score": "0.5021462", "text": "public static ObjectName\n\tnewObjectName( String name )\n\t{\n\t\treturn( JMXUtil.newObjectName( name ) );\n\t}", "title": "" }, { "docid": "b67596b2b3a2de116b0a67e5ae00bca7", "score": "0.50153536", "text": "public Product(String name) {\n\t\tthis.name = name;\n\t\tthis.price = 0;\n\t}", "title": "" }, { "docid": "ca1286d0b5664c79b1cf1fefe0f67ea0", "score": "0.5010362", "text": "public Tag(String name) {\n this.name = name;\n }", "title": "" }, { "docid": "96dae26e5ccff3d2716a9019d85fad87", "score": "0.50014985", "text": "public static Element newElement(String name) {\n \tDocumentBuilder builder = null;\n \ttry {\n \t\tbuilder = getParser();\n Document doc = builder.newDocument();\n Element el = doc.createElement(name);\n doc.appendChild(el);\n return el;\n\t } catch (ParserConfigurationException e) {\n\t throw new RuntimeException(e);\n\t } finally {\n\t\t\treleaseParser(builder);\n\t\t}\n }", "title": "" }, { "docid": "b8c06dcd594252226816789030d91c93", "score": "0.4998827", "text": "SeriesErrorbar name(String name);", "title": "" }, { "docid": "5d001397d2c858ee4f6eaabbc3753553", "score": "0.49919483", "text": "public Employee(String name) {\n\t\tthis.name = name;\n\t}", "title": "" }, { "docid": "7cef75eee6d802c6a0c7c790f62957fb", "score": "0.49917245", "text": "public DynaProperty(final String name) {\r\n this(name, Object.class);\r\n }", "title": "" }, { "docid": "fb2fd48b50e000f34d295c701bae2279", "score": "0.49873438", "text": "public Artifact createOperation(String name) {\r\n\t\treturn MMMTypesFactory.createOperation(ws, name, null, null, false, false, false);\r\n\t}", "title": "" }, { "docid": "168d6f5b8007a653bf1fb498fa26203a", "score": "0.49842104", "text": "public Artifact createFeature(String name) {\r\n\t\treturn MMMTypesFactory.createFeature(ws, name, null, false, false, false);\r\n\t}", "title": "" }, { "docid": "8bcc72642968a6caf77e6d3f5d16578f", "score": "0.49745646", "text": "public Vertex (L name) {\n this.name = name;\n checkRep(); \n }", "title": "" }, { "docid": "fe750632e712fa00d8150bfac4dfc817", "score": "0.49744654", "text": "public Stock getStockbyName(String name);", "title": "" }, { "docid": "c917c70ea01640d40efc0ff6d5e73382", "score": "0.4967682", "text": "public void Name(String n) {\r\n this.name=n;\r\n }", "title": "" }, { "docid": "615dbd3543243976c6f598949cf934f3", "score": "0.4964985", "text": "public void name(String name) {this.name = name;}", "title": "" }, { "docid": "cd2380675bebbf282b5f26bb7089d176", "score": "0.49632195", "text": "@JsonCreator\n public static KnownDataFlowStreams fromString(String name) {\n return fromString(name, KnownDataFlowStreams.class);\n }", "title": "" }, { "docid": "ab47f8bbbb9dfdaf5d33477a28328ab5", "score": "0.49570665", "text": "public Analysis_and_Design createAnalysis_and_Design(String name) {\n\t\treturn delegate.createWrappedIndividual(name, Vocabulary.CLASS_ANALYSIS_AND_DESIGN, DefaultAnalysis_and_Design.class);\n }", "title": "" }, { "docid": "df2def8c7c0ff57cbae477528ce86d73", "score": "0.4954967", "text": "Attribute(String name) {\n this.name = name;\n\n }", "title": "" }, { "docid": "7c7d2ee81c0674b52fccfc3488e98537", "score": "0.49527922", "text": "protected NamedScorecardStructure createInstance(long id, String name) {\n return new Group(id, name);\n }", "title": "" }, { "docid": "f0d3e6292c99d6c612379f2bb93ea1f5", "score": "0.49506572", "text": "public TimeSeries(){\n }", "title": "" }, { "docid": "0d58ba2a962e0f69f452521ba12a0977", "score": "0.4947675", "text": "public Builder name(String name) {\n if (name != null) {\n this.name = name;\n }\n return this;\n }", "title": "" }, { "docid": "6777132dcb3bb225b2a533decb176973", "score": "0.49441954", "text": "private void createDataset()\r\n\t{\r\n\t\t// seriesSet = new XYSeriesCollection(dataSeries);\r\n\t\t// hold the selected combobox item index\r\n\t\tString modelName = (String) modelBox.getSelectedItem();\r\n\r\n\t\t// data series have been added, adds the models\r\n\t\tseriesSet.addSeries(modelSeries);\r\n\t\tseriesSet.addSeries(bmdSeries);\r\n\t\tseriesSet.addSeries(bmdlSeries);\r\n\t\tseriesSet.addSeries(bmduSeries);\r\n\t\tcreateChart(modelName);\r\n\t}", "title": "" }, { "docid": "cc38522dc431763721ea561738744224", "score": "0.49427995", "text": "@Override\n\tpublic void create(String name) {\n\t\tif(name.isEmpty() || null == name)\n\t\t\tthrow new PosException(\"Category name must not be empty !!!\");\n\t\t\n\t\t// validation for add existing category\n//\t\tTODO: if(false)\n//\t\t\tthrow new PosException(\"Already exists category name !!!\");\n\t\t\t\n\t\ttry (Connection conn = DBConnection.getConnection();\n\t\t\t\tPreparedStatement prep = conn.prepareStatement(INSERT)) {\n\n\t\t\tprep.setString(1, name);\n\t\t\tprep.executeUpdate();\n\t\t\t\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "7f8537d9b27ad8af908bc8b0bd84644d", "score": "0.49364266", "text": "public void setname(String n)\r\n\t{\r\n\t\tthis.name = n;\r\n\t}", "title": "" }, { "docid": "f43d75b4b1e304d1b3c28b5701d376e3", "score": "0.49352485", "text": "public static Tag newTag(String prefix, String name) {\n return newTag(newSymbol(prefix, name));\n }", "title": "" }, { "docid": "9130c72ca50443b2a2bdac265ced2a34", "score": "0.4928724", "text": "public Employee(String name){\n\t\tthis.name=name;\n\t\t\n\t}", "title": "" }, { "docid": "2cd5366e2d90b58b88cd6acb6cca05ec", "score": "0.49272662", "text": "public XmlNode addNewNode(String name) {\n return new XmlNode(createAndAddChild(name));\n }", "title": "" }, { "docid": "6cd86dce46a8bc750c95f74af009208d", "score": "0.49240372", "text": "@JsonCreator\n public static SpatialAnalysisOperationFocus fromString(String name) {\n return fromString(name, SpatialAnalysisOperationFocus.class);\n }", "title": "" }, { "docid": "fda1383f282f1f7a6cfc6da63534ab92", "score": "0.49178702", "text": "public Opponent name(String name) {\n this.name = name;\n return this;\n }", "title": "" }, { "docid": "cfe7621209d1c154b4cf4ff32d163045", "score": "0.49176958", "text": "public static NamedEntries of(String name) {\n return new NamedEntries(name);\n }", "title": "" }, { "docid": "12a73d886d89404bc6d6193fd73437b3", "score": "0.4911758", "text": "Source newSource(String name);", "title": "" }, { "docid": "304a234faf3666b8dd25af896ec40646", "score": "0.49116403", "text": "public static Tick tick(String name) {\n return new Tick(name, Unit.MilliSec);\n }", "title": "" }, { "docid": "349c1161ac687303f8e2afbbddeaf1a9", "score": "0.49037322", "text": "public Shape(String name) {\r\n\r\n }", "title": "" }, { "docid": "7bcb7c7ea24ce34ce0810abc399b08c5", "score": "0.49016204", "text": "public void setName(MetricId name) {\n this.name = name;\n }", "title": "" }, { "docid": "1233d0b1824d18e31e33a577c4a4500c", "score": "0.49014658", "text": "NameInfo(String name) {\n this.name = name;\n }", "title": "" }, { "docid": "4d6cb1a9badf41fe8335910c0202f9c0", "score": "0.48995557", "text": "public Item inputName(String name) {\n\n this.name = name;\n return this;\n\n }", "title": "" }, { "docid": "1a4e2c0c954f2b203f8a1785b490315c", "score": "0.4899226", "text": "@JsonCreator\n public static DataResidencyType fromString(String name) {\n return fromString(name, DataResidencyType.class);\n }", "title": "" }, { "docid": "4bb1e15217c1ea6c6c3d7409cdd5838d", "score": "0.48960674", "text": "private static XYZDataset createDataset(String exp_name) throws Exception {\n \t \n \tDBManager dba=new DBManager();\n \t\n double[] xvalues = new double[1024];\n \tdouble[] yvalues = new double[1024];\n \tdouble[] zvalues = new double[1024];\n \tdouble[][] data = new double[][] {xvalues, yvalues, zvalues};\n\n \t\n \tDefaultXYZDataset dataset = new DefaultXYZDataset();\n \t\n \n \tString sql=\"SELECT src_rank,dst_rank, SUM(send_size) AS sum from \"+exp_name+\"_comm WHERE eid =83 GROUP BY src_rank,dst_rank;\";\n \t ArrayList resultList=dba.executeSql(sql);\n \t\n \n \t for(int i=0;i<resultList.size();i++)\n \t {\n \t\tHashMap hash=(HashMap)resultList.get(i);\n \t\tString x=hash.get(\"SRC_RANK\").toString();\n \t\tString y=hash.get(\"DST_RANK\").toString();\n \t\tString z=hash.get(\"SUM\").toString();\n \t\t\n \t\tdata[0][i]=Double.parseDouble(hash.get(\"SRC_RANK\").toString()); \n \t\tdata[1][i]=Double.parseDouble(hash.get(\"DST_RANK\").toString()); \n \t\tdata[2][i]=Double.parseDouble(hash.get(\"SUM\").toString()); \n \t\t\n \t\tif(data[2][i]>=maxSum)\n \t\t\tmaxSum=data[2][i];\n \t } \n \t \n\t dataset.addSeries(\"Series 1\", data);\n\t return dataset;\n }", "title": "" }, { "docid": "4aa959c97d2c6cb7decab5cce08ca11e", "score": "0.48945138", "text": "public void add(String name) {\n var tag = new Tag();\n tag.setName(name);\n tagRepository.add(tag);\n }", "title": "" }, { "docid": "75ee7d381eb0ebb3bb93a052827b6852", "score": "0.48941654", "text": "public Disposition name(String name) {\n this.name = name;\n return this;\n }", "title": "" }, { "docid": "b7441c8db4a6bf2891b0d0c0959b3ed8", "score": "0.48852277", "text": "protected CategorySeries buildCategoryDataset(String title, double[] values) {\n CategorySeries series = new CategorySeries(title);\n \n high = MenuServices.getInstance().getHigh();\n \n mid = MenuServices.getInstance().getAvrage();\n \n low = MenuServices.getInstance().getLow();\n \n series.add(\"High\", high.getTotalCalories());\n series.add(\"Avrage\", mid.getTotalCalories());\n series.add(\"Low\", low.getTotalCalories());\n \n return series;\n }", "title": "" }, { "docid": "cee448d9d21650b71f7340f639864fa0", "score": "0.48799118", "text": "default N addNode(String name) {\n\t\tfinal N node = getFactory().createNode(name);\n\t\taddNode(node);\n\t\treturn node;\n\t}", "title": "" }, { "docid": "01c73d36cd2d6e3da9f3d5cd9ffd2149", "score": "0.48781058", "text": "public NodeData(String name)\n {\n _name = name;\n _edges = new ArrayList<EdgeData>();\n }", "title": "" }, { "docid": "1dca0fd9a0c72f3cd36848051b9de851", "score": "0.48777333", "text": "public Item(String name) {\n\t\tthis.name = name;\n\t}", "title": "" }, { "docid": "a7dd94780431c0743635661a3156d2c6", "score": "0.48669636", "text": "public static Portfolio createPortfolio(String name, String data) {\n Portfolio p = new Portfolio(name);\n String[] lines = data.split(\"\\n\");\n for (int i = 1; i < lines.length; i++) {\n String[] entries = lines[i].split(\"\\\\s*,\\\\s*\");\n p.getProduktliste().add(new ETF(entries[0]));\n p.getProduktliste().get(i - 1).setPreis(Double.parseDouble(entries[1]));\n p.getProduktliste().get(i - 1).setAnteile(Integer.parseInt(entries[2]));\n p.getProduktliste().get(i - 1).setDepotwert(Double.parseDouble(entries[1]) * Integer.parseInt(entries[2]));\n p.getProduktliste().get(i - 1).setGewichtung(Integer.parseInt(entries[4]));\n }\n return p;\n }", "title": "" }, { "docid": "2b0343f643ad2f81a3e3f4edcb085ebb", "score": "0.48655424", "text": "PvwaveIO (String name) {\r\n this.name = name;\r\n }", "title": "" }, { "docid": "a09c6147c4e439ab295a2eb442e86f53", "score": "0.48601034", "text": "void add(String name);", "title": "" }, { "docid": "54c1ae86fbe33c56d963c73e394b2450", "score": "0.4857807", "text": "@JsonCreator\n public static MicrosoftGraphSensitivity fromString(String name) {\n return fromString(name, MicrosoftGraphSensitivity.class);\n }", "title": "" }, { "docid": "a40fc105f1af1891e8ab31a0f3b0c8cd", "score": "0.48574623", "text": "interface WithName {\n /**\n * Specifies name.\n */\n WithCreate withName(String name);\n }", "title": "" }, { "docid": "a4d2df5445046384ceb885879a1e7dcd", "score": "0.48520288", "text": "public void setName(String name) throws InvalidValueException;", "title": "" }, { "docid": "d696b273c72ee2b5ef8b4f5b1211dca0", "score": "0.48514774", "text": "public static TagModel create(String name) {\n\t\treturn new TagModel(name);\n\t}", "title": "" }, { "docid": "5fab16ce2e355d31c3fe4d07554e901f", "score": "0.4848316", "text": "public DArray newDArray(String n) {\n return new MatlabArray(n);\n }", "title": "" }, { "docid": "7700a870030a783b93ab1777447cc507", "score": "0.4847752", "text": "private TransformGroup makeNamedSphere(String name, float x, float y, float z, float r, Appearance a) {\n Transform3D translate = new Transform3D();\n translate.set(new Vector3f(x, y, z));\n NamedSphere sph = new NamedSphere(name, r, a);\n TransformGroup tg = new TransformGroup(translate);\n tg.addChild(sph);\n return tg;\n }", "title": "" }, { "docid": "afbdfd168f39058ed42ab53a19555b82", "score": "0.4847443", "text": "public Taxon newTaxon(String name, String rank, String sourceIds) {\n\t\tif (this.lookup(name) != null)\n\t\t\tSystem.err.format(\"** Warning: A taxon by the name of %s already exists\\n\", name);\n\t\tTaxon t = new Taxon(this, name);\n\t\tif (rank != null && !rank.equals(\"no rank\"))\n\t\t\tt.rank = rank;\n if (sourceIds != null && sourceIds.length() > 0)\n t.setSourceIds(sourceIds);\n t.taxonomy.addRoot(t);\n\t\treturn t;\n\t}", "title": "" }, { "docid": "67041db3d159ff5f6e3f016e73315a6a", "score": "0.48467955", "text": "public QuoteGraph(String name) {\n\t\tthis.name = name;\n\t\tthis.treeSet = new TreeSet<>();\n\t\tthis.currentAgentsNumber = 1;\n\t}", "title": "" }, { "docid": "46340f69f74108296e6f88e6f87be7dc", "score": "0.4844195", "text": "public Track(String name) {\n this.name = name;\n next = null;\n }", "title": "" }, { "docid": "3bdcf5a3552b6a93bf517fe5dd8d382e", "score": "0.4844131", "text": "public Station(String name) {\r\n\t\tsuper(name);\r\n\t}", "title": "" } ]
e874f079b916b58e6d9144336f1c28d8
Mouse Drag events for Object Move and Bounding Box Additional variables to set borders of the Bounding Box / (nonJavadoc) Mouse Drag events for Object Move and Bounding Box and add variables to set borders of the Bounding Box
[ { "docid": "b98db327ef61615cd0d9758b5f583b6c", "score": "0.57813877", "text": "public void mouseDragged(MouseEvent e) {\n\t\tif (Mode == \"sel\") {\n\t\t\tif (alts == false){ \n\t\t\t\tselection.clear();\n\t\t\t}\n\t\t\tmx = getWidth(); my = getHeight();\n\t\t\tx2 = e.getX();\n\t\t\ty2 = e.getY();\n\t\t\tif (x2<0){x2=0;} if (y2<0){y2=0;}\n\t\t\tif (x2>mx){x2=mx-1;} if (y2>my){y2=my-1;}\n\t\t\tDrawSelBox(getGraphics(), x1, y1, x2, y2);\n\t\t}\n\t\tif(Mode == \"move\"){\n\t\t\tx1 = e.getX();\n\t\t\ty1 = e.getY();\n\t\t\tDrawMove(getGraphics(), x1, y1, 2, selection);\n\t\t}\n\t}", "title": "" } ]
[ { "docid": "0c3e33b80d753d847062b4323ecb7a18", "score": "0.6563062", "text": "@Override\n\t\tpublic void mouseDragged(MouseEvent evt) {\n\t\t\tevt.translatePoint(translation, translation);\n\n\t\t\t// ignore right-click drag\n\t\t\tif( !SwingUtilities.isLeftMouseButton(evt))\n\t\t\t\treturn;\n\n\t\t\t// in-a-drag flag\n\t\t\tdragStarted = true;\n\t\t\t\n\t\t\t// if we are resizing a box\n\t\t\tif (resizedBox != null) {\n\t\t\t\t\n\t\t\t\t// adjust the size of the displayed resize rectangle due to the\n\t\t\t\t// mouse drag\n\t\t\t\tif (resizeTop == true) {\n\t\t\t\t\tint top = (int) Math.max(evt.getY(), resizeYMin);\n\t\t\t\t\tsetResizeBox(resizedBox.getBounds().x, top, resizedBox\n\t\t\t\t\t\t\t.getBounds().width, resizedBox.getBounds().height\n\t\t\t\t\t\t\t+ resizedBox.getBounds().y - top);\n\t\t\t\t} else {\n\t\t\t\t\tint bot = (int) Math.min(evt.getY(), resizeYMax);\n\t\t\t\t\tsetResizeBox(resizedBox.getBounds().x, resizedBox\n\t\t\t\t\t\t\t.getBounds().y, resizedBox.getBounds().width, bot\n\t\t\t\t\t\t\t- resizedBox.getBounds().y);\n\t\t\t\t}\n\t\t\t\tevt.getComponent().repaint();\n\t\t\t// if we are dragging a box around (a move)\n\t\t\t} else if (draggedBox != null) {\n\n\t\t\t\t// draw a \"move\" rectangle to show where the box is moving\n\t\t\t\t// we just use the resize box for this since that mechanism is already there\n\t\t\t\tint top = evt.getY() - (draggedBox.getBounds().height / 2);\n\t\t\t\tif (top < dragYMin)\n\t\t\t\t\ttop = (int) dragYMin;\n\t\t\t\tif (top + draggedBox.getBounds().height > dragYMax)\n\t\t\t\t\ttop = (int) dragYMax - draggedBox.getBounds().height;\n\t\t\t\tint left = evt.getX() - (draggedBox.getBounds().width / 2);\n\t\t\t\tif (left < dragXMin)\n\t\t\t\t\tleft = (int) dragXMin;\n\t\t\t\tif (left + draggedBox.getBounds().width > dragXMax)\n\t\t\t\t\tleft = (int) dragXMax - draggedBox.getBounds().width;\n\t\t\t\tsetResizeBox(left, top, draggedBox.getBounds().width,\n\t\t\t\t\t\tdraggedBox.getBounds().height);\n\n\t\t\t\tevt.getComponent().repaint();\n\t\t\t\t\n\t\t\t// if we are dragging out the outline of a new appointment\n\t\t\t} else if (draggedAnchor != -1) {\n\t\t\t\t\n\t\t\t\tClickedBoxInfo b = getClickedBoxInfo(evt);\n\t\t\t\tif( b == null )\n\t\t\t\t\treturn;\n\t\t\t\t\n\t\t\t\t// create the DragNewBox if it doesn;t yet exist\n\t\t\t\tif (dragNewBox == null)\n\t\t\t\t{\t\n\t\t\t\t\tdragNewBox = new DragNewBox(b.zone);\n\t\t\t\t\tsetDragNewBox(b.zone.getBounds().x, evt.getY(),\n\t\t\t\t\t\t\tb.zone.getBounds().width, 5);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// drag out the DragNewBox - but don't allow a drag beyond\n\t\t\t\t// resizeYMin and resizeYMax - the bounds allowed for dragging\n\t\t\t\tdouble y = evt.getY();\n\t\t\t\ty = Math.max(y, resizeYMin);\n\t\t\t\ty = Math.min(y, resizeYMax);\n\t\t\t\tRectangle r = dragNewBox.getBounds();\n\t\t\t\t\n\t\t\t\t// draw the DragNewBox above or below the starting (anchor)\n\t\t\t\t// point, depending on if we are dragging up or down\n\t\t\t\tif (y > draggedAnchor) {\n\t\t\t\t\tsetDragNewBox(r.x, r.y, r.width, y - draggedAnchor);\n\t\t\t\t} else {\n\t\t\t\t\tsetDragNewBox(r.x, y, r.width, draggedAnchor - y);\n\t\t\t\t}\n\t\t\t\tevt.getComponent().repaint();\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "cef09751d96fe2ac614fb359aae71f9b", "score": "0.6511398", "text": "@Override\n\t\tpublic void mouseReleased(MouseEvent evt) {\n\t\t\tevt.translatePoint(translation, translation);\n\n\t\t\t// get the box and/or zone clicked\n\t\t\tClickedBoxInfo b = getClickedBoxInfo(evt);\n\t\t\t// right click\n\t\t\tif (evt.getButton() == MouseEvent.BUTTON3) {\n\n\t\t\t\tif( dragStarted && draggedBox != null)\n\t\t\t\t\treturn;\n\n\t\t\t\t// if no box or zone - do nothing\n\t\t\t\tif (b == null)\n\t\t\t\t\treturn;\n\n\t\t\t\t// show a box's menu\n\t\t\t\tif (b.box != null) {\n\t\t\t\t\tif (b.box.getMenu() != null) {\n\t\t\t\t\t\tb.box.getMenu().show(evt.getComponent(), evt.getX(),\n\t\t\t\t\t\t\t\tevt.getY());\n\t\t\t\t\t}\n\t\t\t\t\t// show a zone's menu\n\t\t\t\t} else if (b.zone != null) {\n\t\t\t\t\tb.zone.getMenu().show(evt.getComponent(), evt.getX(),\n\t\t\t\t\t\t\tevt.getY());\n\t\t\t\t}\n\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t\n\t\t\t// if we have been resizing, then send a resize call to\n\t\t\t// the resized box so it can deal with the resize\n\t\t\tif (resizedBox != null && dragStarted) {\n\t\t\t\tdouble y = evt.getY();\n\t\t\t\ty = Math.max(y, resizeYMin);\n\t\t\t\ty = Math.min(y, resizeYMax);\n\t\t\t\ttry {\n\t\t\t\t\tresizedBox.resize(resizeTop, realMins((y - resizeYMin)\n\t\t\t\t\t\t\t/ (resizeYMax - resizeYMin)));\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\tErrmsg.getErrorHandler().errmsg(e);\n\t\t\t\t}\n\t\t\t// if we have been moving a box, then call its move method\n\t\t\t// so that it can deal with it\n\t\t\t} else if (draggedBox != null && dragStarted) {\n\t\t\t\tdouble y = resizeRectangle.y;\n\t\t\t\ty = Math.max(y, resizeYMin);\n\t\t\t\ty = Math.min(y, resizeYMax);\n\n\t\t\t\tdouble centerx = evt.getX();\n\t\t\t\tdouble centery = evt.getY();\n\t\t\t\t\n\t\t\t\tcentery = Math.max(centery, dragYMin);\n\t\t\t\tcentery = Math.min(centery, dragYMax);\n\t\t\t\tDate d = getDateForCoord(centerx, centery);\n\t\t\t\ttry {\n\t\t\t\t\t// if we moved the box inside the resize area, send it the\n\t\t\t\t\t// new start time info\n\t\t\t\t\tif (isInsideResizeArea(resizeRectangle.y, resizeRectangle.y\n\t\t\t\t\t\t\t+ resizeRectangle.height)) {\n\t\t\t\t\t\t((Box.Draggable) draggedBox).move(\n\t\t\t\t\t\t\t\trealMins((y - resizeYMin)\n\t\t\t\t\t\t\t\t\t\t/ (resizeYMax - resizeYMin)), d);\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// we moved the box outside of the resize area, so \n\t\t\t\t\t\t// send no time info (the resize area == the time grid)\n\t\t\t\t\t\t((Box.Draggable) draggedBox).move(-1, d);\n\t\t\t\t\t}\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\tErrmsg.getErrorHandler().errmsg(e);\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\t// reset resizing and dragging\n\t\t\tdraggedBox = null;\n\t\t\tresizedBox = null;\n\t\t\tremoveResizeBox();\n\t\t\tevt.getComponent().repaint();\n\n\t\t}", "title": "" }, { "docid": "59c780cba6f03f0654fba4a8c00a81dc", "score": "0.63935304", "text": "@Override\n\t\tpublic void mousePressed(MouseEvent evt) {\n\n\t\t\tevt.translatePoint(translation, translation);\n\n\t\t\t// ignore right click\n\t\t\tif( !SwingUtilities.isLeftMouseButton(evt))\n\t\t\t\treturn;\n\n\t\t\t// get box or zone we are in\n\t\t\tClickedBoxInfo b = getClickedBoxInfo(evt);\n\t\t\t\n\t\t\t// if we press in a box other than the DragNewBox - then\n\t\t\t// get rid of the DragNewBox\n\t\t\tif (b == null || b.box != dragNewBox)\n\t\t\t\tremoveDragNewBox();\n\n\t\t\t// reset drag started (end any current drag)\n\t\t\tdragStarted = false;\n\n\t\t\t// if we are on the border of a box - start a resize\n\t\t\tif (b != null && (b.onTopBorder || b.onBottomBorder)) {\n\t\t\t\t// start resize of an appointment box\n\t\t\t\tif (b.box instanceof ApptBox) {\n\t\t\t\t\tresizedBox = (ApptBox) b.box;\n\t\t\t\t\tsetResizeBox(b.box.getBounds().x, b.box.getBounds().y,\n\t\t\t\t\t\t\tb.box.getBounds().width, b.box.getBounds().height);\n\t\t\t\t\tresizeTop = !b.onBottomBorder;\n\t\t\t\t// start resize of the drag new box\n\t\t\t\t} else if (b.box == dragNewBox) {\n\t\t\t\t\tif (b.onBottomBorder) {\n\t\t\t\t\t\tdraggedAnchor = dragNewBox.getBounds().y;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tdraggedAnchor = dragNewBox.getBounds().y\n\t\t\t\t\t\t\t\t+ dragNewBox.getBounds().height;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tevt.getComponent().repaint();\n\t\t\t// start drag (move) of a Box\n\t\t\t} else if (b != null && b.box != null\n\t\t\t\t\t&& b.box instanceof Box.Draggable) {\n\t\t\t\tdraggedBox = b.box;\n\t\t\t\tsetResizeBox(b.box.getBounds().x, b.box.getBounds().y, b.box\n\t\t\t\t\t\t.getBounds().width, b.box.getBounds().height);\n\t\t\t\tevt.getComponent().repaint();\n\t\t\t// if we have pressed inside a zone, this is the start of a \n\t\t\t// DragNewBox - so set the anchor point and record the zone.\n\t\t\t// *** only do this if we are inside the resize bounds\n\t\t // this is the magic spot where we enforce sweeping out a new item\n\t\t\t// only in certain spots\n\t\t\t} else if (b != null && b.zone != null && evt.getY() > resizeYMin\n\t\t\t\t\t&& evt.getY() < resizeYMax) {\n\t\t\t\tdraggedAnchor = evt.getY();\n\t\t\t}\n\n\t\t\t// set the mouse cursor depending on where we are\n\t\t\t// in relation to a box - border vs. inside vs outside\n\t\t\tJPanel panel = (JPanel) evt.getComponent();\n\t\t\tif (b != null && (b.onTopBorder || b.onBottomBorder)) {\n\t\t\t\tpanel.setCursor(new Cursor(Cursor.N_RESIZE_CURSOR));\n\t\t\t} else if (b != null && b.box != null\n\t\t\t\t\t&& b.box instanceof Box.Draggable) {\n\t\t\t\tpanel.setCursor(new Cursor(Cursor.MOVE_CURSOR));\n\t\t\t} else {\n\t\t\t\tpanel.setCursor(new Cursor(Cursor.HAND_CURSOR));\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "59f487c88bc35cdcdce25a711b34c3d9", "score": "0.6346067", "text": "@Override\n\t\tpublic void mouseMoved(MouseEvent evt) {\n\t\t\tevt.translatePoint(translation, translation);\n\n\t\t\t\n\t\t\tJPanel panel = (JPanel) evt.getComponent();\n\n\t\t\t// get box or zone we are within\n\t\t\tClickedBoxInfo b = getClickedBoxInfo(evt);\n\t\t\t\n\t\t\t// set tool tip text\n\t\t\tif (b != null && b.box != null ) {\n\t\t\t\tpanel.setToolTipText(b.box.getToolTipText());\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tpanel.setToolTipText(null);\n\t\t\t}\n\n\t\t\t// set the mouse cursor depending on where we are\n\t\t\t// in relation to a box - border vs. inside vs outside\n\t\t\tif (b != null && (b.onTopBorder || b.onBottomBorder)) {\n\t\t\t\tpanel.setCursor(new Cursor(Cursor.N_RESIZE_CURSOR));\n\t\t\t} else if (b != null && b.box != null\n\t\t\t\t\t&& b.box instanceof Box.Draggable) {\n\t\t\t\tpanel.setCursor(new Cursor(Cursor.MOVE_CURSOR));\n\t\t\t} else {\n\t\t\t\tpanel.setCursor(new Cursor(Cursor.HAND_CURSOR));\n\t\t\t}\n\t\t\t\n\t\t\t// only repaint if we have moved to a different box or zone\n\t\t\tif( b != null && b.boxChanged )\n\t\t\t\tevt.getComponent().repaint();\n\t\t}", "title": "" }, { "docid": "7f56164fdadc794e0ae7c83e8a7a0a34", "score": "0.62609386", "text": "private void dragRectangle() {\n rectangle.setOnMouseDragged(mouseEvent -> {\n if (mouseEvent.getSceneX() > controller.BOUND &&\n mouseEvent.getSceneX() < controller.anchorPane1.getScene().getWidth() - controller.BOUND) {\n rectangle.setLayoutX(rectangle.getLayoutX() + mouseEvent.getX() - oldX);\n this.drag = true;\n }\n if (mouseEvent.getSceneY() > controller.menuBar.getHeight() + controller.BOUND &&\n mouseEvent.getSceneY() < controller.anchorPane1.getScene().getHeight() - controller.BOUND) {\n rectangle.setLayoutY(rectangle.getLayoutY() + mouseEvent.getY() - oldY);\n this.drag = true;\n }\n });\n }", "title": "" }, { "docid": "4e86f51cc1e5812bd8da337107035505", "score": "0.6227892", "text": "private ClickedBoxInfo getClickedBoxInfo(MouseEvent evt) {\n\t\t\n\t\tboolean onTopBorder = false;\n\t\tboolean onBottomBorder = false;\n\t\tClickedBoxInfo ret = new ClickedBoxInfo();\n\n\t\t// check if we are in the drag new box\n\t\tif (dragNewBox != null) {\n\t\t\tRectangle r = dragNewBox.getBounds();\n\t\t\tif (evt.getX() > r.x && evt.getX() < (r.x + r.width)\n\t\t\t\t\t&& evt.getY() > r.y && evt.getY() < (r.y + r.height)) {\n\t\t\t\tret.box = dragNewBox;\n\t\t\t\tdragNewBox.setSelected(true);\n\n\t\t\t\tif (Math.abs(evt.getY() - r.y) < 4) {\n\t\t\t\t\tonTopBorder = true;\n\t\t\t\t} else if (Math.abs(evt.getY() - (r.y + r.height)) < 4) {\n\t\t\t\t\tonBottomBorder = true;\n\t\t\t\t}\n\n\t\t\t} else {\n\t\t\t\tdragNewBox.setSelected(false);\n\t\t\t}\n\t\t}\n\n\t\t// check if we are in any boxes (drag new box above takes priority)\n\t\tfor(Box b : boxes){\n\t\t\t\n\t\t\tif( !b.isClickable())\n\t\t\t\tcontinue;\n\t\t\t\n\t\t\tif (ret.box == null && evt.getX() > b.getBounds().x\n\t\t\t\t\t&& evt.getX() < (b.getBounds().x + b.getBounds().width)\n\t\t\t\t\t&& evt.getY() > b.getBounds().y\n\t\t\t\t\t&& evt.getY() < (b.getBounds().y + b.getBounds().height)) {\n\n\t\t\t\tb.setSelected(true);\n\t\t\t\tret.box = b;\n\t\t\t\tif (b instanceof ApptBox) {\n\t\t\t\t\tif (Math.abs(evt.getY() - b.getBounds().y) < 4) {\n\t\t\t\t\t\tonTopBorder = true;\n\t\t\t\t\t} else if (Math.abs(evt.getY()\n\t\t\t\t\t\t\t- (b.getBounds().y + b.getBounds().height)) < 4) {\n\t\t\t\t\t\tonBottomBorder = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tb.setSelected(false);\n\t\t\t}\n\t\t}\n\n\t\t// checl if we are in a date zone\n\t\tfor( DateZone b : zones ) {\n\n\t\t\tif (evt.getX() > b.getBounds().x\n\t\t\t\t\t&& evt.getX() < (b.getBounds().x + b.getBounds().width)\n\t\t\t\t\t&& evt.getY() > b.getBounds().y\n\t\t\t\t\t&& evt.getY() < (b.getBounds().y + b.getBounds().height)) {\n\t\t\t\tret.zone = b;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tret.onTopBorder = onTopBorder;\n\t\tret.onBottomBorder = onBottomBorder;\n\t\t\n\t\tif( ret.box != currentBox )\n\t\t\tret.boxChanged = true;\n\t\tcurrentBox = ret.box;\n\t\t\n\t\tif( ret.box == null && ret.zone == null )\n\t\t\treturn null;\n\n\t\treturn ret;\n\n\t}", "title": "" }, { "docid": "f8c3c88c00792d1331839786f2f3fd6c", "score": "0.62085545", "text": "public void mouseDragged(MouseEvent e) {\r\n //get the current shape handled by the model.\r\n shape = model.getCurrentShape();\r\n //if there's a current shape in the model.\r\n if(shape != null){\r\n //if we are in DRAW mode.\r\n if (model.getAction() == Model.DRAW) {\r\n \r\n //if the shape is an instance of Rectangle or a descendant of Rectangle\r\n if(shape instanceof Rectangle) {\r\n //set the x and y location of the shape (allows rubber banding).\r\n //set its width and height.\r\n shape.setX(Math.min(startX, e.getX()));\r\n shape.setY(Math.min(startY, e.getY()));\r\n ((Rectangle) shape).setW(Math.abs(startX - e.getX()));\r\n ((Rectangle) shape).setH(Math.abs(startY - e.getY()));\r\n }\r\n else if(shape instanceof Oval) {\r\n //set the x and y location of the shape (allows rubber banding).\r\n //set its width and height.\r\n shape.setX(Math.min(startX, e.getX()));\r\n shape.setY(Math.min(startY, e.getY()));\r\n ((Oval) shape).setW(Math.abs(startX - e.getX()));\r\n ((Oval) shape).setH(Math.abs(startY - e.getY()));\r\n }\r\n else if (shape instanceof Line) {\r\n ((Line)shape).setX2(e.getX());\r\n ((Line)shape).setY2(e.getY());\r\n }\r\n }\r\n }\r\n //tell model to repaint the applet or application.\r\n model.repaint();\r\n }", "title": "" }, { "docid": "f4a0472a1ceb636c76d3efaa9a923405", "score": "0.60949576", "text": "public static void updateDragRect(){\n float tempW, tempH;\n tempW = Math.abs(tempRectX-Mouse.getX());\n tempH = Math.abs(tempRectY-Mouse.getY());\n\n if (Mouse.getX()<tempRectX) dragRectImg.setX(Mouse.getX());\n else if (Mouse.getX()>tempRectX) dragRectImg.setX(tempRectX);\n\n\n if (Mouse.getY()<tempRectY) dragRectImg.setY(Mouse.getY());\n else if (Mouse.getY()>tempRectY) dragRectImg.setY(tempRectY);\n\n dragRectImg.setSize(tempW, tempH);\n ArrayList<Object> tempList;\n tempList = MainScreen.getObjectList();\n dragRect.set(new Rectangle(dragRectImg.getX(), dragRectImg.getY(), dragRectImg.getWidth(), dragRectImg.getHeight()));\n for (int i=0;i<tempList.size();i++) {\n\n if (dragRect.overlaps(tempList.get(i).getRect()) && dragRectTempList.contains(tempList.get(i)) == false) {\n dragRectTempList.add(tempList.get(i));\n tempList.get(i).getSelectionImg().setVisible(true);\n// System.out.println(\"DragRect overlaps objectRect\");\n }\n if (dragRect.overlaps(tempList.get(i).getRect()) == false && dragRectTempList.contains(tempList.get(i)) == true && selectedObjList.contains(tempList.get(i)) == false){\n dragRectTempList.remove(tempList.get(i));\n tempList.get(i).getSelectionImg().setVisible(false);\n// System.out.println(\"DragRect leaving objectRect\");\n }\n }\n }", "title": "" }, { "docid": "d47b27314f9bc4dc8a68821bc7f4d6cc", "score": "0.6002344", "text": "public void updateBBox(){//Call before any collision checking\n\t\tbBox_topLeftX = x;\n\t\tbBox_topLeftY = y;\n\t\tbBox_botRightX = x + totalWidth;\n\t\tbBox_botRightY = y + totalHeight;\n\t}", "title": "" }, { "docid": "0e3c1779a322014f8ed87ae40a55dd55", "score": "0.599542", "text": "public void mouseDragged(MouseEvent event) \n {\n // creates a new Point2D.Double to keep track of where the event occured\n Point2D.Double eventPoint = new Point2D.Double(event.getX(), event.getY());\n for(int i = shapes.size()-1; i >= 0; i--) // goes through the shapes list backwards\n { \n if(activeShape != null && shapeToBeResized == -1) // if their is an active shape and there isn't a shape to be resized\n {\n activeShape.move(event.getX(), event.getY()); // move the shape to where the event occured\n }\n else if (shapeToBeResized != -1) // if there is a shape to be resized\n {\n shapes.get(shapeToBeResized).resize(eventPoint); // get the shape that needs to be resized and resize it\n mouseWas = eventPoint; // sets the new position of where the mouse is\n repaint(); // repaints the canvas\n }\n }\n }", "title": "" }, { "docid": "8970b7d7549cb307548718e7eeeaed2d", "score": "0.59741026", "text": "public void mouseDragged(MouseEvent e) {}", "title": "" }, { "docid": "8970b7d7549cb307548718e7eeeaed2d", "score": "0.59741026", "text": "public void mouseDragged(MouseEvent e) {}", "title": "" }, { "docid": "5ebc01be0a8253273aec1156a74d3951", "score": "0.5922123", "text": "protected void setDragNewBox(double x, double y, double w, double h) {\n\n\t\tRectangle bounds = new Rectangle();\n\t\tbounds.x = (int) x;\n\t\tbounds.y = (int) y;\n\t\tbounds.height = (int) h;\n\t\tbounds.width = (int) w;\n\t\tdragNewBox.setBounds(bounds);\n\n\t}", "title": "" }, { "docid": "909810671ebc3a4a8f65af6fc2b2b473", "score": "0.5907914", "text": "private void updateDragEventPositions() {\n if(rightDragEvent != null) {\n rightDragEvent.dragAction(lastMousePositionRelative);\n if(rightDragEvent.getDragVisual() != null) {\n rightDragEvent.getDragVisual().changeXValue(lastMousePositionRelative.x);\n rightDragEvent.getDragVisual().changeYValue(lastMousePositionRelative.y);\n rightDragEvent.getDragVisual().updateBounds();\n }\n }\n if(leftDragEvent != null) {\n leftDragEvent.dragAction(lastMousePositionRelative);\n if(leftDragEvent.getDragVisual() != null) {\n leftDragEvent.getDragVisual().changeXValue(lastMousePositionRelative.x);\n leftDragEvent.getDragVisual().changeYValue(lastMousePositionRelative.y);\n leftDragEvent.getDragVisual().updateBounds();\n }\n }\n }", "title": "" }, { "docid": "d3c66ba12f2df52b94ea24a87d50779c", "score": "0.5872313", "text": "protected void updateBoundingBox() {\n/* 47 */ this.posX = this.hangingPosition.getX() + 0.5D;\n/* 48 */ this.posY = this.hangingPosition.getY() + 0.5D;\n/* 49 */ this.posZ = this.hangingPosition.getZ() + 0.5D;\n/* */ }", "title": "" }, { "docid": "fd28a12149cfcfea55730fbbe3cde171", "score": "0.5857657", "text": "@Override\n public void mouseDragged(MouseEvent arg0) {\n \n }", "title": "" }, { "docid": "fd28a12149cfcfea55730fbbe3cde171", "score": "0.5857657", "text": "@Override\n public void mouseDragged(MouseEvent arg0) {\n \n }", "title": "" }, { "docid": "708e4fc52b9cbbecf0f231924e2d6abb", "score": "0.58206195", "text": "public void mouseDragged(MouseEvent e) {\n }", "title": "" }, { "docid": "708e4fc52b9cbbecf0f231924e2d6abb", "score": "0.58206195", "text": "public void mouseDragged(MouseEvent e) {\n }", "title": "" }, { "docid": "4ab80e70eb20781ff0b507fbfed13fd4", "score": "0.58148116", "text": "public void mouseDragged(MouseEvent kEvent) { }", "title": "" }, { "docid": "d6f8c57d1df7a0d792a95aebce43e04e", "score": "0.578607", "text": "@Override\n public void mouseDragged(MouseEvent e) {\n }", "title": "" }, { "docid": "8a0959eb19ffd3aa6db26dea59ac070c", "score": "0.5780032", "text": "@Override\n public void mouseDragged(MouseEvent e) {\n \n TIS.vr.repaint();\n if (edited == null) {\n MovedX = e.getXOnScreen() - x;\n MovedY = e.getYOnScreen() - y;\n } else {\n if (edited instanceof TBod) {\n // sem pojde sadenie,, a pripajanaie bodov na dane body ..boomba \n TBod prvok = ((TBod) edited);\n if (kliknutyBod > 0) { \n TIS.vr.setInformationLabel(prvok.meno); \n if(sadenie==0){\n e.getX();\n //prvok.presun((int) x1 + e.getX() - x - MovedX, (int) y1 + e.getY() - y - MovedY);\n prvok.presun((int) x1 + e.getXOnScreen() - x - MovedX, (int) y1 + e.getYOnScreen() - y - MovedY);\n } else{\n pripoj(prvok,MovedX,MovedY, e.getXOnScreen(),e.getYOnScreen(),x,y);\n }\n if (jeMimoPlochy(x1 + e.getXOnScreen() - x - MovedX, y1 + e.getYOnScreen() - y - MovedY)) {\n deleteEdited = true;\n }\n }\n if (kliknutyBod == 0) {\n double distance = Math.sqrt(Math.pow((e.getX() - MovedX - (x1 + prvok.velkost) ), 2) + Math.pow((e.getY() - MovedY - (y1 + prvok.velkost)), 2));\n prvok.velkost = distance / 2;\n //prvok.presun((int) (x1 - prvok.velkost), (int) (y1 - prvok.velkost));\n }\n }\n if (edited instanceof TPlocha) {\n TPlocha prvok = ((TPlocha) edited);\n if (kliknutyBod >= 0) {\n prvok.zmenVelkost(kliknutyBod, e.getX() - MovedX, e.getY() - MovedY);\n TIS.vr.setInformationLabel(prvok.meno+\" \" + df.format(prvok.getArea()/scale) + \" m2\"); // vpise rozlohu pri meneni plochy\n } else {\n prvok.presun(x1 + e.getXOnScreen() - x - MovedX, y1 + e.getYOnScreen() - y - MovedY);\n if (jeMimoPlochy(x1 + e.getXOnScreen() - x - MovedX, y1 + e.getYOnScreen() - y - MovedY)) {\n deleteEdited = true;\n }\n }\n }\n if (edited instanceof TCiara) {\n TCiara prvok = ((TCiara) edited);\n if (kliknutyBod >= 0) {\n prvok.presun(kliknutyBod, x1 + e.getXOnScreen() - x - MovedX, y1 + e.getYOnScreen() - y - MovedY);\n //System.out.println(kliknutyBod + \" z \" + prvok.body.size());\n TIS.vr.setInformationLabel( prvok.meno+\" \" +df.format(prvok.getLength()/scale) + \" m\"); // rata automaticky dlzku kreslenej ciary\n } else {\n prvok.posunCiaru(x1 + e.getXOnScreen() - x - MovedX, y1 + e.getYOnScreen() - y - MovedY);\n if (jeMimoPlochy(x1 + e.getXOnScreen() - x - MovedX, y1 + e.getYOnScreen() - y - MovedY)) {\n deleteEdited = true;\n }\n }\n }\n }\n draging = true;\n }", "title": "" }, { "docid": "da2a6841b96dc0912ab62fa7eebc435b", "score": "0.5776481", "text": "public void mouseDragged(MouseEvent e){\n\r\n }", "title": "" }, { "docid": "c4f90625f9bdb073bc9a77cc6e87d5a0", "score": "0.5774672", "text": "public void createDragBox(double x, double y) {\n this.dragBox = new Rectangle(0, 0);\n this.dragBox.setX(x);\n this.dragBox.setY(y);\n this.dragBox.getStyleClass().add(\"dragBox\");\n this.composition.getChildren().add(this.dragBox);\n }", "title": "" }, { "docid": "11386b25aee9f7912116c563c0616b3b", "score": "0.5771732", "text": "public void drawBoxBnds(){\n\t\tpushStyle();\n\t\tstrokeWeight(3f);\n\t\tnoFill();\n\t\tsetColorValStroke(gui_TransGray);\n\t\tbox(gridDimX ,gridDimY,gridDimZ);\n\t\tpopStyle();\t\t\n\t}", "title": "" }, { "docid": "ef7ed098f109b6ed2e2e86123b40b8ad", "score": "0.57660323", "text": "public interface AMouseDragListener {\n\n // Should return one of the LEFT, MIDDLE or RIGHT constants from AWindow\n int getButton();\n\n void start(Point2D.Double p, int region, int key);\n void drag(Point2D.Double p, int region, int key);\n void stop();\n void cancel();\n}", "title": "" }, { "docid": "7c7ec25ba270a19000c34ed93ceed5d5", "score": "0.576492", "text": "@Override\n\t\tpublic void mouseDragged(MouseEvent e) {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "7c7ec25ba270a19000c34ed93ceed5d5", "score": "0.576492", "text": "@Override\n\t\tpublic void mouseDragged(MouseEvent e) {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "a92ed989e2c40dd53c32c5c571a767a1", "score": "0.5764048", "text": "private void setUp() {\n\t\tInt2Range int2bBox = pixelList.getIntBoundingBox();\n\t\ttry {\n\t\t\txMin = int2bBox.getXRange().getMin() - 1;\n\t\t\tyMin = int2bBox.getYRange().getMin() - 1;\n\t\t\t// the 1 is the fencepost; 2 is for the new borders\n\t\t\twidth = int2bBox.getXRange().getRange() + 1 + 2;\n\t\t\theight = int2bBox.getYRange().getRange() + 1 + 2;\n\t\t} catch (NullPointerException e) {\n\t\t\t\n\t\t}\n\t}", "title": "" }, { "docid": "eeb47d22dd1650353004fd82c5418ce3", "score": "0.5735279", "text": "@Override\n public void onMouseDragged(MouseEvent e) {\n }", "title": "" }, { "docid": "7aaf02b45b7eac87201e737c2d48add5", "score": "0.572406", "text": "@Override\n public void mouseDragged(MouseEvent e) {\n\n }", "title": "" }, { "docid": "a7a77cae5256e98528aac49d23458d7b", "score": "0.5720162", "text": "public void updateBbox() {\r\n\t\tthis.getbBox().setX(x);\r\n\t\tthis.getbBox().setY(y);\r\n\t}", "title": "" }, { "docid": "42a85c793ea670a22fe27bccc80f252e", "score": "0.5718502", "text": "@Override\r\n\t\t\tpublic void mouseDragged(MouseEvent e) {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "7360885c47e1a8ef82d8859baaebb3fb", "score": "0.57169867", "text": "@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\n\t}", "title": "" }, { "docid": "7360885c47e1a8ef82d8859baaebb3fb", "score": "0.57169867", "text": "@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\n\t}", "title": "" }, { "docid": "7360885c47e1a8ef82d8859baaebb3fb", "score": "0.57169867", "text": "@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\n\t}", "title": "" }, { "docid": "95c302eaf47c8e28ec63005d7e918417", "score": "0.5708197", "text": "@Override\r\n\tpublic void mouseDragged(MouseEvent e) {\n\t}", "title": "" }, { "docid": "e381236eec6ed7c9cd2403f29abef84d", "score": "0.5699473", "text": "@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "e381236eec6ed7c9cd2403f29abef84d", "score": "0.5699473", "text": "@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "e381236eec6ed7c9cd2403f29abef84d", "score": "0.5699473", "text": "@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "e381236eec6ed7c9cd2403f29abef84d", "score": "0.5699473", "text": "@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "e381236eec6ed7c9cd2403f29abef84d", "score": "0.5699473", "text": "@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "e381236eec6ed7c9cd2403f29abef84d", "score": "0.5699473", "text": "@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "e381236eec6ed7c9cd2403f29abef84d", "score": "0.5699473", "text": "@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "ff9458d225b3bc986a40265c4636d3dd", "score": "0.569224", "text": "@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t}", "title": "" }, { "docid": "8341b3836dee515fa12fe3c0508bea2a", "score": "0.56883454", "text": "public void mouseMoved (MouseEvent ev){\n\t\tif (Mode == \"point\" || Mode == \"line\"|| Mode == \"ellipse\"){\n\t\t\tsetCursor(tar);\n\t\t} else {\n\t\t\tsetCursor(def);\n\t\t}\n\t\tif (Mode == \"line\" && l==1) {\n\t\t\tDrawShapes(getGraphics());\n\t\t\tDrawLine(getGraphics(), x1, y1, ev.getX(), ev.getY(), false);\n\t\t}\n\t\tif (Mode == \"ellipse\" && l==1) {\n\t\t\tDrawShapes(getGraphics());\n\t\t\tDrawEllipse(getGraphics(), Math.min(x1, ev.getX()), Math.min(y1, ev.getY()), Math.abs(x1-ev.getX()), Math.abs(y1-ev.getY()), false);\n\t\t}\n\t\tif (Mode == \"sel\" || Mode == \"delete\") {\n\t\t\tfor (int i = 0; i < coords.size(); i++){\n\t\t\t\tshpm = (coords.get(i));\n \t\t\tif (shpm.intersects(ev.getX(), ev.getY(), 4, 4)){\n \t\t\t\tsetCursor(hand);\n \t\t\t\tbreak;\n \t\t\t} else { setCursor(def); }\n\t\t\t}\n\t\t}\n\t\tif (Mode == \"move\") {\n\t\t\tfor (int i = 0; i < coords.size(); i++){\n\t\t\t\tshpm = (coords.get(i));\n \t\t\tif (shpm.intersects(ev.getX(), ev.getY(), 4, 4)){\n \t\t\t\tsetCursor(move);\n \t\t\t\tbreak;\n \t\t\t} else { setCursor(def);}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "b2cc4bb459a5593f32ea838b6b07f5a2", "score": "0.56836206", "text": "public void mouseDragged(MouseEvent e) {\n mx = e.getX();\n my = e.getY();\n }", "title": "" }, { "docid": "892c4b2977ddddb14f818dd44e355f10", "score": "0.56781316", "text": "public void mouseDragged(ZMouseEvent e) {}", "title": "" }, { "docid": "7e25287ce154b100e9b6fae4ac20aec3", "score": "0.5671077", "text": "@Override\r\n\tpublic void mouseDragged(MouseEvent arg0) {\n\r\n\t}", "title": "" }, { "docid": "e7440f9d26e09476da452aa7a37e42b7", "score": "0.566743", "text": "public void mouseDragged(MouseEvent e) {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "fc0b706351872c469a30dc4bd22fc739", "score": "0.5663912", "text": "@Override\r\n\tpublic void mouseDragged(MouseEvent e) {\n\r\n\t}", "title": "" }, { "docid": "835e9d4cece5a759479f78e74651b7db", "score": "0.56625426", "text": "public void mouseDragged(MouseEvent e) {\n\n\t}", "title": "" }, { "docid": "b2a34e9d0690d05df04c3e9e611013ee", "score": "0.5661895", "text": "@Override\n\t\tpublic void mouseDragged(MouseEvent e) {\n\t\t\tint changeX = e.getX() - anchorX;\n\t\t\tint changeY = e.getY() - anchorY;\n\t\t\tmouseDragged = true;\n\t\t\t// If Alt is pressed, reset the location using the change of X and Y\n\t\t\tif (e.isAltDown() && clickedStamp != null) {\n\t\t\t\tclickedStamp.setLocation(clickedStamp.getX() + changeX, clickedStamp.getY() + changeY);\n\t\t\t\tanchorX = e.getX();\n\t\t\t\tanchorY = e.getY();\n\t\t\t\trepaint();\n\t\t\t\treturn;\n\n\t\t\t\t// If Control is pressed, reset the size of the clicked shape\n\t\t\t\t// based on which quadrant of the shape the click is in.\n\t\t\t} else if (e.isControlDown() && clickedStamp != null) {\n\t\t\t\tif (x_coor > clickedStamp.getX() + clickedStamp.getSize().getWidth() / 2\n\t\t\t\t\t\t&& y_coor > clickedStamp.getY() + clickedStamp.getSize().getHeight() / 2) {\n\t\t\t\t\tclickedStamp.setSize((float) (clickedStamp.getSize().getWidth() + changeX),\n\t\t\t\t\t\t\t(float) (clickedStamp.getSize().getHeight() + changeY));\n\t\t\t\t\n\t\t\t\t}\n\t\t\t\trepaint();\n\t\t\t} else {\n\n\t\t\t\t/** Upper left x and y coordinates */\n\t\t\t\tint ux = anchorX;\n\t\t\t\tint uy = anchorY;\n\n\t\t\t\t/**\n\t\t\t\t * Set width to current mouse x coordinate - upper left x. Set\n\t\t\t\t * height to current mouse y coordinate - upper left y.\n\t\t\t\t */\n\t\t\t\tint width = e.getX() - ux;\n\t\t\t\tint height = e.getY() - uy;\n\t\t\t\tStamp selected = getSelected();\n\n\t\t\t\tif (selected == null) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\t/**\n\t\t\t\t * If mouse x is to the left of the anchor, set the upper left x\n\t\t\t\t * to mouse x and reset the width\n\t\t\t\t */\n\t\t\t\tif (e.getX() < anchorX) {\n\t\t\t\t\tux = e.getX();\n\t\t\t\t\twidth = ux - anchorX;\n\t\t\t\t}\n\n\t\t\t\t/**\n\t\t\t\t * If mouse y is below the anchor, set the upper left y to mouse\n\t\t\t\t * y and reset the height\n\t\t\t\t */\n\t\t\t\tif (e.getY() < anchorY) {\n\t\t\t\t\tuy = e.getY();\n\t\t\t\t\theight = uy - anchorY;\n\t\t\t\t}\n\n\t\t\t\t/*\n\t\t\t\t * TODO: Complete the 'rubberbanding' effect\n\t\t\t\t */\n\t\t\t\t/**\n\t\t\t\t * Set location of upper left hand corner and width and height\n\t\t\t\t * of selected\n\t\t\t\t */\n\t\t\t\tselected.setLocation(ux, uy);\n\t\t\t\tselected.setSize(width, height);\n\n\t\t\t\trepaint();\n\n\t\t\t}\n\n\t\t}", "title": "" }, { "docid": "f67138bb4109a636502c4c6d75a7de59", "score": "0.566099", "text": "@Override\r\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\r\n\t}", "title": "" }, { "docid": "f67138bb4109a636502c4c6d75a7de59", "score": "0.566099", "text": "@Override\r\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\r\n\t}", "title": "" }, { "docid": "f67138bb4109a636502c4c6d75a7de59", "score": "0.566099", "text": "@Override\r\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\r\n\t}", "title": "" }, { "docid": "f67138bb4109a636502c4c6d75a7de59", "score": "0.566099", "text": "@Override\r\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\r\n\t}", "title": "" }, { "docid": "d9cb1490a47219bb034a68075020e715", "score": "0.5659849", "text": "private void addButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_addButtonActionPerformed\n \t// \"preprocessor\"\n \tint MY_OFFSET = 5;\n \tint BUS_STREET_CONTACT = -33;\n \tint BUS_LENGTH = 286;\n \tint BOX_OFFSET = 100;\n \tint TOP_OF_BUS = 50;\n \t\n System.out.println(\"add object\");\n \tdouble weight = weightValue.getValue();\n double radius = radiusValue.getValue();\n //double height = heightValue.getValue();\n double width = widthValue.getValue();\n int x = 0, y = 0;\n \n // get the bus object for the x, y coordinates\n PhysicsObject bus = ObjectManager.getInstance().getObject(\"bus\");\n double busX = bus.getXCoord();\n double busY = bus.getYCoord();\n System.out.println(\"busX = \" + busX + \"\\tbusY = \" + busY);\n \n // If we are creating a box...\n if (boxButton.isSelected())\n {\n \tSystem.out.println(\"making box\");\n \tif (topButton.isSelected())\n \t{\n \tx = (int)busX;\n \ty = (int)(busY + width + TOP_OF_BUS);\n \t}\n \telse if (insideRButton.isSelected())\n \t{\n x = (int)busX;\n y = (int)(width*(double)MY_OFFSET);\n \t}\n \telse if (insideUButton.isSelected())\n \t{\n \t\t/// TODO\n \t\tx = (int)busX;\n y = (int)(width*(double)MY_OFFSET);\n \t}\n \telse if (behindButton.isSelected())\n \t{\n \t\tx = (int)(-0.5*(double)BUS_LENGTH);\n y = BUS_STREET_CONTACT;\n \t}\n \telse if (inFrontButton.isSelected())\n \t{\n \tx = (int)(0.5*(double)BUS_LENGTH);\n \ty = BUS_STREET_CONTACT;\n \t}\n \t\n PhysicsObject boxOb = ObjectManager.getInstance().createSquare(x, y, (width*BOX_OFFSET), weight);\n ObjectManager.getInstance().addObject(\"leObj\", boxOb);\n System.out.println(\"width = \" + ((SquareObject)boxOb).getWidth());\n System.out.println(\"weight = \" + boxOb.getMass());\n System.out.println(\"x = \" + x);\n System.out.println(\"y = \" + y);\n }\n // else if we are creating a ball...\n else if (ballButton.isSelected())\n {\n \tSystem.out.println(\"making ball\");\n \tif (topButton.isSelected())\n \t{\n \tx = (int)busX;\n \ty = (int)(busY + radius + TOP_OF_BUS);\n \t}\n \telse if (insideRButton.isSelected())\n \t{\n x = (int)busX;\n y = (int)(radius*(double)MY_OFFSET);\n \t}\n \telse if (insideUButton.isSelected())\n \t{\n \t\tx = (int)busX;\n y = (int)(radius*(double)MY_OFFSET);\n \t}\n \telse if (behindButton.isSelected())\n \t{\n \t\tx = (int)(-0.5*BUS_LENGTH);\n y = (int)(BUS_STREET_CONTACT);\n \t}\n \telse if (inFrontButton.isSelected())\n \t{\n \tx = (int)(0.5*BUS_LENGTH);\n \ty = (int)(BUS_STREET_CONTACT);\n \t}\n PhysicsObject ballOb = ObjectManager.getInstance().createCircle(x, y, (radius*MY_OFFSET), weight);\n ObjectManager.getInstance().addObject(\"object\", ballOb);\n System.out.println(\"weight = \" + ballOb.getMass());\n System.out.println(\"radius = \" + ((RoundObject)ballOb).getRadius());\n System.out.println(\"x = \" + x);\n System.out.println(\"y = \" + y);\n } \n // if the world crashed and died...\n else \n {\n \tSystem.out.println(\"failboat\");\n }\n \n this.dispose();\n }", "title": "" }, { "docid": "1fe07095cea9823293df3c3c3e2c1510", "score": "0.56494033", "text": "private void registerMouseReleasedEvent() {\n this.setOnMouseReleased(evt -> {\n JSONObject request = null;\n\n switch (this.drawToolType) {\n case LINE:\n this.line.setEndX(evt.getX());\n this.line.setEndY(evt.getY());\n\n this.drawLine(this.line.getStartX(), this.line.getStartY(),\n this.line.getEndX(), this.line.getEndY());\n\n // Broadcast canvas changes to all peers\n request = EventMessageBuilder.buildLineSynMessage(\n UserInformation.getInstance().getUserName(),\n this.line.getStartX(), this.line.getStartY(),\n this.line.getEndX(), this.line.getEndY());\n SocketHandler.getInstance().send(request);\n break;\n case CIRCLE:\n this.circle.setRadius(\n (Math.abs(evt.getX() - this.circle.getCenterX()) + Math\n .abs(evt.getY() - this.circle.getCenterY()))\n / 2);\n\n if (this.circle.getCenterX() > evt.getX()) {\n this.circle.setCenterX(evt.getX());\n }\n if (this.circle.getCenterY() > evt.getY()) {\n this.circle.setCenterY(evt.getY());\n }\n\n this.drawCircle(this.circle.getCenterX(),\n this.circle.getCenterY(), this.circle.getRadius());\n\n // Broadcast canvas changes to all peers\n request = EventMessageBuilder.buildCircleSynMessage(\n UserInformation.getInstance().getUserName(),\n this.circle.getCenterX(), this.circle.getCenterY(),\n this.circle.getRadius());\n SocketHandler.getInstance().send(request);\n break;\n case RECTANGLE:\n this.rectangle.setWidth(\n Math.abs((evt.getX() - this.rectangle.getX())));\n this.rectangle.setHeight(\n Math.abs((evt.getY() - this.rectangle.getY())));\n\n if (this.rectangle.getX() > evt.getX()) {\n this.rectangle.setX(evt.getX());\n }\n\n if (this.rectangle.getY() > evt.getY()) {\n this.rectangle.setY(evt.getY());\n }\n\n this.drawRectangle(this.rectangle.getX(), this.rectangle.getY(),\n this.rectangle.getWidth(), this.rectangle.getHeight());\n\n // Broadcast canvas changes to all peers\n request = EventMessageBuilder.buildRectangleSynMessage(\n UserInformation.getInstance().getUserName(),\n this.rectangle.getX(), this.rectangle.getY(),\n this.rectangle.getWidth(), this.rectangle.getHeight());\n SocketHandler.getInstance().send(request);\n break;\n default:\n // Do nothing here\n }\n });\n }", "title": "" }, { "docid": "e0ecc84cfd385ce0167634800b6b55f5", "score": "0.5646868", "text": "@Override\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "e0ecc84cfd385ce0167634800b6b55f5", "score": "0.5646868", "text": "@Override\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "ff60055826ec8f952924dea47dcd3c68", "score": "0.5645153", "text": "private void DragEventHandler(MouseDragEvent dragEvent) {\n if (dragEvent.getSource() instanceof Board.Cell) {\r\n Board.Cell sender = (Board.Cell) dragEvent.getSource();\r\n if (dragEvent.getEventType() == MouseDragEvent.MOUSE_DRAG_ENTERED) {\r\n sender.setWall(board.isAddWall());\r\n }\r\n if (dragEvent.getEventType() == MouseDragEvent.MOUSE_DRAG_RELEASED) ;\r\n //sender.drag\r\n }\r\n }", "title": "" }, { "docid": "cd310f252ccbaa0644f028bb3aaa6332", "score": "0.56411654", "text": "@Override\r\n\t\t\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "1a25a601676282c5a45a9d72fcf81396", "score": "0.563986", "text": "public void onMouseMove(MouseEvent e){\r\n //If the mouse is within the object's bounding box, set the \"hovering\" boolean to true; otherwise, set it to false\r\n if (bounds.contains(e.getX(), e.getY()))\r\n hovering = true;\r\n else\r\n hovering = false;\r\n }", "title": "" }, { "docid": "4c967494a5e746532c411e876a6bede3", "score": "0.56305856", "text": "private void calculateBox(){\n if (!start.equals(end)){\n if(start.x > end.x){\n maxX = start.x;\n minX = end.x;\n }\n else {\n maxX = end.x;\n minX = start.x;\n }\n if(start.y > end.y){\n maxY = start.y;\n minY = end.y;\n }\n else {\n maxY = end.y;\n minY = start.y;\n }\n }\n }", "title": "" }, { "docid": "19a446ae8638fd3d300ae27b7e8964e9", "score": "0.56254506", "text": "public void cornerDragged(SelectionBoundEvent event) {\n if (event == null) {\n return;\n }\n Node node = (Node) event.getSource();\n Rectangle oldBound = event.getOldBound();\n Rectangle newBound = event.getNewBound();\n\n if (dragType == CornerDragType.HORIZONTAL) {\n newBound.y = oldBound.y;\n newBound.height = oldBound.height;\n } else if (dragType == CornerDragType.VERTICAL) {\n newBound.x = oldBound.x;\n newBound.width = oldBound.width;\n }\n\n Dimension preferredSize = getPreferredNodeSize(node);\n if (preferredSize != null) {\n if (newBound.width < preferredSize.width || newBound.height < preferredSize.height) {\n return;\n }\n }\n\n if (node instanceof NodeContainer) {\n Rectangle preferredBound = getPreferredBound((NodeContainer) node);\n Rectangle newBoundary = new Rectangle(newBound);\n newBoundary.x = node.getX() + node.getSelectionBound().x + newBound.x - oldBound.x;\n newBoundary.y = node.getY() + node.getSelectionBound().y + newBound.y - oldBound.y;\n if (preferredBound != null) {\n if (newBoundary.x > preferredBound.x\n || newBoundary.x + newBoundary.width < preferredBound.x + preferredBound.width\n || newBoundary.y > preferredBound.y\n || newBoundary.y + newBoundary.height < preferredBound.y + preferredBound.height) {\n return;\n }\n }\n }\n\n if (!oldBound.getLocation().equals(newBound.getLocation())) {\n Point oldPosition = node.getGraphNode().getPosition();\n Point newPosition = new Point();\n newPosition.setX(oldPosition.getX() + newBound.x - oldBound.x);\n newPosition.setY(oldPosition.getY() + newBound.y - oldBound.y);\n ChangePositionAction action = new ChangePositionAction(node.getGraphNode(), newPosition);\n action.executeAction();\n }\n if (!oldBound.getSize().equals(newBound.getSize())) {\n ChangeSizeAction action = new ChangeSizeAction(node.getGraphNode(), DeployHelper.createDimension(newBound\n .getSize()));\n action.executeAction();\n }\n if (node instanceof SubsystemNodeContainer) {\n ((SubsystemNodeContainer) node).notifyGraphNodeChange(\"Corner dragged\");\n DeployHelper.updateEdges(node);\n } else if (node instanceof PackageNode) {\n ((PackageNode) node).notifyGraphNodeChange(\"Corner dragged\");\n DeployHelper.updateEdges(node);\n } else {\n DeployHelper.nodeNotifyChange(node, \"Corner dragged\", mainFrame);\n }\n }", "title": "" }, { "docid": "5d38135a8973f33109c22cdb7142908d", "score": "0.5624677", "text": "@Override\n\t\tpublic void mouseDragged(MouseEvent e) {\n\n\t\t}", "title": "" }, { "docid": "937ad8720b9a6111d6e36f3297b8796b", "score": "0.5622878", "text": "public void mouseDrag(PtrEditor editor, MouseEvent e) {\n\t drawObject.setLocation(e.getX() - deltaX, e.getY() - deltaY);\n\t}", "title": "" }, { "docid": "9a57770e7361dddeb4f1b606e6bbcedd", "score": "0.5616491", "text": "public void drag() {\r\n\r\n }", "title": "" }, { "docid": "07b92e374dcf3da35d611c5f0193d2b4", "score": "0.5609217", "text": "@Override\n\tpublic void mouseDragged(MouseEvent arg0) {}", "title": "" }, { "docid": "9a19bac10c629447432e1a7909a24647", "score": "0.55926645", "text": "public void mouseDragged(MouseEvent e)\n\t{\n\n\t}", "title": "" }, { "docid": "052b67f782c4ce403a84954086ed4255", "score": "0.5579542", "text": "@Override\r\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\r\n\t}", "title": "" }, { "docid": "052b67f782c4ce403a84954086ed4255", "score": "0.5579542", "text": "@Override\r\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\r\n\t}", "title": "" }, { "docid": "052b67f782c4ce403a84954086ed4255", "score": "0.5579542", "text": "@Override\r\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\r\n\t}", "title": "" }, { "docid": "70b9431ff3ac4daa711390d7a9acf411", "score": "0.5578836", "text": "@Override\r\n\t// ToDO\r\n\tpublic void mouseDrag(int x, int y, MouseEvent e) {\r\n\t\t//anchor = new Point(newTri.xpoints[0], newTri.ypoints[0]);\r\n\t\tif (newTri != null){\r\n\t\t\tnewTri.setBounds(anchor, new Point(x, y));\r\n\t\t\tjava.awt.Rectangle r = newTri.getBounds();\r\n\t\t\tthis.context.showStatusText(\"w: \" + r.width + \", h: \" + r.height);\r\n\t\t}\r\n\t\telse{\r\n\t\t\treturn;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "188b3a07257acc1a9a3e05d82639d67b", "score": "0.55726486", "text": "public void mouseReleased(MouseEvent event) \n { \n shapeToBeResized = -1; // the index of the shape that needs resizing (if no shape needs resizing, then it equals -1)\n \n for(int i = shapes.size()-1; i >= 0; i--) // goes through the shapes list backwards\n {\n // creates a new Point2D.Double to keep track of where the event occured\n Point2D.Double eventPoint = new Point2D.Double(event.getX(), event.getY());\n \n if(activeShape != null && !(shapes.get(i).isInside(eventPoint))) // if there is an active shape and the event did not occur in any of the shapes\n {\n activeShape = null; // make the active shape null (this deselects the shape)\n }\n else if(shapes.get(i).isInside(eventPoint) || shapes.get(i).isNear(eventPoint)) // if the event occured inside the shape or 'near' the shape\n {\n activeShape = shapes.get(i); // the active shape is now that shape\n shapes.remove(i); // remove that shape from the list\n shapes.add(activeShape); // add the shape back to the list, it is now the last object in the list\n break; // break out of the loop otherwise it will run through all the shapes and only the last shape will be able to be pressed\n }\n }\n }", "title": "" }, { "docid": "b93b505a0ed5581c2d619ee28ffdff5c", "score": "0.55652493", "text": "public void mouseReleased(MouseEvent e) {\n\t\tif (Mode == \"sel\"){\n\t\t\tDrawSelBox(getGraphics(), 0, 0, 0, 0);\n\t\t\tDrawSel(getGraphics(), selection);\n\t\t}\n\t\tif (Mode == \"move\"){\n\t\t\tx = e.getX();\n\t\t\ty = e.getY();\n\t\t\tDrawMove(getGraphics(), x, y, 3, selection);\n\t\t\tDrawShapes(getGraphics());\n\t\t}\n\t}", "title": "" }, { "docid": "b700e347beeea97180232aa64c4e2c2e", "score": "0.55651945", "text": "public void mouseDragged( MouseEvent e)\n\t\t {\n\t\t \n\t\t }", "title": "" }, { "docid": "7a8706362ac82121428035786eefd37b", "score": "0.5562112", "text": "@Override\n public void mouseReleased(MouseEvent e) {\n x2 = e.getX();\n y2 = e.getY();\n drawShape();\n }", "title": "" }, { "docid": "92208fc136000c25bd5b3e91fe5d0d15", "score": "0.55580825", "text": "public void mouseMoved(MouseEvent event) \n {\n // creates a new Point2D.Double to keep track of where the event occured\n Point2D.Double eventPoint = new Point2D.Double(event.getX(), event.getY());\n for(int i = shapes.size()-1; i >= 0; i--) // goes through the list backwards\n {\n if(shapes.get(i) == activeShape && shapes.get(i).isNear(eventPoint)) // if the shape is the active shape and the event is 'near' the shape\n {\n setCursor(new Cursor(shapes.get(i).getCursor())); // set the cursor to the appropriate type (stored in the shape class)\n break; // end the loop\n }\n else if(shapes.get(i) != activeShape && shapes.get(i).isInside(eventPoint)) // if the shape is not the active shape and the event occured inside the shape\n {\n setCursor(new Cursor(Cursor.HAND_CURSOR)); // set the cursor to the hand type\n break; // end the loop\n }\n else // if the event occurs anywhere else at any other time\n {\n setCursor(new Cursor(Cursor.DEFAULT_CURSOR)); // the default cursor is used\n }\n }\n }", "title": "" }, { "docid": "502595825269eb59fc7141d1eb928d4b", "score": "0.55486715", "text": "@Override\r\n\t\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "32b105331eb64b67a40c4afa5dd52056", "score": "0.55418", "text": "private void actionRectangle() {\n pressRectangle();\n dragRectangle();\n releaseRectangle();\n }", "title": "" }, { "docid": "b20c97318ef1bc95d2b6372881ad795a", "score": "0.5525741", "text": "@Override\n\t\tpublic void mouseDragged(MouseEvent arg0) {\n\n\t\t}", "title": "" }, { "docid": "968e28153f4245aa5a127e344efe18f8", "score": "0.5519332", "text": "public void mouseDragged(MouseEvent arg0) {\n\t\t\r\n\t}", "title": "" }, { "docid": "04b268dfeeaccc58365b4d56e1fb4eae", "score": "0.5515879", "text": "public void mouseDragged(MouseEvent e) {\r\n // seems to not recognize mouse dragging events if we specify a button???\r\n // if (e.getButton() == MouseEvent.BUTTON1)\r\n for (DrawListener listener : listeners)\r\n listener.mouseDragged(userX(e.getX()), userY(e.getY()));\r\n }", "title": "" }, { "docid": "b7a149afce1e8a3a97c8f2cafdc1ca4f", "score": "0.5511687", "text": "protected void setDragBounds(int ymin, int ymax, int xmin, int xmax) {\n\t\tdragYMin = ymin;\n\t\tdragYMax = ymax;\n\t\tdragXMin = xmin;\n\t\tdragXMax = xmax;\n\t}", "title": "" }, { "docid": "8f9a82705fe798b230daadbbc4feae02", "score": "0.55047536", "text": "@Override\n\tpublic void mouseDragged(int mouseX, int mouseY) {\n\n\t}", "title": "" }, { "docid": "36bb16382feb6953bb80269ffba07ea2", "score": "0.54800856", "text": "protected void createNewShape(int x, int y) {\n\t\t\n\t\t// get the margin of the frame\n\t\tInsets insets = getInsets();\n\t\tint marginWidth = getWidth() - insets.left - insets.right;\n\t\tint marginHeight = getHeight() - insets.top - insets.bottom;\n\t\t\n\t\t// create a new shape dependent on all current properties and the mouse position\n\t\tMovingShape a;\n\t\tswitch (currentShapeType) {\n\t\t\tcase 0: { //rectangle\n\t\t\t\ta = new MovingRectangle(x, y, currentPenWidth, currentWidth, currentHeight, marginWidth, marginHeight, currentBorderColor,currentPath);\n\t\t\t\tshapeArray.add(a);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 1: { //square\n\t\t\t\tint side_len = Math.min(currentWidth, currentHeight);\n\t\t\t\ta = new MovingSquare(x, y, currentPenWidth, side_len, side_len, marginWidth, marginHeight, currentBorderColor,currentPath);\n\t\t\t\tshapeArray.add(a);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 2: { //plus sign\n\t\t\t\ta = new MovingPlus(x, y, currentPenWidth, currentWidth, currentHeight, marginWidth, marginHeight, currentBorderColor,currentPath);\n\t\t\t\tshapeArray.add(a);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 3: { //grumpy cat\n\t\t\t\tint side_len = Math.min(currentWidth, currentHeight);\n\t\t\t\ta = new MovingGrumpyCat(x, y, currentPenWidth, side_len, side_len, marginWidth, marginHeight, currentBorderColor,currentPath);\n\t\t\t\tshapeArray.add(a);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 4: { //rotating square\n\t\t\t\tint side_len = Math.min(currentWidth, currentHeight);\n\t\t\t\ta = new MovingRotatingSquare(x, y, currentPenWidth, side_len, side_len, marginWidth, marginHeight, currentBorderColor,currentPath);\n\t\t\t\tshapeArray.add(a);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 5: { //Homer\n\t\t\t\tint side_len = Math.min(currentWidth, currentHeight);\n\t\t\t\ta = new MovingHomer(x, y, currentPenWidth, side_len, side_len, marginWidth, marginHeight, currentBorderColor,currentPath);\n\t\t\t\tshapeArray.add(a);\n\t\t\t\t\n\t\t\t\tint clipIndex = randInt.nextInt(clipArray.size()); //Generate a random index for a clip to play\n\t\t\t\tcurrentClip = clipArray.get(clipIndex); // Get the clip at the random index\n\t\t\t\tcurrentClip.setFramePosition(currentClip.getFrameLength()); // Set the frameposition to the end of the first loop\n\t\t\t\tcurrentClip.loop(1); // play clip once\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "0372d155d8eaa75976fdedc34f0e7c19", "score": "0.54709584", "text": "public void setDragListeners(final ComponentBall block, Pane root,Pool_table table) {\n\t final Delta dragDelta = new Delta();\n\n\t block.setOnMousePressed(new EventHandler<MouseEvent>() {\n\t @Override public void handle(MouseEvent mouseEvent) {\n\t // record a delta distance for the drag and drop operation.\n\t dragDelta.x = block.getCenterX() - mouseEvent.getSceneX();\n\t dragDelta.y = block.getCenterY() - mouseEvent.getSceneY();\n\n\t block.setOpos(block.getCenterX(), block.getCenterY());\n\n\t block.setCursor(Cursor.NONE);\n\n\t /* add in stage2 */\n\t clickX = block.getCenterX();\n\t clickY = block.getCenterY();\n\n\t if(table.getImageOrColor()){\n\t \tclickX += table.getImageOffsetX();\n\t \tclickY += table.getImageOffsetY();\n\t\t\t}\n\n\t }\n\t });\n\t block.setOnMouseReleased(new EventHandler<MouseEvent>() {\n\t @Override public void handle(MouseEvent mouseEvent) {\n\n\t\t\t /* add in stage 2 */\n\t\t\t if(stick != null){\n\n\t\t\t\t//calculate the release direction and set velocity\n\t\t\t\t double velx = stick.getStartX() - stick.getEndX();\n\t\t\t\t double vely = stick.getStartY() - stick.getEndY();\n\t\t\t\t if(block.getVelocityX() == 0 && block.getVelocityY() == 0) {\n\t\t\t\t\t block.setVelocity(velx/7 , vely/7 ); // Sensitivity\n\t\t\t\t }\n\t\t\t\t block.setCursor(Cursor.HAND);\n\t\t\t }\n\n\n\t\t\t root.getChildren().remove(stick);\n\n\t\t\t stick = null;\n\t }\n\t });\n\t block.setOnMouseDragged(new EventHandler<MouseEvent>() {\n\t @Override public void handle(MouseEvent mouseEvent) {\n\n\t \t/* add in stage 2 */\n\t\t\t if(stick == null){\n\t\t\t\t stick = new Line(clickX,clickY,mouseEvent.getX(),mouseEvent.getY());\n\t\t\t\t root.getChildren().add(stick);\n\t\t\t }\n\t\t\t else{\n\n\t\t\t\t stick.setEndX(mouseEvent.getX());\n\t\t\t\t stick.setEndY(mouseEvent.getY());\n\t\t\t }\n\t }\n\t });\n\t }", "title": "" }, { "docid": "95eda3de111c4b946d5dfd5c58442f46", "score": "0.5469204", "text": "public void mouseReleased(MouseEvent e) {\n dragXPos = -1;\n dragYPos = -1;\n }", "title": "" }, { "docid": "0b229d7a6450fe17c1ebdb2de7fbffc6", "score": "0.54641825", "text": "@Override\r\n public void mouseDragged(MouseEvent me) {\r\n }", "title": "" }, { "docid": "c2e142e51ddfb6dc603b17122a04ecb6", "score": "0.5460253", "text": "protected void handleMouseMove(MouseEvent e) {\n\t\txPos = e.getX();\n\t\tyPos = e.getY();\n\t\t\n\t\t//if a disk has been placed get a new circle size else keep the same size\n\t\tif(diskPlaced)\n\t\t{\n\t\t\tcirSize();\n\t\t\t//System.out.println(width);\n\t\t}\n\t\telse\n\t\t{\n\t\t\trepaint();\n\t\t}\n\t}", "title": "" }, { "docid": "8f4086c00c6f34058b7460541b9b65e5", "score": "0.5446694", "text": "public void mouseReleased(MouseEvent e)\r\n {\r\n mouseX1 = x_Lower_Right = e.getX();\r\n mouseY1 = y_Lower_Right = e.getY();\r\n cropper();\r\n }", "title": "" }, { "docid": "5e2ebeb5e41cf04cd2894a5c1658d633", "score": "0.544595", "text": "protected void handleMouseDraggedEvent(MouseEvent e)\n {\n\t}", "title": "" }, { "docid": "5fa7fa457e298e38382609cf75da48ad", "score": "0.54452354", "text": "@Override\n public void mouseDragged(MouseEvent e) {\n x2 = e.getX();\n y2 = e.getY();\n repaint();\n }", "title": "" }, { "docid": "6aca70ede1eeec8cd5533c4275454ae0", "score": "0.54444444", "text": "public void mouseDragged(MouseEvent e) {\n\n\t distanceX = e.getX() - distanceX;\n\t distanceY = e.getY() - distanceY;\n\n\t double curX = selectedNode.getX();\n\t double curY = selectedNode.getY();\n\t // selectedNode.setX(curX + distanceX);\n\t // selectedNode.setY(curY + distanceY);\n\t //selectedNode.makeStart();\n\t selectedNode.makeStart();\n\t selectedNode.moveShape(e.getX(), e.getY());\n\t if (inDrag) {\n\t repaint();\n\t }\n\t }", "title": "" }, { "docid": "f85db5c5e60408b8290e873794746d0f", "score": "0.5441673", "text": "default void collideWithBorder(BorderCollision borderCollision){\n\n }", "title": "" }, { "docid": "54facbb5e79f476dbc97e1762c253201", "score": "0.54416645", "text": "@Override\n\t\tpublic void mouseMoved(MouseEvent e) {\n//\t\t\tSystem.out.println(\"X : \" + mx +\"\\n\"+ \"Y : \" + my);\n//\t\t\tSystem.out.println(\"______________________________________________\");\n\t\t\tmx = e.getX();\n\t\t\tmy = e.getY();\n\t\t\t\n\t\t}", "title": "" }, { "docid": "5c7b7fd7c7cc6fb36005903d2d92e1c8", "score": "0.54388213", "text": "@Override\r\n\t\t\tpublic void componentResized(ComponentEvent e) //apabila frame di resize,\r\n\t\t\t//fungsi ini mendapatkan ukuran area latar belakangnya dan menset box yang baru\r\n\t\t\t{\r\n\t\t\t\tComponent c = (Component)e.getSource();\r\n\t\t\t\tDimension dim = c.getSize();\r\n\t\t\t\tareaWidth = dim.width;\r\n\t\t\t\tareaHeight = dim.height;\r\n\t\t\t\tbox.set(0, 0, width, height);\r\n\t\t\t}", "title": "" }, { "docid": "e3b15d85e431097b75180bd0eb884aba", "score": "0.54379755", "text": "public void mouseDragged(java.awt.event.MouseEvent evt)\r\n\t {\n\t\tif (draggingFirst)\r\n\t\t{\r\n\t\t //update position of silder\r\n\t\t firstSlider = snapToEdge(evt.getPoint(), evt.getComponent());\r\n\t\t evt.getComponent().repaint();\r\n\t\t}\r\n\t\telse if (draggingSecond)\r\n\t\t{\r\n\t\t //update position of silder\r\n\t\t secondSlider = snapToEdge(evt.getPoint(), evt.getComponent());\r\n\t\t evt.getComponent().repaint();\r\n\t\t}\r\n\t }", "title": "" } ]
255e78277ee2ed80fceeb9a7592838aa
This context indicates that the Skript is being ran from an execute command.
[ { "docid": "12897da980d6b7d579a6003231ceb4aa", "score": "0.6818081", "text": "public interface ExecuteContext extends Context {}", "title": "" } ]
[ { "docid": "e61bff2688cf11b01f84cda4e44a23cd", "score": "0.62565994", "text": "abstract protected boolean onRunExecuted(Context context);", "title": "" }, { "docid": "5ac17eb1152a96b9a644091ce52f127f", "score": "0.61512166", "text": "public void execute(ExecutionContext executionContext) {\r\n\t\tisExecuted = true;\r\n\t}", "title": "" }, { "docid": "7066ed45433c161eb2028848f35e632b", "score": "0.6133961", "text": "protected abstract boolean execute(CommandSender sender, String[] args);", "title": "" }, { "docid": "039a6ab4033cf54a48930bd02e5069af", "score": "0.6125574", "text": "protected abstract boolean onConsoleCommand();", "title": "" }, { "docid": "6fc892204b121004b1422e9e42f438c5", "score": "0.608147", "text": "@Override\n\tpublic boolean execute(Context context) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "e79e8b04de0a5a2eed99d922c639a749", "score": "0.59963566", "text": "public void execute ( C context ) throws ExecuteException;", "title": "" }, { "docid": "c2b6e71c583b997d2542e79a2aa09021", "score": "0.5964121", "text": "public abstract boolean execute(ViaCommandSender sender, String[] args);", "title": "" }, { "docid": "5c37b854713afb7fdabb2b94417d8c5b", "score": "0.59606105", "text": "public abstract void execute_command();", "title": "" }, { "docid": "e0e2a4a857bc2a923cfd34769b2be8ec", "score": "0.59329784", "text": "public void runCommand() {\r\n }", "title": "" }, { "docid": "06764cded05d93ba0573800ec8a4026e", "score": "0.58534825", "text": "public void Execute(){}", "title": "" }, { "docid": "e8ce955cf4a6b0dcf0df2be6ced2bf31", "score": "0.5810427", "text": "public abstract void run(CommandContext ctx) throws Fault;", "title": "" }, { "docid": "916b43d5806912b4970df3e2042e6aeb", "score": "0.5769155", "text": "Object execute(Command command);", "title": "" }, { "docid": "86624f16f9c29632d37116f740296ebc", "score": "0.5759173", "text": "@Override\n\tpublic boolean isExecuting() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "c5e76bb32bffb6434055384048d39ca8", "score": "0.5756336", "text": "@Override\n public void runCommand(String command) {\n myCommandAccess.accept(command);\n }", "title": "" }, { "docid": "e4158a028fd77bd18ce5bc93c7824f42", "score": "0.5729315", "text": "@Override\n void exec(ContextImpl<?, ?, ?> context) throws Throwable {\n }", "title": "" }, { "docid": "26a4249402443c6668755160cf960a6a", "score": "0.5724076", "text": "public boolean Execute() ;", "title": "" }, { "docid": "4c925ecad33725fa25ed53ffa3f33fc2", "score": "0.571951", "text": "boolean processCommand(IExtensionContext ctx, IConversation conversation, String command, StringTokenizer parameters, String commandLine);", "title": "" }, { "docid": "a2c20013599aa1bf13ca1f0f20445cc1", "score": "0.5713951", "text": "public abstract void execute(\n Script script,\n String initial,\n Stack<StackFrame> stack,\n Map<String,StackFrame> context\n );", "title": "" }, { "docid": "303805fc0d248dbd58621d715365c4ec", "score": "0.56864816", "text": "public void execute()\r\n {\r\n Context context = getContext(); // triggers context establishment\r\n }", "title": "" }, { "docid": "84d2d6771f8e654867d3a21083d8f60c", "score": "0.56738186", "text": "public boolean shouldExecute() {\n\t\t\treturn true;\n\t\t}", "title": "" }, { "docid": "b734d8358f82aab2319d7b7f52f96b35", "score": "0.56498456", "text": "public interface CommandContext\n{\n\t/**\n\t * Retrieve the current attempt number. This will be zero on the initial\n\t * execution attempt on a sequence of <code>Command</code>s, 1 on the first\n\t * retry, etc. Thus, among other things, it will always return 0\n\t * during the <code>PreExecute</code> phase.\n\t * \n\t * @return Retry count.\n\t */\n\tpublic int getAttemptNumber();\n\t\n\t/**\n\t * Retrieve the entire list of <code>Command</code>s that are being\n\t * executed together.\n\t * @return <code>List</code> of <code>Command</code>s.\n\t */\n\tpublic List<Command> getCommands();\n}", "title": "" }, { "docid": "82e58a2fffb63b58b24cc828fe8242e4", "score": "0.5648229", "text": "public ExecuteExternalScriptInterpreter(final Variable targetVariable, final String command, final IBoilersuitApplicationContext context)\n {\n super(targetVariable, command, context);\n }", "title": "" }, { "docid": "99b6c9518677f90502c61a94430cd08d", "score": "0.56246877", "text": "@Override\r\n protected boolean canExecute(Command c) {\n throw new UnsupportedOperationException(\"Not supported yet.\");\r\n }", "title": "" }, { "docid": "a43b4c357260cd7aa74798420ac9a760", "score": "0.56187445", "text": "public boolean shouldExecute()\n\t\t{\n\t\t\treturn true;\n\t\t}", "title": "" }, { "docid": "5e808ff8b529dda2160a841fca9669ac", "score": "0.56185687", "text": "public boolean execute(PlugInContext context) { return(false); }", "title": "" }, { "docid": "1152aadd9c870318f444a327a12e6b84", "score": "0.5604194", "text": "private final void execCommand() {\n String string = Settings.Global.getString(this.context.getContentResolver(), \"sysui.performance\");\n Log.d(\"PerformanceTools\", \"onCommand \" + string);\n try {\n Intrinsics.checkExpressionValueIsNotNull(string, \"cmd\");\n Locale locale = Locale.ROOT;\n Intrinsics.checkExpressionValueIsNotNull(locale, \"Locale.ROOT\");\n if (string != null) {\n String lowerCase = string.toLowerCase(locale);\n Intrinsics.checkExpressionValueIsNotNull(lowerCase, \"(this as java.lang.String).toLowerCase(locale)\");\n List<String> list = StringsKt__StringsKt.split$default(lowerCase, new String[]{\"=\"}, false, 0, 6, null);\n if (StringsKt__StringsJVMKt.startsWith$default(string, \"binder\", false, 2, null)) {\n this.binderMonitor.onCommand(list);\n } else if (StringsKt__StringsJVMKt.startsWith$default(string, \"evilmethod\", false, 2, null)) {\n this.evilMethodMonitor.onCommand(list);\n } else if (StringsKt__StringsJVMKt.startsWith$default(string, \"frame\", false, 2, null)) {\n this.frameMonitor.onCommand(list);\n } else if (StringsKt__StringsJVMKt.startsWith$default(string, \"memory\", false, 2, null)) {\n this.memoryMonitor.onCommand(list);\n } else if (StringsKt__StringsJVMKt.startsWith$default(string, \"viewleak\", false, 2, null)) {\n this.viewLeakMonitor.onCommand(list);\n }\n } else {\n throw new TypeCastException(\"null cannot be cast to non-null type java.lang.String\");\n }\n } catch (Exception e) {\n Log.e(\"PerformanceTools\", CodeInjection.MD5, e);\n }\n }", "title": "" }, { "docid": "91a905c6c826e3c7bc7b7b3d1dd14eee", "score": "0.5591212", "text": "@Override\n\tpublic void run() {\n\t\tmp.FactoryMethod.FactoryMethod.getOrCreateEnvironment().get(commandName).run();\n\t}", "title": "" }, { "docid": "ba95e7c425bd28ae44eb270a2d7a52a5", "score": "0.5588439", "text": "@Override\r\n public void execute(final IExecutionContext executionContext) throws Exception {\n }", "title": "" }, { "docid": "0649a609e65f50430ea17a11110f63db", "score": "0.55841583", "text": "protected void execute() {\n\t\t\n\t}", "title": "" }, { "docid": "83f7240e157a5deef725b12e06cdf053", "score": "0.5531588", "text": "@Override\n public void Execute() {\n //System.out.println(\"Should use the overloaded Execute method instead, Execute() deprecated\");\n }", "title": "" }, { "docid": "0827cfa058822ba57711e32246785795", "score": "0.55205286", "text": "public @Override boolean canExecute() {\n mylog(\"canExecute\");\n return super.canExecute();\n }", "title": "" }, { "docid": "f702684ee0fddfed19a2aa62309c883c", "score": "0.5508022", "text": "@Override\r\n\tpublic void execute() {\n\t\tSystem.out.println(\"NullCommand.\");\r\n\t}", "title": "" }, { "docid": "46162d2394519d189937db650b73d84f", "score": "0.5506599", "text": "public void executeSPICommand() {\n System.out.println(\"SPI Command \" + name + \" not implemented...\");\n }", "title": "" }, { "docid": "df2f5043520f0f66400735b13beb0e0f", "score": "0.5496699", "text": "@Override\r\n\tpublic void execute(Runnable command) {\n\t\tsuper.execute(command);\r\n\t}", "title": "" }, { "docid": "b1ff4b8174bb61ab9956cfdb24a1827e", "score": "0.54875773", "text": "public void startExecuting() {\n super.startExecuting();\n }", "title": "" }, { "docid": "9963823c1acda61b70e2036871641481", "score": "0.54818887", "text": "protected void execute() {\n }", "title": "" }, { "docid": "9963823c1acda61b70e2036871641481", "score": "0.54818887", "text": "protected void execute() {\n }", "title": "" }, { "docid": "9963823c1acda61b70e2036871641481", "score": "0.54818887", "text": "protected void execute() {\n }", "title": "" }, { "docid": "52139580e52fd921dcf4c5c0dd3ca893", "score": "0.54775524", "text": "@Override\n public int executeCommand(CommandContext context) {\n System.exit(0);\n return 0;\n }", "title": "" }, { "docid": "7d54842f88f7de32056fbb350fdf10a7", "score": "0.5472862", "text": "String getIsExecute();", "title": "" }, { "docid": "d3169ebdb0d1b89810b5351e6f09821b", "score": "0.5468712", "text": "protected void execute() {\r\n }", "title": "" }, { "docid": "5fd87a4118c6dc2ad46ff13d2592a8e0", "score": "0.54619956", "text": "protected void execute()\r\n {\r\n }", "title": "" }, { "docid": "aa000dd6cb35592fc5750415e85c1ae6", "score": "0.54394376", "text": "void executeCommand(CommandSender sender, List<String> arguments);", "title": "" }, { "docid": "959d0e1c86a5c386ded165cd67f98322", "score": "0.5435227", "text": "@Override\r\n public void execute() {\n wrist.manualOverride(false);\r\n System.out.println(\"execute\");\r\n }", "title": "" }, { "docid": "cb0c7af417a90b342ca910410dda3153", "score": "0.5432176", "text": "public boolean shouldExecute() {\n if (!super.shouldExecute()) {\n return false;\n } else {\n return true;\n }\n }", "title": "" }, { "docid": "a1ddcfcd647cf8381599a768c414cbb0", "score": "0.54163414", "text": "@Override\n\tpublic boolean performCommand(String arg0)\n\t{\n\t\treturn false;\n\t}", "title": "" }, { "docid": "064d0136533c0f1536964dee36fb94d2", "score": "0.5395758", "text": "abstract public void execute(Context context) throws EvaluationException;", "title": "" }, { "docid": "f5408b2f387e06ea336b0359428aac0d", "score": "0.5380962", "text": "public String execute(IExecContext execContext) throws Exception {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "a7ce349114dfdf7f6c3ce359142a4195", "score": "0.53713983", "text": "@Override\n public String getExecutionConfirmation(ExecutionContext ctx)\n {\n return null;\n }", "title": "" }, { "docid": "3f587ed7780e5abf2837c386428bd638", "score": "0.53650016", "text": "@Override\n\tpublic void execAction() {\n\t\t\n\t}", "title": "" }, { "docid": "068d0408c3d757e4ab2136dae20f3549", "score": "0.5364091", "text": "@Override\r\n\tprotected Boolean canBeExecuted(){\r\n\t\treturn this.getContext().doCheckCanBeExecuted();\r\n\t}", "title": "" }, { "docid": "ca3eca66834b20b75cb450f08cce4e19", "score": "0.5361798", "text": "protected void execute() {\r\n \r\n }", "title": "" }, { "docid": "ca3eca66834b20b75cb450f08cce4e19", "score": "0.5361798", "text": "protected void execute() {\r\n \r\n }", "title": "" }, { "docid": "18b79733e9a01191ee7d3bbfe86c41e8", "score": "0.5361575", "text": "@Override\r\n\tpublic void execute(Window window) {\n\t}", "title": "" }, { "docid": "6db196fe12df2040e890be66656ff251", "score": "0.53595954", "text": "@Override\n\tprotected void execute() {\n\t\t\n\t}", "title": "" }, { "docid": "6db196fe12df2040e890be66656ff251", "score": "0.53595954", "text": "@Override\n\tprotected void execute() {\n\t\t\n\t}", "title": "" }, { "docid": "90a46903438208e6c18009aaa04b989b", "score": "0.5358516", "text": "@Override\n public boolean execute() {\n return true;\n }", "title": "" }, { "docid": "b55165870296ed525324960ddf10baa9", "score": "0.53510505", "text": "public void execute()\n\t{\n\n\t}", "title": "" }, { "docid": "922cb7f032393039e77bb11ebea8a350", "score": "0.5344451", "text": "protected void executeCommand(final CommandWithDto commandWithDto) {\n val interaction = interactionContext.getInteraction();\n val executeIn = commandWithDto.getExecuteIn();\n\n log.info(\"Executing: {} {} {} {}\", executeIn, commandWithDto.getMemberIdentifier(), commandWithDto.getTimestamp(), commandWithDto.getUniqueId());\n\n commandWithDto.internal().setExecutor(Command.Executor.BACKGROUND);\n\n // responsibility for setting the Command#startedAt is in the ActionInvocationFacet or\n // PropertySetterFacet, but this is run if the domain object was found. If the domain object is\n // thrown then we would have a command with only completedAt, which is inconsistent.\n // Therefore instead we copy down from the backgroundInteraction (similar to how we populate the\n // completedAt at the end)\n val currentExecution = interaction.getCurrentExecution();\n\n val startedAt = currentExecution != null\n ? currentExecution.getStartedAt()\n : clockService.nowAsJavaSqlTimestamp();\n\n commandWithDto.internal().setStartedAt(startedAt);\n\n final CommandDto dto = commandWithDto.asDto();\n\n final MemberDto memberDto = dto.getMember();\n final String memberId = memberDto.getMemberIdentifier();\n\n final OidsDto oidsDto = CommandDtoUtils.targetsFor(dto);\n final List<OidDto> targetOidDtos = oidsDto.getOid();\n\n final InteractionType interactionType = memberDto.getInteractionType();\n if(interactionType == InteractionType.ACTION_INVOCATION) {\n\n final ActionDto actionDto = (ActionDto) memberDto;\n\n for (OidDto targetOidDto : targetOidDtos) {\n\n val targetAdapter = adapterFor(targetOidDto);\n final ObjectAction objectAction = findObjectAction(targetAdapter, memberId);\n\n // we pass 'null' for the mixedInAdapter; if this action _is_ a mixin then\n // it will switch the targetAdapter to be the mixedInAdapter transparently\n val argAdapters = argAdaptersFor(actionDto);\n val resultAdapter = objectAction.execute(\n targetAdapter, null, argAdapters, InteractionInitiatedBy.FRAMEWORK);\n\n // flush any Isis PersistenceCommands pending\n // (else might get transient objects for the return value)\n transactionService.flushTransaction();\n\n //\n // for the result adapter, we could alternatively have used...\n // (priorExecution populated by the push/pop within the interaction object)\n //\n // final Interaction.Execution priorExecution = backgroundInteraction.getPriorExecution();\n // Object unused = priorExecution.getReturned();\n //\n\n // REVIEW: this doesn't really make sense if >1 action\n if(resultAdapter != null) {\n Bookmark resultBookmark = CommandUtil.bookmarkFor(resultAdapter);\n commandWithDto.internal().setResult(resultBookmark);\n }\n }\n } else {\n\n final PropertyDto propertyDto = (PropertyDto) memberDto;\n\n for (OidDto targetOidDto : targetOidDtos) {\n\n final Bookmark bookmark = Bookmark.from(targetOidDto);\n final Object targetObject = bookmarkService.lookup(bookmark);\n\n val targetAdapter = adapterFor(targetObject);\n\n final OneToOneAssociation property = findOneToOneAssociation(targetAdapter, memberId);\n\n val newValueAdapter = newValueAdapterFor(propertyDto);\n\n property.set(targetAdapter, newValueAdapter, InteractionInitiatedBy.FRAMEWORK);\n\n // there is no return value for property modifications.\n }\n }\n\n }", "title": "" }, { "docid": "86897df3cb013a8f0ec36d4026c04248", "score": "0.5342437", "text": "public void execute() {\n\n\t}", "title": "" }, { "docid": "2144222c486a5e7ed5f957b778402568", "score": "0.53336364", "text": "boolean handleCommand(int commandId);", "title": "" }, { "docid": "c9d287170c4b51b1311d71347fac9ac3", "score": "0.53196734", "text": "@Override\n\tpublic void execute() {\n\t\t\n\t}", "title": "" }, { "docid": "c9d287170c4b51b1311d71347fac9ac3", "score": "0.53196734", "text": "@Override\n\tpublic void execute() {\n\t\t\n\t}", "title": "" }, { "docid": "c9d287170c4b51b1311d71347fac9ac3", "score": "0.53196734", "text": "@Override\n\tpublic void execute() {\n\t\t\n\t}", "title": "" }, { "docid": "c9d287170c4b51b1311d71347fac9ac3", "score": "0.53196734", "text": "@Override\n\tpublic void execute() {\n\t\t\n\t}", "title": "" }, { "docid": "0e6b35af8ed7b397ae2d6ee132dcbe16", "score": "0.53191656", "text": "public void execute() {\n }", "title": "" }, { "docid": "7ded0e0ebd9390dd0fb47cdd2e9ce6e3", "score": "0.53156114", "text": "@Override\n\tpublic void run() {\n\t\texecute(createCommand());\n\t}", "title": "" }, { "docid": "2b15061895e35730d9babaeae692bc24", "score": "0.5315164", "text": "@Override\n public void execute(E arg) {\n\n }", "title": "" }, { "docid": "94ec45ac68af5e10c9fe16143e60fda1", "score": "0.5314344", "text": "public static void handleCommand(CommandParser.CommandContainer cmd) {\n if(commands.containsKey(cmd.invoke)) {\n boolean safe = commands.get(cmd.invoke).called(cmd.args, cmd.event);\n\n if (safe) {\n commands.get(cmd.invoke).action(cmd.splitBeheaded, cmd.event);\n commands.get(cmd.invoke).executed(safe, cmd.event);\n } else {\n commands.get(cmd.invoke).executed(safe, cmd.event);\n }\n }\n }", "title": "" }, { "docid": "1b1f911331b5cf61986cd2f31c4cc0ab", "score": "0.53065014", "text": "public void execute() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "c34b04b90094dc98ed4c30271ad2cd91", "score": "0.5306432", "text": "void executeCommand() {\n command.execute();\n }", "title": "" }, { "docid": "1221600ca1e96611c1c810e9d594843d", "score": "0.53026605", "text": "@Override\n\t\t\tpublic boolean execute(CommandSender sender, String commandLabel, String[] args)\n\t\t\t{\n if (!sender.hasPermission(\"globalmarket.use\"))\n {\n\t\t\t\t\tGMLogger.debug(String.format(\"Permissions check on %s for globalmarket.use has returned false\", sender.getName()));\n\t\t\t\t\tsender.sendMessage(LocaleHandler.get().get(\"command_no_permission\"));\n return true;\n }\n\t\t\t\tGMLogger.debug(String.format(\"Permissions check on %s for globalmarket.use has returned true\", sender.getName()));\n if (args.length > 0)\n {\n String allArgs = StringUtils.join(args, \" \") + \" \";\n\t\t\t\t\tGMLogger.debug(String.format(\"Args: [%s]\", allArgs));\n contextLoop: for (CommandContext context : commands)\n {\n for (String cmd : context.command)\n {\n if (allArgs.toLowerCase().startsWith(cmd + \" \"))\n {\n String _args = allArgs.replace(cmd, \"\").trim();\n String[] argArray = _args.length() == 0 ? new String[0] : _args.trim().split(\" \");\n handleCommand(sender, context, argArray);\n break contextLoop;\n }\n }\n }\n }\n else\n {\n if (sender instanceof Player && Core.instance.config().get(Defaults.MARKET_COMMAND_OPENS_GUI))\n {\n Player player = (Player) sender;\n Core.instance.handler().initViewer(player, Menus.MENU_LISTINGS);\n }\n else\n {\n // Help should be first\n commands.get(0).process(sender, null);\n }\n }\n\t\t\t\treturn true;\n\t\t\t}", "title": "" }, { "docid": "eddfa337c6062b1b27ae6bc698884ad1", "score": "0.5296553", "text": "protected abstract String getCommandToRun(Node node, Context context) throws CloudManagerException;", "title": "" }, { "docid": "49a483b055e7840baf347a39e719e966", "score": "0.528872", "text": "@Override\r\n\tprotected void execute() {\r\n\t}", "title": "" }, { "docid": "48dfc9c9816d327520e97db74451d119", "score": "0.5280661", "text": "protected abstract void applyUserCommand(RuntimeAgentCommandMsg cmd);", "title": "" }, { "docid": "22c3bed9976ece62ed85e2f6685dee33", "score": "0.52781135", "text": "public void execute() {\n\t}", "title": "" }, { "docid": "75777934a520de9caa939d60ab222232", "score": "0.52761686", "text": "protected void execute(UndoableCommand command) {\n \t\tAbstractPlugIn.execute(command, getPanel());\n \t}", "title": "" }, { "docid": "64561b214229f2a5b3281fe7e7f46e4a", "score": "0.52728045", "text": "@Override\n public void execute() {\n }", "title": "" }, { "docid": "64561b214229f2a5b3281fe7e7f46e4a", "score": "0.52728045", "text": "@Override\n public void execute() {\n }", "title": "" }, { "docid": "0aea51e990ffc81672c10342d5208811", "score": "0.52722377", "text": "@Override\n protected void execute() {\n }", "title": "" }, { "docid": "0797a26bb4d20ee7a52a6c218fbc96b9", "score": "0.52709067", "text": "@Override\n\tpublic void execCommand(int index, String cmd) {\n\n\t}", "title": "" }, { "docid": "245e5cca99947a8fc4210a937c71befa", "score": "0.5270738", "text": "public CommandResult execute() {\n throw new UnsupportedOperationException(\"This method is to be implemented by child classes\");\n }", "title": "" }, { "docid": "3bc5311e83accca693dfd0067c0530c5", "score": "0.5268293", "text": "@Override\n\tpublic void execute() {\n\t\tSystem.out.println(\"This is a correct minus statement.\");\n\n\t}", "title": "" }, { "docid": "c1931be77bfaea91d9dcb9e9a0ec7ab9", "score": "0.5267851", "text": "@Override public void enterArgument(PythonParser.ArgumentContext ctx) {\n }", "title": "" }, { "docid": "6c6fd98617b41b54b0678c28b1427667", "score": "0.526483", "text": "@Override\n\tpublic String execActionWithAnswer(String cmd) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "4d36c8a7ae4d677111f69f94f85b4cf3", "score": "0.5260568", "text": "public boolean shouldContinueExecuting()\n\t\t{\n\t\t\treturn false;\n\t\t}", "title": "" }, { "docid": "4d36c8a7ae4d677111f69f94f85b4cf3", "score": "0.5260568", "text": "public boolean shouldContinueExecuting()\n\t\t{\n\t\t\treturn false;\n\t\t}", "title": "" }, { "docid": "e93509ff45e7b065132f257889b0b5eb", "score": "0.5255855", "text": "public boolean isCustomCommand() {\n return this.action.type == CUSTOM;\n }", "title": "" }, { "docid": "fd7e6a04f470af52c9668c651b7ba797", "score": "0.52539337", "text": "protected abstract void execute();", "title": "" }, { "docid": "fd7e6a04f470af52c9668c651b7ba797", "score": "0.52539337", "text": "protected abstract void execute();", "title": "" }, { "docid": "fd7e6a04f470af52c9668c651b7ba797", "score": "0.52539337", "text": "protected abstract void execute();", "title": "" }, { "docid": "fd7e6a04f470af52c9668c651b7ba797", "score": "0.52539337", "text": "protected abstract void execute();", "title": "" }, { "docid": "22f9dce86ff2c49697d2316c1c8e0908", "score": "0.5249207", "text": "@Override\n\tprotected void execute() {\n }", "title": "" }, { "docid": "3a05643f77b66ce3a0f71353de8b51b9", "score": "0.5248955", "text": "public boolean acceptStatementContext() {\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "905722dba4b7560b74d1e684716fee56", "score": "0.5242849", "text": "@Override\n\tprotected void execute() {\n\n\t}", "title": "" }, { "docid": "ec6cb0a966987caae6e5c3467927c673", "score": "0.52331734", "text": "public void execute()\n {\n\n }", "title": "" }, { "docid": "758406c3c4e41958f9fd301a89b85b68", "score": "0.5229919", "text": "@Override\n public void execute() {\n\n }", "title": "" }, { "docid": "d4f03ae776c16e67fa10fffdde050c65", "score": "0.5227478", "text": "@Override\n\tprotected void execute() {\n\t}", "title": "" }, { "docid": "06847bbe00efa8a7216b93228761bb13", "score": "0.5227366", "text": "@Override\n protected void execute() {\n }", "title": "" }, { "docid": "06847bbe00efa8a7216b93228761bb13", "score": "0.5227366", "text": "@Override\n protected void execute() {\n }", "title": "" } ]
6eb24511764ddf261389d0943ad588e7
Provide a suitable constructor (depends on the kind of dataset)
[ { "docid": "4fd5045469350cdd9818e92aed264772", "score": "0.0", "text": "public EventViewAdapter(FragmentActivity activity, Fragment f, List<EventData> list) {\n this.context = activity;\n this.f = f;\n this.event_list = list;\n //this.events = events;\n }", "title": "" } ]
[ { "docid": "daf45bc1ab8a5c4f5ee26aac5868b869", "score": "0.6898611", "text": "public Dataset()\n {\n this(new HashSet<DescriptionsList>());\n }", "title": "" }, { "docid": "d2e8eecca5c079b8067a7d229cd9797c", "score": "0.6757824", "text": "public BinaryDataset() {}", "title": "" }, { "docid": "51d65ca3e1d9e32ac2480e59bb79f4a0", "score": "0.668816", "text": "public SimpleDataSet(DataStore datapoints) {\n super(datapoints);\n }", "title": "" }, { "docid": "29a245b2e26f231005c2c7b958fb7c04", "score": "0.6686055", "text": "public Dataset() {\r\n IS = new InstanceSet(); // Init a new set of instances\r\n }", "title": "" }, { "docid": "a237ba1fad16996fb9f286962c5abb94", "score": "0.6366591", "text": "public Datum() {\n }", "title": "" }, { "docid": "a237ba1fad16996fb9f286962c5abb94", "score": "0.6366591", "text": "public Datum() {\n }", "title": "" }, { "docid": "fc3de723d3e7c258c380489d0654fc12", "score": "0.63327783", "text": "public StringDataset() {\n \t\tsuper();\n \t}", "title": "" }, { "docid": "8d360dd00caebb1e93401b75c35c9187", "score": "0.63069564", "text": "private DataTransformer() {}", "title": "" }, { "docid": "97f942bea2346002ac31dc9911ec3688", "score": "0.62582386", "text": "private PieDataset createDataset() {\n\t\tDefaultPieDataset dataset = new DefaultPieDataset();\n\t\tdataset.setValue(\"Windows\", 100);\n\t\tdataset.setValue(\"Linux\", 120);\n\t\tdataset.setValue(\"MacOS\", 70);\n\t\tdataset.setValue(\"Other\", 3);\n\n\t\treturn dataset;\n\t}", "title": "" }, { "docid": "e8ddbef266e29e5370c2958c31ea16d6", "score": "0.6238634", "text": "Data createData();", "title": "" }, { "docid": "02f2ea98617406e4cd2eb7370c553751", "score": "0.622256", "text": "public DataSet(String name) {\n super(name);\n }", "title": "" }, { "docid": "424407111135ff53c8277f4110297381", "score": "0.61668766", "text": "public AbstractData createInstance(int index)\n {\n\tswitch (index) {\n\t case 0:\n\t\treturn new GenericParameterKey();\n\t case 1:\n\t\treturn new GenericParameterValue();\n\t default:\n\t\tthrow new InternalError(\"AbstractCollection.createInstance()\");\n\t}\n\t\n }", "title": "" }, { "docid": "a85a4ea23be777ea1c31404114268f3f", "score": "0.6163396", "text": "private TwitterDataset() {\n super(\"twitter_dataset\", null);\n }", "title": "" }, { "docid": "007b69daa17f90de67bd513ce2c57303", "score": "0.6116652", "text": "public Data() {\n }", "title": "" }, { "docid": "007b69daa17f90de67bd513ce2c57303", "score": "0.6116652", "text": "public Data() {\n }", "title": "" }, { "docid": "f86437bef65313ae5988ddbd6193ef6c", "score": "0.60995436", "text": "public interface Dataset {\n\t\n\t/**\n\t * Creates a new reader instance providing access to the data within this\n\t * set.\n\t * \n\t * @return A new dataset reader.\n\t */\n\tDatasetReader createReader();\n}", "title": "" }, { "docid": "6fbe2a3ae1a1b2420cbf14ef9429031a", "score": "0.6083273", "text": "public StringDataset(final AbstractDataset dataset) {\n \t\tsuper(dataset);\n \t}", "title": "" }, { "docid": "f49c98ee75c0b762054024d482ba5536", "score": "0.6055203", "text": "DatasetReader createReader();", "title": "" }, { "docid": "6b392178c4d90f57b0ea9f9bdbf67306", "score": "0.6039836", "text": "public SimpleDataSet(int numerical, CategoricalData[] categories) {\n super(numerical, categories);\n }", "title": "" }, { "docid": "b2a4eccfe27e9bc0a0bc7c2c6f2141ce", "score": "0.60388917", "text": "public Data() {\n }", "title": "" }, { "docid": "2b4702b32197c290d66e2d8dc6e7186f", "score": "0.5994539", "text": "private CategoryDataset createDataset( ) {\n final DefaultCategoryDataset dataset = new DefaultCategoryDataset( ); \n//\n// dataset.addValue( 1.0 , fiat , speed ); \n// dataset.addValue( 3.0 , fiat , userrating ); \n// dataset.addValue( 5.0 , fiat , millage ); \n// dataset.addValue( 5.0 , fiat , safety ); \n//\n// dataset.addValue( 5.0 , audi , speed ); \n// dataset.addValue( 6.0 , audi , userrating ); \n// dataset.addValue( 10.0 , audi , millage ); \n// dataset.addValue( 4.0 , audi , safety );\n//\n// dataset.addValue( 4.0 , ford , speed ); \n// dataset.addValue( 2.0 , ford , userrating ); \n// dataset.addValue( 3.0 , ford , millage ); \n// dataset.addValue( 6.0 , ford , safety ); \n try {\n Connector conn = new Connector();\n \n HashMap<String, Integer> data = new HashMap();\n data = conn.getUserTickets();\n for (Map.Entry<String, Integer> entry : data.entrySet()){\n String key = entry.getKey();\n int value = entry.getValue();\n// dataset.addValue(new Double(value), \"\");\n dataset.addValue(value, key, \"\");\n }\n \n } catch (ClassNotFoundException | SQLException ex) {\n Logger.getLogger(GraphPanel.class.getName()).log(Level.SEVERE, null, ex);\n }\n return dataset; \n }", "title": "" }, { "docid": "12443c1cfc3ff4befc064db60077a1e8", "score": "0.5976717", "text": "public Daming() {\n this(\"data\");\n }", "title": "" }, { "docid": "5252dbc891c4dba8c1c9427ccbb9da85", "score": "0.59543836", "text": "DataType createDataType();", "title": "" }, { "docid": "88232ea13bd51497625f0fb43855a018", "score": "0.5940346", "text": "private Dataset(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "ab51dfdf2b42672560c071773574941a", "score": "0.59255695", "text": "public DataFactoryImpl() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "e4e3338fefefe2a4a53708a604f79e1b", "score": "0.5923152", "text": "public DenseInstanceData() {\n this(0);\n }", "title": "" }, { "docid": "6689ac12ce328ac5e2ffa9ebe583eff1", "score": "0.58908474", "text": "public SimpleDataSet(List<DataPoint> datapoints) {\n super(datapoints.get(0).numNumericalValues(), datapoints.get(0).getCategoricalData());\n for (DataPoint dp : datapoints)\n this.add(dp);\n }", "title": "" }, { "docid": "c4c2a485c633a4605980a217d477efd2", "score": "0.5890028", "text": "public Dataset(byte[] data, Modes mode) throws IOException {\n super(data, mode);\n }", "title": "" }, { "docid": "186dc2e3e85c2b1625f56d6ba26d185b", "score": "0.5881968", "text": "public DataPackage() {\n\n }", "title": "" }, { "docid": "479e391fed91587495e559dd27f39d35", "score": "0.58692575", "text": "public DataSet(String filename){\n\t\ttry{\n\t\t\tint dataSetSize=getDataSetSize(filename);\n\t\t\tif(dataSetSize==0){\n\t\t\t\tSystem.out.println(\"Warning: There is no data in the file \"+filename+\"!\");\n\t\t\t}\n\t\t\t\n\t\t\tdataArray=findDataArray(filename,dataSetSize);\n\t\t\n\t\t}\n\t\tcatch(FileNotFoundException e){\n\t\t\tSystem.out.println(\"Error: Target file does not exist!\");\n\t\t\tSystem.exit(2);\n\t\t}\n\t\tcatch(NumberFormatException e){\n\t\t\tSystem.out.println(\"Error: Wrong type of input value!\");\n\t\t\tSystem.exit(3);\n\t\t}\n\t\tcatch(FormatNotMatched e){\n\t\t\tSystem.out.println(\"Error: Wrong number of input attributes!\");\n\t\t\tSystem.exit(3);\n\t\t}\n\t\tcatch(Exception e){\n\t\t\tSystem.out.println(\"Error: exception detected!\");\n\t\t\tSystem.exit(3);\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "7a53ddf341ff26e78859fce867a9a344", "score": "0.5831449", "text": "public static StringDataset createFromObject(final Object obj) {\n \t\tStringDatasetBase result = StringDatasetBase.createFromObject(obj);\n \t\treturn new StringDataset(result.data, result.shape);\n \t}", "title": "" }, { "docid": "757e210d3f2e8dc1e3b8a0c755a2db00", "score": "0.58268666", "text": "public MetadataData() {\r\n\t\t// no functionality\r\n\t}", "title": "" }, { "docid": "2cfb29a22aa265b75dc906b5a0da08e5", "score": "0.5826306", "text": "public MyAdapter(String[] myDataset) {\n mDataset = myDataset;\n }", "title": "" }, { "docid": "a71961169a78b77773d29b5af6bb0049", "score": "0.581535", "text": "public ClassificationMetric() {}", "title": "" }, { "docid": "42056130eca923635d7a0a66ca253355", "score": "0.58146805", "text": "public LeicaSeries() {}", "title": "" }, { "docid": "dc0b24847dde7afd2ee2a7829d74584b", "score": "0.58086425", "text": "@Test\n public void constructorTest() {\n // Given (cat data)\n String givenName = \"Zula\";\n Date givenBirthDate = new Date();\n Integer givenId = 0;\n\n // When (a cat is constructed)\n Cat cat = new Cat(givenName, givenBirthDate, givenId);\n\n // When (we retrieve data from the cat)\n String retrievedName = cat.getName();\n Date retrievedBirthDate = cat.getBirthDate();\n Integer retrievedId = cat.getId();\n\n // Then (we expect the given data, to match the retrieved data)\n Assert.assertEquals(givenName, retrievedName);\n Assert.assertEquals(givenBirthDate, retrievedBirthDate);\n Assert.assertEquals(givenId, retrievedId);\n }", "title": "" }, { "docid": "37d6168ed703df54a8647e71103558f6", "score": "0.58036536", "text": "private CategoryDataset crearDatos() {\r\n\r\n var datos = new DefaultCategoryDataset();\r\n datos.setValue(casos[0], \"Numero de casos\", edades[0]);\r\n datos.setValue(casos[1], \"Numero de casos\", edades[1]);\r\n datos.setValue(casos[2], \"Numero de casos\", edades[2]);\r\n datos.setValue(casos[3], \"Numero de casos\", edades[3]);\r\n datos.setValue(casos[4], \"Numero de casos\", edades[4]);\r\n datos.setValue(casos[5], \"Numero de casos\", edades[5]);\r\n \r\n return datos;\r\n }", "title": "" }, { "docid": "b3c167b07978efe00f138a4cf21c1d5a", "score": "0.5799594", "text": "@DataClass.Generated.Member\n /* package-private */ ParcelAllTheThingsDataClass(\n @NonNull String[] stringArray,\n @NonNull int[] intArray,\n @NonNull List<String> stringList,\n @NonNull Map<String,SampleWithCustomBuilder> map,\n @NonNull Map<String,String> stringMap,\n @NonNull SparseArray<SampleWithCustomBuilder> sparseArray,\n @NonNull SparseIntArray sparseIntArray,\n @SuppressWarnings({ \"WeakerAccess\" }) @Nullable Boolean nullableBoolean) {\n this.mStringArray = stringArray;\n AnnotationValidations.validate(\n NonNull.class, null, mStringArray);\n this.mIntArray = intArray;\n AnnotationValidations.validate(\n NonNull.class, null, mIntArray);\n this.mStringList = stringList;\n AnnotationValidations.validate(\n NonNull.class, null, mStringList);\n this.mMap = map;\n AnnotationValidations.validate(\n NonNull.class, null, mMap);\n this.mStringMap = stringMap;\n AnnotationValidations.validate(\n NonNull.class, null, mStringMap);\n this.mSparseArray = sparseArray;\n AnnotationValidations.validate(\n NonNull.class, null, mSparseArray);\n this.mSparseIntArray = sparseIntArray;\n AnnotationValidations.validate(\n NonNull.class, null, mSparseIntArray);\n this.mNullableBoolean = nullableBoolean;\n\n // onConstructed(); // You can define this method to get a callback\n }", "title": "" }, { "docid": "732fda7b3aeafcd707cb02540f468501", "score": "0.5787295", "text": "public DataGeneration() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "83ce3a0587ea07aa771d039bae140e64", "score": "0.57404715", "text": "public abstract DataSupplier buildDatLoader(String format, Map<String,Object> arguments);", "title": "" }, { "docid": "5e2348f3826240b27794781595bba241", "score": "0.57278913", "text": "public Data04()\n {\n }", "title": "" }, { "docid": "97f4286e7ba064060f0d5bfed9cb6d24", "score": "0.57177323", "text": "public ConstructorType(Object one, long two, String three) {\r\n super(one, two, three);\r\n }", "title": "" }, { "docid": "b6c14cedc24ccd70a044e4f2c89764b6", "score": "0.5715502", "text": "public void makeInstance() {\n\t\t// Create the attributes, class and text\n ArrayList cats=v.categories();\n int c=cats.size();\n \n\t\tFastVector fvNominalVal = new FastVector(2);\n for(int x=0;x <c;x++){\n\t\tfvNominalVal.addElement(cats.get(x));\n\t\t//fvNominalVal.addElement(\"ham\");\n }\n Attribute attribute1 = new Attribute(\"class\", fvNominalVal);\n\t\tAttribute attribute2 = new Attribute(\"text\",(FastVector) null);\n\t\t// Create list of instances with one element\n\t\tFastVector fvWekaAttributes = new FastVector(2);\n\t\tfvWekaAttributes.addElement(attribute1);\n\t\tfvWekaAttributes.addElement(attribute2);\n\t\tinstances = new Instances(\"Test relation\", fvWekaAttributes, 1); \n\t\t// Set class index\n\t\tinstances.setClassIndex(0);\n\t\t// Create and add the instance\n\t\tDenseInstance instance = new DenseInstance(2);\n\t\tinstance.setValue(attribute2, text);\n\t\t// Another way to do it:\n\t\t// instance.setValue((Attribute)fvWekaAttributes.elementAt(1), text);\n\t\tinstances.add(instance);\n \t\tSystem.out.println(\"===== Instance created with reference dataset =====\");\n\t\tSystem.out.println(instances);\n\t}", "title": "" }, { "docid": "1cc3772e5ccbb6abca3e02cb903a448c", "score": "0.5714715", "text": "public DatatypeFactoryImpl() {\n super();\n }", "title": "" }, { "docid": "8b497350efdef1de03aafa438d022e5e", "score": "0.56933475", "text": "public DataFactory () {\n this.resetDefaults ();\n }", "title": "" }, { "docid": "f50c5d8556f8731b7663c184da28ab59", "score": "0.5691196", "text": "private Data() {\n }", "title": "" }, { "docid": "e40a9da84c7707d46dd2e0eef517beed", "score": "0.56866676", "text": "public DataSetPane(DataSet aDataSet)\n {\n setDataSet(aDataSet);\n }", "title": "" }, { "docid": "8d1cb00a38e1c2d23528b40027a47785", "score": "0.5685276", "text": "public CategoryDataset createDataset1() {\n\t\tDefaultCategoryDataset dataset;\n\n\t\tfinal String series1 = \"Лайки\";\n\t\tfinal String series2 = \"Комментарии\";\n\t\tList<Calendar> cal = post.getDateReg();\n\t\tList<String> likes = post.getLikes();\n\t\tList<String> comments = post.getComments();\n\t\tdataset = new DefaultCategoryDataset();\n\t\tfor (int i = 0; i < cal.size(); i++) {\n\t\t\tSimpleDateFormat formatDate = new SimpleDateFormat(\"HH:mm\");\n\t\t\tString formatted = formatDate.format(cal.get(i).getTime());\n\t\t\tdataset.addValue(Double.valueOf(likes.get(i)), series1, formatted);\n\t\t\tdataset.addValue(Double.valueOf(comments.get(i)), series2, formatted);\n\n\t\t}\n\n\t\treturn dataset;\n\t}", "title": "" }, { "docid": "1e32f08f6ae202e6d218e0a8d119d417", "score": "0.56594265", "text": "public Dataset(Set<DescriptionsList> lists)\n {\n this.lists = lists;\n }", "title": "" }, { "docid": "df9fb5e3697383534da14430b8ed5ba2", "score": "0.5658056", "text": "Datatype createDatatype();", "title": "" }, { "docid": "031249303f444e720b24073282618ab0", "score": "0.5655069", "text": "public DataElementConverter()\r\n {\r\n }", "title": "" }, { "docid": "19e7a95cf8e52fe780130e170df31d42", "score": "0.565086", "text": "public DataConnector newInstance();", "title": "" }, { "docid": "9324fc0dbd47ff1ec830cd8534e521c1", "score": "0.56507266", "text": "public ClypeData(int type) {\r\n this(\"Anon\", type);\r\n }", "title": "" }, { "docid": "05405da358fdb2efb6633b1f21c861cc", "score": "0.5649216", "text": "public CinemaData() {\n }", "title": "" }, { "docid": "069cfa6457ad8903b18ae45a977dae66", "score": "0.56455314", "text": "public PopularityData(){\n this(7);\n }", "title": "" }, { "docid": "30416c77de8189624fdf9b994266a8cb", "score": "0.56379163", "text": "public void Constructor(){\n\t\t\t\n\t\t}", "title": "" }, { "docid": "c691013d4c2126081a9caa2edf771956", "score": "0.5626296", "text": "public DfuData(){\n\n }", "title": "" }, { "docid": "4c4403565ad9138fbaba55d221c5d3ff", "score": "0.5625026", "text": "private static CategoryDataset createDataset(int val1,int val2) \n\t{\n\t DefaultCategoryDataset dataset = new DefaultCategoryDataset();\n\t\n\ttry\n\t{\t\t\n // row keys...\n String series1 = \"BSW\";\n String series2 = \"CP-ABE\";\n\n\t\tString startTag = \"<html><b><font size='2' color='black'>\";\n\t\tString endTag = \"</font></b></html>\";\n\t\t\n // create the dataset...\n \n\t\tdataset.addValue((double)val1, series1, series1);\n\t\tdataset.addValue((double)val2, series2, series2);\n\t\t\n\t} \n\t catch (Exception e) \n\t {\t\t\n\t\te.printStackTrace();\n\t }\n return dataset;\n \n }", "title": "" }, { "docid": "ae38fcda62ec401100bd0867ab11e854", "score": "0.5612964", "text": "public interface ClfDataSet extends DataSet{\n int getNumClasses();\n int[] getLabels();\n void setLabel(int dataPointIndex, int label);\n LabelTranslator getLabelTranslator();\n void setLabelTranslator(LabelTranslator labelTranslator);\n}", "title": "" }, { "docid": "4e994293dbe2e12d49ca2c6c13fa0e59", "score": "0.5597914", "text": "public Chartboost() {}", "title": "" }, { "docid": "c8cc32d9975524111d53abcc5c8a4f44", "score": "0.55861473", "text": "private static DataSet createDataSet(List<Object[]> data) {\n\t\t\n\t\tDataSet set = new DataSet();\n\t\t\n\t\tfor (int i = 0; i < data.size(); i++) {\n\t\t\tObject[] datarow = data.get(i);\n\t\t\tset.addInstance(datarow);\n\t\t}\n\t\t\n\t\treturn set;\n\t}", "title": "" }, { "docid": "d446399b45c6378e44d33e49b43ac2de", "score": "0.5585366", "text": "public SensorData() {\n }", "title": "" }, { "docid": "8794bc221cf549031fbe0e5d450b3fe9", "score": "0.5580596", "text": "public MutableSequenceDataset(ImmutableSequenceDataset<T> dataset) {\n super(dataset.getProvenance(),dataset.getOutputFactory());\n\n this.featureMap = new MutableFeatureMap();\n this.outputInfo = dataset.getOutputInfo().generateMutableOutputInfo();\n for (SequenceExample<T> ex : dataset) {\n add(new SequenceExample<>(ex));\n }\n }", "title": "" }, { "docid": "add1d8f05cb76089102f4b8f973367c8", "score": "0.55790854", "text": "public Dataset createDataset(Dataset dataset) throws CKANException {\n\t\tGson gson = new Gson();\n\t\tString data = gson.toJson(dataset);\n\t\tSystem.out.println(data);\n\t\tString returned_json = this._connection.Post(\"/api/action/package_create\", data);\n\t\tSystem.out.println(returned_json);\n\t\tDataset.Response r = LoadClass(Dataset.Response.class, returned_json);\n\t\tif (!r.success) {\n\t\t\t// This will always throw an exception\n\t\t\tHandleError(returned_json, \"createDataset\");\n\t\t}\n\t\treturn r.result;\n\t}", "title": "" }, { "docid": "f989a61bcef0f23b2caea54b9340a017", "score": "0.55787396", "text": "public AbstractData createInstance(int index)\n {\n\tswitch (index) {\n\t case 0:\n\t\treturn TUDiagnostic.broken;\n\t case 1:\n\t\treturn TUDiagnostic.broken;\n\t case 2:\n\t\treturn TUDiagnostic.broken;\n\t case 3:\n\t\treturn TUDiagnostic.broken;\n\t case 4:\n\t\treturn TUDiagnostic.broken;\n\t case 5:\n\t\treturn TUDiagnostic.broken;\n\t case 6:\n\t\treturn TUDiagnostic.broken;\n\t case 7:\n\t\treturn TUDiagnostic.broken;\n\t case 8:\n\t\treturn TUDiagnostic.broken;\n\t case 9:\n\t\treturn TUDiagnostic.broken;\n\t case 10:\n\t\treturn TUDiagnostic.broken;\n\t case 11:\n\t\treturn TUDiagnostic.broken;\n\t case 12:\n\t\treturn TUDiagnostic.broken;\n\t case 13:\n\t\treturn TUDiagnostic.broken;\n\t case 14:\n\t\treturn new TroubleCodes();\n\t case 15:\n\t\treturn new INTEGER();\n\t default:\n\t\tthrow new InternalError(\"AbstractCollection.createInstance()\");\n\t}\n\t\n }", "title": "" }, { "docid": "07b475ef6ae37781618c0624886c1b34", "score": "0.5577754", "text": "public newsCardAdapter(ArrayList<newsStoryModel> myDataset) {\n mDataset = myDataset;\n }", "title": "" }, { "docid": "fea20f7a31909fdb0dd2a0fc101054b9", "score": "0.5574042", "text": "public EntityData() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "37d1f16c6446a95676f052ad198e4055", "score": "0.55683666", "text": "public TableData(){}", "title": "" }, { "docid": "412e5b9ea550db487813aacb8747efff", "score": "0.55675745", "text": "public DataHolder(int dim) {\n\t\tPoints = new ArrayList<DataPoint>();\n\t\tDim = dim;\n\t\trelation = \"DataHolder\";\n\t\tfirst=true;\n\t\tnames = new String[Dim];\n\t\tfor (int j = 0; j < Dim; j++) \n\t\t\tnames[j]=Integer.toString(j+1);\n\t\t\n\t}", "title": "" }, { "docid": "c00b71194543490ddc825b6edcf23923", "score": "0.55548877", "text": "public MyAdapter(List<String> myDataset) {\n values = myDataset;\n }", "title": "" }, { "docid": "3fc5ed41f8e1cf36c762026ca02809db", "score": "0.5541555", "text": "public Cave() {\n //invokes the dimensional constructor with the argument 4\n this(4);\n }", "title": "" }, { "docid": "d3164bf88a0a5e1015e474b73f42f1cc", "score": "0.5534818", "text": "static RetrievedDataSet getDataSet(){\n RetrievedDataSet dataSet = new RetrievedDataSet();\n Triples triples1 = new RestrictionTriples(\"boneOrgan\", \n \"<http://purl.obolibrary.org/obo/fma#systemic_part_of>\", \"class\", 1);\n Triples triples2 = new RestrictionTriples(\"uri\",\n \"<http://purl.obolibrary.org/obo/fma#constitutional_part_of>\", \"boneOrgan\", 2);\n \n LabelTriple triple2 = new LabelTriple();\n \n List<Triple> unionTriples = new ArrayList<Triple>();\n unionTriples.add(new Triple(\"uri\", \"rdfs:subClassOf\", \"uri@\"));\n unionTriples.add(new Triple(\"uri\", \"rdfs:label\", \"label\"));\n\n dataSet.unionTripes.add(new UnionTriples(unionTriples));\n \n dataSet.triples.add(triple2);\n \n dataSet.inputVars.add(new String(\"class\"));\n dataSet.multiTriples.add(triples1);\n dataSet.multiTriples.add(triples2);\n \n dataSet.selectUris.add(new String(\"uri\"));\n dataSet.selectLiterals.add(new String(\"label\"));\n \n return dataSet;\n }", "title": "" }, { "docid": "9ccf9f791801d39cb9218e4074e2a53e", "score": "0.55332565", "text": "public StringData() {\n\n }", "title": "" }, { "docid": "ca6610b8068108c982904c2f931682bd", "score": "0.55258566", "text": "final public CategoryDataset createDataset(Map map) { \t\n \n\t\t//creates the dataset...\n\t\tfinal DefaultCategoryDataset dataset = new DefaultCategoryDataset();\n\t\t\n\t\tSet set = map.keySet(); \t\n\t\tIterator iterator = set.iterator(); \t\n\t\twhile(iterator.hasNext()){\n\t\t\t\n\t\t\tPair element = (Pair)iterator.next();\n\t\t\tDouble value = (Double)map.get(element);\n\t\t\t \t\t\n\t\t\tdataset.addValue(value.doubleValue(), element.getFirst(), element.getSecond());\n\t\t\t \t\t\n\t\t}\n\t\t\n\t\treturn dataset; \n\t\n\t}", "title": "" }, { "docid": "b626d55ddc3957e18066d41ed82420fe", "score": "0.55207473", "text": "private CoverageDataset(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "1d1b73124bb00c312e37ef04c0783d74", "score": "0.5517234", "text": "public StringDataset(final String[] data, int... shape) {\n \t\tsuper(data, shape);\n \t}", "title": "" }, { "docid": "3c758704a62f163286c5dc26fae677e5", "score": "0.55126697", "text": "public Dataset createDataset(Dataset ds) throws DatasetException, IOException\n\t{\n\t\tds.validateDataset();\n\t\tif (ds.getOwnerOrganization() == null)\n\t\t{\n\t\t\tthrow new DatasetException(\"In order to create dataset, ownerOrganization must be set\");\n\t\t}\n\t\t\n\t\tNetworkRequest nr;\n\t\tDataset returnedDataset = new Dataset();\n\t\t\n\t\ttry{\n\t\t\tnr = new NetworkRequest();\n\t\t}\n\t\tcatch(ParseException e)\n\t\t{\n\t\t\tthrow (new DatasetException(\"Problem with bureau_reference_data.json: \" + e.toString()));\n\t\t}\n\t\tString newDatasetJSONString = \"\";\n\t\tnewDatasetJSONString = nr.createDataset(ds.toCKAN_JSON());\n\t\tJSONObject datasetObject = new JSONObject();\n\t\ttry{\n\t\t\tdatasetObject = Utils.loadJsonObjectFromString(newDatasetJSONString);\n\t\t}\n\t\tcatch(ParseException e)\n\t\t{\n\t\t\tthrow (new DatasetException(e.toString()));\n\t\t}\n\t\treturnedDataset.loadDatasetFromCKAN_JSON(datasetObject);\n\t\treturn returnedDataset;\n\t}", "title": "" }, { "docid": "7fff2ebf4c0972548b5ad8261e2d596f", "score": "0.5511337", "text": "private DataSegmentFactory() {\n\n }", "title": "" }, { "docid": "69ed654bbdf9c562d16eecfc70ea2299", "score": "0.5510471", "text": "public CardData(String cardType) {\r\n this(cardType, \"\", \"\");\r\n }", "title": "" }, { "docid": "2adbe02ce497b62bdf951166c65b2476", "score": "0.55097985", "text": "public ExpressionData() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "558ccfbc6fc8cf46d484ec9f1d969f5b", "score": "0.55085874", "text": "public CarCategoryStatistic() {\n }", "title": "" }, { "docid": "3e2a76ead9058865ff7a11863787ce51", "score": "0.5508245", "text": "public static DefaultDataFactory getFactory(String choice) {\n\t\tif (choice.equals(DATAFILEFACTORY)) {\n\t\t\treturn new DataFileFactory();\n\t\t}else if (choice.equals(DATABYTEARRAYFACTORY)) {\n\t\t\treturn new DataByteArrayFactory(); \n\t\t}else if (choice.equals(P7SDATAFILEFACTORY)) {\n\t\t\treturn new P7SDataFileFactory(); \n\t\t}else if (choice.equals(P7SDATABYTEARRAYFACTORY)) {\n\t\t\treturn new P7SDataByteArrayFactory(); \n\t\t}\n\t\t\tthrow new IllegalArgumentException(RB.getString(\"factoryerror0\")\n\t\t\t\t\t+ \" : \" + choice);\n\t}", "title": "" }, { "docid": "46ec13cde5fd169800719601d11b0b40", "score": "0.55044824", "text": "thisConstructor (){\n\t\t\n\t\tthis(\"Hello\");\t\t// calling parameterized constructor\t\n\t}", "title": "" }, { "docid": "9829bf30e4f19491515ef589a97c5f28", "score": "0.5500782", "text": "private XYDataset createDataset(double[] x, double[] y, double[] z) {\n \n final XYSeries series1 = new XYSeries(\"Normal Training\");\n final XYSeries series2 = new XYSeries(\"Generalisation\");\n\t\n if (x == null && y != null) {\n \tfor (int i=0; i<y.length; i++) series1.add(i, y[i]);\n } else if (x != null && y == null) {\n \tfor (int i=0; i<x.length; i++) series1.add(x[i], i);\n } else if (x != null && y != null) {\n \tfor (int i=0; i<x.length; i++) series1.add(x[i], y[i]);\n }\n \n if (x == null && z != null) {\n \tfor (int i=0; i<z.length; i++) series2.add(i, z[i]);\n } else if (x != null && z == null) {\n \tfor (int i=0; i<x.length; i++) series2.add(x[i], i);\n } else if (x != null && z != null) {\n \tfor (int i=0; i<x.length; i++) series2.add(x[i], z[i]);\n }\n \n final XYSeriesCollection dataset = new XYSeriesCollection();\n dataset.addSeries(series1);\n dataset.addSeries(series2);\n \n return dataset;\n \n }", "title": "" }, { "docid": "113ac87a00acf1c8922b0faed8ea3f3a", "score": "0.54917395", "text": "public MyAdapter(List<UmmoQ> myDataset) {\n mDataset = myDataset;\n }", "title": "" }, { "docid": "e3fa980b53c5ddbf6f448725041a3e60", "score": "0.5487366", "text": "public abstract Object construct();", "title": "" }, { "docid": "f3e5ef973112bd60ae5c537a3de4f307", "score": "0.54861295", "text": "public abstract AthletesReader newInstance(String parameter);", "title": "" }, { "docid": "09288af43a66168b80fcc792e9a6079c", "score": "0.5476475", "text": "public interface Dataset {\n /**\n * Return this dataset as a Jena model\n * @return The Jena Model (if available)\n */\n //Option<Model> asModel();\n /**\n * Return this dataset as a SPARQL endpoint\n * @return The endpoint URL (if available)\n */\n Option<URL> asEndpoint();\n\n /**\n * Return the location of this dataset or null if not known\n */\n @Nullable URL getLocation();\n\n public ResIterator listSubjects();\n\n public Property createProperty(String uri);\n public Resource createResource(String uri);\n public Literal createLiteral(String value);\n\n public ResIterator listSubjectsWithProperty(Property createProperty);\n public ResIterator listSubjectsWithProperty(Property createProperty, RDFNode object);\n\n public NodeIterator listObjectsOfProperty(Resource r, Property createProperty);\n\n public StmtIterator listStatements(Resource source, Property prop, RDFNode rdfNode);\n\n public StmtIterator listStatements();\n \n public QueryExecution createQuery(Query query);\n\n public String id();\n\n}", "title": "" }, { "docid": "dcf4affd1ca95ee83502debad39c8b06", "score": "0.5475608", "text": "public InputDataProvider(String fileName) {\r\n //init data\r\n _data = null;\r\n try {\r\n loadData(fileName);\r\n }\r\n catch(Exception ex){}\r\n }", "title": "" }, { "docid": "ee10c24f0787f24f8fa2c77bb2e469a4", "score": "0.5459552", "text": "@Override\n public Blob create(String[] data) {\n String name = data[1];\n long health = Integer.parseInt(data[2]);\n long damage = Long.parseLong(data[3]);\n String behaviour = data[4];\n String typeOfAttack = data[5];\n\n AbstractBehaviour behaviour1 = null;\n switch (behaviour) {\n case \"Inflated\":\n\n break;\n\n case \"Aggressive\":\n behaviour1 = new Aggressive();\n break;\n }\n\n// Blob blob = new Blob(name, health, );\n\n return null;\n }", "title": "" }, { "docid": "e517e5283d01d1eab4c9146061d9065a", "score": "0.54545814", "text": "private XYDataset createDataset() {\n final XYSeries series1 = new XYSeries(\"First\");\n series1.add(1.0, 1.0);\n series1.add(2.0, 4.0);\n series1.add(3.0, 3.0);\n series1.add(4.0, 5.0);\n series1.add(5.0, 5.0);\n series1.add(6.0, 7.0);\n series1.add(7.0, 7.0);\n series1.add(8.0, 8.0);\n\n final XYSeries series2 = new XYSeries(\"Second\");\n series2.add(1.0, 5.0);\n series2.add(2.0, 7.0);\n series2.add(3.0, 6.0);\n series2.add(4.0, 8.0);\n series2.add(5.0, 4.0);\n series2.add(6.0, 4.0);\n series2.add(7.0, 2.0);\n series2.add(8.0, 1.0);\n\n final XYSeries series3 = new XYSeries(\"Third\");\n series3.add(3.0, 4.0);\n series3.add(4.0, 3.0);\n series3.add(5.0, 2.0);\n series3.add(6.0, 3.0);\n series3.add(7.0, 6.0);\n series3.add(8.0, 3.0);\n series3.add(9.0, 4.0);\n series3.add(10.0, 3.0);\n\n final XYSeriesCollection dataset = new XYSeriesCollection();\n dataset.addSeries(series1);\n dataset.addSeries(series2);\n dataset.addSeries(series3);\n\n return dataset;\n\n }", "title": "" }, { "docid": "3e79675c5d89834eecd04b8907c7902c", "score": "0.5449479", "text": "private DataStatistics() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "23d4f428e4bd3512f9205504d3aa27c2", "score": "0.54482085", "text": "public Data (int dia,int mes, int any) {\r\n\t\tthis.dia=dia;\r\n\t\tthis.mes=mes;\r\n\t\tthis.any=any;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "14d4d5764d80a34cb1d67c1c6d00e6fb", "score": "0.5446939", "text": "public DataSetMember()\n\t{\n\t\tsetDefaults();\n\t}", "title": "" }, { "docid": "b1b984d8206f36327ff368820a5b1be5", "score": "0.5443986", "text": "public MovieListAdapter(String[] myDataset) {\n mDataset = myDataset;\n }", "title": "" }, { "docid": "2626e894be681b4b2f6053324fc62c4c", "score": "0.5443015", "text": "protected void initDataType(){}", "title": "" }, { "docid": "d76b324717932eda804a02754ad1ab68", "score": "0.5440246", "text": "public interface CrawlableDataset {\n /**\n * Return the configuration Object (can be null).\n * \n * @return the configuration Object (can be null).\n */\n public Object getConfigObject();\n\n /**\n * Set the configuration Object.\n * \n * @param config the config object.\n */\n // public void setConfigObject(Object config);\n\n /**\n * Returns the dataset path.\n * \n * @return the dataset path.\n */\n public String getPath();\n\n /**\n * Returns the dataset name, i.e., the last part of the dataset path.\n * \n * @return the dataset name, i.e., the last part of the dataset path.\n */\n public String getName();\n\n /**\n * Returns the parent CrawlableDataset or null if this dataset has no parent.\n * \n * @return the parent CrawlableDataset or null if this dataset has no parent.\n */\n public CrawlableDataset getParentDataset();\n\n /**\n * Return true if the dataset represented by this CrawlableDataset actually\n * exists, null if it does not or an I/O error occurs.\n *\n * @return true if the dataset represented by this CrawlableDataset actually exists.\n */\n public boolean exists();\n\n /**\n * Return true if the dataset is a collection dataset.\n * \n * @return true if the dataset is a collection dataset.\n */\n public boolean isCollection();\n\n /**\n * Return the requested descendant of this dataset.\n *\n * @param relativePath the path, relative to this dataset, of the requested dataset.\n * @return the requested descendant of this dataset.\n * @throws IllegalArgumentException if the relative path is not relative (e.g., starts with a slash (\"/\")).\n * @throws IllegalStateException if this dataset is not a collection, the isCollection() method should be used to\n * check.\n */\n public CrawlableDataset getDescendant(String relativePath);\n\n /**\n * Returns the list of CrawlableDatasets contained in this collection dataset.\n * The returned list will be empty if this collection dataset does not contain\n * any children datasets. If this dataset is not a collection dataset, this\n * method returns null.\n *\n * @return Returns a list of the CrawlableDatasets contained in this collection dataset.\n * The llist will be empty if no datasets are contained in this collection dataset.\n * @throws IOException if an I/O error occurs while accessing the children datasets.\n * @throws IllegalStateException if this dataset is not a collection, the isCollection() method should be used to\n * check.\n */\n public List<CrawlableDataset> listDatasets() throws IOException;\n\n /**\n * Returns the list of CrawlableDatasets contained in this collection dataset\n * that satisfy the given filter. The returned list will be empty if this\n * collection dataset does not contain any children datasets that satisfy the\n * given filter.\n *\n * @param filter a CrawlableDataset filter (if null, accept all datasets).\n * @return Returns a list of the CrawlableDatasets contained in this collection dataset\n * that satisfy the given filter. The list will be empty if no datasets are\n * contained in this collection dataset.\n * @throws IOException if an I/O error occurs while accessing the children datasets.\n * @throws IllegalStateException if this dataset is not a collection, the isCollection() method should be used to\n * check.\n */\n public List<CrawlableDataset> listDatasets(CrawlableDatasetFilter filter) throws IOException;\n\n /**\n * Returns the size in bytes of the dataset, -1 if unknown.\n * \n * @return the size in bytes of the dataset, -1 if unknown.\n */\n public long length();\n\n /**\n * Returns the date the dataset was last modified, null if unknown.\n * \n * @return the date the dataset was last modified, null if unknown.\n */\n public Date lastModified(); // or long milliseconds?\n}", "title": "" }, { "docid": "cffff688376afcdfb28f1408622deb3a", "score": "0.54357713", "text": "@Test\npublic void testDefaultDataSeriesConfigurationWithConstructor()\n{\n DataSeriesConfiguration config = new DataSeriesConfiguration();\n assertNotNull( config );\n assertEquals( -1, config.getAxisID() );\n assertEquals( -1, config.getColumnID() );\n assertEquals( Color.BLACK, config.getColour() );\n assertEquals( DataType.UNKNOWN, config.getType() );\n}", "title": "" }, { "docid": "0bf1d7b7dcdfff34de9022a38c1c5cfb", "score": "0.5433129", "text": "protected Criterion(String condition, Object value)\r\n/* 894: */ {\r\n/* 895:764 */ this(condition, value, null);\r\n/* 896: */ }", "title": "" }, { "docid": "ac0dbf26b7e77c86c5958bb1b038761e", "score": "0.5432947", "text": "@Override\n public Initialize_Data CreateInitializeData(){\n return new Initialize_Data1();\n }", "title": "" }, { "docid": "e98926bf7e77dcdca4d5a12ddbdcdeb8", "score": "0.5431189", "text": "public UserAdapter(ArrayList<Card> myDataset) {\n mDataset = myDataset;\n }", "title": "" } ]
263dcb9838302d75cdd3db372cfbdb5b
Inflate the layout for this fragment
[ { "docid": "ef0a3a7f0c0e7da485e77db9f43b5b7f", "score": "0.0", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_album, container, false);\n ButterKnife.bind(this, view);\n\n mCollectionId = getActivity().getIntent().getStringExtra(COLLECTION_ID);\n postId = getActivity().getIntent().getStringExtra(POST_ID);\n\n itemOffsetDecoration = new ItemOffsetDecoration(getContext(), R.dimen.item_off_set);\n loadAlbumTask = new LoadAlbum();\n loadAlbumTask.execute();\n albumRecyclerView.addItemDecoration(itemOffsetDecoration);\n\n return view;\n }", "title": "" } ]
[ { "docid": "5db754451b89950dcc8f0d4244c4b6e8", "score": "0.69515103", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.fragment_feed_recycle, container, false);\n\n //set toolbar to be overwrite by this fragment toolbar\n setHasOptionsMenu(true);\n\n frameLayout = (FrameLayout) rootView.findViewById(R.id.main_view);\n reloadLayout = (LinearLayout) rootView.findViewById(R.id.reload_view);\n loadingCircle = (ProgressBar) rootView.findViewById(R.id.loading_circle);\n// imageViewLayout = (FrameLayout) rootView.findViewById(R.id.image_viewer);\n initialize();\n return rootView;\n }", "title": "" }, { "docid": "b189575ebc5afb3f2cbb2a06da132a33", "score": "0.6811969", "text": "@Override\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\n\t\t\tBundle savedInstanceState) {\n\t\tsuper.onCreateView(inflater, container, savedInstanceState);\n\t\t\n\t\tmLayout = inflater.inflate(R.layout.fragment_soaping, null);\n\t\t\n\t\treturn mLayout;\n\t}", "title": "" }, { "docid": "c46fadafd818bc21284e043ba5faf4c0", "score": "0.6782506", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n v=inflater.inflate(R.layout.fragment_alarm_added_to_friend, container, false);\n return v;\n }", "title": "" }, { "docid": "4a90ea792b7b5e05ba018e1e66529b76", "score": "0.6762062", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n setLayout(R.layout.fragment_feed);\n return super.onCreateView(inflater, container, savedInstanceState);\n }", "title": "" }, { "docid": "f13ccc76b09776abc10867527993099d", "score": "0.6735661", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view= inflater.inflate(R.layout.fragment_home, container, false);\n rec_topsales=view.findViewById(R.id.rec_topsales);\n rec_newarrivals=view.findViewById(R.id.rec_newarrivals);\n rec_Recommendations=view.findViewById(R.id.rec_Recommendations);\n initImageBitmaps();\n\n return view;\n }", "title": "" }, { "docid": "138366b40a6df46509056318ea79360c", "score": "0.6725523", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {\n return inflater.inflate(R.layout.audio_story_fragment, parent, false);\n }", "title": "" }, { "docid": "60c2cc78e29bb8f8e84aa09fe02c67ed", "score": "0.6705756", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n layout = inflater.inflate(R.layout.fragment_book_details, container, false);\n\n // DisplayBook(Book);\n\n author = layout.findViewById(R.id.author);\n title = layout.findViewById(R.id.title);\n\n return layout;\n }", "title": "" }, { "docid": "88f86083b1beca672dd371659a69a36a", "score": "0.67007977", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n\n View v = inflater.inflate(R.layout.fragment_morning_ask, container, false);\n\n initWidgets(v);\n setupListeners();\n\n return v;\n }", "title": "" }, { "docid": "af5a512a126a4fec5bc0dcba302f5866", "score": "0.6698821", "text": "@Override\r\n\tprotected void onFinishInflate() {\n\t\tsuper.onFinishInflate();\r\n\t\tinitView();\r\n\t\t\r\n\t}", "title": "" }, { "docid": "325b5dade98295efade8c76ec6d9822c", "score": "0.6690892", "text": "@Override\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\n\t\t\tBundle savedInstanceState) {\n\t\tview = inflater.inflate(R.layout.fragment_roomlight_2, null);\n\t\ttry{\n\t\t\trequestInterface = new RequestInterface(this);\n\t\t\tinit_view();\n\t\t\tinit_seekBar();\n\t\t\tgetGroup();\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\treturn view;\n\t}", "title": "" }, { "docid": "879c25a6ee37971ee6b367f708e51dbc", "score": "0.66806746", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.friends_fragment, container, false);\n }", "title": "" }, { "docid": "f5959e7a0ee4abe7e410ae8e5b46f3dc", "score": "0.6674615", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_feed, container, false);\n }", "title": "" }, { "docid": "69cb7b892b033ed203733c97a44c9365", "score": "0.66694945", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n mInflate = inflater.inflate(R.layout.fragment_mine_everything, null);\n findID();\n initUI();\n setListener();\n return mInflate;\n }", "title": "" }, { "docid": "42b09c6ea032fe122be577dcadf55d6f", "score": "0.66650915", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_imagetransfer_formatselector_page, container, false);\n }", "title": "" }, { "docid": "c2b272c0bf38fe1bb4247a0ecd07813c", "score": "0.6659688", "text": "@Override \r\n\t public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n\r\n\t return inflater.inflate( R.layout.profil_frag, container, false); \r\n\r\n\r\n\t }", "title": "" }, { "docid": "95891ba1d008c22894f9bcc3e94733a3", "score": "0.66589415", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_upload_details, container, false);\n }", "title": "" }, { "docid": "dac842c231b1eb9a90aedfe9c0359fbc", "score": "0.6652976", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_friend_personal_glycemia_four_day, container, false);\n initViews();\n initData();\n return view;\n }", "title": "" }, { "docid": "fd1b8c91df33fb219d4f2f1ea81d0990", "score": "0.66388357", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_friend, container, false);\n }", "title": "" }, { "docid": "9b9a85e31799c4e2451c17af73e56f82", "score": "0.6634753", "text": "@Override\r\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n Bundle savedInstanceState) {\n root = inflater.inflate(R.layout.fragment1, container, false);\r\n\r\n queue = Volley.newRequestQueue(getContext());\r\n //INITIALIZATION WITH UI\r\n initUI();\r\n\r\n return root;\r\n }", "title": "" }, { "docid": "a3959e166d39061457f227149bde2bd3", "score": "0.66270655", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v = inflater.inflate(R.layout.fragment_chat_bottom_sheet, container, false);\n return v;\n }", "title": "" }, { "docid": "167df6da24e35c90b965cd186621f79b", "score": "0.6623362", "text": "@Override\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\n\t\t\tBundle savedInstanceState) {\n\t\tView view = inflater.inflate(R.layout.book_detail, container, false);\n\n\t\ttitle = (TextView) view.findViewById(R.id.title);\n\n\t\treasonforvisit = (Spinner) view.findViewById(R.id.reasonforvisit);\n\n\t\tprogress = (ProgressBar) view.findViewById(R.id.progress);\n\t\tdoctor_image = (ImageView) view.findViewById(R.id.doctor_image);\n\t\tdoctor_name = (TextView) view.findViewById(R.id.doctor_name);\n\t\tdoctor_specialty = (TextView) view.findViewById(R.id.doctor_specialty);\n\t\tplace_address_line1 = (TextView) view.findViewById(R.id.place_address_line1);\n\t\tplace_name = (TextView) view.findViewById(R.id.place_name);\n\n\t\tdate = (TextView) view.findViewById(R.id.date);\n\t\ttime = (TextView) view.findViewById(R.id.time);\n\n\t\tmyself_radio = (RadioButton) view.findViewById(R.id.radio_myself);\n\t\tothers_radio = (RadioButton) view.findViewById(R.id.radio_others);\n\t\tpname = (EditText) view.findViewById(R.id.pname);\n\t\tcontact_no = (EditText) view.findViewById(R.id.contactno);\n\t\temail = (EditText) view.findViewById(R.id.email);\n\t\tfirst_time_yes = (RadioButton) view.findViewById(R.id.radio_visityes);\n\t\tfirst_time_no = (RadioButton) view.findViewById(R.id.radio_visitno);\n\n\t\tnext_btn = (Button) view.findViewById(R.id.next_btn);\n\n\t\treturn view;\n\t}", "title": "" }, { "docid": "2153d670a7a22ec5223e58de80c6522b", "score": "0.6615423", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n rootView = inflater.inflate(R.layout.fragment_home, container, false);\n\n textMessage = (TextView) rootView.findViewById(R.id.textMessage);\n textStation = (TextView) rootView.findViewById(R.id.textStation);\n textPrice = (TextView) rootView.findViewById(R.id.textPrice);\n imgTrans = (ImageView) rootView.findViewById(R.id.imgTrans);\n\n setUpDefaultInfo(null);\n return rootView;\n }", "title": "" }, { "docid": "3088c0e88afb368f2cc02b3969b93eb2", "score": "0.66082466", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_zikir12, container, false);\n }", "title": "" }, { "docid": "7c1ce39f2e1cb5f8679a2a4a007df51f", "score": "0.6607817", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_plan, container, false);\n planList = Constants.getPlan();\n initUI();\n return view;\n }", "title": "" }, { "docid": "4f298daa658e7b62629073f47862f2a8", "score": "0.65920645", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view =inflater.inflate(R.layout.fragment_my_feed, container, false);\n return view;\n }", "title": "" }, { "docid": "48d9e46a842a8f80fff9ede5b5c28972", "score": "0.6591153", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_fan_list, container, false);\n\n initFragment(view);\n setLayout(view);\n\n return view;\n }", "title": "" }, { "docid": "9106c475bfd592af05495115a7f9f61c", "score": "0.65908426", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n v = inflater.inflate(R.layout.fragment_home_fragemt, container, false);\n\n init();\n\n getServerData();\n\n return v;\n }", "title": "" }, { "docid": "3c2dca1264fece86efe88b10770819db", "score": "0.65800214", "text": "@Override\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\n\t\t\tBundle savedInstanceState) {\n\t\tcontext = getActivity();\n\t\tEventBus.getDefault().register(this);\n\t\tView view = LayoutInflater.from(getActivity()).inflate(\n\t\t\t\tR.layout.fragment_me, null);\n\t\theadIv = (RoundedImageView) view.findViewById(R.id.iv_icon_new);\n\t\tnameTv = (TextView) view.findViewById(R.id.tv_name);\n\t\tnameEdit = (TextView) view.findViewById(R.id.tv_modify);\n\n\t\tallOrderTv = (LinearLayout) view.findViewById(R.id.ll_all_order);\n\t\torder1Layout = (RelativeLayout) view.findViewById(R.id.ll_order1);\n\t\torder2Layout = (LinearLayout) view.findViewById(R.id.ll_order2);\n\t\torder3Layout = (LinearLayout) view.findViewById(R.id.ll_order3);\n\t\torder4Layout = (LinearLayout) view.findViewById(R.id.ll_order4);\n\n\t\tmoney1Layout = (LinearLayout) view.findViewById(R.id.ll_money1);\n\t\tmoney2Layout = (LinearLayout) view.findViewById(R.id.ll_money2);\n\t\tmoney3Layout = (LinearLayout) view.findViewById(R.id.ll_money3);\n\t\tmoney4Layout = (LinearLayout) view.findViewById(R.id.ll_money4);\n\n\t\tsuggestLayout = (LinearLayout) view.findViewById(R.id.ll_suggest);\n\t\tshareLayout = (LinearLayout) view.findViewById(R.id.ll_share);\n\t\treleaseLayout = (LinearLayout) view.findViewById(R.id.ll_release);\n\t\tcooponLayout = (LinearLayout) view.findViewById(R.id.ll_coopon);\n\n\t\tloginTv = (TextView) view.findViewById(R.id.tv_login);\n\n\t\torderCountTv = (TextView) view.findViewById(R.id.tv_order_count);\n\t\torder1Tv = (TextView) view.findViewById(R.id.tv_order1);\n\t\torder2Tv = (TextView) view.findViewById(R.id.tv_order2);\n\t\torder3Tv = (TextView) view.findViewById(R.id.tv_order3);\n\t\torder4Tv = (TextView) view.findViewById(R.id.tv_order4);\n\n\t\tmoney1Tv = (TextView) view.findViewById(R.id.tv_money1);\n\t\tmoney2Tv = (TextView) view.findViewById(R.id.tv_money2);\n\t\tmoney3Tv = (TextView) view.findViewById(R.id.tv_money3);\n\t\tmoney4Tv = (TextView) view.findViewById(R.id.tv_money4);\n\n\t\tmerchantLayout = (LinearLayout) view.findViewById(R.id.ll_merchant);\n\t\tgetMerchant01Layout = (LinearLayout) view.findViewById(R.id.ll_merchant_01);\n\t\tgetMerchant02Layout = (LinearLayout) view.findViewById(R.id.ll_merchant_02);\n\t\tgetMerchant03Layout = (LinearLayout) view.findViewById(R.id.ll_merchant_03);\n\t\tgetMerchant04Layout = (LinearLayout) view.findViewById(R.id.ll_merchant_04);\n\t\tdiscountCouponTv = (TextView) view.findViewById(R.id.tv_discount_coupon);\n\n\t\tgetMerchant01Layout.setOnClickListener(this);\n\t\tgetMerchant02Layout.setOnClickListener(this);\n\t\tgetMerchant03Layout.setOnClickListener(this);\n\t\tgetMerchant04Layout.setOnClickListener(this);\n\t\tnameEdit.setOnClickListener(this);\n\t\tallOrderTv.setOnClickListener(this);\n\t\torder1Layout.setOnClickListener(this);\n\t\torder2Layout.setOnClickListener(this);\n\t\torder3Layout.setOnClickListener(this);\n\t\torder4Layout.setOnClickListener(this);\n\t\tmoney1Layout.setOnClickListener(this);\n\t\tmoney2Layout.setOnClickListener(this);\n\t\tmoney3Layout.setOnClickListener(this);\n\t\tmoney4Layout.setOnClickListener(this);\n\t\tsuggestLayout.setOnClickListener(this);\n\t\treleaseLayout.setOnClickListener(this);\n\t\tcooponLayout.setOnClickListener(this);\n\t\tshareLayout.setOnClickListener(this);\n\t\tloginTv.setOnClickListener(this);\n\t\tdiscountCouponTv.setOnClickListener(this);\n\t\tif (SharedPrefUtil.getInstance().isLogin()) {\n\t\t\treqData(1);\n\n\t\t} else {\n\t\t\tDialogUtils.showToast(context, \"您尚未登录\");\n\t\t}\n\t\tif (SharedPrefUtil.getInstance().isLogin()) {\n\t\t\tloginTv.setText(\"退出登录\");\n\t\t} else {\n\t\t\tloginTv.setText(\"登录\");\n\n\t\t}\n\t\t// 定义广播\n\t\tString[] filters = { Const.ACTION_BROADCAST_LOGIN_SUCC };\n\t\tregisterReceiver(filters);\n\t\treturn view;\n\t}", "title": "" }, { "docid": "9fc1569f40aee1814af10da1f44a1c64", "score": "0.65763324", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n rootView = inflater.inflate(R.layout.fragment_see_switch_schedule_request, container, false);\n init();\n return rootView;\n }", "title": "" }, { "docid": "f63c59cb44edf31d434a0f9ab08e75a2", "score": "0.6575068", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_all_book, container, false);\n }", "title": "" }, { "docid": "05d6bfcc98759d51c21edf192be97d98", "score": "0.65710205", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n rootView = inflater.inflate(R.layout.fragment_monitor, null);\n\n LinkUIById();\n SetFunction();\n Init();\n\n return rootView;\n }", "title": "" }, { "docid": "13a92dc59fdb4b006629c3fcdee1fb2a", "score": "0.6566098", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_blok4_e, container, false);\n\n init();\n\n return view;\n }", "title": "" }, { "docid": "f9601d1b2586c21cd058744ace5ac492", "score": "0.6563557", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v ;\n v = inflater.inflate(R.layout.fragment_home, container, false);\n setupPieChartAllAccounts(v);\n setupBarChartTransactions(v);\n return v;\n }", "title": "" }, { "docid": "bdbfd07049f564c36e7bfc64ae9446ba", "score": "0.65615535", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_friends, container, false);\n }", "title": "" }, { "docid": "aa5bf28c31ae349ebbd72f7cb5ec5b95", "score": "0.65553576", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.feed, container, false);\n return view;\n }", "title": "" }, { "docid": "44eff9959facd12f87d33ad616a0caa5", "score": "0.6553244", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n return inflater.inflate(R.layout.dim_fragment_riclist, container, false);\n }", "title": "" }, { "docid": "ee30a2bec77e6031192c0290a392519f", "score": "0.6552571", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_quiz_report, container, false);\n }", "title": "" }, { "docid": "4c180dc170b3f2c0bf7b39460c630612", "score": "0.6549817", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_info_store, container, false);\n\n\n\n }", "title": "" }, { "docid": "29817230c89b92d0ac94dbdd82e2668c", "score": "0.6546129", "text": "@Nullable\n @Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n return inflater.inflate(R.layout.adapter_layout, container, false);\n }", "title": "" }, { "docid": "6d75a9aa878aa76fa0a4c785cb2a3880", "score": "0.6545824", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_jadwal_sholat, container, false);\n }", "title": "" }, { "docid": "f77d78384f65983a17502f0d38f27fb4", "score": "0.6544007", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.tab_friends, container, false);\n }", "title": "" }, { "docid": "075ec1fdfecdd60b1f1da584293c42ab", "score": "0.6542444", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n mBoardTextViewRepresentation = null;\n mStartingPlayerName = null;\n\n View rootView = inflater.inflate(R.layout.fragment_board, container, false);\n return rootView;\n }", "title": "" }, { "docid": "ae6933075f60ea3b1ea24dd2cfc8e5ea", "score": "0.65365726", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_vertical_list_type, container, false);\n fastItemAdapter = new FastItemAdapter();\n recyclerView = view.findViewById(R.id.verticalListTypeRecyclerView);\n progressBar = view.findViewById(R.id.verticalListTypeItemProgressBar);\n verticalInvisibleLayout = view.findViewById(R.id.verticalInvisibleLayout);\n mAdView = view.findViewById(R.id.adView);\n reloadBtn = view.findViewById(R.id.reloadBtn);\n topads = view.findViewById(R.id.postviewhomepage_adView);\n\n LoadPage();\n\n return view;\n }", "title": "" }, { "docid": "fbddeb656e982b4f6568aa48921e7c64", "score": "0.6530127", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n binding = DataBindingUtil.inflate(inflater, R.layout.fragment_f_a_qs, container, false);\n\n\n return binding.getRoot();\n }", "title": "" }, { "docid": "ed930c415decd68c439166ae6f65e1fc", "score": "0.6529417", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_chat, container, false);\n\n initParameters(view);\n initView(view);\n\n\n return view;\n }", "title": "" }, { "docid": "4ee219d77a82a746ca2614587105f6e7", "score": "0.65288854", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_quotation_product_info, container, false);\n initializeView(view);\n return view;\n }", "title": "" }, { "docid": "61a3a9cf491689dc12ddb6d774032c79", "score": "0.65277416", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_house_invite_roomie, container, false);\n }", "title": "" }, { "docid": "4e5367622ce14ba766e6cf63c8111ee0", "score": "0.6526348", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n if (mView == null){\n mView = inflater.inflate(R.layout.fragment_admin_main, container, false);\n\n setupClickableValues();\n setupTextOfOrg();\n\n }\n return mView;\n }", "title": "" }, { "docid": "4bd3d53c605d10de7bf294b1d606d851", "score": "0.6524793", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_alarmas, container, false);\n }", "title": "" }, { "docid": "85ab67ab34528ea552a654d69b505a5a", "score": "0.6521471", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View views = inflater.inflate(R.layout.fragment_main4, container, false);\n initView(views);\n return views;\n }", "title": "" }, { "docid": "2fa51092164f4637dbb4dd5b4ddbdcc1", "score": "0.65214205", "text": "@Override\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n\t\tView view = inflater.inflate(R.layout.regist_fragment_layout, container, false);\n\t\tinitView(view);\n\t\tinitData();\n\t\treturn view;\n\t}", "title": "" }, { "docid": "d138e5e5e3e413cbb5a97febae0b079b", "score": "0.65208817", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_plans_detail, container, false);\n }", "title": "" }, { "docid": "73313a24e57acdf1ccb56477f5114971", "score": "0.6520866", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {\n // Defines the xml file for the fragment\n return inflater.inflate(R.layout.fragment_profile, parent, false);\n }", "title": "" }, { "docid": "d253152ee3dec69ed634e66ac4f1f760", "score": "0.6520019", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n //Inflate the layout in the fragment\n return inflater.inflate(R.layout.camera_tab, container, false);\n }", "title": "" }, { "docid": "6498f8423c877d22685e8ee8c121318a", "score": "0.6517024", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_driving_hours, container, false);\n ids();\n setup();\n return view;\n }", "title": "" }, { "docid": "0b83559b943f34dcc4e550f66749aa47", "score": "0.6514143", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_parking_location_details, container, false);\n }", "title": "" }, { "docid": "1b56d45339ff356f8fcdf00112e981b8", "score": "0.6511923", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v = inflater.inflate(R.layout.fragment_request, container, false);\n ButterKnife.bind(this, v);\n showIndicator();\n loadData();\n return v;\n }", "title": "" }, { "docid": "45b1e5482e025d8c414c29338f7cf39e", "score": "0.65106255", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_guan_zhu, container, false);\n initView(view);\n return view;\n }", "title": "" }, { "docid": "539275f52ae96146ce27b764e87ea962", "score": "0.6506464", "text": "@Override\r\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n Bundle savedInstanceState) {\n View inflate = inflater.inflate(R.layout.fragment_appointcourse, container, false);\r\n initView(inflate);\r\n return inflate;\r\n }", "title": "" }, { "docid": "b7354eefd2ec2b44cd3baf52b9b88168", "score": "0.6505816", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_wifi_real_time, null);\n initData();\n initView(view);\n return view;\n }", "title": "" }, { "docid": "1281ff7e7263cbfc7afd2ad1d248683c", "score": "0.65046954", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.local_download_fragment, container, false);\n }", "title": "" }, { "docid": "1c2374b1120a0491398dae9899428178", "score": "0.6504677", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view =inflater.inflate(R.layout.fragment_explore_players, container, false);\n //variables de views\n swipeRefreshLayout = (SwipeRefreshLayout)view.findViewById(R.id.swipe_player_explore);\n\n\n InitialView();\n\n return view;\n }", "title": "" }, { "docid": "9517963b57b84d34f6ec91db8058ec5f", "score": "0.6503454", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_dynamic_collect_detail, container, false);\n view.setPadding(view.getPaddingLeft(), Divice.getStatusBarHeight(getContext()), view.getPaddingRight(), view.getPaddingBottom());\n initView(view);\n return view;\n }", "title": "" }, { "docid": "269f2ebb6af6743cf770ef03b1035b5f", "score": "0.6501447", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_pwfrag, container, false);\n\n inti(view);\n return view;\n }", "title": "" }, { "docid": "aa2404993d05730d4777c56bdac1f28e", "score": "0.65008354", "text": "@Override\n public View onCreateView(LayoutInflater inflater,\n @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {\n rootView = inflater.inflate(R.layout.fragment_settings_list, container, false);\n initSegmentsListener();\n clearAllDate();\n initUI();\n\n return rootView;\n }", "title": "" }, { "docid": "3d00bdee21f7656312253516d73c4d5c", "score": "0.650035", "text": "@Override\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\n\t\t\tBundle savedInstanceState) {\n\t\treturn inflater.inflate(R.layout.weibo_layout, null);\n\t}", "title": "" }, { "docid": "1d236c46b4d53e59d863bfbd05b5b392", "score": "0.6498169", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_beacon, container, false);\n }", "title": "" }, { "docid": "2b9dc657b5de31a19ac0e859a4a1243a", "score": "0.6496142", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)\n {\n View view = inflater.inflate(R.layout.fragment_blog, container, false);\n setuptoolbar();\n setup_data();\n setup_recyclerview(view);\n\n return view;\n }", "title": "" }, { "docid": "ab6c5d65c0c6cad3fa8b1418f6c43861", "score": "0.64960974", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_on_boarding_main, container, false);\n\n //Initialize button\n initializeFinishButton(view);\n\n //Initialize view page\n initializeViewPager(view);\n\n return view;\n }", "title": "" }, { "docid": "7aafa5774ffc9b9eeac0e616f19cda4b", "score": "0.64941275", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)\n {\n return inflater.inflate(R.layout.fragment_question, container, false);\n }", "title": "" }, { "docid": "f0a041fb8427a192e85a099960683b45", "score": "0.64930165", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.frg_report3, container, false);\n }", "title": "" }, { "docid": "a4a1b27299de6b12a840dacb101ce1db", "score": "0.6492881", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n mContext = getActivity();\n View view = inflater.inflate(R.layout.fragment_webcast, container, false);\n initView(view);\n return view;\n }", "title": "" }, { "docid": "3a6d5b4713b5f6cd39a5609f8e8b284d", "score": "0.6492047", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.fragment_teachers_listing, container, false);\n\n findViews(rootView);\n\n initLayoutReferences();\n\n return rootView;\n }", "title": "" }, { "docid": "3b3a60f0863c4d1db41140e491c5e35a", "score": "0.6491341", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_listing, container, false);\n }", "title": "" }, { "docid": "0e7e6096867f12e9a98a42111e6efbc6", "score": "0.6490712", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_bottom_sheet, container, false);\n }", "title": "" }, { "docid": "801466b041b02e676d03fd15beff1cba", "score": "0.6487309", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_progress_tag, container, false);\n }", "title": "" }, { "docid": "8a9962400460eb8771375f77db109d4f", "score": "0.6485148", "text": "@Override\n public View onCreateView(LayoutInflater _inflater, ViewGroup _container,\n Bundle _savedInstanceState) {\n return _inflater.inflate(R.layout.fragment_broadcast_list, _container, false);\n }", "title": "" }, { "docid": "8d259ef477a970e195344f181781932b", "score": "0.6484723", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_fragment_reflection_law_result, container, false);\n }", "title": "" }, { "docid": "ba833a61263dadea7f3b5fd7f6abc61f", "score": "0.6484153", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_manage_meds_select_med_sched, container, false);\n }", "title": "" }, { "docid": "5f288abc52383d2803778333312e38bd", "score": "0.6483794", "text": "@Override\n public View onCreateView (LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState)\n {\n if (mInflate == null)\n {\n mInflate = inflater.inflate(R.layout.fragment_routeplane, container, false);\n initUI();\n setListener();\n }\n return mInflate;\n }", "title": "" }, { "docid": "5a4522d69a732f7f225fee07215d34a1", "score": "0.6479767", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_day_weather, container, false);\n }", "title": "" }, { "docid": "a32408ea1ad7e83fb7341ca6361a17dd", "score": "0.64781994", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_bike_details, container, false);\n }", "title": "" }, { "docid": "de5910d9f84a01f298f59236801672c6", "score": "0.6476929", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_weather_list, container, false);\n }", "title": "" }, { "docid": "334180cd0ce598f648eb7038a0144ae6", "score": "0.6476674", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view=inflater.inflate(R.layout.fragment_booking, container, false);\n initStations();\n return view;\n\n }", "title": "" }, { "docid": "0839252de3c0106b9e13023ac0be6b62", "score": "0.64736944", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_settings_info, container, false);\n\n initViews();\n setListener();\n loadData();\n\n\n return view;\n }", "title": "" }, { "docid": "286b2dd6d5b8651fac283ba30a88c8f6", "score": "0.64716864", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n inflate = inflater.inflate(R.layout.fragment_hemo, container, false);\n bind = ButterKnife.bind(this, inflate);\n initData();\n initBanner();\n initRlv();\n\n initPagerContainer();//画廊\n return inflate;\n }", "title": "" }, { "docid": "0269441d16dfe4e9c3be414881c43d5b", "score": "0.6470039", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_event_details, container, false);\n }", "title": "" }, { "docid": "015e0a39a62a77ab1dc9499d59f0e240", "score": "0.64699304", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_sphy, container, false);\n }", "title": "" }, { "docid": "78118a0fca7a35457bb30fb3126e590d", "score": "0.6469794", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n\n mView= inflater.inflate(R.layout.fragment_friends, container, false);\n initilize(mView);\n return mView;\n }", "title": "" }, { "docid": "79049696f7af4a4285f69935b3088e94", "score": "0.6467797", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n binding=DataBindingUtil.inflate(inflater,R.layout.fragment_playlist,container,false);//inflater.inflate(R.layout.fragment_playlist, container, false);\n //View view=binding.getRoot();\n return binding.getRoot();\n }", "title": "" }, { "docid": "61570e32acde68d4da8d8a5f6b6e382e", "score": "0.6465385", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_main, parent, false);\n }", "title": "" }, { "docid": "db51ebb1797c56011e3555ba07b017f6", "score": "0.646376", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_food_detail, container, false);\n\n initView();\n initBeerInfo();\n\n setButtonListener();\n\n\n return view;\n }", "title": "" }, { "docid": "03925a4c6bf40b2dfa69cb836b034f36", "score": "0.6462785", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_approval_data, container, false);\n }", "title": "" }, { "docid": "bf669f0aa2623c03bbb3ee0a93500ee2", "score": "0.64623153", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_graph, container, false);\n }", "title": "" }, { "docid": "bd19e4b8a074aaa66b8281c24c132037", "score": "0.6461532", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_quize, container, false);\n\n findViews(view);\n setListeners();\n updateQuestion();\n\n return view;\n }", "title": "" }, { "docid": "1fedbd5e21d34241fb58ac3f87568a4b", "score": "0.64592916", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_acadamics_detail, container, false);\n init();\n return view;\n }", "title": "" }, { "docid": "ac6808224d84220fc933f9cfbbbcb64f", "score": "0.6457912", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return view=inflater.inflate(R.layout.fragment_auctions, container, false);\n }", "title": "" }, { "docid": "33aa485ef243a274a1b49dc8e346fa5f", "score": "0.6457404", "text": "@Override\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\n\t\t\tBundle savedInstanceState) {\n\t\t View rootView = inflater.inflate(R.layout.invite_friends, container, false);\n \n\t\t init(rootView);\n\t\t getPanelistId();\n\t return rootView;\n\t}", "title": "" }, { "docid": "08099d92f30355e2c4313fe16fa9452c", "score": "0.64564526", "text": "@Override\r\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_autopilot, container, false);\r\n\r\n }", "title": "" }, { "docid": "6f8df5965193d9869fe1800edf2f3b2a", "score": "0.64563936", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n // Inflate the layout for this fragment\n viewGroup = (ViewGroup) inflater.inflate( R.layout.fragment_tool_discription\n , container, false );\n// initReference();\n return viewGroup;\n\n }", "title": "" }, { "docid": "1657841a4596baedbd87985233974d49", "score": "0.6455631", "text": "@Nullable\n @Override\n public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState)\n {\n return inflater.inflate(R.layout.other_artist_fragment_layout, container, false);\n }", "title": "" } ]
9f1ca074c04acdb5f5345604f31eedca
Sets the methods related to the model evolution.
[ { "docid": "84b3027cdd233276c0c0223f1dab3687", "score": "0.0", "text": "public Builder evolution(LiborMarketModelMonteCarloEvolution evolution) {\n JodaBeanUtils.notNull(evolution, \"evolution\");\n this.evolution = evolution;\n return this;\n }", "title": "" } ]
[ { "docid": "88dc64235355e08a6f472fc90814de8d", "score": "0.628781", "text": "private void initMethods() {\r\n\t\t\tBioMightMethodView method = new BioMightMethodView();\r\n\t\t\t\r\n\t\t\tmethod = new BioMightMethodView();\r\n\t\t\tmethod.setMethodName(\"setTexture\");\r\n\t\t\tmethod.setDisplayName(\"Texture:\");\r\n\t\t\tmethod.setDataType(Constants.BIO_TEXT);\r\n\t\t\tmethod.setHtmlType(Constants.BIO_TEXT);\r\n\t\t\tmethods.add(method);\r\n\r\n\t\t}", "title": "" }, { "docid": "64b76d9f799ac4b4c357c84b8d83799d", "score": "0.59306186", "text": "public abstract void setMethod(String method);", "title": "" }, { "docid": "41eb9f3c3f305377c5e0fbd4a9b416de", "score": "0.5802847", "text": "private void generateModelMethods(ClassOrInterfaceDeclaration template) {\n template.findAll(MethodCallExpr.class)\n .forEach(t -> {\n String name = (String) trigger.getNode().getMetaData().get(Metadata.MAPPING_VARIABLE);\n name = Optional.ofNullable(name).orElseGet(() -> trigger.getModelRef());\n t.setName(t.getNameAsString().replace(\"$SetModelMethodName$\", \"set\" + StringUtils.ucFirst(name)));\n });\n if (!(trigger.getNode() instanceof StartNode)) {\n template.findAll(MethodDeclaration.class, m -> m.getName().getIdentifier().equals(\"getModelConverter\"))\n .stream().findFirst().ifPresent(template::remove);\n }\n\n if (!trigger.dataOnly()) {\n ClassOrInterfaceType dataTypeClass = parseClassOrInterfaceType(trigger.getDataType());\n template.addMethod(\"getDataResolver\", Keyword.PROTECTED).addAnnotation(Override.class)\n .setType(parseClassOrInterfaceType(Function.class.getCanonicalName()).setTypeArguments(\n NodeList.nodeList(parseClassOrInterfaceType(DataEvent.class.getCanonicalName()).setTypeArguments(NodeList.nodeList(dataTypeClass)), dataTypeClass)))\n .setBody(new BlockStmt().addStatement(new ReturnStmt(\n new MethodReferenceExpr(new NameExpr(CloudEventUtils.class.getCanonicalName()), NodeList.nodeList(), \"fromValue\"))));\n }\n }", "title": "" }, { "docid": "cae6b29a3f59612c3a8b2b0d2e016ce1", "score": "0.5762401", "text": "public void setMethod(Method method)\r\n \t{\r\n \t\tthis.method = method;\r\n \t}", "title": "" }, { "docid": "7c48edd6ae6d3bbcd9d476fcd5007127", "score": "0.5692814", "text": "Method getSetMethod();", "title": "" }, { "docid": "424a66dae7a37dc15fa48edb32fedcff", "score": "0.5646897", "text": "protected void setMethod(Method method) {\r\n this.method = method;\r\n }", "title": "" }, { "docid": "6c80a8c436b3a6c2a8cbceb837225e93", "score": "0.54472095", "text": "public void setMethod(String method) {\r\n this.method = method;\r\n }", "title": "" }, { "docid": "5552594634a6ec437abe3ee953db61fd", "score": "0.54022235", "text": "public void setMethod(String method) {\n this.method = method;\n }", "title": "" }, { "docid": "5552594634a6ec437abe3ee953db61fd", "score": "0.54022235", "text": "public void setMethod(String method) {\n this.method = method;\n }", "title": "" }, { "docid": "ef88e8610b75e4d897be7d2b874c6196", "score": "0.52774495", "text": "public void setMethod(String method) {\r\n\t\tthis.method = method;\r\n\t}", "title": "" }, { "docid": "c2d166fe15bccb2a4da95678ab4d809e", "score": "0.5271355", "text": "protected void invokeSet(SimModel model) throws RepastException {\n try {\n setMethod.invoke(model, new Object[]{val});\n } catch (IllegalAccessException e) {\n throw new RepastException(e, \"Unable to set model parameter '\" + name + \"'.\");\n } catch (IllegalArgumentException e) {\n throw new RepastException(e, \"Unable to set model parameter '\" + name + \"'.\");\n } catch (InvocationTargetException e) {\n throw new RepastException(e, \"Unable to set model parameter '\" + name + \"'.\");\n }\n }", "title": "" }, { "docid": "80f8d9d8cfe5d911b3b9b37004714a47", "score": "0.52357215", "text": "protected void initialiseMethodsList() {\n if (cmd.getPersistenceCapableSuperclass() == null) {\n methodsToAdd.add(JdoCopyKeyFieldsFromObjectId.getInstance(this));\n methodsToAdd.add(JdoCopyKeyFieldsFromObjectId2.getInstance(this));\n methodsToAdd.add(JdoCopyKeyFieldsToObjectId.getInstance(this));\n methodsToAdd.add(JdoCopyKeyFieldsToObjectId2.getInstance(this));\n methodsToAdd.add(JdoGetObjectId.getInstance(this));\n methodsToAdd.add(JdoGetVersion.getInstance(this));\n methodsToAdd.add(JdoPreSerialize.getInstance(this));\n methodsToAdd.add(JdoGetPersistenceManager.getInstance(this));\n methodsToAdd.add(JdoGetTransactionalObjectId.getInstance(this));\n methodsToAdd.add(JdoIsDeleted.getInstance(this));\n methodsToAdd.add(JdoIsDirty.getInstance(this));\n methodsToAdd.add(JdoIsNew.getInstance(this));\n methodsToAdd.add(JdoIsPersistent.getInstance(this));\n methodsToAdd.add(JdoIsTransactional.getInstance(this));\n methodsToAdd.add(JdoMakeDirty.getInstance(this));\n methodsToAdd.add(JdoNewObjectIdInstance1.getInstance(this));\n methodsToAdd.add(JdoNewObjectIdInstance2.getInstance(this));\n methodsToAdd.add(JdoProvideFields.getInstance(this));\n methodsToAdd.add(JdoReplaceFields.getInstance(this));\n methodsToAdd.add(JdoReplaceFlags.getInstance(this));\n methodsToAdd.add(JdoReplaceStateManager.getInstance(this));\n }\n if (requiresDetachable()) {\n methodsToAdd.add(JdoReplaceDetachedState.getInstance(this));\n }\n methodsToAdd.add(JdoIsDetached.getInstance(this));\n methodsToAdd.add(JdoNewInstance1.getInstance(this));\n methodsToAdd.add(JdoNewInstance2.getInstance(this));\n methodsToAdd.add(JdoReplaceField.getInstance(this));\n methodsToAdd.add(JdoProvideField.getInstance(this));\n methodsToAdd.add(JdoCopyField.getInstance(this));\n methodsToAdd.add(JdoCopyFields.getInstance(this));\n methodsToAdd.add(InitFieldNames.getInstance(this));\n methodsToAdd.add(InitFieldTypes.getInstance(this));\n methodsToAdd.add(InitFieldFlags.getInstance(this));\n methodsToAdd.add(ParentManagedFieldNum.getInstance(this));\n methodsToAdd.add(JdoGetManagedFieldCount.getInstance(this));\n methodsToAdd.add(InitPersistenceCapableSuperClass.getInstance(this));\n methodsToAdd.add(LoadClass.getInstance(this));\n methodsToAdd.add(SuperClone.getInstance(this));\n if (checkHasDefaultConstructor() != null) {\n methodsToAdd.add(DefaultConstructor.getInstance(this));\n }\n try {\n if (BCELUtils.isInstanceof(oldClass, Serializable.class) && BCELUtils.findMethod(newClass, \"writeObject\", \"(Ljava/io/ObjectOutputStream;)V\") == null) {\n methodsToAdd.add(WriteObject.getInstance(this));\n }\n } catch (ClassNotFoundException e) {\n DataNucleusEnhancer.LOGGER.error(LOCALISER.msg(\"Enhancer.ErrorEnhancingClass\", cmd.getFullClassName(), e));\n }\n }", "title": "" }, { "docid": "d019f4fffe669f317bf4f2d24652ad6b", "score": "0.51899177", "text": "protected void enhanceMethods() {\n for (int i = 0; i < methodsToAdd.size(); i++) {\n Object o = methodsToAdd.get(i);\n if (o instanceof ClassMethod) {\n ClassMethod method = (ClassMethod) o;\n method.initialise();\n method.execute();\n method.close();\n } else if (o == null) {\n DataNucleusEnhancer.LOGGER.error(LOCALISER.msg(\"Enhancer.CallbackIsNullError\"));\n } else {\n DataNucleusEnhancer.LOGGER.error(LOCALISER.msg(\"Enhancer.CallbackIsNotMethodBuilderError\", o.getClass().getName()));\n }\n }\n }", "title": "" }, { "docid": "1e14cd1570c37e386b0e1d2f100980b7", "score": "0.5164918", "text": "public void setMethod ( String method ) {\r\n\t\tgetStateHelper().put(PropertyKeys.method, method);\r\n\t\thandleAttribute(\"method\", method);\r\n\t}", "title": "" }, { "docid": "b92202cbdeb911c12a210baf21da2dbb", "score": "0.5164751", "text": "public void setActions() {\n setButtonActions();\n setSliderAction();\n }", "title": "" }, { "docid": "9ac29cc1b21fcbe971fe16468fefa125", "score": "0.51573545", "text": "public void setMethodType(MethodType method) {\n methodType = method;\n }", "title": "" }, { "docid": "823f44bc2a8a258a823ed8b0c21e0580", "score": "0.5143781", "text": "public Builder methods(Collection<String> methods) {\n this.methods = methods.stream()\n .map(String::toUpperCase)\n .collect(Collectors.toSet());\n return this;\n }", "title": "" }, { "docid": "27f218a1bbb2de3f9efd7d1466f05803", "score": "0.51361054", "text": "public void setMethod(java.lang.String method) {\n this.method = method;\n }", "title": "" }, { "docid": "7e7bab52659f925f2ca1c1eb5083bb77", "score": "0.5102084", "text": "public void touch() {\n ((com.guidewire.pl.domain.persistence.core.VersionablePublicMethods)__getDelegateManager().getImplementation(\"com.guidewire.pl.domain.persistence.core.VersionablePublicMethods\")).touch();\n }", "title": "" }, { "docid": "7e7bab52659f925f2ca1c1eb5083bb77", "score": "0.5102084", "text": "public void touch() {\n ((com.guidewire.pl.domain.persistence.core.VersionablePublicMethods)__getDelegateManager().getImplementation(\"com.guidewire.pl.domain.persistence.core.VersionablePublicMethods\")).touch();\n }", "title": "" }, { "docid": "362e9e9dbdc8969e5d5e75121f54bc52", "score": "0.50820726", "text": "public void hookupSaveMethod() {\r\n\t\tIterator plugit = plugins.iterator();\r\n\t\twhile (plugit.hasNext()) {\r\n\t\t\tOMEPlugin p = (OMEPlugin) plugit.next();\r\n\t\t\tif (p instanceof OMEDefaultPlugin) {\r\n\t\t\t\tgframe.setWindowListener(\r\n\t\t\t\t\t((OMEDefaultPlugin) p).getSaveMethod(view));\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "dc318d68ebf58974774dc548ceb2bea0", "score": "0.5055976", "text": "public void touch() {\n ((com.guidewire.pl.domain.persistence.core.VersionablePublicMethods)__getDelegateManager().getImplementation(\"com.guidewire.pl.domain.persistence.core.VersionablePublicMethods\")).touch();\n }", "title": "" }, { "docid": "dc318d68ebf58974774dc548ceb2bea0", "score": "0.5055976", "text": "public void touch() {\n ((com.guidewire.pl.domain.persistence.core.VersionablePublicMethods)__getDelegateManager().getImplementation(\"com.guidewire.pl.domain.persistence.core.VersionablePublicMethods\")).touch();\n }", "title": "" }, { "docid": "d6b51ce72648cf9ecb0ce5cf296d4bd5", "score": "0.5027005", "text": "public interface MethodListened extends ModelObjectInterface {\n\n String getMyValue();\n @ModelObjectMethodListener(methodListener = MethodListened.Listener.class)\n void setMyValue(String myValue);\n\n\n public class Listener implements ModelObjectMethodListener.MethodListener {\n @Override\n public void preRun(Object mother, String methodName, Object[] args) {\n args[0] = args[0] + \"_\";\n }\n\n @Override\n public Object postRun(Object mother, String methodName, Object preResult, Object[] args) {\n return preResult;\n }\n }\n}", "title": "" }, { "docid": "2691cb236e9cbe3d9e7583db6cf23f88", "score": "0.50235426", "text": "public Builder methods(String... methods) {\n this.methods = Arrays.stream(methods).map(String::toUpperCase).collect(Collectors.toSet());\n return this;\n }", "title": "" }, { "docid": "02d3051e18b97b1eac498f28f5f94070", "score": "0.50220364", "text": "public void setMethod(StableMessageTypes method) {\n this.method = method.getId();\n }", "title": "" }, { "docid": "360e2dfb8f683b730af7d7b1736449a5", "score": "0.50151527", "text": "public void afterPropertiesSet() {\n\t\tString[] listenerClassNames = StringUtil.split(GetterUtil.getString(\n\t\t\t\t\tcom.liferay.util.service.ServiceProps.get(\n\t\t\t\t\t\t\"value.object.listener.com.softwerke.srv.model.Review\")));\n\n\t\tif (listenerClassNames.length > 0) {\n\t\t\ttry {\n\t\t\t\tList<ModelListener<Review>> listenersList = new ArrayList<ModelListener<Review>>();\n\n\t\t\t\tfor (String listenerClassName : listenerClassNames) {\n\t\t\t\t\tlistenersList.add((ModelListener<Review>)InstanceFactory.newInstance(\n\t\t\t\t\t\t\tgetClassLoader(), listenerClassName));\n\t\t\t\t}\n\n\t\t\t\tlisteners = listenersList.toArray(new ModelListener[listenersList.size()]);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\t_log.error(e);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "d1b3d2aeb263eeeb00204704d7814b40", "score": "0.50092614", "text": "public JMethod getSetter();", "title": "" }, { "docid": "62bc2458a681927043e51d5f34f2a76d", "score": "0.50030583", "text": "public void onMethodTypeChange() {\r\n\t\tswitch (methodType) {\r\n\t\tcase BISECTION:\r\n\t\tcase NEWTON:\r\n\t\t\tfunctionString = functionString.equals(ITERATION_INIT_FUNCTION) ? INIT_FUNCTION : functionString;\r\n\t\t\tbreak;\r\n\t\tcase ITERATION:\r\n\t\t\tfunctionString = functionString.equals(INIT_FUNCTION) ? ITERATION_INIT_FUNCTION : functionString;\r\n\t\t\tbreak;\r\n\t\tdefault:\r\n\t\t\tthrow new IllegalArgumentException(\"Method type \" + methodType + \"is unknown!\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "7679d070dfbb388e5cc8fdfe52929d52", "score": "0.4991272", "text": "public void afterPropertiesSet() {\n\t\tString[] listenerClassNames = StringUtil.split(GetterUtil.getString(\n\t\t\t\t\tcom.liferay.util.service.ServiceProps.get(\n\t\t\t\t\t\t\"value.object.listener.com.hitss.layer.model.Funcion\")));\n\n\t\tif (listenerClassNames.length > 0) {\n\t\t\ttry {\n\t\t\t\tList<ModelListener<Funcion>> listenersList = new ArrayList<ModelListener<Funcion>>();\n\n\t\t\t\tfor (String listenerClassName : listenerClassNames) {\n\t\t\t\t\tlistenersList.add((ModelListener<Funcion>)InstanceFactory.newInstance(\n\t\t\t\t\t\t\tgetClassLoader(), listenerClassName));\n\t\t\t\t}\n\n\t\t\t\tlisteners = listenersList.toArray(new ModelListener[listenersList.size()]);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\t_log.error(e);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "c0d7a97b13ab5f463c78af2ed15cf4d8", "score": "0.49747047", "text": "@Override\n public void setMethod(String method) {\n if (HttpMethod.GET.equals(method)) {\n httpMethod = HttpMethod.GET;\n } else if (HttpMethod.POST.equals(method)) {\n httpMethod = HttpMethod.POST;\n } else if (HttpMethod.PUT.equals(method)) {\n httpMethod = HttpMethod.PUT;\n } else if (HttpMethod.DELETE.equals(method)) {\n httpMethod = HttpMethod.DELETE;\n } else {\n throw new RuntimeException(\"Unexpected HttpMethod\");\n }\n }", "title": "" }, { "docid": "7c2ee17b03bb4f98ce93ab4f92afcf83", "score": "0.4973255", "text": "protected Mutator() {\n this.elementEventSet = MutatorProperties.getElementEventSet();\n }", "title": "" }, { "docid": "ddedd5f546df559a63b52af9761749e7", "score": "0.49487954", "text": "@Override\n\tpublic void onCypherMethodChanged(String cypherMethod) {\n\t\t\n\t}", "title": "" }, { "docid": "cd4f8c16a53a8a6cc7ac79bf543802e5", "score": "0.49386317", "text": "protected void enhancePropertySetter(Method m) {\n String name = ClassUtils.getFieldNameForJavaBeanSetter(m.getName());\n AbstractMemberMetaData apmd = cmd.getMetaDataForMember(name);\n if (apmd != null && apmd.getPersistenceModifier() != FieldPersistenceModifier.NONE && apmd instanceof PropertyMetaData) {\n if (((apmd.getJdoFieldFlag() & PersistenceCapable.MEDIATE_WRITE) == PersistenceCapable.MEDIATE_WRITE) || ((apmd.getJdoFieldFlag() & PersistenceCapable.CHECK_WRITE) == PersistenceCapable.CHECK_WRITE)) {\n PropertySetterMethod setter = new PropertySetterMethod(m, this.className, constantPoolGen, newClass, m.getArgumentTypes(), (BCELFieldPropertyMetaData) apmd, this);\n setter.execute();\n }\n }\n }", "title": "" }, { "docid": "cb8e64d9e9addbad21af6af030509f04", "score": "0.49290407", "text": "public interface EMFDispatcher {\r\n /**\r\n * Dispatch an element to the most specific method handling this type. If only java had multi methods...\r\n * \r\n * \r\n * @throws IOException\r\n * if the model could not be saved\r\n */\r\n void dispatch(EObject element) throws IOException;\r\n\r\n /**\r\n * Store an <code>EAnnotation</code>.\r\n * \r\n * @param element\r\n * <code>EAnnotation</code>\r\n */\r\n void store(EAnnotation element);\r\n\r\n /**\r\n * Store an <code>EAttribute</code>.\r\n * \r\n * @param element\r\n * <code>EAttribute</code>\r\n */\r\n void store(EAttribute element);\r\n\r\n /**\r\n * Store an <code>EClass</code>.\r\n * \r\n * @param element\r\n * <code>EClass</code>\r\n */\r\n void store(EClass element);\r\n\r\n /**\r\n * Store an <code>EDataType</code>.\r\n * \r\n * @param element\r\n * <code>EDataType</code>\r\n */\r\n void store(EDataType element);\r\n\r\n /**\r\n * Store an <code>EEnum</code>.\r\n * \r\n * @param element\r\n * <code>EEnum</code>\r\n */\r\n void store(EEnum element);\r\n\r\n /**\r\n * Store an <code>EEnumLiteral</code>.\r\n * \r\n * @param element\r\n * <code>EEnumLiteral</code>\r\n */\r\n void store(EEnumLiteral element);\r\n\r\n /**\r\n * Store an <code>EGenericType</code>.\r\n * <p>\r\n * \r\n * @param element\r\n * <code>EGenericType</code>\r\n */\r\n void store(EGenericType element);\r\n\r\n /**\r\n * Store an element of a M1 model.\r\n * \r\n * @param element\r\n */\r\n void store(EObject element);\r\n\r\n /**\r\n * Store an <code>EOperation</code>.\r\n * \r\n * @param element\r\n * <code>EOperation</code>\r\n */\r\n void store(EOperation element);\r\n\r\n /**\r\n * Store an <code>EPackage</code>.\r\n * \r\n * @param element\r\n * <code>EPackage</code>\r\n */\r\n void store(EPackage element);\r\n\r\n /**\r\n * Store an <code>EParameter</code>.\r\n * <p>\r\n * {@link EParameter}s are ordered!\r\n * \r\n * @param element\r\n * <code>EParameter</code>\r\n */\r\n void store(EParameter element);\r\n\r\n /**\r\n * Store an <code>EReference</code>.\r\n * \r\n * @param element\r\n * <code>EReference</code>\r\n */\r\n void store(EReference element);\r\n\r\n /**\r\n * Store an <code>EStringToStringMapEntryImpl</code>.\r\n * \r\n * @param element\r\n * <code>EStringToStringMapEntryImpl</code>\r\n */\r\n void store(EStringToStringMapEntryImpl element);\r\n\r\n /**\r\n * Store an <code>ETypeParameter</code> (generic type parameters).\r\n * <p>\r\n * \r\n * @param element\r\n * <code>ETypeParameter</code>\r\n */\r\n void store(ETypeParameter element);\r\n\r\n /**\r\n * Store a {@link Model}.\r\n * @param model\r\n */\r\n NeoModelLocation store(Model model, Revision rev);\r\n\r\n /**\r\n * Store a {@link Resource}.\r\n * \r\n * @param resource\r\n * Resource to store\r\n * @deprecated\r\n */\r\n @Deprecated\r\n void store(Resource resource);\r\n}", "title": "" }, { "docid": "76b720c7c1eb0a9a3603edadb2b71111", "score": "0.49244067", "text": "private void mapAllMethods() {\n DiffManualMappingBuilder<?> mapping = new DiffMappingFieldBuilderImpl<>(context);\n\n for (Method method : context.getOfType().getMethods()) {\n if (!method.isAnnotationPresent(DiffIgnore.class)) {\n mapping.map(method.getName());\n }\n }\n }", "title": "" }, { "docid": "e3c583e89bd154b8acdb5690bb67906b", "score": "0.49129394", "text": "public void setNameToVtiMethod(Map<String, VtiMethod> nameToVtiMethod)\n {\n this.nameToVtiMethod = nameToVtiMethod;\n }", "title": "" }, { "docid": "5fe1ead921edffba9c98541cadbb770e", "score": "0.4906081", "text": "protected void addMethodPropertyDescriptor(Object object) {\r\n\t\titemPropertyDescriptors\r\n\t\t\t\t.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),\r\n\t\t\t\t\t\tgetResourceLocator(), getString(\"_UI_Character_method_feature\"),\r\n\t\t\t\t\t\tgetString(\"_UI_PropertyDescriptor_description\", \"_UI_Character_method_feature\",\r\n\t\t\t\t\t\t\t\t\"_UI_Character_type\"),\r\n\t\t\t\t\t\tGoTPackage.Literals.CHARACTER__METHOD, true, false, false,\r\n\t\t\t\t\t\tItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));\r\n\t}", "title": "" }, { "docid": "bd8d42e22dceed38fb599ac3cd1b5d0b", "score": "0.49031115", "text": "@Override\n\tpublic void alterar() {\n\t\t\n\t}", "title": "" }, { "docid": "bd8d42e22dceed38fb599ac3cd1b5d0b", "score": "0.49031115", "text": "@Override\n\tpublic void alterar() {\n\t\t\n\t}", "title": "" }, { "docid": "5b56d2fc16d55a0d00ebdb889da9837d", "score": "0.490101", "text": "public void setMethod(MethodFence x) {\n methods.add(Preconditions.checkNotNull(x));\n }", "title": "" }, { "docid": "68b0979e13b354025ddab07fb1d640ed", "score": "0.4894054", "text": "public void setMethods(Method[] methods, int methodTableSize) {\n this.methods = methods;\n this.methodTableSize = methodTableSize;\n }", "title": "" }, { "docid": "de6a13bfcf4f3a0f74ff5221aff39c7b", "score": "0.48922306", "text": "public AugmentClassAdapter(ClassVisitor cv,\n\t\t\t\tSet<String> existingMethods, Method originalMethod) {\n\t\t\tsuper(cv);\n\t\t\tthis.existingMethods = existingMethods;\n\t\t\t// this.originalMethod = originalMethod;\n\t\t}", "title": "" }, { "docid": "27e3ac03de5bde4b52385f1ec138e308", "score": "0.48922122", "text": "protected void enhanceClass() {\n if (cmd.getPersistenceModifier() == ClassPersistenceModifier.PERSISTENCE_CAPABLE) {\n class_addInterface(ClassEnhancer.CN_PersistenceCapable);\n if (requiresDetachable()) {\n class_addInterface(ClassEnhancer.CN_Detachable);\n }\n for (int i = 0; i < cmd.getNoOfMembers(); i++) {\n AbstractMemberMetaData f = cmd.getMetaDataForMemberAtRelativePosition(i);\n if (f.fieldBelongsToClass() && f.getPersistenceModifier() != FieldPersistenceModifier.NONE && !((BCELFieldPropertyMetaData) f).getEnhanceField().isSynthetic()) {\n enhanceSetter((BCELFieldPropertyMetaData) f);\n enhanceGetter((BCELFieldPropertyMetaData) f);\n }\n }\n }\n }", "title": "" }, { "docid": "4dbdf62f456a7c13d8107b43b4dfd5e3", "score": "0.48828256", "text": "public void setCurrentMethod(Method mmmm) { this.currentMMMMethod = mmmm; }", "title": "" }, { "docid": "e09178e98aa62d9f733016b3eb30effa", "score": "0.4879414", "text": "private void setButtonListeners() {\n myEdgeDetectButton.addActionListener(this);\n myEdgeHighlightButton.addActionListener(this);\n myFlipHorizontalButton.addActionListener(this);\n myFlipVerticalButton.addActionListener(this);\n myGrayscaleButton.addActionListener(this);\n mySharpenButton.addActionListener(this);\n mySoftenButton.addActionListener(this);\n myOpenButton.addActionListener(this);\n mySaveAsButton.addActionListener(this);\n myCloseImageButton.addActionListener(this);\n }", "title": "" }, { "docid": "c4fb376da5f8d91132c9c0f400572b47", "score": "0.48624247", "text": "void setMethodName( String name );", "title": "" }, { "docid": "5bc4552fec5825b5d485d9ecd356ec5d", "score": "0.48596245", "text": "public Builder verbs(Method... verbs) {\n this.verbs = new HashSet<>();\n this.verbs.addAll(Arrays.asList(verbs));\n return this;\n }", "title": "" }, { "docid": "a5a48f0c8b7434f40c7c80163dddd66a", "score": "0.48584688", "text": "public static void setSpiceModel()\n \t{\n \t\tUserInterface ui = Job.getUserInterface();\n \t\tEditWindow_ wnd = ui.getCurrentEditWindow_();\n if (wnd == null) return;\n \n \t\tNodeInst ni = (NodeInst)wnd.getOneElectricObject(NodeInst.class);\n \t\tif (ni == null) return;\n \t\tSetSpiceModel job = new SetSpiceModel(ni);\n \t}", "title": "" }, { "docid": "e5352ca57337323c84e103fac74f4e31", "score": "0.48522183", "text": "@JsonSetter(\"method\")\r\n public void setMethod (String value) { \r\n this.method = value;\r\n }", "title": "" }, { "docid": "9ed48ed7f6dbf809e9828e895f2f7f3c", "score": "0.48510742", "text": "public void setMethod(final String method) {\n setAttribute(ATTRIBUTE_METHOD, method);\n }", "title": "" }, { "docid": "9b4b085d292018eb951c653a283d0526", "score": "0.48423532", "text": "void updateMethodComboBox() {\n Object item = methodCB.getSelectedItem();\n if (item == null)\n return;\n String methodSignature = item.toString();\n\n if (methodSignature == null)\n return;\n\n if (methodSignature.equals(\"All method\")) {\n updateContents();\n } else {\n updateContents(methodSignature);\n }\n }", "title": "" }, { "docid": "11ea36fb0297cf2c13efbcd8392ec7b3", "score": "0.4837841", "text": "public void setWert()\n{\n}", "title": "" }, { "docid": "c543140a1757211d31c74f3f055e157c", "score": "0.4820107", "text": "public void afterPropertiesSet() {\n\t\tString[] listenerClassNames = StringUtil.split(GetterUtil.getString(\n\t\t\t\t\tcom.liferay.util.service.ServiceProps.get(\n\t\t\t\t\t\t\"value.object.listener.com.hitss.layer.model.InformeRetroalimentacion\")));\n\n\t\tif (listenerClassNames.length > 0) {\n\t\t\ttry {\n\t\t\t\tList<ModelListener<InformeRetroalimentacion>> listenersList = new ArrayList<ModelListener<InformeRetroalimentacion>>();\n\n\t\t\t\tfor (String listenerClassName : listenerClassNames) {\n\t\t\t\t\tlistenersList.add((ModelListener<InformeRetroalimentacion>)InstanceFactory.newInstance(\n\t\t\t\t\t\t\tgetClassLoader(), listenerClassName));\n\t\t\t\t}\n\n\t\t\t\tlisteners = listenersList.toArray(new ModelListener[listenersList.size()]);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\t_log.error(e);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "217cefca56d60506726974ff5d29068b", "score": "0.4817653", "text": "@Override\r\n\tpublic void setModel() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a1838b02b19ac33ee2d3850099a18792", "score": "0.4812001", "text": "@Pointcut(\"execution(public java.util.Collection<org.reactome.server.graph.domain.model.DatabaseObject+>+ org.reactome.server.graph.domain.model.*.get*(..))\")\n public void modelGetter() {\n }", "title": "" }, { "docid": "26753ea195d33dc59f10b365a58faf38", "score": "0.48081926", "text": "public void setCalculationMethod(CalculationEnum calcMethod);", "title": "" }, { "docid": "a995341eb5e5efa2f8680f382005771a", "score": "0.47762287", "text": "public void setAllowedMethods(List<String> allowedMethods) {\n\t\tthis.allowedMethods = allowedMethods;\n\t}", "title": "" }, { "docid": "d4214b6ca2c168bbcfe514ccb95db365", "score": "0.47724444", "text": "public void afterPropertiesSet() {\n String[] listenerClassNames = StringUtil.split(GetterUtil.getString(\n com.liferay.util.service.ServiceProps.get(\n \"value.object.listener.com.ext.portlet.model.ImpactDefaultSeriesData\")));\n\n if (listenerClassNames.length > 0) {\n try {\n List<ModelListener<ImpactDefaultSeriesData>> listenersList = new ArrayList<ModelListener<ImpactDefaultSeriesData>>();\n\n for (String listenerClassName : listenerClassNames) {\n listenersList.add((ModelListener<ImpactDefaultSeriesData>) InstanceFactory.newInstance(\n getClassLoader(), listenerClassName));\n }\n\n listeners = listenersList.toArray(new ModelListener[listenersList.size()]);\n } catch (Exception e) {\n _log.error(e);\n }\n }\n }", "title": "" }, { "docid": "bab475e331cf033303f22366fb879e09", "score": "0.4767904", "text": "public void afterPropertiesSet() {\n\t\tString[] listenerClassNames = StringUtil.split(GetterUtil.getString(\n\t\t\t\t\tcom.liferay.util.service.ServiceProps.get(\n\t\t\t\t\t\t\"value.object.listener.it.ethica.esf.model.ESFSportType\")));\n\n\t\tif (listenerClassNames.length > 0) {\n\t\t\ttry {\n\t\t\t\tList<ModelListener<ESFSportType>> listenersList = new ArrayList<ModelListener<ESFSportType>>();\n\n\t\t\t\tfor (String listenerClassName : listenerClassNames) {\n\t\t\t\t\tlistenersList.add((ModelListener<ESFSportType>)InstanceFactory.newInstance(\n\t\t\t\t\t\t\tgetClassLoader(), listenerClassName));\n\t\t\t\t}\n\n\t\t\t\tlisteners = listenersList.toArray(new ModelListener[listenersList.size()]);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\t_log.error(e);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "a510e8753ac849a4dce0f8bc61c3b950", "score": "0.47667155", "text": "public void setMethod(String pMethod) {\n\t\tmethod = pMethod;\n\t}", "title": "" }, { "docid": "76988ed3afbff64206359d8837955057", "score": "0.47597945", "text": "protected abstract void setHandlers();", "title": "" }, { "docid": "7ebb6eaad68512d0f0dee4724803fa51", "score": "0.4758609", "text": "@Override\n public void setListeners() {\n }", "title": "" }, { "docid": "8da3be9620fdcac6c999f08e041959cc", "score": "0.47494456", "text": "public void afterPropertiesSet() {\n\t\tString[] listenerClassNames = StringUtil.split(GetterUtil.getString(\n\t\t\t\t\tcom.liferay.util.service.ServiceProps.get(\n\t\t\t\t\t\t\"value.object.listener.de.uhh.l2g.plugins.model.Metadata\")));\n\n\t\tif (listenerClassNames.length > 0) {\n\t\t\ttry {\n\t\t\t\tList<ModelListener<Metadata>> listenersList = new ArrayList<ModelListener<Metadata>>();\n\n\t\t\t\tfor (String listenerClassName : listenerClassNames) {\n\t\t\t\t\tlistenersList.add((ModelListener<Metadata>)InstanceFactory.newInstance(\n\t\t\t\t\t\t\tgetClassLoader(), listenerClassName));\n\t\t\t\t}\n\n\t\t\t\tlisteners = listenersList.toArray(new ModelListener[listenersList.size()]);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\t_log.error(e);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "5819ec79541aafa7501ed0819c46518d", "score": "0.4741638", "text": "public void setMethod(final String method) {\n\t\t\n\t\t// The method name is mandatory\n\t\tif (method == null)\n\t\t\tthrow new NullPointerException();\n\n\t\tthis.method = method;\n\t}", "title": "" }, { "docid": "b1cd95e7e8a651a17dfa9e6c5bf0a4f3", "score": "0.4736127", "text": "@Override\n\tprotected void setEngineApiAccess() {\n\t\tthis.engineApiAccess = new HargreavesEngine();\n\t}", "title": "" }, { "docid": "8cf7c92e301a394335d95acc9ae0e016", "score": "0.4729781", "text": "private void setClassMethods() {\n\n\t\tclassMethods = new ArrayList<>();\n\t\t\n\t\t// regex to match a fullmethodBody\n\t\t\n\t\tString methodRegex = \"(private|public|protected)(\\\\s+[^;({]+)(\\\\(\\\\)|\\\\(.+\\\\))\"\n\t\t\t\t+ \"[\\\\s\\\\S]+?(?=(private|public|protected)(\\\\s+[^;({]+)(\\\\(\\\\)|\\\\(.+\\\\))|\\\\Z)\";\n\n\t\tArrayList<String> allMethodBodyMatches = new ArrayList<>();\n\n\t\tPattern pattern = Pattern.compile(methodRegex);\n\t\tMatcher m = pattern.matcher(classBody);\n\n\t\twhile (m.find()) {\n\t\t\tallMethodBodyMatches.add(m.group());\n\t\t}\n\n\t\t// now create methods with methodBodymatches and add to classMethods\n\n\t\tfor (String X : allMethodBodyMatches) {\n\t\t\tMethod M = Method.getMethodInstance(X);\n\n\t\t\tclassMethods.add(M);\n\t\t}\n\n\t}", "title": "" }, { "docid": "e83b1dd446c2cc889a4cc862ec646566", "score": "0.47294548", "text": "@Override\r\n\tpublic void setListeners() {\n\t\tsuper.setListeners();\r\n\r\n\t}", "title": "" }, { "docid": "e9f14a802efa1d42dac5bf4523b020d8", "score": "0.47286987", "text": "private void setAdapters() {\n\t\t}", "title": "" }, { "docid": "3f3e9c4e30fa1a33d80a8593a3cbc424", "score": "0.47160333", "text": "public void afterPropertiesSet() {\n\t\tString[] listenerClassNames = StringUtil.split(GetterUtil.getString(\n\t\t\t\t\tcom.liferay.util.service.ServiceProps.get(\n\t\t\t\t\t\t\"value.object.listener.la.netco.solicitudes_sdisc.model.model.Delegado\")));\n\n\t\tif (listenerClassNames.length > 0) {\n\t\t\ttry {\n\t\t\t\tList<ModelListener<Delegado>> listenersList = new ArrayList<ModelListener<Delegado>>();\n\n\t\t\t\tfor (String listenerClassName : listenerClassNames) {\n\t\t\t\t\tlistenersList.add((ModelListener<Delegado>)InstanceFactory.newInstance(\n\t\t\t\t\t\t\tlistenerClassName));\n\t\t\t\t}\n\n\t\t\t\tlisteners = listenersList.toArray(new ModelListener[listenersList.size()]);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\t_log.error(e);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "37cabf4c30d5651add3137ff3cacf8bb", "score": "0.47051778", "text": "private void methodReferences() {\n\t\tMethod m = null;\n\t\ttry {\n\t\t\tm = Inventor.class.getDeclaredMethod(\"getClassDescription\");\n\t\t} catch (NoSuchMethodException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (SecurityException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\tEvaluationContext context = SimpleEvaluationContext.forReadOnlyDataBinding().build();\n\t\tcontext.setVariable(\"mInventorDesc\", m);\n\t\tExpressionParser p = new SpelExpressionParser();\n\t\tString desc = p.parseExpression(\"#mInventorDesc()\").getValue(context, inv, String.class);\n\t\tSystem.out.println(\"Inventor static class call vie #getDescription() => \" + desc);\n\t}", "title": "" }, { "docid": "909aae06292aa2dda786151e8fd516ab", "score": "0.470149", "text": "public abstract void setRoots(Collection/*<jq_Method>*/ roots);", "title": "" }, { "docid": "3d063533fab7027c9f44ff03f397167a", "score": "0.47009277", "text": "abstract public void setAttributeChangeListener(MethodExpression me);", "title": "" }, { "docid": "b61c774bc18c8e2b5bd13e087e73bbf3", "score": "0.46999377", "text": "protected void setupOperations() throws CartagoException {\n Class<?> c = getClass();\n while (c != null) {\n Method[] methods = c.getDeclaredMethods();\n for (Method m : methods) {\n // log(\"method \"+m.getName());\n // log(\"annotations \"+m.getAnnotations().length);\n if (m.isAnnotationPresent(OPERATION.class)) {\n OPERATION op = m.getAnnotation(OPERATION.class);\n String guard = op.guard();\n ArtifactGuardMethod guardBody = null;\n if (!guard.equals(\"\")) {\n Method guardMethod = getMethodInHierarchy(guard, m\n .getParameterTypes());\n if (guardMethod == null) {\n throw new CartagoException(\"invalid guard: \"\n + guard);\n } else {\n guardBody = new ArtifactGuardMethod(this,\n guardMethod);\n }\n }\n String name = null;\n if (!m.isVarArgs()) {\n name = Artifact.getOpKey(m.getName(), m\n .getParameterTypes().length);\n } else {\n name = Artifact.getOpKey(m.getName(), -1);\n }\n OpDescriptor opdesc = new OpDescriptor(\n name,\n new ArtifactOpMethod(this, m), guardBody,\n OpDescriptor.OpType.UI);\n // log(\"registering \"+name);\n operationMap.put(name, opdesc);\n } else if (m.isAnnotationPresent(LINK.class)) {\n LINK op = m.getAnnotation(LINK.class);\n String guard = op.guard();\n ArtifactGuardMethod guardBody = null;\n if (!guard.equals(\"\")) {\n Method guardMethod = getMethodInHierarchy(guard, m\n .getParameterTypes());\n if (guardMethod == null) {\n throw new CartagoException(\"invalid guard: \"\n + guard);\n } else {\n guardBody = new ArtifactGuardMethod(this,\n guardMethod);\n }\n }\n String name = Artifact.getOpKey(m.getName(), m\n .getParameterTypes().length);\n OpDescriptor opdesc = new OpDescriptor(\n name,\n new ArtifactOpMethod(this, m), guardBody,\n OpDescriptor.OpType.LINK);\n // log(\"registering \"+name);\n operationMap.put(name, opdesc);\n } else if (m.isAnnotationPresent(INTERNAL_OPERATION.class)) {\n INTERNAL_OPERATION op = m\n .getAnnotation(INTERNAL_OPERATION.class);\n String guard = op.guard();\n ArtifactGuardMethod guardBody = null;\n if (!guard.equals(\"\")) {\n Method guardMethod = getMethodInHierarchy(guard, m\n .getParameterTypes());\n if (guardMethod == null) {\n throw new CartagoException(\"invalid guard: \"\n + guard);\n } else {\n guardBody = new ArtifactGuardMethod(this,\n guardMethod);\n }\n }\n String name = Artifact.getOpKey(m.getName(), m\n .getParameterTypes().length);\n OpDescriptor opdesc = new OpDescriptor(\n name,\n new ArtifactOpMethod(this, m), guardBody,\n OpDescriptor.OpType.INTERNAL);\n // log(\"registering \"+name);\n operationMap.put(name, opdesc);\n } else if (m.isAnnotationPresent(GUARD.class)) {\n String name = Artifact.getOpKey(m.getName(), m\n .getParameterTypes().length);\n guardMap.put(name, m);\n }\n }\n c = c.getSuperclass();\n }\n }", "title": "" }, { "docid": "8652583059b4d048b741c905d7a0fe7b", "score": "0.46982986", "text": "void setModel(Model model) \n {\n this.model=model;\n setGenre();\n }", "title": "" }, { "docid": "99b58a76909bb8578dcff279a862ff39", "score": "0.46971005", "text": "public void addViewMethod(MethodWithArgs value){\n ((ViewDMO) core).addViewMethod(value);\n }", "title": "" }, { "docid": "72952291db5aecb081eb499f056ba6a7", "score": "0.4696965", "text": "@Override\n public boolean modelSetterMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedColumn introspectedColumn, IntrospectedTable introspectedTable, ModelClassType modelClassType) {\n return false;\n }", "title": "" }, { "docid": "b6c6bcae5e37747f27363a19e61f2264", "score": "0.46962017", "text": "@Override\n public void setVelocityEngine(VelocityEngine velocityEngine) {\n }", "title": "" }, { "docid": "d0d691fc253e9985ce4f909a5e7ab1ff", "score": "0.4690635", "text": "public void addViewMethod(Object value) throws DmcValueException {\n ((ViewDMO) core).addViewMethod(value);\n }", "title": "" }, { "docid": "56c513d3f6998eb973a4347fa69a2205", "score": "0.46888706", "text": "public void afterPropertiesSet() {\n\t\tString[] listenerClassNames = StringUtil.split(GetterUtil.getString(\n\t\t\t\t\tcom.liferay.util.service.ServiceProps.get(\n\t\t\t\t\t\t\"value.object.listener.kisti.edison.challenge.model.ChildChallenge\")));\n\n\t\tif (listenerClassNames.length > 0) {\n\t\t\ttry {\n\t\t\t\tList<ModelListener<ChildChallenge>> listenersList = new ArrayList<ModelListener<ChildChallenge>>();\n\n\t\t\t\tfor (String listenerClassName : listenerClassNames) {\n\t\t\t\t\tlistenersList.add((ModelListener<ChildChallenge>)InstanceFactory.newInstance(\n\t\t\t\t\t\t\tgetClassLoader(), listenerClassName));\n\t\t\t\t}\n\n\t\t\t\tlisteners = listenersList.toArray(new ModelListener[listenersList.size()]);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\t_log.error(e);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "2bf292600774aef85f3fc317654c9a53", "score": "0.46885014", "text": "List<ExpressionObjectMethod> getExpressionObjectMethods() {\r\n\r\n\t\tif (expressionobjectmethods == null) {\r\n\t\t\texpressionobjectmethods = getDialectItemsByType(ExpressionObjectMethod.class);\r\n\t\t\texpressionobjectmethods.trimToSize();\r\n\t\t}\r\n\t\treturn expressionobjectmethods;\r\n\t}", "title": "" }, { "docid": "01b42adeb4cc8ed51093b45aacce7185", "score": "0.4685923", "text": "public void afterPropertiesSet() {\n\t\tString[] listenerClassNames = StringUtil.split(GetterUtil.getString(\n\t\t\t\t\tcom.liferay.util.service.ServiceProps.get(\n\t\t\t\t\t\t\"value.object.listener.com.ethica.esf.model.ESFOrder\")));\n\n\t\tif (listenerClassNames.length > 0) {\n\t\t\ttry {\n\t\t\t\tList<ModelListener<ESFOrder>> listenersList = new ArrayList<ModelListener<ESFOrder>>();\n\n\t\t\t\tfor (String listenerClassName : listenerClassNames) {\n\t\t\t\t\tlistenersList.add((ModelListener<ESFOrder>)InstanceFactory.newInstance(\n\t\t\t\t\t\t\tgetClassLoader(), listenerClassName));\n\t\t\t\t}\n\n\t\t\t\tlisteners = listenersList.toArray(new ModelListener[listenersList.size()]);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\t_log.error(e);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "99acdd5ea44ccb00a8562efbacca8551", "score": "0.46755674", "text": "public FormBuilder setMethod(String method) {\r\n\t\tform.method = method;\r\n\t\treturn this;\r\n\t}", "title": "" }, { "docid": "01c328719c0904d8116e6470f4234669", "score": "0.46698716", "text": "public void setPartialMethods(String partialMethods) {\n this.partialMethods = partialMethods;\n }", "title": "" }, { "docid": "7038a2eb0d13713d100c274e77516305", "score": "0.46618417", "text": "public void addMethod(Method m) throws NavajoException;", "title": "" }, { "docid": "d063950427463f3220cf2cd4c1de25c8", "score": "0.46525705", "text": "public void afterPropertiesSet() {\n String[] listenerClassNames = StringUtil.split(GetterUtil.getString(\n com.liferay.util.service.ServiceProps.get(\n \"value.object.listener.com.ext.portlet.model.Proposal2Phase\")));\n\n if (listenerClassNames.length > 0) {\n try {\n List<ModelListener<Proposal2Phase>> listenersList = new ArrayList<ModelListener<Proposal2Phase>>();\n\n for (String listenerClassName : listenerClassNames) {\n listenersList.add((ModelListener<Proposal2Phase>) InstanceFactory.newInstance(\n getClassLoader(), listenerClassName));\n }\n\n listeners = listenersList.toArray(new ModelListener[listenersList.size()]);\n } catch (Exception e) {\n _log.error(e);\n }\n }\n }", "title": "" }, { "docid": "5428c2cf3947fdae979a5fca3a024213", "score": "0.4642471", "text": "public void setMethod(String method) {\n this.method = method == null ? null : method.trim();\n }", "title": "" }, { "docid": "5428c2cf3947fdae979a5fca3a024213", "score": "0.4642471", "text": "public void setMethod(String method) {\n this.method = method == null ? null : method.trim();\n }", "title": "" }, { "docid": "d4dc7e2f1d18f268a257d714ed63800b", "score": "0.46370894", "text": "private void initListener() {\n sourceButton.addMouseListener(new MouseAdapter() {\n @Override\n public void mousePressed(MouseEvent e) {\n if (classTypeField.getText() != null) {\n GlobalSearchScope scope = GlobalSearchScope.allScope(project);\n PsiClass psiClass = JavaPsiFacade.getInstance(project).findClass(classTypeField.getText(), scope);\n\n if (psiClass != null) {\n //Open the file containing the class\n VirtualFile vf = psiClass.getContainingFile().getVirtualFile();\n //Jump there\n new OpenFileDescriptor(project, vf, 1, 0).navigateInEditor(project, false);\n if (null != jumpToSourceActionCallback) {\n jumpToSourceActionCallback.call(null);\n }\n return;\n }\n }\n\n //fail to jump source\n DialogUtil.alert(LanguageConstants.JUMP_SOURCE_TIPS);\n super.mousePressed(e);\n }\n });\n\n //Select class to field\n classTypeSelectedBtn.addMouseListener(new MouseAdapter() {\n @Override\n public void mousePressed(MouseEvent e) {\n String selectedClassName = DialogUtil.selectClassName(project);\n if (null != selectedClassName) {\n classTypeField.setText(selectedClassName);\n }\n super.mousePressed(e);\n }\n });\n\n //Click to get method from PsiClass. Then will auto get parameters.\n methodSelectedBtn.addMouseListener(new MouseAdapter() {\n @Override\n public void mousePressed(MouseEvent e) {\n if (classTypeField.getText() != null) {\n GlobalSearchScope scope = GlobalSearchScope.allScope(project);\n PsiClass psiClass = JavaPsiFacade.getInstance(project).findClass(classTypeField.getText(), scope);\n if (psiClass != null) {\n //Show all methods\n PsiMethodDialog dialog = new PsiMethodDialog(project, psiClass);\n dialog.show();\n PsiMethod psiMethod = dialog.getSelected();\n if (psiMethod != null) {\n methodField.setText(psiMethod.getName());\n //Reset table\n for (int i = 0, n = tableModel.getRowCount(); i < n; i++) {\n tableModel.removeRow(0);\n }\n //Set new data\n for (PsiParameter psiParameter : psiMethod.getParameterList().getParameters()) {\n //\"name\", \"dataType\", \"defaultValue\", \"inOutType\", \"description\", \"contextVarName\"\n Vector<String> rowData = new Vector<>();\n rowData.add(psiParameter.getName());\n rowData.add(psiParameter.getType().getCanonicalText());\n rowData.add(\"\");\n rowData.add(\"param\");\n rowData.add(\"\");\n rowData.add(\"\");\n tableModel.addRow(rowData);\n }\n\n if (!PsiType.VOID.equals(psiMethod.getReturnType())) {\n //\"name\", \"dataType\", \"defaultValue\", \"inOutType\", \"description\", \"contextVarName\"\n Vector<String> rowData = new Vector<>();\n if (null != psiMethod.getReturnType()) {\n rowData.add(psiMethod.getReturnType().getCanonicalText());\n rowData.add(psiMethod.getReturnType().getCanonicalText());\n }\n rowData.add(\"\");\n rowData.add(\"return\");\n rowData.add(\"\");\n if (null != psiMethod.getReturnType()) {\n rowData.add(psiMethod.getReturnType().getPresentableText());\n }\n tableModel.addRow(rowData);\n }\n }\n }\n }\n\n super.mousePressed(e);\n }\n });\n\n //Determine whether to visible bean input view based on type changed\n typeComboBox.addItemListener((e) -> {\n if (ActionModel.SPRING_BEAN.equals(typeComboBox.getSelectedItem())) {\n beanField.setVisible(true);\n beanLabel.setVisible(true);\n } else {\n beanField.setVisible(false);\n beanLabel.setVisible(false);\n }\n });\n }", "title": "" }, { "docid": "9b02aa80c61838940bfa623d4673879b", "score": "0.4634418", "text": "private void setElements() {\r\n \r\n this.setMnemonicText();\r\n this.setTooltips();\r\n this.setOnAction();\r\n \r\n this.setChoiceBoxEntities();\r\n this.fillChoiceBoxTheme();\r\n \r\n // The methods to fill the tables. They dont work\r\n \r\n //this.setGarmentTableFactories();\r\n //this.fillTableGarment();\r\n \r\n //this.setUserTableFactories();\r\n //this.fillTableUser();\r\n }", "title": "" }, { "docid": "af4c689112621fc09c024a943fae31cd", "score": "0.46331102", "text": "protected void enhanceSetter(BCELFieldPropertyMetaData fieldConfig) {\n BCELMember f = fieldConfig.getEnhanceField();\n String methodName = BCELUtils.getSetterName(f.getName());\n if (f.isMethod()) {\n methodName = f.getName();\n }\n BCELClassMethod callback = null;\n byte jdoFlag = fieldConfig.getJdoFieldFlag();\n if (f.isFinal() || f.isStatic()) {\n return;\n }\n if (FieldPersistenceModifier.NONE.equals(fieldConfig.getPersistenceModifier())) {\n return;\n }\n if (((AbstractMemberMetaData) fieldConfig) instanceof PropertyMetaData) {\n return;\n }\n if ((jdoFlag & PersistenceCapable.MEDIATE_WRITE) == PersistenceCapable.MEDIATE_WRITE) {\n callback = new MediateWriteMethod(\"jdo\" + methodName, (f.isPublic() ? Constants.ACC_PUBLIC : 0) | (f.isProtected() ? Constants.ACC_PROTECTED : 0) | (f.isPrivate() ? Constants.ACC_PRIVATE : 0) | Constants.ACC_STATIC, Type.VOID, new Type[] { this.classType, f.getType() }, new String[] { \"objPC\", f.getName() + \"_m\" }, true, this, fieldConfig);\n } else if ((jdoFlag & PersistenceCapable.CHECK_WRITE) == PersistenceCapable.CHECK_WRITE) {\n callback = new CheckWriteMethod(\"jdo\" + methodName, (f.isPublic() ? Constants.ACC_PUBLIC : 0) | (f.isProtected() ? Constants.ACC_PROTECTED : 0) | (f.isPrivate() ? Constants.ACC_PRIVATE : 0) | Constants.ACC_STATIC, Type.VOID, new Type[] { this.classType, f.getType() }, new String[] { \"objPC\", f.getName() + \"_c\" }, true, this, fieldConfig);\n } else {\n callback = new NormalSetMethod(\"jdo\" + methodName, (f.isPublic() ? Constants.ACC_PUBLIC : 0) | (f.isProtected() ? Constants.ACC_PROTECTED : 0) | (f.isPrivate() ? Constants.ACC_PRIVATE : 0) | Constants.ACC_STATIC, Type.VOID, new Type[] { this.classType, f.getType() }, new String[] { \"objPC\", f.getName() + \"_n\" }, true, this, fieldConfig);\n }\n if (callback != null) {\n methodsToAdd.add(callback);\n }\n }", "title": "" }, { "docid": "977d81c64d3725cb7dbcc0741bc54dba", "score": "0.4631227", "text": "public ModelEventManager() {\n support = new PropertyChangeSupport(this);\n }", "title": "" }, { "docid": "8347fbc07bc53cdea26c18caf08d9cc6", "score": "0.46256042", "text": "@Override\n\tvoid setListeners() {\n\n\t}", "title": "" }, { "docid": "f58c73470551e70eccd1a6875ab363d8", "score": "0.46181113", "text": "public void setMethodParams(Object[] methodParams) {\r\n\t\tthis.methodParams = methodParams;\r\n\t}", "title": "" }, { "docid": "5793ae04977b3a93a6bd8a6f3f1f0280", "score": "0.4617086", "text": "private void resolveMethod() {\n if (StringUtils.isEmpty(this.method)) {\n this.method = config.getMethodName();\n if (StringUtils.isEmpty(this.method)) {\n this.method = ActionConfig.DEFAULT_METHOD;\n }\n methodSpecified = false;\n }\n }", "title": "" }, { "docid": "c59fe589c47caca6e2e07358a010f8b2", "score": "0.46127516", "text": "public void afterPropertiesSet() {\n\t\tString[] listenerClassNames = StringUtil.split(GetterUtil.getString(\n\t\t\t\t\tcom.liferay.util.service.ServiceProps.get(\n\t\t\t\t\t\t\"value.object.listener.la.netco.despachos_judiciales.entities.model.Municipio\")));\n\n\t\tif (listenerClassNames.length > 0) {\n\t\t\ttry {\n\t\t\t\tList<ModelListener<Municipio>> listenersList = new ArrayList<ModelListener<Municipio>>();\n\n\t\t\t\tfor (String listenerClassName : listenerClassNames) {\n\t\t\t\t\tlistenersList.add((ModelListener<Municipio>)InstanceFactory.newInstance(\n\t\t\t\t\t\t\tlistenerClassName));\n\t\t\t\t}\n\n\t\t\t\tlisteners = listenersList.toArray(new ModelListener[listenersList.size()]);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\t_log.error(e);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "83dbcf877820ad127bd46794d02e6240", "score": "0.46102712", "text": "protected abstract void setEssence();", "title": "" }, { "docid": "8dccf8f6da5135a4d1228ce8f4a64b96", "score": "0.460699", "text": "private void checkModelMethod(IModelMethod modelMethod) throws DesignerException {\n }", "title": "" }, { "docid": "b93a245a58270e546902c8b95c3d8e3d", "score": "0.46062768", "text": "public void setAttrComboBox() {\n\t\t// Attribute Names\n\t\tfinal List<String> names = new ArrayList<String>();\n\n\t\n//\t\tCyDataTable attr = /* TODO */getTargetNetwork().getNodeCyDataTables()\n//\t\t\t\t.get(CyNetwork.DEFAULT_ATTRS);\n//\n//\t\t// TODO remove the next line too!\n//\t\tif (attr == null)\n//\t\t\treturn;\n//\n//\t\tMap<String, Class<?>> cols = attr.getColumnTypeMap();\n//\t\tnames.addAll(cols.keySet());\n//\n//\t\tCollections.sort(names);\n//\n//\t\t// nodeAttrEditor.setAvailableValues(names.toArray());\n//\t\tspcs.firePropertyChange(\"UPDATE_AVAILABLE_VAL\", \"nodeAttrEditor\", names\n//\t\t\t\t.toArray());\n//\n//\t\tnames.clear();\n//\n//\t\tfor (String name : cols.keySet()) {\n//\t\t\tClass<?> dataClass = cols.get(name);\n//\n//\t\t\tif ((dataClass == Integer.class) || (dataClass == Double.class))\n//\t\t\t\tnames.add(name);\n//\t\t}\n//\n//\t\tCollections.sort(names);\n//\t\t// nodeNumericalAttrEditor.setAvailableValues(names.toArray());\n//\t\tspcs.firePropertyChange(\"UPDATE_AVAILABLE_VAL\",\n//\t\t\t\t\"nodeNumericalAttrEditor\", names.toArray());\n//\n//\t\tnames.clear();\n//\n//\t\tattr = getTargetNetwork().getEdgeCyDataTables().get(\n//\t\t\t\tCyNetwork.DEFAULT_ATTRS);\n//\t\tcols = attr.getColumnTypeMap();\n//\t\tnames.addAll(cols.keySet());\n//\t\tCollections.sort(names);\n//\n//\t\t// edgeAttrEditor.setAvailableValues(names.toArray());\n//\t\tspcs.firePropertyChange(\"UPDATE_AVAILABLE_VAL\", \"edgeAttrEditor\", names\n//\t\t\t\t.toArray());\n//\t\tnames.clear();\n//\n//\t\tfor (String name : cols.keySet()) {\n//\t\t\tClass<?> dataClass = cols.get(name);\n//\n//\t\t\tif ((dataClass == Integer.class) || (dataClass == Double.class))\n//\t\t\t\tnames.add(name);\n//\t\t}\n//\n//\t\tCollections.sort(names);\n//\t\t// edgeNumericalAttrEditor.setAvailableValues(names.toArray());\n//\t\tspcs.firePropertyChange(\"UPDATE_AVAILABLE_VAL\",\n//\t\t\t\t\"edgeNumericalAttrEditor\", names.toArray());\n//\t\tpropertySheetPanel.repaint();\n\t}", "title": "" }, { "docid": "5a1800139346ce263e0193d11a4c6850", "score": "0.46038717", "text": "public void afterPropertiesSet() {\n String[] listenerClassNames = StringUtil.split(GetterUtil.getString(\n com.liferay.util.service.ServiceProps.get(\n \"value.object.listener.com.ext.portlet.model.PlanPropertyFilter\")));\n\n if (listenerClassNames.length > 0) {\n try {\n List<ModelListener<PlanPropertyFilter>> listenersList = new ArrayList<ModelListener<PlanPropertyFilter>>();\n\n for (String listenerClassName : listenerClassNames) {\n listenersList.add((ModelListener<PlanPropertyFilter>) InstanceFactory.newInstance(\n getClassLoader(), listenerClassName));\n }\n\n listeners = listenersList.toArray(new ModelListener[listenersList.size()]);\n } catch (Exception e) {\n _log.error(e);\n }\n }\n }", "title": "" }, { "docid": "339d9b5a5f09967f104db480a9017cdb", "score": "0.46014228", "text": "public void setListeners() {\r\n\t\t\r\n\t\t// Sets the upper case menu item action listener\r\n\t\t_upperCaseMenuItem\r\n\t\t\t.addActionListener(new AcideInsertedItemListener(\r\n\t\t\t\tAcideMenuItemsConfiguration.getInstance()\r\n\t\t\t\t.getSubmenu(AcideEditMenu.EDIT_MENU_NAME)\r\n\t\t\t\t.getSubmenu(CHANGE_CASE_MENU_NAME).getItem(UPPER_CASE_NAME)));\r\n\t\t\r\n\t\t// Sets the lower case menu item action listener\r\n\t\t_lowerCaseMenuItem\r\n\t\t\t.addActionListener(new AcideInsertedItemListener(\r\n\t\t\t\tAcideMenuItemsConfiguration.getInstance()\r\n\t\t\t\t.getSubmenu(AcideEditMenu.EDIT_MENU_NAME)\r\n\t\t\t\t.getSubmenu(CHANGE_CASE_MENU_NAME).getItem(LOWER_CASE_NAME)));\r\n\r\n\t\t// Sets the capitalize menu item action listener\r\n\t\t_capitalizeMenuItem\r\n\t\t\t.addActionListener(new AcideInsertedItemListener(\r\n\t\t\t\tAcideMenuItemsConfiguration.getInstance()\r\n\t\t\t\t.getSubmenu(AcideEditMenu.EDIT_MENU_NAME)\r\n\t\t\t\t.getSubmenu(CHANGE_CASE_MENU_NAME).getItem(CAPITALIZE_NAME)));\r\n\r\n\t\t// Sets the invert case menu item action listener\r\n\t\t_invertCaseMenuItem\r\n\t\t\t.addActionListener(new AcideInsertedItemListener(\r\n\t\t\t\tAcideMenuItemsConfiguration.getInstance()\r\n\t\t\t\t.getSubmenu(AcideEditMenu.EDIT_MENU_NAME)\r\n\t\t\t\t.getSubmenu(CHANGE_CASE_MENU_NAME).getItem(INVERT_CASE_NAME)));\r\n\t\t\r\n\t\tIterator<AcideMenuObjectConfiguration> it = _insertedObjects.iterator();\r\n\t\twhile (it.hasNext()){\r\n\t\t\tAcideMenuObjectConfiguration ob = it.next();\r\n\t\t\tif (ob.isSubmenu()){\r\n\t\t\t\t_insertedMenus.get(ob.getName()).addMouseListener(new AcideMenuBarMouseClickListener());\r\n\t\t\t\t_insertedMenus.get(ob.getName()).setListeners();\r\n\t\t\t}else{\r\n\t\t\t\tAcideInsertedItem aux = _insertedItems.get(ob.getName());\r\n\t\t\t\taux.addActionListener((new AcideInsertedItemListener(aux)));\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" } ]
84cde81ceef34633407dd6c7d2747e5a
TODO : Eventually axioms in any type of module should be supported
[ { "docid": "bb23f624ed85b2fd7a50e42794f10afc", "score": "0.5309437", "text": "private void addLocalAxioms(ModuleDec module) {\n\n if (module instanceof MathModuleDec) {\n MathModuleDec moduleAsMathModuleDec = (MathModuleDec) module;\n List<Dec> decs = moduleAsMathModuleDec.getDecs();\n addLocalAxioms(decs);\n }\n }", "title": "" } ]
[ { "docid": "adb1658cc36772946a893e4d7c4dbb28", "score": "0.6875221", "text": "public interface OWLModuleProvider extends ModuleProvider<OWLLogicalAxiom> {\r\n\r\n /**\r\n * Calculates all unsat classes of the ontology and extracts modules for each of them.\r\n * @return the union of the modules of all unsat classes\r\n */\r\n public Set<OWLLogicalAxiom> getModuleUnsatClass();\r\n\r\n}", "title": "" }, { "docid": "734f4f399fe3b7b9526edb52aab4659c", "score": "0.6156429", "text": "public interface OrarOntology {\n\n\t/*\n\t * Signature:getters\n\t */\n\tpublic Set<OWLNamedIndividual> getIndividualsInSignature();\n\n\tpublic Set<OWLClass> getConceptNamesInSignature();\n\n\tpublic Set<OWLObjectProperty> getRoleNamesInSignature();\n\n\t/*\n\t * Signagure:setters/adders\n\t */\n\tpublic void addIndividualToSignature(OWLNamedIndividual individual);\n\n\tpublic void addIndividualsToSignature(Set<OWLNamedIndividual> individuals);\n\n\tpublic void addConceptNameToSignature(OWLClass atomicClass);\n\n\tpublic void addConceptNamesToSignature(Set<OWLClass> conceptNames);\n\n\tpublic void addRoleNameToSignature(OWLObjectProperty atomicRole);\n\n\tpublic void addRoleNamesToSignature(Set<OWLObjectProperty> atomicRoles);\n\n\t/*\n\t * Number of assertions when the ontology was first created: getters\n\t */\n\tpublic int getNumberOfInputConceptAssertions();\n\n\tpublic int getNumberOfConceptAssertions();\n\t\n\tpublic int getNumberOfEqualityAssertions();\n\n\tpublic int getNumberOfInputRoleAssertions();\n\n\tpublic int getNumberOfRoleAssertions();\n\t\n\tpublic Set<OWLAxiom> getOWLAPIMaterializedAssertions();\n\n\t/*\n\t * Number of assertions when the ontology was first created: setters\n\t */\n\tpublic void setNumberOfInputRoleAssertions(int numberOfInputRoleAssertions);\n\n\tpublic void setNumberOfInputConceptAssertions(int numberOfInputConceptAssertions);\n\n\t/*\n\t * Methods for testing correctness\n\t */\n\t/**\n\t * Get all OWLAPI concept assertions, <b> INCLUDING </b> those for\n\t * individuals/concepts generated during NORMALIZATION and DL-PROFILE\n\t * Extraction.<br>\n\t * This method is not efficient and only used for checking\n\t * correctness/comparing results with other tools via OWLAPI.\n\t * \n\t * @return a set of all OWLAPI concept assertions of the ontology. Note that\n\t * this include those for concepts/individuals generated during the\n\t * normalization and profile validation phase.\n\t */\n\tpublic Set<OWLClassAssertionAxiom> getOWLAPIConceptAssertionsWithNormalizationSymbols();\n\n\t/**\n\t * Get all OWLAPI concept assertions, <b> EXCLUDING </b> those for\n\t * individuals/concepts generated during NORMALIZATION and DL-PROFILE\n\t * Extraction.<br>\n\t * This method is not efficient and only used for checking\n\t * correctness/comparing results with other tools via OWLAPI.\n\t * \n\t * @return a set of OWLAPI concept assertions (taking sameas into account)\n\t * after removing those of concepts/individuals generated during\n\t * normalization and profile validation phase.\n\t */\n\tpublic Set<OWLClassAssertionAxiom> getOWLAPIConceptAssertionsWHITOUTNormalizationSymbols();\n\n\t/**\n\t * Get all OWLAPI role assertions, <b> INCLUDING </b> those for\n\t * individuals/concepts generated during NORMALIZATION and DL-PROFILE\n\t * Extraction.<br>\n\t * This method is not efficient and only used for checking\n\t * correctness/comparing results with other tools via OWLAPI.\n\t * \n\t * @return a set of all OWLAPI role assertions of the ontology.\n\t */\n\tpublic Set<OWLObjectPropertyAssertionAxiom> getOWLAPIRoleAssertionsWithNormalizationSymbols();\n\n\t/**\n\t * Get all OWLAPI role assertions, <b> EXCLUDING </b> those for\n\t * individuals/concepts generated during NORMALIZATION and DL-PROFILE\n\t * Extraction.<br>\n\t * This method is not efficient and only used for checking\n\t * correctness/comparing results with other tools via OWLAPI.\n\t * \n\t * @return a set of OWLAPI concept assertions after removing those of\n\t * concepts/individuals generated during normalization and profile\n\t * validation phase.\n\t */\n\tpublic Set<OWLObjectPropertyAssertionAxiom> getOWLAPIRoleAssertionsWITHOUTNormalizationSymbols();\n\n\t/*\n\t * Methods for DL fragments\n\t */\n\t/**\n\t * @return set target DL Fragment of this ontology. A Target DL Fragment is\n\t * the DL for which algorithms guarantee soundness and completeness.\n\t */\n\tpublic void setTargetDLFragment(DLFragment targetDLFragment);\n\n\t/**\n\t * @return get target DL Fragment of this ontology. A Target DL Fragment is\n\t * the DL for which algorithms guarantee soundness and completeness.\n\t */\n\tpublic DLFragment getTargetDLFragment();\n\n\t/**\n\t * @return get constructors really occurring in this ontology. This will be\n\t * used to design suitable optimization, e.g. optimizations for\n\t * ontology without nominals will be different from the ones with\n\t * nominals.\n\t */\n\tpublic Set<DLConstructor> getActualDLConstructors();\n\n\tpublic void setActualDLConstructors(Set<DLConstructor> constructors);\n\n\t/*\n\t * TBox\n\t */\n\t/**\n\t * @return a set of OWLAPI TBox axioms, including role-axioms\n\t */\n\tpublic Set<OWLAxiom> getTBoxAxioms();\n\n\tpublic void addTBoxAxioms(Set<OWLAxiom> tboxAxioms);\n\n\tpublic void addTBoxAxiom(OWLAxiom tboxAxiom);\n\n\t/*\n\t * Adding concept assertions\n\t */\n\tpublic boolean addConceptAssertion(OWLNamedIndividual individual, OWLClass concept);\n\n\tpublic boolean addManyConceptAssertions(OWLNamedIndividual originalInd, Set<OWLClass> concepts);\n\n\t/**\n\t * Adding role assertions.\n\t * \n\t * @param subject\n\t * @param role\n\t * @param object\n\t * @return true if new assertion has been added, false otherwise.\n\t */\n\tpublic boolean addRoleAssertion(OWLNamedIndividual subject, OWLObjectProperty role, OWLNamedIndividual object);\n\n\t/*\n\t * Methods for sameas assertions\n\t */\n\tpublic boolean addSameAsAssertion(OWLNamedIndividual individual, OWLNamedIndividual equalIndividual);\n\n\tpublic boolean addManySameAsAssertions(OWLNamedIndividual individual, Set<OWLNamedIndividual> equalIndividuals);\n\n\t/**\n\t * @param individual\n\t * @return a (possible empty) set of individuals that are equal to\n\t * {@code individual}\n\t */\n\tpublic Set<OWLNamedIndividual> getSameIndividuals(OWLNamedIndividual individual);\n\n\t/**\n\t * @param individual\n\t * @return a (possibly empty) set of asserted concepts for the given\n\t * individual\n\t */\n\tpublic Set<OWLClass> getAssertedConcepts(OWLNamedIndividual individual);\n\n\t/**\n\t * @param individual\n\t * @return get successor assertions (stored in a map: role --> set of\n\t * objects) of the given individual\n\t */\n\tpublic Map<OWLObjectProperty, Set<OWLNamedIndividual>> getSuccessorRoleAssertionsAsMap(\n\t\t\tOWLNamedIndividual subjectIndividual);\n\n\t/**\n\t * @param individual\n\t * @return get predecessor assertions (stored in a map: role --> set of\n\t * objects) of the given individual\n\t */\n\tpublic Map<OWLObjectProperty, Set<OWLNamedIndividual>> getPredecessorRoleAssertionsAsMap(\n\t\t\tOWLNamedIndividual objectIndividual);\n\n\tpublic Set<OWLNamedIndividual> getPredecessors(OWLNamedIndividual object, OWLObjectProperty role);\n\n\t/**\n\t * @param object\n\t * @param role\n\t * @return get a copy of all Predecessors\n\t */\n\tpublic Set<OWLNamedIndividual> getPredecessorsTakingEqualityIntoAccount(OWLNamedIndividual object,\n\t\t\tOWLObjectProperty role);\n\n\tpublic Set<OWLNamedIndividual> getSuccessors(OWLNamedIndividual subject, OWLObjectProperty role);\n\n\t/**\n\t * @param subject\n\t * @param role\n\t * @return get a copy of all Successors\n\t */\n\tpublic Set<OWLNamedIndividual> getSuccessorsTakingEqualityIntoAccount(OWLNamedIndividual subject,\n\t\t\tOWLObjectProperty role);\n\n\t/*\n\t * others\n\t */\n\tpublic SameAsBox getSameasBox();\n\n\t/**\n\t * @return entailed sameas assertion as a map. Note that this include (a\n\t * equivalent a) for every individuals a. And note that in the\n\t * datastructure we store only sameas assertions in which a has a\n\t * really different equivalent individual, e.g. b.\n\t */\n\tpublic Map<OWLNamedIndividual, Set<OWLNamedIndividual>> getEntailedSameasAssertions();\n\t\n\tpublic Set<OWLAxiom> getOWLAPISameasAssertions();\n\n\t/**\n\t * @param role\n\t * @return a copy of subjects occurring in role assertions of the role\n\t * {@code role}\n\t */\n\tpublic Set<OWLNamedIndividual> getSubjectsInRoleAssertions(OWLObjectProperty role);\n\n\t/**\n\t * @param role\n\t * @return a copy of objects occurring in role assertions of the role\n\t * {@code role}\n\t */\n\tpublic Set<OWLNamedIndividual> getObjectsInRoleAssertions(OWLObjectProperty role);\n\n\tpublic boolean addSameasAssertion(Set<OWLNamedIndividual> setOfSameasIndividuals);\n\tpublic void increaseNumberOfInputConceptAssertions(int addedNumber);\n\tpublic void increaseNumberOfInputRoleAssertions(int addedNumber);\n}", "title": "" }, { "docid": "3ecbda361889f0189bf9ee9253f8ad47", "score": "0.59432024", "text": "void inferOWLAxiom(OWLAxiomReference axiom) throws SWRLRuleEngineBridgeException;", "title": "" }, { "docid": "8501c07cbb2863bb421a3a67a5d3a682", "score": "0.5844969", "text": "public interface Module extends Element, DrawModule {\n\n /**\n * Gets incoming ports.\n * \n * @return incoming ports.\n */\n List<Port> getInPorts();\n\n /**\n * Gets outgoing ports.\n * \n * @return List of outgoing ports.\n */\n List<Port> getOutPorts();\n\n /**\n * Return the module's rectangle.\n * \n * @return Rectangle representing the module's shape.\n */\n Rectangle getRectangle();\n\n /**\n * Set the module's rectangle. <b>Note: this won't relayout the Module's ports' positions!</b>\n * \n * @param rectangle\n * Rectangle to set module's shape to.\n */\n void setRectangle(Rectangle rectangle);\n}", "title": "" }, { "docid": "3829f68b055506bec8e392b87644c73d", "score": "0.5835574", "text": "public interface DCLModule extends DCLStructureElement\n{\n}", "title": "" }, { "docid": "ecd0ca8b040144a61dba1b4e920f1d32", "score": "0.5833901", "text": "public interface OWLOntologyManagerA extends OWLOntologyManager {\n\n public OWLDataFactoryA getOWLDataFactory();\n\n}", "title": "" }, { "docid": "8be5aa8a913b856a8f6b94d26dccf67e", "score": "0.5821068", "text": "public interface Concept {\n\n\t//the Axiom that the concept belongs to.\n\t//Axiomnode host;\n\t\n\t\n\t/**\n\t * A print Method. It creates a Console output to make a Concept human readable.\n\t */\n\tpublic abstract void printvalue();\n\n\n\t/**\n\t * This Method finds the Atomic Concepts in a branching Concept Structure.\n\t * It traverses the nested Concept Tree and puts the Atom Names in a HashSet.\n\t * this list of Concept Atoms is used to fill the Concept Index Map.\n\t * @return a HashSet of Strings containing the Atomic Literals that occur in this Axiom.\n\t */\n\tpublic abstract HashSet<String> findAtoms();\n\n\n\t/**\n\t * \n\t * This creates new Axiomnodes depending on the available Axiomnodes.\n\t * It is named this way because it applies the Expansion Rules of the Tableau-Algorithm to a TBoxAxiom. \n\t * @param t the original Axiom that is being resolved\n\t */\n\tpublic abstract void applyTableau(SubsumptionAxiom t, Ontology o);\n\t\n\t/**\n\t * This creates new Axiomnodes depending on the available Axiomnodes.\n\t * It is named this way because it applies the Expansion Rules of the Tableau-Algorithm to an IndividualAxiom. \n\t * @param i\tthe original Axiom that is being resolved\n\t */\n\tpublic abstract void applyTableau(IndividualAxiom i, Ontology o);\n\n\t\n\t\n\tpublic abstract int hashCode();\n\t\n\tpublic abstract boolean equals(Object obj);\n\n\t\n\t\n}", "title": "" }, { "docid": "f62fc2c84d4fe73ba749e0fe245b80f3", "score": "0.58051354", "text": "public interface Module {\n}", "title": "" }, { "docid": "c61835fa7bafb23384a86c088f1b7633", "score": "0.5804682", "text": "S getAxiom();", "title": "" }, { "docid": "34428274d5bf832c8d1421f730d745cf", "score": "0.58045876", "text": "public interface Moral_dilemma extends WrappedIndividual {\n\n /* ***************************************************\n * Property http://webprotege.stanford.edu/moral_dilemma_presence\n */\n \n /**\n * Gets all property values for the moral_dilemma_presence property.<p>\n * \n * @returns a collection of values for the moral_dilemma_presence property.\n */\n Collection<? extends WrappedIndividual> getMoral_dilemma_presence();\n\n /**\n * Checks if the class has a moral_dilemma_presence property value.<p>\n * \n * @return true if there is a moral_dilemma_presence property value.\n */\n boolean hasMoral_dilemma_presence();\n\n /**\n * Adds a moral_dilemma_presence property value.<p>\n * \n * @param newMoral_dilemma_presence the moral_dilemma_presence property value to be added\n */\n void addMoral_dilemma_presence(WrappedIndividual newMoral_dilemma_presence);\n\n /**\n * Removes a moral_dilemma_presence property value.<p>\n * \n * @param oldMoral_dilemma_presence the moral_dilemma_presence property value to be removed.\n */\n void removeMoral_dilemma_presence(WrappedIndividual oldMoral_dilemma_presence);\n\n\n /* ***************************************************\n * Common interfaces\n */\n\n OWLNamedIndividual getOwlIndividual();\n\n OWLOntology getOwlOntology();\n\n void delete();\n\n}", "title": "" }, { "docid": "13391000e9be88d72b5050d0a2b9b7c6", "score": "0.5750981", "text": "public interface Artifact_Requirements extends Artifact {\n\n /* ***************************************************\n * Property http://www.semanticweb.org/morningstar/ontologies/2019/9/untitled-ontology-9#hasDomain\n */\n \n /**\n * Gets all property values for the hasDomain property.<p>\n * \n * @returns a collection of values for the hasDomain property.\n */\n Collection<? extends Discipline> getHasDomain();\n\n /**\n * Checks if the class has a hasDomain property value.<p>\n * \n * @return true if there is a hasDomain property value.\n */\n boolean hasHasDomain();\n\n /**\n * Adds a hasDomain property value.<p>\n * \n * @param newHasDomain the hasDomain property value to be added\n */\n void addHasDomain(Discipline newHasDomain);\n\n /**\n * Removes a hasDomain property value.<p>\n * \n * @param oldHasDomain the hasDomain property value to be removed.\n */\n void removeHasDomain(Discipline oldHasDomain);\n\n\n /* ***************************************************\n * Property http://www.semanticweb.org/morningstar/ontologies/2019/9/untitled-ontology-9#hasRecommendation\n */\n \n /**\n * Gets all property values for the hasRecommendation property.<p>\n * \n * @returns a collection of values for the hasRecommendation property.\n */\n Collection<? extends PM_Learning_Material> getHasRecommendation();\n\n /**\n * Checks if the class has a hasRecommendation property value.<p>\n * \n * @return true if there is a hasRecommendation property value.\n */\n boolean hasHasRecommendation();\n\n /**\n * Adds a hasRecommendation property value.<p>\n * \n * @param newHasRecommendation the hasRecommendation property value to be added\n */\n void addHasRecommendation(PM_Learning_Material newHasRecommendation);\n\n /**\n * Removes a hasRecommendation property value.<p>\n * \n * @param oldHasRecommendation the hasRecommendation property value to be removed.\n */\n void removeHasRecommendation(PM_Learning_Material oldHasRecommendation);\n\n\n /* ***************************************************\n * Property http://www.semanticweb.org/morningstar/ontologies/2019/9/untitled-ontology-9#isConsultedBy\n */\n \n /**\n * Gets all property values for the isConsultedBy property.<p>\n * \n * @returns a collection of values for the isConsultedBy property.\n */\n Collection<? extends Role> getIsConsultedBy();\n\n /**\n * Checks if the class has a isConsultedBy property value.<p>\n * \n * @return true if there is a isConsultedBy property value.\n */\n boolean hasIsConsultedBy();\n\n /**\n * Adds a isConsultedBy property value.<p>\n * \n * @param newIsConsultedBy the isConsultedBy property value to be added\n */\n void addIsConsultedBy(Role newIsConsultedBy);\n\n /**\n * Removes a isConsultedBy property value.<p>\n * \n * @param oldIsConsultedBy the isConsultedBy property value to be removed.\n */\n void removeIsConsultedBy(Role oldIsConsultedBy);\n\n\n /* ***************************************************\n * Property http://www.semanticweb.org/morningstar/ontologies/2019/9/untitled-ontology-9#isResponsibleFor\n */\n \n /**\n * Gets all property values for the isResponsibleFor property.<p>\n * \n * @returns a collection of values for the isResponsibleFor property.\n */\n Collection<? extends Role> getIsResponsibleFor();\n\n /**\n * Checks if the class has a isResponsibleFor property value.<p>\n * \n * @return true if there is a isResponsibleFor property value.\n */\n boolean hasIsResponsibleFor();\n\n /**\n * Adds a isResponsibleFor property value.<p>\n * \n * @param newIsResponsibleFor the isResponsibleFor property value to be added\n */\n void addIsResponsibleFor(Role newIsResponsibleFor);\n\n /**\n * Removes a isResponsibleFor property value.<p>\n * \n * @param oldIsResponsibleFor the isResponsibleFor property value to be removed.\n */\n void removeIsResponsibleFor(Role oldIsResponsibleFor);\n\n\n /* ***************************************************\n * Common interfaces\n */\n\n OWLNamedIndividual getOwlIndividual();\n\n OWLOntology getOwlOntology();\n\n void delete();\n\n}", "title": "" }, { "docid": "b632e22bbe08b4ad15de0ad9704c0d17", "score": "0.568928", "text": "public interface Advance extends Comparable<Advance> {\r\n\t/**\r\n\t * Compare this advance with another.\r\n\t * \r\n\t * @param advance\r\n\t * The other advance\r\n\t * @return The result of the comparison\r\n\t * @see java.lang.Comparable#compareTo(java.lang.Object)\r\n\t */\r\n\tint compareTo(final Advance advance);\r\n\r\n\t/**\r\n\t * Converts the source Module into the one specified by id, using\r\n\t * sub-Modules from the given Vault.\r\n\t * \r\n\t * @param source\r\n\t * The Module to be converted; usually a \"blank\" one returned by\r\n\t * the Module constructor.\r\n\t * @param vault\r\n\t * A vault to draw sub-Modules from.\r\n\t * @param ident\r\n\t * Specifies what Module to generate\r\n\t * @return The generated Module.\r\n\t * \r\n\t * TODO: Should this be void?\r\n\t */\r\n\tModule convert(final Module source, final Vault vault, final String ident);\r\n\r\n\t/**\r\n\t * Some advances give bonuses to all modules of a certain type; this\r\n\t * function is thus called when the advance is discovered.\r\n\t * \r\n\t * @param root\r\n\t * The root of a tree of Modules to be traversed to make the\r\n\t * normative changes.\r\n\t * \r\n\t * TODO: Figure out a way to make sure a change isn't made more than once.\r\n\t */\r\n\tvoid normativeEffect(final Module root);\r\n}", "title": "" }, { "docid": "166bbb4c82cf916715bc2a4d107ed48e", "score": "0.5653733", "text": "void setAxiom(String axiom);", "title": "" }, { "docid": "1d08c364bef1aac708044ec4cf2acf7b", "score": "0.56206334", "text": "public interface IArchitecture_Constraints extends cleon.common.doc.metamodel.spec.chapter.javamodel.IAbstractChapter {\r\n\r\n public static final ch.actifsource.core.INode TYPE_ID = new ch.actifsource.core.Resource(\"b06163b8-ffc9-11e5-bd7b-8b0acf27d441\");\r\n \r\n // relations\r\n \r\n public cleon.architecturemethods.arc42.metamodel.spec._02_architecture_constraints.javamodel.ITechnicalConstraints selectTechnicalConstraints();\r\n \r\n public cleon.architecturemethods.arc42.metamodel.spec._02_architecture_constraints.javamodel.IOrganizationalConstraints selectOrganizationalConstraints();\r\n \r\n}", "title": "" }, { "docid": "2ad153fc846d7f56ce07c6f07a5a0a90", "score": "0.5599998", "text": "public interface AnalysisBehavior extends EObject\n{\n}", "title": "" }, { "docid": "fd1025875cd5cbe35dd00428d64c4178", "score": "0.54723763", "text": "public interface Project_Time_Management extends PM_Learning_Material {\n\n /* ***************************************************\n * Property http://www.semanticweb.org/morningstar/ontologies/2019/9/untitled-ontology-9#hasLearningMaterial\n */\n \n /**\n * Gets all property values for the hasLearningMaterial property.<p>\n * \n * @returns a collection of values for the hasLearningMaterial property.\n */\n Collection<? extends Discipline> getHasLearningMaterial();\n\n /**\n * Checks if the class has a hasLearningMaterial property value.<p>\n * \n * @return true if there is a hasLearningMaterial property value.\n */\n boolean hasHasLearningMaterial();\n\n /**\n * Adds a hasLearningMaterial property value.<p>\n * \n * @param newHasLearningMaterial the hasLearningMaterial property value to be added\n */\n void addHasLearningMaterial(Discipline newHasLearningMaterial);\n\n /**\n * Removes a hasLearningMaterial property value.<p>\n * \n * @param oldHasLearningMaterial the hasLearningMaterial property value to be removed.\n */\n void removeHasLearningMaterial(Discipline oldHasLearningMaterial);\n\n\n /* ***************************************************\n * Property http://www.semanticweb.org/morningstar/ontologies/2019/9/untitled-ontology-9#isRecommendedTo\n */\n \n /**\n * Gets all property values for the isRecommendedTo property.<p>\n * \n * @returns a collection of values for the isRecommendedTo property.\n */\n Collection<? extends Artifact> getIsRecommendedTo();\n\n /**\n * Checks if the class has a isRecommendedTo property value.<p>\n * \n * @return true if there is a isRecommendedTo property value.\n */\n boolean hasIsRecommendedTo();\n\n /**\n * Adds a isRecommendedTo property value.<p>\n * \n * @param newIsRecommendedTo the isRecommendedTo property value to be added\n */\n void addIsRecommendedTo(Artifact newIsRecommendedTo);\n\n /**\n * Removes a isRecommendedTo property value.<p>\n * \n * @param oldIsRecommendedTo the isRecommendedTo property value to be removed.\n */\n void removeIsRecommendedTo(Artifact oldIsRecommendedTo);\n\n\n /* ***************************************************\n * Common interfaces\n */\n\n OWLNamedIndividual getOwlIndividual();\n\n OWLOntology getOwlOntology();\n\n void delete();\n\n}", "title": "" }, { "docid": "0faebc2ed960a85f7d6b3687e564b2be", "score": "0.5452011", "text": "@Override\n \tpublic boolean addImpl(OWLAxiom axiom) throws SQLException {\n \t\treturn false;\n \t}", "title": "" }, { "docid": "9fa3d82f6c1eb9d2a4321d98c3b1f259", "score": "0.5438739", "text": "public interface LegacyOWLParserFactory extends OWLParserFactory{\n\n}", "title": "" }, { "docid": "f0d363859cb2baf27bb183af281e1a1e", "score": "0.54300666", "text": "ThesisModule getThesisModules();", "title": "" }, { "docid": "019de65944cc2ed751b9a63ff5a9924f", "score": "0.5397144", "text": "public abstract void m14334OooO0o0();", "title": "" }, { "docid": "6e966ca3cd6525c2489f234ca92df311", "score": "0.53507686", "text": "Module createModule();", "title": "" }, { "docid": "5087edded510d937615e5dd44f9a8639", "score": "0.53393584", "text": "public OWLOntology getMireotBasic(Set<IRI> targetClasses, OWLOntologyManager manager, Set<IRI> sourceOntologies) {\n\n try {\n //create variables required\n MireotManager mireotManager = new MireotManager();\n //variables for storing ontology module\n // Get hold of an ontology manager\n OWLOntologyManager tempManager = OWLManager.createOWLOntologyManager();\n IRI iriTemp = IRI.create(\"http://mireotmodule.owl\");\n OWLOntology tempOntology = tempManager.createOntology(iriTemp);\n OWLDataFactory factory = tempManager.getOWLDataFactory();\n Set<OWLClass> namedParents = new HashSet<OWLClass>();\n Set<OWLAnnotation> annotations = new HashSet<OWLAnnotation>();\n\n //iterate through target classes and extract basic mireot\n for (IRI sourceIRI : sourceOntologies) {\n for (IRI target : targetClasses) {\n\n OWLClass targetOWLClass = factory.getOWLClass(target);\n\n //get named parents of target class\n namedParents = mireotManager.getNamedClassParents(manager, sourceIRI, target);\n\n //add named classes to ontology\n for (OWLClass parentClass : namedParents) {\n OWLDeclarationAxiom namedParentAxiom = factory.getOWLDeclarationAxiom(parentClass);\n\n OWLAxiom subclassAxiom = factory.getOWLSubClassOfAxiom(targetOWLClass, parentClass);\n\n tempManager.addAxiom(tempOntology, namedParentAxiom);\n tempManager.addAxiom(tempOntology, subclassAxiom);\n }\n\n //get annotations\n annotations = mireotManager.getClassAnnotations(manager, sourceIRI, target);\n\n for (OWLAnnotation a : annotations) {\n OWLAnnotationAxiom annotationAxiom = factory.getOWLAnnotationAssertionAxiom(target, a);\n tempManager.addAxiom(tempOntology, annotationAxiom);\n }\n\n }\n }\n //get the ontology\n OWLOntology onto = tempManager.getOntology(iriTemp);\n\n return tempManager.getOntology(iriTemp);\n\n } catch (OWLOntologyCreationException e) {\n e.printStackTrace();\n }\n\n //if all else fails\n return null;\n }", "title": "" }, { "docid": "8a88df42447313ecc999ad3fdce18d41", "score": "0.5334983", "text": "public interface IRoleInclusion extends IAxiom {\r\n \r\n /**\r\n * Returns the left hand side of the expression.\r\n * \r\n * @return\r\n */\r\n public IRole[] lhs();\r\n \r\n /**\r\n * Returns the right hand side of the expression.\r\n * \r\n * @return\r\n */\r\n public IRole rhs();\r\n \r\n}", "title": "" }, { "docid": "6d66043e17a4bff99b4d33c5d9f87df1", "score": "0.5330516", "text": "public abstract Module getStandaloneModules();", "title": "" }, { "docid": "f7db0c4accab9c5101f4b00a48f388f2", "score": "0.5291898", "text": "@Test\n public void processModuleWithList() {\n\n schemaProvider.processSchemaRegistry(null);\n DefaultYangSchemaRegistry registry = schemaProvider\n .getDefaultYangSchemaRegistry();\n\n // As an application, creates the object.\n\n // Creates multi typedef values.\n Find find1 = new Find(true);\n Find find2 = new Find(false);\n Find find3 = new Find(true);\n Find find4 = new Find(false);\n\n // Creates two lists, with the typedef values added.\n List<Find> findList1 = new ArrayList<>();\n List<Find> findList2 = new ArrayList<>();\n findList1.add(find1);\n findList1.add(find2);\n findList2.add(find3);\n findList2.add(find4);\n\n // Creates two list contents.\n Ytblistlist list1 = new DefaultYtblistlist\n .YtblistlistBuilder().prediction(findList1).build();\n Ytblistlist list2 = new DefaultYtblistlist\n .YtblistlistBuilder().prediction(findList2).build();\n\n List<Ytblistlist> ytbList = new ArrayList<>();\n ytbList.add(list1);\n ytbList.add(list2);\n\n // Creates module having list.\n YtbModuleWithList listModule = new YtbModuleWithListOpParam\n .YtbModuleWithListBuilder().ytblistlist(ytbList).build();\n\n // As YSB or YAB protocol sets the value for YTB.\n List<Object> objectList = new ArrayList<>();\n objectList.add(listModule);\n\n // Builds YANG tree in YTB.\n DefaultYangTreeBuilder treeBuilder = new DefaultYangTreeBuilder();\n YdtBuilder ydtBuilder = treeBuilder.getYdtBuilderForYo(\n objectList, ROOT_NAME, ROOT_NAME_SPACE,\n EDIT_CONFIG_REQUEST, registry);\n\n // Receives YDT context and check the tree that is built.\n YdtContext context = ydtBuilder.getRootNode();\n\n // Gets the first module from logical root node.\n YdtContext module = context.getFirstChild();\n YdtContextOperationType opType = ((YdtNode) module)\n .getYdtContextOperationType();\n\n assertThat(getInCrtName(MODULE, MOD_LIST),\n module.getName(), is(MOD_LIST));\n assertThat(getInCrtOpType(MODULE, MOD_LIST), opType, nullValue());\n\n // Gets the first list from module YtbModuleWithList.\n YdtContext firstList = module.getFirstChild();\n YdtContextOperationType listOpType = ((YdtNode) firstList)\n .getYdtContextOperationType();\n // Checks the contents in the list.\n assertThat(getInCrtName(LIST, LIST_LIST),\n firstList.getName(), is(LIST_LIST));\n assertThat(getInCrtOpType(LIST, LIST_LIST), listOpType, nullValue());\n\n // Gets the contents of the leaf-list in the first list content.\n YdtContext leafListInList1 = firstList.getFirstChild();\n\n // Evaluates the leaf-list values.\n Set leafListValue1 = leafListInList1.getValueSet();\n assertThat(getInCrtName(LEAF_LIST, PREDICTION),\n leafListInList1.getName(), is(PREDICTION));\n assertThat(getInCrtLeafListValue(PREDICTION, TRUE),\n leafListValue1.contains(TRUE), is(true));\n assertThat(getInCrtLeafListValue(PREDICTION, FALSE),\n leafListValue1.contains(FALSE), is(true));\n\n // Gets the second list from module YtbModuleWithList.\n YdtContext secondList = firstList.getNextSibling();\n\n // Gets the contents of the leaf-list in the second list content.\n YdtContext leafListInList2 = secondList.getFirstChild();\n // Evaluates the leaf-list values.\n Set leafListValue2 = leafListInList2.getValueSet();\n assertThat(getInCrtName(LEAF_LIST, PREDICTION),\n leafListInList2.getName(), is(PREDICTION));\n assertThat(getInCrtLeafListValue(PREDICTION, TRUE),\n leafListValue2.contains(TRUE), is(true));\n assertThat(getInCrtLeafListValue(PREDICTION, FALSE),\n leafListValue2.contains(FALSE), is(true));\n }", "title": "" }, { "docid": "653935220708c271b024fb92ccd4b059", "score": "0.5288045", "text": "Module getModule();", "title": "" }, { "docid": "61dbde87a2bbb89255fca7fc492fee45", "score": "0.52827054", "text": "public interface Module extends Comparable<Module> {\n\n /**\n * @return The module's unique identifier.\n */\n long getModuleId();\n\n /**\n * @return The version of the module's manifest.\n */\n String getManifestVersion();\n\n /**\n * @return The module's symbolic name.\n */\n String getSymbolicName();\n\n /**\n * @return The module's version.\n */\n Version getVersion();\n\n /**\n * @return The current state of this module.\n */\n ModuleState getState();\n\n /**\n * @return The module's name, or <code>null</code> if not set.\n */\n String getName();\n\n /**\n * @return The name of the vendor of this module, or <code>null</code> if not set.\n */\n String getVendor();\n\n /**\n * @return The changelog information of this module, or <code>null</code> if not set.\n */\n String getChangelog();\n\n /**\n * @return The copyright notice of this module, or <code>null</code> if not set.\n */\n String getCopyright();\n\n /**\n * @return The contact address of the vendor of this mdule, or <code>null</code> if not set.\n */\n String getContactAddress();\n\n /**\n * @return The agency providing the funding for development, or <code>null</code> if not set.\n */\n String getFunding();\n\n /**\n * @return The module's description, or <code>null</code> if not set.\n */\n String getDescription();\n\n /**\n * @return The URL of the home page or documentation of this module, or <code>null</code> if not set.\n */\n String getUrl();\n\n /**\n * @return The location of the module's 'about.html' file.\n */\n String getAboutUrl();\n\n /**\n * @return The location of the module's license.\n */\n String getLicenseUrl();\n\n /**\n * @return The content length in bytes of the module's archive file (if any).\n */\n long getContentLength();\n\n /**\n * @return The date of the last modification expressed in milliseconds since 01.01.1970.\n */\n long getLastModified();\n\n /**\n * @return The module's categories.\n */\n String[] getCategories();\n\n /**\n * @return The module's packaging, e.g. \"dir\", \"jar\", \"zip\".\n */\n String getPackaging();\n\n /**\n * @return <code>true</true> if the module uses native libraries via JNI.\n */\n boolean isNative();\n\n /**\n * @return The name of this module's activator class.\n */\n String getActivatorClassName();\n\n /**\n * @return The module's (file) location.\n */\n URL getLocation();\n\n /**\n * @return The module's declared dependencies.\n */\n Dependency[] getDeclaredDependencies();\n\n /**\n * @return The module's declared extension points.\n */\n ExtensionPoint[] getExtensionPoints();\n\n /**\n * Gets the extension point for the given extension point identifier.\n *\n * @param extensionPointId The extension point identifier. Can by fully qualified\n * (<code>&lt;moduleId&gt;:&lt;extensionPointId&gt;</code>) or simple.\n *\n * @return The extension point.\n */\n ExtensionPoint getExtensionPoint(String extensionPointId);\n\n /**\n * Gets the extension with the specified identifier.\n *\n * @param extensionId The extension identifier.\n *\n * @return The extension or {@code null} if no such was found.\n */\n Extension getExtension(String extensionId);\n\n /**\n * @return The module's declared extensions.\n */\n Extension[] getExtensions();\n\n /**\n * Uninstalls this module from its runtime.\n *\n * @param pm the progress monitor\n *\n * @throws CoreException if an error occurred\n */\n void uninstall(ProgressMonitor pm) throws CoreException;\n\n /**\n * Gets the class loader used by this module.\n *\n * @return The class loader, or {@code null} if this module has not yet been resolved.\n */\n ClassLoader getClassLoader();\n\n /**\n * Loads the class with the specified name.\n *\n * @param name The <a href=\"#name\">binary name</a> of the class\n *\n * @return The resulting <tt>Class</tt> object\n *\n * @throws ClassNotFoundException If the class was not found\n * @see ClassLoader#loadClass(String)\n */\n Class<?> loadClass(String name) throws ClassNotFoundException;\n\n /**\n * Finds the resource with the given name. A resource is some data\n * (images, audio, text, etc) that can be accessed by class code in a way\n * that is independent of the location of the code.\n * <p/>\n * <p> The name of a resource is a '<tt>/</tt>'-separated path name that\n * identifies the resource.\n *\n * @param name The resource name\n *\n * @return A <tt>URL</tt> object for reading the resource, or\n * <tt>null</tt> if the resource could not be found or the invoker\n * doesn't have adequate privileges to get the resource.\n *\n * @see ClassLoader#getResource(String)\n */\n URL getResource(String name);\n\n /**\n * Returns an input stream for reading the specified resource.\n * <p>The name of a resource is a <tt>/</tt>-separated path name that\n * identifies the resource.\n *\n * @param name The resource name\n *\n * @return An input stream for reading the resource, or <tt>null</tt>\n * if the resource could not be found\n *\n * @see ClassLoader#getResourceAsStream(String)\n */\n InputStream getResourceAsStream(String name);\n\n /**\n * Finds all the resources with the given name. A resource is some data\n * (images, audio, text, etc) that can be accessed by class code in a way\n * that is independent of the location of the code.\n * <p/>\n * <p>The name of a resource is a <tt>/</tt>-separated path name that\n * identifies the resource.\n *\n * @param name The resource name\n *\n * @return An enumeration of {@link java.net.URL <tt>URL</tt>} objects for\n * the resource. If no resources could be found, the enumeration\n * will be empty. Resources that the module doesn't have\n * access to will not be in the enumeration.\n *\n * @throws java.io.IOException If I/O errors occur\n * @see ClassLoader#getResources(String)\n */\n Enumeration<URL> getResources(String name) throws IOException;\n}", "title": "" }, { "docid": "fba8e1b7a2d3e8320a72a0540da513be", "score": "0.5236129", "text": "public Set<OWLLogicalAxiom> getModuleUnsatClass();", "title": "" }, { "docid": "d0f5b47f006cca55f83cb5350600359e", "score": "0.52351665", "text": "public interface IIsoform extends IEntity {\n Collection<IDomain> GetDomains();\n\n String GetGeneSymbol();\n\n String GetPdbPath();\n\n void AddPairwiseInteraction(IPairwiseInteraction pairwiseInteraction);\n\n Collection<IPairwiseInteraction> GetPairwiseInteractions();\n\n IGene GetGene();\n}", "title": "" }, { "docid": "1efd938e8ee14c92ea86611422fa8218", "score": "0.5233183", "text": "public interface JWSModule {\n void setSignatureModule(SignatureModule signatureModul);\n\n SignatureModule getSignatureModule();\n\n String signMachineCodeRepOfReceipt(String machineCodeRepOfReceipt, RKSuite rkSuite);\n\n List<String> signMachineCodeRepOfReceipt(List<String> machineCodeRepOfReceiptList, RKSuite rkSuite);\n\n //JUST FOR DEMONSTRATION PURPOSES\n void setDamageIsPossible(boolean damageIsPossible);\n boolean isDamagePossible();\n\n void setProbabilityOfDamagedSignatureDevice(double probabilityOfDamagedSignatureDevice);\n double getProbabilityOfDamagedSignatureDevice();\n\n}", "title": "" }, { "docid": "4c6b0b3f2ece9b3def44fa10137e5d02", "score": "0.5224203", "text": "@SuppressWarnings(\"all\")\r\npublic interface StatisticsProvider extends org.openanzo.rdf.jastor.Thing {\r\n\t\r\n\t/**\r\n\t * The rdf:type for this ontology class\r\n */\r\n\tpublic static final org.openanzo.rdf.URI TYPE = org.openanzo.rdf.jastor.ThingFactory.valueFactory.createURI(\"http://openanzo.org/ontologies/2008/07/System#StatisticsProvider\");\r\n\t\r\n\r\n\t/**\r\n\t * The Anzo Property for title \r\n\t * <p>(URI: http://purl.org/dc/elements/1.1/title)</p>\r\n\t * <br> \r\n\t */\r\n\tpublic static org.openanzo.rdf.URI titleProperty = org.openanzo.rdf.jastor.ThingFactory.valueFactory.createURI(\"http://purl.org/dc/elements/1.1/title\");\r\n\r\n\r\n\t/**\r\n\t * The Anzo Property for description \r\n\t * <p>(URI: http://purl.org/dc/elements/1.1/description)</p>\r\n\t * <br> \r\n\t */\r\n\tpublic static org.openanzo.rdf.URI descriptionProperty = org.openanzo.rdf.jastor.ThingFactory.valueFactory.createURI(\"http://purl.org/dc/elements/1.1/description\");\r\n\r\n\r\n\t/**\r\n\t * The Anzo Property for statisticsEnabled \r\n\t * <p>(URI: http://openanzo.org/ontologies/2008/07/System#statisticsEnabled)</p>\r\n\t * <br> \r\n\t */\r\n\tpublic static org.openanzo.rdf.URI statisticsEnabledProperty = org.openanzo.rdf.jastor.ThingFactory.valueFactory.createURI(\"http://openanzo.org/ontologies/2008/07/System#statisticsEnabled\");\r\n\r\n\r\n\t/**\r\n\t * The Anzo Property for statistic \r\n\t * <p>(URI: http://openanzo.org/ontologies/2008/07/System#statistic)</p>\r\n\t * <br> \r\n\t */\r\n\tpublic static org.openanzo.rdf.URI statisticProperty = org.openanzo.rdf.jastor.ThingFactory.valueFactory.createURI(\"http://openanzo.org/ontologies/2008/07/System#statistic\");\r\n\r\n\r\n\r\n\r\n\t/**\r\n\t * Gets the 'title' property value from the given graph\r\n\t * @return\t\t{@link java.lang.String}\r\n\t * @see\t\t\t#titleProperty\r\n\t * @throws org.openanzo.rdf.jastor.JastorException\r\n\t */\r\n\tpublic java.lang.String getTitle() throws org.openanzo.rdf.jastor.JastorException;\r\n\t\r\n\t/**\r\n\t * Gets the 'title' property value\r\n\t * @param \t\tincludeEntireDataset Get the properties from the entire dataset, and not just the namedgraph\r\n\t * @return\t\t{@link java.lang.String}\r\n\t * @see\t\t\t#titleProperty\r\n\t * @throws org.openanzo.rdf.jastor.JastorException\r\n\t */\r\n\tpublic java.lang.String getTitle(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException;\r\n\r\n\t/**\r\n\t * Sets the 'title' property value\r\n\t * @param\ttitle\t{@link java.lang.String}, the value to set\r\n\t * @see\t\t\t#titleProperty\r\n\t * @throws org.openanzo.rdf.jastor.JastorException\r\n\t */\r\n\tpublic void setTitle(java.lang.String title) throws org.openanzo.rdf.jastor.JastorException;\r\n\r\n/**\r\n\t * Clears all values for 'title'. \r\n\t * @param \t\tincludeEntireDataset Delete the properties from the entire dataset, and not just the namedgraph\r\n\t * @see\t\t\t#titleProperty\r\n\t * @throws org.openanzo.rdf.jastor.JastorException\r\n\t */\r\n\tpublic void clearTitle(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException;\r\n\t/**\r\n\t * Gets the 'description' property value from the given graph\r\n\t * @return\t\t{@link java.lang.String}\r\n\t * @see\t\t\t#descriptionProperty\r\n\t * @throws org.openanzo.rdf.jastor.JastorException\r\n\t */\r\n\tpublic java.lang.String getDescription() throws org.openanzo.rdf.jastor.JastorException;\r\n\t\r\n\t/**\r\n\t * Gets the 'description' property value\r\n\t * @param \t\tincludeEntireDataset Get the properties from the entire dataset, and not just the namedgraph\r\n\t * @return\t\t{@link java.lang.String}\r\n\t * @see\t\t\t#descriptionProperty\r\n\t * @throws org.openanzo.rdf.jastor.JastorException\r\n\t */\r\n\tpublic java.lang.String getDescription(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException;\r\n\r\n\t/**\r\n\t * Sets the 'description' property value\r\n\t * @param\tdescription\t{@link java.lang.String}, the value to set\r\n\t * @see\t\t\t#descriptionProperty\r\n\t * @throws org.openanzo.rdf.jastor.JastorException\r\n\t */\r\n\tpublic void setDescription(java.lang.String description) throws org.openanzo.rdf.jastor.JastorException;\r\n\r\n/**\r\n\t * Clears all values for 'description'. \r\n\t * @param \t\tincludeEntireDataset Delete the properties from the entire dataset, and not just the namedgraph\r\n\t * @see\t\t\t#descriptionProperty\r\n\t * @throws org.openanzo.rdf.jastor.JastorException\r\n\t */\r\n\tpublic void clearDescription(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException;\r\n\t/**\r\n\t * Gets the 'statisticsEnabled' property value from the given graph\r\n\t * @return\t\t{@link java.lang.Boolean}\r\n\t * @see\t\t\t#statisticsEnabledProperty\r\n\t * @throws org.openanzo.rdf.jastor.JastorException\r\n\t */\r\n\tpublic java.lang.Boolean getStatisticsEnabled() throws org.openanzo.rdf.jastor.JastorException;\r\n\t\r\n\t/**\r\n\t * Gets the 'statisticsEnabled' property value\r\n\t * @param \t\tincludeEntireDataset Get the properties from the entire dataset, and not just the namedgraph\r\n\t * @return\t\t{@link java.lang.Boolean}\r\n\t * @see\t\t\t#statisticsEnabledProperty\r\n\t * @throws org.openanzo.rdf.jastor.JastorException\r\n\t */\r\n\tpublic java.lang.Boolean getStatisticsEnabled(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException;\r\n\r\n\t/**\r\n\t * Sets the 'statisticsEnabled' property value\r\n\t * @param\tstatisticsEnabled\t{@link java.lang.Boolean}, the value to set\r\n\t * @see\t\t\t#statisticsEnabledProperty\r\n\t * @throws org.openanzo.rdf.jastor.JastorException\r\n\t */\r\n\tpublic void setStatisticsEnabled(java.lang.Boolean statisticsEnabled) throws org.openanzo.rdf.jastor.JastorException;\r\n\r\n/**\r\n\t * Clears all values for 'statisticsEnabled'. \r\n\t * @param \t\tincludeEntireDataset Delete the properties from the entire dataset, and not just the namedgraph\r\n\t * @see\t\t\t#statisticsEnabledProperty\r\n\t * @throws org.openanzo.rdf.jastor.JastorException\r\n\t */\r\n\tpublic void clearStatisticsEnabled(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException;\r\n\t/**\r\n\t * Get an Iterator the 'statistic' property values. This Iteartor\r\n\t * may be used to remove all such values.\r\n\t * @return\t\t{@link java.util.Collection} of {@link org.openanzo.ontologies.system.Statistic}\r\n\t * @see\t\t\t#statisticProperty\r\n\t * @throws org.openanzo.rdf.jastor.JastorException\r\n\t */\r\n\tpublic java.util.Collection<org.openanzo.ontologies.system.Statistic> getStatistic() throws org.openanzo.rdf.jastor.JastorException;\r\n\r\n\t/**\r\n\t * Get an Iterator the 'statistic' property values. This Iteartor\r\n\t * may be used to remove all such values.\r\n\t * @param \t\tincludeEntireDataset Get the properties from the entire dataset, and not just the namedgraph\r\n\t * @return\t\t{@link java.util.Collection} of {@link org.openanzo.ontologies.system.Statistic}\r\n\t * @see\t\t\t#statisticProperty\r\n\t * @throws org.openanzo.rdf.jastor.JastorException\r\n\t */\r\n\tpublic java.util.Collection<org.openanzo.ontologies.system.Statistic> getStatistic(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException;\r\n\t\r\n\r\n\t/**\r\n\t * Adds a value for the 'statistic' property\r\n\t * @param\tstatistic\tThe {@link org.openanzo.ontologies.system.Statistic} to add\r\n\t * @see\t\t\t#statisticProperty\r\n\t * @throws org.openanzo.rdf.jastor.JastorException\r\n\t */\r\n\tpublic void addStatistic(org.openanzo.ontologies.system.Statistic statistic) throws org.openanzo.rdf.jastor.JastorException;\r\n\t\r\n\t/**\r\n\t * Adds an anonymous value for the 'statistic' property\r\n\t * @return\t\tThe anoymous {@link org.openanzo.ontologies.system.Statistic} created\r\n\t * @see\t\t\t#statisticProperty\r\n\t * @throws org.openanzo.rdf.jastor.JastorException\r\n\t */\r\n\tpublic org.openanzo.ontologies.system.Statistic addStatistic() throws org.openanzo.rdf.jastor.JastorException;\r\n\t\r\n\t/**\r\n\t * Adds a value for the 'statistic' property. This\r\n\t * method is equivalent constructing a new instance of {@link org.openanzo.ontologies.system.Statistic} with the factory\r\n\t * and calling addStatistic(org.openanzo.ontologies.system.Statistic statistic)\r\n\t * The resource argument have rdf:type http://openanzo.org/ontologies/2008/07/System#Statistic. That is, this method\r\n\t * should not be used as a shortcut for creating new objects in the model.\r\n\t * @param\tresource\tThe {@link org.openanzo.rdf.Resource} to add\r\n\t * @return org.openanzo.ontologies.system.Statistic, value added\r\n\t * @see\t\t\t#statisticProperty\r\n\t * @throws org.openanzo.rdf.jastor.JastorException\r\n\t */\r\n\tpublic org.openanzo.ontologies.system.Statistic addStatistic(org.openanzo.rdf.Resource resource) throws org.openanzo.rdf.jastor.JastorException;\r\n\t\r\n\t/**\r\n\t * Removes a value for the 'statistic' property. This method should not\r\n\t * be invoked while iterator through values. In that case, the remove() method of the Iterator\r\n\t * itself should be used.\r\n\t * @param\tstatistic\tThe {@link org.openanzo.ontologies.system.Statistic} to remove\r\n\t * @see\t\t\t#statisticProperty\r\n\t * @throws org.openanzo.rdf.jastor.JastorException\r\n\t */\r\n\tpublic void removeStatistic(org.openanzo.ontologies.system.Statistic statistic) throws org.openanzo.rdf.jastor.JastorException;\r\n\r\n\t\t\r\n\t/**\r\n\t * Removes a value for the 'statistic' property. This method should not\r\n\t * be invoked while iterator through values. In that case, the remove() method of the Iterator\r\n\t * itself should be used.\r\n\t * @param\tstatistic\tThe {@link org.openanzo.rdf.Resource} to remove\r\n\t * @see\t\t\t#statisticProperty\r\n\t * @throws org.openanzo.rdf.jastor.JastorException\r\n\t */\r\n\tpublic void removeStatistic(org.openanzo.rdf.Resource statistic) throws org.openanzo.rdf.jastor.JastorException;\r\n\r\n\r\n/**\r\n\t * Clears all values for 'statistic'. \r\n\t * @param \t\tincludeEntireDataset Delete the properties from the entire dataset, and not just the namedgraph\r\n\t * @see\t\t\t#statisticProperty\r\n\t * @throws org.openanzo.rdf.jastor.JastorException\r\n\t */\r\n\tpublic void clearStatistic(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException;\r\n\r\n}", "title": "" }, { "docid": "f478f065fd9978ea929c8859d67a5d42", "score": "0.52191836", "text": "private void buildTheories() {\n myTheorems.clear();\n myPExpTheorems.clear();\n\n File targetFileName = myInstanceEnvironment.getTargetFile();\n ModuleID targetFileID =\n myInstanceEnvironment.getModuleID(targetFileName);\n List<ModuleID> availableTheories =\n myInstanceEnvironment.getTheories(targetFileID);\n Exp curTheorem;\n\n //Add local axioms to the library\n ModuleDec targetDec = myInstanceEnvironment.getModuleDec(targetFileID);\n addLocalAxioms(targetDec);\n\n //Add any kind of mathematical assertions from any included library\n SymbolTable curSymbolTable;\n ModuleScope bindingsInScope;\n List<Symbol> symbolsInScope;\n for (ModuleID curModule : availableTheories) {\n curSymbolTable = myInstanceEnvironment.getSymbolTable(curModule);\n bindingsInScope = curSymbolTable.getModuleScope();\n symbolsInScope = bindingsInScope.getLocalTheoremNames();\n\n for (Symbol s : symbolsInScope) {\n\n curTheorem = bindingsInScope.getLocalTheorem(s).getValue();\n addTheoremToLibrary(s.getName(), curTheorem);\n\n }\n }\n }", "title": "" }, { "docid": "4db5be17cdf6769727413ee327050031", "score": "0.51710665", "text": "public interface ModuleParameter {\n\n}", "title": "" }, { "docid": "d1fff2495e4092992825adb3aabf1504", "score": "0.516804", "text": "public interface actor extends context_element {\r\n}", "title": "" }, { "docid": "0e7c1034fd6f19ae99acd35b2ce9e159", "score": "0.5165389", "text": "public interface OptimisationAlgo extends EObject {\n}", "title": "" }, { "docid": "84a908095f38fe91e4dd1d7ab71d5ade", "score": "0.5160176", "text": "public interface ISpecmateModelObject extends IContainer, ITracingElement {\r\n}", "title": "" }, { "docid": "cab407ba4daad8ee440503413a2f5ca2", "score": "0.5153391", "text": "OP createOP();", "title": "" }, { "docid": "c5beabe5eff42ad31e528a18e4e00405", "score": "0.51352656", "text": "public interface ChorarchPackage extends EPackage {\n\t/**\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tString copyright = \"Copyright 2015 The CHOReVOLUTION project\\n\\nLicensed under the Apache License, Version 2.0 (the \\\"License\\\");\\nyou may not use this file except in compliance with the License.\\nYou may obtain a copy of the License at\\n\\n      http://www.apache.org/licenses/LICENSE-2.0\\n\\nUnless required by applicable law or agreed to in writing, software\\ndistributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\nSee the License for the specific language governing permissions and\\nlimitations under the License.\";\n\n\t/**\n\t * The package name.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tString eNAME = \"chorarch\";\n\n\t/**\n\t * The package namespace URI.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tString eNS_URI = \"http://eu.chorevolution/modelingnotations/chorarch\";\n\n\t/**\n\t * The package namespace name.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tString eNS_PREFIX = \"chorarch\";\n\n\t/**\n\t * The singleton instance of the package.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tChorarchPackage eINSTANCE = eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl.init();\n\n\t/**\n\t * The meta object id for the '{@link eu.chorevolution.modelingnotations.chorarch.impl.ChorArchModelImpl <em>Chor Arch Model</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorArchModelImpl\n\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl#getChorArchModel()\n\t * @generated\n\t */\n\tint CHOR_ARCH_MODEL = 0;\n\n\t/**\n\t * The feature id for the '<em><b>Components</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CHOR_ARCH_MODEL__COMPONENTS = 0;\n\n\t/**\n\t * The feature id for the '<em><b>Choreography ID</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CHOR_ARCH_MODEL__CHOREOGRAPHY_ID = 1;\n\n\t/**\n\t * The feature id for the '<em><b>Choreography Name</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CHOR_ARCH_MODEL__CHOREOGRAPHY_NAME = 2;\n\n\t/**\n\t * The number of structural features of the '<em>Chor Arch Model</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CHOR_ARCH_MODEL_FEATURE_COUNT = 3;\n\n\t/**\n\t * The number of operations of the '<em>Chor Arch Model</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CHOR_ARCH_MODEL_OPERATION_COUNT = 0;\n\n\t/**\n\t * The meta object id for the '{@link eu.chorevolution.modelingnotations.chorarch.impl.ComponentImpl <em>Component</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ComponentImpl\n\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl#getComponent()\n\t * @generated\n\t */\n\tint COMPONENT = 6;\n\n\t/**\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint COMPONENT__NAME = 0;\n\n\t/**\n\t * The feature id for the '<em><b>Roles</b></em>' attribute list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint COMPONENT__ROLES = 1;\n\n\t/**\n\t * The feature id for the '<em><b>Interfaces</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint COMPONENT__INTERFACES = 2;\n\n\t/**\n\t * The number of structural features of the '<em>Component</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint COMPONENT_FEATURE_COUNT = 3;\n\n\t/**\n\t * The number of operations of the '<em>Component</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint COMPONENT_OPERATION_COUNT = 0;\n\n\t/**\n\t * The meta object id for the '{@link eu.chorevolution.modelingnotations.chorarch.impl.BusinessComponentImpl <em>Business Component</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see eu.chorevolution.modelingnotations.chorarch.impl.BusinessComponentImpl\n\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl#getBusinessComponent()\n\t * @generated\n\t */\n\tint BUSINESS_COMPONENT = 1;\n\n\t/**\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint BUSINESS_COMPONENT__NAME = COMPONENT__NAME;\n\n\t/**\n\t * The feature id for the '<em><b>Roles</b></em>' attribute list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint BUSINESS_COMPONENT__ROLES = COMPONENT__ROLES;\n\n\t/**\n\t * The feature id for the '<em><b>Interfaces</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint BUSINESS_COMPONENT__INTERFACES = COMPONENT__INTERFACES;\n\n\t/**\n\t * The feature id for the '<em><b>Uri</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint BUSINESS_COMPONENT__URI = COMPONENT_FEATURE_COUNT + 0;\n\n\t/**\n\t * The number of structural features of the '<em>Business Component</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint BUSINESS_COMPONENT_FEATURE_COUNT = COMPONENT_FEATURE_COUNT + 1;\n\n\t/**\n\t * The number of operations of the '<em>Business Component</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint BUSINESS_COMPONENT_OPERATION_COUNT = COMPONENT_OPERATION_COUNT + 0;\n\n\t/**\n\t * The meta object id for the '{@link eu.chorevolution.modelingnotations.chorarch.impl.AdditionalComponentImpl <em>Additional Component</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see eu.chorevolution.modelingnotations.chorarch.impl.AdditionalComponentImpl\n\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl#getAdditionalComponent()\n\t * @generated\n\t */\n\tint ADDITIONAL_COMPONENT = 7;\n\n\t/**\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ADDITIONAL_COMPONENT__NAME = COMPONENT__NAME;\n\n\t/**\n\t * The feature id for the '<em><b>Roles</b></em>' attribute list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ADDITIONAL_COMPONENT__ROLES = COMPONENT__ROLES;\n\n\t/**\n\t * The feature id for the '<em><b>Interfaces</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ADDITIONAL_COMPONENT__INTERFACES = COMPONENT__INTERFACES;\n\n\t/**\n\t * The feature id for the '<em><b>Location</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ADDITIONAL_COMPONENT__LOCATION = COMPONENT_FEATURE_COUNT + 0;\n\n\t/**\n\t * The number of structural features of the '<em>Additional Component</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ADDITIONAL_COMPONENT_FEATURE_COUNT = COMPONENT_FEATURE_COUNT + 1;\n\n\t/**\n\t * The number of operations of the '<em>Additional Component</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ADDITIONAL_COMPONENT_OPERATION_COUNT = COMPONENT_OPERATION_COUNT + 0;\n\n\t/**\n\t * The meta object id for the '{@link eu.chorevolution.modelingnotations.chorarch.impl.AdapterImpl <em>Adapter</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see eu.chorevolution.modelingnotations.chorarch.impl.AdapterImpl\n\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl#getAdapter()\n\t * @generated\n\t */\n\tint ADAPTER = 2;\n\n\t/**\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ADAPTER__NAME = ADDITIONAL_COMPONENT__NAME;\n\n\t/**\n\t * The feature id for the '<em><b>Roles</b></em>' attribute list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ADAPTER__ROLES = ADDITIONAL_COMPONENT__ROLES;\n\n\t/**\n\t * The feature id for the '<em><b>Interfaces</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ADAPTER__INTERFACES = ADDITIONAL_COMPONENT__INTERFACES;\n\n\t/**\n\t * The feature id for the '<em><b>Location</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ADAPTER__LOCATION = ADDITIONAL_COMPONENT__LOCATION;\n\n\t/**\n\t * The number of structural features of the '<em>Adapter</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ADAPTER_FEATURE_COUNT = ADDITIONAL_COMPONENT_FEATURE_COUNT + 0;\n\n\t/**\n\t * The number of operations of the '<em>Adapter</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ADAPTER_OPERATION_COUNT = ADDITIONAL_COMPONENT_OPERATION_COUNT + 0;\n\n\t/**\n\t * The meta object id for the '{@link eu.chorevolution.modelingnotations.chorarch.impl.SecurityFilterImpl <em>Security Filter</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see eu.chorevolution.modelingnotations.chorarch.impl.SecurityFilterImpl\n\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl#getSecurityFilter()\n\t * @generated\n\t */\n\tint SECURITY_FILTER = 3;\n\n\t/**\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SECURITY_FILTER__NAME = ADDITIONAL_COMPONENT__NAME;\n\n\t/**\n\t * The feature id for the '<em><b>Roles</b></em>' attribute list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SECURITY_FILTER__ROLES = ADDITIONAL_COMPONENT__ROLES;\n\n\t/**\n\t * The feature id for the '<em><b>Interfaces</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SECURITY_FILTER__INTERFACES = ADDITIONAL_COMPONENT__INTERFACES;\n\n\t/**\n\t * The feature id for the '<em><b>Location</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SECURITY_FILTER__LOCATION = ADDITIONAL_COMPONENT__LOCATION;\n\n\t/**\n\t * The feature id for the '<em><b>Global</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SECURITY_FILTER__GLOBAL = ADDITIONAL_COMPONENT_FEATURE_COUNT + 0;\n\n\t/**\n\t * The number of structural features of the '<em>Security Filter</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SECURITY_FILTER_FEATURE_COUNT = ADDITIONAL_COMPONENT_FEATURE_COUNT + 1;\n\n\t/**\n\t * The number of operations of the '<em>Security Filter</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SECURITY_FILTER_OPERATION_COUNT = ADDITIONAL_COMPONENT_OPERATION_COUNT + 0;\n\n\t/**\n\t * The meta object id for the '{@link eu.chorevolution.modelingnotations.chorarch.impl.BindingComponentImpl <em>Binding Component</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see eu.chorevolution.modelingnotations.chorarch.impl.BindingComponentImpl\n\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl#getBindingComponent()\n\t * @generated\n\t */\n\tint BINDING_COMPONENT = 4;\n\n\t/**\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint BINDING_COMPONENT__NAME = ADDITIONAL_COMPONENT__NAME;\n\n\t/**\n\t * The feature id for the '<em><b>Roles</b></em>' attribute list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint BINDING_COMPONENT__ROLES = ADDITIONAL_COMPONENT__ROLES;\n\n\t/**\n\t * The feature id for the '<em><b>Interfaces</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint BINDING_COMPONENT__INTERFACES = ADDITIONAL_COMPONENT__INTERFACES;\n\n\t/**\n\t * The feature id for the '<em><b>Location</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint BINDING_COMPONENT__LOCATION = ADDITIONAL_COMPONENT__LOCATION;\n\n\t/**\n\t * The number of structural features of the '<em>Binding Component</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint BINDING_COMPONENT_FEATURE_COUNT = ADDITIONAL_COMPONENT_FEATURE_COUNT + 0;\n\n\t/**\n\t * The number of operations of the '<em>Binding Component</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint BINDING_COMPONENT_OPERATION_COUNT = ADDITIONAL_COMPONENT_OPERATION_COUNT + 0;\n\n\t/**\n\t * The meta object id for the '{@link eu.chorevolution.modelingnotations.chorarch.impl.ProsumerCoordinationDelegateImpl <em>Prosumer Coordination Delegate</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ProsumerCoordinationDelegateImpl\n\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl#getProsumerCoordinationDelegate()\n\t * @generated\n\t */\n\tint PROSUMER_COORDINATION_DELEGATE = 5;\n\n\t/**\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint PROSUMER_COORDINATION_DELEGATE__NAME = ADDITIONAL_COMPONENT__NAME;\n\n\t/**\n\t * The feature id for the '<em><b>Roles</b></em>' attribute list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint PROSUMER_COORDINATION_DELEGATE__ROLES = ADDITIONAL_COMPONENT__ROLES;\n\n\t/**\n\t * The feature id for the '<em><b>Interfaces</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint PROSUMER_COORDINATION_DELEGATE__INTERFACES = ADDITIONAL_COMPONENT__INTERFACES;\n\n\t/**\n\t * The feature id for the '<em><b>Location</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint PROSUMER_COORDINATION_DELEGATE__LOCATION = ADDITIONAL_COMPONENT__LOCATION;\n\n\t/**\n\t * The number of structural features of the '<em>Prosumer Coordination Delegate</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint PROSUMER_COORDINATION_DELEGATE_FEATURE_COUNT = ADDITIONAL_COMPONENT_FEATURE_COUNT + 0;\n\n\t/**\n\t * The number of operations of the '<em>Prosumer Coordination Delegate</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint PROSUMER_COORDINATION_DELEGATE_OPERATION_COUNT = ADDITIONAL_COMPONENT_OPERATION_COUNT + 0;\n\n\t/**\n\t * The meta object id for the '{@link eu.chorevolution.modelingnotations.chorarch.impl.WebServiceComponentImpl <em>Web Service Component</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see eu.chorevolution.modelingnotations.chorarch.impl.WebServiceComponentImpl\n\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl#getWebServiceComponent()\n\t * @generated\n\t */\n\tint WEB_SERVICE_COMPONENT = 8;\n\n\t/**\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint WEB_SERVICE_COMPONENT__NAME = BUSINESS_COMPONENT__NAME;\n\n\t/**\n\t * The feature id for the '<em><b>Roles</b></em>' attribute list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint WEB_SERVICE_COMPONENT__ROLES = BUSINESS_COMPONENT__ROLES;\n\n\t/**\n\t * The feature id for the '<em><b>Interfaces</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint WEB_SERVICE_COMPONENT__INTERFACES = BUSINESS_COMPONENT__INTERFACES;\n\n\t/**\n\t * The feature id for the '<em><b>Uri</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint WEB_SERVICE_COMPONENT__URI = BUSINESS_COMPONENT__URI;\n\n\t/**\n\t * The number of structural features of the '<em>Web Service Component</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint WEB_SERVICE_COMPONENT_FEATURE_COUNT = BUSINESS_COMPONENT_FEATURE_COUNT + 0;\n\n\t/**\n\t * The number of operations of the '<em>Web Service Component</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint WEB_SERVICE_COMPONENT_OPERATION_COUNT = BUSINESS_COMPONENT_OPERATION_COUNT + 0;\n\n\t/**\n\t * The meta object id for the '{@link eu.chorevolution.modelingnotations.chorarch.impl.RestServiceComponentImpl <em>Rest Service Component</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see eu.chorevolution.modelingnotations.chorarch.impl.RestServiceComponentImpl\n\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl#getRestServiceComponent()\n\t * @generated\n\t */\n\tint REST_SERVICE_COMPONENT = 9;\n\n\t/**\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint REST_SERVICE_COMPONENT__NAME = BUSINESS_COMPONENT__NAME;\n\n\t/**\n\t * The feature id for the '<em><b>Roles</b></em>' attribute list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint REST_SERVICE_COMPONENT__ROLES = BUSINESS_COMPONENT__ROLES;\n\n\t/**\n\t * The feature id for the '<em><b>Interfaces</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint REST_SERVICE_COMPONENT__INTERFACES = BUSINESS_COMPONENT__INTERFACES;\n\n\t/**\n\t * The feature id for the '<em><b>Uri</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint REST_SERVICE_COMPONENT__URI = BUSINESS_COMPONENT__URI;\n\n\t/**\n\t * The number of structural features of the '<em>Rest Service Component</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint REST_SERVICE_COMPONENT_FEATURE_COUNT = BUSINESS_COMPONENT_FEATURE_COUNT + 0;\n\n\t/**\n\t * The number of operations of the '<em>Rest Service Component</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint REST_SERVICE_COMPONENT_OPERATION_COUNT = BUSINESS_COMPONENT_OPERATION_COUNT + 0;\n\n\t/**\n\t * The meta object id for the '{@link eu.chorevolution.modelingnotations.chorarch.impl.ThingComponentImpl <em>Thing Component</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ThingComponentImpl\n\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl#getThingComponent()\n\t * @generated\n\t */\n\tint THING_COMPONENT = 10;\n\n\t/**\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint THING_COMPONENT__NAME = BUSINESS_COMPONENT__NAME;\n\n\t/**\n\t * The feature id for the '<em><b>Roles</b></em>' attribute list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint THING_COMPONENT__ROLES = BUSINESS_COMPONENT__ROLES;\n\n\t/**\n\t * The feature id for the '<em><b>Interfaces</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint THING_COMPONENT__INTERFACES = BUSINESS_COMPONENT__INTERFACES;\n\n\t/**\n\t * The feature id for the '<em><b>Uri</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint THING_COMPONENT__URI = BUSINESS_COMPONENT__URI;\n\n\t/**\n\t * The number of structural features of the '<em>Thing Component</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint THING_COMPONENT_FEATURE_COUNT = BUSINESS_COMPONENT_FEATURE_COUNT + 0;\n\n\t/**\n\t * The number of operations of the '<em>Thing Component</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint THING_COMPONENT_OPERATION_COUNT = BUSINESS_COMPONENT_OPERATION_COUNT + 0;\n\n\t/**\n\t * The meta object id for the '{@link eu.chorevolution.modelingnotations.chorarch.impl.InterfaceImpl <em>Interface</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see eu.chorevolution.modelingnotations.chorarch.impl.InterfaceImpl\n\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl#getInterface()\n\t * @generated\n\t */\n\tint INTERFACE = 11;\n\n\t/**\n\t * The feature id for the '<em><b>Port Number</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint INTERFACE__PORT_NUMBER = 0;\n\n\t/**\n\t * The feature id for the '<em><b>Service Description</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint INTERFACE__SERVICE_DESCRIPTION = 1;\n\n\t/**\n\t * The number of structural features of the '<em>Interface</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint INTERFACE_FEATURE_COUNT = 2;\n\n\t/**\n\t * The number of operations of the '<em>Interface</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint INTERFACE_OPERATION_COUNT = 0;\n\n\t/**\n\t * The meta object id for the '{@link eu.chorevolution.modelingnotations.chorarch.impl.ConsumerCoordinationDelegateImpl <em>Consumer Coordination Delegate</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ConsumerCoordinationDelegateImpl\n\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl#getConsumerCoordinationDelegate()\n\t * @generated\n\t */\n\tint CONSUMER_COORDINATION_DELEGATE = 12;\n\n\t/**\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CONSUMER_COORDINATION_DELEGATE__NAME = ADDITIONAL_COMPONENT__NAME;\n\n\t/**\n\t * The feature id for the '<em><b>Roles</b></em>' attribute list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CONSUMER_COORDINATION_DELEGATE__ROLES = ADDITIONAL_COMPONENT__ROLES;\n\n\t/**\n\t * The feature id for the '<em><b>Interfaces</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CONSUMER_COORDINATION_DELEGATE__INTERFACES = ADDITIONAL_COMPONENT__INTERFACES;\n\n\t/**\n\t * The feature id for the '<em><b>Location</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CONSUMER_COORDINATION_DELEGATE__LOCATION = ADDITIONAL_COMPONENT__LOCATION;\n\n\t/**\n\t * The number of structural features of the '<em>Consumer Coordination Delegate</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CONSUMER_COORDINATION_DELEGATE_FEATURE_COUNT = ADDITIONAL_COMPONENT_FEATURE_COUNT + 0;\n\n\t/**\n\t * The number of operations of the '<em>Consumer Coordination Delegate</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CONSUMER_COORDINATION_DELEGATE_OPERATION_COUNT = ADDITIONAL_COMPONENT_OPERATION_COUNT + 0;\n\n\t/**\n\t * The meta object id for the '{@link eu.chorevolution.modelingnotations.chorarch.impl.ConsumerInterfaceImpl <em>Consumer Interface</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ConsumerInterfaceImpl\n\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl#getConsumerInterface()\n\t * @generated\n\t */\n\tint CONSUMER_INTERFACE = 13;\n\n\t/**\n\t * The feature id for the '<em><b>Port Number</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CONSUMER_INTERFACE__PORT_NUMBER = INTERFACE__PORT_NUMBER;\n\n\t/**\n\t * The feature id for the '<em><b>Service Description</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CONSUMER_INTERFACE__SERVICE_DESCRIPTION = INTERFACE__SERVICE_DESCRIPTION;\n\n\t/**\n\t * The feature id for the '<em><b>Service Required</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CONSUMER_INTERFACE__SERVICE_REQUIRED = INTERFACE_FEATURE_COUNT + 0;\n\n\t/**\n\t * The number of structural features of the '<em>Consumer Interface</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CONSUMER_INTERFACE_FEATURE_COUNT = INTERFACE_FEATURE_COUNT + 1;\n\n\t/**\n\t * The number of operations of the '<em>Consumer Interface</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CONSUMER_INTERFACE_OPERATION_COUNT = INTERFACE_OPERATION_COUNT + 0;\n\n\t/**\n\t * The meta object id for the '{@link eu.chorevolution.modelingnotations.chorarch.impl.ProviderInterfaceImpl <em>Provider Interface</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ProviderInterfaceImpl\n\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl#getProviderInterface()\n\t * @generated\n\t */\n\tint PROVIDER_INTERFACE = 14;\n\n\t/**\n\t * The feature id for the '<em><b>Port Number</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint PROVIDER_INTERFACE__PORT_NUMBER = INTERFACE__PORT_NUMBER;\n\n\t/**\n\t * The feature id for the '<em><b>Service Description</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint PROVIDER_INTERFACE__SERVICE_DESCRIPTION = INTERFACE__SERVICE_DESCRIPTION;\n\n\t/**\n\t * The feature id for the '<em><b>Service Provided</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint PROVIDER_INTERFACE__SERVICE_PROVIDED = INTERFACE_FEATURE_COUNT + 0;\n\n\t/**\n\t * The number of structural features of the '<em>Provider Interface</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint PROVIDER_INTERFACE_FEATURE_COUNT = INTERFACE_FEATURE_COUNT + 1;\n\n\t/**\n\t * The number of operations of the '<em>Provider Interface</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint PROVIDER_INTERFACE_OPERATION_COUNT = INTERFACE_OPERATION_COUNT + 0;\n\n\t/**\n\t * The meta object id for the '{@link eu.chorevolution.modelingnotations.chorarch.impl.ClientAppComponentImpl <em>Client App Component</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ClientAppComponentImpl\n\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl#getClientAppComponent()\n\t * @generated\n\t */\n\tint CLIENT_APP_COMPONENT = 15;\n\n\t/**\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CLIENT_APP_COMPONENT__NAME = BUSINESS_COMPONENT__NAME;\n\n\t/**\n\t * The feature id for the '<em><b>Roles</b></em>' attribute list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CLIENT_APP_COMPONENT__ROLES = BUSINESS_COMPONENT__ROLES;\n\n\t/**\n\t * The feature id for the '<em><b>Interfaces</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CLIENT_APP_COMPONENT__INTERFACES = BUSINESS_COMPONENT__INTERFACES;\n\n\t/**\n\t * The feature id for the '<em><b>Uri</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CLIENT_APP_COMPONENT__URI = BUSINESS_COMPONENT__URI;\n\n\t/**\n\t * The number of structural features of the '<em>Client App Component</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CLIENT_APP_COMPONENT_FEATURE_COUNT = BUSINESS_COMPONENT_FEATURE_COUNT + 0;\n\n\t/**\n\t * The number of operations of the '<em>Client App Component</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CLIENT_APP_COMPONENT_OPERATION_COUNT = BUSINESS_COMPONENT_OPERATION_COUNT + 0;\n\n\n\t/**\n\t * Returns the meta object for class '{@link eu.chorevolution.modelingnotations.chorarch.ChorArchModel <em>Chor Arch Model</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Chor Arch Model</em>'.\n\t * @see eu.chorevolution.modelingnotations.chorarch.ChorArchModel\n\t * @generated\n\t */\n\tEClass getChorArchModel();\n\n\t/**\n\t * Returns the meta object for the containment reference list '{@link eu.chorevolution.modelingnotations.chorarch.ChorArchModel#getComponents <em>Components</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the containment reference list '<em>Components</em>'.\n\t * @see eu.chorevolution.modelingnotations.chorarch.ChorArchModel#getComponents()\n\t * @see #getChorArchModel()\n\t * @generated\n\t */\n\tEReference getChorArchModel_Components();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link eu.chorevolution.modelingnotations.chorarch.ChorArchModel#getChoreographyID <em>Choreography ID</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Choreography ID</em>'.\n\t * @see eu.chorevolution.modelingnotations.chorarch.ChorArchModel#getChoreographyID()\n\t * @see #getChorArchModel()\n\t * @generated\n\t */\n\tEAttribute getChorArchModel_ChoreographyID();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link eu.chorevolution.modelingnotations.chorarch.ChorArchModel#getChoreographyName <em>Choreography Name</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Choreography Name</em>'.\n\t * @see eu.chorevolution.modelingnotations.chorarch.ChorArchModel#getChoreographyName()\n\t * @see #getChorArchModel()\n\t * @generated\n\t */\n\tEAttribute getChorArchModel_ChoreographyName();\n\n\t/**\n\t * Returns the meta object for class '{@link eu.chorevolution.modelingnotations.chorarch.BusinessComponent <em>Business Component</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Business Component</em>'.\n\t * @see eu.chorevolution.modelingnotations.chorarch.BusinessComponent\n\t * @generated\n\t */\n\tEClass getBusinessComponent();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link eu.chorevolution.modelingnotations.chorarch.BusinessComponent#getUri <em>Uri</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Uri</em>'.\n\t * @see eu.chorevolution.modelingnotations.chorarch.BusinessComponent#getUri()\n\t * @see #getBusinessComponent()\n\t * @generated\n\t */\n\tEAttribute getBusinessComponent_Uri();\n\n\t/**\n\t * Returns the meta object for class '{@link eu.chorevolution.modelingnotations.chorarch.Adapter <em>Adapter</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Adapter</em>'.\n\t * @see eu.chorevolution.modelingnotations.chorarch.Adapter\n\t * @generated\n\t */\n\tEClass getAdapter();\n\n\t/**\n\t * Returns the meta object for class '{@link eu.chorevolution.modelingnotations.chorarch.SecurityFilter <em>Security Filter</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Security Filter</em>'.\n\t * @see eu.chorevolution.modelingnotations.chorarch.SecurityFilter\n\t * @generated\n\t */\n\tEClass getSecurityFilter();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link eu.chorevolution.modelingnotations.chorarch.SecurityFilter#isGlobal <em>Global</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Global</em>'.\n\t * @see eu.chorevolution.modelingnotations.chorarch.SecurityFilter#isGlobal()\n\t * @see #getSecurityFilter()\n\t * @generated\n\t */\n\tEAttribute getSecurityFilter_Global();\n\n\t/**\n\t * Returns the meta object for class '{@link eu.chorevolution.modelingnotations.chorarch.BindingComponent <em>Binding Component</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Binding Component</em>'.\n\t * @see eu.chorevolution.modelingnotations.chorarch.BindingComponent\n\t * @generated\n\t */\n\tEClass getBindingComponent();\n\n\t/**\n\t * Returns the meta object for class '{@link eu.chorevolution.modelingnotations.chorarch.ProsumerCoordinationDelegate <em>Prosumer Coordination Delegate</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Prosumer Coordination Delegate</em>'.\n\t * @see eu.chorevolution.modelingnotations.chorarch.ProsumerCoordinationDelegate\n\t * @generated\n\t */\n\tEClass getProsumerCoordinationDelegate();\n\n\t/**\n\t * Returns the meta object for class '{@link eu.chorevolution.modelingnotations.chorarch.Component <em>Component</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Component</em>'.\n\t * @see eu.chorevolution.modelingnotations.chorarch.Component\n\t * @generated\n\t */\n\tEClass getComponent();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link eu.chorevolution.modelingnotations.chorarch.Component#getName <em>Name</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Name</em>'.\n\t * @see eu.chorevolution.modelingnotations.chorarch.Component#getName()\n\t * @see #getComponent()\n\t * @generated\n\t */\n\tEAttribute getComponent_Name();\n\n\t/**\n\t * Returns the meta object for the attribute list '{@link eu.chorevolution.modelingnotations.chorarch.Component#getRoles <em>Roles</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute list '<em>Roles</em>'.\n\t * @see eu.chorevolution.modelingnotations.chorarch.Component#getRoles()\n\t * @see #getComponent()\n\t * @generated\n\t */\n\tEAttribute getComponent_Roles();\n\n\t/**\n\t * Returns the meta object for the containment reference list '{@link eu.chorevolution.modelingnotations.chorarch.Component#getInterfaces <em>Interfaces</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the containment reference list '<em>Interfaces</em>'.\n\t * @see eu.chorevolution.modelingnotations.chorarch.Component#getInterfaces()\n\t * @see #getComponent()\n\t * @generated\n\t */\n\tEReference getComponent_Interfaces();\n\n\t/**\n\t * Returns the meta object for class '{@link eu.chorevolution.modelingnotations.chorarch.AdditionalComponent <em>Additional Component</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Additional Component</em>'.\n\t * @see eu.chorevolution.modelingnotations.chorarch.AdditionalComponent\n\t * @generated\n\t */\n\tEClass getAdditionalComponent();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link eu.chorevolution.modelingnotations.chorarch.AdditionalComponent#getLocation <em>Location</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Location</em>'.\n\t * @see eu.chorevolution.modelingnotations.chorarch.AdditionalComponent#getLocation()\n\t * @see #getAdditionalComponent()\n\t * @generated\n\t */\n\tEAttribute getAdditionalComponent_Location();\n\n\t/**\n\t * Returns the meta object for class '{@link eu.chorevolution.modelingnotations.chorarch.WebServiceComponent <em>Web Service Component</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Web Service Component</em>'.\n\t * @see eu.chorevolution.modelingnotations.chorarch.WebServiceComponent\n\t * @generated\n\t */\n\tEClass getWebServiceComponent();\n\n\t/**\n\t * Returns the meta object for class '{@link eu.chorevolution.modelingnotations.chorarch.RestServiceComponent <em>Rest Service Component</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Rest Service Component</em>'.\n\t * @see eu.chorevolution.modelingnotations.chorarch.RestServiceComponent\n\t * @generated\n\t */\n\tEClass getRestServiceComponent();\n\n\t/**\n\t * Returns the meta object for class '{@link eu.chorevolution.modelingnotations.chorarch.ThingComponent <em>Thing Component</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Thing Component</em>'.\n\t * @see eu.chorevolution.modelingnotations.chorarch.ThingComponent\n\t * @generated\n\t */\n\tEClass getThingComponent();\n\n\t/**\n\t * Returns the meta object for class '{@link eu.chorevolution.modelingnotations.chorarch.Interface <em>Interface</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Interface</em>'.\n\t * @see eu.chorevolution.modelingnotations.chorarch.Interface\n\t * @generated\n\t */\n\tEClass getInterface();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link eu.chorevolution.modelingnotations.chorarch.Interface#getPortNumber <em>Port Number</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Port Number</em>'.\n\t * @see eu.chorevolution.modelingnotations.chorarch.Interface#getPortNumber()\n\t * @see #getInterface()\n\t * @generated\n\t */\n\tEAttribute getInterface_PortNumber();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link eu.chorevolution.modelingnotations.chorarch.Interface#getServiceDescription <em>Service Description</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Service Description</em>'.\n\t * @see eu.chorevolution.modelingnotations.chorarch.Interface#getServiceDescription()\n\t * @see #getInterface()\n\t * @generated\n\t */\n\tEAttribute getInterface_ServiceDescription();\n\n\t/**\n\t * Returns the meta object for class '{@link eu.chorevolution.modelingnotations.chorarch.ConsumerCoordinationDelegate <em>Consumer Coordination Delegate</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Consumer Coordination Delegate</em>'.\n\t * @see eu.chorevolution.modelingnotations.chorarch.ConsumerCoordinationDelegate\n\t * @generated\n\t */\n\tEClass getConsumerCoordinationDelegate();\n\n\t/**\n\t * Returns the meta object for class '{@link eu.chorevolution.modelingnotations.chorarch.ConsumerInterface <em>Consumer Interface</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Consumer Interface</em>'.\n\t * @see eu.chorevolution.modelingnotations.chorarch.ConsumerInterface\n\t * @generated\n\t */\n\tEClass getConsumerInterface();\n\n\t/**\n\t * Returns the meta object for the reference list '{@link eu.chorevolution.modelingnotations.chorarch.ConsumerInterface#getServiceRequired <em>Service Required</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the reference list '<em>Service Required</em>'.\n\t * @see eu.chorevolution.modelingnotations.chorarch.ConsumerInterface#getServiceRequired()\n\t * @see #getConsumerInterface()\n\t * @generated\n\t */\n\tEReference getConsumerInterface_ServiceRequired();\n\n\t/**\n\t * Returns the meta object for class '{@link eu.chorevolution.modelingnotations.chorarch.ProviderInterface <em>Provider Interface</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Provider Interface</em>'.\n\t * @see eu.chorevolution.modelingnotations.chorarch.ProviderInterface\n\t * @generated\n\t */\n\tEClass getProviderInterface();\n\n\t/**\n\t * Returns the meta object for the reference list '{@link eu.chorevolution.modelingnotations.chorarch.ProviderInterface#getServiceProvided <em>Service Provided</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the reference list '<em>Service Provided</em>'.\n\t * @see eu.chorevolution.modelingnotations.chorarch.ProviderInterface#getServiceProvided()\n\t * @see #getProviderInterface()\n\t * @generated\n\t */\n\tEReference getProviderInterface_ServiceProvided();\n\n\t/**\n\t * Returns the meta object for class '{@link eu.chorevolution.modelingnotations.chorarch.ClientAppComponent <em>Client App Component</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Client App Component</em>'.\n\t * @see eu.chorevolution.modelingnotations.chorarch.ClientAppComponent\n\t * @generated\n\t */\n\tEClass getClientAppComponent();\n\n\t/**\n\t * Returns the factory that creates the instances of the model.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the factory that creates the instances of the model.\n\t * @generated\n\t */\n\tChorarchFactory getChorarchFactory();\n\n\t/**\n\t * <!-- begin-user-doc -->\n\t * Defines literals for the meta objects that represent\n\t * <ul>\n\t * <li>each class,</li>\n\t * <li>each feature of each class,</li>\n\t * <li>each operation of each class,</li>\n\t * <li>each enum,</li>\n\t * <li>and each data type</li>\n\t * </ul>\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tinterface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link eu.chorevolution.modelingnotations.chorarch.impl.ChorArchModelImpl <em>Chor Arch Model</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorArchModelImpl\n\t\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl#getChorArchModel()\n\t\t * @generated\n\t\t */\n\t\tEClass CHOR_ARCH_MODEL = eINSTANCE.getChorArchModel();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Components</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CHOR_ARCH_MODEL__COMPONENTS = eINSTANCE.getChorArchModel_Components();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Choreography ID</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CHOR_ARCH_MODEL__CHOREOGRAPHY_ID = eINSTANCE.getChorArchModel_ChoreographyID();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Choreography Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CHOR_ARCH_MODEL__CHOREOGRAPHY_NAME = eINSTANCE.getChorArchModel_ChoreographyName();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link eu.chorevolution.modelingnotations.chorarch.impl.BusinessComponentImpl <em>Business Component</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see eu.chorevolution.modelingnotations.chorarch.impl.BusinessComponentImpl\n\t\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl#getBusinessComponent()\n\t\t * @generated\n\t\t */\n\t\tEClass BUSINESS_COMPONENT = eINSTANCE.getBusinessComponent();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Uri</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute BUSINESS_COMPONENT__URI = eINSTANCE.getBusinessComponent_Uri();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link eu.chorevolution.modelingnotations.chorarch.impl.AdapterImpl <em>Adapter</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see eu.chorevolution.modelingnotations.chorarch.impl.AdapterImpl\n\t\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl#getAdapter()\n\t\t * @generated\n\t\t */\n\t\tEClass ADAPTER = eINSTANCE.getAdapter();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link eu.chorevolution.modelingnotations.chorarch.impl.SecurityFilterImpl <em>Security Filter</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see eu.chorevolution.modelingnotations.chorarch.impl.SecurityFilterImpl\n\t\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl#getSecurityFilter()\n\t\t * @generated\n\t\t */\n\t\tEClass SECURITY_FILTER = eINSTANCE.getSecurityFilter();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Global</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SECURITY_FILTER__GLOBAL = eINSTANCE.getSecurityFilter_Global();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link eu.chorevolution.modelingnotations.chorarch.impl.BindingComponentImpl <em>Binding Component</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see eu.chorevolution.modelingnotations.chorarch.impl.BindingComponentImpl\n\t\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl#getBindingComponent()\n\t\t * @generated\n\t\t */\n\t\tEClass BINDING_COMPONENT = eINSTANCE.getBindingComponent();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link eu.chorevolution.modelingnotations.chorarch.impl.ProsumerCoordinationDelegateImpl <em>Prosumer Coordination Delegate</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ProsumerCoordinationDelegateImpl\n\t\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl#getProsumerCoordinationDelegate()\n\t\t * @generated\n\t\t */\n\t\tEClass PROSUMER_COORDINATION_DELEGATE = eINSTANCE.getProsumerCoordinationDelegate();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link eu.chorevolution.modelingnotations.chorarch.impl.ComponentImpl <em>Component</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ComponentImpl\n\t\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl#getComponent()\n\t\t * @generated\n\t\t */\n\t\tEClass COMPONENT = eINSTANCE.getComponent();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute COMPONENT__NAME = eINSTANCE.getComponent_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Roles</b></em>' attribute list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute COMPONENT__ROLES = eINSTANCE.getComponent_Roles();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Interfaces</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference COMPONENT__INTERFACES = eINSTANCE.getComponent_Interfaces();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link eu.chorevolution.modelingnotations.chorarch.impl.AdditionalComponentImpl <em>Additional Component</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see eu.chorevolution.modelingnotations.chorarch.impl.AdditionalComponentImpl\n\t\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl#getAdditionalComponent()\n\t\t * @generated\n\t\t */\n\t\tEClass ADDITIONAL_COMPONENT = eINSTANCE.getAdditionalComponent();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Location</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ADDITIONAL_COMPONENT__LOCATION = eINSTANCE.getAdditionalComponent_Location();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link eu.chorevolution.modelingnotations.chorarch.impl.WebServiceComponentImpl <em>Web Service Component</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see eu.chorevolution.modelingnotations.chorarch.impl.WebServiceComponentImpl\n\t\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl#getWebServiceComponent()\n\t\t * @generated\n\t\t */\n\t\tEClass WEB_SERVICE_COMPONENT = eINSTANCE.getWebServiceComponent();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link eu.chorevolution.modelingnotations.chorarch.impl.RestServiceComponentImpl <em>Rest Service Component</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see eu.chorevolution.modelingnotations.chorarch.impl.RestServiceComponentImpl\n\t\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl#getRestServiceComponent()\n\t\t * @generated\n\t\t */\n\t\tEClass REST_SERVICE_COMPONENT = eINSTANCE.getRestServiceComponent();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link eu.chorevolution.modelingnotations.chorarch.impl.ThingComponentImpl <em>Thing Component</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ThingComponentImpl\n\t\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl#getThingComponent()\n\t\t * @generated\n\t\t */\n\t\tEClass THING_COMPONENT = eINSTANCE.getThingComponent();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link eu.chorevolution.modelingnotations.chorarch.impl.InterfaceImpl <em>Interface</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see eu.chorevolution.modelingnotations.chorarch.impl.InterfaceImpl\n\t\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl#getInterface()\n\t\t * @generated\n\t\t */\n\t\tEClass INTERFACE = eINSTANCE.getInterface();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Port Number</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute INTERFACE__PORT_NUMBER = eINSTANCE.getInterface_PortNumber();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Service Description</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute INTERFACE__SERVICE_DESCRIPTION = eINSTANCE.getInterface_ServiceDescription();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link eu.chorevolution.modelingnotations.chorarch.impl.ConsumerCoordinationDelegateImpl <em>Consumer Coordination Delegate</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ConsumerCoordinationDelegateImpl\n\t\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl#getConsumerCoordinationDelegate()\n\t\t * @generated\n\t\t */\n\t\tEClass CONSUMER_COORDINATION_DELEGATE = eINSTANCE.getConsumerCoordinationDelegate();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link eu.chorevolution.modelingnotations.chorarch.impl.ConsumerInterfaceImpl <em>Consumer Interface</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ConsumerInterfaceImpl\n\t\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl#getConsumerInterface()\n\t\t * @generated\n\t\t */\n\t\tEClass CONSUMER_INTERFACE = eINSTANCE.getConsumerInterface();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Service Required</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONSUMER_INTERFACE__SERVICE_REQUIRED = eINSTANCE.getConsumerInterface_ServiceRequired();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link eu.chorevolution.modelingnotations.chorarch.impl.ProviderInterfaceImpl <em>Provider Interface</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ProviderInterfaceImpl\n\t\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl#getProviderInterface()\n\t\t * @generated\n\t\t */\n\t\tEClass PROVIDER_INTERFACE = eINSTANCE.getProviderInterface();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Service Provided</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference PROVIDER_INTERFACE__SERVICE_PROVIDED = eINSTANCE.getProviderInterface_ServiceProvided();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link eu.chorevolution.modelingnotations.chorarch.impl.ClientAppComponentImpl <em>Client App Component</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ClientAppComponentImpl\n\t\t * @see eu.chorevolution.modelingnotations.chorarch.impl.ChorarchPackageImpl#getClientAppComponent()\n\t\t * @generated\n\t\t */\n\t\tEClass CLIENT_APP_COMPONENT = eINSTANCE.getClientAppComponent();\n\n\t}\n\n}", "title": "" }, { "docid": "83590c89f859d307edceca2d91770887", "score": "0.5122255", "text": "public interface Unitable {\r\n /**\r\n * \r\n * @return the term specifying the unit\r\n */\r\n OntologyTerm getUnit();\r\n\r\n /**\r\n * \r\n * @param unit the term specifying the unit\r\n */\r\n void setUnit(OntologyTerm unit);\r\n\r\n}", "title": "" }, { "docid": "8b52d40bbee63292d24fbbd04ba4bd50", "score": "0.51214504", "text": "public interface CoordinateList extends org.cdao.jastor.DatumCoordinate, com.ibm.adtech.jastor.Thing {\n\t\n\t/**\n\t * The rdf:type for this ontology class\n */\n\tpublic static final Resource TYPE = ResourceFactory.createResource(\"http://localhost/~vivek/cdao.owl#CoordinateList\");\n\t\n\n\t/**\n\t * The Jena Property for has__Remaining__Coordinate__List \n\t * <p>(URI: http://localhost/~vivek/cdao.owl#has_Remaining_Coordinate_List)</p>\n\t * <br>\n\t * Dublin Core Standard Properties <br>\n\t * \tdescription : The property that relates a coordinate list to the item in the list beyond the first item.^^http://www.w3.org/2001/XMLSchema#string <br>\n\t * <br> \n\t */\n\tpublic static com.hp.hpl.jena.rdf.model.Property has__Remaining__Coordinate__ListProperty = ResourceFactory.createProperty(\"http://localhost/~vivek/cdao.owl#has_Remaining_Coordinate_List\");\n\n\n\t/**\n\t * The Jena Property for has__First__Coordinate__Item \n\t * <p>(URI: http://localhost/~vivek/cdao.owl#has_First_Coordinate_Item)</p>\n\t * <br>\n\t * Dublin Core Standard Properties <br>\n\t * \tdescription : The property that relates a coordinate list to the first item in the list.^^http://www.w3.org/2001/XMLSchema#string <br>\n\t * <br> \n\t */\n\tpublic static com.hp.hpl.jena.rdf.model.Property has__First__Coordinate__ItemProperty = ResourceFactory.createProperty(\"http://localhost/~vivek/cdao.owl#has_First_Coordinate_Item\");\n\n\n\t/**\n\t * The Jena Property for has__Annotation \n\t * <p>(URI: http://localhost/~vivek/cdao.owl#has_Annotation)</p>\n\t * <br> \n\t */\n\tpublic static com.hp.hpl.jena.rdf.model.Property has__AnnotationProperty = ResourceFactory.createProperty(\"http://localhost/~vivek/cdao.owl#has_Annotation\");\n\n\n\t/**\n\t * The Jena Property for belongs__to \n\t * <p>(URI: http://localhost/~vivek/cdao.owl#belongs_to)</p>\n\t * <br>\n\t * Dublin Core Standard Properties <br>\n\t * \tdescription : Generic property that links a concept to another concept it is a constituent of. The property is a synonym of part_of. <br>\n\t * <br> \n\t */\n\tpublic static com.hp.hpl.jena.rdf.model.Property belongs__toProperty = ResourceFactory.createProperty(\"http://localhost/~vivek/cdao.owl#belongs_to\");\n\n\n\t/**\n\t * The Jena Property for has__Value \n\t * <p>(URI: http://localhost/~vivek/cdao.owl#has_Value)</p>\n\t * <br> \n\t */\n\tpublic static com.hp.hpl.jena.rdf.model.Property has__ValueProperty = ResourceFactory.createProperty(\"http://localhost/~vivek/cdao.owl#has_Value\");\n\n\n\t/**\n\t * The Jena Property for has__Support__Value \n\t * <p>(URI: http://localhost/~vivek/cdao.owl#has_Support_Value)</p>\n\t * <br> \n\t */\n\tpublic static com.hp.hpl.jena.rdf.model.Property has__Support__ValueProperty = ResourceFactory.createProperty(\"http://localhost/~vivek/cdao.owl#has_Support_Value\");\n\n\n\t/**\n\t * The Jena Property for has__Float__Value \n\t * <p>(URI: http://localhost/~vivek/cdao.owl#has_Float_Value)</p>\n\t * <br> \n\t */\n\tpublic static com.hp.hpl.jena.rdf.model.Property has__Float__ValueProperty = ResourceFactory.createProperty(\"http://localhost/~vivek/cdao.owl#has_Float_Value\");\n\n\n\t/**\n\t * The Jena Property for has__Int__Value \n\t * <p>(URI: http://localhost/~vivek/cdao.owl#has_Int_Value)</p>\n\t * <br> \n\t */\n\tpublic static com.hp.hpl.jena.rdf.model.Property has__Int__ValueProperty = ResourceFactory.createProperty(\"http://localhost/~vivek/cdao.owl#has_Int_Value\");\n\n\n\t/**\n\t * The Jena Property for has__Uncertainty__Factor \n\t * <p>(URI: http://localhost/~vivek/cdao.owl#has_Uncertainty_Factor)</p>\n\t * <br> \n\t */\n\tpublic static com.hp.hpl.jena.rdf.model.Property has__Uncertainty__FactorProperty = ResourceFactory.createProperty(\"http://localhost/~vivek/cdao.owl#has_Uncertainty_Factor\");\n\n\n\t/**\n\t * The Jena Property for has__Precision \n\t * <p>(URI: http://localhost/~vivek/cdao.owl#has_Precision)</p>\n\t * <br> \n\t */\n\tpublic static com.hp.hpl.jena.rdf.model.Property has__PrecisionProperty = ResourceFactory.createProperty(\"http://localhost/~vivek/cdao.owl#has_Precision\");\n\n\n\t/**\n\t * The Jena Property for has__External__Reference \n\t * <p>(URI: http://localhost/~vivek/cdao.owl#has_External_Reference)</p>\n\t * <br> \n\t */\n\tpublic static com.hp.hpl.jena.rdf.model.Property has__External__ReferenceProperty = ResourceFactory.createProperty(\"http://localhost/~vivek/cdao.owl#has_External_Reference\");\n\n\n\t/**\n\t * The Jena Property for connects__to \n\t * <p>(URI: http://localhost/~vivek/cdao.owl#connects_to)</p>\n\t * <br> \n\t */\n\tpublic static com.hp.hpl.jena.rdf.model.Property connects__toProperty = ResourceFactory.createProperty(\"http://localhost/~vivek/cdao.owl#connects_to\");\n\n\n\t/**\n\t * The Jena Property for has \n\t * <p>(URI: http://localhost/~vivek/cdao.owl#has)</p>\n\t * <br>\n\t * Dublin Core Standard Properties <br>\n\t * \tdescription : Generic 'has' property. <br>\n\t * <br> \n\t */\n\tpublic static com.hp.hpl.jena.rdf.model.Property hasProperty = ResourceFactory.createProperty(\"http://localhost/~vivek/cdao.owl#has\");\n\n\n\t/**\n\t * The Jena Property for part__of \n\t * <p>(URI: http://localhost/~vivek/cdao.owl#part_of)</p>\n\t * <br> \n\t */\n\tpublic static com.hp.hpl.jena.rdf.model.Property part__ofProperty = ResourceFactory.createProperty(\"http://localhost/~vivek/cdao.owl#part_of\");\n\n\n\t/**\n\t * The Jena Property for precedes \n\t * <p>(URI: http://localhost/~vivek/cdao.owl#precedes)</p>\n\t * <br> \n\t */\n\tpublic static com.hp.hpl.jena.rdf.model.Property precedesProperty = ResourceFactory.createProperty(\"http://localhost/~vivek/cdao.owl#precedes\");\n\n\n\n\n\t/**\n\t * Get an Iterator the 'has__Remaining__Coordinate__List' property values. This Iteartor\n\t * may be used to remove all such values.\n\t * @return\t\t{@link java.util.Iterator} of {@link org.cdao.jastor.CoordinateList}\n\t * @see\t\t\t#has__Remaining__Coordinate__ListProperty\n\t */\n\tpublic java.util.Iterator getHas__Remaining__Coordinate__List() throws com.ibm.adtech.jastor.JastorException;\n\n\t/**\n\t * Adds a value for the 'has__Remaining__Coordinate__List' property\n\t * @param\t\tThe {@link org.cdao.jastor.CoordinateList} to add\n\t * @see\t\t\t#has__Remaining__Coordinate__ListProperty\n\t */\n\tpublic void addHas__Remaining__Coordinate__List(org.cdao.jastor.CoordinateList has__Remaining__Coordinate__List) throws com.ibm.adtech.jastor.JastorException;\n\t\n\t/**\n\t * Adds an anonymous value for the 'has__Remaining__Coordinate__List' property\n\t * @return\t\tThe anoymous {@link org.cdao.jastor.CoordinateList} created\n\t * @see\t\t\t#has__Remaining__Coordinate__ListProperty\n\t */\n\tpublic org.cdao.jastor.CoordinateList addHas__Remaining__Coordinate__List() throws com.ibm.adtech.jastor.JastorException;\n\t\n\t/**\n\t * \n\t * The resource argument have rdf:type http://localhost/~vivek/cdao.owl#CoordinateList. That is, this method\n\t * should not be used as a shortcut for creating new objects in the model.\n\t * @param\t\tThe {@link om.hp.hpl.jena.rdf.model.Resource} to add\n\t * @see\t\t\t#has__Remaining__Coordinate__ListProperty\n\t */\n\tpublic org.cdao.jastor.CoordinateList addHas__Remaining__Coordinate__List(com.hp.hpl.jena.rdf.model.Resource resource) throws com.ibm.adtech.jastor.JastorException;\n\t\n\t/**\n\t * Removes a value for the 'has__Remaining__Coordinate__List' property. This method should not\n\t * be invoked while iterator through values. In that case, the remove() method of the Iterator\n\t * itself should be used.\n\t * @param\t\tThe {@link org.cdao.jastor.CoordinateList} to remove\n\t * @see\t\t\t#has__Remaining__Coordinate__ListProperty\n\t */\n\tpublic void removeHas__Remaining__Coordinate__List(org.cdao.jastor.CoordinateList has__Remaining__Coordinate__List) throws com.ibm.adtech.jastor.JastorException;\n\t\t\n\t/**\n\t * Get an Iterator the 'has__First__Coordinate__Item' property values. This Iteartor\n\t * may be used to remove all such values.\n\t * @return\t\t{@link java.util.Iterator} of {@link org.cdao.jastor.CoordinatePoint}\n\t * @see\t\t\t#has__First__Coordinate__ItemProperty\n\t */\n\tpublic java.util.Iterator getHas__First__Coordinate__Item_asCoordinatePoint() throws com.ibm.adtech.jastor.JastorException;\n\n\t/**\n\t * Adds a value for the 'has__First__Coordinate__Item' property\n\t * @param\t\tThe {@link org.cdao.jastor.CoordinatePoint} to add\n\t * @see\t\t\t#has__First__Coordinate__ItemProperty\n\t */\n\tpublic void addHas__First__Coordinate__Item(org.cdao.jastor.CoordinatePoint has__First__Coordinate__Item) throws com.ibm.adtech.jastor.JastorException;\n\t\n\t/**\n\t * Adds an anonymous value for the 'has__First__Coordinate__Item' property\n\t * @return\t\tThe anoymous {@link org.cdao.jastor.CoordinatePoint} created\n\t * @see\t\t\t#has__First__Coordinate__ItemProperty\n\t */\n\tpublic org.cdao.jastor.CoordinatePoint addHas__First__Coordinate__Item_asCoordinatePoint() throws com.ibm.adtech.jastor.JastorException;\n\t\n\t/**\n\t * \n\t * The resource argument have rdf:type http://localhost/~vivek/cdao.owl#CoordinatePoint. That is, this method\n\t * should not be used as a shortcut for creating new objects in the model.\n\t * @param\t\tThe {@link om.hp.hpl.jena.rdf.model.Resource} to add\n\t * @see\t\t\t#has__First__Coordinate__ItemProperty\n\t */\n\tpublic org.cdao.jastor.CoordinatePoint addHas__First__Coordinate__Item_asCoordinatePoint(com.hp.hpl.jena.rdf.model.Resource resource) throws com.ibm.adtech.jastor.JastorException;\n\t\n\t/**\n\t * Removes a value for the 'has__First__Coordinate__Item' property. This method should not\n\t * be invoked while iterator through values. In that case, the remove() method of the Iterator\n\t * itself should be used.\n\t * @param\t\tThe {@link org.cdao.jastor.CoordinatePoint} to remove\n\t * @see\t\t\t#has__First__Coordinate__ItemProperty\n\t */\n\tpublic void removeHas__First__Coordinate__Item(org.cdao.jastor.CoordinatePoint has__First__Coordinate__Item) throws com.ibm.adtech.jastor.JastorException;\n\t\t\n\t/**\n\t * Get an Iterator the 'has__First__Coordinate__Item' property values. This Iteartor\n\t * may be used to remove all such values.\n\t * @return\t\t{@link java.util.Iterator} of {@link org.cdao.jastor.CoordinateRange}\n\t * @see\t\t\t#has__First__Coordinate__ItemProperty\n\t */\n\tpublic java.util.Iterator getHas__First__Coordinate__Item_asCoordinateRange() throws com.ibm.adtech.jastor.JastorException;\n\n\t/**\n\t * Adds a value for the 'has__First__Coordinate__Item' property\n\t * @param\t\tThe {@link org.cdao.jastor.CoordinateRange} to add\n\t * @see\t\t\t#has__First__Coordinate__ItemProperty\n\t */\n\tpublic void addHas__First__Coordinate__Item(org.cdao.jastor.CoordinateRange has__First__Coordinate__Item) throws com.ibm.adtech.jastor.JastorException;\n\t\n\t/**\n\t * Adds an anonymous value for the 'has__First__Coordinate__Item' property\n\t * @return\t\tThe anoymous {@link org.cdao.jastor.CoordinateRange} created\n\t * @see\t\t\t#has__First__Coordinate__ItemProperty\n\t */\n\tpublic org.cdao.jastor.CoordinateRange addHas__First__Coordinate__Item_asCoordinateRange() throws com.ibm.adtech.jastor.JastorException;\n\t\n\t/**\n\t * \n\t * The resource argument have rdf:type http://localhost/~vivek/cdao.owl#CoordinateRange. That is, this method\n\t * should not be used as a shortcut for creating new objects in the model.\n\t * @param\t\tThe {@link om.hp.hpl.jena.rdf.model.Resource} to add\n\t * @see\t\t\t#has__First__Coordinate__ItemProperty\n\t */\n\tpublic org.cdao.jastor.CoordinateRange addHas__First__Coordinate__Item_asCoordinateRange(com.hp.hpl.jena.rdf.model.Resource resource) throws com.ibm.adtech.jastor.JastorException;\n\t\n\t/**\n\t * Removes a value for the 'has__First__Coordinate__Item' property. This method should not\n\t * be invoked while iterator through values. In that case, the remove() method of the Iterator\n\t * itself should be used.\n\t * @param\t\tThe {@link org.cdao.jastor.CoordinateRange} to remove\n\t * @see\t\t\t#has__First__Coordinate__ItemProperty\n\t */\n\tpublic void removeHas__First__Coordinate__Item(org.cdao.jastor.CoordinateRange has__First__Coordinate__Item) throws com.ibm.adtech.jastor.JastorException;\n\t\t\n}", "title": "" }, { "docid": "bbc9a238181bbc789bff0e887cf4a093", "score": "0.51156807", "text": "@Test\n public void processIdentity() {\n org.onosproject.yang.gen.v1.identitytest.rev20130715.identitytest.Available\n avail1 = new org.onosproject.yang.gen.v1.identitytest\n .rev20130715.identitytest.Available(Loopback.class);\n org.onosproject.yang.gen.v1.identitytest.rev20130715.identitytest.Available\n avail2 = new org.onosproject.yang.gen.v1.identitytest\n .rev20130715.identitytest.Available(Giga.class);\n org.onosproject.yang.gen.v1.identitytest.rev20130715.identitytest.Available\n avail3 = new org.onosproject.yang.gen.v1.identitytest\n .rev20130715.identitytest.Available(Ethernet.class);\n\n Available available = new DefaultAvailable();\n available.addToLl(avail1);\n available.addToLl(avail2);\n available.addToLl(avail3);\n\n TypedUnion typedUnion = new TypedUnion(Virtual.class);\n Typed typed = new Typed(typedUnion);\n IntList list = new DefaultIntList();\n list.iden(typed);\n list.available(available);\n\n org.onosproject.yang.gen.v1.identitytest.rev20130715.identitytest.Available\n avail4 = new org.onosproject.yang.gen.v1.identitytest\n .rev20130715.identitytest.Available(Giga.class);\n\n Available available2 = new DefaultAvailable();\n available2.addToLl(avail4);\n\n TypedUnion typedUnion2 = new TypedUnion(Optical.class);\n Typed typed2 = new Typed(typedUnion2);\n IntList list2 = new DefaultIntList();\n list2.iden(typed2);\n list2.available(available2);\n\n Interfaces ifs = new DefaultInterfaces();\n ifs.addToIntList(list);\n ifs.addToIntList(list2);\n\n Con1 con = new DefaultCon1();\n con.yangAutoPrefixInterface(Physical.class);\n con.interfaces(ifs);\n\n mid = builder().addChild(DefaultTest.class).build();\n data = new Builder();\n data.identifier(mid);\n data.addModelObject((ModelObject) con);\n rscData = treeBuilder.getResourceData(data.build());\n\n List<DataNode> contDn = rscData.dataNodes();\n String ns = \"identity:ns:test:json:ser\";\n String ns2 = \"identity:list:ns:test:json:ser\";\n String ns3 = \"identity:list:second:ns:test:json:ser\";\n Iterator<DataNode> it = contDn.iterator();\n\n DataNode contNode = it.next();\n validateDataNode(contNode, \"con1\", ns, SINGLE_INSTANCE_NODE,\n true, null);\n\n Map<NodeKey, DataNode> child = ((InnerNode) contNode).childNodes();\n List<DataNode> ints = new LinkedList<>();\n for (Map.Entry<NodeKey, DataNode> c : child.entrySet()) {\n ints.add(c.getValue());\n }\n\n it = ints.iterator();\n DataNode ifl = it.next();\n validateLeafDataNodeNs((LeafNode) ifl, \"physical\", ns2);\n\n DataNode inters = it.next();\n validateDataNode(inters, \"interfaces\", ns, SINGLE_INSTANCE_NODE,\n true, null);\n\n child = ((InnerNode) inters).childNodes();\n ints = new LinkedList<>();\n for (Map.Entry<NodeKey, DataNode> c : child.entrySet()) {\n ints.add(c.getValue());\n }\n Iterator<DataNode> listIt = ints.iterator();\n DataNode intLi1 = listIt.next();\n validateDataNode(intLi1, \"int-list\", ns,\n MULTI_INSTANCE_NODE, true, null);\n child = ((InnerNode) intLi1).childNodes();\n ints = new LinkedList<>();\n for (Map.Entry<NodeKey, DataNode> c : child.entrySet()) {\n ints.add(c.getValue());\n }\n it = ints.iterator();\n DataNode id1 = it.next();\n validateLeafDataNodeNs((LeafNode) id1, \"virtual\", ns3);\n DataNode avail = it.next();\n validateDataNode(avail, \"available\", ns,\n SINGLE_INSTANCE_NODE, true, null);\n\n child = ((InnerNode) avail).childNodes();\n ints = new LinkedList<>();\n for (Map.Entry<NodeKey, DataNode> c : child.entrySet()) {\n ints.add(c.getValue());\n }\n it = ints.iterator();\n validateLeafDataNodeNs((LeafNode) it.next(), \"Loopback\", ns2);\n validateLeafDataNodeNs((LeafNode) it.next(), \"Giga\", ns);\n validateLeafDataNodeNs((LeafNode) it.next(), \"Ethernet\", ns3);\n DataNode intLi2 = listIt.next();\n\n validateDataNode(intLi2, \"int-list\", ns,\n MULTI_INSTANCE_NODE, true, null);\n child = ((InnerNode) intLi2).childNodes();\n ints = new LinkedList<>();\n for (Map.Entry<NodeKey, DataNode> c : child.entrySet()) {\n ints.add(c.getValue());\n }\n it = ints.iterator();\n DataNode id2 = it.next();\n validateLeafDataNodeNs((LeafNode) id2, \"optical\", ns);\n DataNode availab2 = it.next();\n validateDataNode(availab2, \"available\", ns,\n SINGLE_INSTANCE_NODE, true, null);\n\n child = ((InnerNode) availab2).childNodes();\n ints = new LinkedList<>();\n for (Map.Entry<NodeKey, DataNode> c : child.entrySet()) {\n ints.add(c.getValue());\n }\n it = ints.iterator();\n validateLeafDataNodeNs((LeafNode) it.next(), \"Giga\", ns);\n }", "title": "" }, { "docid": "e862fcd25b12d37051481666f90b8950", "score": "0.5112213", "text": "DSLKnowledge getKnowledge();", "title": "" }, { "docid": "8cd05de75d98f8ff1e7f8dcc0c812577", "score": "0.5109156", "text": "public Set<FormulaSet<OWLLogicalAxiom>> start() {\r\n Set<OWLLogicalAxiom> targetDiagnosis = new HashSet<OWLLogicalAxiom>();\r\n metricsLogger.startTimer(\"calculatetargetdiag\");\r\n List<OWLClass> unsatClasses = getModuleCalculator().getInitialUnsatClasses(Collections.<OWLClass>emptySet(),\r\n MAX_UNSAT_CLASSES);\r\n if (isSortNodes())\r\n Collections.sort(unsatClasses, new ChildsComparator(unsatClasses, getMappings(), getOntoAxioms()));\r\n int toIndex = Collections.min(Arrays.asList(MAX_UNSAT_CLASSES, unsatClasses.size()));\r\n List<OWLClass> actualUnsatClasses = new LinkedList<OWLClass>(unsatClasses.subList(0, toIndex));\r\n\r\n while (!actualUnsatClasses.isEmpty()) {\r\n metricsLogger.startTimer(\"moduleTimeNew\");\r\n metricsLogger.startTimer(\"calculatemodule\");\r\n getModuleCalculator().calculateModules(actualUnsatClasses);\r\n Map<OWLClass, Set<OWLLogicalAxiom>> map = getModuleCalculator().getModuleMap();\r\n\r\n getModuleCalculator().sortUnsatisfiableClasses(actualUnsatClasses);\r\n OWLClass actualUnsatClass = actualUnsatClasses.get(0);\r\n\r\n Set<OWLLogicalAxiom> axioms = new HashSet<OWLLogicalAxiom>(map.get(actualUnsatClass));\r\n\r\n actualUnsatClasses.remove(actualUnsatClass);\r\n if (axioms.size() > 10000){\r\n Multimap<OWLAxiom,OWLClass> modMap = getModuleCalculator().clusterModule(axioms);\r\n for (OWLAxiom owlAxiom : modMap.keySet()) {\r\n Collection<OWLClass> classes = modMap.get(owlAxiom);\r\n Collection<OWLClass> subModule = getModuleCalculator().calculateModules(classes);\r\n if (logger.isDebugEnabled())\r\n logger.debug(\"Submodule for \" + owlAxiom + \" including \" + subModule.size() + \" axioms\");\r\n }\r\n }\r\n\r\n //Set<OWLLogicalAxiom> intersection = new HashSet<OWLLogicalAxiom>(map.get(owlClass));\r\n for (OWLClass unsatClass : actualUnsatClasses) {\r\n Set<OWLLogicalAxiom> module = map.get(unsatClass);\r\n if (module.size() + axioms.size() < 500)\r\n axioms.addAll(module); // axioms = new HashSet<OWLLogicalAxiom>(module);\r\n /*else {\r\n Sets.SetView<OWLLogicalAxiom> intersection = Sets.intersection(axioms, module);\r\n if (!intersection.isEmpty() && intersection.size() < axioms.size() &&\r\n !getModuleCalculator().isConsistent(intersection))\r\n axioms = new HashSet<OWLLogicalAxiom>(intersection);\r\n } */\r\n }\r\n\r\n metricsLogger.stopTimer(\"calculatemodule\");\r\n /*\r\n for (OWLClass unsatClass : actualUnsatClasses)\r\n axioms.addAll(map.get(unsatClass));\r\n */\r\n Set<OWLLogicalAxiom> background = new LinkedHashSet<OWLLogicalAxiom>(axioms);\r\n background.retainAll(getOntoAxioms());\r\n\r\n if (logger.isInfoEnabled())\r\n logger.info(\"Processing module with BK: \" + background.size() + \" from \" + axioms.size());\r\n\r\n //Set<? extends Set<OWLLogicalAxiom>> diagnoses = searchDiagnoses(axioms, background);\r\n //Set<OWLLogicalAxiom> partDiag = diagnosisOracle.chooseDiagnosis(diagnoses);\r\n metricsLogger.startTimer(\"calculatepartdiag\");\r\n //metricsManager.getMetrics().histogram(\"avgCoherencyTimeMetric\");\r\n //IterativeStatistics.avgCoherencyTime.createNewValueGroup();\r\n //IterativeStatistics.avgConsistencyTime.createNewValueGroup();\r\n //IterativeStatistics.avgConsistencyCheck.createNewValueGroup();\r\n //IterativeStatistics.avgCoherencyCheck.createNewValueGroup();\r\n metricsLogger.addLabel(\"modulediag\");\r\n Set<OWLLogicalAxiom> partDiag = getDiagSearcher().calculateDiag(axioms, background);\r\n MetricRegistry metric = metricsLogger.removeLabel(\"modulediag\");\r\n metricsLogger.stopTimer(\"calculatepartdiag\");\r\n\r\n // TODO null pointer exception\r\n if (metric.getGauges().get(\"module-size\") != null)\r\n metricsLogger.getHistogram(\"moduleSizes\").update((Integer)metric.getGauges().get(\"module-size\").getValue());\r\n if (metric.getGauges().get(\"card-hs\") != null)\r\n metricsLogger.getHistogram(\"cardHs\").update((Integer)metric.getGauges().get(\"card-hs\").getValue());\r\n\r\n metricsLogger.getActualMetric().histogram(\"cardCs\").update((long)metric.histogram(\"card-cs\").getSnapshot().getMean());\r\n metricsLogger.getActualMetric().histogram(\"numCs\").update(metric.histogram(\"card-cs\").getCount());\r\n metricsLogger.getActualMetric().histogram(\"numOfQueries\").update(metric.counter(\"numofqueries\").getCount());\r\n metricsLogger.getActualMetric().histogram(\"reactionTime\").update((long)metric.timer(\"reactionTime\").getSnapshot().getMean());\r\n metricsLogger.getActualMetric().histogram(\"timeQueryGen\").update((long)metric.timer(\"calculatingpartition\").getSnapshot().getMean());\r\n metricsLogger.getActualMetric().histogram(\"avgRunofhstree\").update((long)metric.timer(\"runofhstree\").getSnapshot().getMean());\r\n metricsLogger.getActualMetric().histogram(\"moduleNumConsistencyChecks\").update(metric.timer(\"consistencyChecks\").getCount());\r\n metricsLogger.getActualMetric().histogram(\"moduleTimeConsistencyChecks\").update((long)metric.timer(\"consistencyChecks\").getSnapshot().getMean());\r\n metricsLogger.getActualMetric().histogram(\"moduleNumCoherencyChecks\").update(metric.timer(\"coherencyChecks\").getCount());\r\n metricsLogger.getActualMetric().histogram(\"moduleTimeCoherencyChecks\").update((long)metric.timer(\"coherencyChecks\").getSnapshot().getMean());\r\n metricsLogger.updateHistogram(\"queryCard\",metric.histogram(\"partition-size\").getSnapshot().getValues());\r\n\r\n // for (OWLLogicalAxiom axiom : partDiag)\r\n // logger.info(\"part diag axiom: \" + axiom);\r\n // logger.info(\"---\");\r\n\r\n long timeModule = metricsLogger.stopTimer(\"moduleTimeNew\");\r\n //IterativeStatistics.moduleTime.add(timeModule);\r\n getModuleCalculator().removeAxiomsFromOntologyAndModules(partDiag);\r\n getModuleCalculator().updatedLists(actualUnsatClasses, unsatClasses, MAX_UNSAT_CLASSES);\r\n targetDiagnosis.addAll(partDiag);\r\n }\r\n //metricsManager.logAllMetrics();\r\n //IterativeStatistics.logAndClear(logger, IterativeStatistics.avgCardCS, \"average cardinality CS\");\r\n //IterativeStatistics.logAndClear(logger, IterativeStatistics.cardHS, \"cardinality HS\");\r\n //IterativeStatistics.logAndClear(logger, IterativeStatistics.numberCS, \"number CS\");\r\n //IterativeStatistics.logAndClear(logger, IterativeStatistics.moduleSize, \"module size\");\r\n //IterativeStatistics.logAndClear(logger, IterativeStatistics.diagnosisTime, \"diagnosis time\");\r\n //IterativeStatistics.logAndClear(logger, IterativeStatistics.moduleTime, \"module time\");\r\n //IterativeStatistics.logAndClear(logger, IterativeStatistics.avgConsistencyTime, \"consistency time\");\r\n //IterativeStatistics.logAndClear(logger, IterativeStatistics.avgCoherencyTime, \"coherency time\");\r\n //IterativeStatistics.logAndClear(logger, IterativeStatistics.avgConsistencyCheck, \"consistency checks\");\r\n //IterativeStatistics.logAndClear(logger, IterativeStatistics.avgCoherencyCheck, \"coherency checks\");\r\n //IterativeStatistics.logAndClear(logger, IterativeStatistics.numOfQueries, \"num of queries\");\r\n //IterativeStatistics.logAndClear(logger, IterativeStatistics.avgTimeQueryGen, \"time querygen\");\r\n //IterativeStatistics.logAndClear(logger, IterativeStatistics.avgReactTime, \"reaction time\");\r\n //IterativeStatistics.logAndClear(logger, IterativeStatistics.avgQueryCard, \"query card\");\r\n\r\n\r\n metricsLogger.stopTimer(\"calculatetargetdiag\");\r\n return Collections.singleton(createFormulaSet(targetDiagnosis));\r\n }", "title": "" }, { "docid": "7b1c1e3d007a9e5f47bc3cad1cb4c126", "score": "0.5097354", "text": "public boolean testRelatingobject(EIfcreldefinesbyobject type) throws SdaiException;", "title": "" }, { "docid": "d015cae7a66aa055c8b13ef66cddb3ed", "score": "0.50942385", "text": "public interface SupportedBy extends AssertedRelationship {\n}", "title": "" }, { "docid": "1a830cbc3355b4b763677a8c6e6d80dc", "score": "0.5093713", "text": "public static void main(String[] args) {\n\t OntModel ontModel = ModelFactory.createOntologyModel( OntModelSpec.OWL_MEM, null );\n\t try\n\t {\n\t \t ontModel.read(new FileInputStream(\"D:\\\\Fruits-lite.owl\"),\"\");\n\t }\n\t catch(IOException ioe)\n\t {\n\t System.err.println(ioe.toString());\n\t }\n\t \n\t OntDocumentManager dm = ontModel.getDocumentManager();\n\t \n\n\t //添加class和label\n\t OntClass cls = ontModel.createClass(\"http://www.360iii.org/ontologies/fruit#OWLClass_dfe66630_50bb_4596_b79e_ab2e457d5a06\"); \n\t cls.addLabel(\"测试class\", \"zh\");\n\t //添加class并添加Equivalent关系 \n\t OntClass oc = ontModel.getOntClass(\"http://www.360iii.org/ontologies/fruit#OWLClass_dfe66630_50bb_4596_b79e_ab2e297d5a06\");\n\t oc.addEquivalentClass(cls); \n\t System.out.print(\"新加类的中文label是:\"+cls.getLabel(\"zh\")+\"\\r\\n\");\n\t //****奇怪,为什么是空值????****\n\t System.out.print(\"新加类cls的URI是:\"+cls.getURI()+\"\\r\\n\");\n\t System.out.print(\"新加类oc的URIl是:\"+oc.getURI()+\"\\r\\n\");\n\t \n\t \n\t //清单1.查询家庭模型中的subject\n\n\t \t//list everyone in the model who has a child;\n\t Property p1 =ontModel.getProperty(\"http://www.360iii.org/ontologies/fruit#OWLObjectProperty_370f6e23_1161_40a8_8046_c3e0ac331d4e\");\n\t OntProperty op1 = (OntProperty) p1.as( OntProperty.class );\n\t \n\t \tResIterator r1 = ontModel.listSubjectsWithProperty(RDF.type,op1);\n\t \t//Because subjects of statements are Resources, the method returned a ResIterator\n\t \tSystem.out.println(\"\\r\\n\"+op1.getLabel(\"zh\")+\" 的所有subject有:\");\n\n\t \twhile (r1.hasNext()){\n//\t \t\t//ResIterator has a typed nextResource() met hold\n\t \t\tResource o1 = r1.nextResource();\n//\t \t\t//Print the URI of the resource\n\t \t\tSystem.out.println(o1.getURI());\n//\t \t\t\n//\t \t\t//can also find all the parents by getting the objects of all\"childOf\" statements.\n//\t \t\t//Objects of statements could be Resources or literals,so the Iterator returned\n//\t \t\t//contains RDFNodes\n\n\t \t}\n\t \n\t \t\n\t \t\n//\t \n\t \t//Objects of statements could be Resources or literals,so the Iterator returned\n\t \t//contain RDFNodes\n\t \tProperty p2 =ontModel.getProperty(\"http://www.360iii.org/ontologies/fruit#OWLObjectProperty_c0511a91_343e_4539_8707_d9000d45e033\");\n\t \tOntProperty op2 = (OntProperty) p2.as( OntProperty.class );\n\t \tNodeIterator ni1 = ontModel.listObjectsOfProperty(RDF.type);\n//\t \t//to find all the siblings of a specific person,the model itself can be required\n\t \tSystem.out.println(\"\\r\\n\"+op2.getLabel(\"zh\")+\" 的所有subject有:\");\n\t \twhile (ni1.hasNext()){\n\t \t\tRDFNode object = ni1.nextNode();\n\t \t\tSystem.out.println(object.getClass());\n\t \t}\n// \n\t \n\t \n\t \n\t \n\t \n\t \n\t \n\t \n\t /** \n\t * get all classes and properties \n\t * \n\t * @param model \n\t */ \n////\t public static void getClasses(OntModel ontModel) { \n//\t for (ExtendedIterator<OntClass> ei = ontModel.listClasses(); ei.hasNext();) { \n//\t OntClass oc = ei.next(); \n//\t System.out.println(oc.getLocalName()); \n//\t for (ExtendedIterator<OntProperty> eip = oc \n//\t .listDeclaredProperties(); eip.hasNext();) { \n//\t OntProperty op = eip.next(); \n//\t System.out.println(op.getLocalName()); \n//\t } \n//\t } \n////\t } \n\t \n\t \n\t \n//\t // ***迭代显示模型中的类,在迭代过程中完成各种操作***\n//\t for (Iterator i = ontModel.listClasses(); i.hasNext();) {\n//\t OntClass c = (OntClass) i.next(); // 返回类型强制转换\n//\t \t\tif (!c.isAnon()) { // 如果不是匿名类,则打印类的名字\n//\t \t\t\tSystem.out.print(\"Class:\");\t \t\t\t\n//\t // *********获取类的label和IRI地址**********\n//\t \t\t\tSystem.out.println(c.getLabel(\"zh\"));\n//\t \t\t\t\tfor (Iterator j = ontModel.listObjectProperties(); j.hasNext();) {\n//\t \t\t\t\t\tOntProperty op = (OntProperty) j.next(); \n//\t \t\t\t\t\tSystem.out.print(\"Property:\");\n//\t \t\t System.out.println(op.getLabel(\"zh\")); \n//\t \t\t\t\t}\n//\t \t }\n\t \t\t\t\t\n\t \t\t\t\t\n\t \t\t\t\t\n\t \t\t\t\t\n\t \n\t \n\t \n//\t public static void printModel(OntModel ontModel) { \n//\t \t for (Iterator<OntClass><span style=\"font-family: 'Myriad Pro';\"> i = ontModel.listClasses(); i.hasNext();) {</span> \n//\t \t OntClass oc = i.next(); \n//\t \t System.out.println(oc.getLocalName()); \n//\t \t } \n\t \n\t \n//\t \t \n\t \t \n\t \t\t\n//\t \tpublic static void getClasses(OntModel ontModel) { \n//\t \t\t for (ExtendedIterator<OntClass> ei = ontModel.listClasses(); ei.hasNext();) { \n//\t \t\t OntClass ot = ei.next(); \n//\t \t\t System.out.println(oc.getLocalName()); \n//\t \t\t for (ExtendedIterator<OntProperty> eip = ot \n//\t \t\t .listDeclaredProperties(); eip.hasNext();) { \n//\t \t\t OntProperty op = eip.next(); \n//\t \t\t System.out.println(op.getLocalName()); \n//\t \t\t } \n//\t \t\t } \n//\t \t} \t \t\t\n\t \t\t\n\t \t\t\n\t \t\t\n\t \t\t\n\t \n//\t if(c.getLabel(\"zh\").equals(oc.getLabel(\"zh\"))){\n//\t \t System.out.println(\"URI@\"+c.getURI());\n////\t \t\tSystem.out.println(\"水果类的等价类\");\t\n// \t\t\tSystem.out.println(c.getLocalName());\t\t\n//\t\t } \n//\t\t } \n\t \n\t \n\t\t// TODO Auto-generated method stub\n//\t \tOntModel ontModel = ModelFactory.createOntologyModel();\n//\t \tontModel.read(\"D:\\\\wine.Owl\");\n//\t\tString NS = \"http://example.com/test/\";\n//\t\t\n//\t\tResource r = m.createResource(NS + \"r\");\n//\t\tProperty t = m.createProperty(NS + \"t\");\t\t\n//\t\t\n//\t\tr.addProperty(t, \"hello world\",XSDDatatype.XSDstring);\n//\t\tm.write(System.out, \"Turtle\");\n\t\t\n\t}", "title": "" }, { "docid": "d1d78c77f3b33a6bcf8a82f306e1d159", "score": "0.50891143", "text": "public interface SWRLRuleEngineBridge\r\n{\r\n\tvoid setTargetRuleEngine(TargetSWRLRuleEngine targetRuleEngine);\r\n \r\n\t/**\r\n * The infer method can be used by a target rule engines to assert axioms that they infer into the bridge.\r\n */\r\n void inferOWLAxiom(OWLAxiomReference axiom) throws SWRLRuleEngineBridgeException;\r\n \r\n /**\r\n * This method can be used by a target rule engines to invoke built-ins. If the invoked built-in generates an argument binding, the bridge will call the \r\n * defineBuiltInArgumentBinding method in the target rule engine for each unique binding pattern.\r\n */\r\n boolean invokeSWRLBuiltIn(String ruleURI, String builtInURI, int builtInIndex, boolean isInConsequent, List<BuiltInArgument> arguments) \r\n throws SWRLRuleEngineBridgeException;\r\n\r\n boolean isOWLClass(String uri);\r\n boolean isOWLObjectProperty(String uri);\r\n boolean isOWLDataProperty(String uri);\r\n boolean isOWLIndividual(String uri);\r\n\r\n OWLDataFactory getOWLDataFactory();\r\n OWLDataValueFactory getOWLDataValueFactory();\r\n \r\n // SQWRL-related functionality\r\n boolean isSQWRLQuery(SWRLRuleReference query);\r\n boolean usesSQWRLCollections(SWRLRuleReference query);\r\n List<SWRLAtomReference> getSQWRLPhase1BodyAtoms(SWRLRuleReference query);\r\n List<SWRLAtomReference> getSQWRLPhase2BodyAtoms(SWRLRuleReference query);\r\n List<SWRLBuiltInAtomReference> getBuiltInAtomsFromHead(SWRLRuleReference query, Set<String> builtInNames);\r\n List<SWRLBuiltInAtomReference> getBuiltInAtomsFromBody(SWRLRuleReference query, Set<String> builtInNames);\r\n \r\n // TODO: temporary\r\n String uri2PrefixedName(String uri);\r\n String name2URI(String prefixedName);\r\n PrefixManager getPrefixManager();\r\n}", "title": "" }, { "docid": "26d88a1b1ee58483ddbc48a91bcb999c", "score": "0.5085093", "text": "public static SemanticsPackage init()\n\t{\n\t\tif (isInited) return (SemanticsPackage)EPackage.Registry.INSTANCE.getEPackage(SemanticsPackage.eNS_URI);\n\n\t\t// Obtain or create and register package\n\t\tSemanticsPackageImpl theSemanticsPackage = (SemanticsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof SemanticsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new SemanticsPackageImpl());\n\n\t\tisInited = true;\n\n\t\t// Initialize simple dependencies\n\t\tXMLNamespacePackage.eINSTANCE.eClass();\n\t\tXMLTypePackage.eINSTANCE.eClass();\n\n\t\t// Obtain or create and register interdependencies\n\t\tEventPackageImpl theEventPackage = (EventPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EventPackage.eNS_URI) instanceof EventPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EventPackage.eNS_URI) : EventPackage.eINSTANCE);\n\t\tActionPackageImpl theActionPackage = (ActionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ActionPackage.eNS_URI) instanceof ActionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActionPackage.eNS_URI) : ActionPackage.eINSTANCE);\n\t\tFactPackageImpl theFactPackage = (FactPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(FactPackage.eNS_URI) instanceof FactPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(FactPackage.eNS_URI) : FactPackage.eINSTANCE);\n\t\tObjectsPackageImpl theObjectsPackage = (ObjectsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ObjectsPackage.eNS_URI) instanceof ObjectsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ObjectsPackage.eNS_URI) : ObjectsPackage.eINSTANCE);\n\t\tTasksPackageImpl theTasksPackage = (TasksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TasksPackage.eNS_URI) instanceof TasksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TasksPackage.eNS_URI) : TasksPackage.eINSTANCE);\n\t\tActionsPackageImpl theActionsPackage = (ActionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ActionsPackage.eNS_URI) instanceof ActionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActionsPackage.eNS_URI) : ActionsPackage.eINSTANCE);\n\t\tAgentsPackageImpl theAgentsPackage = (AgentsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AgentsPackage.eNS_URI) instanceof AgentsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AgentsPackage.eNS_URI) : AgentsPackage.eINSTANCE);\n\t\tServicePackageImpl theServicePackage = (ServicePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ServicePackage.eNS_URI) instanceof ServicePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ServicePackage.eNS_URI) : ServicePackage.eINSTANCE);\n\t\tSyntaxPackageImpl theSyntaxPackage = (SyntaxPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SyntaxPackage.eNS_URI) instanceof SyntaxPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SyntaxPackage.eNS_URI) : SyntaxPackage.eINSTANCE);\n\t\tTemplatePackageImpl theTemplatePackage = (TemplatePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TemplatePackage.eNS_URI) instanceof TemplatePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TemplatePackage.eNS_URI) : TemplatePackage.eINSTANCE);\n\t\tArchitecturePackageImpl theArchitecturePackage = (ArchitecturePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ArchitecturePackage.eNS_URI) instanceof ArchitecturePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ArchitecturePackage.eNS_URI) : ArchitecturePackage.eINSTANCE);\n\t\tOperaPackageImpl theOperaPackage = (OperaPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(OperaPackage.eNS_URI) instanceof OperaPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(OperaPackage.eNS_URI) : OperaPackage.eINSTANCE);\n\t\tOMPackageImpl theOMPackage = (OMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(OMPackage.eNS_URI) instanceof OMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(OMPackage.eNS_URI) : OMPackage.eINSTANCE);\n\t\tWsdlGroundingPackageImpl theWsdlGroundingPackage = (WsdlGroundingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WsdlGroundingPackage.eNS_URI) instanceof WsdlGroundingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(WsdlGroundingPackage.eNS_URI) : WsdlGroundingPackage.eINSTANCE);\n\t\tProcessPackageImpl theProcessPackage = (ProcessPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ProcessPackage.eNS_URI) instanceof ProcessPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ProcessPackage.eNS_URI) : ProcessPackage.eINSTANCE);\n\t\tnet.sf.ictalive.owls.service.impl.ServicePackageImpl theServicePackage_1 = (net.sf.ictalive.owls.service.impl.ServicePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(net.sf.ictalive.owls.service.ServicePackage.eNS_URI) instanceof net.sf.ictalive.owls.service.impl.ServicePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(net.sf.ictalive.owls.service.ServicePackage.eNS_URI) : net.sf.ictalive.owls.service.ServicePackage.eINSTANCE);\n\t\tProfilePackageImpl theProfilePackage = (ProfilePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ProfilePackage.eNS_URI) instanceof ProfilePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ProfilePackage.eNS_URI) : ProfilePackage.eINSTANCE);\n\t\tExprPackageImpl theExprPackage = (ExprPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ExprPackage.eNS_URI) instanceof ExprPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ExprPackage.eNS_URI) : ExprPackage.eINSTANCE);\n\t\tTimePackageImpl theTimePackage = (TimePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimePackage.eNS_URI) instanceof TimePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimePackage.eNS_URI) : TimePackage.eINSTANCE);\n\t\tSchemaPackageImpl theSchemaPackage = (SchemaPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SchemaPackage.eNS_URI) instanceof SchemaPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SchemaPackage.eNS_URI) : SchemaPackage.eINSTANCE);\n\t\tSwrlPackageImpl theSwrlPackage = (SwrlPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SwrlPackage.eNS_URI) instanceof SwrlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SwrlPackage.eNS_URI) : SwrlPackage.eINSTANCE);\n\n\t\t// Create package meta-data objects\n\t\ttheSemanticsPackage.createPackageContents();\n\t\ttheEventPackage.createPackageContents();\n\t\ttheActionPackage.createPackageContents();\n\t\ttheFactPackage.createPackageContents();\n\t\ttheObjectsPackage.createPackageContents();\n\t\ttheTasksPackage.createPackageContents();\n\t\ttheActionsPackage.createPackageContents();\n\t\ttheAgentsPackage.createPackageContents();\n\t\ttheServicePackage.createPackageContents();\n\t\ttheSyntaxPackage.createPackageContents();\n\t\ttheTemplatePackage.createPackageContents();\n\t\ttheArchitecturePackage.createPackageContents();\n\t\ttheOperaPackage.createPackageContents();\n\t\ttheOMPackage.createPackageContents();\n\t\ttheWsdlGroundingPackage.createPackageContents();\n\t\ttheProcessPackage.createPackageContents();\n\t\ttheServicePackage_1.createPackageContents();\n\t\ttheProfilePackage.createPackageContents();\n\t\ttheExprPackage.createPackageContents();\n\t\ttheTimePackage.createPackageContents();\n\t\ttheSchemaPackage.createPackageContents();\n\t\ttheSwrlPackage.createPackageContents();\n\n\t\t// Initialize created meta-data\n\t\ttheSemanticsPackage.initializePackageContents();\n\t\ttheEventPackage.initializePackageContents();\n\t\ttheActionPackage.initializePackageContents();\n\t\ttheFactPackage.initializePackageContents();\n\t\ttheObjectsPackage.initializePackageContents();\n\t\ttheTasksPackage.initializePackageContents();\n\t\ttheActionsPackage.initializePackageContents();\n\t\ttheAgentsPackage.initializePackageContents();\n\t\ttheServicePackage.initializePackageContents();\n\t\ttheSyntaxPackage.initializePackageContents();\n\t\ttheTemplatePackage.initializePackageContents();\n\t\ttheArchitecturePackage.initializePackageContents();\n\t\ttheOperaPackage.initializePackageContents();\n\t\ttheOMPackage.initializePackageContents();\n\t\ttheWsdlGroundingPackage.initializePackageContents();\n\t\ttheProcessPackage.initializePackageContents();\n\t\ttheServicePackage_1.initializePackageContents();\n\t\ttheProfilePackage.initializePackageContents();\n\t\ttheExprPackage.initializePackageContents();\n\t\ttheTimePackage.initializePackageContents();\n\t\ttheSchemaPackage.initializePackageContents();\n\t\ttheSwrlPackage.initializePackageContents();\n\n\t\t// Mark meta-data to indicate it can't be changed\n\t\ttheSemanticsPackage.freeze();\n\n\t\treturn theSemanticsPackage;\n\t}", "title": "" }, { "docid": "1879c0380c9dc9d0be0cd7b2c9b197f3", "score": "0.50757587", "text": "public interface MomentClass extends OntoUML.Class {\r\n}", "title": "" }, { "docid": "87a1cf2ef007052bafac1eb9af1dc6c6", "score": "0.5070258", "text": "public interface MyUnoDslPackage extends EPackage\n{\n /**\n * The package name.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n String eNAME = \"myUnoDsl\";\n\n /**\n * The package namespace URI.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n String eNS_URI = \"http://www.xtext.org/example/mydsl/MyUnoDsl\";\n\n /**\n * The package namespace name.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n String eNS_PREFIX = \"myUnoDsl\";\n\n /**\n * The singleton instance of the package.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n MyUnoDslPackage eINSTANCE = org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl.init();\n\n /**\n * The meta object id for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.ModelImpl <em>Model</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.ModelImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getModel()\n * @generated\n */\n int MODEL = 0;\n\n /**\n * The feature id for the '<em><b>Uno</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int MODEL__UNO = 0;\n\n /**\n * The feature id for the '<em><b>Deroulement</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int MODEL__DEROULEMENT = 1;\n\n /**\n * The feature id for the '<em><b>Fin</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int MODEL__FIN = 2;\n\n /**\n * The number of structural features of the '<em>Model</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int MODEL_FEATURE_COUNT = 3;\n\n /**\n * The meta object id for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.ConfigurationImpl <em>Configuration</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.ConfigurationImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getConfiguration()\n * @generated\n */\n int CONFIGURATION = 1;\n\n /**\n * The number of structural features of the '<em>Configuration</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int CONFIGURATION_FEATURE_COUNT = 0;\n\n /**\n * The meta object id for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.MainImpl <em>Main</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MainImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getMain()\n * @generated\n */\n int MAIN = 2;\n\n /**\n * The feature id for the '<em><b>Nbt</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int MAIN__NBT = CONFIGURATION_FEATURE_COUNT + 0;\n\n /**\n * The feature id for the '<em><b>Rot</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int MAIN__ROT = CONFIGURATION_FEATURE_COUNT + 1;\n\n /**\n * The feature id for the '<em><b>Equ</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int MAIN__EQU = CONFIGURATION_FEATURE_COUNT + 2;\n\n /**\n * The feature id for the '<em><b>Visibilite</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int MAIN__VISIBILITE = CONFIGURATION_FEATURE_COUNT + 3;\n\n /**\n * The feature id for the '<em><b>Nbm</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int MAIN__NBM = CONFIGURATION_FEATURE_COUNT + 4;\n\n /**\n * The feature id for the '<em><b>Nbc</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int MAIN__NBC = CONFIGURATION_FEATURE_COUNT + 5;\n\n /**\n * The number of structural features of the '<em>Main</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int MAIN_FEATURE_COUNT = CONFIGURATION_FEATURE_COUNT + 6;\n\n /**\n * The meta object id for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.DeroulementImpl <em>Deroulement</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.DeroulementImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getDeroulement()\n * @generated\n */\n int DEROULEMENT = 3;\n\n /**\n * The feature id for the '<em><b>Piocher</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int DEROULEMENT__PIOCHER = 0;\n\n /**\n * The feature id for the '<em><b>Cartes</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int DEROULEMENT__CARTES = 1;\n\n /**\n * The feature id for the '<em><b>Pen</b></em>' containment reference list.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int DEROULEMENT__PEN = 2;\n\n /**\n * The number of structural features of the '<em>Deroulement</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int DEROULEMENT_FEATURE_COUNT = 3;\n\n /**\n * The meta object id for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.PiocherImpl <em>Piocher</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.PiocherImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getPiocher()\n * @generated\n */\n int PIOCHER = 4;\n\n /**\n * The feature id for the '<em><b>Nbr</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int PIOCHER__NBR = 0;\n\n /**\n * The feature id for the '<em><b>Optp</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int PIOCHER__OPTP = 1;\n\n /**\n * The number of structural features of the '<em>Piocher</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int PIOCHER_FEATURE_COUNT = 2;\n\n /**\n * The meta object id for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.CartesImpl <em>Cartes</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.CartesImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getCartes()\n * @generated\n */\n int CARTES = 5;\n\n /**\n * The feature id for the '<em><b>Cc</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int CARTES__CC = 0;\n\n /**\n * The feature id for the '<em><b>Jpc</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int CARTES__JPC = 1;\n\n /**\n * The feature id for the '<em><b>Clj</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int CARTES__CLJ = 2;\n\n /**\n * The feature id for the '<em><b>Cdm</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int CARTES__CDM = 3;\n\n /**\n * The feature id for the '<em><b>P4</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int CARTES__P4 = 4;\n\n /**\n * The number of structural features of the '<em>Cartes</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int CARTES_FEATURE_COUNT = 5;\n\n /**\n * The meta object id for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.Cumul_CartesImpl <em>Cumul Cartes</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.Cumul_CartesImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getCumul_Cartes()\n * @generated\n */\n int CUMUL_CARTES = 6;\n\n /**\n * The feature id for the '<em><b>Eff</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int CUMUL_CARTES__EFF = 0;\n\n /**\n * The feature id for the '<em><b>Ccp</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int CUMUL_CARTES__CCP = 1;\n\n /**\n * The number of structural features of the '<em>Cumul Cartes</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int CUMUL_CARTES_FEATURE_COUNT = 2;\n\n /**\n * The meta object id for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.Jouer_plusieurs_cartesImpl <em>Jouer plusieurs cartes</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.Jouer_plusieurs_cartesImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getJouer_plusieurs_cartes()\n * @generated\n */\n int JOUER_PLUSIEURS_CARTES = 7;\n\n /**\n * The feature id for the '<em><b>S</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int JOUER_PLUSIEURS_CARTES__S = 0;\n\n /**\n * The feature id for the '<em><b>Cus</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int JOUER_PLUSIEURS_CARTES__CUS = 1;\n\n /**\n * The number of structural features of the '<em>Jouer plusieurs cartes</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int JOUER_PLUSIEURS_CARTES_FEATURE_COUNT = 2;\n\n /**\n * The meta object id for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.SuitesImpl <em>Suites</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.SuitesImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getSuites()\n * @generated\n */\n int SUITES = 8;\n\n /**\n * The feature id for the '<em><b>Sr</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int SUITES__SR = 0;\n\n /**\n * The number of structural features of the '<em>Suites</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int SUITES_FEATURE_COUNT = 1;\n\n /**\n * The meta object id for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.PenaliteImpl <em>Penalite</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.PenaliteImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getPenalite()\n * @generated\n */\n int PENALITE = 9;\n\n /**\n * The feature id for the '<em><b>Penalite</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int PENALITE__PENALITE = 0;\n\n /**\n * The number of structural features of the '<em>Penalite</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int PENALITE_FEATURE_COUNT = 1;\n\n /**\n * The meta object id for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.FinImpl <em>Fin</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.FinImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getFin()\n * @generated\n */\n int FIN = 10;\n\n /**\n * The feature id for the '<em><b>Fdm</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int FIN__FDM = 0;\n\n /**\n * The feature id for the '<em><b>Fdp</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int FIN__FDP = 1;\n\n /**\n * The number of structural features of the '<em>Fin</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int FIN_FEATURE_COUNT = 2;\n\n\n /**\n * Returns the meta object for class '{@link org.xtext.example.mydsl.myUnoDsl.Model <em>Model</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Model</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Model\n * @generated\n */\n EClass getModel();\n\n /**\n * Returns the meta object for the containment reference '{@link org.xtext.example.mydsl.myUnoDsl.Model#getUno <em>Uno</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Uno</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Model#getUno()\n * @see #getModel()\n * @generated\n */\n EReference getModel_Uno();\n\n /**\n * Returns the meta object for the containment reference '{@link org.xtext.example.mydsl.myUnoDsl.Model#getDeroulement <em>Deroulement</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Deroulement</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Model#getDeroulement()\n * @see #getModel()\n * @generated\n */\n EReference getModel_Deroulement();\n\n /**\n * Returns the meta object for the containment reference '{@link org.xtext.example.mydsl.myUnoDsl.Model#getFin <em>Fin</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Fin</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Model#getFin()\n * @see #getModel()\n * @generated\n */\n EReference getModel_Fin();\n\n /**\n * Returns the meta object for class '{@link org.xtext.example.mydsl.myUnoDsl.Configuration <em>Configuration</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Configuration</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Configuration\n * @generated\n */\n EClass getConfiguration();\n\n /**\n * Returns the meta object for class '{@link org.xtext.example.mydsl.myUnoDsl.Main <em>Main</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Main</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Main\n * @generated\n */\n EClass getMain();\n\n /**\n * Returns the meta object for the attribute '{@link org.xtext.example.mydsl.myUnoDsl.Main#getNbt <em>Nbt</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Nbt</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Main#getNbt()\n * @see #getMain()\n * @generated\n */\n EAttribute getMain_Nbt();\n\n /**\n * Returns the meta object for the attribute '{@link org.xtext.example.mydsl.myUnoDsl.Main#getRot <em>Rot</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Rot</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Main#getRot()\n * @see #getMain()\n * @generated\n */\n EAttribute getMain_Rot();\n\n /**\n * Returns the meta object for the attribute '{@link org.xtext.example.mydsl.myUnoDsl.Main#getEqu <em>Equ</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Equ</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Main#getEqu()\n * @see #getMain()\n * @generated\n */\n EAttribute getMain_Equ();\n\n /**\n * Returns the meta object for the attribute '{@link org.xtext.example.mydsl.myUnoDsl.Main#getVisibilite <em>Visibilite</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Visibilite</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Main#getVisibilite()\n * @see #getMain()\n * @generated\n */\n EAttribute getMain_Visibilite();\n\n /**\n * Returns the meta object for the attribute '{@link org.xtext.example.mydsl.myUnoDsl.Main#getNbm <em>Nbm</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Nbm</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Main#getNbm()\n * @see #getMain()\n * @generated\n */\n EAttribute getMain_Nbm();\n\n /**\n * Returns the meta object for the attribute '{@link org.xtext.example.mydsl.myUnoDsl.Main#getNbc <em>Nbc</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Nbc</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Main#getNbc()\n * @see #getMain()\n * @generated\n */\n EAttribute getMain_Nbc();\n\n /**\n * Returns the meta object for class '{@link org.xtext.example.mydsl.myUnoDsl.Deroulement <em>Deroulement</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Deroulement</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Deroulement\n * @generated\n */\n EClass getDeroulement();\n\n /**\n * Returns the meta object for the containment reference '{@link org.xtext.example.mydsl.myUnoDsl.Deroulement#getPiocher <em>Piocher</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Piocher</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Deroulement#getPiocher()\n * @see #getDeroulement()\n * @generated\n */\n EReference getDeroulement_Piocher();\n\n /**\n * Returns the meta object for the containment reference '{@link org.xtext.example.mydsl.myUnoDsl.Deroulement#getCartes <em>Cartes</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Cartes</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Deroulement#getCartes()\n * @see #getDeroulement()\n * @generated\n */\n EReference getDeroulement_Cartes();\n\n /**\n * Returns the meta object for the containment reference list '{@link org.xtext.example.mydsl.myUnoDsl.Deroulement#getPen <em>Pen</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference list '<em>Pen</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Deroulement#getPen()\n * @see #getDeroulement()\n * @generated\n */\n EReference getDeroulement_Pen();\n\n /**\n * Returns the meta object for class '{@link org.xtext.example.mydsl.myUnoDsl.Piocher <em>Piocher</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Piocher</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Piocher\n * @generated\n */\n EClass getPiocher();\n\n /**\n * Returns the meta object for the attribute '{@link org.xtext.example.mydsl.myUnoDsl.Piocher#getNbr <em>Nbr</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Nbr</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Piocher#getNbr()\n * @see #getPiocher()\n * @generated\n */\n EAttribute getPiocher_Nbr();\n\n /**\n * Returns the meta object for the attribute '{@link org.xtext.example.mydsl.myUnoDsl.Piocher#getOptp <em>Optp</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Optp</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Piocher#getOptp()\n * @see #getPiocher()\n * @generated\n */\n EAttribute getPiocher_Optp();\n\n /**\n * Returns the meta object for class '{@link org.xtext.example.mydsl.myUnoDsl.Cartes <em>Cartes</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Cartes</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Cartes\n * @generated\n */\n EClass getCartes();\n\n /**\n * Returns the meta object for the containment reference '{@link org.xtext.example.mydsl.myUnoDsl.Cartes#getCc <em>Cc</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Cc</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Cartes#getCc()\n * @see #getCartes()\n * @generated\n */\n EReference getCartes_Cc();\n\n /**\n * Returns the meta object for the containment reference '{@link org.xtext.example.mydsl.myUnoDsl.Cartes#getJpc <em>Jpc</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Jpc</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Cartes#getJpc()\n * @see #getCartes()\n * @generated\n */\n EReference getCartes_Jpc();\n\n /**\n * Returns the meta object for the attribute '{@link org.xtext.example.mydsl.myUnoDsl.Cartes#getClj <em>Clj</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Clj</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Cartes#getClj()\n * @see #getCartes()\n * @generated\n */\n EAttribute getCartes_Clj();\n\n /**\n * Returns the meta object for the attribute '{@link org.xtext.example.mydsl.myUnoDsl.Cartes#getCdm <em>Cdm</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Cdm</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Cartes#getCdm()\n * @see #getCartes()\n * @generated\n */\n EAttribute getCartes_Cdm();\n\n /**\n * Returns the meta object for the attribute '{@link org.xtext.example.mydsl.myUnoDsl.Cartes#getP4 <em>P4</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>P4</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Cartes#getP4()\n * @see #getCartes()\n * @generated\n */\n EAttribute getCartes_P4();\n\n /**\n * Returns the meta object for class '{@link org.xtext.example.mydsl.myUnoDsl.Cumul_Cartes <em>Cumul Cartes</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Cumul Cartes</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Cumul_Cartes\n * @generated\n */\n EClass getCumul_Cartes();\n\n /**\n * Returns the meta object for the attribute '{@link org.xtext.example.mydsl.myUnoDsl.Cumul_Cartes#getEff <em>Eff</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Eff</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Cumul_Cartes#getEff()\n * @see #getCumul_Cartes()\n * @generated\n */\n EAttribute getCumul_Cartes_Eff();\n\n /**\n * Returns the meta object for the attribute '{@link org.xtext.example.mydsl.myUnoDsl.Cumul_Cartes#getCcp <em>Ccp</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Ccp</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Cumul_Cartes#getCcp()\n * @see #getCumul_Cartes()\n * @generated\n */\n EAttribute getCumul_Cartes_Ccp();\n\n /**\n * Returns the meta object for class '{@link org.xtext.example.mydsl.myUnoDsl.Jouer_plusieurs_cartes <em>Jouer plusieurs cartes</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Jouer plusieurs cartes</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Jouer_plusieurs_cartes\n * @generated\n */\n EClass getJouer_plusieurs_cartes();\n\n /**\n * Returns the meta object for the containment reference '{@link org.xtext.example.mydsl.myUnoDsl.Jouer_plusieurs_cartes#getS <em>S</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>S</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Jouer_plusieurs_cartes#getS()\n * @see #getJouer_plusieurs_cartes()\n * @generated\n */\n EReference getJouer_plusieurs_cartes_S();\n\n /**\n * Returns the meta object for the attribute '{@link org.xtext.example.mydsl.myUnoDsl.Jouer_plusieurs_cartes#getCus <em>Cus</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Cus</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Jouer_plusieurs_cartes#getCus()\n * @see #getJouer_plusieurs_cartes()\n * @generated\n */\n EAttribute getJouer_plusieurs_cartes_Cus();\n\n /**\n * Returns the meta object for class '{@link org.xtext.example.mydsl.myUnoDsl.Suites <em>Suites</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Suites</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Suites\n * @generated\n */\n EClass getSuites();\n\n /**\n * Returns the meta object for the attribute '{@link org.xtext.example.mydsl.myUnoDsl.Suites#getSr <em>Sr</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Sr</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Suites#getSr()\n * @see #getSuites()\n * @generated\n */\n EAttribute getSuites_Sr();\n\n /**\n * Returns the meta object for class '{@link org.xtext.example.mydsl.myUnoDsl.Penalite <em>Penalite</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Penalite</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Penalite\n * @generated\n */\n EClass getPenalite();\n\n /**\n * Returns the meta object for the attribute '{@link org.xtext.example.mydsl.myUnoDsl.Penalite#getPenalite <em>Penalite</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Penalite</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Penalite#getPenalite()\n * @see #getPenalite()\n * @generated\n */\n EAttribute getPenalite_Penalite();\n\n /**\n * Returns the meta object for class '{@link org.xtext.example.mydsl.myUnoDsl.Fin <em>Fin</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Fin</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Fin\n * @generated\n */\n EClass getFin();\n\n /**\n * Returns the meta object for the attribute '{@link org.xtext.example.mydsl.myUnoDsl.Fin#getFdm <em>Fdm</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Fdm</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Fin#getFdm()\n * @see #getFin()\n * @generated\n */\n EAttribute getFin_Fdm();\n\n /**\n * Returns the meta object for the attribute '{@link org.xtext.example.mydsl.myUnoDsl.Fin#getFdp <em>Fdp</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Fdp</em>'.\n * @see org.xtext.example.mydsl.myUnoDsl.Fin#getFdp()\n * @see #getFin()\n * @generated\n */\n EAttribute getFin_Fdp();\n\n /**\n * Returns the factory that creates the instances of the model.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the factory that creates the instances of the model.\n * @generated\n */\n MyUnoDslFactory getMyUnoDslFactory();\n\n /**\n * <!-- begin-user-doc -->\n * Defines literals for the meta objects that represent\n * <ul>\n * <li>each class,</li>\n * <li>each feature of each class,</li>\n * <li>each enum,</li>\n * <li>and each data type</li>\n * </ul>\n * <!-- end-user-doc -->\n * @generated\n */\n interface Literals\n {\n /**\n * The meta object literal for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.ModelImpl <em>Model</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.ModelImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getModel()\n * @generated\n */\n EClass MODEL = eINSTANCE.getModel();\n\n /**\n * The meta object literal for the '<em><b>Uno</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference MODEL__UNO = eINSTANCE.getModel_Uno();\n\n /**\n * The meta object literal for the '<em><b>Deroulement</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference MODEL__DEROULEMENT = eINSTANCE.getModel_Deroulement();\n\n /**\n * The meta object literal for the '<em><b>Fin</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference MODEL__FIN = eINSTANCE.getModel_Fin();\n\n /**\n * The meta object literal for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.ConfigurationImpl <em>Configuration</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.ConfigurationImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getConfiguration()\n * @generated\n */\n EClass CONFIGURATION = eINSTANCE.getConfiguration();\n\n /**\n * The meta object literal for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.MainImpl <em>Main</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MainImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getMain()\n * @generated\n */\n EClass MAIN = eINSTANCE.getMain();\n\n /**\n * The meta object literal for the '<em><b>Nbt</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute MAIN__NBT = eINSTANCE.getMain_Nbt();\n\n /**\n * The meta object literal for the '<em><b>Rot</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute MAIN__ROT = eINSTANCE.getMain_Rot();\n\n /**\n * The meta object literal for the '<em><b>Equ</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute MAIN__EQU = eINSTANCE.getMain_Equ();\n\n /**\n * The meta object literal for the '<em><b>Visibilite</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute MAIN__VISIBILITE = eINSTANCE.getMain_Visibilite();\n\n /**\n * The meta object literal for the '<em><b>Nbm</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute MAIN__NBM = eINSTANCE.getMain_Nbm();\n\n /**\n * The meta object literal for the '<em><b>Nbc</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute MAIN__NBC = eINSTANCE.getMain_Nbc();\n\n /**\n * The meta object literal for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.DeroulementImpl <em>Deroulement</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.DeroulementImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getDeroulement()\n * @generated\n */\n EClass DEROULEMENT = eINSTANCE.getDeroulement();\n\n /**\n * The meta object literal for the '<em><b>Piocher</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference DEROULEMENT__PIOCHER = eINSTANCE.getDeroulement_Piocher();\n\n /**\n * The meta object literal for the '<em><b>Cartes</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference DEROULEMENT__CARTES = eINSTANCE.getDeroulement_Cartes();\n\n /**\n * The meta object literal for the '<em><b>Pen</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference DEROULEMENT__PEN = eINSTANCE.getDeroulement_Pen();\n\n /**\n * The meta object literal for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.PiocherImpl <em>Piocher</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.PiocherImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getPiocher()\n * @generated\n */\n EClass PIOCHER = eINSTANCE.getPiocher();\n\n /**\n * The meta object literal for the '<em><b>Nbr</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PIOCHER__NBR = eINSTANCE.getPiocher_Nbr();\n\n /**\n * The meta object literal for the '<em><b>Optp</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PIOCHER__OPTP = eINSTANCE.getPiocher_Optp();\n\n /**\n * The meta object literal for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.CartesImpl <em>Cartes</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.CartesImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getCartes()\n * @generated\n */\n EClass CARTES = eINSTANCE.getCartes();\n\n /**\n * The meta object literal for the '<em><b>Cc</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference CARTES__CC = eINSTANCE.getCartes_Cc();\n\n /**\n * The meta object literal for the '<em><b>Jpc</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference CARTES__JPC = eINSTANCE.getCartes_Jpc();\n\n /**\n * The meta object literal for the '<em><b>Clj</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute CARTES__CLJ = eINSTANCE.getCartes_Clj();\n\n /**\n * The meta object literal for the '<em><b>Cdm</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute CARTES__CDM = eINSTANCE.getCartes_Cdm();\n\n /**\n * The meta object literal for the '<em><b>P4</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute CARTES__P4 = eINSTANCE.getCartes_P4();\n\n /**\n * The meta object literal for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.Cumul_CartesImpl <em>Cumul Cartes</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.Cumul_CartesImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getCumul_Cartes()\n * @generated\n */\n EClass CUMUL_CARTES = eINSTANCE.getCumul_Cartes();\n\n /**\n * The meta object literal for the '<em><b>Eff</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute CUMUL_CARTES__EFF = eINSTANCE.getCumul_Cartes_Eff();\n\n /**\n * The meta object literal for the '<em><b>Ccp</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute CUMUL_CARTES__CCP = eINSTANCE.getCumul_Cartes_Ccp();\n\n /**\n * The meta object literal for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.Jouer_plusieurs_cartesImpl <em>Jouer plusieurs cartes</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.Jouer_plusieurs_cartesImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getJouer_plusieurs_cartes()\n * @generated\n */\n EClass JOUER_PLUSIEURS_CARTES = eINSTANCE.getJouer_plusieurs_cartes();\n\n /**\n * The meta object literal for the '<em><b>S</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference JOUER_PLUSIEURS_CARTES__S = eINSTANCE.getJouer_plusieurs_cartes_S();\n\n /**\n * The meta object literal for the '<em><b>Cus</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute JOUER_PLUSIEURS_CARTES__CUS = eINSTANCE.getJouer_plusieurs_cartes_Cus();\n\n /**\n * The meta object literal for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.SuitesImpl <em>Suites</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.SuitesImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getSuites()\n * @generated\n */\n EClass SUITES = eINSTANCE.getSuites();\n\n /**\n * The meta object literal for the '<em><b>Sr</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute SUITES__SR = eINSTANCE.getSuites_Sr();\n\n /**\n * The meta object literal for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.PenaliteImpl <em>Penalite</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.PenaliteImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getPenalite()\n * @generated\n */\n EClass PENALITE = eINSTANCE.getPenalite();\n\n /**\n * The meta object literal for the '<em><b>Penalite</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PENALITE__PENALITE = eINSTANCE.getPenalite_Penalite();\n\n /**\n * The meta object literal for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.FinImpl <em>Fin</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.FinImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getFin()\n * @generated\n */\n EClass FIN = eINSTANCE.getFin();\n\n /**\n * The meta object literal for the '<em><b>Fdm</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute FIN__FDM = eINSTANCE.getFin_Fdm();\n\n /**\n * The meta object literal for the '<em><b>Fdp</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute FIN__FDP = eINSTANCE.getFin_Fdp();\n\n }\n\n}", "title": "" }, { "docid": "3dbeaabe76524d43644749c75693d8f1", "score": "0.50667405", "text": "public interface MagnitudeFormula {\r\n\t/**\r\n\t * Calculates the magnitude.\r\n\t * @param record the ephemeris record.\r\n\t * @param orbit the orbital elements.\r\n\t */\r\n\tpublic abstract double calculate ( EphemerisRecord record, Orbit orbit );\r\n}", "title": "" }, { "docid": "f02463a10a2556c698eb54487dfcab27", "score": "0.506594", "text": "@subClassOf({\"http://www.semanticweb.org/debora/ontologies/2015/4/nutriOnto#Patologia\"})\n@Iri(\"http://www.semanticweb.org/debora/ontologies/2015/4/nutriOnto#Hipertensao\")\npublic interface Hipertensao extends Patologia {\n}", "title": "" }, { "docid": "7a9b65034deb7bdcd33188fbaae60d06", "score": "0.50640696", "text": "public interface ServiceModule extends Module, ModuleValues {\r\n\t/**\r\n\t * To refresh module's state before return from registry\r\n\t *\r\n\t * @return true (registered by any chance)\r\n\t */\r\n\t@Override\r\n\tdefault boolean isModuleRegistered() {\r\n\t\treturn true;\r\n\t}\r\n\r\n\t/**\r\n\t * To walk through values of the module\r\n\t *\r\n\t * @param visitor instance to visit each module's values\r\n\t */\r\n\t@Override\r\n\tdefault void accept(Visitor visitor) {\r\n\t\tvisitor.visit(this);\r\n\t}\r\n\r\n}", "title": "" }, { "docid": "dab603ea412f36e718c3f58373a8d28d", "score": "0.5063343", "text": "public abstract Module getInMemoryModules();", "title": "" }, { "docid": "2143b4d7ebd863877d2f7f042db69abe", "score": "0.5048575", "text": "public static void main(String[] args) {\n\n\t\tOWLOntology ontology = null;\n\t\ttry\n\t\t{\n\t\t\tOWLOntologyManager manager = OWLManager.createOWLOntologyManager();\n\t\t\tontology = manager.loadOntologyFromOntologyDocument(IRI.create(\"http://test.biocomalert.com/docs/services/owl-s/1.2/Grounding.owl\"));\n\t\t\t\n\t\t\tif(ontology != null){\n\t\t\t\tOWLDataFactory owlDataFactory = manager.getOWLDataFactory();\n\t\t\t\t\n\t\t\t\t//Get OWLClass\n\t\t\t\tjava.util.Set<OWLClass> owlClassList = ontology.getClassesInSignature();\n\t\t\t\tif(owlClassList.size() >0){\n\t\t\t\t\tSystem.out.println(\"Total OWL Class Number: \" + owlClassList.size());\n\t\t\t\t\tSystem.out.println(\"-----------------------------------------------------\");\n\t\t\t\t\tfor(OWLClass owlClass : owlClassList){\n\t\t\t\t\t\tIRI hasIRI = IRI.create(owlClass.getIRI().toString());\n\t\t\t\t\t\tif(hasIRI != null){\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif(owlDataFactory.getOWLClass(hasIRI) != null){\n\t\t\t\t\t\t\t\tSystem.out.println(owlDataFactory.getOWLClass(hasIRI).toString());\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"-----------------------------------------------------\");\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// getIndividualsInSignature: java.util.Set<OWLNamedIndividual>\n\t\t\t\t// getIndividualsInSignature()\n\t\t\t\tjava.util.Set<OWLNamedIndividual> owlNamedIndividualList = ontology.getIndividualsInSignature();\n\t\t\t\tif (owlNamedIndividualList.size() > 0) \n\t\t\t\t{\n\t\t\t\t\tSystem.out.println(\"Total Owl Named Individuals: \"+ owlNamedIndividualList.size());\n\t\t\t\t\tSystem.out.println(\"-----------------------------------------------------\");\n\t\t\t\t\tfor (OWLNamedIndividual owlNamedIndividual : owlNamedIndividualList) {\n\t\t\t\t\t\tSystem.out.println(\"Individual Name: \"+ owlNamedIndividual.toString());\n\t\t\t\t\t\t\n\t\t\t\t\t\t// getTypes java.util.Set<OWLClassExpression>\n\t\t\t\t\t\t// getTypes(OWLOntology ontology)\n\t\t\t\t\t\tgetParameterType(ontology,owlDataFactory, owlNamedIndividual);\n\t\t\t\t\t\t//System.out.println(\"-----------------------------------------------------\\n\");\n\t\t\t\t\t\t\n\t\t\t\t\t\t// Get Object Property Assertions\n\t\t\t\t\t\tgetObjectPropertyAssertions(ontology,owlDataFactory, owlNamedIndividual);\n\t\t\t\t\t\t//System.out.println(\"-----------------------------------------------------\\n\");\n\t\t\t\t\t\t\n\t\t\t\t\t\t//Get Data Property Assertions\n\t\t\t\t\t\tgetDataPropertyAssertions(ontology, owlDataFactory, owlNamedIndividual);\n\t\t\t\t\t\tSystem.out.println(\"-----------------------------------------------------\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tcatch(OWLOntologyCreationException e){\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "1fcdb796e21a61a33671f09d7dc90730", "score": "0.5047505", "text": "public ModuleInstance point();", "title": "" }, { "docid": "dbb799e7c7f7b342f546124f749c7166", "score": "0.50438654", "text": "public interface PlaovgraphPackage extends EPackage {\n\t/**\n\t * The package name.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tString eNAME = \"plaovgraph\";\n\n\t/**\n\t * The package namespace URI.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tString eNS_URI = \"http://plaovgraph/1.0\";\n\n\t/**\n\t * The package namespace name.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tString eNS_PREFIX = \"plaovgraph\";\n\n\t/**\n\t * The singleton instance of the package.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tPlaovgraphPackage eINSTANCE = plaovgraph.impl.PlaovgraphPackageImpl.init();\n\n\t/**\n\t * The meta object id for the '{@link plaovgraph.impl.Aspect_Oriented_ModelImpl <em>Aspect Oriented Model</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see plaovgraph.impl.Aspect_Oriented_ModelImpl\n\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getAspect_Oriented_Model()\n\t * @generated\n\t */\n\tint ASPECT_ORIENTED_MODEL = 0;\n\n\t/**\n\t * The feature id for the '<em><b>Goalmodel</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ASPECT_ORIENTED_MODEL__GOALMODEL = 0;\n\n\t/**\n\t * The number of structural features of the '<em>Aspect Oriented Model</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ASPECT_ORIENTED_MODEL_FEATURE_COUNT = 1;\n\n\t/**\n\t * The meta object id for the '{@link plaovgraph.impl.Goal_ModelImpl <em>Goal Model</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see plaovgraph.impl.Goal_ModelImpl\n\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getGoal_Model()\n\t * @generated\n\t */\n\tint GOAL_MODEL = 1;\n\n\t/**\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint GOAL_MODEL__NAME = 0;\n\n\t/**\n\t * The feature id for the '<em><b>Element</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint GOAL_MODEL__ELEMENT = 1;\n\n\t/**\n\t * The feature id for the '<em><b>Relationship</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint GOAL_MODEL__RELATIONSHIP = 2;\n\n\t/**\n\t * The feature id for the '<em><b>Property</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint GOAL_MODEL__PROPERTY = 3;\n\n\t/**\n\t * The number of structural features of the '<em>Goal Model</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint GOAL_MODEL_FEATURE_COUNT = 4;\n\n\t/**\n\t * The meta object id for the '{@link plaovgraph.impl.ElementImpl <em>Element</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see plaovgraph.impl.ElementImpl\n\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getElement()\n\t * @generated\n\t */\n\tint ELEMENT = 2;\n\n\t/**\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ELEMENT__NAME = GOAL_MODEL__NAME;\n\n\t/**\n\t * The feature id for the '<em><b>Element</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ELEMENT__ELEMENT = GOAL_MODEL__ELEMENT;\n\n\t/**\n\t * The feature id for the '<em><b>Relationship</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ELEMENT__RELATIONSHIP = GOAL_MODEL__RELATIONSHIP;\n\n\t/**\n\t * The feature id for the '<em><b>Property</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ELEMENT__PROPERTY = GOAL_MODEL__PROPERTY;\n\n\t/**\n\t * The feature id for the '<em><b>Type</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ELEMENT__TYPE = GOAL_MODEL_FEATURE_COUNT + 0;\n\n\t/**\n\t * The number of structural features of the '<em>Element</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ELEMENT_FEATURE_COUNT = GOAL_MODEL_FEATURE_COUNT + 1;\n\n\t/**\n\t * The meta object id for the '{@link plaovgraph.impl.RelationshipImpl <em>Relationship</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see plaovgraph.impl.RelationshipImpl\n\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getRelationship()\n\t * @generated\n\t */\n\tint RELATIONSHIP = 3;\n\n\t/**\n\t * The feature id for the '<em><b>Source</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint RELATIONSHIP__SOURCE = 0;\n\n\t/**\n\t * The feature id for the '<em><b>Target</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint RELATIONSHIP__TARGET = 1;\n\n\t/**\n\t * The number of structural features of the '<em>Relationship</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint RELATIONSHIP_FEATURE_COUNT = 2;\n\n\t/**\n\t * The meta object id for the '{@link plaovgraph.impl.PropertyImpl <em>Property</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see plaovgraph.impl.PropertyImpl\n\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getProperty()\n\t * @generated\n\t */\n\tint PROPERTY = 4;\n\n\t/**\n\t * The number of structural features of the '<em>Property</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint PROPERTY_FEATURE_COUNT = 0;\n\n\t/**\n\t * The meta object id for the '{@link plaovgraph.impl.IsFeatureImpl <em>Is Feature</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see plaovgraph.impl.IsFeatureImpl\n\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getIsFeature()\n\t * @generated\n\t */\n\tint IS_FEATURE = 5;\n\n\t/**\n\t * The feature id for the '<em><b>Label</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint IS_FEATURE__LABEL = PROPERTY_FEATURE_COUNT + 0;\n\n\t/**\n\t * The number of structural features of the '<em>Is Feature</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint IS_FEATURE_FEATURE_COUNT = PROPERTY_FEATURE_COUNT + 1;\n\n\t/**\n\t * The meta object id for the '{@link plaovgraph.impl.CardinalityImpl <em>Cardinality</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see plaovgraph.impl.CardinalityImpl\n\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getCardinality()\n\t * @generated\n\t */\n\tint CARDINALITY = 6;\n\n\t/**\n\t * The feature id for the '<em><b>Source</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CARDINALITY__SOURCE = PROPERTY_FEATURE_COUNT + 0;\n\n\t/**\n\t * The feature id for the '<em><b>Target</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CARDINALITY__TARGET = PROPERTY_FEATURE_COUNT + 1;\n\n\t/**\n\t * The feature id for the '<em><b>Cardinality Min</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CARDINALITY__CARDINALITY_MIN = PROPERTY_FEATURE_COUNT + 2;\n\n\t/**\n\t * The feature id for the '<em><b>Cardinality Max</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CARDINALITY__CARDINALITY_MAX = PROPERTY_FEATURE_COUNT + 3;\n\n\t/**\n\t * The number of structural features of the '<em>Cardinality</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CARDINALITY_FEATURE_COUNT = PROPERTY_FEATURE_COUNT + 4;\n\n\t/**\n\t * The meta object id for the '{@link plaovgraph.impl.GroupFeatureImpl <em>Group Feature</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see plaovgraph.impl.GroupFeatureImpl\n\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getGroupFeature()\n\t * @generated\n\t */\n\tint GROUP_FEATURE = 7;\n\n\t/**\n\t * The feature id for the '<em><b>Source</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint GROUP_FEATURE__SOURCE = PROPERTY_FEATURE_COUNT + 0;\n\n\t/**\n\t * The feature id for the '<em><b>Target</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint GROUP_FEATURE__TARGET = PROPERTY_FEATURE_COUNT + 1;\n\n\t/**\n\t * The feature id for the '<em><b>Cardinality Group Min</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint GROUP_FEATURE__CARDINALITY_GROUP_MIN = PROPERTY_FEATURE_COUNT + 2;\n\n\t/**\n\t * The feature id for the '<em><b>Cardinality Group Max</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint GROUP_FEATURE__CARDINALITY_GROUP_MAX = PROPERTY_FEATURE_COUNT + 3;\n\n\t/**\n\t * The number of structural features of the '<em>Group Feature</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint GROUP_FEATURE_FEATURE_COUNT = PROPERTY_FEATURE_COUNT + 4;\n\n\t/**\n\t * The meta object id for the '{@link plaovgraph.impl.Generic_PropertyImpl <em>Generic Property</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see plaovgraph.impl.Generic_PropertyImpl\n\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getGeneric_Property()\n\t * @generated\n\t */\n\tint GENERIC_PROPERTY = 8;\n\n\t/**\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint GENERIC_PROPERTY__NAME = PROPERTY_FEATURE_COUNT + 0;\n\n\t/**\n\t * The feature id for the '<em><b>Value</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint GENERIC_PROPERTY__VALUE = PROPERTY_FEATURE_COUNT + 1;\n\n\t/**\n\t * The number of structural features of the '<em>Generic Property</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint GENERIC_PROPERTY_FEATURE_COUNT = PROPERTY_FEATURE_COUNT + 2;\n\n\t/**\n\t * The meta object id for the '{@link plaovgraph.impl.ContributionImpl <em>Contribution</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see plaovgraph.impl.ContributionImpl\n\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getContribution()\n\t * @generated\n\t */\n\tint CONTRIBUTION = 9;\n\n\t/**\n\t * The feature id for the '<em><b>Source</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CONTRIBUTION__SOURCE = RELATIONSHIP__SOURCE;\n\n\t/**\n\t * The feature id for the '<em><b>Target</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CONTRIBUTION__TARGET = RELATIONSHIP__TARGET;\n\n\t/**\n\t * The feature id for the '<em><b>Label</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CONTRIBUTION__LABEL = RELATIONSHIP_FEATURE_COUNT + 0;\n\n\t/**\n\t * The number of structural features of the '<em>Contribution</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CONTRIBUTION_FEATURE_COUNT = RELATIONSHIP_FEATURE_COUNT + 1;\n\n\t/**\n\t * The meta object id for the '{@link plaovgraph.impl.CorrelationImpl <em>Correlation</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see plaovgraph.impl.CorrelationImpl\n\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getCorrelation()\n\t * @generated\n\t */\n\tint CORRELATION = 10;\n\n\t/**\n\t * The feature id for the '<em><b>Source</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CORRELATION__SOURCE = RELATIONSHIP__SOURCE;\n\n\t/**\n\t * The feature id for the '<em><b>Target</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CORRELATION__TARGET = RELATIONSHIP__TARGET;\n\n\t/**\n\t * The feature id for the '<em><b>Label</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CORRELATION__LABEL = RELATIONSHIP_FEATURE_COUNT + 0;\n\n\t/**\n\t * The number of structural features of the '<em>Correlation</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CORRELATION_FEATURE_COUNT = RELATIONSHIP_FEATURE_COUNT + 1;\n\n\t/**\n\t * The meta object id for the '{@link plaovgraph.impl.CrosscuttingImpl <em>Crosscutting</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see plaovgraph.impl.CrosscuttingImpl\n\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getCrosscutting()\n\t * @generated\n\t */\n\tint CROSSCUTTING = 11;\n\n\t/**\n\t * The feature id for the '<em><b>Source</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CROSSCUTTING__SOURCE = RELATIONSHIP__SOURCE;\n\n\t/**\n\t * The feature id for the '<em><b>Target</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CROSSCUTTING__TARGET = RELATIONSHIP__TARGET;\n\n\t/**\n\t * The feature id for the '<em><b>Pointcut</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CROSSCUTTING__POINTCUT = RELATIONSHIP_FEATURE_COUNT + 0;\n\n\t/**\n\t * The feature id for the '<em><b>Advice</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CROSSCUTTING__ADVICE = RELATIONSHIP_FEATURE_COUNT + 1;\n\n\t/**\n\t * The feature id for the '<em><b>Intertype</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CROSSCUTTING__INTERTYPE = RELATIONSHIP_FEATURE_COUNT + 2;\n\n\t/**\n\t * The number of structural features of the '<em>Crosscutting</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CROSSCUTTING_FEATURE_COUNT = RELATIONSHIP_FEATURE_COUNT + 3;\n\n\t/**\n\t * The meta object id for the '{@link plaovgraph.impl.PointcutImpl <em>Pointcut</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see plaovgraph.impl.PointcutImpl\n\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getPointcut()\n\t * @generated\n\t */\n\tint POINTCUT = 12;\n\n\t/**\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint POINTCUT__NAME = 0;\n\n\t/**\n\t * The feature id for the '<em><b>Operand</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint POINTCUT__OPERAND = 1;\n\n\t/**\n\t * The number of structural features of the '<em>Pointcut</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint POINTCUT_FEATURE_COUNT = 2;\n\n\t/**\n\t * The meta object id for the '{@link plaovgraph.impl.OperandImpl <em>Operand</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see plaovgraph.impl.OperandImpl\n\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getOperand()\n\t * @generated\n\t */\n\tint OPERAND = 13;\n\n\t/**\n\t * The feature id for the '<em><b>Primitive</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint OPERAND__PRIMITIVE = 0;\n\n\t/**\n\t * The feature id for the '<em><b>Joinpoint Pointcut</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint OPERAND__JOINPOINT_POINTCUT = 1;\n\n\t/**\n\t * The feature id for the '<em><b>Operator</b></em>' containment reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint OPERAND__OPERATOR = 2;\n\n\t/**\n\t * The number of structural features of the '<em>Operand</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint OPERAND_FEATURE_COUNT = 3;\n\n\t/**\n\t * The meta object id for the '{@link plaovgraph.impl.OperatorImpl <em>Operator</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see plaovgraph.impl.OperatorImpl\n\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getOperator()\n\t * @generated\n\t */\n\tint OPERATOR = 14;\n\n\t/**\n\t * The feature id for the '<em><b>Operator</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint OPERATOR__OPERATOR = 0;\n\n\t/**\n\t * The number of structural features of the '<em>Operator</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint OPERATOR_FEATURE_COUNT = 1;\n\n\t/**\n\t * The meta object id for the '{@link plaovgraph.impl.AdviceImpl <em>Advice</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see plaovgraph.impl.AdviceImpl\n\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getAdvice()\n\t * @generated\n\t */\n\tint ADVICE = 15;\n\n\t/**\n\t * The feature id for the '<em><b>Type</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ADVICE__TYPE = 0;\n\n\t/**\n\t * The feature id for the '<em><b>Joinpoint Advice</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ADVICE__JOINPOINT_ADVICE = 1;\n\n\t/**\n\t * The feature id for the '<em><b>Id Pointcut</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ADVICE__ID_POINTCUT = 2;\n\n\t/**\n\t * The number of structural features of the '<em>Advice</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ADVICE_FEATURE_COUNT = 3;\n\n\t/**\n\t * The meta object id for the '{@link plaovgraph.impl.IntertypeDeclarationImpl <em>Intertype Declaration</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see plaovgraph.impl.IntertypeDeclarationImpl\n\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getIntertypeDeclaration()\n\t * @generated\n\t */\n\tint INTERTYPE_DECLARATION = 16;\n\n\t/**\n\t * The feature id for the '<em><b>Type</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint INTERTYPE_DECLARATION__TYPE = 0;\n\n\t/**\n\t * The feature id for the '<em><b>New Element</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint INTERTYPE_DECLARATION__NEW_ELEMENT = 1;\n\n\t/**\n\t * The feature id for the '<em><b>New Attribute</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint INTERTYPE_DECLARATION__NEW_ATTRIBUTE = 2;\n\n\t/**\n\t * The feature id for the '<em><b>Id Pointcut</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint INTERTYPE_DECLARATION__ID_POINTCUT = 3;\n\n\t/**\n\t * The number of structural features of the '<em>Intertype Declaration</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint INTERTYPE_DECLARATION_FEATURE_COUNT = 4;\n\n\t/**\n\t * The meta object id for the '{@link plaovgraph.impl.AttributeImpl <em>Attribute</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see plaovgraph.impl.AttributeImpl\n\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getAttribute()\n\t * @generated\n\t */\n\tint ATTRIBUTE = 17;\n\n\t/**\n\t * The feature id for the '<em><b>Type</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ATTRIBUTE__TYPE = 0;\n\n\t/**\n\t * The feature id for the '<em><b>Value</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ATTRIBUTE__VALUE = 1;\n\n\t/**\n\t * The number of structural features of the '<em>Attribute</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ATTRIBUTE_FEATURE_COUNT = 2;\n\n\t/**\n\t * The meta object id for the '{@link plaovgraph.DecompositionCategory <em>Decomposition Category</em>}' enum.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see plaovgraph.DecompositionCategory\n\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getDecompositionCategory()\n\t * @generated\n\t */\n\tint DECOMPOSITION_CATEGORY = 18;\n\n\t/**\n\t * The meta object id for the '{@link plaovgraph.IsFeatureTypes <em>Is Feature Types</em>}' enum.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see plaovgraph.IsFeatureTypes\n\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getIsFeatureTypes()\n\t * @generated\n\t */\n\tint IS_FEATURE_TYPES = 19;\n\n\t/**\n\t * The meta object id for the '{@link plaovgraph.CorrelationCategory <em>Correlation Category</em>}' enum.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see plaovgraph.CorrelationCategory\n\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getCorrelationCategory()\n\t * @generated\n\t */\n\tint CORRELATION_CATEGORY = 20;\n\n\t/**\n\t * The meta object id for the '{@link plaovgraph.AdviceCategory <em>Advice Category</em>}' enum.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see plaovgraph.AdviceCategory\n\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getAdviceCategory()\n\t * @generated\n\t */\n\tint ADVICE_CATEGORY = 21;\n\n\t/**\n\t * The meta object id for the '{@link plaovgraph.IntertypeCategory <em>Intertype Category</em>}' enum.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see plaovgraph.IntertypeCategory\n\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getIntertypeCategory()\n\t * @generated\n\t */\n\tint INTERTYPE_CATEGORY = 22;\n\n\t/**\n\t * The meta object id for the '{@link plaovgraph.PrimitiveTypes <em>Primitive Types</em>}' enum.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see plaovgraph.PrimitiveTypes\n\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getPrimitiveTypes()\n\t * @generated\n\t */\n\tint PRIMITIVE_TYPES = 23;\n\n\t/**\n\t * The meta object id for the '{@link plaovgraph.OperatorTypes <em>Operator Types</em>}' enum.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see plaovgraph.OperatorTypes\n\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getOperatorTypes()\n\t * @generated\n\t */\n\tint OPERATOR_TYPES = 24;\n\n\t/**\n\t * The meta object id for the '{@link plaovgraph.ElementTypes <em>Element Types</em>}' enum.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see plaovgraph.ElementTypes\n\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getElementTypes()\n\t * @generated\n\t */\n\tint ELEMENT_TYPES = 25;\n\n\n\t/**\n\t * Returns the meta object for class '{@link plaovgraph.Aspect_Oriented_Model <em>Aspect Oriented Model</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Aspect Oriented Model</em>'.\n\t * @see plaovgraph.Aspect_Oriented_Model\n\t * @generated\n\t */\n\tEClass getAspect_Oriented_Model();\n\n\t/**\n\t * Returns the meta object for the containment reference list '{@link plaovgraph.Aspect_Oriented_Model#getGoalmodel <em>Goalmodel</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the containment reference list '<em>Goalmodel</em>'.\n\t * @see plaovgraph.Aspect_Oriented_Model#getGoalmodel()\n\t * @see #getAspect_Oriented_Model()\n\t * @generated\n\t */\n\tEReference getAspect_Oriented_Model_Goalmodel();\n\n\t/**\n\t * Returns the meta object for class '{@link plaovgraph.Goal_Model <em>Goal Model</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Goal Model</em>'.\n\t * @see plaovgraph.Goal_Model\n\t * @generated\n\t */\n\tEClass getGoal_Model();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link plaovgraph.Goal_Model#getName <em>Name</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Name</em>'.\n\t * @see plaovgraph.Goal_Model#getName()\n\t * @see #getGoal_Model()\n\t * @generated\n\t */\n\tEAttribute getGoal_Model_Name();\n\n\t/**\n\t * Returns the meta object for the containment reference list '{@link plaovgraph.Goal_Model#getElement <em>Element</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the containment reference list '<em>Element</em>'.\n\t * @see plaovgraph.Goal_Model#getElement()\n\t * @see #getGoal_Model()\n\t * @generated\n\t */\n\tEReference getGoal_Model_Element();\n\n\t/**\n\t * Returns the meta object for the containment reference list '{@link plaovgraph.Goal_Model#getRelationship <em>Relationship</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the containment reference list '<em>Relationship</em>'.\n\t * @see plaovgraph.Goal_Model#getRelationship()\n\t * @see #getGoal_Model()\n\t * @generated\n\t */\n\tEReference getGoal_Model_Relationship();\n\n\t/**\n\t * Returns the meta object for the containment reference list '{@link plaovgraph.Goal_Model#getProperty <em>Property</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the containment reference list '<em>Property</em>'.\n\t * @see plaovgraph.Goal_Model#getProperty()\n\t * @see #getGoal_Model()\n\t * @generated\n\t */\n\tEReference getGoal_Model_Property();\n\n\t/**\n\t * Returns the meta object for class '{@link plaovgraph.Element <em>Element</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Element</em>'.\n\t * @see plaovgraph.Element\n\t * @generated\n\t */\n\tEClass getElement();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link plaovgraph.Element#getType <em>Type</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Type</em>'.\n\t * @see plaovgraph.Element#getType()\n\t * @see #getElement()\n\t * @generated\n\t */\n\tEAttribute getElement_Type();\n\n\t/**\n\t * Returns the meta object for class '{@link plaovgraph.Relationship <em>Relationship</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Relationship</em>'.\n\t * @see plaovgraph.Relationship\n\t * @generated\n\t */\n\tEClass getRelationship();\n\n\t/**\n\t * Returns the meta object for the reference '{@link plaovgraph.Relationship#getSource <em>Source</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the reference '<em>Source</em>'.\n\t * @see plaovgraph.Relationship#getSource()\n\t * @see #getRelationship()\n\t * @generated\n\t */\n\tEReference getRelationship_Source();\n\n\t/**\n\t * Returns the meta object for the reference '{@link plaovgraph.Relationship#getTarget <em>Target</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the reference '<em>Target</em>'.\n\t * @see plaovgraph.Relationship#getTarget()\n\t * @see #getRelationship()\n\t * @generated\n\t */\n\tEReference getRelationship_Target();\n\n\t/**\n\t * Returns the meta object for class '{@link plaovgraph.Property <em>Property</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Property</em>'.\n\t * @see plaovgraph.Property\n\t * @generated\n\t */\n\tEClass getProperty();\n\n\t/**\n\t * Returns the meta object for class '{@link plaovgraph.IsFeature <em>Is Feature</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Is Feature</em>'.\n\t * @see plaovgraph.IsFeature\n\t * @generated\n\t */\n\tEClass getIsFeature();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link plaovgraph.IsFeature#getLabel <em>Label</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Label</em>'.\n\t * @see plaovgraph.IsFeature#getLabel()\n\t * @see #getIsFeature()\n\t * @generated\n\t */\n\tEAttribute getIsFeature_Label();\n\n\t/**\n\t * Returns the meta object for class '{@link plaovgraph.Cardinality <em>Cardinality</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Cardinality</em>'.\n\t * @see plaovgraph.Cardinality\n\t * @generated\n\t */\n\tEClass getCardinality();\n\n\t/**\n\t * Returns the meta object for the reference '{@link plaovgraph.Cardinality#getSource <em>Source</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the reference '<em>Source</em>'.\n\t * @see plaovgraph.Cardinality#getSource()\n\t * @see #getCardinality()\n\t * @generated\n\t */\n\tEReference getCardinality_Source();\n\n\t/**\n\t * Returns the meta object for the reference '{@link plaovgraph.Cardinality#getTarget <em>Target</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the reference '<em>Target</em>'.\n\t * @see plaovgraph.Cardinality#getTarget()\n\t * @see #getCardinality()\n\t * @generated\n\t */\n\tEReference getCardinality_Target();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link plaovgraph.Cardinality#getCardinalityMin <em>Cardinality Min</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Cardinality Min</em>'.\n\t * @see plaovgraph.Cardinality#getCardinalityMin()\n\t * @see #getCardinality()\n\t * @generated\n\t */\n\tEAttribute getCardinality_CardinalityMin();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link plaovgraph.Cardinality#getCardinalityMax <em>Cardinality Max</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Cardinality Max</em>'.\n\t * @see plaovgraph.Cardinality#getCardinalityMax()\n\t * @see #getCardinality()\n\t * @generated\n\t */\n\tEAttribute getCardinality_CardinalityMax();\n\n\t/**\n\t * Returns the meta object for class '{@link plaovgraph.GroupFeature <em>Group Feature</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Group Feature</em>'.\n\t * @see plaovgraph.GroupFeature\n\t * @generated\n\t */\n\tEClass getGroupFeature();\n\n\t/**\n\t * Returns the meta object for the reference list '{@link plaovgraph.GroupFeature#getSource <em>Source</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the reference list '<em>Source</em>'.\n\t * @see plaovgraph.GroupFeature#getSource()\n\t * @see #getGroupFeature()\n\t * @generated\n\t */\n\tEReference getGroupFeature_Source();\n\n\t/**\n\t * Returns the meta object for the reference '{@link plaovgraph.GroupFeature#getTarget <em>Target</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the reference '<em>Target</em>'.\n\t * @see plaovgraph.GroupFeature#getTarget()\n\t * @see #getGroupFeature()\n\t * @generated\n\t */\n\tEReference getGroupFeature_Target();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link plaovgraph.GroupFeature#getCardinalityGroupMin <em>Cardinality Group Min</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Cardinality Group Min</em>'.\n\t * @see plaovgraph.GroupFeature#getCardinalityGroupMin()\n\t * @see #getGroupFeature()\n\t * @generated\n\t */\n\tEAttribute getGroupFeature_CardinalityGroupMin();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link plaovgraph.GroupFeature#getCardinalityGroupMax <em>Cardinality Group Max</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Cardinality Group Max</em>'.\n\t * @see plaovgraph.GroupFeature#getCardinalityGroupMax()\n\t * @see #getGroupFeature()\n\t * @generated\n\t */\n\tEAttribute getGroupFeature_CardinalityGroupMax();\n\n\t/**\n\t * Returns the meta object for class '{@link plaovgraph.Generic_Property <em>Generic Property</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Generic Property</em>'.\n\t * @see plaovgraph.Generic_Property\n\t * @generated\n\t */\n\tEClass getGeneric_Property();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link plaovgraph.Generic_Property#getName <em>Name</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Name</em>'.\n\t * @see plaovgraph.Generic_Property#getName()\n\t * @see #getGeneric_Property()\n\t * @generated\n\t */\n\tEAttribute getGeneric_Property_Name();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link plaovgraph.Generic_Property#getValue <em>Value</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Value</em>'.\n\t * @see plaovgraph.Generic_Property#getValue()\n\t * @see #getGeneric_Property()\n\t * @generated\n\t */\n\tEAttribute getGeneric_Property_Value();\n\n\t/**\n\t * Returns the meta object for class '{@link plaovgraph.Contribution <em>Contribution</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Contribution</em>'.\n\t * @see plaovgraph.Contribution\n\t * @generated\n\t */\n\tEClass getContribution();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link plaovgraph.Contribution#getLabel <em>Label</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Label</em>'.\n\t * @see plaovgraph.Contribution#getLabel()\n\t * @see #getContribution()\n\t * @generated\n\t */\n\tEAttribute getContribution_Label();\n\n\t/**\n\t * Returns the meta object for class '{@link plaovgraph.Correlation <em>Correlation</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Correlation</em>'.\n\t * @see plaovgraph.Correlation\n\t * @generated\n\t */\n\tEClass getCorrelation();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link plaovgraph.Correlation#getLabel <em>Label</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Label</em>'.\n\t * @see plaovgraph.Correlation#getLabel()\n\t * @see #getCorrelation()\n\t * @generated\n\t */\n\tEAttribute getCorrelation_Label();\n\n\t/**\n\t * Returns the meta object for class '{@link plaovgraph.Crosscutting <em>Crosscutting</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Crosscutting</em>'.\n\t * @see plaovgraph.Crosscutting\n\t * @generated\n\t */\n\tEClass getCrosscutting();\n\n\t/**\n\t * Returns the meta object for the containment reference list '{@link plaovgraph.Crosscutting#getAdvice <em>Advice</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the containment reference list '<em>Advice</em>'.\n\t * @see plaovgraph.Crosscutting#getAdvice()\n\t * @see #getCrosscutting()\n\t * @generated\n\t */\n\tEReference getCrosscutting_Advice();\n\n\t/**\n\t * Returns the meta object for the containment reference list '{@link plaovgraph.Crosscutting#getIntertype <em>Intertype</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the containment reference list '<em>Intertype</em>'.\n\t * @see plaovgraph.Crosscutting#getIntertype()\n\t * @see #getCrosscutting()\n\t * @generated\n\t */\n\tEReference getCrosscutting_Intertype();\n\n\t/**\n\t * Returns the meta object for the containment reference list '{@link plaovgraph.Crosscutting#getPointcut <em>Pointcut</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the containment reference list '<em>Pointcut</em>'.\n\t * @see plaovgraph.Crosscutting#getPointcut()\n\t * @see #getCrosscutting()\n\t * @generated\n\t */\n\tEReference getCrosscutting_Pointcut();\n\n\t/**\n\t * Returns the meta object for class '{@link plaovgraph.Pointcut <em>Pointcut</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Pointcut</em>'.\n\t * @see plaovgraph.Pointcut\n\t * @generated\n\t */\n\tEClass getPointcut();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link plaovgraph.Pointcut#getName <em>Name</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Name</em>'.\n\t * @see plaovgraph.Pointcut#getName()\n\t * @see #getPointcut()\n\t * @generated\n\t */\n\tEAttribute getPointcut_Name();\n\n\t/**\n\t * Returns the meta object for the containment reference list '{@link plaovgraph.Pointcut#getOperand <em>Operand</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the containment reference list '<em>Operand</em>'.\n\t * @see plaovgraph.Pointcut#getOperand()\n\t * @see #getPointcut()\n\t * @generated\n\t */\n\tEReference getPointcut_Operand();\n\n\t/**\n\t * Returns the meta object for class '{@link plaovgraph.Operand <em>Operand</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Operand</em>'.\n\t * @see plaovgraph.Operand\n\t * @generated\n\t */\n\tEClass getOperand();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link plaovgraph.Operand#getPrimitive <em>Primitive</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Primitive</em>'.\n\t * @see plaovgraph.Operand#getPrimitive()\n\t * @see #getOperand()\n\t * @generated\n\t */\n\tEAttribute getOperand_Primitive();\n\n\t/**\n\t * Returns the meta object for the reference '{@link plaovgraph.Operand#getJoinpointPointcut <em>Joinpoint Pointcut</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the reference '<em>Joinpoint Pointcut</em>'.\n\t * @see plaovgraph.Operand#getJoinpointPointcut()\n\t * @see #getOperand()\n\t * @generated\n\t */\n\tEReference getOperand_JoinpointPointcut();\n\n\t/**\n\t * Returns the meta object for the containment reference '{@link plaovgraph.Operand#getOperator <em>Operator</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the containment reference '<em>Operator</em>'.\n\t * @see plaovgraph.Operand#getOperator()\n\t * @see #getOperand()\n\t * @generated\n\t */\n\tEReference getOperand_Operator();\n\n\t/**\n\t * Returns the meta object for class '{@link plaovgraph.Operator <em>Operator</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Operator</em>'.\n\t * @see plaovgraph.Operator\n\t * @generated\n\t */\n\tEClass getOperator();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link plaovgraph.Operator#getOperator <em>Operator</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Operator</em>'.\n\t * @see plaovgraph.Operator#getOperator()\n\t * @see #getOperator()\n\t * @generated\n\t */\n\tEAttribute getOperator_Operator();\n\n\t/**\n\t * Returns the meta object for class '{@link plaovgraph.Advice <em>Advice</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Advice</em>'.\n\t * @see plaovgraph.Advice\n\t * @generated\n\t */\n\tEClass getAdvice();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link plaovgraph.Advice#getType <em>Type</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Type</em>'.\n\t * @see plaovgraph.Advice#getType()\n\t * @see #getAdvice()\n\t * @generated\n\t */\n\tEAttribute getAdvice_Type();\n\n\t/**\n\t * Returns the meta object for the reference list '{@link plaovgraph.Advice#getJoinpointAdvice <em>Joinpoint Advice</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the reference list '<em>Joinpoint Advice</em>'.\n\t * @see plaovgraph.Advice#getJoinpointAdvice()\n\t * @see #getAdvice()\n\t * @generated\n\t */\n\tEReference getAdvice_JoinpointAdvice();\n\n\t/**\n\t * Returns the meta object for the reference list '{@link plaovgraph.Advice#getIdPointcut <em>Id Pointcut</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the reference list '<em>Id Pointcut</em>'.\n\t * @see plaovgraph.Advice#getIdPointcut()\n\t * @see #getAdvice()\n\t * @generated\n\t */\n\tEReference getAdvice_IdPointcut();\n\n\t/**\n\t * Returns the meta object for class '{@link plaovgraph.IntertypeDeclaration <em>Intertype Declaration</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Intertype Declaration</em>'.\n\t * @see plaovgraph.IntertypeDeclaration\n\t * @generated\n\t */\n\tEClass getIntertypeDeclaration();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link plaovgraph.IntertypeDeclaration#getType <em>Type</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Type</em>'.\n\t * @see plaovgraph.IntertypeDeclaration#getType()\n\t * @see #getIntertypeDeclaration()\n\t * @generated\n\t */\n\tEAttribute getIntertypeDeclaration_Type();\n\n\t/**\n\t * Returns the meta object for the containment reference list '{@link plaovgraph.IntertypeDeclaration#getNewElement <em>New Element</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the containment reference list '<em>New Element</em>'.\n\t * @see plaovgraph.IntertypeDeclaration#getNewElement()\n\t * @see #getIntertypeDeclaration()\n\t * @generated\n\t */\n\tEReference getIntertypeDeclaration_NewElement();\n\n\t/**\n\t * Returns the meta object for the containment reference list '{@link plaovgraph.IntertypeDeclaration#getNewAttribute <em>New Attribute</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the containment reference list '<em>New Attribute</em>'.\n\t * @see plaovgraph.IntertypeDeclaration#getNewAttribute()\n\t * @see #getIntertypeDeclaration()\n\t * @generated\n\t */\n\tEReference getIntertypeDeclaration_NewAttribute();\n\n\t/**\n\t * Returns the meta object for the reference list '{@link plaovgraph.IntertypeDeclaration#getIdPointcut <em>Id Pointcut</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the reference list '<em>Id Pointcut</em>'.\n\t * @see plaovgraph.IntertypeDeclaration#getIdPointcut()\n\t * @see #getIntertypeDeclaration()\n\t * @generated\n\t */\n\tEReference getIntertypeDeclaration_IdPointcut();\n\n\t/**\n\t * Returns the meta object for class '{@link plaovgraph.Attribute <em>Attribute</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Attribute</em>'.\n\t * @see plaovgraph.Attribute\n\t * @generated\n\t */\n\tEClass getAttribute();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link plaovgraph.Attribute#getType <em>Type</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Type</em>'.\n\t * @see plaovgraph.Attribute#getType()\n\t * @see #getAttribute()\n\t * @generated\n\t */\n\tEAttribute getAttribute_Type();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link plaovgraph.Attribute#getValue <em>Value</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Value</em>'.\n\t * @see plaovgraph.Attribute#getValue()\n\t * @see #getAttribute()\n\t * @generated\n\t */\n\tEAttribute getAttribute_Value();\n\n\t/**\n\t * Returns the meta object for enum '{@link plaovgraph.DecompositionCategory <em>Decomposition Category</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for enum '<em>Decomposition Category</em>'.\n\t * @see plaovgraph.DecompositionCategory\n\t * @generated\n\t */\n\tEEnum getDecompositionCategory();\n\n\t/**\n\t * Returns the meta object for enum '{@link plaovgraph.IsFeatureTypes <em>Is Feature Types</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for enum '<em>Is Feature Types</em>'.\n\t * @see plaovgraph.IsFeatureTypes\n\t * @generated\n\t */\n\tEEnum getIsFeatureTypes();\n\n\t/**\n\t * Returns the meta object for enum '{@link plaovgraph.CorrelationCategory <em>Correlation Category</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for enum '<em>Correlation Category</em>'.\n\t * @see plaovgraph.CorrelationCategory\n\t * @generated\n\t */\n\tEEnum getCorrelationCategory();\n\n\t/**\n\t * Returns the meta object for enum '{@link plaovgraph.AdviceCategory <em>Advice Category</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for enum '<em>Advice Category</em>'.\n\t * @see plaovgraph.AdviceCategory\n\t * @generated\n\t */\n\tEEnum getAdviceCategory();\n\n\t/**\n\t * Returns the meta object for enum '{@link plaovgraph.IntertypeCategory <em>Intertype Category</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for enum '<em>Intertype Category</em>'.\n\t * @see plaovgraph.IntertypeCategory\n\t * @generated\n\t */\n\tEEnum getIntertypeCategory();\n\n\t/**\n\t * Returns the meta object for enum '{@link plaovgraph.PrimitiveTypes <em>Primitive Types</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for enum '<em>Primitive Types</em>'.\n\t * @see plaovgraph.PrimitiveTypes\n\t * @generated\n\t */\n\tEEnum getPrimitiveTypes();\n\n\t/**\n\t * Returns the meta object for enum '{@link plaovgraph.OperatorTypes <em>Operator Types</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for enum '<em>Operator Types</em>'.\n\t * @see plaovgraph.OperatorTypes\n\t * @generated\n\t */\n\tEEnum getOperatorTypes();\n\n\t/**\n\t * Returns the meta object for enum '{@link plaovgraph.ElementTypes <em>Element Types</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for enum '<em>Element Types</em>'.\n\t * @see plaovgraph.ElementTypes\n\t * @generated\n\t */\n\tEEnum getElementTypes();\n\n\t/**\n\t * Returns the factory that creates the instances of the model.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the factory that creates the instances of the model.\n\t * @generated\n\t */\n\tPlaovgraphFactory getPlaovgraphFactory();\n\n\t/**\n\t * <!-- begin-user-doc -->\n\t * Defines literals for the meta objects that represent\n\t * <ul>\n\t * <li>each class,</li>\n\t * <li>each feature of each class,</li>\n\t * <li>each enum,</li>\n\t * <li>and each data type</li>\n\t * </ul>\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tinterface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link plaovgraph.impl.Aspect_Oriented_ModelImpl <em>Aspect Oriented Model</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see plaovgraph.impl.Aspect_Oriented_ModelImpl\n\t\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getAspect_Oriented_Model()\n\t\t * @generated\n\t\t */\n\t\tEClass ASPECT_ORIENTED_MODEL = eINSTANCE.getAspect_Oriented_Model();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Goalmodel</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ASPECT_ORIENTED_MODEL__GOALMODEL = eINSTANCE.getAspect_Oriented_Model_Goalmodel();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link plaovgraph.impl.Goal_ModelImpl <em>Goal Model</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see plaovgraph.impl.Goal_ModelImpl\n\t\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getGoal_Model()\n\t\t * @generated\n\t\t */\n\t\tEClass GOAL_MODEL = eINSTANCE.getGoal_Model();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute GOAL_MODEL__NAME = eINSTANCE.getGoal_Model_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Element</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference GOAL_MODEL__ELEMENT = eINSTANCE.getGoal_Model_Element();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Relationship</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference GOAL_MODEL__RELATIONSHIP = eINSTANCE.getGoal_Model_Relationship();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Property</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference GOAL_MODEL__PROPERTY = eINSTANCE.getGoal_Model_Property();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link plaovgraph.impl.ElementImpl <em>Element</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see plaovgraph.impl.ElementImpl\n\t\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getElement()\n\t\t * @generated\n\t\t */\n\t\tEClass ELEMENT = eINSTANCE.getElement();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ELEMENT__TYPE = eINSTANCE.getElement_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link plaovgraph.impl.RelationshipImpl <em>Relationship</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see plaovgraph.impl.RelationshipImpl\n\t\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getRelationship()\n\t\t * @generated\n\t\t */\n\t\tEClass RELATIONSHIP = eINSTANCE.getRelationship();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Source</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference RELATIONSHIP__SOURCE = eINSTANCE.getRelationship_Source();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Target</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference RELATIONSHIP__TARGET = eINSTANCE.getRelationship_Target();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link plaovgraph.impl.PropertyImpl <em>Property</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see plaovgraph.impl.PropertyImpl\n\t\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getProperty()\n\t\t * @generated\n\t\t */\n\t\tEClass PROPERTY = eINSTANCE.getProperty();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link plaovgraph.impl.IsFeatureImpl <em>Is Feature</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see plaovgraph.impl.IsFeatureImpl\n\t\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getIsFeature()\n\t\t * @generated\n\t\t */\n\t\tEClass IS_FEATURE = eINSTANCE.getIsFeature();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Label</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute IS_FEATURE__LABEL = eINSTANCE.getIsFeature_Label();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link plaovgraph.impl.CardinalityImpl <em>Cardinality</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see plaovgraph.impl.CardinalityImpl\n\t\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getCardinality()\n\t\t * @generated\n\t\t */\n\t\tEClass CARDINALITY = eINSTANCE.getCardinality();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Source</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CARDINALITY__SOURCE = eINSTANCE.getCardinality_Source();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Target</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CARDINALITY__TARGET = eINSTANCE.getCardinality_Target();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Cardinality Min</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CARDINALITY__CARDINALITY_MIN = eINSTANCE.getCardinality_CardinalityMin();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Cardinality Max</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CARDINALITY__CARDINALITY_MAX = eINSTANCE.getCardinality_CardinalityMax();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link plaovgraph.impl.GroupFeatureImpl <em>Group Feature</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see plaovgraph.impl.GroupFeatureImpl\n\t\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getGroupFeature()\n\t\t * @generated\n\t\t */\n\t\tEClass GROUP_FEATURE = eINSTANCE.getGroupFeature();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Source</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference GROUP_FEATURE__SOURCE = eINSTANCE.getGroupFeature_Source();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Target</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference GROUP_FEATURE__TARGET = eINSTANCE.getGroupFeature_Target();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Cardinality Group Min</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute GROUP_FEATURE__CARDINALITY_GROUP_MIN = eINSTANCE.getGroupFeature_CardinalityGroupMin();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Cardinality Group Max</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute GROUP_FEATURE__CARDINALITY_GROUP_MAX = eINSTANCE.getGroupFeature_CardinalityGroupMax();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link plaovgraph.impl.Generic_PropertyImpl <em>Generic Property</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see plaovgraph.impl.Generic_PropertyImpl\n\t\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getGeneric_Property()\n\t\t * @generated\n\t\t */\n\t\tEClass GENERIC_PROPERTY = eINSTANCE.getGeneric_Property();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute GENERIC_PROPERTY__NAME = eINSTANCE.getGeneric_Property_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute GENERIC_PROPERTY__VALUE = eINSTANCE.getGeneric_Property_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link plaovgraph.impl.ContributionImpl <em>Contribution</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see plaovgraph.impl.ContributionImpl\n\t\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getContribution()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTRIBUTION = eINSTANCE.getContribution();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Label</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTRIBUTION__LABEL = eINSTANCE.getContribution_Label();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link plaovgraph.impl.CorrelationImpl <em>Correlation</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see plaovgraph.impl.CorrelationImpl\n\t\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getCorrelation()\n\t\t * @generated\n\t\t */\n\t\tEClass CORRELATION = eINSTANCE.getCorrelation();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Label</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CORRELATION__LABEL = eINSTANCE.getCorrelation_Label();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link plaovgraph.impl.CrosscuttingImpl <em>Crosscutting</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see plaovgraph.impl.CrosscuttingImpl\n\t\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getCrosscutting()\n\t\t * @generated\n\t\t */\n\t\tEClass CROSSCUTTING = eINSTANCE.getCrosscutting();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Advice</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CROSSCUTTING__ADVICE = eINSTANCE.getCrosscutting_Advice();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Intertype</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CROSSCUTTING__INTERTYPE = eINSTANCE.getCrosscutting_Intertype();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Pointcut</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CROSSCUTTING__POINTCUT = eINSTANCE.getCrosscutting_Pointcut();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link plaovgraph.impl.PointcutImpl <em>Pointcut</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see plaovgraph.impl.PointcutImpl\n\t\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getPointcut()\n\t\t * @generated\n\t\t */\n\t\tEClass POINTCUT = eINSTANCE.getPointcut();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute POINTCUT__NAME = eINSTANCE.getPointcut_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Operand</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference POINTCUT__OPERAND = eINSTANCE.getPointcut_Operand();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link plaovgraph.impl.OperandImpl <em>Operand</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see plaovgraph.impl.OperandImpl\n\t\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getOperand()\n\t\t * @generated\n\t\t */\n\t\tEClass OPERAND = eINSTANCE.getOperand();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Primitive</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute OPERAND__PRIMITIVE = eINSTANCE.getOperand_Primitive();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Joinpoint Pointcut</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPERAND__JOINPOINT_POINTCUT = eINSTANCE.getOperand_JoinpointPointcut();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Operator</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPERAND__OPERATOR = eINSTANCE.getOperand_Operator();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link plaovgraph.impl.OperatorImpl <em>Operator</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see plaovgraph.impl.OperatorImpl\n\t\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getOperator()\n\t\t * @generated\n\t\t */\n\t\tEClass OPERATOR = eINSTANCE.getOperator();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Operator</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute OPERATOR__OPERATOR = eINSTANCE.getOperator_Operator();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link plaovgraph.impl.AdviceImpl <em>Advice</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see plaovgraph.impl.AdviceImpl\n\t\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getAdvice()\n\t\t * @generated\n\t\t */\n\t\tEClass ADVICE = eINSTANCE.getAdvice();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ADVICE__TYPE = eINSTANCE.getAdvice_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Joinpoint Advice</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ADVICE__JOINPOINT_ADVICE = eINSTANCE.getAdvice_JoinpointAdvice();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Id Pointcut</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ADVICE__ID_POINTCUT = eINSTANCE.getAdvice_IdPointcut();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link plaovgraph.impl.IntertypeDeclarationImpl <em>Intertype Declaration</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see plaovgraph.impl.IntertypeDeclarationImpl\n\t\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getIntertypeDeclaration()\n\t\t * @generated\n\t\t */\n\t\tEClass INTERTYPE_DECLARATION = eINSTANCE.getIntertypeDeclaration();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute INTERTYPE_DECLARATION__TYPE = eINSTANCE.getIntertypeDeclaration_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>New Element</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference INTERTYPE_DECLARATION__NEW_ELEMENT = eINSTANCE.getIntertypeDeclaration_NewElement();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>New Attribute</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference INTERTYPE_DECLARATION__NEW_ATTRIBUTE = eINSTANCE.getIntertypeDeclaration_NewAttribute();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Id Pointcut</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference INTERTYPE_DECLARATION__ID_POINTCUT = eINSTANCE.getIntertypeDeclaration_IdPointcut();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link plaovgraph.impl.AttributeImpl <em>Attribute</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see plaovgraph.impl.AttributeImpl\n\t\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getAttribute()\n\t\t * @generated\n\t\t */\n\t\tEClass ATTRIBUTE = eINSTANCE.getAttribute();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ATTRIBUTE__TYPE = eINSTANCE.getAttribute_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ATTRIBUTE__VALUE = eINSTANCE.getAttribute_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link plaovgraph.DecompositionCategory <em>Decomposition Category</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see plaovgraph.DecompositionCategory\n\t\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getDecompositionCategory()\n\t\t * @generated\n\t\t */\n\t\tEEnum DECOMPOSITION_CATEGORY = eINSTANCE.getDecompositionCategory();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link plaovgraph.IsFeatureTypes <em>Is Feature Types</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see plaovgraph.IsFeatureTypes\n\t\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getIsFeatureTypes()\n\t\t * @generated\n\t\t */\n\t\tEEnum IS_FEATURE_TYPES = eINSTANCE.getIsFeatureTypes();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link plaovgraph.CorrelationCategory <em>Correlation Category</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see plaovgraph.CorrelationCategory\n\t\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getCorrelationCategory()\n\t\t * @generated\n\t\t */\n\t\tEEnum CORRELATION_CATEGORY = eINSTANCE.getCorrelationCategory();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link plaovgraph.AdviceCategory <em>Advice Category</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see plaovgraph.AdviceCategory\n\t\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getAdviceCategory()\n\t\t * @generated\n\t\t */\n\t\tEEnum ADVICE_CATEGORY = eINSTANCE.getAdviceCategory();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link plaovgraph.IntertypeCategory <em>Intertype Category</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see plaovgraph.IntertypeCategory\n\t\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getIntertypeCategory()\n\t\t * @generated\n\t\t */\n\t\tEEnum INTERTYPE_CATEGORY = eINSTANCE.getIntertypeCategory();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link plaovgraph.PrimitiveTypes <em>Primitive Types</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see plaovgraph.PrimitiveTypes\n\t\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getPrimitiveTypes()\n\t\t * @generated\n\t\t */\n\t\tEEnum PRIMITIVE_TYPES = eINSTANCE.getPrimitiveTypes();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link plaovgraph.OperatorTypes <em>Operator Types</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see plaovgraph.OperatorTypes\n\t\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getOperatorTypes()\n\t\t * @generated\n\t\t */\n\t\tEEnum OPERATOR_TYPES = eINSTANCE.getOperatorTypes();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link plaovgraph.ElementTypes <em>Element Types</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see plaovgraph.ElementTypes\n\t\t * @see plaovgraph.impl.PlaovgraphPackageImpl#getElementTypes()\n\t\t * @generated\n\t\t */\n\t\tEEnum ELEMENT_TYPES = eINSTANCE.getElementTypes();\n\n\t}\n\n}", "title": "" }, { "docid": "d36c6ef80fad19707ea7535d0ce94f05", "score": "0.502445", "text": "public T00ModuleExample() {\n oredCriteria = new ArrayList<Criteria>();\n }", "title": "" }, { "docid": "4297f35daaf0b73db06db2ec21295ca2", "score": "0.5018867", "text": "public interface DeployClass {\n \n /**\n * Add class to ontology. The class is subclass of Thing.\n * \n * @param className Name of the class.\n */\n public void addClass(String className);\n \n /**\n * Add subclass to ontology. The class is subclass of class. If class doesn't\n * exist it is created under Thing.\n * \n * @param subClassName Name of the subclass.\n * @param className Name of the class.\n */\n public void addSubClass(String subClassName, String className);\n \n /**\n * Add axiom that states a class is equivalent to another. \n * \n * @param className Name of the class.\n * @param className Name of the equivalent class.\n */\n public void addEquivalentClass(String className, String equivClassName);\n \n /**\n * Add axiom that states a class is disjoint of another. \n * \n * @param className Name of the class.\n * @param className Name of the disjoint class.\n */\n //public void addDisjointClass(String className, String disjClassName) throws ClassCycleException;\n public void addDisjointClass(String className, String disjClassName);\n \n \n /**\n * Move class from one parent to another. \n * \n * @param fromClassName Name of the class that will lose it's subclass.\n * @param subClassName Name of the subclass.\n * @param toClassName Name of the class that will receive the subclass.\n */\n public void moveSubClass(String subClassName, String fromClassName, String toClassName);\n \n public boolean hasClass(String className);\n public boolean hasSubClass(String subClassName, String className);\n public boolean hasEquivalentClass(String equivClassName, String className);\n public boolean hasDisjointClass(String disjClassName, String className);\n}", "title": "" }, { "docid": "5b65a5312358d5d71b2ef18d8be03e4a", "score": "0.50129116", "text": "public interface AlePackage extends EPackage\n{\n /**\n * The package name.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n String eNAME = \"ale\";\n\n /**\n * The package namespace URI.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n String eNS_URI = \"http://www.xtext.ale/Ale\";\n\n /**\n * The package namespace name.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n String eNS_PREFIX = \"ale\";\n\n /**\n * The singleton instance of the package.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n AlePackage eINSTANCE = ale.xtext.ale.impl.AlePackageImpl.init();\n\n /**\n * The meta object id for the '{@link ale.xtext.ale.impl.AleRootImpl <em>Root</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see ale.xtext.ale.impl.AleRootImpl\n * @see ale.xtext.ale.impl.AlePackageImpl#getAleRoot()\n * @generated\n */\n int ALE_ROOT = 0;\n\n /**\n * The feature id for the '<em><b>Name</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ALE_ROOT__NAME = 0;\n\n /**\n * The feature id for the '<em><b>Java Imports</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ALE_ROOT__JAVA_IMPORTS = 1;\n\n /**\n * The feature id for the '<em><b>Ecore Import</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ALE_ROOT__ECORE_IMPORT = 2;\n\n /**\n * The feature id for the '<em><b>Ale Imports</b></em>' containment reference list.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ALE_ROOT__ALE_IMPORTS = 3;\n\n /**\n * The feature id for the '<em><b>Classes</b></em>' containment reference list.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ALE_ROOT__CLASSES = 4;\n\n /**\n * The number of structural features of the '<em>Root</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ALE_ROOT_FEATURE_COUNT = 5;\n\n /**\n * The meta object id for the '{@link ale.xtext.ale.impl.EcoreImportImpl <em>Ecore Import</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see ale.xtext.ale.impl.EcoreImportImpl\n * @see ale.xtext.ale.impl.AlePackageImpl#getEcoreImport()\n * @generated\n */\n int ECORE_IMPORT = 1;\n\n /**\n * The feature id for the '<em><b>Uri</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ECORE_IMPORT__URI = 0;\n\n /**\n * The number of structural features of the '<em>Ecore Import</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ECORE_IMPORT_FEATURE_COUNT = 1;\n\n /**\n * The meta object id for the '{@link ale.xtext.ale.impl.AleImportImpl <em>Import</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see ale.xtext.ale.impl.AleImportImpl\n * @see ale.xtext.ale.impl.AlePackageImpl#getAleImport()\n * @generated\n */\n int ALE_IMPORT = 2;\n\n /**\n * The feature id for the '<em><b>Ref</b></em>' reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ALE_IMPORT__REF = 0;\n\n /**\n * The number of structural features of the '<em>Import</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ALE_IMPORT_FEATURE_COUNT = 1;\n\n /**\n * The meta object id for the '{@link ale.xtext.ale.impl.AleClassImpl <em>Class</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see ale.xtext.ale.impl.AleClassImpl\n * @see ale.xtext.ale.impl.AlePackageImpl#getAleClass()\n * @generated\n */\n int ALE_CLASS = 3;\n\n /**\n * The feature id for the '<em><b>Abstract</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ALE_CLASS__ABSTRACT = 0;\n\n /**\n * The feature id for the '<em><b>Name</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ALE_CLASS__NAME = 1;\n\n /**\n * The feature id for the '<em><b>Methods</b></em>' containment reference list.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ALE_CLASS__METHODS = 2;\n\n /**\n * The number of structural features of the '<em>Class</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ALE_CLASS_FEATURE_COUNT = 3;\n\n /**\n * The meta object id for the '{@link ale.xtext.ale.impl.AleMethodImpl <em>Method</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see ale.xtext.ale.impl.AleMethodImpl\n * @see ale.xtext.ale.impl.AlePackageImpl#getAleMethod()\n * @generated\n */\n int ALE_METHOD = 4;\n\n /**\n * The feature id for the '<em><b>Type</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ALE_METHOD__TYPE = 0;\n\n /**\n * The feature id for the '<em><b>Name</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ALE_METHOD__NAME = 1;\n\n /**\n * The feature id for the '<em><b>Params</b></em>' containment reference list.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ALE_METHOD__PARAMS = 2;\n\n /**\n * The number of structural features of the '<em>Method</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ALE_METHOD_FEATURE_COUNT = 3;\n\n /**\n * The meta object id for the '{@link ale.xtext.ale.impl.ConcreteMethodImpl <em>Concrete Method</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see ale.xtext.ale.impl.ConcreteMethodImpl\n * @see ale.xtext.ale.impl.AlePackageImpl#getConcreteMethod()\n * @generated\n */\n int CONCRETE_METHOD = 5;\n\n /**\n * The feature id for the '<em><b>Type</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int CONCRETE_METHOD__TYPE = ALE_METHOD__TYPE;\n\n /**\n * The feature id for the '<em><b>Name</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int CONCRETE_METHOD__NAME = ALE_METHOD__NAME;\n\n /**\n * The feature id for the '<em><b>Params</b></em>' containment reference list.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int CONCRETE_METHOD__PARAMS = ALE_METHOD__PARAMS;\n\n /**\n * The feature id for the '<em><b>Block</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int CONCRETE_METHOD__BLOCK = ALE_METHOD_FEATURE_COUNT + 0;\n\n /**\n * The number of structural features of the '<em>Concrete Method</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int CONCRETE_METHOD_FEATURE_COUNT = ALE_METHOD_FEATURE_COUNT + 1;\n\n /**\n * The meta object id for the '{@link ale.xtext.ale.impl.AbstractMethodImpl <em>Abstract Method</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see ale.xtext.ale.impl.AbstractMethodImpl\n * @see ale.xtext.ale.impl.AlePackageImpl#getAbstractMethod()\n * @generated\n */\n int ABSTRACT_METHOD = 6;\n\n /**\n * The feature id for the '<em><b>Type</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ABSTRACT_METHOD__TYPE = ALE_METHOD__TYPE;\n\n /**\n * The feature id for the '<em><b>Name</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ABSTRACT_METHOD__NAME = ALE_METHOD__NAME;\n\n /**\n * The feature id for the '<em><b>Params</b></em>' containment reference list.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ABSTRACT_METHOD__PARAMS = ALE_METHOD__PARAMS;\n\n /**\n * The number of structural features of the '<em>Abstract Method</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ABSTRACT_METHOD_FEATURE_COUNT = ALE_METHOD_FEATURE_COUNT + 0;\n\n /**\n * The meta object id for the '{@link ale.xtext.ale.impl.DefMethodImpl <em>Def Method</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see ale.xtext.ale.impl.DefMethodImpl\n * @see ale.xtext.ale.impl.AlePackageImpl#getDefMethod()\n * @generated\n */\n int DEF_METHOD = 7;\n\n /**\n * The feature id for the '<em><b>Type</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int DEF_METHOD__TYPE = CONCRETE_METHOD__TYPE;\n\n /**\n * The feature id for the '<em><b>Name</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int DEF_METHOD__NAME = CONCRETE_METHOD__NAME;\n\n /**\n * The feature id for the '<em><b>Params</b></em>' containment reference list.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int DEF_METHOD__PARAMS = CONCRETE_METHOD__PARAMS;\n\n /**\n * The feature id for the '<em><b>Block</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int DEF_METHOD__BLOCK = CONCRETE_METHOD__BLOCK;\n\n /**\n * The number of structural features of the '<em>Def Method</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int DEF_METHOD_FEATURE_COUNT = CONCRETE_METHOD_FEATURE_COUNT + 0;\n\n /**\n * The meta object id for the '{@link ale.xtext.ale.impl.OverrideMethodImpl <em>Override Method</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see ale.xtext.ale.impl.OverrideMethodImpl\n * @see ale.xtext.ale.impl.AlePackageImpl#getOverrideMethod()\n * @generated\n */\n int OVERRIDE_METHOD = 8;\n\n /**\n * The feature id for the '<em><b>Type</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OVERRIDE_METHOD__TYPE = CONCRETE_METHOD__TYPE;\n\n /**\n * The feature id for the '<em><b>Name</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OVERRIDE_METHOD__NAME = CONCRETE_METHOD__NAME;\n\n /**\n * The feature id for the '<em><b>Params</b></em>' containment reference list.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OVERRIDE_METHOD__PARAMS = CONCRETE_METHOD__PARAMS;\n\n /**\n * The feature id for the '<em><b>Block</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OVERRIDE_METHOD__BLOCK = CONCRETE_METHOD__BLOCK;\n\n /**\n * The number of structural features of the '<em>Override Method</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OVERRIDE_METHOD_FEATURE_COUNT = CONCRETE_METHOD_FEATURE_COUNT + 0;\n\n\n /**\n * Returns the meta object for class '{@link ale.xtext.ale.AleRoot <em>Root</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Root</em>'.\n * @see ale.xtext.ale.AleRoot\n * @generated\n */\n EClass getAleRoot();\n\n /**\n * Returns the meta object for the attribute '{@link ale.xtext.ale.AleRoot#getName <em>Name</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Name</em>'.\n * @see ale.xtext.ale.AleRoot#getName()\n * @see #getAleRoot()\n * @generated\n */\n EAttribute getAleRoot_Name();\n\n /**\n * Returns the meta object for the containment reference '{@link ale.xtext.ale.AleRoot#getJavaImports <em>Java Imports</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Java Imports</em>'.\n * @see ale.xtext.ale.AleRoot#getJavaImports()\n * @see #getAleRoot()\n * @generated\n */\n EReference getAleRoot_JavaImports();\n\n /**\n * Returns the meta object for the containment reference '{@link ale.xtext.ale.AleRoot#getEcoreImport <em>Ecore Import</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Ecore Import</em>'.\n * @see ale.xtext.ale.AleRoot#getEcoreImport()\n * @see #getAleRoot()\n * @generated\n */\n EReference getAleRoot_EcoreImport();\n\n /**\n * Returns the meta object for the containment reference list '{@link ale.xtext.ale.AleRoot#getAleImports <em>Ale Imports</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference list '<em>Ale Imports</em>'.\n * @see ale.xtext.ale.AleRoot#getAleImports()\n * @see #getAleRoot()\n * @generated\n */\n EReference getAleRoot_AleImports();\n\n /**\n * Returns the meta object for the containment reference list '{@link ale.xtext.ale.AleRoot#getClasses <em>Classes</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference list '<em>Classes</em>'.\n * @see ale.xtext.ale.AleRoot#getClasses()\n * @see #getAleRoot()\n * @generated\n */\n EReference getAleRoot_Classes();\n\n /**\n * Returns the meta object for class '{@link ale.xtext.ale.EcoreImport <em>Ecore Import</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Ecore Import</em>'.\n * @see ale.xtext.ale.EcoreImport\n * @generated\n */\n EClass getEcoreImport();\n\n /**\n * Returns the meta object for the attribute '{@link ale.xtext.ale.EcoreImport#getUri <em>Uri</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Uri</em>'.\n * @see ale.xtext.ale.EcoreImport#getUri()\n * @see #getEcoreImport()\n * @generated\n */\n EAttribute getEcoreImport_Uri();\n\n /**\n * Returns the meta object for class '{@link ale.xtext.ale.AleImport <em>Import</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Import</em>'.\n * @see ale.xtext.ale.AleImport\n * @generated\n */\n EClass getAleImport();\n\n /**\n * Returns the meta object for the reference '{@link ale.xtext.ale.AleImport#getRef <em>Ref</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the reference '<em>Ref</em>'.\n * @see ale.xtext.ale.AleImport#getRef()\n * @see #getAleImport()\n * @generated\n */\n EReference getAleImport_Ref();\n\n /**\n * Returns the meta object for class '{@link ale.xtext.ale.AleClass <em>Class</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Class</em>'.\n * @see ale.xtext.ale.AleClass\n * @generated\n */\n EClass getAleClass();\n\n /**\n * Returns the meta object for the attribute '{@link ale.xtext.ale.AleClass#isAbstract <em>Abstract</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Abstract</em>'.\n * @see ale.xtext.ale.AleClass#isAbstract()\n * @see #getAleClass()\n * @generated\n */\n EAttribute getAleClass_Abstract();\n\n /**\n * Returns the meta object for the attribute '{@link ale.xtext.ale.AleClass#getName <em>Name</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Name</em>'.\n * @see ale.xtext.ale.AleClass#getName()\n * @see #getAleClass()\n * @generated\n */\n EAttribute getAleClass_Name();\n\n /**\n * Returns the meta object for the containment reference list '{@link ale.xtext.ale.AleClass#getMethods <em>Methods</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference list '<em>Methods</em>'.\n * @see ale.xtext.ale.AleClass#getMethods()\n * @see #getAleClass()\n * @generated\n */\n EReference getAleClass_Methods();\n\n /**\n * Returns the meta object for class '{@link ale.xtext.ale.AleMethod <em>Method</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Method</em>'.\n * @see ale.xtext.ale.AleMethod\n * @generated\n */\n EClass getAleMethod();\n\n /**\n * Returns the meta object for the containment reference '{@link ale.xtext.ale.AleMethod#getType <em>Type</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Type</em>'.\n * @see ale.xtext.ale.AleMethod#getType()\n * @see #getAleMethod()\n * @generated\n */\n EReference getAleMethod_Type();\n\n /**\n * Returns the meta object for the attribute '{@link ale.xtext.ale.AleMethod#getName <em>Name</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Name</em>'.\n * @see ale.xtext.ale.AleMethod#getName()\n * @see #getAleMethod()\n * @generated\n */\n EAttribute getAleMethod_Name();\n\n /**\n * Returns the meta object for the containment reference list '{@link ale.xtext.ale.AleMethod#getParams <em>Params</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference list '<em>Params</em>'.\n * @see ale.xtext.ale.AleMethod#getParams()\n * @see #getAleMethod()\n * @generated\n */\n EReference getAleMethod_Params();\n\n /**\n * Returns the meta object for class '{@link ale.xtext.ale.ConcreteMethod <em>Concrete Method</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Concrete Method</em>'.\n * @see ale.xtext.ale.ConcreteMethod\n * @generated\n */\n EClass getConcreteMethod();\n\n /**\n * Returns the meta object for the containment reference '{@link ale.xtext.ale.ConcreteMethod#getBlock <em>Block</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Block</em>'.\n * @see ale.xtext.ale.ConcreteMethod#getBlock()\n * @see #getConcreteMethod()\n * @generated\n */\n EReference getConcreteMethod_Block();\n\n /**\n * Returns the meta object for class '{@link ale.xtext.ale.AbstractMethod <em>Abstract Method</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Abstract Method</em>'.\n * @see ale.xtext.ale.AbstractMethod\n * @generated\n */\n EClass getAbstractMethod();\n\n /**\n * Returns the meta object for class '{@link ale.xtext.ale.DefMethod <em>Def Method</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Def Method</em>'.\n * @see ale.xtext.ale.DefMethod\n * @generated\n */\n EClass getDefMethod();\n\n /**\n * Returns the meta object for class '{@link ale.xtext.ale.OverrideMethod <em>Override Method</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Override Method</em>'.\n * @see ale.xtext.ale.OverrideMethod\n * @generated\n */\n EClass getOverrideMethod();\n\n /**\n * Returns the factory that creates the instances of the model.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the factory that creates the instances of the model.\n * @generated\n */\n AleFactory getAleFactory();\n\n /**\n * <!-- begin-user-doc -->\n * Defines literals for the meta objects that represent\n * <ul>\n * <li>each class,</li>\n * <li>each feature of each class,</li>\n * <li>each enum,</li>\n * <li>and each data type</li>\n * </ul>\n * <!-- end-user-doc -->\n * @generated\n */\n interface Literals\n {\n /**\n * The meta object literal for the '{@link ale.xtext.ale.impl.AleRootImpl <em>Root</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see ale.xtext.ale.impl.AleRootImpl\n * @see ale.xtext.ale.impl.AlePackageImpl#getAleRoot()\n * @generated\n */\n EClass ALE_ROOT = eINSTANCE.getAleRoot();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ALE_ROOT__NAME = eINSTANCE.getAleRoot_Name();\n\n /**\n * The meta object literal for the '<em><b>Java Imports</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ALE_ROOT__JAVA_IMPORTS = eINSTANCE.getAleRoot_JavaImports();\n\n /**\n * The meta object literal for the '<em><b>Ecore Import</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ALE_ROOT__ECORE_IMPORT = eINSTANCE.getAleRoot_EcoreImport();\n\n /**\n * The meta object literal for the '<em><b>Ale Imports</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ALE_ROOT__ALE_IMPORTS = eINSTANCE.getAleRoot_AleImports();\n\n /**\n * The meta object literal for the '<em><b>Classes</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ALE_ROOT__CLASSES = eINSTANCE.getAleRoot_Classes();\n\n /**\n * The meta object literal for the '{@link ale.xtext.ale.impl.EcoreImportImpl <em>Ecore Import</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see ale.xtext.ale.impl.EcoreImportImpl\n * @see ale.xtext.ale.impl.AlePackageImpl#getEcoreImport()\n * @generated\n */\n EClass ECORE_IMPORT = eINSTANCE.getEcoreImport();\n\n /**\n * The meta object literal for the '<em><b>Uri</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ECORE_IMPORT__URI = eINSTANCE.getEcoreImport_Uri();\n\n /**\n * The meta object literal for the '{@link ale.xtext.ale.impl.AleImportImpl <em>Import</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see ale.xtext.ale.impl.AleImportImpl\n * @see ale.xtext.ale.impl.AlePackageImpl#getAleImport()\n * @generated\n */\n EClass ALE_IMPORT = eINSTANCE.getAleImport();\n\n /**\n * The meta object literal for the '<em><b>Ref</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ALE_IMPORT__REF = eINSTANCE.getAleImport_Ref();\n\n /**\n * The meta object literal for the '{@link ale.xtext.ale.impl.AleClassImpl <em>Class</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see ale.xtext.ale.impl.AleClassImpl\n * @see ale.xtext.ale.impl.AlePackageImpl#getAleClass()\n * @generated\n */\n EClass ALE_CLASS = eINSTANCE.getAleClass();\n\n /**\n * The meta object literal for the '<em><b>Abstract</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ALE_CLASS__ABSTRACT = eINSTANCE.getAleClass_Abstract();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ALE_CLASS__NAME = eINSTANCE.getAleClass_Name();\n\n /**\n * The meta object literal for the '<em><b>Methods</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ALE_CLASS__METHODS = eINSTANCE.getAleClass_Methods();\n\n /**\n * The meta object literal for the '{@link ale.xtext.ale.impl.AleMethodImpl <em>Method</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see ale.xtext.ale.impl.AleMethodImpl\n * @see ale.xtext.ale.impl.AlePackageImpl#getAleMethod()\n * @generated\n */\n EClass ALE_METHOD = eINSTANCE.getAleMethod();\n\n /**\n * The meta object literal for the '<em><b>Type</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ALE_METHOD__TYPE = eINSTANCE.getAleMethod_Type();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ALE_METHOD__NAME = eINSTANCE.getAleMethod_Name();\n\n /**\n * The meta object literal for the '<em><b>Params</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ALE_METHOD__PARAMS = eINSTANCE.getAleMethod_Params();\n\n /**\n * The meta object literal for the '{@link ale.xtext.ale.impl.ConcreteMethodImpl <em>Concrete Method</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see ale.xtext.ale.impl.ConcreteMethodImpl\n * @see ale.xtext.ale.impl.AlePackageImpl#getConcreteMethod()\n * @generated\n */\n EClass CONCRETE_METHOD = eINSTANCE.getConcreteMethod();\n\n /**\n * The meta object literal for the '<em><b>Block</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference CONCRETE_METHOD__BLOCK = eINSTANCE.getConcreteMethod_Block();\n\n /**\n * The meta object literal for the '{@link ale.xtext.ale.impl.AbstractMethodImpl <em>Abstract Method</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see ale.xtext.ale.impl.AbstractMethodImpl\n * @see ale.xtext.ale.impl.AlePackageImpl#getAbstractMethod()\n * @generated\n */\n EClass ABSTRACT_METHOD = eINSTANCE.getAbstractMethod();\n\n /**\n * The meta object literal for the '{@link ale.xtext.ale.impl.DefMethodImpl <em>Def Method</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see ale.xtext.ale.impl.DefMethodImpl\n * @see ale.xtext.ale.impl.AlePackageImpl#getDefMethod()\n * @generated\n */\n EClass DEF_METHOD = eINSTANCE.getDefMethod();\n\n /**\n * The meta object literal for the '{@link ale.xtext.ale.impl.OverrideMethodImpl <em>Override Method</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see ale.xtext.ale.impl.OverrideMethodImpl\n * @see ale.xtext.ale.impl.AlePackageImpl#getOverrideMethod()\n * @generated\n */\n EClass OVERRIDE_METHOD = eINSTANCE.getOverrideMethod();\n\n }\n\n}", "title": "" }, { "docid": "0e1052cc10baf23d44109506f9003a2a", "score": "0.5004969", "text": "public interface TransitiveRelationship extends Component {\n\n /**\n * Returns the super type concept.\n *\n * @return the super type concept\n */\n public Concept getSuperTypeConcept();\n\n /**\n * Sets the super type concept.\n *\n * @param sourceConcept the super type concept\n */\n public void setSuperTypeConcept(Concept sourceConcept);\n\n /**\n * Returns the sub type concept.\n *\n * @return the sub type concept\n */\n public Concept getSubTypeConcept();\n\n /**\n * Sets the sub type concept.\n *\n * @param destinationConcept the sub type concept\n */\n public void setSubTypeConcept(Concept destinationConcept);\n\n}", "title": "" }, { "docid": "d37c6aa437a78bb8df761122a716e8f5", "score": "0.4998214", "text": "private Formula accessFormula() throws EObjectCreationException {\n if (instance.getRootObject() == null)\n throw new EObjectCreationException(\"Empty Root Object?\");\n Class rootClass = instance.getRootObject().getClassifier();\n Relation root = relationMap.get(rootClass);\n\n Set<Relation> rels = relationMap.entrySet().stream()\n .filter(entry -> entry.getKey() instanceof Reference\n && ((Reference) entry.getKey()).getContext().qualifier\n .stream()\n .anyMatch(token -> token.getText().equals(\"composes\")))\n .map(Map.Entry::getValue)\n .collect(Collectors.toSet());\n\n Set<Relation> types = relationMap.entrySet().stream()\n .filter(entry -> entry.getKey() instanceof Class)\n .map(Map.Entry::getValue)\n .collect(Collectors.toSet());\n\n if (types.isEmpty() || rels.isEmpty())\n return Formula.TRUE;\n\n Expression relsExpr = Expression.union(rels);\n Expression typesExpr = Expression.union(types);\n\n Formula f = root.join(relsExpr.reflexiveClosure()).eq(typesExpr);\n\n formulaInfos.computeIfAbsent(f, e -> new HashSet<>()).add(\n new FormulaInfo(f, rootClass.getToken(), \"Every object must be accessible from the root object.\")\n );\n\n return f;\n }", "title": "" }, { "docid": "ccfbdc96dfc9f57821761c5858a7c728", "score": "0.49940577", "text": "private boolean isBasic(OWLClassExpression oce) {\r\n if (oce.isOWLNothing() || oce.isOWLThing() || (oce instanceof OWLClass)\r\n \t\t|| (oce instanceof OWLIndividual)) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }", "title": "" }, { "docid": "ff1f50e9255b035380bf8bbd737137f6", "score": "0.49920475", "text": "public interface Entrance {\r\n \r\n public Attribute getObjectclass();\r\n \r\n public LdapName getId();\r\n \r\n /**\r\n * Altera o nome (name) do objeto.\r\n * @param ldapName\r\n */\r\n public void setId(String ldapName);\r\n \r\n public void setId(Name ldapName);\r\n \r\n public void setName(String name);\r\n\r\n public Attribute getName();\r\n \r\n /**\r\n * Retorna a descri&ccedil;&atilde;o (description) do objeto na forma de Attribute..\r\n * @return description\r\n * Descri&ccedil;&atilde;o do objeto\r\n */\r\n public Attribute getDescription();\r\n\r\n /**\r\n * Atribui/altera o campo descri&ccedil;&atilde;o (description) do objeto.\r\n * @param description\r\n * Descri&ccedil;&atilde;o do objeto\r\n */\r\n public void setDescription(String description);\r\n \r\n /**\r\n * Retorna os Grupos do(a) qual(is) o objeto &eacute; membro.\r\n * @return memberOf\r\n * Grupo(s) ao(s) qual(is) o objeto pertence.\r\n * <br>OBS.: O objeto pode ser membro de uma ou mais grupos.\r\n */\r\n public Attribute getMemberOf();\r\n \r\n /**\r\n * Atribui/altera o campo MemberOf (description) do objeto.\r\n\t * @param dnMemberOf\r\n * Grupo(s) ao(s) qual(is) o objeto pertence.\r\n * <br>OBS.: O objeto pode ser membro de uma mais grupos.\r\n */\r\n public void addMemberOf(Name dnMemberOf);\r\n \r\n /**\r\n * Atribui / Modifica um conjunto de atributos do objeto.\r\n * @param attributes\r\n * Cole&ccedil;&atilde;o de todos os atributos do objeto.\r\n */\r\n public void setAttributes(Attributes attributes); \r\n \r\n /**\r\n * Adiciona um atributo ao objeto. Se o atributo j&aacute; existe, uma exce&ccedil;&atilde;o\r\n * &eacute; lan&ccedil;ada\r\n * @param additionalAttribute\r\n * @throws IllegalArgumentException\r\n */\r\n public void addAttribute(Attribute additionalAttribute) throws IllegalArgumentException;\r\n\r\n /**\r\n * Adiciona um atributo ao objeto. Se o atributo j&aacute; existe, uma exce&ccedil;&atilde;o &eacute; lan&ccedil;ada.\r\n * @param id\r\n * Identifica&ccedil;&atilde;o do atributo.\r\n * @param value\r\n * Valor do atributo.\r\n * @throws IllegalArgumentException\r\n */ \r\n public void addAttribute(String id, Object value) throws IllegalArgumentException;\r\n \r\n /**\r\n * Retorna um atributo. Caso o atributo n&atilde;o exista, \r\n * uma exce&ccedil;&atilde;o &eacute; lan&ccedil;ada.\r\n * @param idAttribute\r\n * Identifica&ccedil;&atilde;o do atributo.\r\n * @return \r\n * @throws IllegalArgumentException\r\n */\r\n public Attribute getAttribute(String idAttribute) throws IllegalArgumentException;\r\n \r\n /**\r\n * Remove do objeto o atributo especificado pelo id. Caso o atributo n&atilde;o exista, \r\n * uma exce&ccedil;&atilde;o &eacute; lan&ccedil;ada.\r\n * @param id\r\n * Identifica&ccedil;&atilde;o do atributo.\r\n\t * @return \r\n * @throws LdapException\r\n */\r\n public Attribute removeAttribute(String id) throws LdapException;\r\n \r\n public Attributes getAttributes();\r\n \r\n}", "title": "" }, { "docid": "a6d59180479412ad14550f9379f37c09", "score": "0.49912384", "text": "public interface ISymbolicProduction\n{\n\n /**\n * Gets the productionName attribute of the ISymbolicProduction object\n * \n * @return The productionName value\n */\n public String getName();\n\n /**\n * Sets the productionName attribute of the ISymbolicProduction object\n * \n * @param str\n * The new productionName value\n */\n public void setName(String str);\n\n /**\n * Adds a feature to the ICondition attribute of the ISymbolicProduction\n * object\n * \n * @param cond\n * The feature to be added to the ICondition attribute\n */\n public void addCondition(ICondition cond);\n\n /**\n * Description of the Method\n * \n * @param retr\n * Description of the Parameter\n */\n public void removeCondition(ICondition retr);\n\n /**\n * Gets the conditions attribute of the ISymbolicProduction object\n * \n * @return The conditions value\n */\n public Collection<ICondition> getConditions();\n\n /**\n * Gets the numberOfConditions attribute of the ISymbolicProduction object\n * \n * @return The numberOfConditions value\n */\n public int getNumberOfConditions();\n\n /**\n * Adds a feature to the IAction attribute of the ISymbolicProduction object\n * \n * @param cons\n * The feature to be added to the IAction attribute\n */\n public void addAction(IAction cons);\n\n /**\n * Description of the Method\n * \n * @param cons\n * Description of the Parameter\n */\n public void removeAction(IAction cons);\n\n /**\n * Gets the actions attribute of the ISymbolicProduction object\n * \n * @return The actions value\n */\n public Collection<IAction> getActions();\n\n /**\n * Gets the numberOfActions attribute of the ISymbolicProduction object\n * \n * @return The numberOfActions value\n */\n public int getNumberOfActions();\n\n /**\n * Description of the Method\n */\n public void dispose();\n\n public void encode();\n}", "title": "" }, { "docid": "16ab7ec0a276a4673ba4027e8dab3526", "score": "0.49908355", "text": "public interface Relation_modelPackage extends EPackage {\n\t/**\n\t * The package name.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tString eNAME = \"relation_model\";\n\n\t/**\n\t * The package namespace URI.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tString eNS_URI = \"http:///com/graeditor/relation_model.ecore\";\n\n\t/**\n\t * The package namespace name.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tString eNS_PREFIX = \"com.graeditor.relation_model\";\n\n\t/**\n\t * The singleton instance of the package.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tRelation_modelPackage eINSTANCE = com.graeditor.relation_model.impl.Relation_modelPackageImpl.init();\n\n\t/**\n\t * The meta object id for the '{@link com.graeditor.relation_model.impl.RelationModuleImpl <em>Relation Module</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see com.graeditor.relation_model.impl.RelationModuleImpl\n\t * @see com.graeditor.relation_model.impl.Relation_modelPackageImpl#getRelationModule()\n\t * @generated\n\t */\n\tint RELATION_MODULE = 2;\n\n\t/**\n\t * The feature id for the '<em><b>Pictogram Element</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint RELATION_MODULE__PICTOGRAM_ELEMENT = 0;\n\n\t/**\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint RELATION_MODULE__NAME = 1;\n\n\t/**\n\t * The feature id for the '<em><b>Text Content</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint RELATION_MODULE__TEXT_CONTENT = 2;\n\n\t/**\n\t * The number of structural features of the '<em>Relation Module</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint RELATION_MODULE_FEATURE_COUNT = 3;\n\n\t/**\n\t * The number of operations of the '<em>Relation Module</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint RELATION_MODULE_OPERATION_COUNT = 0;\n\n\t/**\n\t * The meta object id for the '{@link com.graeditor.relation_model.impl.HorizontalLineModuleImpl <em>Horizontal Line Module</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see com.graeditor.relation_model.impl.HorizontalLineModuleImpl\n\t * @see com.graeditor.relation_model.impl.Relation_modelPackageImpl#getHorizontalLineModule()\n\t * @generated\n\t */\n\tint HORIZONTAL_LINE_MODULE = 0;\n\n\t/**\n\t * The feature id for the '<em><b>Pictogram Element</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint HORIZONTAL_LINE_MODULE__PICTOGRAM_ELEMENT = RELATION_MODULE__PICTOGRAM_ELEMENT;\n\n\t/**\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint HORIZONTAL_LINE_MODULE__NAME = RELATION_MODULE__NAME;\n\n\t/**\n\t * The feature id for the '<em><b>Text Content</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint HORIZONTAL_LINE_MODULE__TEXT_CONTENT = RELATION_MODULE__TEXT_CONTENT;\n\n\t/**\n\t * The number of structural features of the '<em>Horizontal Line Module</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint HORIZONTAL_LINE_MODULE_FEATURE_COUNT = RELATION_MODULE_FEATURE_COUNT + 0;\n\n\t/**\n\t * The number of operations of the '<em>Horizontal Line Module</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint HORIZONTAL_LINE_MODULE_OPERATION_COUNT = RELATION_MODULE_OPERATION_COUNT + 0;\n\n\t/**\n\t * The meta object id for the '{@link com.graeditor.relation_model.impl.RelationImpl <em>Relation</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see com.graeditor.relation_model.impl.RelationImpl\n\t * @see com.graeditor.relation_model.impl.Relation_modelPackageImpl#getRelation()\n\t * @generated\n\t */\n\tint RELATION = 1;\n\n\t/**\n\t * The feature id for the '<em><b>Modules</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint RELATION__MODULES = 0;\n\n\t/**\n\t * The number of structural features of the '<em>Relation</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint RELATION_FEATURE_COUNT = 1;\n\n\t/**\n\t * The number of operations of the '<em>Relation</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint RELATION_OPERATION_COUNT = 0;\n\n\t/**\n\t * The meta object id for the '{@link com.graeditor.relation_model.impl.TitleModuleImpl <em>Title Module</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see com.graeditor.relation_model.impl.TitleModuleImpl\n\t * @see com.graeditor.relation_model.impl.Relation_modelPackageImpl#getTitleModule()\n\t * @generated\n\t */\n\tint TITLE_MODULE = 3;\n\n\t/**\n\t * The feature id for the '<em><b>Pictogram Element</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint TITLE_MODULE__PICTOGRAM_ELEMENT = RELATION_MODULE__PICTOGRAM_ELEMENT;\n\n\t/**\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint TITLE_MODULE__NAME = RELATION_MODULE__NAME;\n\n\t/**\n\t * The feature id for the '<em><b>Text Content</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint TITLE_MODULE__TEXT_CONTENT = RELATION_MODULE__TEXT_CONTENT;\n\n\t/**\n\t * The number of structural features of the '<em>Title Module</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint TITLE_MODULE_FEATURE_COUNT = RELATION_MODULE_FEATURE_COUNT + 0;\n\n\t/**\n\t * The number of operations of the '<em>Title Module</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint TITLE_MODULE_OPERATION_COUNT = RELATION_MODULE_OPERATION_COUNT + 0;\n\n\n\t/**\n\t * The meta object id for the '{@link com.graeditor.relation_model.impl.ContentModuleImpl <em>Content Module</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see com.graeditor.relation_model.impl.ContentModuleImpl\n\t * @see com.graeditor.relation_model.impl.Relation_modelPackageImpl#getContentModule()\n\t * @generated\n\t */\n\tint CONTENT_MODULE = 4;\n\n\t/**\n\t * The feature id for the '<em><b>Pictogram Element</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CONTENT_MODULE__PICTOGRAM_ELEMENT = RELATION_MODULE__PICTOGRAM_ELEMENT;\n\n\t/**\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CONTENT_MODULE__NAME = RELATION_MODULE__NAME;\n\n\t/**\n\t * The feature id for the '<em><b>Text Content</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CONTENT_MODULE__TEXT_CONTENT = RELATION_MODULE__TEXT_CONTENT;\n\n\t/**\n\t * The number of structural features of the '<em>Content Module</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CONTENT_MODULE_FEATURE_COUNT = RELATION_MODULE_FEATURE_COUNT + 0;\n\n\t/**\n\t * The number of operations of the '<em>Content Module</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CONTENT_MODULE_OPERATION_COUNT = RELATION_MODULE_OPERATION_COUNT + 0;\n\n\n\t/**\n\t * Returns the meta object for class '{@link com.graeditor.relation_model.HorizontalLineModule <em>Horizontal Line Module</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Horizontal Line Module</em>'.\n\t * @see com.graeditor.relation_model.HorizontalLineModule\n\t * @generated\n\t */\n\tEClass getHorizontalLineModule();\n\n\t/**\n\t * Returns the meta object for class '{@link com.graeditor.relation_model.Relation <em>Relation</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Relation</em>'.\n\t * @see com.graeditor.relation_model.Relation\n\t * @generated\n\t */\n\tEClass getRelation();\n\n\t/**\n\t * Returns the meta object for the containment reference list '{@link com.graeditor.relation_model.Relation#getModules <em>Modules</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the containment reference list '<em>Modules</em>'.\n\t * @see com.graeditor.relation_model.Relation#getModules()\n\t * @see #getRelation()\n\t * @generated\n\t */\n\tEReference getRelation_Modules();\n\n\t/**\n\t * Returns the meta object for class '{@link com.graeditor.relation_model.RelationModule <em>Relation Module</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Relation Module</em>'.\n\t * @see com.graeditor.relation_model.RelationModule\n\t * @generated\n\t */\n\tEClass getRelationModule();\n\n\t/**\n\t * Returns the meta object for the reference '{@link com.graeditor.relation_model.RelationModule#getPictogramElement <em>Pictogram Element</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the reference '<em>Pictogram Element</em>'.\n\t * @see com.graeditor.relation_model.RelationModule#getPictogramElement()\n\t * @see #getRelationModule()\n\t * @generated\n\t */\n\tEReference getRelationModule_PictogramElement();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link com.graeditor.relation_model.RelationModule#getName <em>Name</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Name</em>'.\n\t * @see com.graeditor.relation_model.RelationModule#getName()\n\t * @see #getRelationModule()\n\t * @generated\n\t */\n\tEAttribute getRelationModule_Name();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link com.graeditor.relation_model.RelationModule#getTextContent <em>Text Content</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Text Content</em>'.\n\t * @see com.graeditor.relation_model.RelationModule#getTextContent()\n\t * @see #getRelationModule()\n\t * @generated\n\t */\n\tEAttribute getRelationModule_TextContent();\n\n\t/**\n\t * Returns the meta object for class '{@link com.graeditor.relation_model.TitleModule <em>Title Module</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Title Module</em>'.\n\t * @see com.graeditor.relation_model.TitleModule\n\t * @generated\n\t */\n\tEClass getTitleModule();\n\n\t/**\n\t * Returns the meta object for class '{@link com.graeditor.relation_model.ContentModule <em>Content Module</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Content Module</em>'.\n\t * @see com.graeditor.relation_model.ContentModule\n\t * @generated\n\t */\n\tEClass getContentModule();\n\n\t/**\n\t * Returns the factory that creates the instances of the model.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the factory that creates the instances of the model.\n\t * @generated\n\t */\n\tRelation_modelFactory getRelation_modelFactory();\n\n\t/**\n\t * <!-- begin-user-doc -->\n\t * Defines literals for the meta objects that represent\n\t * <ul>\n\t * <li>each class,</li>\n\t * <li>each feature of each class,</li>\n\t * <li>each operation of each class,</li>\n\t * <li>each enum,</li>\n\t * <li>and each data type</li>\n\t * </ul>\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tinterface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link com.graeditor.relation_model.impl.HorizontalLineModuleImpl <em>Horizontal Line Module</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.graeditor.relation_model.impl.HorizontalLineModuleImpl\n\t\t * @see com.graeditor.relation_model.impl.Relation_modelPackageImpl#getHorizontalLineModule()\n\t\t * @generated\n\t\t */\n\t\tEClass HORIZONTAL_LINE_MODULE = eINSTANCE.getHorizontalLineModule();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.graeditor.relation_model.impl.RelationImpl <em>Relation</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.graeditor.relation_model.impl.RelationImpl\n\t\t * @see com.graeditor.relation_model.impl.Relation_modelPackageImpl#getRelation()\n\t\t * @generated\n\t\t */\n\t\tEClass RELATION = eINSTANCE.getRelation();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Modules</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference RELATION__MODULES = eINSTANCE.getRelation_Modules();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.graeditor.relation_model.impl.RelationModuleImpl <em>Relation Module</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.graeditor.relation_model.impl.RelationModuleImpl\n\t\t * @see com.graeditor.relation_model.impl.Relation_modelPackageImpl#getRelationModule()\n\t\t * @generated\n\t\t */\n\t\tEClass RELATION_MODULE = eINSTANCE.getRelationModule();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Pictogram Element</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference RELATION_MODULE__PICTOGRAM_ELEMENT = eINSTANCE.getRelationModule_PictogramElement();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute RELATION_MODULE__NAME = eINSTANCE.getRelationModule_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Text Content</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute RELATION_MODULE__TEXT_CONTENT = eINSTANCE.getRelationModule_TextContent();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.graeditor.relation_model.impl.TitleModuleImpl <em>Title Module</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.graeditor.relation_model.impl.TitleModuleImpl\n\t\t * @see com.graeditor.relation_model.impl.Relation_modelPackageImpl#getTitleModule()\n\t\t * @generated\n\t\t */\n\t\tEClass TITLE_MODULE = eINSTANCE.getTitleModule();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.graeditor.relation_model.impl.ContentModuleImpl <em>Content Module</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.graeditor.relation_model.impl.ContentModuleImpl\n\t\t * @see com.graeditor.relation_model.impl.Relation_modelPackageImpl#getContentModule()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_MODULE = eINSTANCE.getContentModule();\n\n\t}\n\n}", "title": "" }, { "docid": "3d18cc93ebea51e280c2656c74229c25", "score": "0.49865317", "text": "public interface CoordinationProtocol extends AbstractCoordinationSpecification {\r\n\r\n}", "title": "" }, { "docid": "92d8a8d0ca3c0809f236ece59dc07bb3", "score": "0.49811026", "text": "public interface ModuleService {\n\n}", "title": "" }, { "docid": "a95be92d166360aeef38a77ebb161675", "score": "0.4980584", "text": "@Test\n public void test() throws IOException {\n FooBlahGlobalScope globalScope = new FooBlahGlobalScope(new ModelPath());\n \n //Parse blah model\n BlahParser blahParser = new BlahParser();\n Optional<ASTBlahModel> blahModel = blahParser.parse_String(\n \"blahmodel {\" +\n \"blubScope blubScope1 {\" +\n \"blubScope blubScope2 {\" +\n \"symbol blubSymbol2\" +\n \"}\" +\n \"symbol blubSymbol1\"+\n \"}\" +\n \"}\"\n );\n \n // create symbol table for \"blah\"\n BlahSymbolTableCreator blahSymbolTableCreator = new BlahSymbolTableCreator(globalScope.getIBlahGS());\n IBlahArtifactScope blahSymbolTable = blahSymbolTableCreator.createFromAST(blahModel.get());\n blahSymbolTable.setName(\"blahmodel\");\n \n // check dummy symbol is present in local scope\n Optional<DummySymbol> blubSymbol1 = blahSymbolTable.resolveDummy(\"blahmodel.blubScope1.blubSymbol1\");\n \n assertTrue(blubSymbol1.isPresent());\n//\n//\n\n // check dummy symbol is present in global scope\n Optional<BarSymbol> barSymbol = globalScope.resolveBar(\"blahmodel.blubScope1.blubSymbol1\");\n \n assertTrue(barSymbol.isPresent());\n\n\n /* ***************************************************************************************************************\n ******************************************************************************************************************\n Foo/Bar Infrastruktur\n ******************************************************************************************************************\n */\n \n //parse foo model\n FooParser fooParser = new FooParser();\n Optional<ASTBar> fooModel = fooParser.parse_String(\"bar { blubSymbol1() } name\");\n \n // Check foo model is parsed\n assertTrue(fooModel.isPresent());\n \n // create symbol table for \"foo\"\n FooSymbolTableCreatorDelegator fooSymbolTableCreator = FooMill.fooSymbolTableCreatorDelegator();\n IFooArtifactScope fooScope = fooSymbolTableCreator.createFromAST(fooModel.get());\n \n // check symbol is resolvable\n Optional<BarSymbol> k = fooScope.resolveBar(\"name\");\n assertTrue(k.isPresent());\n\n }", "title": "" }, { "docid": "132da57f5af5f445d67334204d9ee64d", "score": "0.49769014", "text": "public interface MusicalSymbol {\n\n /**\n * @return whether symbol is related to entity which produces sound\n */\n boolean isSounding();\n\n /**\n * @return duration of a symbol\n */\n NoteValue getNoteValue();\n}", "title": "" }, { "docid": "2bb010e282e3147f83bffbd5d2c82337", "score": "0.49767748", "text": "@Test\n public void processModuleWithContainer() {\n\n schemaProvider.processSchemaRegistry(null);\n DefaultYangSchemaRegistry registry = schemaProvider\n .getDefaultYangSchemaRegistry();\n\n // As an application, creates the object.\n\n // Creates container object with leaf of decimal type.\n Sched sched = new DefaultSched.SchedBuilder()\n .predict(getBigDeci(98989))\n .yangSchedOpType(\n YtbModuleWithContainerOpParam.OnosYangOpType.DELETE)\n .build();\n // Creates module object with the container.\n YtbModuleWithContainer contModule = new YtbModuleWithContainerOpParam\n .YtbModuleWithContainerBuilder()\n .sched(sched)\n .yangYtbModuleWithContainerOpType(\n YtbModuleWithContainerOpParam.OnosYangOpType.CREATE)\n .build();\n\n // As YSB or YAB protocol sets the value for YTB.\n List<Object> objectList = new ArrayList<>();\n objectList.add(contModule);\n\n // Builds YANG tree in YTB.\n DefaultYangTreeBuilder treeBuilder = new DefaultYangTreeBuilder();\n YdtBuilder ydtBuilder = treeBuilder.getYdtBuilderForYo(\n objectList, ROOT_NAME, ROOT_NAME_SPACE,\n QUERY_CONFIG_REQUEST, registry);\n\n // Receives YDT context and check the tree that is built.\n YdtContext context = ydtBuilder.getRootNode();\n\n // Gets the first module from logical root node.\n YdtContext module = context.getFirstChild();\n YdtContextOperationType opType = ((YdtNode) module)\n .getYdtContextOperationType();\n\n assertThat(getInCrtName(MODULE, MOD_CONT),\n module.getName(), is(MOD_CONT));\n assertThat(getInCrtOpType(MODULE, MOD_CONT), opType, is(CREATE));\n\n // Get the container from module.\n YdtContext container = module.getFirstChild();\n YdtContextOperationType opTypeOfCont = ((YdtNode) container)\n .getYdtContextOperationType();\n\n assertThat(getInCrtName(CONTAINER, SCHED),\n container.getName(), is(\"sched\"));\n assertThat(getInCrtOpType(CONTAINER, SCHED), opTypeOfCont, is(DELETE));\n\n // Gets leaf from container.\n YdtContext leafContext = container.getFirstChild();\n assertThat(getInCrtName(LEAF, PREDICT),\n leafContext.getName(), is(PREDICT));\n assertThat(getInCrtLeafValue(PREDICT, PREDICT_VAL),\n leafContext.getValue(), is(PREDICT_VAL));\n }", "title": "" }, { "docid": "b36a515cb917d03902801f29e42e5c1c", "score": "0.49706832", "text": "public interface Modules {\n\n /**\n * Retrieve a module whose id matches that of the argument.\n * \n * @param id The id of the module to get.\n */\n public Module get(ModuleId id);\n\n /**\n * Return a list of all modules. The list returned is sorted by symbolicName + version in ascending order.\n */\n public List<Module> list();\n\n /**\n * Return a list of all modules but include only the latest version of each module. sorted by symbolicName + version\n * in ascending order.\n */\n public List<Module> listLatest();\n \n /**\n * Return a list of modules matching the groupId and artifactId.\n */\n public List<Module> get(String groupId, String artifactId);\n\n /**\n * Return a the latest module matching the groupId and artifactId.\n */\n public Module getLatest(String groupId, String artifactId);\n \n /**\n * The TC version that binds this list of modules.\n */\n public String tcVersion();\n\n /**\n * \n */\n public List<Module> find(String artifactId, String version, String groupId);\n \n /**\n * Get latest from a list of modules. Returns null if the modules in the list\n * are not siblings\n */\n public Module getLatest(List<Module> list);\n}", "title": "" }, { "docid": "b25e5441db21594f05029ea724ebf592", "score": "0.49661082", "text": "public interface IAtomInstance {\n}", "title": "" }, { "docid": "1ee9645d77b864203449415ec6fa3821", "score": "0.49633333", "text": "public interface ModuleInterface {\n\n String print(String msg);\n\n}", "title": "" }, { "docid": "5e7a1add9d786adc2c26311062d50d64", "score": "0.49597844", "text": "public interface ObservationComponent extends BackboneElement {\n\n\n\t\t CodeableConcept getCode();\n\n\t\t void setCode(CodeableConcept arg);\n\n\t\t ObservationValueChoice getValue();\n\n\t\t void setValue(ObservationValueChoice arg);\n\n\t\t CodeableConcept getDataAbsentReason();\n\n\t\t void setDataAbsentReason(CodeableConcept arg);\n\n\t\t List<CodeableConcept> getInterpretation();\n\n\t\t void setInterpretation(List<CodeableConcept> arg);\n\n\t\tpublic void addInterpretation(CodeableConcept arg);\n\n}", "title": "" }, { "docid": "66c077374dbf368b94ede71b772e9b22", "score": "0.49515548", "text": "public interface PathFinding<KM extends KnowledgeModule>\n{\n /**\n * Find a path to the specified goal\n * \n * @param vecGoal\n * the vector point to the goal\n * @param generatedPlan\n * the plan to add path planning to\n */\n public void pathplan(Vector3f vecGoal, Plan generatedPlan);\n\n /**\n * A method to notify the path finding that the agent has reacted to an event without planning.\n */\n public void notifyReact();\n\n public void notifyUserGoalChange();\n}", "title": "" }, { "docid": "e15480bcfa37550cbc53b155460939e1", "score": "0.4950848", "text": "public interface OooO0OO {\n Object OooO00o() throws CMSException, InvalidAlgorithmParameterException, InvalidKeyException, InvalidParameterSpecException, NoSuchAlgorithmException, NoSuchPaddingException, NoSuchProviderException;\n }", "title": "" }, { "docid": "2438dff1d9ae33523d7a59c191333b89", "score": "0.49452853", "text": "private MPredicates()\n\t{\n\t\tthrow new AssertionError();\n\t}", "title": "" }, { "docid": "e2f0953dd6965a079f4566ed3c68da91", "score": "0.49422508", "text": "public interface Reference {\r\n\r\n /**\r\n * Does the the reference point to another QEDEQ module?\r\n *\r\n * @return The reference goes to another module.\r\n */\r\n public boolean isExternal();\r\n\r\n /**\r\n * Does the the reference point to another QEDEQ module but not to a node?\r\n *\r\n * @return The reference goes directly to to another module.\r\n */\r\n public boolean isExternalModuleReference();\r\n\r\n /**\r\n * Get label for QEDEQ module the reference points to.\r\n *\r\n * @return QEDEQ module label.\r\n */\r\n public String getExternalQedeqLabel();\r\n\r\n /**\r\n * Get external QEDEQ module the reference points to.\r\n *\r\n * @return QEDEQ module.\r\n */\r\n public KernelQedeqBo getExternalQedeq();\r\n\r\n /**\r\n * Does the the reference point to a node? It might also be a sub reference to\r\n * a node like a part of a proposition or a formal proof line.\r\n *\r\n * @return The reference goes to a node or to a label within a node.\r\n */\r\n public boolean isNodeReference();\r\n\r\n /**\r\n * Label of the node the reference points to.\r\n *\r\n * @return Node label the reference points to.\r\n */\r\n public String getNodeLabel();\r\n\r\n /**\r\n * Node the reference points to. Might be in an external QEDEQ module. The reference might\r\n * also have a sub reference or proof line reference.\r\n *\r\n * @return Node the reference points to.\r\n */\r\n public KernelNodeBo getNode();\r\n\r\n /**\r\n * Does the the reference point to the same node?\r\n *\r\n * @return The reference is in the same node as the label.\r\n */\r\n public boolean isNodeLocalReference();\r\n\r\n /**\r\n * Does the the reference point to a sub reference of a node? This is a part of a node formula.\r\n * If this is true it can not have a proof line reference.\r\n *\r\n * @return The reference goes to a part of a node formula.\r\n */\r\n public boolean isSubReference();\r\n\r\n /**\r\n * Sub node label the reference points to.\r\n *\r\n * @return Sub node label the reference points to.\r\n */\r\n public String getSubLabel();\r\n\r\n /**\r\n * Does the the reference point to a proof line of a node? If this is true\r\n * it can not have a node sub reference.\r\n *\r\n * @return The reference goes to a proof line.\r\n */\r\n public boolean isProofLineReference();\r\n\r\n /**\r\n * Proof line label of a node the reference points to.\r\n *\r\n * @return Proof line label the reference points to.\r\n */\r\n public String getProofLineLabel();\r\n\r\n}", "title": "" }, { "docid": "1d82224175d48522c65bb74088405a35", "score": "0.49394304", "text": "@Test\n public void isSameModule() {\n assertTrue(CS1010S.isSameModule(CS1010S));\n\n // null -> returns false\n assertFalse(CS1010S.isSameModule(null));\n\n // different code, same name, different attributes -> returns false\n assertFalse(CS1010S.isSameModule(CS1101S));\n\n // different code, same name, same attributes -> returns false\n Person[] instructorsCs1101s = new Person[CS1101S.getInstructors().size()];\n CS1101S.getInstructors().toArray(instructorsCs1101s);\n\n Module cs50 = new ModuleBuilder(CS1101S).withCode(\"CS50\").build();\n assertFalse(CS1101S.isSameModule(cs50));\n\n // same code, same name, different attributes -> returns true\n Module editedCs1010S = new ModuleBuilder(CS1010S).withInstructors(IDA).build();\n assertTrue(CS1010S.isSameModule(editedCs1010S));\n\n // same code, different name, same attributes -> returns true\n editedCs1010S = new ModuleBuilder(CS1010S).withName(VALID_MODULE_NAME_CS50).build();\n assertTrue(CS1010S.isSameModule(editedCs1010S));\n\n // same code, different name, different attributes -> returns true\n editedCs1010S = new ModuleBuilder(CS1010S)\n .withName(VALID_MODULE_NAME_CS50)\n .withInstructors(instructorsCs1101s).build();\n assertTrue(CS1010S.isSameModule(editedCs1010S));\n\n }", "title": "" }, { "docid": "3daf0c5670b822f8aacba82724f609a3", "score": "0.49302256", "text": "interface Literals\n {\n /**\n * The meta object literal for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.ModelImpl <em>Model</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.ModelImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getModel()\n * @generated\n */\n EClass MODEL = eINSTANCE.getModel();\n\n /**\n * The meta object literal for the '<em><b>Uno</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference MODEL__UNO = eINSTANCE.getModel_Uno();\n\n /**\n * The meta object literal for the '<em><b>Deroulement</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference MODEL__DEROULEMENT = eINSTANCE.getModel_Deroulement();\n\n /**\n * The meta object literal for the '<em><b>Fin</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference MODEL__FIN = eINSTANCE.getModel_Fin();\n\n /**\n * The meta object literal for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.ConfigurationImpl <em>Configuration</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.ConfigurationImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getConfiguration()\n * @generated\n */\n EClass CONFIGURATION = eINSTANCE.getConfiguration();\n\n /**\n * The meta object literal for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.MainImpl <em>Main</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MainImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getMain()\n * @generated\n */\n EClass MAIN = eINSTANCE.getMain();\n\n /**\n * The meta object literal for the '<em><b>Nbt</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute MAIN__NBT = eINSTANCE.getMain_Nbt();\n\n /**\n * The meta object literal for the '<em><b>Rot</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute MAIN__ROT = eINSTANCE.getMain_Rot();\n\n /**\n * The meta object literal for the '<em><b>Equ</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute MAIN__EQU = eINSTANCE.getMain_Equ();\n\n /**\n * The meta object literal for the '<em><b>Visibilite</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute MAIN__VISIBILITE = eINSTANCE.getMain_Visibilite();\n\n /**\n * The meta object literal for the '<em><b>Nbm</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute MAIN__NBM = eINSTANCE.getMain_Nbm();\n\n /**\n * The meta object literal for the '<em><b>Nbc</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute MAIN__NBC = eINSTANCE.getMain_Nbc();\n\n /**\n * The meta object literal for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.DeroulementImpl <em>Deroulement</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.DeroulementImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getDeroulement()\n * @generated\n */\n EClass DEROULEMENT = eINSTANCE.getDeroulement();\n\n /**\n * The meta object literal for the '<em><b>Piocher</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference DEROULEMENT__PIOCHER = eINSTANCE.getDeroulement_Piocher();\n\n /**\n * The meta object literal for the '<em><b>Cartes</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference DEROULEMENT__CARTES = eINSTANCE.getDeroulement_Cartes();\n\n /**\n * The meta object literal for the '<em><b>Pen</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference DEROULEMENT__PEN = eINSTANCE.getDeroulement_Pen();\n\n /**\n * The meta object literal for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.PiocherImpl <em>Piocher</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.PiocherImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getPiocher()\n * @generated\n */\n EClass PIOCHER = eINSTANCE.getPiocher();\n\n /**\n * The meta object literal for the '<em><b>Nbr</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PIOCHER__NBR = eINSTANCE.getPiocher_Nbr();\n\n /**\n * The meta object literal for the '<em><b>Optp</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PIOCHER__OPTP = eINSTANCE.getPiocher_Optp();\n\n /**\n * The meta object literal for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.CartesImpl <em>Cartes</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.CartesImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getCartes()\n * @generated\n */\n EClass CARTES = eINSTANCE.getCartes();\n\n /**\n * The meta object literal for the '<em><b>Cc</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference CARTES__CC = eINSTANCE.getCartes_Cc();\n\n /**\n * The meta object literal for the '<em><b>Jpc</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference CARTES__JPC = eINSTANCE.getCartes_Jpc();\n\n /**\n * The meta object literal for the '<em><b>Clj</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute CARTES__CLJ = eINSTANCE.getCartes_Clj();\n\n /**\n * The meta object literal for the '<em><b>Cdm</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute CARTES__CDM = eINSTANCE.getCartes_Cdm();\n\n /**\n * The meta object literal for the '<em><b>P4</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute CARTES__P4 = eINSTANCE.getCartes_P4();\n\n /**\n * The meta object literal for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.Cumul_CartesImpl <em>Cumul Cartes</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.Cumul_CartesImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getCumul_Cartes()\n * @generated\n */\n EClass CUMUL_CARTES = eINSTANCE.getCumul_Cartes();\n\n /**\n * The meta object literal for the '<em><b>Eff</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute CUMUL_CARTES__EFF = eINSTANCE.getCumul_Cartes_Eff();\n\n /**\n * The meta object literal for the '<em><b>Ccp</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute CUMUL_CARTES__CCP = eINSTANCE.getCumul_Cartes_Ccp();\n\n /**\n * The meta object literal for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.Jouer_plusieurs_cartesImpl <em>Jouer plusieurs cartes</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.Jouer_plusieurs_cartesImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getJouer_plusieurs_cartes()\n * @generated\n */\n EClass JOUER_PLUSIEURS_CARTES = eINSTANCE.getJouer_plusieurs_cartes();\n\n /**\n * The meta object literal for the '<em><b>S</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference JOUER_PLUSIEURS_CARTES__S = eINSTANCE.getJouer_plusieurs_cartes_S();\n\n /**\n * The meta object literal for the '<em><b>Cus</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute JOUER_PLUSIEURS_CARTES__CUS = eINSTANCE.getJouer_plusieurs_cartes_Cus();\n\n /**\n * The meta object literal for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.SuitesImpl <em>Suites</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.SuitesImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getSuites()\n * @generated\n */\n EClass SUITES = eINSTANCE.getSuites();\n\n /**\n * The meta object literal for the '<em><b>Sr</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute SUITES__SR = eINSTANCE.getSuites_Sr();\n\n /**\n * The meta object literal for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.PenaliteImpl <em>Penalite</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.PenaliteImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getPenalite()\n * @generated\n */\n EClass PENALITE = eINSTANCE.getPenalite();\n\n /**\n * The meta object literal for the '<em><b>Penalite</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PENALITE__PENALITE = eINSTANCE.getPenalite_Penalite();\n\n /**\n * The meta object literal for the '{@link org.xtext.example.mydsl.myUnoDsl.impl.FinImpl <em>Fin</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.example.mydsl.myUnoDsl.impl.FinImpl\n * @see org.xtext.example.mydsl.myUnoDsl.impl.MyUnoDslPackageImpl#getFin()\n * @generated\n */\n EClass FIN = eINSTANCE.getFin();\n\n /**\n * The meta object literal for the '<em><b>Fdm</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute FIN__FDM = eINSTANCE.getFin_Fdm();\n\n /**\n * The meta object literal for the '<em><b>Fdp</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute FIN__FDP = eINSTANCE.getFin_Fdp();\n\n }", "title": "" }, { "docid": "3cf34ed77859def377e8ea3733e5c037", "score": "0.4927663", "text": "public interface GuiModule {\n\n /**\n * Start a module using optionally the current Petri net\n * @param petriNet\n */\n void start(PetriNet petriNet);\n\n /**\n *\n * @return the name of the module for\n */\n String getName();\n}", "title": "" }, { "docid": "c20a69a089b54519942dcd2db406e697", "score": "0.4915748", "text": "public interface OscDslPackage extends EPackage\n{\n /**\n * The package name.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n String eNAME = \"oscDsl\";\n\n /**\n * The package namespace URI.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n String eNS_URI = \"http://www.sf.net/smbt/osc/OscDsl\";\n\n /**\n * The package namespace name.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n String eNS_PREFIX = \"oscDsl\";\n\n /**\n * The singleton instance of the package.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n OscDslPackage eINSTANCE = net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl.init();\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EzModelImpl <em>Ez Model</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzModelImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzModel()\n * @generated\n */\n int EZ_MODEL = 0;\n\n /**\n * The feature id for the '<em><b>Cmd</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MODEL__CMD = 0;\n\n /**\n * The feature id for the '<em><b>Msg</b></em>' containment reference list.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MODEL__MSG = 1;\n\n /**\n * The number of structural features of the '<em>Ez Model</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MODEL_FEATURE_COUNT = 2;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EzCmdImpl <em>Ez Cmd</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzCmdImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzCmd()\n * @generated\n */\n int EZ_CMD = 1;\n\n /**\n * The feature id for the '<em><b>Cmd</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_CMD__CMD = 0;\n\n /**\n * The number of structural features of the '<em>Ez Cmd</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_CMD_FEATURE_COUNT = 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EzOpenCmdImpl <em>Ez Open Cmd</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzOpenCmdImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzOpenCmd()\n * @generated\n */\n int EZ_OPEN_CMD = 2;\n\n /**\n * The feature id for the '<em><b>Targets</b></em>' containment reference list.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_OPEN_CMD__TARGETS = 0;\n\n /**\n * The number of structural features of the '<em>Ez Open Cmd</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_OPEN_CMD_FEATURE_COUNT = 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EzCloseCmdImpl <em>Ez Close Cmd</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzCloseCmdImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzCloseCmd()\n * @generated\n */\n int EZ_CLOSE_CMD = 3;\n\n /**\n * The feature id for the '<em><b>Targets</b></em>' containment reference list.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_CLOSE_CMD__TARGETS = 0;\n\n /**\n * The number of structural features of the '<em>Ez Close Cmd</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_CLOSE_CMD_FEATURE_COUNT = 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EzHookCmdImpl <em>Ez Hook Cmd</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzHookCmdImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzHookCmd()\n * @generated\n */\n int EZ_HOOK_CMD = 4;\n\n /**\n * The feature id for the '<em><b>Targets</b></em>' containment reference list.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_HOOK_CMD__TARGETS = 0;\n\n /**\n * The number of structural features of the '<em>Ez Hook Cmd</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_HOOK_CMD_FEATURE_COUNT = 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EzUnhookCmdImpl <em>Ez Unhook Cmd</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzUnhookCmdImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzUnhookCmd()\n * @generated\n */\n int EZ_UNHOOK_CMD = 5;\n\n /**\n * The feature id for the '<em><b>Targets</b></em>' containment reference list.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_UNHOOK_CMD__TARGETS = 0;\n\n /**\n * The number of structural features of the '<em>Ez Unhook Cmd</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_UNHOOK_CMD_FEATURE_COUNT = 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EzAliasCmdImpl <em>Ez Alias Cmd</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzAliasCmdImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzAliasCmd()\n * @generated\n */\n int EZ_ALIAS_CMD = 6;\n\n /**\n * The feature id for the '<em><b>Alias</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_ALIAS_CMD__ALIAS = 0;\n\n /**\n * The feature id for the '<em><b>Targets</b></em>' containment reference list.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_ALIAS_CMD__TARGETS = 1;\n\n /**\n * The number of structural features of the '<em>Ez Alias Cmd</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_ALIAS_CMD_FEATURE_COUNT = 2;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EzStatusCmdImpl <em>Ez Status Cmd</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzStatusCmdImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzStatusCmd()\n * @generated\n */\n int EZ_STATUS_CMD = 7;\n\n /**\n * The feature id for the '<em><b>Targets</b></em>' containment reference list.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_STATUS_CMD__TARGETS = 0;\n\n /**\n * The number of structural features of the '<em>Ez Status Cmd</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_STATUS_CMD_FEATURE_COUNT = 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EzResetCmdImpl <em>Ez Reset Cmd</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzResetCmdImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzResetCmd()\n * @generated\n */\n int EZ_RESET_CMD = 8;\n\n /**\n * The feature id for the '<em><b>Id</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_RESET_CMD__ID = 0;\n\n /**\n * The feature id for the '<em><b>Verbose</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_RESET_CMD__VERBOSE = 1;\n\n /**\n * The number of structural features of the '<em>Ez Reset Cmd</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_RESET_CMD_FEATURE_COUNT = 2;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EzHelpCmdImpl <em>Ez Help Cmd</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzHelpCmdImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzHelpCmd()\n * @generated\n */\n int EZ_HELP_CMD = 9;\n\n /**\n * The feature id for the '<em><b>Id</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_HELP_CMD__ID = 0;\n\n /**\n * The feature id for the '<em><b>Verbose</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_HELP_CMD__VERBOSE = 1;\n\n /**\n * The number of structural features of the '<em>Ez Help Cmd</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_HELP_CMD_FEATURE_COUNT = 2;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EzClearCmdImpl <em>Ez Clear Cmd</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzClearCmdImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzClearCmd()\n * @generated\n */\n int EZ_CLEAR_CMD = 10;\n\n /**\n * The feature id for the '<em><b>Id</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_CLEAR_CMD__ID = 0;\n\n /**\n * The feature id for the '<em><b>Verbose</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_CLEAR_CMD__VERBOSE = 1;\n\n /**\n * The number of structural features of the '<em>Ez Clear Cmd</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_CLEAR_CMD_FEATURE_COUNT = 2;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EzProtocolCmdImpl <em>Ez Protocol Cmd</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzProtocolCmdImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzProtocolCmd()\n * @generated\n */\n int EZ_PROTOCOL_CMD = 11;\n\n /**\n * The feature id for the '<em><b>Id</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_PROTOCOL_CMD__ID = 0;\n\n /**\n * The feature id for the '<em><b>Verbose</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_PROTOCOL_CMD__VERBOSE = 1;\n\n /**\n * The number of structural features of the '<em>Ez Protocol Cmd</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_PROTOCOL_CMD_FEATURE_COUNT = 2;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EzListCmdImpl <em>Ez List Cmd</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzListCmdImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzListCmd()\n * @generated\n */\n int EZ_LIST_CMD = 12;\n\n /**\n * The feature id for the '<em><b>Addr</b></em>' reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_LIST_CMD__ADDR = 0;\n\n /**\n * The number of structural features of the '<em>Ez List Cmd</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_LIST_CMD_FEATURE_COUNT = 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgImpl <em>Ez Msg</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsg()\n * @generated\n */\n int EZ_MSG = 13;\n\n /**\n * The feature id for the '<em><b>Msg</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG__MSG = 0;\n\n /**\n * The number of structural features of the '<em>Ez Msg</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_FEATURE_COUNT = 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgRemoveImpl <em>Ez Msg Remove</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgRemoveImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgRemove()\n * @generated\n */\n int EZ_MSG_REMOVE = 14;\n\n /**\n * The feature id for the '<em><b>Cmd</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_REMOVE__CMD = 0;\n\n /**\n * The number of structural features of the '<em>Ez Msg Remove</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_REMOVE_FEATURE_COUNT = 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgGetImpl <em>Ez Msg Get</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgGetImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgGet()\n * @generated\n */\n int EZ_MSG_GET = 15;\n\n /**\n * The feature id for the '<em><b>Cmd</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_GET__CMD = 0;\n\n /**\n * The number of structural features of the '<em>Ez Msg Get</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_GET_FEATURE_COUNT = 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgBindImpl <em>Ez Msg Bind</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgBindImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgBind()\n * @generated\n */\n int EZ_MSG_BIND = 16;\n\n /**\n * The feature id for the '<em><b>Cmd</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_BIND__CMD = 0;\n\n /**\n * The number of structural features of the '<em>Ez Msg Bind</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_BIND_FEATURE_COUNT = 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgListenImpl <em>Ez Msg Listen</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgListenImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgListen()\n * @generated\n */\n int EZ_MSG_LISTEN = 17;\n\n /**\n * The feature id for the '<em><b>Cmd</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_LISTEN__CMD = 0;\n\n /**\n * The number of structural features of the '<em>Ez Msg Listen</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_LISTEN_FEATURE_COUNT = 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgServiceImpl <em>Ez Msg Service</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgServiceImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgService()\n * @generated\n */\n int EZ_MSG_SERVICE = 18;\n\n /**\n * The feature id for the '<em><b>Cmd</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_SERVICE__CMD = 0;\n\n /**\n * The number of structural features of the '<em>Ez Msg Service</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_SERVICE_FEATURE_COUNT = 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgUnlistenImpl <em>Ez Msg Unlisten</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgUnlistenImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgUnlisten()\n * @generated\n */\n int EZ_MSG_UNLISTEN = 19;\n\n /**\n * The feature id for the '<em><b>Cmd</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_UNLISTEN__CMD = 0;\n\n /**\n * The number of structural features of the '<em>Ez Msg Unlisten</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_UNLISTEN_FEATURE_COUNT = 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgCmdImpl <em>Ez Msg Cmd</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgCmdImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgCmd()\n * @generated\n */\n int EZ_MSG_CMD = 20;\n\n /**\n * The feature id for the '<em><b>Cmd</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_CMD__CMD = 0;\n\n /**\n * The number of structural features of the '<em>Ez Msg Cmd</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_CMD_FEATURE_COUNT = 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgClockImpl <em>Ez Msg Clock</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgClockImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgClock()\n * @generated\n */\n int EZ_MSG_CLOCK = 21;\n\n /**\n * The feature id for the '<em><b>Cmd</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_CLOCK__CMD = 0;\n\n /**\n * The number of structural features of the '<em>Ez Msg Clock</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_CLOCK_FEATURE_COUNT = 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgToggleImpl <em>Ez Msg Toggle</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgToggleImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgToggle()\n * @generated\n */\n int EZ_MSG_TOGGLE = 22;\n\n /**\n * The feature id for the '<em><b>Cmd</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_TOGGLE__CMD = 0;\n\n /**\n * The number of structural features of the '<em>Ez Msg Toggle</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_TOGGLE_FEATURE_COUNT = 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgBangImpl <em>Ez Msg Bang</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgBangImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgBang()\n * @generated\n */\n int EZ_MSG_BANG = 23;\n\n /**\n * The feature id for the '<em><b>Cmd</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_BANG__CMD = 0;\n\n /**\n * The number of structural features of the '<em>Ez Msg Bang</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_BANG_FEATURE_COUNT = 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgUnforwardImpl <em>Ez Msg Unforward</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgUnforwardImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgUnforward()\n * @generated\n */\n int EZ_MSG_UNFORWARD = 24;\n\n /**\n * The feature id for the '<em><b>Cmd</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_UNFORWARD__CMD = 0;\n\n /**\n * The number of structural features of the '<em>Ez Msg Unforward</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_UNFORWARD_FEATURE_COUNT = 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgForwardImpl <em>Ez Msg Forward</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgForwardImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgForward()\n * @generated\n */\n int EZ_MSG_FORWARD = 25;\n\n /**\n * The feature id for the '<em><b>Cmd</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_FORWARD__CMD = 0;\n\n /**\n * The number of structural features of the '<em>Ez Msg Forward</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_FORWARD_FEATURE_COUNT = 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgSetImpl <em>Ez Msg Set</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgSetImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgSet()\n * @generated\n */\n int EZ_MSG_SET = 26;\n\n /**\n * The feature id for the '<em><b>Cmd</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_SET__CMD = 0;\n\n /**\n * The number of structural features of the '<em>Ez Msg Set</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_SET_FEATURE_COUNT = 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgLegacySetImpl <em>Ez Msg Legacy Set</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgLegacySetImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgLegacySet()\n * @generated\n */\n int EZ_MSG_LEGACY_SET = 27;\n\n /**\n * The feature id for the '<em><b>Cmd</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_LEGACY_SET__CMD = 0;\n\n /**\n * The number of structural features of the '<em>Ez Msg Legacy Set</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_LEGACY_SET_FEATURE_COUNT = 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgSelectImpl <em>Ez Msg Select</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgSelectImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgSelect()\n * @generated\n */\n int EZ_MSG_SELECT = 28;\n\n /**\n * The feature id for the '<em><b>Cmd</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_SELECT__CMD = 0;\n\n /**\n * The number of structural features of the '<em>Ez Msg Select</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_SELECT_FEATURE_COUNT = 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgKinematicsImpl <em>Ez Msg Kinematics</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgKinematicsImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgKinematics()\n * @generated\n */\n int EZ_MSG_KINEMATICS = 29;\n\n /**\n * The feature id for the '<em><b>Cmd</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_KINEMATICS__CMD = 0;\n\n /**\n * The number of structural features of the '<em>Ez Msg Kinematics</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_KINEMATICS_FEATURE_COUNT = 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgTriggerImpl <em>Ez Msg Trigger</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgTriggerImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgTrigger()\n * @generated\n */\n int EZ_MSG_TRIGGER = 30;\n\n /**\n * The feature id for the '<em><b>Cmd</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_TRIGGER__CMD = 0;\n\n /**\n * The number of structural features of the '<em>Ez Msg Trigger</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EZ_MSG_TRIGGER_FEATURE_COUNT = 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.OSCExprImpl <em>OSC Expr</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.OSCExprImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getOSCExpr()\n * @generated\n */\n int OSC_EXPR = 31;\n\n /**\n * The feature id for the '<em><b>Path</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSC_EXPR__PATH = 0;\n\n /**\n * The feature id for the '<em><b>Args</b></em>' attribute list.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSC_EXPR__ARGS = 1;\n\n /**\n * The feature id for the '<em><b>Targets</b></em>' containment reference list.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSC_EXPR__TARGETS = 2;\n\n /**\n * The number of structural features of the '<em>OSC Expr</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSC_EXPR_FEATURE_COUNT = 3;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.OSCSubDomainImpl <em>OSC Sub Domain</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.OSCSubDomainImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getOSCSubDomain()\n * @generated\n */\n int OSC_SUB_DOMAIN = 32;\n\n /**\n * The feature id for the '<em><b>Msg</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSC_SUB_DOMAIN__MSG = EZ_MSG__MSG;\n\n /**\n * The feature id for the '<em><b>Expr</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSC_SUB_DOMAIN__EXPR = EZ_MSG_FEATURE_COUNT + 0;\n\n /**\n * The number of structural features of the '<em>OSC Sub Domain</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSC_SUB_DOMAIN_FEATURE_COUNT = EZ_MSG_FEATURE_COUNT + 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.OSCUDPTargetImpl <em>OSCUDP Target</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.OSCUDPTargetImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getOSCUDPTarget()\n * @generated\n */\n int OSCUDP_TARGET = 33;\n\n /**\n * The feature id for the '<em><b>Proto</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSCUDP_TARGET__PROTO = 0;\n\n /**\n * The feature id for the '<em><b>Addr</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSCUDP_TARGET__ADDR = 1;\n\n /**\n * The feature id for the '<em><b>Format</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSCUDP_TARGET__FORMAT = 2;\n\n /**\n * The number of structural features of the '<em>OSCUDP Target</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSCUDP_TARGET_FEATURE_COUNT = 3;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.OSCTCPTargetImpl <em>OSCTCP Target</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.OSCTCPTargetImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getOSCTCPTarget()\n * @generated\n */\n int OSCTCP_TARGET = 34;\n\n /**\n * The feature id for the '<em><b>Proto</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSCTCP_TARGET__PROTO = 0;\n\n /**\n * The feature id for the '<em><b>Addr</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSCTCP_TARGET__ADDR = 1;\n\n /**\n * The feature id for the '<em><b>Format</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSCTCP_TARGET__FORMAT = 2;\n\n /**\n * The number of structural features of the '<em>OSCTCP Target</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSCTCP_TARGET_FEATURE_COUNT = 3;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.OSCXBeeTargetImpl <em>OSCX Bee Target</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.OSCXBeeTargetImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getOSCXBeeTarget()\n * @generated\n */\n int OSCX_BEE_TARGET = 35;\n\n /**\n * The feature id for the '<em><b>Proto</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSCX_BEE_TARGET__PROTO = 0;\n\n /**\n * The feature id for the '<em><b>Addr</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSCX_BEE_TARGET__ADDR = 1;\n\n /**\n * The feature id for the '<em><b>Format</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSCX_BEE_TARGET__FORMAT = 2;\n\n /**\n * The number of structural features of the '<em>OSCX Bee Target</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSCX_BEE_TARGET_FEATURE_COUNT = 3;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.OSCHttpTargetImpl <em>OSC Http Target</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.OSCHttpTargetImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getOSCHttpTarget()\n * @generated\n */\n int OSC_HTTP_TARGET = 36;\n\n /**\n * The feature id for the '<em><b>Proto</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSC_HTTP_TARGET__PROTO = 0;\n\n /**\n * The feature id for the '<em><b>Addr</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSC_HTTP_TARGET__ADDR = 1;\n\n /**\n * The feature id for the '<em><b>Format</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSC_HTTP_TARGET__FORMAT = 2;\n\n /**\n * The number of structural features of the '<em>OSC Http Target</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSC_HTTP_TARGET_FEATURE_COUNT = 3;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.OSCBluetoothTargetImpl <em>OSC Bluetooth Target</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.OSCBluetoothTargetImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getOSCBluetoothTarget()\n * @generated\n */\n int OSC_BLUETOOTH_TARGET = 37;\n\n /**\n * The feature id for the '<em><b>Proto</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSC_BLUETOOTH_TARGET__PROTO = 0;\n\n /**\n * The feature id for the '<em><b>Addr</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSC_BLUETOOTH_TARGET__ADDR = 1;\n\n /**\n * The feature id for the '<em><b>Format</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSC_BLUETOOTH_TARGET__FORMAT = 2;\n\n /**\n * The number of structural features of the '<em>OSC Bluetooth Target</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSC_BLUETOOTH_TARGET_FEATURE_COUNT = 3;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.OSCUSBTargetImpl <em>OSCUSB Target</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.OSCUSBTargetImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getOSCUSBTarget()\n * @generated\n */\n int OSCUSB_TARGET = 38;\n\n /**\n * The feature id for the '<em><b>Proto</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSCUSB_TARGET__PROTO = 0;\n\n /**\n * The feature id for the '<em><b>Addr</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSCUSB_TARGET__ADDR = 1;\n\n /**\n * The feature id for the '<em><b>Speed</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSCUSB_TARGET__SPEED = 2;\n\n /**\n * The feature id for the '<em><b>Format</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSCUSB_TARGET__FORMAT = 3;\n\n /**\n * The number of structural features of the '<em>OSCUSB Target</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSCUSB_TARGET_FEATURE_COUNT = 4;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.OSCUbqTargetImpl <em>OSC Ubq Target</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.OSCUbqTargetImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getOSCUbqTarget()\n * @generated\n */\n int OSC_UBQ_TARGET = 39;\n\n /**\n * The feature id for the '<em><b>Proto</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSC_UBQ_TARGET__PROTO = 0;\n\n /**\n * The feature id for the '<em><b>Addr</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSC_UBQ_TARGET__ADDR = 1;\n\n /**\n * The feature id for the '<em><b>Format</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSC_UBQ_TARGET__FORMAT = 2;\n\n /**\n * The number of structural features of the '<em>OSC Ubq Target</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int OSC_UBQ_TARGET_FEATURE_COUNT = 3;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.SpeedImpl <em>Speed</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.SpeedImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getSpeed()\n * @generated\n */\n int SPEED = 40;\n\n /**\n * The feature id for the '<em><b>Speed</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int SPEED__SPEED = 0;\n\n /**\n * The number of structural features of the '<em>Speed</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int SPEED_FEATURE_COUNT = 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.JvmVarImpl <em>Jvm Var</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.JvmVarImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getJvmVar()\n * @generated\n */\n int JVM_VAR = 41;\n\n /**\n * The feature id for the '<em><b>Name</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int JVM_VAR__NAME = 0;\n\n /**\n * The feature id for the '<em><b>Java Types</b></em>' reference list.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int JVM_VAR__JAVA_TYPES = 1;\n\n /**\n * The number of structural features of the '<em>Jvm Var</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int JVM_VAR_FEATURE_COUNT = 2;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.ExprModelImpl <em>Expr Model</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.ExprModelImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getExprModel()\n * @generated\n */\n int EXPR_MODEL = 42;\n\n /**\n * The feature id for the '<em><b>Is Tested</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EXPR_MODEL__IS_TESTED = 0;\n\n /**\n * The feature id for the '<em><b>Name</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EXPR_MODEL__NAME = 1;\n\n /**\n * The feature id for the '<em><b>Usings</b></em>' containment reference list.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EXPR_MODEL__USINGS = 2;\n\n /**\n * The feature id for the '<em><b>Elements</b></em>' containment reference list.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EXPR_MODEL__ELEMENTS = 3;\n\n /**\n * The feature id for the '<em><b>Functions</b></em>' containment reference list.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EXPR_MODEL__FUNCTIONS = 4;\n\n /**\n * The number of structural features of the '<em>Expr Model</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EXPR_MODEL_FEATURE_COUNT = 5;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.UsingImpl <em>Using</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.UsingImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getUsing()\n * @generated\n */\n int USING = 43;\n\n /**\n * The feature id for the '<em><b>Imported Namespace</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int USING__IMPORTED_NAMESPACE = 0;\n\n /**\n * The number of structural features of the '<em>Using</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int USING_FEATURE_COUNT = 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.ElementImpl <em>Element</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.ElementImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getElement()\n * @generated\n */\n int ELEMENT = 44;\n\n /**\n * The number of structural features of the '<em>Element</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ELEMENT_FEATURE_COUNT = 0;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.SymbolImpl <em>Symbol</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.SymbolImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getSymbol()\n * @generated\n */\n int SYMBOL = 45;\n\n /**\n * The feature id for the '<em><b>Name</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int SYMBOL__NAME = ELEMENT_FEATURE_COUNT + 0;\n\n /**\n * The number of structural features of the '<em>Symbol</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int SYMBOL_FEATURE_COUNT = ELEMENT_FEATURE_COUNT + 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.ReturnImpl <em>Return</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.ReturnImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getReturn()\n * @generated\n */\n int RETURN = 46;\n\n /**\n * The feature id for the '<em><b>Expr</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int RETURN__EXPR = ELEMENT_FEATURE_COUNT + 0;\n\n /**\n * The number of structural features of the '<em>Return</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int RETURN_FEATURE_COUNT = ELEMENT_FEATURE_COUNT + 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EnumDeclImpl <em>Enum Decl</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EnumDeclImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEnumDecl()\n * @generated\n */\n int ENUM_DECL = 47;\n\n /**\n * The feature id for the '<em><b>Name</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ENUM_DECL__NAME = ELEMENT_FEATURE_COUNT + 0;\n\n /**\n * The feature id for the '<em><b>Literals</b></em>' containment reference list.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ENUM_DECL__LITERALS = ELEMENT_FEATURE_COUNT + 1;\n\n /**\n * The number of structural features of the '<em>Enum Decl</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ENUM_DECL_FEATURE_COUNT = ELEMENT_FEATURE_COUNT + 2;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.TypeImpl <em>Type</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.TypeImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getType()\n * @generated\n */\n int TYPE = 48;\n\n /**\n * The number of structural features of the '<em>Type</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int TYPE_FEATURE_COUNT = 0;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.PrimitiveTypeImpl <em>Primitive Type</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.PrimitiveTypeImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getPrimitiveType()\n * @generated\n */\n int PRIMITIVE_TYPE = 49;\n\n /**\n * The number of structural features of the '<em>Primitive Type</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int PRIMITIVE_TYPE_FEATURE_COUNT = TYPE_FEATURE_COUNT + 0;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.ArrayTypeImpl <em>Array Type</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.ArrayTypeImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getArrayType()\n * @generated\n */\n int ARRAY_TYPE = 50;\n\n /**\n * The feature id for the '<em><b>Base Type</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ARRAY_TYPE__BASE_TYPE = TYPE_FEATURE_COUNT + 0;\n\n /**\n * The number of structural features of the '<em>Array Type</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ARRAY_TYPE_FEATURE_COUNT = TYPE_FEATURE_COUNT + 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EnumTypeImpl <em>Enum Type</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EnumTypeImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEnumType()\n * @generated\n */\n int ENUM_TYPE = 51;\n\n /**\n * The feature id for the '<em><b>Enum Ref</b></em>' reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ENUM_TYPE__ENUM_REF = PRIMITIVE_TYPE_FEATURE_COUNT + 0;\n\n /**\n * The number of structural features of the '<em>Enum Type</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ENUM_TYPE_FEATURE_COUNT = PRIMITIVE_TYPE_FEATURE_COUNT + 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.IntTypeImpl <em>Int Type</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.IntTypeImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getIntType()\n * @generated\n */\n int INT_TYPE = 52;\n\n /**\n * The number of structural features of the '<em>Int Type</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int INT_TYPE_FEATURE_COUNT = PRIMITIVE_TYPE_FEATURE_COUNT + 0;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.BoolTypeImpl <em>Bool Type</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.BoolTypeImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getBoolType()\n * @generated\n */\n int BOOL_TYPE = 53;\n\n /**\n * The number of structural features of the '<em>Bool Type</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int BOOL_TYPE_FEATURE_COUNT = PRIMITIVE_TYPE_FEATURE_COUNT + 0;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.FloatTypeImpl <em>Float Type</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.FloatTypeImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getFloatType()\n * @generated\n */\n int FLOAT_TYPE = 54;\n\n /**\n * The number of structural features of the '<em>Float Type</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int FLOAT_TYPE_FEATURE_COUNT = PRIMITIVE_TYPE_FEATURE_COUNT + 0;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.StringTypeImpl <em>String Type</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.StringTypeImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getStringType()\n * @generated\n */\n int STRING_TYPE = 55;\n\n /**\n * The number of structural features of the '<em>String Type</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int STRING_TYPE_FEATURE_COUNT = PRIMITIVE_TYPE_FEATURE_COUNT + 0;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.ExprImpl <em>Expr</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.ExprImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getExpr()\n * @generated\n */\n int EXPR = 56;\n\n /**\n * The number of structural features of the '<em>Expr</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EXPR_FEATURE_COUNT = 0;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.ExpressionImpl <em>Expression</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.ExpressionImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getExpression()\n * @generated\n */\n int EXPRESSION = 57;\n\n /**\n * The number of structural features of the '<em>Expression</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EXPRESSION_FEATURE_COUNT = EXPR_FEATURE_COUNT + 0;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.FunctionDeclarationImpl <em>Function Declaration</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.FunctionDeclarationImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getFunctionDeclaration()\n * @generated\n */\n int FUNCTION_DECLARATION = 58;\n\n /**\n * The feature id for the '<em><b>Name</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int FUNCTION_DECLARATION__NAME = SYMBOL__NAME;\n\n /**\n * The feature id for the '<em><b>Type</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int FUNCTION_DECLARATION__TYPE = SYMBOL_FEATURE_COUNT + 0;\n\n /**\n * The feature id for the '<em><b>Params</b></em>' containment reference list.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int FUNCTION_DECLARATION__PARAMS = SYMBOL_FEATURE_COUNT + 1;\n\n /**\n * The feature id for the '<em><b>Elements</b></em>' containment reference list.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int FUNCTION_DECLARATION__ELEMENTS = SYMBOL_FEATURE_COUNT + 2;\n\n /**\n * The number of structural features of the '<em>Function Declaration</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int FUNCTION_DECLARATION_FEATURE_COUNT = SYMBOL_FEATURE_COUNT + 3;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.ParameterImpl <em>Parameter</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.ParameterImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getParameter()\n * @generated\n */\n int PARAMETER = 59;\n\n /**\n * The feature id for the '<em><b>Name</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int PARAMETER__NAME = SYMBOL__NAME;\n\n /**\n * The feature id for the '<em><b>Type</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int PARAMETER__TYPE = SYMBOL_FEATURE_COUNT + 0;\n\n /**\n * The number of structural features of the '<em>Parameter</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int PARAMETER_FEATURE_COUNT = SYMBOL_FEATURE_COUNT + 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EnumLiteralImpl <em>Enum Literal</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EnumLiteralImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEnumLiteral()\n * @generated\n */\n int ENUM_LITERAL = 60;\n\n /**\n * The feature id for the '<em><b>Name</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ENUM_LITERAL__NAME = SYMBOL__NAME;\n\n /**\n * The number of structural features of the '<em>Enum Literal</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ENUM_LITERAL_FEATURE_COUNT = SYMBOL_FEATURE_COUNT + 0;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.VarDeclImpl <em>Var Decl</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.VarDeclImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getVarDecl()\n * @generated\n */\n int VAR_DECL = 61;\n\n /**\n * The feature id for the '<em><b>Name</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int VAR_DECL__NAME = SYMBOL__NAME;\n\n /**\n * The feature id for the '<em><b>Readonly</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int VAR_DECL__READONLY = SYMBOL_FEATURE_COUNT + 0;\n\n /**\n * The feature id for the '<em><b>Type</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int VAR_DECL__TYPE = SYMBOL_FEATURE_COUNT + 1;\n\n /**\n * The feature id for the '<em><b>Init</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int VAR_DECL__INIT = SYMBOL_FEATURE_COUNT + 2;\n\n /**\n * The number of structural features of the '<em>Var Decl</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int VAR_DECL_FEATURE_COUNT = SYMBOL_FEATURE_COUNT + 3;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.FormulaImpl <em>Formula</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.FormulaImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getFormula()\n * @generated\n */\n int FORMULA = 62;\n\n /**\n * The feature id for the '<em><b>Name</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int FORMULA__NAME = SYMBOL__NAME;\n\n /**\n * The feature id for the '<em><b>Type</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int FORMULA__TYPE = SYMBOL_FEATURE_COUNT + 0;\n\n /**\n * The feature id for the '<em><b>Expr</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int FORMULA__EXPR = SYMBOL_FEATURE_COUNT + 1;\n\n /**\n * The number of structural features of the '<em>Formula</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int FORMULA_FEATURE_COUNT = SYMBOL_FEATURE_COUNT + 2;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.EqualsImpl <em>Equals</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EqualsImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEquals()\n * @generated\n */\n int EQUALS = 63;\n\n /**\n * The feature id for the '<em><b>Left</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EQUALS__LEFT = EXPRESSION_FEATURE_COUNT + 0;\n\n /**\n * The feature id for the '<em><b>Right</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EQUALS__RIGHT = EXPRESSION_FEATURE_COUNT + 1;\n\n /**\n * The number of structural features of the '<em>Equals</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EQUALS_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.PlusImpl <em>Plus</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.PlusImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getPlus()\n * @generated\n */\n int PLUS = 64;\n\n /**\n * The feature id for the '<em><b>Left</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int PLUS__LEFT = EXPRESSION_FEATURE_COUNT + 0;\n\n /**\n * The feature id for the '<em><b>Right</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int PLUS__RIGHT = EXPRESSION_FEATURE_COUNT + 1;\n\n /**\n * The number of structural features of the '<em>Plus</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int PLUS_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.MultiImpl <em>Multi</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.MultiImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getMulti()\n * @generated\n */\n int MULTI = 65;\n\n /**\n * The feature id for the '<em><b>Left</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int MULTI__LEFT = EXPRESSION_FEATURE_COUNT + 0;\n\n /**\n * The feature id for the '<em><b>Right</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int MULTI__RIGHT = EXPRESSION_FEATURE_COUNT + 1;\n\n /**\n * The number of structural features of the '<em>Multi</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int MULTI_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.ArrayAccessImpl <em>Array Access</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.ArrayAccessImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getArrayAccess()\n * @generated\n */\n int ARRAY_ACCESS = 66;\n\n /**\n * The feature id for the '<em><b>Expr</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ARRAY_ACCESS__EXPR = EXPRESSION_FEATURE_COUNT + 0;\n\n /**\n * The feature id for the '<em><b>Index</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ARRAY_ACCESS__INDEX = EXPRESSION_FEATURE_COUNT + 1;\n\n /**\n * The number of structural features of the '<em>Array Access</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ARRAY_ACCESS_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.SymbolRefImpl <em>Symbol Ref</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.SymbolRefImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getSymbolRef()\n * @generated\n */\n int SYMBOL_REF = 67;\n\n /**\n * The feature id for the '<em><b>Symbol</b></em>' reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int SYMBOL_REF__SYMBOL = EXPRESSION_FEATURE_COUNT + 0;\n\n /**\n * The feature id for the '<em><b>Actuals</b></em>' containment reference list.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int SYMBOL_REF__ACTUALS = EXPRESSION_FEATURE_COUNT + 1;\n\n /**\n * The number of structural features of the '<em>Symbol Ref</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int SYMBOL_REF_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.NumberLiteralImpl <em>Number Literal</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.NumberLiteralImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getNumberLiteral()\n * @generated\n */\n int NUMBER_LITERAL = 68;\n\n /**\n * The feature id for the '<em><b>Value</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int NUMBER_LITERAL__VALUE = EXPRESSION_FEATURE_COUNT + 0;\n\n /**\n * The number of structural features of the '<em>Number Literal</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int NUMBER_LITERAL_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.impl.StringLiteralImpl <em>String Literal</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.StringLiteralImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getStringLiteral()\n * @generated\n */\n int STRING_LITERAL = 69;\n\n /**\n * The feature id for the '<em><b>Value</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int STRING_LITERAL__VALUE = EXPRESSION_FEATURE_COUNT + 0;\n\n /**\n * The number of structural features of the '<em>String Literal</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int STRING_LITERAL_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1;\n\n /**\n * The meta object id for the '{@link net.sf.smbt.osc.oscDsl.EzFormats <em>Ez Formats</em>}' enum.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.EzFormats\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzFormats()\n * @generated\n */\n int EZ_FORMATS = 70;\n\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EzModel <em>Ez Model</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Ez Model</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzModel\n * @generated\n */\n EClass getEzModel();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.EzModel#getCmd <em>Cmd</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Cmd</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzModel#getCmd()\n * @see #getEzModel()\n * @generated\n */\n EReference getEzModel_Cmd();\n\n /**\n * Returns the meta object for the containment reference list '{@link net.sf.smbt.osc.oscDsl.EzModel#getMsg <em>Msg</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference list '<em>Msg</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzModel#getMsg()\n * @see #getEzModel()\n * @generated\n */\n EReference getEzModel_Msg();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EzCmd <em>Ez Cmd</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Ez Cmd</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzCmd\n * @generated\n */\n EClass getEzCmd();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.EzCmd#getCmd <em>Cmd</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Cmd</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzCmd#getCmd()\n * @see #getEzCmd()\n * @generated\n */\n EReference getEzCmd_Cmd();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EzOpenCmd <em>Ez Open Cmd</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Ez Open Cmd</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzOpenCmd\n * @generated\n */\n EClass getEzOpenCmd();\n\n /**\n * Returns the meta object for the containment reference list '{@link net.sf.smbt.osc.oscDsl.EzOpenCmd#getTargets <em>Targets</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference list '<em>Targets</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzOpenCmd#getTargets()\n * @see #getEzOpenCmd()\n * @generated\n */\n EReference getEzOpenCmd_Targets();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EzCloseCmd <em>Ez Close Cmd</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Ez Close Cmd</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzCloseCmd\n * @generated\n */\n EClass getEzCloseCmd();\n\n /**\n * Returns the meta object for the containment reference list '{@link net.sf.smbt.osc.oscDsl.EzCloseCmd#getTargets <em>Targets</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference list '<em>Targets</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzCloseCmd#getTargets()\n * @see #getEzCloseCmd()\n * @generated\n */\n EReference getEzCloseCmd_Targets();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EzHookCmd <em>Ez Hook Cmd</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Ez Hook Cmd</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzHookCmd\n * @generated\n */\n EClass getEzHookCmd();\n\n /**\n * Returns the meta object for the containment reference list '{@link net.sf.smbt.osc.oscDsl.EzHookCmd#getTargets <em>Targets</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference list '<em>Targets</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzHookCmd#getTargets()\n * @see #getEzHookCmd()\n * @generated\n */\n EReference getEzHookCmd_Targets();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EzUnhookCmd <em>Ez Unhook Cmd</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Ez Unhook Cmd</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzUnhookCmd\n * @generated\n */\n EClass getEzUnhookCmd();\n\n /**\n * Returns the meta object for the containment reference list '{@link net.sf.smbt.osc.oscDsl.EzUnhookCmd#getTargets <em>Targets</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference list '<em>Targets</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzUnhookCmd#getTargets()\n * @see #getEzUnhookCmd()\n * @generated\n */\n EReference getEzUnhookCmd_Targets();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EzAliasCmd <em>Ez Alias Cmd</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Ez Alias Cmd</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzAliasCmd\n * @generated\n */\n EClass getEzAliasCmd();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.EzAliasCmd#getAlias <em>Alias</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Alias</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzAliasCmd#getAlias()\n * @see #getEzAliasCmd()\n * @generated\n */\n EAttribute getEzAliasCmd_Alias();\n\n /**\n * Returns the meta object for the containment reference list '{@link net.sf.smbt.osc.oscDsl.EzAliasCmd#getTargets <em>Targets</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference list '<em>Targets</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzAliasCmd#getTargets()\n * @see #getEzAliasCmd()\n * @generated\n */\n EReference getEzAliasCmd_Targets();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EzStatusCmd <em>Ez Status Cmd</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Ez Status Cmd</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzStatusCmd\n * @generated\n */\n EClass getEzStatusCmd();\n\n /**\n * Returns the meta object for the containment reference list '{@link net.sf.smbt.osc.oscDsl.EzStatusCmd#getTargets <em>Targets</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference list '<em>Targets</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzStatusCmd#getTargets()\n * @see #getEzStatusCmd()\n * @generated\n */\n EReference getEzStatusCmd_Targets();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EzResetCmd <em>Ez Reset Cmd</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Ez Reset Cmd</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzResetCmd\n * @generated\n */\n EClass getEzResetCmd();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.EzResetCmd#getId <em>Id</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Id</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzResetCmd#getId()\n * @see #getEzResetCmd()\n * @generated\n */\n EAttribute getEzResetCmd_Id();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.EzResetCmd#getVerbose <em>Verbose</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Verbose</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzResetCmd#getVerbose()\n * @see #getEzResetCmd()\n * @generated\n */\n EAttribute getEzResetCmd_Verbose();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EzHelpCmd <em>Ez Help Cmd</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Ez Help Cmd</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzHelpCmd\n * @generated\n */\n EClass getEzHelpCmd();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.EzHelpCmd#getId <em>Id</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Id</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzHelpCmd#getId()\n * @see #getEzHelpCmd()\n * @generated\n */\n EAttribute getEzHelpCmd_Id();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.EzHelpCmd#getVerbose <em>Verbose</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Verbose</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzHelpCmd#getVerbose()\n * @see #getEzHelpCmd()\n * @generated\n */\n EAttribute getEzHelpCmd_Verbose();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EzClearCmd <em>Ez Clear Cmd</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Ez Clear Cmd</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzClearCmd\n * @generated\n */\n EClass getEzClearCmd();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.EzClearCmd#getId <em>Id</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Id</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzClearCmd#getId()\n * @see #getEzClearCmd()\n * @generated\n */\n EAttribute getEzClearCmd_Id();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.EzClearCmd#getVerbose <em>Verbose</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Verbose</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzClearCmd#getVerbose()\n * @see #getEzClearCmd()\n * @generated\n */\n EAttribute getEzClearCmd_Verbose();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EzProtocolCmd <em>Ez Protocol Cmd</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Ez Protocol Cmd</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzProtocolCmd\n * @generated\n */\n EClass getEzProtocolCmd();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.EzProtocolCmd#getId <em>Id</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Id</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzProtocolCmd#getId()\n * @see #getEzProtocolCmd()\n * @generated\n */\n EAttribute getEzProtocolCmd_Id();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.EzProtocolCmd#getVerbose <em>Verbose</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Verbose</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzProtocolCmd#getVerbose()\n * @see #getEzProtocolCmd()\n * @generated\n */\n EAttribute getEzProtocolCmd_Verbose();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EzListCmd <em>Ez List Cmd</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Ez List Cmd</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzListCmd\n * @generated\n */\n EClass getEzListCmd();\n\n /**\n * Returns the meta object for the reference '{@link net.sf.smbt.osc.oscDsl.EzListCmd#getAddr <em>Addr</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the reference '<em>Addr</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzListCmd#getAddr()\n * @see #getEzListCmd()\n * @generated\n */\n EReference getEzListCmd_Addr();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EzMsg <em>Ez Msg</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Ez Msg</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsg\n * @generated\n */\n EClass getEzMsg();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.EzMsg#getMsg <em>Msg</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Msg</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsg#getMsg()\n * @see #getEzMsg()\n * @generated\n */\n EReference getEzMsg_Msg();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EzMsgRemove <em>Ez Msg Remove</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Ez Msg Remove</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgRemove\n * @generated\n */\n EClass getEzMsgRemove();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.EzMsgRemove#getCmd <em>Cmd</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Cmd</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgRemove#getCmd()\n * @see #getEzMsgRemove()\n * @generated\n */\n EReference getEzMsgRemove_Cmd();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EzMsgGet <em>Ez Msg Get</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Ez Msg Get</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgGet\n * @generated\n */\n EClass getEzMsgGet();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.EzMsgGet#getCmd <em>Cmd</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Cmd</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgGet#getCmd()\n * @see #getEzMsgGet()\n * @generated\n */\n EReference getEzMsgGet_Cmd();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EzMsgBind <em>Ez Msg Bind</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Ez Msg Bind</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgBind\n * @generated\n */\n EClass getEzMsgBind();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.EzMsgBind#getCmd <em>Cmd</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Cmd</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgBind#getCmd()\n * @see #getEzMsgBind()\n * @generated\n */\n EReference getEzMsgBind_Cmd();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EzMsgListen <em>Ez Msg Listen</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Ez Msg Listen</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgListen\n * @generated\n */\n EClass getEzMsgListen();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.EzMsgListen#getCmd <em>Cmd</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Cmd</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgListen#getCmd()\n * @see #getEzMsgListen()\n * @generated\n */\n EReference getEzMsgListen_Cmd();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EzMsgService <em>Ez Msg Service</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Ez Msg Service</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgService\n * @generated\n */\n EClass getEzMsgService();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.EzMsgService#getCmd <em>Cmd</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Cmd</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgService#getCmd()\n * @see #getEzMsgService()\n * @generated\n */\n EReference getEzMsgService_Cmd();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EzMsgUnlisten <em>Ez Msg Unlisten</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Ez Msg Unlisten</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgUnlisten\n * @generated\n */\n EClass getEzMsgUnlisten();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.EzMsgUnlisten#getCmd <em>Cmd</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Cmd</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgUnlisten#getCmd()\n * @see #getEzMsgUnlisten()\n * @generated\n */\n EReference getEzMsgUnlisten_Cmd();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EzMsgCmd <em>Ez Msg Cmd</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Ez Msg Cmd</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgCmd\n * @generated\n */\n EClass getEzMsgCmd();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.EzMsgCmd#getCmd <em>Cmd</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Cmd</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgCmd#getCmd()\n * @see #getEzMsgCmd()\n * @generated\n */\n EReference getEzMsgCmd_Cmd();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EzMsgClock <em>Ez Msg Clock</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Ez Msg Clock</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgClock\n * @generated\n */\n EClass getEzMsgClock();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.EzMsgClock#getCmd <em>Cmd</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Cmd</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgClock#getCmd()\n * @see #getEzMsgClock()\n * @generated\n */\n EReference getEzMsgClock_Cmd();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EzMsgToggle <em>Ez Msg Toggle</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Ez Msg Toggle</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgToggle\n * @generated\n */\n EClass getEzMsgToggle();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.EzMsgToggle#getCmd <em>Cmd</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Cmd</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgToggle#getCmd()\n * @see #getEzMsgToggle()\n * @generated\n */\n EReference getEzMsgToggle_Cmd();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EzMsgBang <em>Ez Msg Bang</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Ez Msg Bang</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgBang\n * @generated\n */\n EClass getEzMsgBang();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.EzMsgBang#getCmd <em>Cmd</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Cmd</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgBang#getCmd()\n * @see #getEzMsgBang()\n * @generated\n */\n EReference getEzMsgBang_Cmd();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EzMsgUnforward <em>Ez Msg Unforward</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Ez Msg Unforward</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgUnforward\n * @generated\n */\n EClass getEzMsgUnforward();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.EzMsgUnforward#getCmd <em>Cmd</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Cmd</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgUnforward#getCmd()\n * @see #getEzMsgUnforward()\n * @generated\n */\n EReference getEzMsgUnforward_Cmd();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EzMsgForward <em>Ez Msg Forward</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Ez Msg Forward</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgForward\n * @generated\n */\n EClass getEzMsgForward();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.EzMsgForward#getCmd <em>Cmd</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Cmd</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgForward#getCmd()\n * @see #getEzMsgForward()\n * @generated\n */\n EReference getEzMsgForward_Cmd();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EzMsgSet <em>Ez Msg Set</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Ez Msg Set</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgSet\n * @generated\n */\n EClass getEzMsgSet();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.EzMsgSet#getCmd <em>Cmd</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Cmd</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgSet#getCmd()\n * @see #getEzMsgSet()\n * @generated\n */\n EReference getEzMsgSet_Cmd();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EzMsgLegacySet <em>Ez Msg Legacy Set</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Ez Msg Legacy Set</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgLegacySet\n * @generated\n */\n EClass getEzMsgLegacySet();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.EzMsgLegacySet#getCmd <em>Cmd</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Cmd</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgLegacySet#getCmd()\n * @see #getEzMsgLegacySet()\n * @generated\n */\n EReference getEzMsgLegacySet_Cmd();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EzMsgSelect <em>Ez Msg Select</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Ez Msg Select</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgSelect\n * @generated\n */\n EClass getEzMsgSelect();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.EzMsgSelect#getCmd <em>Cmd</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Cmd</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgSelect#getCmd()\n * @see #getEzMsgSelect()\n * @generated\n */\n EReference getEzMsgSelect_Cmd();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EzMsgKinematics <em>Ez Msg Kinematics</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Ez Msg Kinematics</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgKinematics\n * @generated\n */\n EClass getEzMsgKinematics();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.EzMsgKinematics#getCmd <em>Cmd</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Cmd</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgKinematics#getCmd()\n * @see #getEzMsgKinematics()\n * @generated\n */\n EReference getEzMsgKinematics_Cmd();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EzMsgTrigger <em>Ez Msg Trigger</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Ez Msg Trigger</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgTrigger\n * @generated\n */\n EClass getEzMsgTrigger();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.EzMsgTrigger#getCmd <em>Cmd</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Cmd</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzMsgTrigger#getCmd()\n * @see #getEzMsgTrigger()\n * @generated\n */\n EReference getEzMsgTrigger_Cmd();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.OSCExpr <em>OSC Expr</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>OSC Expr</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCExpr\n * @generated\n */\n EClass getOSCExpr();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.OSCExpr#getPath <em>Path</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Path</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCExpr#getPath()\n * @see #getOSCExpr()\n * @generated\n */\n EAttribute getOSCExpr_Path();\n\n /**\n * Returns the meta object for the attribute list '{@link net.sf.smbt.osc.oscDsl.OSCExpr#getArgs <em>Args</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute list '<em>Args</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCExpr#getArgs()\n * @see #getOSCExpr()\n * @generated\n */\n EAttribute getOSCExpr_Args();\n\n /**\n * Returns the meta object for the containment reference list '{@link net.sf.smbt.osc.oscDsl.OSCExpr#getTargets <em>Targets</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference list '<em>Targets</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCExpr#getTargets()\n * @see #getOSCExpr()\n * @generated\n */\n EReference getOSCExpr_Targets();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.OSCSubDomain <em>OSC Sub Domain</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>OSC Sub Domain</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCSubDomain\n * @generated\n */\n EClass getOSCSubDomain();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.OSCSubDomain#getExpr <em>Expr</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Expr</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCSubDomain#getExpr()\n * @see #getOSCSubDomain()\n * @generated\n */\n EReference getOSCSubDomain_Expr();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.OSCUDPTarget <em>OSCUDP Target</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>OSCUDP Target</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCUDPTarget\n * @generated\n */\n EClass getOSCUDPTarget();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.OSCUDPTarget#getProto <em>Proto</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Proto</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCUDPTarget#getProto()\n * @see #getOSCUDPTarget()\n * @generated\n */\n EAttribute getOSCUDPTarget_Proto();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.OSCUDPTarget#getAddr <em>Addr</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Addr</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCUDPTarget#getAddr()\n * @see #getOSCUDPTarget()\n * @generated\n */\n EAttribute getOSCUDPTarget_Addr();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.OSCUDPTarget#getFormat <em>Format</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Format</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCUDPTarget#getFormat()\n * @see #getOSCUDPTarget()\n * @generated\n */\n EAttribute getOSCUDPTarget_Format();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.OSCTCPTarget <em>OSCTCP Target</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>OSCTCP Target</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCTCPTarget\n * @generated\n */\n EClass getOSCTCPTarget();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.OSCTCPTarget#getProto <em>Proto</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Proto</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCTCPTarget#getProto()\n * @see #getOSCTCPTarget()\n * @generated\n */\n EAttribute getOSCTCPTarget_Proto();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.OSCTCPTarget#getAddr <em>Addr</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Addr</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCTCPTarget#getAddr()\n * @see #getOSCTCPTarget()\n * @generated\n */\n EAttribute getOSCTCPTarget_Addr();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.OSCTCPTarget#getFormat <em>Format</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Format</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCTCPTarget#getFormat()\n * @see #getOSCTCPTarget()\n * @generated\n */\n EAttribute getOSCTCPTarget_Format();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.OSCXBeeTarget <em>OSCX Bee Target</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>OSCX Bee Target</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCXBeeTarget\n * @generated\n */\n EClass getOSCXBeeTarget();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.OSCXBeeTarget#getProto <em>Proto</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Proto</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCXBeeTarget#getProto()\n * @see #getOSCXBeeTarget()\n * @generated\n */\n EAttribute getOSCXBeeTarget_Proto();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.OSCXBeeTarget#getAddr <em>Addr</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Addr</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCXBeeTarget#getAddr()\n * @see #getOSCXBeeTarget()\n * @generated\n */\n EAttribute getOSCXBeeTarget_Addr();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.OSCXBeeTarget#getFormat <em>Format</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Format</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCXBeeTarget#getFormat()\n * @see #getOSCXBeeTarget()\n * @generated\n */\n EAttribute getOSCXBeeTarget_Format();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.OSCHttpTarget <em>OSC Http Target</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>OSC Http Target</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCHttpTarget\n * @generated\n */\n EClass getOSCHttpTarget();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.OSCHttpTarget#getProto <em>Proto</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Proto</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCHttpTarget#getProto()\n * @see #getOSCHttpTarget()\n * @generated\n */\n EAttribute getOSCHttpTarget_Proto();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.OSCHttpTarget#getAddr <em>Addr</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Addr</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCHttpTarget#getAddr()\n * @see #getOSCHttpTarget()\n * @generated\n */\n EAttribute getOSCHttpTarget_Addr();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.OSCHttpTarget#getFormat <em>Format</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Format</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCHttpTarget#getFormat()\n * @see #getOSCHttpTarget()\n * @generated\n */\n EAttribute getOSCHttpTarget_Format();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.OSCBluetoothTarget <em>OSC Bluetooth Target</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>OSC Bluetooth Target</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCBluetoothTarget\n * @generated\n */\n EClass getOSCBluetoothTarget();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.OSCBluetoothTarget#getProto <em>Proto</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Proto</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCBluetoothTarget#getProto()\n * @see #getOSCBluetoothTarget()\n * @generated\n */\n EAttribute getOSCBluetoothTarget_Proto();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.OSCBluetoothTarget#getAddr <em>Addr</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Addr</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCBluetoothTarget#getAddr()\n * @see #getOSCBluetoothTarget()\n * @generated\n */\n EAttribute getOSCBluetoothTarget_Addr();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.OSCBluetoothTarget#getFormat <em>Format</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Format</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCBluetoothTarget#getFormat()\n * @see #getOSCBluetoothTarget()\n * @generated\n */\n EAttribute getOSCBluetoothTarget_Format();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.OSCUSBTarget <em>OSCUSB Target</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>OSCUSB Target</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCUSBTarget\n * @generated\n */\n EClass getOSCUSBTarget();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.OSCUSBTarget#getProto <em>Proto</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Proto</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCUSBTarget#getProto()\n * @see #getOSCUSBTarget()\n * @generated\n */\n EAttribute getOSCUSBTarget_Proto();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.OSCUSBTarget#getAddr <em>Addr</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Addr</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCUSBTarget#getAddr()\n * @see #getOSCUSBTarget()\n * @generated\n */\n EAttribute getOSCUSBTarget_Addr();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.OSCUSBTarget#getSpeed <em>Speed</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Speed</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCUSBTarget#getSpeed()\n * @see #getOSCUSBTarget()\n * @generated\n */\n EReference getOSCUSBTarget_Speed();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.OSCUSBTarget#getFormat <em>Format</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Format</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCUSBTarget#getFormat()\n * @see #getOSCUSBTarget()\n * @generated\n */\n EAttribute getOSCUSBTarget_Format();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.OSCUbqTarget <em>OSC Ubq Target</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>OSC Ubq Target</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCUbqTarget\n * @generated\n */\n EClass getOSCUbqTarget();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.OSCUbqTarget#getProto <em>Proto</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Proto</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCUbqTarget#getProto()\n * @see #getOSCUbqTarget()\n * @generated\n */\n EAttribute getOSCUbqTarget_Proto();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.OSCUbqTarget#getAddr <em>Addr</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Addr</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCUbqTarget#getAddr()\n * @see #getOSCUbqTarget()\n * @generated\n */\n EAttribute getOSCUbqTarget_Addr();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.OSCUbqTarget#getFormat <em>Format</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Format</em>'.\n * @see net.sf.smbt.osc.oscDsl.OSCUbqTarget#getFormat()\n * @see #getOSCUbqTarget()\n * @generated\n */\n EAttribute getOSCUbqTarget_Format();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.Speed <em>Speed</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Speed</em>'.\n * @see net.sf.smbt.osc.oscDsl.Speed\n * @generated\n */\n EClass getSpeed();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.Speed#getSpeed <em>Speed</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Speed</em>'.\n * @see net.sf.smbt.osc.oscDsl.Speed#getSpeed()\n * @see #getSpeed()\n * @generated\n */\n EAttribute getSpeed_Speed();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.JvmVar <em>Jvm Var</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Jvm Var</em>'.\n * @see net.sf.smbt.osc.oscDsl.JvmVar\n * @generated\n */\n EClass getJvmVar();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.JvmVar#getName <em>Name</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Name</em>'.\n * @see net.sf.smbt.osc.oscDsl.JvmVar#getName()\n * @see #getJvmVar()\n * @generated\n */\n EAttribute getJvmVar_Name();\n\n /**\n * Returns the meta object for the reference list '{@link net.sf.smbt.osc.oscDsl.JvmVar#getJavaTypes <em>Java Types</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the reference list '<em>Java Types</em>'.\n * @see net.sf.smbt.osc.oscDsl.JvmVar#getJavaTypes()\n * @see #getJvmVar()\n * @generated\n */\n EReference getJvmVar_JavaTypes();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.ExprModel <em>Expr Model</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Expr Model</em>'.\n * @see net.sf.smbt.osc.oscDsl.ExprModel\n * @generated\n */\n EClass getExprModel();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.ExprModel#isIsTested <em>Is Tested</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Is Tested</em>'.\n * @see net.sf.smbt.osc.oscDsl.ExprModel#isIsTested()\n * @see #getExprModel()\n * @generated\n */\n EAttribute getExprModel_IsTested();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.ExprModel#getName <em>Name</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Name</em>'.\n * @see net.sf.smbt.osc.oscDsl.ExprModel#getName()\n * @see #getExprModel()\n * @generated\n */\n EAttribute getExprModel_Name();\n\n /**\n * Returns the meta object for the containment reference list '{@link net.sf.smbt.osc.oscDsl.ExprModel#getUsings <em>Usings</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference list '<em>Usings</em>'.\n * @see net.sf.smbt.osc.oscDsl.ExprModel#getUsings()\n * @see #getExprModel()\n * @generated\n */\n EReference getExprModel_Usings();\n\n /**\n * Returns the meta object for the containment reference list '{@link net.sf.smbt.osc.oscDsl.ExprModel#getElements <em>Elements</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference list '<em>Elements</em>'.\n * @see net.sf.smbt.osc.oscDsl.ExprModel#getElements()\n * @see #getExprModel()\n * @generated\n */\n EReference getExprModel_Elements();\n\n /**\n * Returns the meta object for the containment reference list '{@link net.sf.smbt.osc.oscDsl.ExprModel#getFunctions <em>Functions</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference list '<em>Functions</em>'.\n * @see net.sf.smbt.osc.oscDsl.ExprModel#getFunctions()\n * @see #getExprModel()\n * @generated\n */\n EReference getExprModel_Functions();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.Using <em>Using</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Using</em>'.\n * @see net.sf.smbt.osc.oscDsl.Using\n * @generated\n */\n EClass getUsing();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.Using#getImportedNamespace <em>Imported Namespace</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Imported Namespace</em>'.\n * @see net.sf.smbt.osc.oscDsl.Using#getImportedNamespace()\n * @see #getUsing()\n * @generated\n */\n EAttribute getUsing_ImportedNamespace();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.Element <em>Element</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Element</em>'.\n * @see net.sf.smbt.osc.oscDsl.Element\n * @generated\n */\n EClass getElement();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.Symbol <em>Symbol</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Symbol</em>'.\n * @see net.sf.smbt.osc.oscDsl.Symbol\n * @generated\n */\n EClass getSymbol();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.Symbol#getName <em>Name</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Name</em>'.\n * @see net.sf.smbt.osc.oscDsl.Symbol#getName()\n * @see #getSymbol()\n * @generated\n */\n EAttribute getSymbol_Name();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.Return <em>Return</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Return</em>'.\n * @see net.sf.smbt.osc.oscDsl.Return\n * @generated\n */\n EClass getReturn();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.Return#getExpr <em>Expr</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Expr</em>'.\n * @see net.sf.smbt.osc.oscDsl.Return#getExpr()\n * @see #getReturn()\n * @generated\n */\n EReference getReturn_Expr();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EnumDecl <em>Enum Decl</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Enum Decl</em>'.\n * @see net.sf.smbt.osc.oscDsl.EnumDecl\n * @generated\n */\n EClass getEnumDecl();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.EnumDecl#getName <em>Name</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Name</em>'.\n * @see net.sf.smbt.osc.oscDsl.EnumDecl#getName()\n * @see #getEnumDecl()\n * @generated\n */\n EAttribute getEnumDecl_Name();\n\n /**\n * Returns the meta object for the containment reference list '{@link net.sf.smbt.osc.oscDsl.EnumDecl#getLiterals <em>Literals</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference list '<em>Literals</em>'.\n * @see net.sf.smbt.osc.oscDsl.EnumDecl#getLiterals()\n * @see #getEnumDecl()\n * @generated\n */\n EReference getEnumDecl_Literals();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.Type <em>Type</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Type</em>'.\n * @see net.sf.smbt.osc.oscDsl.Type\n * @generated\n */\n EClass getType();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.PrimitiveType <em>Primitive Type</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Primitive Type</em>'.\n * @see net.sf.smbt.osc.oscDsl.PrimitiveType\n * @generated\n */\n EClass getPrimitiveType();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.ArrayType <em>Array Type</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Array Type</em>'.\n * @see net.sf.smbt.osc.oscDsl.ArrayType\n * @generated\n */\n EClass getArrayType();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.ArrayType#getBaseType <em>Base Type</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Base Type</em>'.\n * @see net.sf.smbt.osc.oscDsl.ArrayType#getBaseType()\n * @see #getArrayType()\n * @generated\n */\n EReference getArrayType_BaseType();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EnumType <em>Enum Type</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Enum Type</em>'.\n * @see net.sf.smbt.osc.oscDsl.EnumType\n * @generated\n */\n EClass getEnumType();\n\n /**\n * Returns the meta object for the reference '{@link net.sf.smbt.osc.oscDsl.EnumType#getEnumRef <em>Enum Ref</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the reference '<em>Enum Ref</em>'.\n * @see net.sf.smbt.osc.oscDsl.EnumType#getEnumRef()\n * @see #getEnumType()\n * @generated\n */\n EReference getEnumType_EnumRef();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.IntType <em>Int Type</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Int Type</em>'.\n * @see net.sf.smbt.osc.oscDsl.IntType\n * @generated\n */\n EClass getIntType();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.BoolType <em>Bool Type</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Bool Type</em>'.\n * @see net.sf.smbt.osc.oscDsl.BoolType\n * @generated\n */\n EClass getBoolType();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.FloatType <em>Float Type</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Float Type</em>'.\n * @see net.sf.smbt.osc.oscDsl.FloatType\n * @generated\n */\n EClass getFloatType();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.StringType <em>String Type</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>String Type</em>'.\n * @see net.sf.smbt.osc.oscDsl.StringType\n * @generated\n */\n EClass getStringType();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.Expr <em>Expr</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Expr</em>'.\n * @see net.sf.smbt.osc.oscDsl.Expr\n * @generated\n */\n EClass getExpr();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.Expression <em>Expression</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Expression</em>'.\n * @see net.sf.smbt.osc.oscDsl.Expression\n * @generated\n */\n EClass getExpression();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.FunctionDeclaration <em>Function Declaration</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Function Declaration</em>'.\n * @see net.sf.smbt.osc.oscDsl.FunctionDeclaration\n * @generated\n */\n EClass getFunctionDeclaration();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.FunctionDeclaration#getType <em>Type</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Type</em>'.\n * @see net.sf.smbt.osc.oscDsl.FunctionDeclaration#getType()\n * @see #getFunctionDeclaration()\n * @generated\n */\n EReference getFunctionDeclaration_Type();\n\n /**\n * Returns the meta object for the containment reference list '{@link net.sf.smbt.osc.oscDsl.FunctionDeclaration#getParams <em>Params</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference list '<em>Params</em>'.\n * @see net.sf.smbt.osc.oscDsl.FunctionDeclaration#getParams()\n * @see #getFunctionDeclaration()\n * @generated\n */\n EReference getFunctionDeclaration_Params();\n\n /**\n * Returns the meta object for the containment reference list '{@link net.sf.smbt.osc.oscDsl.FunctionDeclaration#getElements <em>Elements</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference list '<em>Elements</em>'.\n * @see net.sf.smbt.osc.oscDsl.FunctionDeclaration#getElements()\n * @see #getFunctionDeclaration()\n * @generated\n */\n EReference getFunctionDeclaration_Elements();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.Parameter <em>Parameter</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Parameter</em>'.\n * @see net.sf.smbt.osc.oscDsl.Parameter\n * @generated\n */\n EClass getParameter();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.Parameter#getType <em>Type</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Type</em>'.\n * @see net.sf.smbt.osc.oscDsl.Parameter#getType()\n * @see #getParameter()\n * @generated\n */\n EReference getParameter_Type();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.EnumLiteral <em>Enum Literal</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Enum Literal</em>'.\n * @see net.sf.smbt.osc.oscDsl.EnumLiteral\n * @generated\n */\n EClass getEnumLiteral();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.VarDecl <em>Var Decl</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Var Decl</em>'.\n * @see net.sf.smbt.osc.oscDsl.VarDecl\n * @generated\n */\n EClass getVarDecl();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.VarDecl#isReadonly <em>Readonly</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Readonly</em>'.\n * @see net.sf.smbt.osc.oscDsl.VarDecl#isReadonly()\n * @see #getVarDecl()\n * @generated\n */\n EAttribute getVarDecl_Readonly();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.VarDecl#getType <em>Type</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Type</em>'.\n * @see net.sf.smbt.osc.oscDsl.VarDecl#getType()\n * @see #getVarDecl()\n * @generated\n */\n EReference getVarDecl_Type();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.VarDecl#getInit <em>Init</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Init</em>'.\n * @see net.sf.smbt.osc.oscDsl.VarDecl#getInit()\n * @see #getVarDecl()\n * @generated\n */\n EReference getVarDecl_Init();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.Formula <em>Formula</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Formula</em>'.\n * @see net.sf.smbt.osc.oscDsl.Formula\n * @generated\n */\n EClass getFormula();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.Formula#getType <em>Type</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Type</em>'.\n * @see net.sf.smbt.osc.oscDsl.Formula#getType()\n * @see #getFormula()\n * @generated\n */\n EReference getFormula_Type();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.Formula#getExpr <em>Expr</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Expr</em>'.\n * @see net.sf.smbt.osc.oscDsl.Formula#getExpr()\n * @see #getFormula()\n * @generated\n */\n EReference getFormula_Expr();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.Equals <em>Equals</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Equals</em>'.\n * @see net.sf.smbt.osc.oscDsl.Equals\n * @generated\n */\n EClass getEquals();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.Equals#getLeft <em>Left</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Left</em>'.\n * @see net.sf.smbt.osc.oscDsl.Equals#getLeft()\n * @see #getEquals()\n * @generated\n */\n EReference getEquals_Left();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.Equals#getRight <em>Right</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Right</em>'.\n * @see net.sf.smbt.osc.oscDsl.Equals#getRight()\n * @see #getEquals()\n * @generated\n */\n EReference getEquals_Right();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.Plus <em>Plus</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Plus</em>'.\n * @see net.sf.smbt.osc.oscDsl.Plus\n * @generated\n */\n EClass getPlus();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.Plus#getLeft <em>Left</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Left</em>'.\n * @see net.sf.smbt.osc.oscDsl.Plus#getLeft()\n * @see #getPlus()\n * @generated\n */\n EReference getPlus_Left();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.Plus#getRight <em>Right</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Right</em>'.\n * @see net.sf.smbt.osc.oscDsl.Plus#getRight()\n * @see #getPlus()\n * @generated\n */\n EReference getPlus_Right();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.Multi <em>Multi</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Multi</em>'.\n * @see net.sf.smbt.osc.oscDsl.Multi\n * @generated\n */\n EClass getMulti();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.Multi#getLeft <em>Left</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Left</em>'.\n * @see net.sf.smbt.osc.oscDsl.Multi#getLeft()\n * @see #getMulti()\n * @generated\n */\n EReference getMulti_Left();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.Multi#getRight <em>Right</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Right</em>'.\n * @see net.sf.smbt.osc.oscDsl.Multi#getRight()\n * @see #getMulti()\n * @generated\n */\n EReference getMulti_Right();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.ArrayAccess <em>Array Access</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Array Access</em>'.\n * @see net.sf.smbt.osc.oscDsl.ArrayAccess\n * @generated\n */\n EClass getArrayAccess();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.ArrayAccess#getExpr <em>Expr</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Expr</em>'.\n * @see net.sf.smbt.osc.oscDsl.ArrayAccess#getExpr()\n * @see #getArrayAccess()\n * @generated\n */\n EReference getArrayAccess_Expr();\n\n /**\n * Returns the meta object for the containment reference '{@link net.sf.smbt.osc.oscDsl.ArrayAccess#getIndex <em>Index</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Index</em>'.\n * @see net.sf.smbt.osc.oscDsl.ArrayAccess#getIndex()\n * @see #getArrayAccess()\n * @generated\n */\n EReference getArrayAccess_Index();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.SymbolRef <em>Symbol Ref</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Symbol Ref</em>'.\n * @see net.sf.smbt.osc.oscDsl.SymbolRef\n * @generated\n */\n EClass getSymbolRef();\n\n /**\n * Returns the meta object for the reference '{@link net.sf.smbt.osc.oscDsl.SymbolRef#getSymbol <em>Symbol</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the reference '<em>Symbol</em>'.\n * @see net.sf.smbt.osc.oscDsl.SymbolRef#getSymbol()\n * @see #getSymbolRef()\n * @generated\n */\n EReference getSymbolRef_Symbol();\n\n /**\n * Returns the meta object for the containment reference list '{@link net.sf.smbt.osc.oscDsl.SymbolRef#getActuals <em>Actuals</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference list '<em>Actuals</em>'.\n * @see net.sf.smbt.osc.oscDsl.SymbolRef#getActuals()\n * @see #getSymbolRef()\n * @generated\n */\n EReference getSymbolRef_Actuals();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.NumberLiteral <em>Number Literal</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Number Literal</em>'.\n * @see net.sf.smbt.osc.oscDsl.NumberLiteral\n * @generated\n */\n EClass getNumberLiteral();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.NumberLiteral#getValue <em>Value</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Value</em>'.\n * @see net.sf.smbt.osc.oscDsl.NumberLiteral#getValue()\n * @see #getNumberLiteral()\n * @generated\n */\n EAttribute getNumberLiteral_Value();\n\n /**\n * Returns the meta object for class '{@link net.sf.smbt.osc.oscDsl.StringLiteral <em>String Literal</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>String Literal</em>'.\n * @see net.sf.smbt.osc.oscDsl.StringLiteral\n * @generated\n */\n EClass getStringLiteral();\n\n /**\n * Returns the meta object for the attribute '{@link net.sf.smbt.osc.oscDsl.StringLiteral#getValue <em>Value</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Value</em>'.\n * @see net.sf.smbt.osc.oscDsl.StringLiteral#getValue()\n * @see #getStringLiteral()\n * @generated\n */\n EAttribute getStringLiteral_Value();\n\n /**\n * Returns the meta object for enum '{@link net.sf.smbt.osc.oscDsl.EzFormats <em>Ez Formats</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for enum '<em>Ez Formats</em>'.\n * @see net.sf.smbt.osc.oscDsl.EzFormats\n * @generated\n */\n EEnum getEzFormats();\n\n /**\n * Returns the factory that creates the instances of the model.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the factory that creates the instances of the model.\n * @generated\n */\n OscDslFactory getOscDslFactory();\n\n /**\n * <!-- begin-user-doc -->\n * Defines literals for the meta objects that represent\n * <ul>\n * <li>each class,</li>\n * <li>each feature of each class,</li>\n * <li>each enum,</li>\n * <li>and each data type</li>\n * </ul>\n * <!-- end-user-doc -->\n * @generated\n */\n interface Literals\n {\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EzModelImpl <em>Ez Model</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzModelImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzModel()\n * @generated\n */\n EClass EZ_MODEL = eINSTANCE.getEzModel();\n\n /**\n * The meta object literal for the '<em><b>Cmd</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EZ_MODEL__CMD = eINSTANCE.getEzModel_Cmd();\n\n /**\n * The meta object literal for the '<em><b>Msg</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EZ_MODEL__MSG = eINSTANCE.getEzModel_Msg();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EzCmdImpl <em>Ez Cmd</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzCmdImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzCmd()\n * @generated\n */\n EClass EZ_CMD = eINSTANCE.getEzCmd();\n\n /**\n * The meta object literal for the '<em><b>Cmd</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EZ_CMD__CMD = eINSTANCE.getEzCmd_Cmd();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EzOpenCmdImpl <em>Ez Open Cmd</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzOpenCmdImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzOpenCmd()\n * @generated\n */\n EClass EZ_OPEN_CMD = eINSTANCE.getEzOpenCmd();\n\n /**\n * The meta object literal for the '<em><b>Targets</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EZ_OPEN_CMD__TARGETS = eINSTANCE.getEzOpenCmd_Targets();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EzCloseCmdImpl <em>Ez Close Cmd</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzCloseCmdImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzCloseCmd()\n * @generated\n */\n EClass EZ_CLOSE_CMD = eINSTANCE.getEzCloseCmd();\n\n /**\n * The meta object literal for the '<em><b>Targets</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EZ_CLOSE_CMD__TARGETS = eINSTANCE.getEzCloseCmd_Targets();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EzHookCmdImpl <em>Ez Hook Cmd</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzHookCmdImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzHookCmd()\n * @generated\n */\n EClass EZ_HOOK_CMD = eINSTANCE.getEzHookCmd();\n\n /**\n * The meta object literal for the '<em><b>Targets</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EZ_HOOK_CMD__TARGETS = eINSTANCE.getEzHookCmd_Targets();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EzUnhookCmdImpl <em>Ez Unhook Cmd</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzUnhookCmdImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzUnhookCmd()\n * @generated\n */\n EClass EZ_UNHOOK_CMD = eINSTANCE.getEzUnhookCmd();\n\n /**\n * The meta object literal for the '<em><b>Targets</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EZ_UNHOOK_CMD__TARGETS = eINSTANCE.getEzUnhookCmd_Targets();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EzAliasCmdImpl <em>Ez Alias Cmd</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzAliasCmdImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzAliasCmd()\n * @generated\n */\n EClass EZ_ALIAS_CMD = eINSTANCE.getEzAliasCmd();\n\n /**\n * The meta object literal for the '<em><b>Alias</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute EZ_ALIAS_CMD__ALIAS = eINSTANCE.getEzAliasCmd_Alias();\n\n /**\n * The meta object literal for the '<em><b>Targets</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EZ_ALIAS_CMD__TARGETS = eINSTANCE.getEzAliasCmd_Targets();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EzStatusCmdImpl <em>Ez Status Cmd</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzStatusCmdImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzStatusCmd()\n * @generated\n */\n EClass EZ_STATUS_CMD = eINSTANCE.getEzStatusCmd();\n\n /**\n * The meta object literal for the '<em><b>Targets</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EZ_STATUS_CMD__TARGETS = eINSTANCE.getEzStatusCmd_Targets();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EzResetCmdImpl <em>Ez Reset Cmd</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzResetCmdImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzResetCmd()\n * @generated\n */\n EClass EZ_RESET_CMD = eINSTANCE.getEzResetCmd();\n\n /**\n * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute EZ_RESET_CMD__ID = eINSTANCE.getEzResetCmd_Id();\n\n /**\n * The meta object literal for the '<em><b>Verbose</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute EZ_RESET_CMD__VERBOSE = eINSTANCE.getEzResetCmd_Verbose();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EzHelpCmdImpl <em>Ez Help Cmd</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzHelpCmdImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzHelpCmd()\n * @generated\n */\n EClass EZ_HELP_CMD = eINSTANCE.getEzHelpCmd();\n\n /**\n * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute EZ_HELP_CMD__ID = eINSTANCE.getEzHelpCmd_Id();\n\n /**\n * The meta object literal for the '<em><b>Verbose</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute EZ_HELP_CMD__VERBOSE = eINSTANCE.getEzHelpCmd_Verbose();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EzClearCmdImpl <em>Ez Clear Cmd</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzClearCmdImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzClearCmd()\n * @generated\n */\n EClass EZ_CLEAR_CMD = eINSTANCE.getEzClearCmd();\n\n /**\n * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute EZ_CLEAR_CMD__ID = eINSTANCE.getEzClearCmd_Id();\n\n /**\n * The meta object literal for the '<em><b>Verbose</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute EZ_CLEAR_CMD__VERBOSE = eINSTANCE.getEzClearCmd_Verbose();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EzProtocolCmdImpl <em>Ez Protocol Cmd</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzProtocolCmdImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzProtocolCmd()\n * @generated\n */\n EClass EZ_PROTOCOL_CMD = eINSTANCE.getEzProtocolCmd();\n\n /**\n * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute EZ_PROTOCOL_CMD__ID = eINSTANCE.getEzProtocolCmd_Id();\n\n /**\n * The meta object literal for the '<em><b>Verbose</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute EZ_PROTOCOL_CMD__VERBOSE = eINSTANCE.getEzProtocolCmd_Verbose();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EzListCmdImpl <em>Ez List Cmd</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzListCmdImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzListCmd()\n * @generated\n */\n EClass EZ_LIST_CMD = eINSTANCE.getEzListCmd();\n\n /**\n * The meta object literal for the '<em><b>Addr</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EZ_LIST_CMD__ADDR = eINSTANCE.getEzListCmd_Addr();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgImpl <em>Ez Msg</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsg()\n * @generated\n */\n EClass EZ_MSG = eINSTANCE.getEzMsg();\n\n /**\n * The meta object literal for the '<em><b>Msg</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EZ_MSG__MSG = eINSTANCE.getEzMsg_Msg();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgRemoveImpl <em>Ez Msg Remove</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgRemoveImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgRemove()\n * @generated\n */\n EClass EZ_MSG_REMOVE = eINSTANCE.getEzMsgRemove();\n\n /**\n * The meta object literal for the '<em><b>Cmd</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EZ_MSG_REMOVE__CMD = eINSTANCE.getEzMsgRemove_Cmd();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgGetImpl <em>Ez Msg Get</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgGetImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgGet()\n * @generated\n */\n EClass EZ_MSG_GET = eINSTANCE.getEzMsgGet();\n\n /**\n * The meta object literal for the '<em><b>Cmd</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EZ_MSG_GET__CMD = eINSTANCE.getEzMsgGet_Cmd();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgBindImpl <em>Ez Msg Bind</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgBindImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgBind()\n * @generated\n */\n EClass EZ_MSG_BIND = eINSTANCE.getEzMsgBind();\n\n /**\n * The meta object literal for the '<em><b>Cmd</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EZ_MSG_BIND__CMD = eINSTANCE.getEzMsgBind_Cmd();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgListenImpl <em>Ez Msg Listen</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgListenImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgListen()\n * @generated\n */\n EClass EZ_MSG_LISTEN = eINSTANCE.getEzMsgListen();\n\n /**\n * The meta object literal for the '<em><b>Cmd</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EZ_MSG_LISTEN__CMD = eINSTANCE.getEzMsgListen_Cmd();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgServiceImpl <em>Ez Msg Service</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgServiceImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgService()\n * @generated\n */\n EClass EZ_MSG_SERVICE = eINSTANCE.getEzMsgService();\n\n /**\n * The meta object literal for the '<em><b>Cmd</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EZ_MSG_SERVICE__CMD = eINSTANCE.getEzMsgService_Cmd();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgUnlistenImpl <em>Ez Msg Unlisten</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgUnlistenImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgUnlisten()\n * @generated\n */\n EClass EZ_MSG_UNLISTEN = eINSTANCE.getEzMsgUnlisten();\n\n /**\n * The meta object literal for the '<em><b>Cmd</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EZ_MSG_UNLISTEN__CMD = eINSTANCE.getEzMsgUnlisten_Cmd();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgCmdImpl <em>Ez Msg Cmd</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgCmdImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgCmd()\n * @generated\n */\n EClass EZ_MSG_CMD = eINSTANCE.getEzMsgCmd();\n\n /**\n * The meta object literal for the '<em><b>Cmd</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EZ_MSG_CMD__CMD = eINSTANCE.getEzMsgCmd_Cmd();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgClockImpl <em>Ez Msg Clock</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgClockImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgClock()\n * @generated\n */\n EClass EZ_MSG_CLOCK = eINSTANCE.getEzMsgClock();\n\n /**\n * The meta object literal for the '<em><b>Cmd</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EZ_MSG_CLOCK__CMD = eINSTANCE.getEzMsgClock_Cmd();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgToggleImpl <em>Ez Msg Toggle</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgToggleImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgToggle()\n * @generated\n */\n EClass EZ_MSG_TOGGLE = eINSTANCE.getEzMsgToggle();\n\n /**\n * The meta object literal for the '<em><b>Cmd</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EZ_MSG_TOGGLE__CMD = eINSTANCE.getEzMsgToggle_Cmd();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgBangImpl <em>Ez Msg Bang</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgBangImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgBang()\n * @generated\n */\n EClass EZ_MSG_BANG = eINSTANCE.getEzMsgBang();\n\n /**\n * The meta object literal for the '<em><b>Cmd</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EZ_MSG_BANG__CMD = eINSTANCE.getEzMsgBang_Cmd();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgUnforwardImpl <em>Ez Msg Unforward</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgUnforwardImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgUnforward()\n * @generated\n */\n EClass EZ_MSG_UNFORWARD = eINSTANCE.getEzMsgUnforward();\n\n /**\n * The meta object literal for the '<em><b>Cmd</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EZ_MSG_UNFORWARD__CMD = eINSTANCE.getEzMsgUnforward_Cmd();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgForwardImpl <em>Ez Msg Forward</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgForwardImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgForward()\n * @generated\n */\n EClass EZ_MSG_FORWARD = eINSTANCE.getEzMsgForward();\n\n /**\n * The meta object literal for the '<em><b>Cmd</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EZ_MSG_FORWARD__CMD = eINSTANCE.getEzMsgForward_Cmd();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgSetImpl <em>Ez Msg Set</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgSetImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgSet()\n * @generated\n */\n EClass EZ_MSG_SET = eINSTANCE.getEzMsgSet();\n\n /**\n * The meta object literal for the '<em><b>Cmd</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EZ_MSG_SET__CMD = eINSTANCE.getEzMsgSet_Cmd();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgLegacySetImpl <em>Ez Msg Legacy Set</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgLegacySetImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgLegacySet()\n * @generated\n */\n EClass EZ_MSG_LEGACY_SET = eINSTANCE.getEzMsgLegacySet();\n\n /**\n * The meta object literal for the '<em><b>Cmd</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EZ_MSG_LEGACY_SET__CMD = eINSTANCE.getEzMsgLegacySet_Cmd();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgSelectImpl <em>Ez Msg Select</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgSelectImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgSelect()\n * @generated\n */\n EClass EZ_MSG_SELECT = eINSTANCE.getEzMsgSelect();\n\n /**\n * The meta object literal for the '<em><b>Cmd</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EZ_MSG_SELECT__CMD = eINSTANCE.getEzMsgSelect_Cmd();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgKinematicsImpl <em>Ez Msg Kinematics</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgKinematicsImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgKinematics()\n * @generated\n */\n EClass EZ_MSG_KINEMATICS = eINSTANCE.getEzMsgKinematics();\n\n /**\n * The meta object literal for the '<em><b>Cmd</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EZ_MSG_KINEMATICS__CMD = eINSTANCE.getEzMsgKinematics_Cmd();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EzMsgTriggerImpl <em>Ez Msg Trigger</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EzMsgTriggerImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzMsgTrigger()\n * @generated\n */\n EClass EZ_MSG_TRIGGER = eINSTANCE.getEzMsgTrigger();\n\n /**\n * The meta object literal for the '<em><b>Cmd</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EZ_MSG_TRIGGER__CMD = eINSTANCE.getEzMsgTrigger_Cmd();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.OSCExprImpl <em>OSC Expr</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.OSCExprImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getOSCExpr()\n * @generated\n */\n EClass OSC_EXPR = eINSTANCE.getOSCExpr();\n\n /**\n * The meta object literal for the '<em><b>Path</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute OSC_EXPR__PATH = eINSTANCE.getOSCExpr_Path();\n\n /**\n * The meta object literal for the '<em><b>Args</b></em>' attribute list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute OSC_EXPR__ARGS = eINSTANCE.getOSCExpr_Args();\n\n /**\n * The meta object literal for the '<em><b>Targets</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference OSC_EXPR__TARGETS = eINSTANCE.getOSCExpr_Targets();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.OSCSubDomainImpl <em>OSC Sub Domain</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.OSCSubDomainImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getOSCSubDomain()\n * @generated\n */\n EClass OSC_SUB_DOMAIN = eINSTANCE.getOSCSubDomain();\n\n /**\n * The meta object literal for the '<em><b>Expr</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference OSC_SUB_DOMAIN__EXPR = eINSTANCE.getOSCSubDomain_Expr();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.OSCUDPTargetImpl <em>OSCUDP Target</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.OSCUDPTargetImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getOSCUDPTarget()\n * @generated\n */\n EClass OSCUDP_TARGET = eINSTANCE.getOSCUDPTarget();\n\n /**\n * The meta object literal for the '<em><b>Proto</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute OSCUDP_TARGET__PROTO = eINSTANCE.getOSCUDPTarget_Proto();\n\n /**\n * The meta object literal for the '<em><b>Addr</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute OSCUDP_TARGET__ADDR = eINSTANCE.getOSCUDPTarget_Addr();\n\n /**\n * The meta object literal for the '<em><b>Format</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute OSCUDP_TARGET__FORMAT = eINSTANCE.getOSCUDPTarget_Format();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.OSCTCPTargetImpl <em>OSCTCP Target</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.OSCTCPTargetImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getOSCTCPTarget()\n * @generated\n */\n EClass OSCTCP_TARGET = eINSTANCE.getOSCTCPTarget();\n\n /**\n * The meta object literal for the '<em><b>Proto</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute OSCTCP_TARGET__PROTO = eINSTANCE.getOSCTCPTarget_Proto();\n\n /**\n * The meta object literal for the '<em><b>Addr</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute OSCTCP_TARGET__ADDR = eINSTANCE.getOSCTCPTarget_Addr();\n\n /**\n * The meta object literal for the '<em><b>Format</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute OSCTCP_TARGET__FORMAT = eINSTANCE.getOSCTCPTarget_Format();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.OSCXBeeTargetImpl <em>OSCX Bee Target</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.OSCXBeeTargetImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getOSCXBeeTarget()\n * @generated\n */\n EClass OSCX_BEE_TARGET = eINSTANCE.getOSCXBeeTarget();\n\n /**\n * The meta object literal for the '<em><b>Proto</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute OSCX_BEE_TARGET__PROTO = eINSTANCE.getOSCXBeeTarget_Proto();\n\n /**\n * The meta object literal for the '<em><b>Addr</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute OSCX_BEE_TARGET__ADDR = eINSTANCE.getOSCXBeeTarget_Addr();\n\n /**\n * The meta object literal for the '<em><b>Format</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute OSCX_BEE_TARGET__FORMAT = eINSTANCE.getOSCXBeeTarget_Format();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.OSCHttpTargetImpl <em>OSC Http Target</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.OSCHttpTargetImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getOSCHttpTarget()\n * @generated\n */\n EClass OSC_HTTP_TARGET = eINSTANCE.getOSCHttpTarget();\n\n /**\n * The meta object literal for the '<em><b>Proto</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute OSC_HTTP_TARGET__PROTO = eINSTANCE.getOSCHttpTarget_Proto();\n\n /**\n * The meta object literal for the '<em><b>Addr</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute OSC_HTTP_TARGET__ADDR = eINSTANCE.getOSCHttpTarget_Addr();\n\n /**\n * The meta object literal for the '<em><b>Format</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute OSC_HTTP_TARGET__FORMAT = eINSTANCE.getOSCHttpTarget_Format();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.OSCBluetoothTargetImpl <em>OSC Bluetooth Target</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.OSCBluetoothTargetImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getOSCBluetoothTarget()\n * @generated\n */\n EClass OSC_BLUETOOTH_TARGET = eINSTANCE.getOSCBluetoothTarget();\n\n /**\n * The meta object literal for the '<em><b>Proto</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute OSC_BLUETOOTH_TARGET__PROTO = eINSTANCE.getOSCBluetoothTarget_Proto();\n\n /**\n * The meta object literal for the '<em><b>Addr</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute OSC_BLUETOOTH_TARGET__ADDR = eINSTANCE.getOSCBluetoothTarget_Addr();\n\n /**\n * The meta object literal for the '<em><b>Format</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute OSC_BLUETOOTH_TARGET__FORMAT = eINSTANCE.getOSCBluetoothTarget_Format();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.OSCUSBTargetImpl <em>OSCUSB Target</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.OSCUSBTargetImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getOSCUSBTarget()\n * @generated\n */\n EClass OSCUSB_TARGET = eINSTANCE.getOSCUSBTarget();\n\n /**\n * The meta object literal for the '<em><b>Proto</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute OSCUSB_TARGET__PROTO = eINSTANCE.getOSCUSBTarget_Proto();\n\n /**\n * The meta object literal for the '<em><b>Addr</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute OSCUSB_TARGET__ADDR = eINSTANCE.getOSCUSBTarget_Addr();\n\n /**\n * The meta object literal for the '<em><b>Speed</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference OSCUSB_TARGET__SPEED = eINSTANCE.getOSCUSBTarget_Speed();\n\n /**\n * The meta object literal for the '<em><b>Format</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute OSCUSB_TARGET__FORMAT = eINSTANCE.getOSCUSBTarget_Format();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.OSCUbqTargetImpl <em>OSC Ubq Target</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.OSCUbqTargetImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getOSCUbqTarget()\n * @generated\n */\n EClass OSC_UBQ_TARGET = eINSTANCE.getOSCUbqTarget();\n\n /**\n * The meta object literal for the '<em><b>Proto</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute OSC_UBQ_TARGET__PROTO = eINSTANCE.getOSCUbqTarget_Proto();\n\n /**\n * The meta object literal for the '<em><b>Addr</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute OSC_UBQ_TARGET__ADDR = eINSTANCE.getOSCUbqTarget_Addr();\n\n /**\n * The meta object literal for the '<em><b>Format</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute OSC_UBQ_TARGET__FORMAT = eINSTANCE.getOSCUbqTarget_Format();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.SpeedImpl <em>Speed</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.SpeedImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getSpeed()\n * @generated\n */\n EClass SPEED = eINSTANCE.getSpeed();\n\n /**\n * The meta object literal for the '<em><b>Speed</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute SPEED__SPEED = eINSTANCE.getSpeed_Speed();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.JvmVarImpl <em>Jvm Var</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.JvmVarImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getJvmVar()\n * @generated\n */\n EClass JVM_VAR = eINSTANCE.getJvmVar();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute JVM_VAR__NAME = eINSTANCE.getJvmVar_Name();\n\n /**\n * The meta object literal for the '<em><b>Java Types</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference JVM_VAR__JAVA_TYPES = eINSTANCE.getJvmVar_JavaTypes();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.ExprModelImpl <em>Expr Model</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.ExprModelImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getExprModel()\n * @generated\n */\n EClass EXPR_MODEL = eINSTANCE.getExprModel();\n\n /**\n * The meta object literal for the '<em><b>Is Tested</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute EXPR_MODEL__IS_TESTED = eINSTANCE.getExprModel_IsTested();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute EXPR_MODEL__NAME = eINSTANCE.getExprModel_Name();\n\n /**\n * The meta object literal for the '<em><b>Usings</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EXPR_MODEL__USINGS = eINSTANCE.getExprModel_Usings();\n\n /**\n * The meta object literal for the '<em><b>Elements</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EXPR_MODEL__ELEMENTS = eINSTANCE.getExprModel_Elements();\n\n /**\n * The meta object literal for the '<em><b>Functions</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EXPR_MODEL__FUNCTIONS = eINSTANCE.getExprModel_Functions();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.UsingImpl <em>Using</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.UsingImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getUsing()\n * @generated\n */\n EClass USING = eINSTANCE.getUsing();\n\n /**\n * The meta object literal for the '<em><b>Imported Namespace</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute USING__IMPORTED_NAMESPACE = eINSTANCE.getUsing_ImportedNamespace();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.ElementImpl <em>Element</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.ElementImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getElement()\n * @generated\n */\n EClass ELEMENT = eINSTANCE.getElement();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.SymbolImpl <em>Symbol</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.SymbolImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getSymbol()\n * @generated\n */\n EClass SYMBOL = eINSTANCE.getSymbol();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute SYMBOL__NAME = eINSTANCE.getSymbol_Name();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.ReturnImpl <em>Return</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.ReturnImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getReturn()\n * @generated\n */\n EClass RETURN = eINSTANCE.getReturn();\n\n /**\n * The meta object literal for the '<em><b>Expr</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference RETURN__EXPR = eINSTANCE.getReturn_Expr();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EnumDeclImpl <em>Enum Decl</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EnumDeclImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEnumDecl()\n * @generated\n */\n EClass ENUM_DECL = eINSTANCE.getEnumDecl();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ENUM_DECL__NAME = eINSTANCE.getEnumDecl_Name();\n\n /**\n * The meta object literal for the '<em><b>Literals</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ENUM_DECL__LITERALS = eINSTANCE.getEnumDecl_Literals();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.TypeImpl <em>Type</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.TypeImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getType()\n * @generated\n */\n EClass TYPE = eINSTANCE.getType();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.PrimitiveTypeImpl <em>Primitive Type</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.PrimitiveTypeImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getPrimitiveType()\n * @generated\n */\n EClass PRIMITIVE_TYPE = eINSTANCE.getPrimitiveType();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.ArrayTypeImpl <em>Array Type</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.ArrayTypeImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getArrayType()\n * @generated\n */\n EClass ARRAY_TYPE = eINSTANCE.getArrayType();\n\n /**\n * The meta object literal for the '<em><b>Base Type</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ARRAY_TYPE__BASE_TYPE = eINSTANCE.getArrayType_BaseType();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EnumTypeImpl <em>Enum Type</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EnumTypeImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEnumType()\n * @generated\n */\n EClass ENUM_TYPE = eINSTANCE.getEnumType();\n\n /**\n * The meta object literal for the '<em><b>Enum Ref</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ENUM_TYPE__ENUM_REF = eINSTANCE.getEnumType_EnumRef();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.IntTypeImpl <em>Int Type</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.IntTypeImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getIntType()\n * @generated\n */\n EClass INT_TYPE = eINSTANCE.getIntType();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.BoolTypeImpl <em>Bool Type</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.BoolTypeImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getBoolType()\n * @generated\n */\n EClass BOOL_TYPE = eINSTANCE.getBoolType();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.FloatTypeImpl <em>Float Type</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.FloatTypeImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getFloatType()\n * @generated\n */\n EClass FLOAT_TYPE = eINSTANCE.getFloatType();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.StringTypeImpl <em>String Type</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.StringTypeImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getStringType()\n * @generated\n */\n EClass STRING_TYPE = eINSTANCE.getStringType();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.ExprImpl <em>Expr</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.ExprImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getExpr()\n * @generated\n */\n EClass EXPR = eINSTANCE.getExpr();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.ExpressionImpl <em>Expression</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.ExpressionImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getExpression()\n * @generated\n */\n EClass EXPRESSION = eINSTANCE.getExpression();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.FunctionDeclarationImpl <em>Function Declaration</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.FunctionDeclarationImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getFunctionDeclaration()\n * @generated\n */\n EClass FUNCTION_DECLARATION = eINSTANCE.getFunctionDeclaration();\n\n /**\n * The meta object literal for the '<em><b>Type</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FUNCTION_DECLARATION__TYPE = eINSTANCE.getFunctionDeclaration_Type();\n\n /**\n * The meta object literal for the '<em><b>Params</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FUNCTION_DECLARATION__PARAMS = eINSTANCE.getFunctionDeclaration_Params();\n\n /**\n * The meta object literal for the '<em><b>Elements</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FUNCTION_DECLARATION__ELEMENTS = eINSTANCE.getFunctionDeclaration_Elements();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.ParameterImpl <em>Parameter</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.ParameterImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getParameter()\n * @generated\n */\n EClass PARAMETER = eINSTANCE.getParameter();\n\n /**\n * The meta object literal for the '<em><b>Type</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PARAMETER__TYPE = eINSTANCE.getParameter_Type();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EnumLiteralImpl <em>Enum Literal</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EnumLiteralImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEnumLiteral()\n * @generated\n */\n EClass ENUM_LITERAL = eINSTANCE.getEnumLiteral();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.VarDeclImpl <em>Var Decl</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.VarDeclImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getVarDecl()\n * @generated\n */\n EClass VAR_DECL = eINSTANCE.getVarDecl();\n\n /**\n * The meta object literal for the '<em><b>Readonly</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute VAR_DECL__READONLY = eINSTANCE.getVarDecl_Readonly();\n\n /**\n * The meta object literal for the '<em><b>Type</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference VAR_DECL__TYPE = eINSTANCE.getVarDecl_Type();\n\n /**\n * The meta object literal for the '<em><b>Init</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference VAR_DECL__INIT = eINSTANCE.getVarDecl_Init();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.FormulaImpl <em>Formula</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.FormulaImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getFormula()\n * @generated\n */\n EClass FORMULA = eINSTANCE.getFormula();\n\n /**\n * The meta object literal for the '<em><b>Type</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FORMULA__TYPE = eINSTANCE.getFormula_Type();\n\n /**\n * The meta object literal for the '<em><b>Expr</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FORMULA__EXPR = eINSTANCE.getFormula_Expr();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.EqualsImpl <em>Equals</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.EqualsImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEquals()\n * @generated\n */\n EClass EQUALS = eINSTANCE.getEquals();\n\n /**\n * The meta object literal for the '<em><b>Left</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EQUALS__LEFT = eINSTANCE.getEquals_Left();\n\n /**\n * The meta object literal for the '<em><b>Right</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EQUALS__RIGHT = eINSTANCE.getEquals_Right();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.PlusImpl <em>Plus</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.PlusImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getPlus()\n * @generated\n */\n EClass PLUS = eINSTANCE.getPlus();\n\n /**\n * The meta object literal for the '<em><b>Left</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PLUS__LEFT = eINSTANCE.getPlus_Left();\n\n /**\n * The meta object literal for the '<em><b>Right</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PLUS__RIGHT = eINSTANCE.getPlus_Right();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.MultiImpl <em>Multi</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.MultiImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getMulti()\n * @generated\n */\n EClass MULTI = eINSTANCE.getMulti();\n\n /**\n * The meta object literal for the '<em><b>Left</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference MULTI__LEFT = eINSTANCE.getMulti_Left();\n\n /**\n * The meta object literal for the '<em><b>Right</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference MULTI__RIGHT = eINSTANCE.getMulti_Right();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.ArrayAccessImpl <em>Array Access</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.ArrayAccessImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getArrayAccess()\n * @generated\n */\n EClass ARRAY_ACCESS = eINSTANCE.getArrayAccess();\n\n /**\n * The meta object literal for the '<em><b>Expr</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ARRAY_ACCESS__EXPR = eINSTANCE.getArrayAccess_Expr();\n\n /**\n * The meta object literal for the '<em><b>Index</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ARRAY_ACCESS__INDEX = eINSTANCE.getArrayAccess_Index();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.SymbolRefImpl <em>Symbol Ref</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.SymbolRefImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getSymbolRef()\n * @generated\n */\n EClass SYMBOL_REF = eINSTANCE.getSymbolRef();\n\n /**\n * The meta object literal for the '<em><b>Symbol</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference SYMBOL_REF__SYMBOL = eINSTANCE.getSymbolRef_Symbol();\n\n /**\n * The meta object literal for the '<em><b>Actuals</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference SYMBOL_REF__ACTUALS = eINSTANCE.getSymbolRef_Actuals();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.NumberLiteralImpl <em>Number Literal</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.NumberLiteralImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getNumberLiteral()\n * @generated\n */\n EClass NUMBER_LITERAL = eINSTANCE.getNumberLiteral();\n\n /**\n * The meta object literal for the '<em><b>Value</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute NUMBER_LITERAL__VALUE = eINSTANCE.getNumberLiteral_Value();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.impl.StringLiteralImpl <em>String Literal</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.impl.StringLiteralImpl\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getStringLiteral()\n * @generated\n */\n EClass STRING_LITERAL = eINSTANCE.getStringLiteral();\n\n /**\n * The meta object literal for the '<em><b>Value</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute STRING_LITERAL__VALUE = eINSTANCE.getStringLiteral_Value();\n\n /**\n * The meta object literal for the '{@link net.sf.smbt.osc.oscDsl.EzFormats <em>Ez Formats</em>}' enum.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see net.sf.smbt.osc.oscDsl.EzFormats\n * @see net.sf.smbt.osc.oscDsl.impl.OscDslPackageImpl#getEzFormats()\n * @generated\n */\n EEnum EZ_FORMATS = eINSTANCE.getEzFormats();\n\n }\n\n}", "title": "" }, { "docid": "2f62937e498f87695cfdfa440239dedb", "score": "0.4913188", "text": "public interface MathBinary extends Op {\n\t\t// Note that the name and aliases are prepended with Namespace.getName\n\t\tString NAME = \"math binary\";\n\t\t\n\t}", "title": "" }, { "docid": "80e0fe92403d738e4f7feb6c81e9fef8", "score": "0.49123096", "text": "@RemoteServiceRelativePath(\"ontology\")\r\npublic interface OntologyService extends RemoteService {\r\n\r\n /*\r\n * Project management methods\r\n */\r\n\r\n\r\n /**\r\n * Loads a project.\r\n * @param projectName The name of the project to load.\r\n * @return An integer representing the version of the project.\r\n */\r\n public Integer loadProject(String projectName);\r\n\r\n public Boolean hasWritePermission(String projectName, String userName);\r\n\r\n\r\n public ImportsData getImportedOntologies(String projectName);\r\n\r\n public List<MetricData> getMetrics(String projectName);\r\n\r\n /*\r\n * Entity methods\r\n */\r\n\r\n\r\n public List<Triple> getEntityTriples(String projectName, String entityName);\r\n\r\n public List<Triple> getEntityTriples(String projectName, List<String> entities, List<String> properties);\r\n\r\n public List<Triple> getEntityTriples(String projectName, List<String> entities, List<String> properties, List<String> reifiedProps);\r\n\r\n public List<EntityPropertyValues> getEntityPropertyValues(String projectName, List<String> entities, List<String> properties, List<String> reifiedProps);\r\n\r\n public EntityData renameEntity(String projectName, String oldName, String newName, String user,\r\n String operationDescription);\r\n\r\n public EntityData getRootEntity(String projectName);\r\n\r\n public EntityData getEntity(String projectName, String entityName);\r\n\r\n /*\r\n * Class methods\r\n */\r\n\r\n public EntityData createClsWithProperty(ProjectId projectId, String clsName, OWLClass superCls,\r\n String propertyName, EntityData propertyValue, UserId userId, String operationDescription);\r\n\r\n public void addSuperCls(String projectName, String clsName, String superClsName, String user,\r\n String operationDescription);\r\n\r\n public List<SubclassEntityData> getSubclasses(String projectName, String className);\r\n\r\n public void removeSuperCls(String projectName, String clsName, String superClsName, String user,\r\n String operationDescription);\r\n\r\n public List<EntityData> moveCls(String projectName, String clsName, String oldParentName, String newParentName, boolean checkForCycles,\r\n String user, String operationDescription);\r\n\r\n public PaginationData<EntityData> getIndividuals(String projectName, String className, int start, int limit, String sort, String dir);\r\n\r\n public String getRestrictionHtml(String projectName, String className);\r\n\r\n public List<ConditionItem> getClassConditions(String projectName, String className);\r\n\r\n public List<ConditionItem> deleteCondition(String projectName, String className, ConditionItem conditionItem, int row,\r\n String operationDescription);\r\n\r\n public List<ConditionItem> replaceCondition(String projectName, String className, ConditionItem conditionItem, int row, String newCondition,\r\n String operationDescription);\r\n\r\n public List<ConditionItem> addCondition(String projectName, String className, int row, String newCondition, boolean isNS,\r\n String operationDescription);\r\n\r\n public ConditionSuggestion getConditionAutocompleteSuggestions(String projectName, String condition, int cursorPosition);\r\n\r\n public List<EntityData> getParents(String projectName, String className, boolean direct);\r\n\r\n public String getParentsHtml(String projectName, String className, boolean direct);\r\n\r\n /**\r\n * Used by the \"related properties\" table.\r\n */\r\n public List<Triple> getRelatedProperties(String projectName, String className);\r\n\r\n /*\r\n * Properties methods\r\n */\r\n\r\n public EntityData createObjectProperty(String projectName, String propertyName, String superPropName, String user,\r\n String operationDescription);\r\n\r\n public EntityData createDatatypeProperty(String projectName, String propertyName, String superPropName,\r\n String user, String operationDescription);\r\n\r\n public EntityData createAnnotationProperty(String projectName, String propertyName, String superPropName,\r\n String user, String operationDescription);\r\n\r\n public List<EntityData> getSubproperties(String projectName, String propertyName);\r\n\r\n public void addPropertyValue(String projectName, String entityName, PropertyEntityData propertyEntity,\r\n EntityData value, String user, String operationDescription);\r\n\r\n public void removePropertyValue(String projectName, String entityName, PropertyEntityData propertyEntity,\r\n EntityData value, String user, String operationDescription);\r\n\r\n public void replacePropertyValue(String projectName, String entityName, PropertyEntityData propertyEntity,\r\n EntityData oldValue, EntityData newValue, String user, String operationDescription);\r\n\r\n void setPropertyValues(String projectName, String entityName, PropertyEntityData propertyEntity,\r\n List<EntityData> values, String user, String operationDescription);\r\n\r\n /*\r\n * Instance methods\r\n */\r\n\r\n public EntityData createInstance(String projectName, String instName, String typeName, String user,\r\n String operationDescription);\r\n\r\n public EntityData createInstanceValue(String projectName, String instName, String typeName, String subjectEntity,\r\n String propertyEntity, String user, String operationDescription);\r\n\r\n public EntityData createInstanceValueWithPropertyValue(String projectName, String instName, String typeName, String subjectEntity,\r\n \t\tString propertyEntity, PropertyEntityData instancePropertyEntity, EntityData valueEntityData, String user, String operationDescription);\r\n\r\n public List<EntityData> getDirectTypes(String projectName, String instanceName);\r\n\r\n /*\r\n * Search\r\n */\r\n\r\n public PaginationData<EntityData> search(String projectName, String searchString, ValueType valueType, int start, int limit, String sort, String dir);\r\n\r\n public List<EntityData> search(String projectName, String searchString);\r\n\r\n public List<EntityData> search(String projectName, String searchString, ValueType valueType);\r\n\r\n public List<EntityData> getPathToRoot(String projectName, String entityName);\r\n\r\n /*\r\n * Util methods\r\n */\r\n\r\n public String getBioPortalSearchContent(String projectName, String entityName, BioPortalSearchData bpSearchData);\r\n\r\n public String getBioPortalSearchContentDetails(String projectName, BioPortalSearchData bpSearchData,\r\n BioPortalReferenceData bpRefData);\r\n\r\n public EntityData createExternalReference(String projectName, String entityName, BioPortalReferenceData bpRefData,\r\n String user, String operationDescription);\r\n\r\n public EntityData replaceExternalReference(String projectName, String entityName, BioPortalReferenceData bpRefData,\r\n EntityData oldValueEntityData,\r\n String user, String operationDescription);\r\n\r\n\r\n}", "title": "" }, { "docid": "4a879e42908a7c4c1b3dd2b6982a1067", "score": "0.49118116", "text": "public OntModel buildOntology () {\n\t\tOntModel ontModel = ModelFactory\r\n\t\t\t\t.createOntologyModel(OntModelSpec.OWL_DL_MEM);\r\n\t\tString ns = new String(\"http://www.socialmedia.com/myOntology#\");\r\n\t\tString baseURI = new String(\"http://www.socialmedia.com/myOntology\");\r\n\t\tOntology onto = ontModel.createOntology(baseURI);\r\n\r\n\t\t// create classes\r\n\t\t// create publication and subclass\r\n\t\t// use existing property of the ontology to complete the construction of\r\n\t\t// the new ontology\r\n\t\t// Import SIOC ontology\r\n\t\tString SIOC = \"http://rdfs.org/sioc/ns#\";\r\n\t\tontModel.setNsPrefix(\"sioc\", SIOC);\r\n\t\tOntClass Publication = ontModel.createClass(SIOC + \"Post\");\r\n\t\tOntClass Publication_Type = ontModel.createClass(ns\r\n\t\t\t\t+ \"Publication_Type\");\r\n\t\t// Import Review ontology\r\n\t\tString rev = \"http://purl.org/stuff/rev#\";\r\n\t\tontModel.setNsPrefix(\"REV\", rev);\r\n\t\tString foaf = FOAF.NAMESPACE.getNameSpace();\r\n\t\tontModel.setNsPrefix(\"foaf\", foaf);\r\n\t\tOntClass Text = ontModel.createClass(rev + \"Text\");\r\n\t\tOntClass Image = ontModel.createClass(foaf + FOAF.Image.toString());\r\n\t\tOntClass Video = ontModel.createClass(ns + \"Video\");\r\n\t\tOntClass Audio = ontModel.createClass(ns + \"Audio\");\r\n\t\tPublication_Type.addSubClass(Text);\r\n\t\tPublication_Type.addSubClass(Video);\r\n\t\tPublication_Type.addSubClass(Image);\r\n\t\tPublication_Type.addSubClass(Audio);\r\n\r\n\t\t// create Actor and subclass of Actor\r\n\t\t// Integrate SIOC and FOAF ontology\r\n\t\tOntClass Actor = ontModel.createClass(SIOC + \"Actor\");\r\n\t\tOntClass Person = ontModel.createClass(foaf + FOAF.Person.toString());\r\n\t\tOntClass Page = ontModel.createClass(foaf + FOAF.page.toString());\r\n\t\tOntClass Group = ontModel.createClass(foaf + FOAF.Group.toString());\r\n\t\tOntClass Event = ontModel.createClass(ns + \"Event\");\r\n\r\n\t\tPage.addSuperClass(Actor);\r\n\t\tPerson.addSuperClass(Actor);\r\n\t\tGroup.addSuperClass(Actor);\r\n\t\tEvent.addSuperClass(Actor);\r\n\r\n\t\t// create Popularity class for publication\r\n\t\tOntClass Popularity_Metrics = ontModel.createClass(ns\r\n\t\t\t\t+ \"Popularity_Metrics\");\r\n\t\tOntClass Contextual_Metrics = ontModel.createClass(ns\r\n\t\t\t\t+ \"Contextual_Metrics\");\r\n\t\tOntClass Content_Metrics = ontModel.createClass(ns + \"Content_Metrics\");\r\n\r\n\t\tOntClass Video_Content = ontModel.createClass(ns + \"Video_Content\");\r\n\t\tOntClass Image_Content = ontModel.createClass(ns + \"Image_Content\");\r\n\t\tOntClass Audio_Content = ontModel.createClass(ns + \"Audio_Content\");\r\n\t\tOntClass Text_Content = ontModel.createClass(ns + \"Text_Content\");\r\n\r\n\t\tOntClass Publication_Metadata = ontModel.createClass(ns\r\n\t\t\t\t+ \"Publication_Metadata\");\r\n\t\tOntClass FeedBack_Metadata = ontModel.createClass(ns\r\n\t\t\t\t+ \"FeedBack_Metadata\");\r\n\t\tOntClass Metadata_After_Uplaod = ontModel.createClass(ns\r\n\t\t\t\t+ \"Metadata_After_Uplaod\");\r\n\t\tOntClass Metadata_Before_Uplaod = ontModel.createClass(ns\r\n\t\t\t\t+ \"Metadata_Before_Uplaod\");\r\n\t\tOntClass Implicit_FeedBack = ontModel.createClass(ns\r\n\t\t\t\t+ \" Implicit_FeedBack\");\r\n\t\tOntClass Explicit_FeedBack = ontModel.createClass(ns\r\n\t\t\t\t+ \"Explicit_FeedBack\");\r\n\r\n\t\t// create Popularity class for actor\r\n\t\tOntClass Actor_Popularity = ontModel.createClass(ns\r\n\t\t\t\t+ \"Actor_Popularity\");\r\n\t\tOntClass Actor_Metadata = ontModel.createClass(ns + \"Actor_Metadata\");\r\n\t\tOntClass Actor_Activity = ontModel.createClass(ns + \"Actor_Activity\");\r\n\t\tOntClass Actor_Connectivity = ontModel.createClass(ns\r\n\t\t\t\t+ \"Actor_Connectivity\");\r\n\r\n\t\t// Create source class (social media source of publication)\r\n\t\tOntClass Source = ontModel.createClass(ns + \"Source\");\r\n\t\t// integrate RDF Review Vocabulary\r\n\t\tOntClass Replay = ontModel.createClass(rev + \"Comment\");\r\n\t\t// Create classes location and time use geonames and time ontologies\r\n\t\tString geo = \"http://www.geonames.org/ontology#\";\r\n\t\tontModel.setNsPrefix(\"geo\", geo);\r\n\t\tOntClass Location = ontModel.createClass(geo + \"location\");\r\n\t\tString time = \"http://www.w3.org/2006/time#\";\r\n\t\tontModel.setNsPrefix(\"time\", time);\r\n\t\tOntClass created_at = ontModel.createClass(geo + \"time\");\r\n\r\n\t\t// Create Publication DataTypes\r\n\t\tDatatypeProperty has_id = ontModel.createDatatypeProperty(ns\r\n\t\t\t\t+ \"identifier\");\r\n\t\thas_id.setDomain(Publication);\r\n\t\thas_id.setDomain(Actor);\r\n\t\thas_id.setRange(XSD.xstring); // com.hp.hpl.jena.vocabulary.XSD\r\n\r\n\t\tDatatypeProperty has_topic = ontModel.createDatatypeProperty(SIOC\r\n\t\t\t\t+ \"topic\");\r\n\t\thas_topic.setDomain(Publication);\r\n\t\thas_topic.setRange(XSD.xstring); // com.hp.hpl.jena.vocabulary.XSD\r\n\r\n\t\tDatatypeProperty language = ontModel.createDatatypeProperty(ns\r\n\t\t\t\t+ \"language\");\r\n\t\tlanguage.setDomain(Publication);\r\n\t\tlanguage.setRange(XSD.language); // com.hp.hpl.jena.vocabulary.XSD\r\n\r\n\t\tDatatypeProperty has_Popularity = ontModel.createDatatypeProperty(ns\r\n\t\t\t\t+ \"has_popularity\");\r\n\t\tlanguage.setDomain(Publication);\r\n\t\tlanguage.setRange(XSD.ENTITY); // com.hp.hpl.jena.vocabulary.XSD\r\n\r\n\t\tDatatypeProperty created_by = ontModel.createDatatypeProperty(ns\r\n\t\t\t\t+ \"created_by\");\r\n\t\tcreated_by.setDomain(Publication);\r\n\t\tcreated_by.setRange(Actor); // com.hp.hpl.jena.vocabulary.XSD\r\n\r\n\t\tDatatypeProperty from = ontModel.createDatatypeProperty(ns + \"from\");\r\n\t\tfrom.setDomain(Publication);\r\n\t\tfrom.setRange(Source); // com.hp.hpl.jena.vocabulary.XSD\r\n\r\n\t\tDatatypeProperty has_Replay = ontModel.createDatatypeProperty(ns\r\n\t\t\t\t+ \"has_Replay\");\r\n\t\thas_Replay.setDomain(Publication);\r\n\t\thas_Replay.setRange(Replay); // com.hp.hpl.jena.vocabulary.XSD\r\n\r\n\t\tDatatypeProperty has_Type = ontModel.createDatatypeProperty(ns\r\n\t\t\t\t+ \"has_Type\");\r\n\t\thas_Type.setDomain(Publication);\r\n\t\thas_Type.setRange(Publication_Type); // com.hp.hpl.jena.vocabulary.XSD\r\n\r\n\t\t// Create Actor DataTypes\r\n\t\tDatatypeProperty has_birthday = ontModel.createDatatypeProperty(foaf\r\n\t\t\t\t+ FOAF.birthday);\r\n\t\thas_birthday.setDomain(Person);\r\n\t\thas_birthday.setRange(XSD.dateTime);\r\n\t\tDatatypeProperty has_family_Name = ontModel.createDatatypeProperty(foaf\r\n\t\t\t\t+ FOAF.family_name);\r\n\t\thas_family_Name.setDomain(Person);\r\n\t\thas_family_Name.setRange(XSD.xstring);\r\n\t\tDatatypeProperty has_first_Name = ontModel.createDatatypeProperty(foaf\r\n\t\t\t\t+ FOAF.firstName);\r\n\t\thas_first_Name.setDomain(Person);\r\n\t\thas_first_Name.setRange(XSD.xstring);\r\n\r\n\t\tDatatypeProperty has_gender = ontModel.createDatatypeProperty(foaf\r\n\t\t\t\t+ FOAF.gender);\r\n\t\thas_gender.setDomain(Person);\r\n\t\thas_gender.setRange(XSD.xstring);\r\n\r\n\t\tDatatypeProperty phone = ontModel.createDatatypeProperty(foaf\r\n\t\t\t\t+ FOAF.phone);\r\n\t\tphone.setDomain(Actor);\r\n\t\tphone.setRange(XSD.xstring);\r\n\r\n\t\tDatatypeProperty topic_interest = ontModel.createDatatypeProperty(foaf\r\n\t\t\t\t+ FOAF.topic_interest);\r\n\t\ttopic_interest.setDomain(Person);\r\n\t\ttopic_interest.setRange(XSD.xstring);\r\n\t\tDatatypeProperty interest_in = ontModel.createDatatypeProperty(foaf\r\n\t\t\t\t+ FOAF.interest);\r\n\t\tinterest_in.setDomain(Actor);\r\n\t\tinterest_in.setRange(XSD.xstring);\r\n\t\tDatatypeProperty has_accountName = ontModel.createDatatypeProperty(foaf\r\n\t\t\t\t+ FOAF.accountName);\r\n\t\thas_accountName.setDomain(Actor);\r\n\t\thas_accountName.setRange(XSD.xstring);\r\n\r\n\t\tDatatypeProperty knows = ontModel.createDatatypeProperty(foaf\r\n\t\t\t\t+ FOAF.knows);\r\n\t\tknows.setDomain(Person);\r\n\t\tknows.setRange(Person);\r\n\r\n\t\tDatatypeProperty member_of = ontModel.createDatatypeProperty(foaf\r\n\t\t\t\t+ FOAF.member);\r\n\t\tmember_of.setDomain(Person);\r\n\t\tmember_of.setRange(Group);\r\n\r\n\t\t// write the model in Turtle\r\n\t\tontModel.write(System.out, \"RDF/XML-ABBREV\");\r\n\t\t\r\n\t\treturn ontModel;\r\n\r\n\t}", "title": "" }, { "docid": "0bd9ac5cc35a575278eb9f2f775b7a0a", "score": "0.49114048", "text": "public interface Verb extends Element\r\n{\r\n}", "title": "" }, { "docid": "1998e6603f70aa4bf320e51013f116e5", "score": "0.49109772", "text": "HModule getModule();", "title": "" }, { "docid": "5a6c7a01e3a004fbcee9acc0950a3d46", "score": "0.49085486", "text": "@Override\n\t\t\tpublic void initializeModule() {\n\n\t\t\t}", "title": "" }, { "docid": "aa1452efe558482f681feb84f6880abe", "score": "0.49074635", "text": "@Override\n \tpublic void add(OWLObject o) {\n \t}", "title": "" }, { "docid": "75640dc9b005ab269cf4a4733b2af618", "score": "0.49057913", "text": "public static void main(String[] args) {\n DefaultAbstractSyntax factory = new DefaultAbstractSyntax();\n\n // create the oid term\n Term ind = factory.createConst_Constshort(\"o1\");\n // create op term\n Term op = factory.createConst_Constshort(\"p\");\n // create two tuple terms\n Term tupleTerm1 = factory.createConst_Constshort(\"a1\");\n Term tupleTerm2 = factory.createConst_Constshort(\"a2\");\n // store the tuple terms together in a list\n List<Term> tupleTermsList = new ArrayList<Term>();\n tupleTermsList.add(tupleTerm1);\n tupleTermsList.add(tupleTerm2);\n // wrap the tuple terms in a tuple\n Tuple tuple = factory.createTuple(tupleTermsList);\n // store the tuple as a list item\n List<Tuple> listOfTuples = new ArrayList<Tuple>();\n listOfTuples.add(tuple);\n // create the psoa term without any slot\n Psoa psoaTerm = factory.createPsoa(ind, op, listOfTuples, null);\n // create the atomic formula\n Atom atom = factory.createAtom(psoaTerm);\n // create a clause\n Clause clause = factory.createClause(atom);\n // create a rule consisting of only head but no body\n Rule rule = factory.createRule(null, clause);\n // the rule is an item of a list of sentences\n List<Sentence> sentence = new ArrayList<Sentence>();\n sentence.add(rule);\n // create a group with only one sentence\n Group group = factory.createGroup(sentence);\n // create the PSOA RuleML document\n Document doc = factory.createDocument(null, group);\n // render the single-tuple psoa term in presentation syntax\n System.out.println(\"PSOA RuleML/XML document rendered in Presentation Syntax: \\n\" + doc);\n }", "title": "" }, { "docid": "20677b8d8243417ada7f76d1f46496a3", "score": "0.48984092", "text": "public interface mo\n\textends mn\n{\n\n\tpublic abstract boolean b();\n\n\tpublic abstract boolean c();\n\n\tpublic abstract boolean e();\n\n\tpublic abstract lo getBarData();\n}", "title": "" }, { "docid": "88d6e4fbfb55806d113e8790d13c7d5a", "score": "0.48977488", "text": "public interface Relationship extends Properties<Long> {\r\n /** The relationship name. */\r\n String name();\r\n\r\n /** Relationships can have a reciprocal, which could be itself. */\r\n Relationship reciprocal();\r\n\r\n /** The concept that is the target of the relationship. */\r\n Concept target();\r\n\r\n /** The minimum arity. */\r\n int minArity();\r\n\r\n /** The maximum arity. */\r\n int maxArity();\r\n}", "title": "" }, { "docid": "140c716baa8f3964498d4866be3286b8", "score": "0.48960665", "text": "@Test\n public void indoorFilterRelation() {\n try {\n TreeMap<String, String> tags = new TreeMap<>();\n Logic logic = App.getLogic();\n\n logic.performAdd(null, 100.0f, 100.0f);\n logic.performAdd(null, 1000.0f, 1000.0f);\n Way w = logic.getSelectedWay();\n logic.setSelectedNode(null);\n logic.setSelectedWay(null);\n logic.performAdd(null, 100.0f, 400.0f);\n logic.performAdd(null, 1000.0f, 1000.0f);\n Way w2 = logic.getSelectedWay();\n logic.setSelectedNode(null);\n logic.setSelectedWay(null);\n tags.put(Tags.KEY_LEVEL, \"\" + 1);\n logic.setTags(null, w2, tags);\n\n IndoorFilter f = new IndoorFilter();\n List<OsmElement> members = new ArrayList<>();\n members.add(w);\n members.add(w2);\n Relation r = logic.createRelation(null, \"\", members);\n f.clear();\n f.setLevel(1);\n // check that relation without level doesn't change member status\n Assert.assertFalse(f.include(r, false));\n Assert.assertFalse(f.include(w, false));\n Assert.assertTrue(f.include(w2, false));\n\n // now check inheritance from relation\n tags.clear();\n tags.put(Tags.KEY_MIN_LEVEL, \"\" + 8);\n tags.put(Tags.KEY_MAX_LEVEL, \"\" + 10);\n tags.put(Tags.KEY_BUILDING, \"yes\");\n logic.setTags(null, r, tags);\n f.setLevel(9);\n Assert.assertTrue(f.include(r, false));\n Assert.assertTrue(f.include(w, false));\n } catch (OsmIllegalOperationException e) {\n Assert.fail(e.getMessage());\n }\n }", "title": "" }, { "docid": "68637abc0c56db45274d56cff49785be", "score": "0.48920462", "text": "@Override\r\n public List<String> getAssociatedModules()\r\n {\n return Arrays.asList(\"core\", \"simpletest\");\r\n }", "title": "" }, { "docid": "1ca9364e7d794bbcf806b6c97a3fff91", "score": "0.48905855", "text": "public interface AssignmentsPackage extends EPackage\n{\n /**\n * The package name.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n String eNAME = \"assignments\";\n\n /**\n * The package namespace URI.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n String eNS_URI = \"http://www.correttouml.org/grammars/Assignments\";\n\n /**\n * The package namespace name.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n String eNS_PREFIX = \"assignments\";\n\n /**\n * The singleton instance of the package.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n AssignmentsPackage eINSTANCE = org.correttouml.grammars.assignments.impl.AssignmentsPackageImpl.init();\n\n /**\n * The meta object id for the '{@link org.correttouml.grammars.assignments.impl.ModelImpl <em>Model</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.correttouml.grammars.assignments.impl.ModelImpl\n * @see org.correttouml.grammars.assignments.impl.AssignmentsPackageImpl#getModel()\n * @generated\n */\n int MODEL = 0;\n\n /**\n * The feature id for the '<em><b>Assignment</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int MODEL__ASSIGNMENT = 0;\n\n /**\n * The number of structural features of the '<em>Model</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int MODEL_FEATURE_COUNT = 1;\n\n /**\n * The meta object id for the '{@link org.correttouml.grammars.assignments.impl.ASSIGNMENTImpl <em>ASSIGNMENT</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.correttouml.grammars.assignments.impl.ASSIGNMENTImpl\n * @see org.correttouml.grammars.assignments.impl.AssignmentsPackageImpl#getASSIGNMENT()\n * @generated\n */\n int ASSIGNMENT = 1;\n\n /**\n * The feature id for the '<em><b>Variable</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ASSIGNMENT__VARIABLE = 0;\n\n /**\n * The feature id for the '<em><b>Expression</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ASSIGNMENT__EXPRESSION = 1;\n\n /**\n * The number of structural features of the '<em>ASSIGNMENT</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int ASSIGNMENT_FEATURE_COUNT = 2;\n\n /**\n * The meta object id for the '{@link org.correttouml.grammars.assignments.impl.EXPRESSIONImpl <em>EXPRESSION</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.correttouml.grammars.assignments.impl.EXPRESSIONImpl\n * @see org.correttouml.grammars.assignments.impl.AssignmentsPackageImpl#getEXPRESSION()\n * @generated\n */\n int EXPRESSION = 2;\n\n /**\n * The feature id for the '<em><b>First Term</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EXPRESSION__FIRST_TERM = 0;\n\n /**\n * The feature id for the '<em><b>Operator</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EXPRESSION__OPERATOR = 1;\n\n /**\n * The feature id for the '<em><b>Second Term</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EXPRESSION__SECOND_TERM = 2;\n\n /**\n * The feature id for the '<em><b>Alone</b></em>' containment reference.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EXPRESSION__ALONE = 3;\n\n /**\n * The number of structural features of the '<em>EXPRESSION</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int EXPRESSION_FEATURE_COUNT = 4;\n\n /**\n * The meta object id for the '{@link org.correttouml.grammars.assignments.impl.TERMImpl <em>TERM</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.correttouml.grammars.assignments.impl.TERMImpl\n * @see org.correttouml.grammars.assignments.impl.AssignmentsPackageImpl#getTERM()\n * @generated\n */\n int TERM = 3;\n\n /**\n * The feature id for the '<em><b>Variable</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int TERM__VARIABLE = 0;\n\n /**\n * The feature id for the '<em><b>Constant</b></em>' attribute.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int TERM__CONSTANT = 1;\n\n /**\n * The number of structural features of the '<em>TERM</em>' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n * @ordered\n */\n int TERM_FEATURE_COUNT = 2;\n\n\n /**\n * Returns the meta object for class '{@link org.correttouml.grammars.assignments.Model <em>Model</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>Model</em>'.\n * @see org.correttouml.grammars.assignments.Model\n * @generated\n */\n EClass getModel();\n\n /**\n * Returns the meta object for the containment reference '{@link org.correttouml.grammars.assignments.Model#getAssignment <em>Assignment</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Assignment</em>'.\n * @see org.correttouml.grammars.assignments.Model#getAssignment()\n * @see #getModel()\n * @generated\n */\n EReference getModel_Assignment();\n\n /**\n * Returns the meta object for class '{@link org.correttouml.grammars.assignments.ASSIGNMENT <em>ASSIGNMENT</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>ASSIGNMENT</em>'.\n * @see org.correttouml.grammars.assignments.ASSIGNMENT\n * @generated\n */\n EClass getASSIGNMENT();\n\n /**\n * Returns the meta object for the attribute '{@link org.correttouml.grammars.assignments.ASSIGNMENT#getVariable <em>Variable</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Variable</em>'.\n * @see org.correttouml.grammars.assignments.ASSIGNMENT#getVariable()\n * @see #getASSIGNMENT()\n * @generated\n */\n EAttribute getASSIGNMENT_Variable();\n\n /**\n * Returns the meta object for the containment reference '{@link org.correttouml.grammars.assignments.ASSIGNMENT#getExpression <em>Expression</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Expression</em>'.\n * @see org.correttouml.grammars.assignments.ASSIGNMENT#getExpression()\n * @see #getASSIGNMENT()\n * @generated\n */\n EReference getASSIGNMENT_Expression();\n\n /**\n * Returns the meta object for class '{@link org.correttouml.grammars.assignments.EXPRESSION <em>EXPRESSION</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>EXPRESSION</em>'.\n * @see org.correttouml.grammars.assignments.EXPRESSION\n * @generated\n */\n EClass getEXPRESSION();\n\n /**\n * Returns the meta object for the containment reference '{@link org.correttouml.grammars.assignments.EXPRESSION#getFirstTerm <em>First Term</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>First Term</em>'.\n * @see org.correttouml.grammars.assignments.EXPRESSION#getFirstTerm()\n * @see #getEXPRESSION()\n * @generated\n */\n EReference getEXPRESSION_FirstTerm();\n\n /**\n * Returns the meta object for the attribute '{@link org.correttouml.grammars.assignments.EXPRESSION#getOperator <em>Operator</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Operator</em>'.\n * @see org.correttouml.grammars.assignments.EXPRESSION#getOperator()\n * @see #getEXPRESSION()\n * @generated\n */\n EAttribute getEXPRESSION_Operator();\n\n /**\n * Returns the meta object for the containment reference '{@link org.correttouml.grammars.assignments.EXPRESSION#getSecondTerm <em>Second Term</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Second Term</em>'.\n * @see org.correttouml.grammars.assignments.EXPRESSION#getSecondTerm()\n * @see #getEXPRESSION()\n * @generated\n */\n EReference getEXPRESSION_SecondTerm();\n\n /**\n * Returns the meta object for the containment reference '{@link org.correttouml.grammars.assignments.EXPRESSION#getAlone <em>Alone</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the containment reference '<em>Alone</em>'.\n * @see org.correttouml.grammars.assignments.EXPRESSION#getAlone()\n * @see #getEXPRESSION()\n * @generated\n */\n EReference getEXPRESSION_Alone();\n\n /**\n * Returns the meta object for class '{@link org.correttouml.grammars.assignments.TERM <em>TERM</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for class '<em>TERM</em>'.\n * @see org.correttouml.grammars.assignments.TERM\n * @generated\n */\n EClass getTERM();\n\n /**\n * Returns the meta object for the attribute '{@link org.correttouml.grammars.assignments.TERM#getVariable <em>Variable</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Variable</em>'.\n * @see org.correttouml.grammars.assignments.TERM#getVariable()\n * @see #getTERM()\n * @generated\n */\n EAttribute getTERM_Variable();\n\n /**\n * Returns the meta object for the attribute '{@link org.correttouml.grammars.assignments.TERM#getConstant <em>Constant</em>}'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the meta object for the attribute '<em>Constant</em>'.\n * @see org.correttouml.grammars.assignments.TERM#getConstant()\n * @see #getTERM()\n * @generated\n */\n EAttribute getTERM_Constant();\n\n /**\n * Returns the factory that creates the instances of the model.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return the factory that creates the instances of the model.\n * @generated\n */\n AssignmentsFactory getAssignmentsFactory();\n\n /**\n * <!-- begin-user-doc -->\n * Defines literals for the meta objects that represent\n * <ul>\n * <li>each class,</li>\n * <li>each feature of each class,</li>\n * <li>each enum,</li>\n * <li>and each data type</li>\n * </ul>\n * <!-- end-user-doc -->\n * @generated\n */\n interface Literals\n {\n /**\n * The meta object literal for the '{@link org.correttouml.grammars.assignments.impl.ModelImpl <em>Model</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.correttouml.grammars.assignments.impl.ModelImpl\n * @see org.correttouml.grammars.assignments.impl.AssignmentsPackageImpl#getModel()\n * @generated\n */\n EClass MODEL = eINSTANCE.getModel();\n\n /**\n * The meta object literal for the '<em><b>Assignment</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference MODEL__ASSIGNMENT = eINSTANCE.getModel_Assignment();\n\n /**\n * The meta object literal for the '{@link org.correttouml.grammars.assignments.impl.ASSIGNMENTImpl <em>ASSIGNMENT</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.correttouml.grammars.assignments.impl.ASSIGNMENTImpl\n * @see org.correttouml.grammars.assignments.impl.AssignmentsPackageImpl#getASSIGNMENT()\n * @generated\n */\n EClass ASSIGNMENT = eINSTANCE.getASSIGNMENT();\n\n /**\n * The meta object literal for the '<em><b>Variable</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ASSIGNMENT__VARIABLE = eINSTANCE.getASSIGNMENT_Variable();\n\n /**\n * The meta object literal for the '<em><b>Expression</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ASSIGNMENT__EXPRESSION = eINSTANCE.getASSIGNMENT_Expression();\n\n /**\n * The meta object literal for the '{@link org.correttouml.grammars.assignments.impl.EXPRESSIONImpl <em>EXPRESSION</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.correttouml.grammars.assignments.impl.EXPRESSIONImpl\n * @see org.correttouml.grammars.assignments.impl.AssignmentsPackageImpl#getEXPRESSION()\n * @generated\n */\n EClass EXPRESSION = eINSTANCE.getEXPRESSION();\n\n /**\n * The meta object literal for the '<em><b>First Term</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EXPRESSION__FIRST_TERM = eINSTANCE.getEXPRESSION_FirstTerm();\n\n /**\n * The meta object literal for the '<em><b>Operator</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute EXPRESSION__OPERATOR = eINSTANCE.getEXPRESSION_Operator();\n\n /**\n * The meta object literal for the '<em><b>Second Term</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EXPRESSION__SECOND_TERM = eINSTANCE.getEXPRESSION_SecondTerm();\n\n /**\n * The meta object literal for the '<em><b>Alone</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EXPRESSION__ALONE = eINSTANCE.getEXPRESSION_Alone();\n\n /**\n * The meta object literal for the '{@link org.correttouml.grammars.assignments.impl.TERMImpl <em>TERM</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.correttouml.grammars.assignments.impl.TERMImpl\n * @see org.correttouml.grammars.assignments.impl.AssignmentsPackageImpl#getTERM()\n * @generated\n */\n EClass TERM = eINSTANCE.getTERM();\n\n /**\n * The meta object literal for the '<em><b>Variable</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute TERM__VARIABLE = eINSTANCE.getTERM_Variable();\n\n /**\n * The meta object literal for the '<em><b>Constant</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute TERM__CONSTANT = eINSTANCE.getTERM_Constant();\n\n }\n\n}", "title": "" }, { "docid": "9bcb95194fc177a9bab635f7936fb923", "score": "0.48889634", "text": "public Module() {\n }", "title": "" }, { "docid": "08150c169faaa3adcfeedc3a254edba7", "score": "0.4888461", "text": "public interface AsdPackage extends EPackage {\r\n\t/**\r\n\t * The package name.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t */\r\n\tString eNAME = \"asd\";\r\n\r\n\t/**\r\n\t * The package namespace URI.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t */\r\n\tString eNS_URI = \"http:///asd.ecore\";\r\n\r\n\t/**\r\n\t * The package namespace name.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t */\r\n\tString eNS_PREFIX = \"asd\";\r\n\r\n\t/**\r\n\t * The singleton instance of the package.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t */\r\n\tAsdPackage eINSTANCE = asd.impl.AsdPackageImpl.init();\r\n\r\n\t/**\r\n\t * The meta object id for the '{@link asd.impl.ASDspecImpl <em>AS Dspec</em>}' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @see asd.impl.ASDspecImpl\r\n\t * @see asd.impl.AsdPackageImpl#getASDspec()\r\n\t * @generated\r\n\t */\r\n\tint AS_DSPEC = 0;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>AS Network</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DSPEC__AS_NETWORK = 0;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Motivation</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DSPEC__MOTIVATION = 1;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Outcome</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DSPEC__OUTCOME = 2;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Dols</b></em>' containment reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DSPEC__DOLS = 3;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Subjects</b></em>' containment reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DSPEC__SUBJECTS = 4;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Communities</b></em>' containment reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DSPEC__COMMUNITIES = 5;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Objects</b></em>' containment reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DSPEC__OBJECTS = 6;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Outcomes</b></em>' containment reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DSPEC__OUTCOMES = 7;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Motivations</b></em>' containment reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DSPEC__MOTIVATIONS = 8;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Tools</b></em>' containment reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DSPEC__TOOLS = 9;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Rules</b></em>' containment reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DSPEC__RULES = 10;\r\n\r\n\t/**\r\n\t * The number of structural features of the '<em>AS Dspec</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DSPEC_FEATURE_COUNT = 11;\r\n\r\n\t/**\r\n\t * The number of operations of the '<em>AS Dspec</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DSPEC_OPERATION_COUNT = 0;\r\n\r\n\t/**\r\n\t * The meta object id for the '{@link asd.impl.ASDmodelElementImpl <em>AS Dmodel Element</em>}' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @see asd.impl.ASDmodelElementImpl\r\n\t * @see asd.impl.AsdPackageImpl#getASDmodelElement()\r\n\t * @generated\r\n\t */\r\n\tint AS_DMODEL_ELEMENT = 6;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DMODEL_ELEMENT__NAME = UrncorePackage.UR_NMODEL_ELEMENT__NAME;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>From Links</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DMODEL_ELEMENT__FROM_LINKS = UrncorePackage.UR_NMODEL_ELEMENT__FROM_LINKS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>To Links</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DMODEL_ELEMENT__TO_LINKS = UrncorePackage.UR_NMODEL_ELEMENT__TO_LINKS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Id</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DMODEL_ELEMENT__ID = UrncorePackage.UR_NMODEL_ELEMENT__ID;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Description</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DMODEL_ELEMENT__DESCRIPTION = UrncorePackage.UR_NMODEL_ELEMENT__DESCRIPTION;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Metadata</b></em>' containment reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DMODEL_ELEMENT__METADATA = UrncorePackage.UR_NMODEL_ELEMENT__METADATA;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Inconcern</b></em>' reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DMODEL_ELEMENT__INCONCERN = UrncorePackage.UR_NMODEL_ELEMENT__INCONCERN;\r\n\r\n\t/**\r\n\t * The number of structural features of the '<em>AS Dmodel Element</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DMODEL_ELEMENT_FEATURE_COUNT = UrncorePackage.UR_NMODEL_ELEMENT_FEATURE_COUNT + 0;\r\n\r\n\t/**\r\n\t * The number of operations of the '<em>AS Dmodel Element</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DMODEL_ELEMENT_OPERATION_COUNT = UrncorePackage.UR_NMODEL_ELEMENT_OPERATION_COUNT + 0;\r\n\r\n\t/**\r\n\t * The meta object id for the '{@link asd.impl.ASDelementImpl <em>AS Delement</em>}' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @see asd.impl.ASDelementImpl\r\n\t * @see asd.impl.AsdPackageImpl#getASDelement()\r\n\t * @generated\r\n\t */\r\n\tint AS_DELEMENT = 1;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DELEMENT__NAME = AS_DMODEL_ELEMENT__NAME;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>From Links</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DELEMENT__FROM_LINKS = AS_DMODEL_ELEMENT__FROM_LINKS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>To Links</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DELEMENT__TO_LINKS = AS_DMODEL_ELEMENT__TO_LINKS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Id</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DELEMENT__ID = AS_DMODEL_ELEMENT__ID;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Description</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DELEMENT__DESCRIPTION = AS_DMODEL_ELEMENT__DESCRIPTION;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Metadata</b></em>' containment reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DELEMENT__METADATA = AS_DMODEL_ELEMENT__METADATA;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Inconcern</b></em>' reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DELEMENT__INCONCERN = AS_DMODEL_ELEMENT__INCONCERN;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Diagrams</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DELEMENT__DIAGRAMS = AS_DMODEL_ELEMENT_FEATURE_COUNT + 0;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Parent Elements</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DELEMENT__PARENT_ELEMENTS = AS_DMODEL_ELEMENT_FEATURE_COUNT + 1;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Refined Elements</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DELEMENT__REFINED_ELEMENTS = AS_DMODEL_ELEMENT_FEATURE_COUNT + 2;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Required Outcomes</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DELEMENT__REQUIRED_OUTCOMES = AS_DMODEL_ELEMENT_FEATURE_COUNT + 3;\r\n\r\n\t/**\r\n\t * The number of structural features of the '<em>AS Delement</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DELEMENT_FEATURE_COUNT = AS_DMODEL_ELEMENT_FEATURE_COUNT + 4;\r\n\r\n\t/**\r\n\t * The number of operations of the '<em>AS Delement</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DELEMENT_OPERATION_COUNT = AS_DMODEL_ELEMENT_OPERATION_COUNT + 0;\r\n\r\n\t/**\r\n\t * The meta object id for the '{@link asd.impl.ASDiagramImpl <em>AS Diagram</em>}' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @see asd.impl.ASDiagramImpl\r\n\t * @see asd.impl.AsdPackageImpl#getASDiagram()\r\n\t * @generated\r\n\t */\r\n\tint AS_DIAGRAM = 2;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DIAGRAM__NAME = AS_DMODEL_ELEMENT__NAME;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>From Links</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DIAGRAM__FROM_LINKS = AS_DMODEL_ELEMENT__FROM_LINKS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>To Links</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DIAGRAM__TO_LINKS = AS_DMODEL_ELEMENT__TO_LINKS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Id</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DIAGRAM__ID = AS_DMODEL_ELEMENT__ID;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Description</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DIAGRAM__DESCRIPTION = AS_DMODEL_ELEMENT__DESCRIPTION;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Metadata</b></em>' containment reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DIAGRAM__METADATA = AS_DMODEL_ELEMENT__METADATA;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Inconcern</b></em>' reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DIAGRAM__INCONCERN = AS_DMODEL_ELEMENT__INCONCERN;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Urndefinition</b></em>' container reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DIAGRAM__URNDEFINITION = AS_DMODEL_ELEMENT_FEATURE_COUNT + 0;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Nodes</b></em>' containment reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DIAGRAM__NODES = AS_DMODEL_ELEMENT_FEATURE_COUNT + 1;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Cont Refs</b></em>' containment reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DIAGRAM__CONT_REFS = AS_DMODEL_ELEMENT_FEATURE_COUNT + 2;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Connections</b></em>' containment reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DIAGRAM__CONNECTIONS = AS_DMODEL_ELEMENT_FEATURE_COUNT + 3;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Concern</b></em>' reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DIAGRAM__CONCERN = AS_DMODEL_ELEMENT_FEATURE_COUNT + 4;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Comments</b></em>' containment reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DIAGRAM__COMMENTS = AS_DMODEL_ELEMENT_FEATURE_COUNT + 5;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Elements</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DIAGRAM__ELEMENTS = AS_DMODEL_ELEMENT_FEATURE_COUNT + 6;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>ASD</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DIAGRAM__ASD = AS_DMODEL_ELEMENT_FEATURE_COUNT + 7;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Related ASD</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DIAGRAM__RELATED_ASD = AS_DMODEL_ELEMENT_FEATURE_COUNT + 8;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Mediations</b></em>' containment reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DIAGRAM__MEDIATIONS = AS_DMODEL_ELEMENT_FEATURE_COUNT + 9;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Asd Layouts</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DIAGRAM__ASD_LAYOUTS = AS_DMODEL_ELEMENT_FEATURE_COUNT + 10;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Parent Do Ls</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DIAGRAM__PARENT_DO_LS = AS_DMODEL_ELEMENT_FEATURE_COUNT + 11;\r\n\r\n\t/**\r\n\t * The number of structural features of the '<em>AS Diagram</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DIAGRAM_FEATURE_COUNT = AS_DMODEL_ELEMENT_FEATURE_COUNT + 12;\r\n\r\n\t/**\r\n\t * The number of operations of the '<em>AS Diagram</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DIAGRAM_OPERATION_COUNT = AS_DMODEL_ELEMENT_OPERATION_COUNT + 0;\r\n\r\n\t/**\r\n\t * The meta object id for the '{@link asd.impl.MediatingElementImpl <em>Mediating Element</em>}' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @see asd.impl.MediatingElementImpl\r\n\t * @see asd.impl.AsdPackageImpl#getMediatingElement()\r\n\t * @generated\r\n\t */\r\n\tint MEDIATING_ELEMENT = 3;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATING_ELEMENT__NAME = AS_DELEMENT__NAME;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>From Links</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATING_ELEMENT__FROM_LINKS = AS_DELEMENT__FROM_LINKS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>To Links</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATING_ELEMENT__TO_LINKS = AS_DELEMENT__TO_LINKS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Id</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATING_ELEMENT__ID = AS_DELEMENT__ID;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Description</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATING_ELEMENT__DESCRIPTION = AS_DELEMENT__DESCRIPTION;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Metadata</b></em>' containment reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATING_ELEMENT__METADATA = AS_DELEMENT__METADATA;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Inconcern</b></em>' reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATING_ELEMENT__INCONCERN = AS_DELEMENT__INCONCERN;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Diagrams</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATING_ELEMENT__DIAGRAMS = AS_DELEMENT__DIAGRAMS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Parent Elements</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATING_ELEMENT__PARENT_ELEMENTS = AS_DELEMENT__PARENT_ELEMENTS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Refined Elements</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATING_ELEMENT__REFINED_ELEMENTS = AS_DELEMENT__REFINED_ELEMENTS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Required Outcomes</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATING_ELEMENT__REQUIRED_OUTCOMES = AS_DELEMENT__REQUIRED_OUTCOMES;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Mediations</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATING_ELEMENT__MEDIATIONS = AS_DELEMENT_FEATURE_COUNT + 0;\r\n\r\n\t/**\r\n\t * The number of structural features of the '<em>Mediating Element</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATING_ELEMENT_FEATURE_COUNT = AS_DELEMENT_FEATURE_COUNT + 1;\r\n\r\n\t/**\r\n\t * The number of operations of the '<em>Mediating Element</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATING_ELEMENT_OPERATION_COUNT = AS_DELEMENT_OPERATION_COUNT + 0;\r\n\r\n\t/**\r\n\t * The meta object id for the '{@link asd.impl.MediationImpl <em>Mediation</em>}' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @see asd.impl.MediationImpl\r\n\t * @see asd.impl.AsdPackageImpl#getMediation()\r\n\t * @generated\r\n\t */\r\n\tint MEDIATION = 4;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATION__NAME = AS_DMODEL_ELEMENT__NAME;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>From Links</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATION__FROM_LINKS = AS_DMODEL_ELEMENT__FROM_LINKS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>To Links</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATION__TO_LINKS = AS_DMODEL_ELEMENT__TO_LINKS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Id</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATION__ID = AS_DMODEL_ELEMENT__ID;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Description</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATION__DESCRIPTION = AS_DMODEL_ELEMENT__DESCRIPTION;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Metadata</b></em>' containment reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATION__METADATA = AS_DMODEL_ELEMENT__METADATA;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Inconcern</b></em>' reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATION__INCONCERN = AS_DMODEL_ELEMENT__INCONCERN;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Mediated By</b></em>' reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATION__MEDIATED_BY = AS_DMODEL_ELEMENT_FEATURE_COUNT + 0;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Mediates</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATION__MEDIATES = AS_DMODEL_ELEMENT_FEATURE_COUNT + 1;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Relevant ASD</b></em>' container reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATION__RELEVANT_ASD = AS_DMODEL_ELEMENT_FEATURE_COUNT + 2;\r\n\r\n\t/**\r\n\t * The number of structural features of the '<em>Mediation</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATION_FEATURE_COUNT = AS_DMODEL_ELEMENT_FEATURE_COUNT + 3;\r\n\r\n\t/**\r\n\t * The number of operations of the '<em>Mediation</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATION_OPERATION_COUNT = AS_DMODEL_ELEMENT_OPERATION_COUNT + 0;\r\n\r\n\t/**\r\n\t * The meta object id for the '{@link asd.impl.MediatedElementImpl <em>Mediated Element</em>}' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @see asd.impl.MediatedElementImpl\r\n\t * @see asd.impl.AsdPackageImpl#getMediatedElement()\r\n\t * @generated\r\n\t */\r\n\tint MEDIATED_ELEMENT = 5;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATED_ELEMENT__NAME = AS_DELEMENT__NAME;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>From Links</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATED_ELEMENT__FROM_LINKS = AS_DELEMENT__FROM_LINKS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>To Links</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATED_ELEMENT__TO_LINKS = AS_DELEMENT__TO_LINKS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Id</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATED_ELEMENT__ID = AS_DELEMENT__ID;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Description</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATED_ELEMENT__DESCRIPTION = AS_DELEMENT__DESCRIPTION;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Metadata</b></em>' containment reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATED_ELEMENT__METADATA = AS_DELEMENT__METADATA;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Inconcern</b></em>' reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATED_ELEMENT__INCONCERN = AS_DELEMENT__INCONCERN;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Diagrams</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATED_ELEMENT__DIAGRAMS = AS_DELEMENT__DIAGRAMS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Parent Elements</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATED_ELEMENT__PARENT_ELEMENTS = AS_DELEMENT__PARENT_ELEMENTS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Refined Elements</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATED_ELEMENT__REFINED_ELEMENTS = AS_DELEMENT__REFINED_ELEMENTS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Required Outcomes</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATED_ELEMENT__REQUIRED_OUTCOMES = AS_DELEMENT__REQUIRED_OUTCOMES;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Mediations</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATED_ELEMENT__MEDIATIONS = AS_DELEMENT_FEATURE_COUNT + 0;\r\n\r\n\t/**\r\n\t * The number of structural features of the '<em>Mediated Element</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATED_ELEMENT_FEATURE_COUNT = AS_DELEMENT_FEATURE_COUNT + 1;\r\n\r\n\t/**\r\n\t * The number of operations of the '<em>Mediated Element</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MEDIATED_ELEMENT_OPERATION_COUNT = AS_DELEMENT_OPERATION_COUNT + 0;\r\n\r\n\t/**\r\n\t * The meta object id for the '{@link asd.impl.ASNetworkImpl <em>AS Network</em>}' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @see asd.impl.ASNetworkImpl\r\n\t * @see asd.impl.AsdPackageImpl#getASNetwork()\r\n\t * @generated\r\n\t */\r\n\tint AS_NETWORK = 7;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Urndefinition</b></em>' container reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_NETWORK__URNDEFINITION = UrncorePackage.IURN_DIAGRAM__URNDEFINITION;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Nodes</b></em>' containment reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_NETWORK__NODES = UrncorePackage.IURN_DIAGRAM__NODES;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Cont Refs</b></em>' containment reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_NETWORK__CONT_REFS = UrncorePackage.IURN_DIAGRAM__CONT_REFS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Connections</b></em>' containment reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_NETWORK__CONNECTIONS = UrncorePackage.IURN_DIAGRAM__CONNECTIONS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Concern</b></em>' reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_NETWORK__CONCERN = UrncorePackage.IURN_DIAGRAM__CONCERN;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Comments</b></em>' containment reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_NETWORK__COMMENTS = UrncorePackage.IURN_DIAGRAM__COMMENTS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>AS Dspec</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_NETWORK__AS_DSPEC = UrncorePackage.IURN_DIAGRAM_FEATURE_COUNT + 0;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Asd Layouts</b></em>' containment reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_NETWORK__ASD_LAYOUTS = UrncorePackage.IURN_DIAGRAM_FEATURE_COUNT + 1;\r\n\r\n\t/**\r\n\t * The number of structural features of the '<em>AS Network</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_NETWORK_FEATURE_COUNT = UrncorePackage.IURN_DIAGRAM_FEATURE_COUNT + 2;\r\n\r\n\t/**\r\n\t * The number of operations of the '<em>AS Network</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_NETWORK_OPERATION_COUNT = UrncorePackage.IURN_DIAGRAM_OPERATION_COUNT + 0;\r\n\r\n\t/**\r\n\t * The meta object id for the '{@link asd.impl.ASDlayoutImpl <em>AS Dlayout</em>}' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @see asd.impl.ASDlayoutImpl\r\n\t * @see asd.impl.AsdPackageImpl#getASDlayout()\r\n\t * @generated\r\n\t */\r\n\tint AS_DLAYOUT = 8;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>X</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DLAYOUT__X = 0;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Y</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DLAYOUT__Y = 1;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Width</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DLAYOUT__WIDTH = 2;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Height</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DLAYOUT__HEIGHT = 3;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Collapsed</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DLAYOUT__COLLAPSED = 4;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>As Network</b></em>' container reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DLAYOUT__AS_NETWORK = 5;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>As Diagram</b></em>' reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DLAYOUT__AS_DIAGRAM = 6;\r\n\r\n\t/**\r\n\t * The number of structural features of the '<em>AS Dlayout</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DLAYOUT_FEATURE_COUNT = 7;\r\n\r\n\t/**\r\n\t * The number of operations of the '<em>AS Dlayout</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint AS_DLAYOUT_OPERATION_COUNT = 0;\r\n\r\n\t/**\r\n\t * The meta object id for the '{@link asd.impl.ToolImpl <em>Tool</em>}' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @see asd.impl.ToolImpl\r\n\t * @see asd.impl.AsdPackageImpl#getTool()\r\n\t * @generated\r\n\t */\r\n\tint TOOL = 9;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint TOOL__NAME = MEDIATING_ELEMENT__NAME;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>From Links</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint TOOL__FROM_LINKS = MEDIATING_ELEMENT__FROM_LINKS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>To Links</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint TOOL__TO_LINKS = MEDIATING_ELEMENT__TO_LINKS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Id</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint TOOL__ID = MEDIATING_ELEMENT__ID;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Description</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint TOOL__DESCRIPTION = MEDIATING_ELEMENT__DESCRIPTION;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Metadata</b></em>' containment reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint TOOL__METADATA = MEDIATING_ELEMENT__METADATA;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Inconcern</b></em>' reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint TOOL__INCONCERN = MEDIATING_ELEMENT__INCONCERN;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Diagrams</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint TOOL__DIAGRAMS = MEDIATING_ELEMENT__DIAGRAMS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Parent Elements</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint TOOL__PARENT_ELEMENTS = MEDIATING_ELEMENT__PARENT_ELEMENTS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Refined Elements</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint TOOL__REFINED_ELEMENTS = MEDIATING_ELEMENT__REFINED_ELEMENTS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Required Outcomes</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint TOOL__REQUIRED_OUTCOMES = MEDIATING_ELEMENT__REQUIRED_OUTCOMES;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Mediations</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint TOOL__MEDIATIONS = MEDIATING_ELEMENT__MEDIATIONS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Asd Spec</b></em>' container reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint TOOL__ASD_SPEC = MEDIATING_ELEMENT_FEATURE_COUNT + 0;\r\n\r\n\t/**\r\n\t * The number of structural features of the '<em>Tool</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint TOOL_FEATURE_COUNT = MEDIATING_ELEMENT_FEATURE_COUNT + 1;\r\n\r\n\t/**\r\n\t * The number of operations of the '<em>Tool</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint TOOL_OPERATION_COUNT = MEDIATING_ELEMENT_OPERATION_COUNT + 0;\r\n\r\n\t/**\r\n\t * The meta object id for the '{@link asd.impl.RuleImpl <em>Rule</em>}' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @see asd.impl.RuleImpl\r\n\t * @see asd.impl.AsdPackageImpl#getRule()\r\n\t * @generated\r\n\t */\r\n\tint RULE = 10;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint RULE__NAME = MEDIATING_ELEMENT__NAME;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>From Links</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint RULE__FROM_LINKS = MEDIATING_ELEMENT__FROM_LINKS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>To Links</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint RULE__TO_LINKS = MEDIATING_ELEMENT__TO_LINKS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Id</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint RULE__ID = MEDIATING_ELEMENT__ID;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Description</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint RULE__DESCRIPTION = MEDIATING_ELEMENT__DESCRIPTION;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Metadata</b></em>' containment reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint RULE__METADATA = MEDIATING_ELEMENT__METADATA;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Inconcern</b></em>' reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint RULE__INCONCERN = MEDIATING_ELEMENT__INCONCERN;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Diagrams</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint RULE__DIAGRAMS = MEDIATING_ELEMENT__DIAGRAMS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Parent Elements</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint RULE__PARENT_ELEMENTS = MEDIATING_ELEMENT__PARENT_ELEMENTS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Refined Elements</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint RULE__REFINED_ELEMENTS = MEDIATING_ELEMENT__REFINED_ELEMENTS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Required Outcomes</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint RULE__REQUIRED_OUTCOMES = MEDIATING_ELEMENT__REQUIRED_OUTCOMES;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Mediations</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint RULE__MEDIATIONS = MEDIATING_ELEMENT__MEDIATIONS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Dols</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint RULE__DOLS = MEDIATING_ELEMENT_FEATURE_COUNT + 0;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Asd Spec</b></em>' container reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint RULE__ASD_SPEC = MEDIATING_ELEMENT_FEATURE_COUNT + 1;\r\n\r\n\t/**\r\n\t * The number of structural features of the '<em>Rule</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint RULE_FEATURE_COUNT = MEDIATING_ELEMENT_FEATURE_COUNT + 2;\r\n\r\n\t/**\r\n\t * The number of operations of the '<em>Rule</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint RULE_OPERATION_COUNT = MEDIATING_ELEMENT_OPERATION_COUNT + 0;\r\n\r\n\t/**\r\n\t * The meta object id for the '{@link asd.impl.DivisionOfLabourImpl <em>Division Of Labour</em>}' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @see asd.impl.DivisionOfLabourImpl\r\n\t * @see asd.impl.AsdPackageImpl#getDivisionOfLabour()\r\n\t * @generated\r\n\t */\r\n\tint DIVISION_OF_LABOUR = 11;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint DIVISION_OF_LABOUR__NAME = MEDIATING_ELEMENT__NAME;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>From Links</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint DIVISION_OF_LABOUR__FROM_LINKS = MEDIATING_ELEMENT__FROM_LINKS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>To Links</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint DIVISION_OF_LABOUR__TO_LINKS = MEDIATING_ELEMENT__TO_LINKS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Id</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint DIVISION_OF_LABOUR__ID = MEDIATING_ELEMENT__ID;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Description</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint DIVISION_OF_LABOUR__DESCRIPTION = MEDIATING_ELEMENT__DESCRIPTION;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Metadata</b></em>' containment reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint DIVISION_OF_LABOUR__METADATA = MEDIATING_ELEMENT__METADATA;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Inconcern</b></em>' reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint DIVISION_OF_LABOUR__INCONCERN = MEDIATING_ELEMENT__INCONCERN;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Diagrams</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint DIVISION_OF_LABOUR__DIAGRAMS = MEDIATING_ELEMENT__DIAGRAMS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Parent Elements</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint DIVISION_OF_LABOUR__PARENT_ELEMENTS = MEDIATING_ELEMENT__PARENT_ELEMENTS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Refined Elements</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint DIVISION_OF_LABOUR__REFINED_ELEMENTS = MEDIATING_ELEMENT__REFINED_ELEMENTS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Required Outcomes</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint DIVISION_OF_LABOUR__REQUIRED_OUTCOMES = MEDIATING_ELEMENT__REQUIRED_OUTCOMES;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Mediations</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint DIVISION_OF_LABOUR__MEDIATIONS = MEDIATING_ELEMENT__MEDIATIONS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Rules</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint DIVISION_OF_LABOUR__RULES = MEDIATING_ELEMENT_FEATURE_COUNT + 0;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Refined Diagrams</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint DIVISION_OF_LABOUR__REFINED_DIAGRAMS = MEDIATING_ELEMENT_FEATURE_COUNT + 1;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Performed By</b></em>' reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint DIVISION_OF_LABOUR__PERFORMED_BY = MEDIATING_ELEMENT_FEATURE_COUNT + 2;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Asd Spec</b></em>' container reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint DIVISION_OF_LABOUR__ASD_SPEC = MEDIATING_ELEMENT_FEATURE_COUNT + 3;\r\n\r\n\t/**\r\n\t * The number of structural features of the '<em>Division Of Labour</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint DIVISION_OF_LABOUR_FEATURE_COUNT = MEDIATING_ELEMENT_FEATURE_COUNT + 4;\r\n\r\n\t/**\r\n\t * The number of operations of the '<em>Division Of Labour</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint DIVISION_OF_LABOUR_OPERATION_COUNT = MEDIATING_ELEMENT_OPERATION_COUNT + 0;\r\n\r\n\t/**\r\n\t * The meta object id for the '{@link asd.impl.CommunityImpl <em>Community</em>}' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @see asd.impl.CommunityImpl\r\n\t * @see asd.impl.AsdPackageImpl#getCommunity()\r\n\t * @generated\r\n\t */\r\n\tint COMMUNITY = 12;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint COMMUNITY__NAME = MEDIATED_ELEMENT__NAME;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>From Links</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint COMMUNITY__FROM_LINKS = MEDIATED_ELEMENT__FROM_LINKS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>To Links</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint COMMUNITY__TO_LINKS = MEDIATED_ELEMENT__TO_LINKS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Id</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint COMMUNITY__ID = MEDIATED_ELEMENT__ID;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Description</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint COMMUNITY__DESCRIPTION = MEDIATED_ELEMENT__DESCRIPTION;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Metadata</b></em>' containment reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint COMMUNITY__METADATA = MEDIATED_ELEMENT__METADATA;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Inconcern</b></em>' reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint COMMUNITY__INCONCERN = MEDIATED_ELEMENT__INCONCERN;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Diagrams</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint COMMUNITY__DIAGRAMS = MEDIATED_ELEMENT__DIAGRAMS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Parent Elements</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint COMMUNITY__PARENT_ELEMENTS = MEDIATED_ELEMENT__PARENT_ELEMENTS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Refined Elements</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint COMMUNITY__REFINED_ELEMENTS = MEDIATED_ELEMENT__REFINED_ELEMENTS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Required Outcomes</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint COMMUNITY__REQUIRED_OUTCOMES = MEDIATED_ELEMENT__REQUIRED_OUTCOMES;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Mediations</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint COMMUNITY__MEDIATIONS = MEDIATED_ELEMENT__MEDIATIONS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Performs</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint COMMUNITY__PERFORMS = MEDIATED_ELEMENT_FEATURE_COUNT + 0;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Asd Spec</b></em>' container reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint COMMUNITY__ASD_SPEC = MEDIATED_ELEMENT_FEATURE_COUNT + 1;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Subject</b></em>' reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint COMMUNITY__SUBJECT = MEDIATED_ELEMENT_FEATURE_COUNT + 2;\r\n\r\n\t/**\r\n\t * The number of structural features of the '<em>Community</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint COMMUNITY_FEATURE_COUNT = MEDIATED_ELEMENT_FEATURE_COUNT + 3;\r\n\r\n\t/**\r\n\t * The number of operations of the '<em>Community</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint COMMUNITY_OPERATION_COUNT = MEDIATED_ELEMENT_OPERATION_COUNT + 0;\r\n\r\n\t/**\r\n\t * The meta object id for the '{@link asd.impl.SubjectImpl <em>Subject</em>}' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @see asd.impl.SubjectImpl\r\n\t * @see asd.impl.AsdPackageImpl#getSubject()\r\n\t * @generated\r\n\t */\r\n\tint SUBJECT = 13;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint SUBJECT__NAME = MEDIATED_ELEMENT__NAME;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>From Links</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint SUBJECT__FROM_LINKS = MEDIATED_ELEMENT__FROM_LINKS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>To Links</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint SUBJECT__TO_LINKS = MEDIATED_ELEMENT__TO_LINKS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Id</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint SUBJECT__ID = MEDIATED_ELEMENT__ID;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Description</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint SUBJECT__DESCRIPTION = MEDIATED_ELEMENT__DESCRIPTION;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Metadata</b></em>' containment reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint SUBJECT__METADATA = MEDIATED_ELEMENT__METADATA;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Inconcern</b></em>' reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint SUBJECT__INCONCERN = MEDIATED_ELEMENT__INCONCERN;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Diagrams</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint SUBJECT__DIAGRAMS = MEDIATED_ELEMENT__DIAGRAMS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Parent Elements</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint SUBJECT__PARENT_ELEMENTS = MEDIATED_ELEMENT__PARENT_ELEMENTS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Refined Elements</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint SUBJECT__REFINED_ELEMENTS = MEDIATED_ELEMENT__REFINED_ELEMENTS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Required Outcomes</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint SUBJECT__REQUIRED_OUTCOMES = MEDIATED_ELEMENT__REQUIRED_OUTCOMES;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Mediations</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint SUBJECT__MEDIATIONS = MEDIATED_ELEMENT__MEDIATIONS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Asd Spec</b></em>' container reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint SUBJECT__ASD_SPEC = MEDIATED_ELEMENT_FEATURE_COUNT + 0;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Member Of</b></em>' reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint SUBJECT__MEMBER_OF = MEDIATED_ELEMENT_FEATURE_COUNT + 1;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Objects</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint SUBJECT__OBJECTS = MEDIATED_ELEMENT_FEATURE_COUNT + 2;\r\n\r\n\t/**\r\n\t * The number of structural features of the '<em>Subject</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint SUBJECT_FEATURE_COUNT = MEDIATED_ELEMENT_FEATURE_COUNT + 3;\r\n\r\n\t/**\r\n\t * The number of operations of the '<em>Subject</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint SUBJECT_OPERATION_COUNT = MEDIATED_ELEMENT_OPERATION_COUNT + 0;\r\n\r\n\t/**\r\n\t * The meta object id for the '{@link asd.impl.ObjectImpl <em>Object</em>}' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @see asd.impl.ObjectImpl\r\n\t * @see asd.impl.AsdPackageImpl#getObject()\r\n\t * @generated\r\n\t */\r\n\tint OBJECT = 14;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OBJECT__NAME = MEDIATED_ELEMENT__NAME;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>From Links</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OBJECT__FROM_LINKS = MEDIATED_ELEMENT__FROM_LINKS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>To Links</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OBJECT__TO_LINKS = MEDIATED_ELEMENT__TO_LINKS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Id</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OBJECT__ID = MEDIATED_ELEMENT__ID;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Description</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OBJECT__DESCRIPTION = MEDIATED_ELEMENT__DESCRIPTION;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Metadata</b></em>' containment reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OBJECT__METADATA = MEDIATED_ELEMENT__METADATA;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Inconcern</b></em>' reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OBJECT__INCONCERN = MEDIATED_ELEMENT__INCONCERN;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Diagrams</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OBJECT__DIAGRAMS = MEDIATED_ELEMENT__DIAGRAMS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Parent Elements</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OBJECT__PARENT_ELEMENTS = MEDIATED_ELEMENT__PARENT_ELEMENTS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Refined Elements</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OBJECT__REFINED_ELEMENTS = MEDIATED_ELEMENT__REFINED_ELEMENTS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Required Outcomes</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OBJECT__REQUIRED_OUTCOMES = MEDIATED_ELEMENT__REQUIRED_OUTCOMES;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Mediations</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OBJECT__MEDIATIONS = MEDIATED_ELEMENT__MEDIATIONS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Asd Spec</b></em>' container reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OBJECT__ASD_SPEC = MEDIATED_ELEMENT_FEATURE_COUNT + 0;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Outcomes</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OBJECT__OUTCOMES = MEDIATED_ELEMENT_FEATURE_COUNT + 1;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Subjects</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OBJECT__SUBJECTS = MEDIATED_ELEMENT_FEATURE_COUNT + 2;\r\n\r\n\t/**\r\n\t * The number of structural features of the '<em>Object</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OBJECT_FEATURE_COUNT = MEDIATED_ELEMENT_FEATURE_COUNT + 3;\r\n\r\n\t/**\r\n\t * The number of operations of the '<em>Object</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OBJECT_OPERATION_COUNT = MEDIATED_ELEMENT_OPERATION_COUNT + 0;\r\n\r\n\t/**\r\n\t * The meta object id for the '{@link asd.impl.MotivationImpl <em>Motivation</em>}' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @see asd.impl.MotivationImpl\r\n\t * @see asd.impl.AsdPackageImpl#getMotivation()\r\n\t * @generated\r\n\t */\r\n\tint MOTIVATION = 15;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MOTIVATION__NAME = AS_DELEMENT__NAME;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>From Links</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MOTIVATION__FROM_LINKS = AS_DELEMENT__FROM_LINKS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>To Links</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MOTIVATION__TO_LINKS = AS_DELEMENT__TO_LINKS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Id</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MOTIVATION__ID = AS_DELEMENT__ID;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Description</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MOTIVATION__DESCRIPTION = AS_DELEMENT__DESCRIPTION;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Metadata</b></em>' containment reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MOTIVATION__METADATA = AS_DELEMENT__METADATA;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Inconcern</b></em>' reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MOTIVATION__INCONCERN = AS_DELEMENT__INCONCERN;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Diagrams</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MOTIVATION__DIAGRAMS = AS_DELEMENT__DIAGRAMS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Parent Elements</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MOTIVATION__PARENT_ELEMENTS = AS_DELEMENT__PARENT_ELEMENTS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Refined Elements</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MOTIVATION__REFINED_ELEMENTS = AS_DELEMENT__REFINED_ELEMENTS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Required Outcomes</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MOTIVATION__REQUIRED_OUTCOMES = AS_DELEMENT__REQUIRED_OUTCOMES;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Asd Spec</b></em>' container reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MOTIVATION__ASD_SPEC = AS_DELEMENT_FEATURE_COUNT + 0;\r\n\r\n\t/**\r\n\t * The number of structural features of the '<em>Motivation</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MOTIVATION_FEATURE_COUNT = AS_DELEMENT_FEATURE_COUNT + 1;\r\n\r\n\t/**\r\n\t * The number of operations of the '<em>Motivation</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint MOTIVATION_OPERATION_COUNT = AS_DELEMENT_OPERATION_COUNT + 0;\r\n\r\n\t/**\r\n\t * The meta object id for the '{@link asd.impl.OutcomeImpl <em>Outcome</em>}' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @see asd.impl.OutcomeImpl\r\n\t * @see asd.impl.AsdPackageImpl#getOutcome()\r\n\t * @generated\r\n\t */\r\n\tint OUTCOME = 16;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OUTCOME__NAME = AS_DELEMENT__NAME;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>From Links</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OUTCOME__FROM_LINKS = AS_DELEMENT__FROM_LINKS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>To Links</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OUTCOME__TO_LINKS = AS_DELEMENT__TO_LINKS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Id</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OUTCOME__ID = AS_DELEMENT__ID;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Description</b></em>' attribute.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OUTCOME__DESCRIPTION = AS_DELEMENT__DESCRIPTION;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Metadata</b></em>' containment reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OUTCOME__METADATA = AS_DELEMENT__METADATA;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Inconcern</b></em>' reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OUTCOME__INCONCERN = AS_DELEMENT__INCONCERN;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Diagrams</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OUTCOME__DIAGRAMS = AS_DELEMENT__DIAGRAMS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Parent Elements</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OUTCOME__PARENT_ELEMENTS = AS_DELEMENT__PARENT_ELEMENTS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Refined Elements</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OUTCOME__REFINED_ELEMENTS = AS_DELEMENT__REFINED_ELEMENTS;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Required Outcomes</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OUTCOME__REQUIRED_OUTCOMES = AS_DELEMENT__REQUIRED_OUTCOMES;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Enabled Elements</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OUTCOME__ENABLED_ELEMENTS = AS_DELEMENT_FEATURE_COUNT + 0;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Asd Spec</b></em>' container reference.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OUTCOME__ASD_SPEC = AS_DELEMENT_FEATURE_COUNT + 1;\r\n\r\n\t/**\r\n\t * The feature id for the '<em><b>Objects</b></em>' reference list.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OUTCOME__OBJECTS = AS_DELEMENT_FEATURE_COUNT + 2;\r\n\r\n\t/**\r\n\t * The number of structural features of the '<em>Outcome</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OUTCOME_FEATURE_COUNT = AS_DELEMENT_FEATURE_COUNT + 3;\r\n\r\n\t/**\r\n\t * The number of operations of the '<em>Outcome</em>' class.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t * @ordered\r\n\t */\r\n\tint OUTCOME_OPERATION_COUNT = AS_DELEMENT_OPERATION_COUNT + 0;\r\n\r\n\r\n\t/**\r\n\t * Returns the meta object for class '{@link asd.ASDspec <em>AS Dspec</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for class '<em>AS Dspec</em>'.\r\n\t * @see asd.ASDspec\r\n\t * @generated\r\n\t */\r\n\tEClass getASDspec();\r\n\r\n\t/**\r\n\t * Returns the meta object for the reference list '{@link asd.ASDspec#getASNetwork <em>AS Network</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the reference list '<em>AS Network</em>'.\r\n\t * @see asd.ASDspec#getASNetwork()\r\n\t * @see #getASDspec()\r\n\t * @generated\r\n\t */\r\n\tEReference getASDspec_ASNetwork();\r\n\r\n\t/**\r\n\t * Returns the meta object for the reference list '{@link asd.ASDspec#getMotivation <em>Motivation</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the reference list '<em>Motivation</em>'.\r\n\t * @see asd.ASDspec#getMotivation()\r\n\t * @see #getASDspec()\r\n\t * @generated\r\n\t */\r\n\tEReference getASDspec_Motivation();\r\n\r\n\t/**\r\n\t * Returns the meta object for the reference list '{@link asd.ASDspec#getOutcome <em>Outcome</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the reference list '<em>Outcome</em>'.\r\n\t * @see asd.ASDspec#getOutcome()\r\n\t * @see #getASDspec()\r\n\t * @generated\r\n\t */\r\n\tEReference getASDspec_Outcome();\r\n\r\n\t/**\r\n\t * Returns the meta object for the containment reference list '{@link asd.ASDspec#getDols <em>Dols</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the containment reference list '<em>Dols</em>'.\r\n\t * @see asd.ASDspec#getDols()\r\n\t * @see #getASDspec()\r\n\t * @generated\r\n\t */\r\n\tEReference getASDspec_Dols();\r\n\r\n\t/**\r\n\t * Returns the meta object for the containment reference list '{@link asd.ASDspec#getSubjects <em>Subjects</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the containment reference list '<em>Subjects</em>'.\r\n\t * @see asd.ASDspec#getSubjects()\r\n\t * @see #getASDspec()\r\n\t * @generated\r\n\t */\r\n\tEReference getASDspec_Subjects();\r\n\r\n\t/**\r\n\t * Returns the meta object for the containment reference list '{@link asd.ASDspec#getCommunities <em>Communities</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the containment reference list '<em>Communities</em>'.\r\n\t * @see asd.ASDspec#getCommunities()\r\n\t * @see #getASDspec()\r\n\t * @generated\r\n\t */\r\n\tEReference getASDspec_Communities();\r\n\r\n\t/**\r\n\t * Returns the meta object for the containment reference list '{@link asd.ASDspec#getObjects <em>Objects</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the containment reference list '<em>Objects</em>'.\r\n\t * @see asd.ASDspec#getObjects()\r\n\t * @see #getASDspec()\r\n\t * @generated\r\n\t */\r\n\tEReference getASDspec_Objects();\r\n\r\n\t/**\r\n\t * Returns the meta object for the containment reference list '{@link asd.ASDspec#getOutcomes <em>Outcomes</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the containment reference list '<em>Outcomes</em>'.\r\n\t * @see asd.ASDspec#getOutcomes()\r\n\t * @see #getASDspec()\r\n\t * @generated\r\n\t */\r\n\tEReference getASDspec_Outcomes();\r\n\r\n\t/**\r\n\t * Returns the meta object for the containment reference list '{@link asd.ASDspec#getMotivations <em>Motivations</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the containment reference list '<em>Motivations</em>'.\r\n\t * @see asd.ASDspec#getMotivations()\r\n\t * @see #getASDspec()\r\n\t * @generated\r\n\t */\r\n\tEReference getASDspec_Motivations();\r\n\r\n\t/**\r\n\t * Returns the meta object for the containment reference list '{@link asd.ASDspec#getTools <em>Tools</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the containment reference list '<em>Tools</em>'.\r\n\t * @see asd.ASDspec#getTools()\r\n\t * @see #getASDspec()\r\n\t * @generated\r\n\t */\r\n\tEReference getASDspec_Tools();\r\n\r\n\t/**\r\n\t * Returns the meta object for the containment reference list '{@link asd.ASDspec#getRules <em>Rules</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the containment reference list '<em>Rules</em>'.\r\n\t * @see asd.ASDspec#getRules()\r\n\t * @see #getASDspec()\r\n\t * @generated\r\n\t */\r\n\tEReference getASDspec_Rules();\r\n\r\n\t/**\r\n\t * Returns the meta object for class '{@link asd.ASDelement <em>AS Delement</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for class '<em>AS Delement</em>'.\r\n\t * @see asd.ASDelement\r\n\t * @generated\r\n\t */\r\n\tEClass getASDelement();\r\n\r\n\t/**\r\n\t * Returns the meta object for the reference list '{@link asd.ASDelement#getDiagrams <em>Diagrams</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the reference list '<em>Diagrams</em>'.\r\n\t * @see asd.ASDelement#getDiagrams()\r\n\t * @see #getASDelement()\r\n\t * @generated\r\n\t */\r\n\tEReference getASDelement_Diagrams();\r\n\r\n\t/**\r\n\t * Returns the meta object for the reference list '{@link asd.ASDelement#getParentElements <em>Parent Elements</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the reference list '<em>Parent Elements</em>'.\r\n\t * @see asd.ASDelement#getParentElements()\r\n\t * @see #getASDelement()\r\n\t * @generated\r\n\t */\r\n\tEReference getASDelement_ParentElements();\r\n\r\n\t/**\r\n\t * Returns the meta object for the reference list '{@link asd.ASDelement#getRefinedElements <em>Refined Elements</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the reference list '<em>Refined Elements</em>'.\r\n\t * @see asd.ASDelement#getRefinedElements()\r\n\t * @see #getASDelement()\r\n\t * @generated\r\n\t */\r\n\tEReference getASDelement_RefinedElements();\r\n\r\n\t/**\r\n\t * Returns the meta object for the reference list '{@link asd.ASDelement#getRequiredOutcomes <em>Required Outcomes</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the reference list '<em>Required Outcomes</em>'.\r\n\t * @see asd.ASDelement#getRequiredOutcomes()\r\n\t * @see #getASDelement()\r\n\t * @generated\r\n\t */\r\n\tEReference getASDelement_RequiredOutcomes();\r\n\r\n\t/**\r\n\t * Returns the meta object for class '{@link asd.ASDiagram <em>AS Diagram</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for class '<em>AS Diagram</em>'.\r\n\t * @see asd.ASDiagram\r\n\t * @generated\r\n\t */\r\n\tEClass getASDiagram();\r\n\r\n\t/**\r\n\t * Returns the meta object for the reference list '{@link asd.ASDiagram#getElements <em>Elements</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the reference list '<em>Elements</em>'.\r\n\t * @see asd.ASDiagram#getElements()\r\n\t * @see #getASDiagram()\r\n\t * @generated\r\n\t */\r\n\tEReference getASDiagram_Elements();\r\n\r\n\t/**\r\n\t * Returns the meta object for the reference list '{@link asd.ASDiagram#getASD <em>ASD</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the reference list '<em>ASD</em>'.\r\n\t * @see asd.ASDiagram#getASD()\r\n\t * @see #getASDiagram()\r\n\t * @generated\r\n\t */\r\n\tEReference getASDiagram_ASD();\r\n\r\n\t/**\r\n\t * Returns the meta object for the reference list '{@link asd.ASDiagram#getRelatedASD <em>Related ASD</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the reference list '<em>Related ASD</em>'.\r\n\t * @see asd.ASDiagram#getRelatedASD()\r\n\t * @see #getASDiagram()\r\n\t * @generated\r\n\t */\r\n\tEReference getASDiagram_RelatedASD();\r\n\r\n\t/**\r\n\t * Returns the meta object for the containment reference list '{@link asd.ASDiagram#getMediations <em>Mediations</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the containment reference list '<em>Mediations</em>'.\r\n\t * @see asd.ASDiagram#getMediations()\r\n\t * @see #getASDiagram()\r\n\t * @generated\r\n\t */\r\n\tEReference getASDiagram_Mediations();\r\n\r\n\t/**\r\n\t * Returns the meta object for the reference list '{@link asd.ASDiagram#getAsdLayouts <em>Asd Layouts</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the reference list '<em>Asd Layouts</em>'.\r\n\t * @see asd.ASDiagram#getAsdLayouts()\r\n\t * @see #getASDiagram()\r\n\t * @generated\r\n\t */\r\n\tEReference getASDiagram_AsdLayouts();\r\n\r\n\t/**\r\n\t * Returns the meta object for the reference list '{@link asd.ASDiagram#getParentDoLs <em>Parent Do Ls</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the reference list '<em>Parent Do Ls</em>'.\r\n\t * @see asd.ASDiagram#getParentDoLs()\r\n\t * @see #getASDiagram()\r\n\t * @generated\r\n\t */\r\n\tEReference getASDiagram_ParentDoLs();\r\n\r\n\t/**\r\n\t * Returns the meta object for class '{@link asd.MediatingElement <em>Mediating Element</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for class '<em>Mediating Element</em>'.\r\n\t * @see asd.MediatingElement\r\n\t * @generated\r\n\t */\r\n\tEClass getMediatingElement();\r\n\r\n\t/**\r\n\t * Returns the meta object for the reference list '{@link asd.MediatingElement#getMediations <em>Mediations</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the reference list '<em>Mediations</em>'.\r\n\t * @see asd.MediatingElement#getMediations()\r\n\t * @see #getMediatingElement()\r\n\t * @generated\r\n\t */\r\n\tEReference getMediatingElement_Mediations();\r\n\r\n\t/**\r\n\t * Returns the meta object for class '{@link asd.Mediation <em>Mediation</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for class '<em>Mediation</em>'.\r\n\t * @see asd.Mediation\r\n\t * @generated\r\n\t */\r\n\tEClass getMediation();\r\n\r\n\t/**\r\n\t * Returns the meta object for the reference '{@link asd.Mediation#getMediatedBy <em>Mediated By</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the reference '<em>Mediated By</em>'.\r\n\t * @see asd.Mediation#getMediatedBy()\r\n\t * @see #getMediation()\r\n\t * @generated\r\n\t */\r\n\tEReference getMediation_MediatedBy();\r\n\r\n\t/**\r\n\t * Returns the meta object for the reference list '{@link asd.Mediation#getMediates <em>Mediates</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the reference list '<em>Mediates</em>'.\r\n\t * @see asd.Mediation#getMediates()\r\n\t * @see #getMediation()\r\n\t * @generated\r\n\t */\r\n\tEReference getMediation_Mediates();\r\n\r\n\t/**\r\n\t * Returns the meta object for the container reference '{@link asd.Mediation#getRelevantASD <em>Relevant ASD</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the container reference '<em>Relevant ASD</em>'.\r\n\t * @see asd.Mediation#getRelevantASD()\r\n\t * @see #getMediation()\r\n\t * @generated\r\n\t */\r\n\tEReference getMediation_RelevantASD();\r\n\r\n\t/**\r\n\t * Returns the meta object for class '{@link asd.MediatedElement <em>Mediated Element</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for class '<em>Mediated Element</em>'.\r\n\t * @see asd.MediatedElement\r\n\t * @generated\r\n\t */\r\n\tEClass getMediatedElement();\r\n\r\n\t/**\r\n\t * Returns the meta object for the reference list '{@link asd.MediatedElement#getMediations <em>Mediations</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the reference list '<em>Mediations</em>'.\r\n\t * @see asd.MediatedElement#getMediations()\r\n\t * @see #getMediatedElement()\r\n\t * @generated\r\n\t */\r\n\tEReference getMediatedElement_Mediations();\r\n\r\n\t/**\r\n\t * Returns the meta object for class '{@link asd.ASDmodelElement <em>AS Dmodel Element</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for class '<em>AS Dmodel Element</em>'.\r\n\t * @see asd.ASDmodelElement\r\n\t * @generated\r\n\t */\r\n\tEClass getASDmodelElement();\r\n\r\n\t/**\r\n\t * Returns the meta object for class '{@link asd.ASNetwork <em>AS Network</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for class '<em>AS Network</em>'.\r\n\t * @see asd.ASNetwork\r\n\t * @generated\r\n\t */\r\n\tEClass getASNetwork();\r\n\r\n\t/**\r\n\t * Returns the meta object for the reference list '{@link asd.ASNetwork#getASDspec <em>AS Dspec</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the reference list '<em>AS Dspec</em>'.\r\n\t * @see asd.ASNetwork#getASDspec()\r\n\t * @see #getASNetwork()\r\n\t * @generated\r\n\t */\r\n\tEReference getASNetwork_ASDspec();\r\n\r\n\t/**\r\n\t * Returns the meta object for the containment reference list '{@link asd.ASNetwork#getAsdLayouts <em>Asd Layouts</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the containment reference list '<em>Asd Layouts</em>'.\r\n\t * @see asd.ASNetwork#getAsdLayouts()\r\n\t * @see #getASNetwork()\r\n\t * @generated\r\n\t */\r\n\tEReference getASNetwork_AsdLayouts();\r\n\r\n\t/**\r\n\t * Returns the meta object for class '{@link asd.ASDlayout <em>AS Dlayout</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for class '<em>AS Dlayout</em>'.\r\n\t * @see asd.ASDlayout\r\n\t * @generated\r\n\t */\r\n\tEClass getASDlayout();\r\n\r\n\t/**\r\n\t * Returns the meta object for the attribute '{@link asd.ASDlayout#getX <em>X</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the attribute '<em>X</em>'.\r\n\t * @see asd.ASDlayout#getX()\r\n\t * @see #getASDlayout()\r\n\t * @generated\r\n\t */\r\n\tEAttribute getASDlayout_X();\r\n\r\n\t/**\r\n\t * Returns the meta object for the attribute '{@link asd.ASDlayout#getY <em>Y</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the attribute '<em>Y</em>'.\r\n\t * @see asd.ASDlayout#getY()\r\n\t * @see #getASDlayout()\r\n\t * @generated\r\n\t */\r\n\tEAttribute getASDlayout_Y();\r\n\r\n\t/**\r\n\t * Returns the meta object for the attribute '{@link asd.ASDlayout#getWidth <em>Width</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the attribute '<em>Width</em>'.\r\n\t * @see asd.ASDlayout#getWidth()\r\n\t * @see #getASDlayout()\r\n\t * @generated\r\n\t */\r\n\tEAttribute getASDlayout_Width();\r\n\r\n\t/**\r\n\t * Returns the meta object for the attribute '{@link asd.ASDlayout#getHeight <em>Height</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the attribute '<em>Height</em>'.\r\n\t * @see asd.ASDlayout#getHeight()\r\n\t * @see #getASDlayout()\r\n\t * @generated\r\n\t */\r\n\tEAttribute getASDlayout_Height();\r\n\r\n\t/**\r\n\t * Returns the meta object for the attribute '{@link asd.ASDlayout#isCollapsed <em>Collapsed</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the attribute '<em>Collapsed</em>'.\r\n\t * @see asd.ASDlayout#isCollapsed()\r\n\t * @see #getASDlayout()\r\n\t * @generated\r\n\t */\r\n\tEAttribute getASDlayout_Collapsed();\r\n\r\n\t/**\r\n\t * Returns the meta object for the container reference '{@link asd.ASDlayout#getAsNetwork <em>As Network</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the container reference '<em>As Network</em>'.\r\n\t * @see asd.ASDlayout#getAsNetwork()\r\n\t * @see #getASDlayout()\r\n\t * @generated\r\n\t */\r\n\tEReference getASDlayout_AsNetwork();\r\n\r\n\t/**\r\n\t * Returns the meta object for the reference '{@link asd.ASDlayout#getAsDiagram <em>As Diagram</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the reference '<em>As Diagram</em>'.\r\n\t * @see asd.ASDlayout#getAsDiagram()\r\n\t * @see #getASDlayout()\r\n\t * @generated\r\n\t */\r\n\tEReference getASDlayout_AsDiagram();\r\n\r\n\t/**\r\n\t * Returns the meta object for class '{@link asd.Tool <em>Tool</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for class '<em>Tool</em>'.\r\n\t * @see asd.Tool\r\n\t * @generated\r\n\t */\r\n\tEClass getTool();\r\n\r\n\t/**\r\n\t * Returns the meta object for the container reference '{@link asd.Tool#getAsdSpec <em>Asd Spec</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the container reference '<em>Asd Spec</em>'.\r\n\t * @see asd.Tool#getAsdSpec()\r\n\t * @see #getTool()\r\n\t * @generated\r\n\t */\r\n\tEReference getTool_AsdSpec();\r\n\r\n\t/**\r\n\t * Returns the meta object for class '{@link asd.Rule <em>Rule</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for class '<em>Rule</em>'.\r\n\t * @see asd.Rule\r\n\t * @generated\r\n\t */\r\n\tEClass getRule();\r\n\r\n\t/**\r\n\t * Returns the meta object for the reference list '{@link asd.Rule#getDols <em>Dols</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the reference list '<em>Dols</em>'.\r\n\t * @see asd.Rule#getDols()\r\n\t * @see #getRule()\r\n\t * @generated\r\n\t */\r\n\tEReference getRule_Dols();\r\n\r\n\t/**\r\n\t * Returns the meta object for the container reference '{@link asd.Rule#getAsdSpec <em>Asd Spec</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the container reference '<em>Asd Spec</em>'.\r\n\t * @see asd.Rule#getAsdSpec()\r\n\t * @see #getRule()\r\n\t * @generated\r\n\t */\r\n\tEReference getRule_AsdSpec();\r\n\r\n\t/**\r\n\t * Returns the meta object for class '{@link asd.DivisionOfLabour <em>Division Of Labour</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for class '<em>Division Of Labour</em>'.\r\n\t * @see asd.DivisionOfLabour\r\n\t * @generated\r\n\t */\r\n\tEClass getDivisionOfLabour();\r\n\r\n\t/**\r\n\t * Returns the meta object for the reference list '{@link asd.DivisionOfLabour#getRules <em>Rules</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the reference list '<em>Rules</em>'.\r\n\t * @see asd.DivisionOfLabour#getRules()\r\n\t * @see #getDivisionOfLabour()\r\n\t * @generated\r\n\t */\r\n\tEReference getDivisionOfLabour_Rules();\r\n\r\n\t/**\r\n\t * Returns the meta object for the reference list '{@link asd.DivisionOfLabour#getRefinedDiagrams <em>Refined Diagrams</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the reference list '<em>Refined Diagrams</em>'.\r\n\t * @see asd.DivisionOfLabour#getRefinedDiagrams()\r\n\t * @see #getDivisionOfLabour()\r\n\t * @generated\r\n\t */\r\n\tEReference getDivisionOfLabour_RefinedDiagrams();\r\n\r\n\t/**\r\n\t * Returns the meta object for the reference '{@link asd.DivisionOfLabour#getPerformedBy <em>Performed By</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the reference '<em>Performed By</em>'.\r\n\t * @see asd.DivisionOfLabour#getPerformedBy()\r\n\t * @see #getDivisionOfLabour()\r\n\t * @generated\r\n\t */\r\n\tEReference getDivisionOfLabour_PerformedBy();\r\n\r\n\t/**\r\n\t * Returns the meta object for the container reference '{@link asd.DivisionOfLabour#getAsdSpec <em>Asd Spec</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the container reference '<em>Asd Spec</em>'.\r\n\t * @see asd.DivisionOfLabour#getAsdSpec()\r\n\t * @see #getDivisionOfLabour()\r\n\t * @generated\r\n\t */\r\n\tEReference getDivisionOfLabour_AsdSpec();\r\n\r\n\t/**\r\n\t * Returns the meta object for class '{@link asd.Community <em>Community</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for class '<em>Community</em>'.\r\n\t * @see asd.Community\r\n\t * @generated\r\n\t */\r\n\tEClass getCommunity();\r\n\r\n\t/**\r\n\t * Returns the meta object for the reference list '{@link asd.Community#getPerforms <em>Performs</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the reference list '<em>Performs</em>'.\r\n\t * @see asd.Community#getPerforms()\r\n\t * @see #getCommunity()\r\n\t * @generated\r\n\t */\r\n\tEReference getCommunity_Performs();\r\n\r\n\t/**\r\n\t * Returns the meta object for the container reference '{@link asd.Community#getAsdSpec <em>Asd Spec</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the container reference '<em>Asd Spec</em>'.\r\n\t * @see asd.Community#getAsdSpec()\r\n\t * @see #getCommunity()\r\n\t * @generated\r\n\t */\r\n\tEReference getCommunity_AsdSpec();\r\n\r\n\t/**\r\n\t * Returns the meta object for the reference '{@link asd.Community#getSubject <em>Subject</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the reference '<em>Subject</em>'.\r\n\t * @see asd.Community#getSubject()\r\n\t * @see #getCommunity()\r\n\t * @generated\r\n\t */\r\n\tEReference getCommunity_Subject();\r\n\r\n\t/**\r\n\t * Returns the meta object for class '{@link asd.Subject <em>Subject</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for class '<em>Subject</em>'.\r\n\t * @see asd.Subject\r\n\t * @generated\r\n\t */\r\n\tEClass getSubject();\r\n\r\n\t/**\r\n\t * Returns the meta object for the container reference '{@link asd.Subject#getAsdSpec <em>Asd Spec</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the container reference '<em>Asd Spec</em>'.\r\n\t * @see asd.Subject#getAsdSpec()\r\n\t * @see #getSubject()\r\n\t * @generated\r\n\t */\r\n\tEReference getSubject_AsdSpec();\r\n\r\n\t/**\r\n\t * Returns the meta object for the reference '{@link asd.Subject#getMemberOf <em>Member Of</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the reference '<em>Member Of</em>'.\r\n\t * @see asd.Subject#getMemberOf()\r\n\t * @see #getSubject()\r\n\t * @generated\r\n\t */\r\n\tEReference getSubject_MemberOf();\r\n\r\n\t/**\r\n\t * Returns the meta object for the reference list '{@link asd.Subject#getObjects <em>Objects</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the reference list '<em>Objects</em>'.\r\n\t * @see asd.Subject#getObjects()\r\n\t * @see #getSubject()\r\n\t * @generated\r\n\t */\r\n\tEReference getSubject_Objects();\r\n\r\n\t/**\r\n\t * Returns the meta object for class '{@link asd.Object <em>Object</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for class '<em>Object</em>'.\r\n\t * @see asd.Object\r\n\t * @generated\r\n\t */\r\n\tEClass getObject();\r\n\r\n\t/**\r\n\t * Returns the meta object for the container reference '{@link asd.Object#getAsdSpec <em>Asd Spec</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the container reference '<em>Asd Spec</em>'.\r\n\t * @see asd.Object#getAsdSpec()\r\n\t * @see #getObject()\r\n\t * @generated\r\n\t */\r\n\tEReference getObject_AsdSpec();\r\n\r\n\t/**\r\n\t * Returns the meta object for the reference list '{@link asd.Object#getOutcomes <em>Outcomes</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the reference list '<em>Outcomes</em>'.\r\n\t * @see asd.Object#getOutcomes()\r\n\t * @see #getObject()\r\n\t * @generated\r\n\t */\r\n\tEReference getObject_Outcomes();\r\n\r\n\t/**\r\n\t * Returns the meta object for the reference list '{@link asd.Object#getSubjects <em>Subjects</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the reference list '<em>Subjects</em>'.\r\n\t * @see asd.Object#getSubjects()\r\n\t * @see #getObject()\r\n\t * @generated\r\n\t */\r\n\tEReference getObject_Subjects();\r\n\r\n\t/**\r\n\t * Returns the meta object for class '{@link asd.Motivation <em>Motivation</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for class '<em>Motivation</em>'.\r\n\t * @see asd.Motivation\r\n\t * @generated\r\n\t */\r\n\tEClass getMotivation();\r\n\r\n\t/**\r\n\t * Returns the meta object for the container reference '{@link asd.Motivation#getAsdSpec <em>Asd Spec</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the container reference '<em>Asd Spec</em>'.\r\n\t * @see asd.Motivation#getAsdSpec()\r\n\t * @see #getMotivation()\r\n\t * @generated\r\n\t */\r\n\tEReference getMotivation_AsdSpec();\r\n\r\n\t/**\r\n\t * Returns the meta object for class '{@link asd.Outcome <em>Outcome</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for class '<em>Outcome</em>'.\r\n\t * @see asd.Outcome\r\n\t * @generated\r\n\t */\r\n\tEClass getOutcome();\r\n\r\n\t/**\r\n\t * Returns the meta object for the reference list '{@link asd.Outcome#getEnabledElements <em>Enabled Elements</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the reference list '<em>Enabled Elements</em>'.\r\n\t * @see asd.Outcome#getEnabledElements()\r\n\t * @see #getOutcome()\r\n\t * @generated\r\n\t */\r\n\tEReference getOutcome_EnabledElements();\r\n\r\n\t/**\r\n\t * Returns the meta object for the container reference '{@link asd.Outcome#getAsdSpec <em>Asd Spec</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the container reference '<em>Asd Spec</em>'.\r\n\t * @see asd.Outcome#getAsdSpec()\r\n\t * @see #getOutcome()\r\n\t * @generated\r\n\t */\r\n\tEReference getOutcome_AsdSpec();\r\n\r\n\t/**\r\n\t * Returns the meta object for the reference list '{@link asd.Outcome#getObjects <em>Objects</em>}'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the meta object for the reference list '<em>Objects</em>'.\r\n\t * @see asd.Outcome#getObjects()\r\n\t * @see #getOutcome()\r\n\t * @generated\r\n\t */\r\n\tEReference getOutcome_Objects();\r\n\r\n\t/**\r\n\t * Returns the factory that creates the instances of the model.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the factory that creates the instances of the model.\r\n\t * @generated\r\n\t */\r\n\tAsdFactory getAsdFactory();\r\n\r\n\t/**\r\n\t * <!-- begin-user-doc -->\r\n\t * Defines literals for the meta objects that represent\r\n\t * <ul>\r\n\t * <li>each class,</li>\r\n\t * <li>each feature of each class,</li>\r\n\t * <li>each operation of each class,</li>\r\n\t * <li>each enum,</li>\r\n\t * <li>and each data type</li>\r\n\t * </ul>\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t */\r\n\tinterface Literals {\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link asd.impl.ASDspecImpl <em>AS Dspec</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see asd.impl.ASDspecImpl\r\n\t\t * @see asd.impl.AsdPackageImpl#getASDspec()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass AS_DSPEC = eINSTANCE.getASDspec();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>AS Network</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference AS_DSPEC__AS_NETWORK = eINSTANCE.getASDspec_ASNetwork();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Motivation</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference AS_DSPEC__MOTIVATION = eINSTANCE.getASDspec_Motivation();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Outcome</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference AS_DSPEC__OUTCOME = eINSTANCE.getASDspec_Outcome();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Dols</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference AS_DSPEC__DOLS = eINSTANCE.getASDspec_Dols();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Subjects</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference AS_DSPEC__SUBJECTS = eINSTANCE.getASDspec_Subjects();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Communities</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference AS_DSPEC__COMMUNITIES = eINSTANCE.getASDspec_Communities();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Objects</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference AS_DSPEC__OBJECTS = eINSTANCE.getASDspec_Objects();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Outcomes</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference AS_DSPEC__OUTCOMES = eINSTANCE.getASDspec_Outcomes();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Motivations</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference AS_DSPEC__MOTIVATIONS = eINSTANCE.getASDspec_Motivations();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Tools</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference AS_DSPEC__TOOLS = eINSTANCE.getASDspec_Tools();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Rules</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference AS_DSPEC__RULES = eINSTANCE.getASDspec_Rules();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link asd.impl.ASDelementImpl <em>AS Delement</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see asd.impl.ASDelementImpl\r\n\t\t * @see asd.impl.AsdPackageImpl#getASDelement()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass AS_DELEMENT = eINSTANCE.getASDelement();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Diagrams</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference AS_DELEMENT__DIAGRAMS = eINSTANCE.getASDelement_Diagrams();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Parent Elements</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference AS_DELEMENT__PARENT_ELEMENTS = eINSTANCE.getASDelement_ParentElements();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Refined Elements</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference AS_DELEMENT__REFINED_ELEMENTS = eINSTANCE.getASDelement_RefinedElements();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Required Outcomes</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference AS_DELEMENT__REQUIRED_OUTCOMES = eINSTANCE.getASDelement_RequiredOutcomes();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link asd.impl.ASDiagramImpl <em>AS Diagram</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see asd.impl.ASDiagramImpl\r\n\t\t * @see asd.impl.AsdPackageImpl#getASDiagram()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass AS_DIAGRAM = eINSTANCE.getASDiagram();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Elements</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference AS_DIAGRAM__ELEMENTS = eINSTANCE.getASDiagram_Elements();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>ASD</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference AS_DIAGRAM__ASD = eINSTANCE.getASDiagram_ASD();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Related ASD</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference AS_DIAGRAM__RELATED_ASD = eINSTANCE.getASDiagram_RelatedASD();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Mediations</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference AS_DIAGRAM__MEDIATIONS = eINSTANCE.getASDiagram_Mediations();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Asd Layouts</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference AS_DIAGRAM__ASD_LAYOUTS = eINSTANCE.getASDiagram_AsdLayouts();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Parent Do Ls</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference AS_DIAGRAM__PARENT_DO_LS = eINSTANCE.getASDiagram_ParentDoLs();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link asd.impl.MediatingElementImpl <em>Mediating Element</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see asd.impl.MediatingElementImpl\r\n\t\t * @see asd.impl.AsdPackageImpl#getMediatingElement()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass MEDIATING_ELEMENT = eINSTANCE.getMediatingElement();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Mediations</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference MEDIATING_ELEMENT__MEDIATIONS = eINSTANCE.getMediatingElement_Mediations();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link asd.impl.MediationImpl <em>Mediation</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see asd.impl.MediationImpl\r\n\t\t * @see asd.impl.AsdPackageImpl#getMediation()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass MEDIATION = eINSTANCE.getMediation();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Mediated By</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference MEDIATION__MEDIATED_BY = eINSTANCE.getMediation_MediatedBy();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Mediates</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference MEDIATION__MEDIATES = eINSTANCE.getMediation_Mediates();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Relevant ASD</b></em>' container reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference MEDIATION__RELEVANT_ASD = eINSTANCE.getMediation_RelevantASD();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link asd.impl.MediatedElementImpl <em>Mediated Element</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see asd.impl.MediatedElementImpl\r\n\t\t * @see asd.impl.AsdPackageImpl#getMediatedElement()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass MEDIATED_ELEMENT = eINSTANCE.getMediatedElement();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Mediations</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference MEDIATED_ELEMENT__MEDIATIONS = eINSTANCE.getMediatedElement_Mediations();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link asd.impl.ASDmodelElementImpl <em>AS Dmodel Element</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see asd.impl.ASDmodelElementImpl\r\n\t\t * @see asd.impl.AsdPackageImpl#getASDmodelElement()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass AS_DMODEL_ELEMENT = eINSTANCE.getASDmodelElement();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link asd.impl.ASNetworkImpl <em>AS Network</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see asd.impl.ASNetworkImpl\r\n\t\t * @see asd.impl.AsdPackageImpl#getASNetwork()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass AS_NETWORK = eINSTANCE.getASNetwork();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>AS Dspec</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference AS_NETWORK__AS_DSPEC = eINSTANCE.getASNetwork_ASDspec();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Asd Layouts</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference AS_NETWORK__ASD_LAYOUTS = eINSTANCE.getASNetwork_AsdLayouts();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link asd.impl.ASDlayoutImpl <em>AS Dlayout</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see asd.impl.ASDlayoutImpl\r\n\t\t * @see asd.impl.AsdPackageImpl#getASDlayout()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass AS_DLAYOUT = eINSTANCE.getASDlayout();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>X</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute AS_DLAYOUT__X = eINSTANCE.getASDlayout_X();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Y</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute AS_DLAYOUT__Y = eINSTANCE.getASDlayout_Y();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Width</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute AS_DLAYOUT__WIDTH = eINSTANCE.getASDlayout_Width();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Height</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute AS_DLAYOUT__HEIGHT = eINSTANCE.getASDlayout_Height();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Collapsed</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute AS_DLAYOUT__COLLAPSED = eINSTANCE.getASDlayout_Collapsed();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>As Network</b></em>' container reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference AS_DLAYOUT__AS_NETWORK = eINSTANCE.getASDlayout_AsNetwork();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>As Diagram</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference AS_DLAYOUT__AS_DIAGRAM = eINSTANCE.getASDlayout_AsDiagram();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link asd.impl.ToolImpl <em>Tool</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see asd.impl.ToolImpl\r\n\t\t * @see asd.impl.AsdPackageImpl#getTool()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass TOOL = eINSTANCE.getTool();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Asd Spec</b></em>' container reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference TOOL__ASD_SPEC = eINSTANCE.getTool_AsdSpec();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link asd.impl.RuleImpl <em>Rule</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see asd.impl.RuleImpl\r\n\t\t * @see asd.impl.AsdPackageImpl#getRule()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass RULE = eINSTANCE.getRule();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Dols</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference RULE__DOLS = eINSTANCE.getRule_Dols();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Asd Spec</b></em>' container reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference RULE__ASD_SPEC = eINSTANCE.getRule_AsdSpec();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link asd.impl.DivisionOfLabourImpl <em>Division Of Labour</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see asd.impl.DivisionOfLabourImpl\r\n\t\t * @see asd.impl.AsdPackageImpl#getDivisionOfLabour()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass DIVISION_OF_LABOUR = eINSTANCE.getDivisionOfLabour();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Rules</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference DIVISION_OF_LABOUR__RULES = eINSTANCE.getDivisionOfLabour_Rules();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Refined Diagrams</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference DIVISION_OF_LABOUR__REFINED_DIAGRAMS = eINSTANCE.getDivisionOfLabour_RefinedDiagrams();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Performed By</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference DIVISION_OF_LABOUR__PERFORMED_BY = eINSTANCE.getDivisionOfLabour_PerformedBy();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Asd Spec</b></em>' container reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference DIVISION_OF_LABOUR__ASD_SPEC = eINSTANCE.getDivisionOfLabour_AsdSpec();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link asd.impl.CommunityImpl <em>Community</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see asd.impl.CommunityImpl\r\n\t\t * @see asd.impl.AsdPackageImpl#getCommunity()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass COMMUNITY = eINSTANCE.getCommunity();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Performs</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference COMMUNITY__PERFORMS = eINSTANCE.getCommunity_Performs();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Asd Spec</b></em>' container reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference COMMUNITY__ASD_SPEC = eINSTANCE.getCommunity_AsdSpec();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Subject</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference COMMUNITY__SUBJECT = eINSTANCE.getCommunity_Subject();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link asd.impl.SubjectImpl <em>Subject</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see asd.impl.SubjectImpl\r\n\t\t * @see asd.impl.AsdPackageImpl#getSubject()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass SUBJECT = eINSTANCE.getSubject();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Asd Spec</b></em>' container reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference SUBJECT__ASD_SPEC = eINSTANCE.getSubject_AsdSpec();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Member Of</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference SUBJECT__MEMBER_OF = eINSTANCE.getSubject_MemberOf();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Objects</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference SUBJECT__OBJECTS = eINSTANCE.getSubject_Objects();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link asd.impl.ObjectImpl <em>Object</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see asd.impl.ObjectImpl\r\n\t\t * @see asd.impl.AsdPackageImpl#getObject()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass OBJECT = eINSTANCE.getObject();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Asd Spec</b></em>' container reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference OBJECT__ASD_SPEC = eINSTANCE.getObject_AsdSpec();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Outcomes</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference OBJECT__OUTCOMES = eINSTANCE.getObject_Outcomes();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Subjects</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference OBJECT__SUBJECTS = eINSTANCE.getObject_Subjects();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link asd.impl.MotivationImpl <em>Motivation</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see asd.impl.MotivationImpl\r\n\t\t * @see asd.impl.AsdPackageImpl#getMotivation()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass MOTIVATION = eINSTANCE.getMotivation();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Asd Spec</b></em>' container reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference MOTIVATION__ASD_SPEC = eINSTANCE.getMotivation_AsdSpec();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link asd.impl.OutcomeImpl <em>Outcome</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see asd.impl.OutcomeImpl\r\n\t\t * @see asd.impl.AsdPackageImpl#getOutcome()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass OUTCOME = eINSTANCE.getOutcome();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Enabled Elements</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference OUTCOME__ENABLED_ELEMENTS = eINSTANCE.getOutcome_EnabledElements();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Asd Spec</b></em>' container reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference OUTCOME__ASD_SPEC = eINSTANCE.getOutcome_AsdSpec();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Objects</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference OUTCOME__OBJECTS = eINSTANCE.getOutcome_Objects();\r\n\r\n\t}\r\n\r\n}", "title": "" }, { "docid": "fdd5e818312b74d90f14144f775af963", "score": "0.48824406", "text": "public interface ElkDataOneOf extends ElkDataRange {\n\n\t/**\n\t * Get the list of literals that this expression refers to. The order of\n\t * literals does not affect the semantics but it is relevant to the syntax\n\t * of OWL.\n\t * \n\t * @return list of literals\n\t */\n\tpublic List<? extends ElkLiteral> getLiterals();\n\n\t/**\n\t * Accept an {@link ElkDataOneOfVisitor}.\n\t * \n\t * @param visitor\n\t * the visitor that can work with this object type\n\t * @return the output of the visitor\n\t */\n\tpublic <O> O accept(ElkDataOneOfVisitor<O> visitor);\n\n\t/**\n\t * A factory for creating instances\n\t * \n\t * @author Yevgeny Kazakov\n\t *\n\t */\n\tinterface Factory {\n\n\t\t/**\n\t\t * Create an {@link ElkDataOneOf}.\n\t\t * \n\t\t * @param first\n\t\t * the {@link ElkLiteral} for which the object should be\n\t\t * created\n\t\t * @param other\n\t\t * other {@link ElkLiteral}s for which the object should be\n\t\t * created\n\t\t * @return an {@link ElkDataOneOf} corresponding to the input\n\t\t */\n\t\tpublic ElkDataOneOf getDataOneOf(ElkLiteral first,\n\t\t\t\tElkLiteral... other);\n\n\t\t/**\n\t\t * Create an {@link ElkDataOneOf}.\n\t\t * \n\t\t * @param members\n\t\t * the {@link ElkLiteral}s for which the object should be\n\t\t * created\n\t\t * @return an {@link ElkDataOneOf} corresponding to the input\n\t\t */\n\t\tpublic ElkDataOneOf getDataOneOf(List<? extends ElkLiteral> members);\n\n\t}\n\n}", "title": "" }, { "docid": "dec91b7e5364a3d50514a2f2cbbae861", "score": "0.48740265", "text": "public interface BinaryOperatorImpl extends OperatorImpl\r\n{\r\n /**\r\n * Gets the left child operator implementation of the binary operator implementation.\r\n * \r\n * @return the left child operator implementation.\r\n */\r\n public OperatorImpl getLeftChild();\r\n \r\n /**\r\n * Gets the right child operator implementation of the binary operator implementation.\r\n * \r\n * @return the right child operator implementation.\r\n */\r\n public OperatorImpl getRightChild();\r\n \r\n}", "title": "" } ]
853faa1b0022c041d93567f7fa440467
Creo un fichero FICHERO_FEATURES con el resultado de la consulta que se ha hecho a uno o varios mne
[ { "docid": "b659aa397390e5cbb64b8f9c6373e468", "score": "0.0", "text": "public boolean readFile(String[] url){\r\n \tNamespace nameSpaceMne = Namespace.getNamespace(\"http://www.idee.es/mne\");\r\n \tNamespace nameSpaceGml = Namespace.getNamespace(\"http://www.opengis.net/gml\");\r\n \ttry{\r\n \tDocument docNew = null;\r\n\t int n = url.length;\r\n\t for (int i=0;i<n;i++){\r\n\t \tif (i==0){\r\n\t \t\tdocNew = new Document();\r\n\t \t}\r\n\t \tURL nombreURL = new URL(url[i]);\r\n\t\t SAXBuilder builder = new SAXBuilder(false);\r\n\t\t InputStream inputStr = nombreURL.openStream();\r\n\t\t Document docNew2 = builder.build(inputStr);\r\n\t\t Element rootElement2 = docNew2.getRootElement();\r\n\t\t if (i == 0){\r\n\t\t \tdocNew = new Document();\r\n\t\t \tdocNew.setRootElement(new Element(\"ResultCollection\"));\r\n\t\t }\r\n\t\t Element rootElement = docNew.getRootElement();\r\n\t\t\t List listaFeatures = rootElement2.removeContent();\r\n\t\t\t int numFeatures = listaFeatures.size();\r\n\t\t \tdialog.listaGeometrias = new ArrayList();\r\n\r\n\t\t\t for (int j= 0;j<numFeatures;j++){\r\n\t\t\t \tif (dialog.progressDialog.isCancelRequested())\r\n\t\t\t \t\treturn false;\r\n\t\t\t if (listaFeatures.get(j) instanceof Element){\r\n\t\t\t\t Element feature = ((Element)listaFeatures.get(j));\r\n\t\t\t\t\t if (!feature.getName().equals(\"boundedBy\")){\r\n\t\t\t\t\t Element entidad = feature.getChild(\"Entidad\",nameSpaceMne); \r\n\t\t\t\t\t //Guardo el identificador de la features\r\n\t\t\t\t\t\t dialog.listaIds.add(entidad.getAttribute(\"fid\").getValue());\r\n\t\t\t\t\t\t \r\n\t\t\t\t\t\t //Obtengo el nombre de la feature y lo añado a la lista\r\n\t\t\t\t\t\t\tElement nombreEntidad = entidad.getChild(\"nombreEntidad\",nameSpaceMne);\r\n\t\t\t\t\t\t\tElement nombre = nombreEntidad.getChild(\"nombre\",nameSpaceMne);\r\n\t\t\t\t\t\t\tdialog.vResult.add((String)nombre.getValue());\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t//Guardo las geometrías encontradas en las features\r\n\t\t\t\t\t\t\tElement posicionEspacial = entidad.getChild(\"posicionEspacial\",nameSpaceMne);\r\n\t\t\t\t\t\t\tif (posicionEspacial != null){\r\n\t\t\t\t\t \t\torg.jdom.Document doc = new org.jdom.Document();\r\n\t\t\t\t\t \t\tElement elemento = (Element)posicionEspacial.clone();\r\n\t\t\t\t\t \t\tdoc.setRootElement(elemento);\r\n\t\t\t\t\t \t\tDOMOutputter dou= new DOMOutputter();\r\n\t\t\t\t\t \t\torg.w3c.dom.Document nod= dou.output(doc);\r\n\t\t\t\t\t \t\t\r\n\t\t\t\t\t\t\t\tHashtable listaGeomAux = new Hashtable();\r\n\t\t\t\t\t \t\tExpressionDOMParser gmlparser = new ExpressionDOMParser(FilterFactoryFinder.createFilterFactory());\r\n\t\t\t\t\t \t\torg.w3c.dom.Node node = null;\r\n\t\t\t\t\t \t\tif (nod.getFirstChild() != null)\r\n\t\t\t\t\t \t\t\tnode = nod.getFirstChild();\r\n\t\t\t\t\t\t \t\tif (node != null){\r\n\t\t\t\t\t\t \t\t\torg.w3c.dom.Node nodeChild = null;\r\n\t\t\t\t\t\t \t\t\tif (node.getFirstChild() != null)\r\n\t\t\t\t\t\t \t\t\t\tnodeChild = node.getFirstChild();\r\n\t\t\t\t\t\t \t\t\twhile (nodeChild != null && !dialog.progressDialog.isCancelRequested()){\r\n\t\t\t\t\t\t \t\t\t\tif (nodeChild.getNodeType()!=org.w3c.dom.Node.TEXT_NODE){\r\n\t\t\t\t\t\t\t\t \t\t\tGeometry geo= gmlparser.gml(nodeChild);\r\n\t\t\t\t\t\t \t\t\t\t\tString[] srsName = nodeChild.getAttributes().getNamedItem(\"srsName\").getNodeValue().split(\"[#:]\");\r\n\t\t\t\t\t\t \t\t\t\t\tint longitud = srsName.length;\r\n\t\t\t\t\t\t \t\t\t\t\tint srid = 0;\r\n\t\t\t\t\t\t \t\t\t\t\tif (longitud>0){\r\n\t\t\t\t\t\t \t\t\t\t\t\tsrid = Integer.parseInt(srsName[longitud-1]);\r\n\t\t\t\t\t\t \t\t\t\t\t\tgeo.setSRID(srid);\r\n\t\t\t\t\t\t \t\t\t\t\t}\r\n\t\t\t\t\t\t \t\t\t geo.geometryChanged();\r\n\t\t\t\t\t\t\t \t\t\t\tlistaGeomAux.put(geo.getGeometryType(),geo);\r\n\t\t\t\t\t\t\t \t\t\t\tif (!geo.getGeometryType().equals(\"Point\")){\r\n\t\t\t\t\t\t\t \t\t\t\t\tPoint point = geo.getCentroid();\r\n\t\t\t\t\t\t\t \t\t\t\t\tpoint.setSRID(srid);\r\n\t\t\t\t\t\t\t \t\t\t\t\tpoint.geometryChanged();\r\n\t\t\t\t\t\t\t \t\t\t\t\tlistaGeomAux.put(\"Point\",point);\r\n\t\t\t\t\t\t\t \t\t\t\t}\r\n\t\t\t\t\t\t \t\t\t\t}\r\n\t\t\t\t\t\t \t\t\t\tnodeChild = nodeChild.getNextSibling();\r\n\t\t\t\t\t\t \t\t\t}\r\n\t\t\t\t\t\t \t\t\tdialog.listaGeometrias.add(listaGeomAux);\r\n\t\t\r\n\t\t\t\t\t\t \t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\trootElement.addContent(feature);\r\n\t\t\t\t\t }\r\n\t\t\t\t }\r\n\t\t\t }\r\n\t\t inputStr.close();\r\n\t\t }\r\n FileOutputStream outputStrean = null;\r\n try\r\n {\r\n outputStrean = new FileOutputStream(dialog.FICHERO_FEATURES);\r\n XMLOutputter outp = new XMLOutputter();\r\n outp.output(docNew, outputStrean);\r\n \t\r\n } finally\r\n {\r\n try\r\n {\r\n outputStrean.close();\r\n } catch (Exception e)\r\n {\r\n e.printStackTrace();\r\n }\r\n }\r\n return true;\r\n }catch(JDOMException e){\r\n \tJOptionPane.showMessageDialog(dialog, I18N.get(\"WfsDialog\",\"ErrorWfs\"),\r\n \t\t\tAppContext.getMessage(\"GeopistaName\"), JOptionPane.ERROR_MESSAGE);\r\n \te.printStackTrace();\r\n \treturn false;\r\n }catch(ConnectException e){\r\n \tJOptionPane.showMessageDialog(dialog, I18N.get(\"WfsDialog\",\"ErrorConexion\"),\r\n \t\t\tAppContext.getMessage(\"GeopistaName\"), JOptionPane.ERROR_MESSAGE);\r\n \te.printStackTrace();\r\n \treturn false;\r\n }catch(Exception e){\r\n \tJOptionPane.showMessageDialog(dialog, I18N.get(\"WfsDialog\",\"ErrorWfs\"),\r\n \t\t\tAppContext.getMessage(\"GeopistaName\"), JOptionPane.ERROR_MESSAGE);\r\n \te.printStackTrace();\r\n \treturn false;\r\n }\r\n }", "title": "" } ]
[ { "docid": "a16f5ee08e311de21fc8fff4dbdf8e6d", "score": "0.55945635", "text": "private String[] detectFeatures() {\n \t\t\tchangeStampIsValid = false;\n \t\t\tfeaturesChangeStampIsValid = false;\n \t\t\tparent.changeStampIsValid = false;\n \t\t\tparent.featuresChangeStampIsValid = false;\n \t\t\t\n \t\t\tfeatures = new ArrayList();\n \t\t\t\t\n \t\t\tif (!supportsDetection(resolvedURL))\n \t\t\t\treturn new String[0];\n \n \t\t\t// locate feature entries on site\n \t\t\tlong start = 0;\n \t\t\tif (DEBUG)\n \t\t\t\tstart = (new Date()).getTime();\n \t\t\tFile root =\n \t\t\t\tnew File(resolvedURL.getFile().replace('/', File.separatorChar) + FEATURES);\n \t\t\tString[] list = root.list();\n \t\t\tString path;\n \t\t\tFile plugin;\n \t\t\tfor (int i = 0; list != null && i < list.length; i++) {\n \t\t\t\tpath = list[i] + File.separator + FEATURE_XML;\n \t\t\t\tplugin = new File(root, path);\n \t\t\t\tif (!plugin.exists()) {\n \t\t\t\t\tcontinue;\n \t\t\t\t}\n \t\t\t\tfeatures.add(FEATURES + \"/\" + path.replace(File.separatorChar, '/'));\n \t\t\t}\n \t\t\tif (DEBUG) {\n \t\t\t\tlong end = (new Date()).getTime();\n \t\t\t\tdebug(resolvedURL.toString()+\" located \"+features.size()+\" feature(s) in \"+(end-start)+\"ms\");\n \t\t\t}\t\t\t\t\n \t\t\t\t\n \t\t\treturn (String[])features.toArray(new String[0]);\n \t\t}", "title": "" }, { "docid": "e202abee913d947f46470e82ce8eb2b4", "score": "0.54850674", "text": "private String[] generateFeaturesFromFile(File file) throws Exception {\n BufferedReader bufferedReader = new BufferedReader(new FileReader(file));\n String[] features = new String[]{};\n\n try {\n Integer featuresCount = Integer.parseInt(bufferedReader.readLine().split(\";\")[1]);\n features = new String[featuresCount];\n String line;\n Integer lineNumber = 0;\n\n while ((line = bufferedReader.readLine()) != null && lineNumber <= featuresCount) {\n features[lineNumber] = line;\n lineNumber++;\n }\n } finally {\n bufferedReader.close();\n }\n\n return features;\n }", "title": "" }, { "docid": "ea4d7390309a306e850878c3b08d14de", "score": "0.5425765", "text": "private String getFeatures(FeatureInfo[] reqFeatures) {\n String features = \"\";\n for (int i = 0; i < reqFeatures.length; i++) {\n features = features + reqFeatures[i] + \",\\n\";\n }\n return features;\n }", "title": "" }, { "docid": "75261cd1cb4e292a85494302f6a374fa", "score": "0.53505117", "text": "public List<org.broad.tribble.Feature> loadFeatures(BufferedReader reader, int maxLines) {\n \n List<org.broad.tribble.Feature> features = new ArrayList<org.broad.tribble.Feature>();\n String nextLine = null;\n \n int nLines = 0;\n try {\n while ((nextLine = reader.readLine()) != null) {\n nextLine = nextLine.trim();\n if (nextLine.length() == 0) continue;\n nLines++;\n if ((maxLines > 0) && (nLines > maxLines)) {\n break;\n }\n \n try {\n if (nextLine.startsWith(\"#\")) {\n if (nextLine.startsWith(\"#type\")) {\n String[] tokens = Globals.equalPattern.split(nextLine);\n if (tokens.length > 1) {\n try {\n // TODO: type is not currently used, is there any reason to keep this?\n TrackType type = TrackType.valueOf(tokens[1]);\n } catch (Exception e) {\n log.error(\"Error converting track type: \" + tokens[1]);\n }\n }\n } else if (nextLine.startsWith(\"#track\")) {\n TrackProperties tp = new TrackProperties();\n ParsingUtils.parseTrackLine(nextLine, tp);\n setTrackProperties(tp);\n if (tp.isGffTags()) {\n gffTags = true;\n }\n } else if (nextLine.startsWith(\"#coords\")) {\n try {\n String[] tokens = Globals.equalPattern.split(nextLine);\n startBase = Integer.parseInt(tokens[1]);\n } catch (Exception e) {\n log.error(\"Error parsing coords line: \" + nextLine, e);\n }\n \n } else if (nextLine.startsWith(\"#gffTags\")) {\n gffTags = true;\n }\n } else {\n Feature feature = parseLine(nextLine);\n if (feature != null) {\n features.add(feature);\n }\n }\n \n } catch (NumberFormatException e) {\n \n // Expected condition -- for example comments. don't log as it slows down\n // the parsing and is not useful information.\n }\n }\n } catch (java.io.EOFException e) {\n \n // This exception is due to a known bug with java zip library. Not\n // in general a real error, and nothing we can do about it in any\n // event.\n return features;\n } catch (Exception e) {\n if (nextLine != null && nLines != 0) {\n throw new ParserException(e.getMessage(), e, nLines, nextLine);\n } else {\n throw new RuntimeException(e);\n }\n }\n \n // TODO -- why is this test here? This will break igvtools processing of expression files\n //if (IGV.hasInstance() || Globals.isTesting()) {\n FeatureDB.addFeatures(features);\n //}\n return features;\n }", "title": "" }, { "docid": "a54a925cab4c1e46763a42dfb452d3cb", "score": "0.5292359", "text": "@NotNull\n\tFile loadFeatures(String identifier, String app);", "title": "" }, { "docid": "182bf4dd2e71bc08fbdb21b8a00c03fb", "score": "0.5286521", "text": "public FeatureFactory() {\n firstNames = new HashMap<String, Boolean>();\n names = new HashMap<String, Boolean>();\n countries = new HashMap<String, Boolean>();\n trainNames = new HashMap<String, Boolean>();\n big = new HashMap<String, Boolean>();\n\n\n\n try {\n parseFile(firstNames, \"../data/male.txt\");\n parseFile(firstNames, \"../data/female.txt\");\n parseFile(names, \"../data/common.names\");\n parseFile(countries, \"../data/countries.1\");\n parseFile(trainNames, \"../data/train.names\"); // Checking if rest of algorithm really works\n parseFile(big, \"../data/big.txt\"); // Checking if rest of algorithm really works\n\n\n } catch (Exception e) {\n System.out.println(\"fuck ...\"); // Shouldn't happen anyway\n }\n\n }", "title": "" }, { "docid": "05f74f668490beef1cd680c71f911de0", "score": "0.5279259", "text": "private static void writeFactTrainingDataFile() {\n \n try {\n \n BufferedWriter writer = new BufferedWriter(new FileWriter(DEFACTO_CONFIG.getStringSetting(\"fact\", \"FACT_TRAINING_DATA_FILENAME\")));\n writer.write(AbstractFactFeatures.factFeatures.toString().substring(0, AbstractFactFeatures.factFeatures.toString().indexOf(\"@data\")));\n writer.write(\"\\n@data\\n\");\n \n // add all instances to a list to shuffle them\n List<Instance> instances = new ArrayList<Instance>();\n for ( int i = 0; i < AbstractFactFeatures.factFeatures.numInstances() ; i++ ) instances.add(AbstractFactFeatures.factFeatures.instance(i));\n Collections.shuffle(instances);\n \n // temp collections\n List<Instance> pickedInstances = new ArrayList<Instance>();\n Set<Integer> randoms = new HashSet<Integer>();\n Map<String,Integer> modelsToProofsSize = new HashMap<String,Integer>();\n \n for ( Instance instance : instances ) {\n \n if ( pickedInstances.size() == 550) break;\n \n Integer random = (int)(Math.random() * ((AbstractFactFeatures.factFeatures.numInstances()) + 1)) - 1;\n if ( !randoms.contains(random) ) {\n \n randoms.add(random);\n String type = instance.stringValue(AbstractFactFeatures.TRUE_FALSE_TYPE)\n .substring(0, instance.stringValue(AbstractFactFeatures.TRUE_FALSE_TYPE).lastIndexOf(\"_\"));\n \n if ( modelsToProofsSize.containsKey(type) ) {\n \n if ( modelsToProofsSize.get(type) < 10 ) {\n \n pickedInstances.add(instance);\n modelsToProofsSize.put(type, modelsToProofsSize.get(type) + 1);\n }\n }\n else {\n \n pickedInstances.add(instance);\n modelsToProofsSize.put(type, 1);\n }\n }\n }\n Collections.shuffle(pickedInstances);\n \n for (Instance instance : pickedInstances) {\n \n List<String> lines = new ArrayList<String>();\n for ( int i = 0; i < instance.numAttributes() ; i++ ) {\n \n if ( instance.attribute(i).isString() ) {\n \n String field = StringEscapeUtils.escapeCsv(instance.stringValue(instance.attribute(i)).replaceAll(\"\\\\n\", \"\"));\n field = field.replace(\"\\\"\\\"\\\"\", \"'\");\n field = field.replace(\"\\\"\\\"\", \"'\");\n field = field.replace(\"\\\"\", \"'\");\n if ( !field.startsWith(\"\\\"\") ) field = \"\\\"\" + field;\n if ( !field.endsWith(\"\\\"\")) field = field + \"\\\"\";\n lines.add(field);\n }\n else {\n \n if ( instance.attribute(i).isNumeric() )\n lines.add(StringEscapeUtils.escapeCsv(instance.value(instance.attribute(i))+ \"\"));\n else\n lines.add(instance.stringValue(instance.attribute(i)) + \"\");\n }\n }\n \n writer.write(StringUtils.join(lines, \",\") + \"\\n\");\n }\n \n writer.flush();\n writer.close();\n }\n catch (IOException e) {\n \n e.printStackTrace();\n } \n }", "title": "" }, { "docid": "644ebdc35f705d7fdf01ff94935e16db", "score": "0.52297515", "text": "public SimpleFeatureCollection getWFSData() throws IOException, NoSuchAuthorityCodeException, FactoryException {\r\n\t\t\r\n\t\t//Step 1: Get Capabilities\r\n Map <String, Serializable> connectionParameters = new HashMap<>();\r\n \r\n\t\tconnectionParameters.put(\"WFSDataStoreFactory:GET_CAPABILITIES_URL\", getCapabilities);\r\n\r\n\r\n\t //Step 2: Create a Data Store\r\n\t WFSDataStoreFactory dsf = new WFSDataStoreFactory();\r\n\t WFSDataStore dataStore = dsf.createDataStore(connectionParameters); //or just one row: DataStore data = DataStoreFinder.getDataStore(connectionParameters);\t\r\n\t \t\r\n\t \r\n\t\t//Step 3: Access Feature\r\n\t SimpleFeatureSource featureSource = dataStore.getFeatureSource(typeName);\r\n\t SimpleFeatureCollection collection = featureSource.getFeatures();\r\n\t \r\n\t return collection;\r\n\r\n\t}", "title": "" }, { "docid": "b2e3661057b1a2417076d7e8bb20f24f", "score": "0.51498955", "text": "private void addFeatures(String name, double price, String gender, String tag, String content, int numOfProduct) {\r\n features.add(name);\r\n features.add(String.valueOf(price));\r\n features.add(gender);\r\n if (tagSplit() && splitSize(tag)==4){\r\n features.add(tagP1);\r\n features.add(tagP2);\r\n features.add(tagP3);\r\n features.add(tagP4);\r\n }\r\n if (contentSplit() && splitSize(content) ==4){\r\n features.add(contentP1);\r\n features.add(contentP2);\r\n features.add(contentP3);\r\n features.add(contentP4);\r\n }\r\n features.add(String.valueOf(numOfProduct));\r\n }", "title": "" }, { "docid": "68c04dd695eaee374c8502333ee70580", "score": "0.5147192", "text": "public Feature[] getFeatures(String filepath) throws Exception {\n String featureText = FixJava.readReader(new InputStreamReader(new FileInputStream(filepath), \"UTF-8\"));\n StringBuilder json = new StringBuilder();\n JSONFormatter formatter = new JSONFormatter(json);\n Parser parser = new Parser(formatter);\n parser.parse(featureText, filepath, 0);\n formatter.done();\n formatter.close();\n\n JSONObject jsonObject = new JSONObject(json.substring(1,json.length()-1).trim());\n\n\n /*json = json.substring(json.indexOf(\"{\"));\n\n json.setLength(json.length() - 1);\n*/\n //Step Two: Convert the Features to plain old java object, and return an array of features\n ObjectMapper mapper = new ObjectMapper();\n return mapper.readValue(json.substring(1,json.length()-1).trim(),Feature[].class);\n //return mapper.readValue(json.substring(json.indexOf(\"{\")),Feature[].class);\n }", "title": "" }, { "docid": "43c672d11ec924ab8fbe4bb6dd095c5c", "score": "0.5133623", "text": "public static String[] selectFeatures(IConfigurable config) throws Exception {\n\t\t// get data from elasticsearch\n\t\tJavaRDD<LabeledPoint> points = SparkEsConnector.getLabeledPointFromEsCsvFormat(config);\n\n\t\t// number of features\n\t\tint numberFeatures = config.getSetting(FSChiSqSelectorSettings.NUMBER_FEATURES);\n\t\tint bin = config.getSetting(FSChiSqSelectorSettings.NUMBER_BINS);\n\n\t\t// Discrete data in 16 equal bins since ChiSqSelector requires categorical\n\t\t// features\n\t\t// Although features are doubles, the ChiSqSelector treats each unique value as\n\t\t// a category\n\t\tJavaRDD<LabeledPoint> discretizedData = points.map(lp -> {\n\t\t\tdouble[] discretizedFeatures = new double[lp.features().size()];\n\t\t\tfor (int i = 0; i < lp.features().size(); ++i) {\n\t\t\t\tdiscretizedFeatures[i] = Math.floor(lp.features().apply(i) / bin);\n\t\t\t}\n\t\t\treturn new LabeledPoint(lp.label(), Vectors.dense(discretizedFeatures));\n\t\t});\n\n\t\t// Create ChiSqSelector that will select top x features\n\t\tChiSqSelector selector = new ChiSqSelector(numberFeatures);\n\n\t\t// Create ChiSqSelector model (selecting features)\n\t\tChiSqSelectorModel transformer = selector.fit(discretizedData.rdd());\n\n\t\tString[] featureCols = config.getSetting(FSChiSqSelectorSettings.LIST_FEATURES_COL);\n\t\tint[] selectedIndices = transformer.selectedFeatures();\n\t\tString[] retVal = new String[selectedIndices.length];\n\t\tint _index = 0;\n\t\tfor (int selectedIndex : selectedIndices) {\n\t\t\tretVal[_index++] = featureCols[selectedIndex];\n\t\t}\n\n\t\treturn retVal;\n\t}", "title": "" }, { "docid": "477b8de1d112bb6055bf50c799173dac", "score": "0.5114868", "text": "private static void features() {\n sendCommand(\"FEAT\");\n handleResponse();\n }", "title": "" }, { "docid": "5e8c68317dd211dd19f2e4c4a24611b7", "score": "0.5068592", "text": "public List<org.broad.tribble.Feature> loadFeatures(ResourceLocator locator, int maxLines) {\n \n BufferedReader reader = null;\n try {\n reader = ParsingUtils.openBufferedReader(locator);\n return loadFeatures(reader, maxLines);\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (reader != null) {\n try {\n reader.close();\n } catch (IOException e) {\n \n }\n }\n }\n }", "title": "" }, { "docid": "764fbf1624c37e9014befd3d9a663837", "score": "0.5050736", "text": "public void setFeatures(){\n try {\n JSONArray feat = json.getJSONArray(\"features\");\n for(int i = 0; i < feat.length(); i++) {\n String name = feat.getJSONObject(i).getString(\"name\");\n String type = feat.getJSONObject(i).getString(\"type\");\n String id = feat.getJSONObject(i).getString(\"id\");\n Feature feature = new Feature(name, type, id);\n addFeatures(id,feature);\n }\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "cdebd07a2db58f79df0ab88a3e2b755c", "score": "0.50473964", "text": "private static String loadSelectedAttributes()\n throws IOException {\n BufferedReader reader = new BufferedReader(\n new FileReader(fileFeatures));\n String string = reader.readLine();\n reader.close();\n return string;\n }", "title": "" }, { "docid": "d605f242e9cf8e14aff7b3e3905f926b", "score": "0.5017033", "text": "String getFeature();", "title": "" }, { "docid": "19c5eafd7f5735fd1754fc16f4351355", "score": "0.4999178", "text": "public void buildFeatureSet(){\n\n \n getFeatureSet().put(\"preRNA_sequence\", this.getSeq());\n getFeatureSet().put(\"preRNA_structure\", this.getStructureStr());\n getFeatureSet().put(\"preRNA_energy\", this.getEnergy());\n getFeatureSet().put(\"preRNA_size\", this.getLength());\n getFeatureSet().put(\"preRNA_GC_content\", super.GCfraction() );\n getFeatureSet().put(\"preRNA_A_content\", this.Afraction());\n getFeatureSet().put(\"preRNA_U_content\", this.Ufraction());\n getFeatureSet().put(\"preRNA_G_content\", this.Gfraction());\n getFeatureSet().put(\"preRNA_C_content\", this.Cfraction());\n }", "title": "" }, { "docid": "9db587747c092503460bce343ea421a5", "score": "0.49687508", "text": "public interface FeatureLoader {\n\n\t/**\n\t * Load the features from some external source and save them to the disk\n\t *\n\t * @param identifier Some identifier that the implementing class can use to find the features\n\t * @param app The name of the application we are testing\n\t * @return The path where the features were saved, so Cucumber can load them\n\t */\n\t@NotNull\n\tFile loadFeatures(String identifier, String app);\n\n\t/**\n\t * Load the features from some external source and save them to the disk\n\t *\n\t * @param identifiers Some identifiers that the implementing class can use to find the features\n\t * @param app The name of the application we are testing\n\t * @return The path where the features were saved, so Cucumber can load them\n\t */\n\t@NotNull\n\tFile loadFeatures(@NotNull List<String> identifiers, String app);\n}", "title": "" }, { "docid": "c841d55a40c894aebdcdc74744f00a3a", "score": "0.49546146", "text": "public com.google.cloud.bigquery.v2.StandardSqlProto.StandardSqlField.Builder addFeatureColumnsBuilder() {\n return getFeatureColumnsFieldBuilder().addBuilder(\n com.google.cloud.bigquery.v2.StandardSqlProto.StandardSqlField.getDefaultInstance());\n }", "title": "" }, { "docid": "d0bc2e7e307650e77ea5304a8b30ed1d", "score": "0.49487767", "text": "public void features() {\n\t}", "title": "" }, { "docid": "00b390588b87397748446168e8d0fc7c", "score": "0.49449098", "text": "public org.landxml.schema.landXML11.FeatureDocument.Feature[] getFeatureArray()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n java.util.List targetList = new java.util.ArrayList();\r\n get_store().find_all_element_users(FEATURE$2, targetList);\r\n org.landxml.schema.landXML11.FeatureDocument.Feature[] result = new org.landxml.schema.landXML11.FeatureDocument.Feature[targetList.size()];\r\n targetList.toArray(result);\r\n return result;\r\n }\r\n }", "title": "" }, { "docid": "aad940f2caf28d560452b8596f290c76", "score": "0.49429616", "text": "@NotNull\n\tFile loadFeatures(@NotNull List<String> identifiers, String app);", "title": "" }, { "docid": "7fab05bf156d3a37052397dd00103a61", "score": "0.4933617", "text": "public List<ClassroomFeature<?, ?>> getFeatures() {\n\t\tArrayList<ClassroomFeature<?, ?>> out = new ArrayList<ClassroomFeature<?, ?>>();\n\t\t\n\t\tout.add(chatbox);\n\t\tout.add(whiteboard);\n\t\tout.add(codeDisplay);\n\t\tif (activity != null) out.add(activity);\n\t\t\n\t\treturn out;\n\t}", "title": "" }, { "docid": "a1d4a8d3ab432ce0b4d9d812ad18501b", "score": "0.49057677", "text": "@Override\n\tpublic ArrayList<String> getFeatures() {\n\t\treturn Features;\n\t}", "title": "" }, { "docid": "44762b567e72572b520cd4c1f2d2f0f8", "score": "0.48698795", "text": "public void initializeFeaturesInPlay(){\n\t\tString[] temp = fileAsArray.get(0);\n\t\tfor(int i = 0; i < temp.length-1; i++){ // skip classification index\n\t\t\tfeaturesInPlay.add(i);\n\t\t}\n\t}", "title": "" }, { "docid": "8bb01dd2530094111f0d0ff5966f77cf", "score": "0.48674715", "text": "java.util.List<com.htzhu.protobuf.routeguice.Feature>\n\tgetFeatureList();", "title": "" }, { "docid": "efea1776048143af04dcb9df20b4b6e3", "score": "0.48596016", "text": "public static List<Feature> getCountryFeatures()\n {\n isAppletMade();\n if(WorldDataUtils.countryFeatures == null)\n return WorldDataUtils.countryFeatures = Collections.unmodifiableList(GeoJSONReader.loadData(currentApplet,\"./data/countries.geo.json\"));\n else\n return WorldDataUtils.countryFeatures;\n }", "title": "" }, { "docid": "7dfbc53ecde2ee571f0bc6d49a2ad597", "score": "0.48511946", "text": "public String createARFF(String text) {\n String feature_list = \"\";\n\n //check the pattern match for text and title for all the cases\n for (Pattern pattern : unigramPatternList) {\n Matcher matcher = pattern.matcher(text);\n feature_list += getMatchingCount(matcher) + \",\";\n }\n\n for (Pattern pattern : bigramPatternList) {\n Matcher matcher = pattern.matcher(text);\n feature_list += getMatchingCount(matcher) + \",\";\n }\n\n for (Pattern pattern : trigramPatternList) {\n Matcher matcher = pattern.matcher(text);\n feature_list += getMatchingCount(matcher) + \",\";\n }\n\n Matcher matcherCF = relatedPattern1.matcher(text);\n feature_list += getMatchingCount(matcherCF) + \",\";\n //add unknown class for the feature vector\n feature_list += \"?\";\n return headingEvidenceClassifier + feature_list;\n }", "title": "" }, { "docid": "1817b3f985fbdf3ab77b7ffe2065c0ad", "score": "0.48234275", "text": "public static final void readFeatures() \n {\n readJVM();\n \n // Check for forward slash charcter being valid in path separators.\n if (File.separatorChar == '/') {\n forwardSlashSeparator = true;\n }\n \n // Check whether arbitrary pointer shapes work.\n checkCursorSupport();\n\n // Check whether we can do auto detection of local root certificates\n checkLocalRootCertificateDetection();\n }", "title": "" }, { "docid": "9b55f5bce3a9705ec2ea89234ad671f0", "score": "0.48141533", "text": "String getRenderedFeatureFileContent() {\n StringBuilder renderedContent = new StringBuilder();\n\n // add feature name\n renderedContent\n .append(\"Feature: \").append(featureName)\n .append(System.lineSeparator()).append(System.lineSeparator());\n\n // add tags\n for (String tag : tags) {\n renderedContent.append(tag).append(System.lineSeparator());\n }\n\n // add scenario name with keywords\n renderedContent.append(\"Scenario: \")\n .append(name).append(System.lineSeparator());\n\n // add steps\n for (int i = 0; i < steps.size(); i++) {\n renderedContent.append(keywords.get(i)).append(\" \")\n .append(steps.get(i)).append(System.lineSeparator());\n }\n\n renderedContent.append(System.lineSeparator())\n .append(\"# Generated by Cucable, \").append(new Date())\n .append(System.lineSeparator());\n\n return renderedContent.toString();\n }", "title": "" }, { "docid": "abbdcd9c85e426749800e23afe2444d7", "score": "0.48025948", "text": "public List<String> getFeatures() {\n return Collections.unmodifiableList(features);\n }", "title": "" }, { "docid": "882f397e78a510f4412d9a484887e6ef", "score": "0.48019156", "text": "private Features() {}", "title": "" }, { "docid": "407b4999a387039220f9acfb39e6e67d", "score": "0.47995356", "text": "public Vector<String> getFeatureDefinitions() {\n\n Vector<String> definitions = new Vector<String>();\n\n try {\n BufferedReader br = Utils.openFile(Constants.featureDefinitionsFile);\n\n String line;\n\n while ((line=br.readLine()) != null ) {\n line = line.trim();\n // Before the # is the code, afterwards the \n // comment/name of the feature\n int raute = line.indexOf('#');\n if (raute!=-1) {\n definitions.add(line.substring(raute+1));\n } else {\n // If there is no comment, add feature code\n definitions.add(line);\n }\n }\n\n return definitions;\n\n } catch (IOException e) {\n System.out.println(\"Error while reading feature definitions.\");\n e.printStackTrace();\n return definitions;\n }\n }", "title": "" }, { "docid": "38fcd178b27e80363989d154bd27a397", "score": "0.47975737", "text": "public FeatureInfo() {\r\n }", "title": "" }, { "docid": "a1796ab4b06b588b98ac7eef3349230f", "score": "0.4769304", "text": "public Map<String,Feature> getFeatures() {\n return features;\n }", "title": "" }, { "docid": "ad51935c706137bf4760d7b9d646b06c", "score": "0.4740981", "text": "public void print_org_emftext_sdk_generatorconfig_Features(org.emftext.sdk.generatorconfig.Features element, java.lang.String outertab, java.io.PrintWriter out) {\n\t\tout.print(\"FEATURES\");\r\n\t\tout.print(\" \");\r\n\t}", "title": "" }, { "docid": "15397fcacc570994f5204cb158b9e0b2", "score": "0.47385406", "text": "String exportTableToFile(String tableNameFrom, Map<String,String> features, String[] options);", "title": "" }, { "docid": "be97b43c250c69d482bf01c5f7ec04b3", "score": "0.47273672", "text": "public String addFeatures(int number) {\n String returnString = \"F + \" + number + \" \";\n while (number-- > 0) {\n if (tempFeatures.cardinality() >= original.numAttributes()) break;\n int randomIndex = random.nextInt(original.numAttributes() - 1);\n while (tempFeatures.get(randomIndex)) randomIndex = random.nextInt(original.numAttributes() - 1);\n tempFeatures.set(randomIndex);\n }\n return returnString;\n }", "title": "" }, { "docid": "4ae4a5b3a4f93b905515c0d3342340cd", "score": "0.47261176", "text": "@Test\n\tpublic void testPopulateStubby() throws Exception {\n\t\ttestMainProject.create(InputType.ECLIPSE_FEATURE, externalFile);\n\n\t\t// Make sure the original feature.xml got copied into the workspace\n\t\tIFile featureFile = baseProject.getFile(new Path(FEATURE));\n\t\tassertTrue(featureFile.exists());\n\n\t\t// Make sure the proper .spec file is generated\n\t\tIFile specFile = baseProject.getFile(new Path(SPEC));\n\t\tIDE.openEditor(Activator.getDefault().getWorkbench()\n\t\t\t\t.getActiveWorkbenchWindow().getActivePage(), specFile);\n\t\tassertTrue(specFile.exists());\n\n\t\t// Check if the generated .spec file contains the correct information\n\t\tLocalSearchString localSearch = new LocalSearchString();\n\t\tassertTrue(localSearch.searchString(\"Name: eclipse-packager\", specFile)); //$NON-NLS-1$\t\n\t}", "title": "" }, { "docid": "86a7d03b052f65f6cd590e8fc5552b11", "score": "0.47206485", "text": "private void favoritesInit(){\n\t\t\tFileInputStream fin = null;\n\t\t\tFileOutputStream fos = null;\n\t\t\tQueryOfficeResults aux = new QueryOfficeResults();\n\t\t\tObjectInputStream is = null;\n\t\t\tObjectOutputStream oos=null;\n\t\t\t\n\t\t\ttry {\n\t\t\t\tfin = openFileInput(\"f.xml\");\n\t\t\t\tis = new ObjectInputStream(fin);\n\t\t\t\taux= (QueryOfficeResults) is.readObject();\n\t\t\t\tis.close();\n\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\ttry {\n\t\t\t\t\tfos = openFileOutput(\"f.xml\", MODE_PRIVATE);\n\t\t\t\t\toos = new ObjectOutputStream(fos);\n\t\t\t\t\toos.writeObject(aux);\n\t\t\t\t\toos.close();\n\t\t\t\t} catch (IOException e1) {\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t}\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (ClassNotFoundException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "f94f3d9103b285cacd556dc67fbefc54", "score": "0.471856", "text": "java.util.List<java.lang.String>\n getFeatureList();", "title": "" }, { "docid": "88e30f8372a407b021fdda4092fe07d3", "score": "0.47104582", "text": "public Ficha_epidemiologia_n6 obtenerFichaEpidemiologia() {\n\t\t\t\t\t\n\t\t\t\tFicha_epidemiologia_n6 ficha_epidemiologia_n6 = new Ficha_epidemiologia_n6();\n\t\t\t\tficha_epidemiologia_n6.setCodigo_empresa(empresa.getCodigo_empresa());\n\t\t\t\tficha_epidemiologia_n6.setCodigo_sucursal(sucursal.getCodigo_sucursal());\n\t\t\t\tficha_epidemiologia_n6.setCodigo_ficha(tbxCodigo_ficha.getValue());\n\t\t\t\tficha_epidemiologia_n6.setIdentificacion(tbxIdentificacion.getValue());\n\t\t\t\tficha_epidemiologia_n6.setFecha_creacion(new Timestamp(dtbxFecha_creacion.getValue().getTime()));\n\t\t\t\tficha_epidemiologia_n6.setCodigo_diagnostico(\"Z000\");\n\t\t\t\tficha_epidemiologia_n6.setVacuna_fiebre_amarilla(rdbVacuna_fiebre_amarilla.getSelectedItem().getValue().toString());\n\t\t\t\t\n\t\t\t\tif (dtbxFecha_fiebre_amarilla.getValue() != null) {\n\t\t\t\t\tficha_epidemiologia_n6.setFecha_fiebre_amarilla(new Timestamp(dtbxFecha_fiebre_amarilla.getValue().getTime()));\n\t\t\t\t\t\t\n\t\t\t\t} else {\n\t\t\t\t\tficha_epidemiologia_n6.setFecha_fiebre_amarilla(null);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tficha_epidemiologia_n6.setVacuna_hepatitis_b1(rdbVacuna_hepatitis_b1.getSelectedItem().getValue().toString());\n\t\t\t\t\n\t\t\t\tif (dtbxFecha_hepatitis_b1.getValue() != null) {\n\t\t\t\t\tficha_epidemiologia_n6.setFecha_hepatitis_b1(new Timestamp(dtbxFecha_hepatitis_b1.getValue().getTime()));\n\t\t\t\t\t\t\n\t\t\t\t} else {\n\t\t\t\t\tficha_epidemiologia_n6.setFecha_hepatitis_b1(null);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tficha_epidemiologia_n6.setVacuna_hepatitis_b2(rdbVacuna_hepatitis_b2.getSelectedItem().getValue().toString());\n\t\t\t\t\n\t\t\t\tif (dtbxFecha_hepatitis_b2.getValue() != null) {\n\t\t\t\t\tficha_epidemiologia_n6.setFecha_hepatitis_b2(new Timestamp(dtbxFecha_hepatitis_b2.getValue().getTime()));\n\t\t\t\t\t\t\n\t\t\t\t} else {\n\t\t\t\t\tficha_epidemiologia_n6.setFecha_hepatitis_b2(null);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tficha_epidemiologia_n6.setVacuna_hepatitis_b3(rdbVacuna_hepatitis_b3.getSelectedItem().getValue().toString());\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tif (dtbxFecha_hepatitis_b3.getValue() != null) {\n\t\t\t\t\tficha_epidemiologia_n6.setFecha_hepatitis_b3(new Timestamp(dtbxFecha_hepatitis_b3.getValue().getTime()));\n\t\t\t\t\t\t\n\t\t\t\t} else {\n\t\t\t\t\tficha_epidemiologia_n6.setFecha_hepatitis_b3(null);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tficha_epidemiologia_n6.setVacuna_hepatitis_a(rdbVacuna_hepatitis_a.getSelectedItem().getValue().toString());\n\t\t\t\t\n\t\t\t\tif (dtbxFecha_hepatitis_a.getValue() != null) {\n\t\t\t\t\tficha_epidemiologia_n6.setFecha_hepatitis_a(new Timestamp(dtbxFecha_hepatitis_a.getValue().getTime()));\n\t\t\t\t\t\t\n\t\t\t\t} else {\n\t\t\t\t\tficha_epidemiologia_n6.setFecha_hepatitis_a(null);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tficha_epidemiologia_n6.setObservaciones_vacunas(tbxObservaciones_vacunas.getValue());\n\t\t\t\tficha_epidemiologia_n6.setFiebre(chbFiebre.isChecked());\n\t\t\t\tficha_epidemiologia_n6.setMialgias(chbMialgias.isChecked());\n\t\t\t\tficha_epidemiologia_n6.setArtralgias(chbArtralgias.isChecked());\n\t\t\t\tficha_epidemiologia_n6.setCefalea(chbCefalea.isChecked());\n\t\t\t\tficha_epidemiologia_n6.setVomito(chbVomito.isChecked());\n\t\t\t\tficha_epidemiologia_n6.setIctericia(chbIctericia.isChecked());\n\t\t\t\tficha_epidemiologia_n6.setHemoptisis(chbHemoptisis.isChecked());\n\t\t\t\tficha_epidemiologia_n6.setS_faget(chbS_faget.isChecked());\n\t\t\t\tficha_epidemiologia_n6.setHiperemia_conjuntival(chbHiperemia_conjuntival.isChecked());\n\t\t\t\tficha_epidemiologia_n6.setHematemesis(chbHematemesis.isChecked());\n\t\t\t\tficha_epidemiologia_n6.setOliguria(chbOliguria.isChecked());\n\t\t\t\tficha_epidemiologia_n6.setPetequias(chbPetequias.isChecked());\n\t\t\t\tficha_epidemiologia_n6.setMetrorragia(chbMetrorragia.isChecked());\n\t\t\t\tficha_epidemiologia_n6.setChoque(chbChoque.isChecked());\n\t\t\t\tficha_epidemiologia_n6.setBrandicardia(chbBrandicardia.isChecked());\n\t\t\t\tficha_epidemiologia_n6.setMelenas(chbMelenas.isChecked());\n\t\t\t\tficha_epidemiologia_n6.setEquimosis(chbEquimosis.isChecked());\n\t\t\t\tficha_epidemiologia_n6.setEpistaxis(chbEpistaxis.isChecked());\n\t\t\t\tficha_epidemiologia_n6.setHematuria(chbHematuria.isChecked());\n\t\t\t\tficha_epidemiologia_n6.setDolor_abdominal(chbDolor_abdominal.isChecked());\n\t\t\t\tficha_epidemiologia_n6.setFalla_renal(chbFalla_renal.isChecked());\n\t\t\t\tficha_epidemiologia_n6.setFalla_hepatica(chbFalla_hepatica.isChecked());\n\t\t\t\tficha_epidemiologia_n6.setRecuento_leucocitos(dbxRecuento_leucocitos.getValue() != null ? dbxRecuento_leucocitos.getValue() + \"\" : \"\");\n\t\t\t\tficha_epidemiologia_n6.setRecuento_plaquetas_inicial(dbxRecuento_plaquetas_inicial.getValue() != null ? dbxRecuento_plaquetas_inicial.getValue() + \"\" : \"\");\n\t\t\t\tficha_epidemiologia_n6.setAst_tgo(dbxAst_tgo.getValue() != null ? dbxAst_tgo.getValue() + \"\" : \"\");\n\t\t\t\tficha_epidemiologia_n6.setAlt_tgp(dbxAlt_tgp.getValue() != null ? dbxAlt_tgp.getValue() + \"\" : \"\");\n\t\t\t\tficha_epidemiologia_n6.setBilirrubina_total(dbxBilirrubina_total.getValue()!=null ? dbxBilirrubina_total.getValue()+ \"\" : \"\");\n\t\t\t\tficha_epidemiologia_n6.setBilirrubina_directa(dbxBilirrubina_directa.getValue()!=null ? dbxBilirrubina_directa.getValue()+ \"\" : \"\");\n\t\t\t\tficha_epidemiologia_n6.setBilirrubina_indirecta(dbxBilirrubina_indirecta.getValue()!=null ? dbxBilirrubina_indirecta.getValue()+ \"\" : \"\");\n\t\t\t\tficha_epidemiologia_n6.setBun(dbxBun.getValue()!=null ? dbxBun.getValue()+ \"\" : \"\");\n\t\t\t\tficha_epidemiologia_n6.setCreatinina(dbxCreatinina.getValue()!=null ? dbxCreatinina.getValue()+ \"\" : \"\");\n\t\t\t\tficha_epidemiologia_n6.setIgm_fiebre_amarilla(rdbIgm_fiebre_amarilla.getSelectedItem().getValue().toString());\n\t\t\t\tficha_epidemiologia_n6.setRt_pcr(rdbRt_pcr.getSelectedItem().getValue().toString());\n\t\t\t\tficha_epidemiologia_n6.setAislamiento_viral(rdbAislamiento_viral.getSelectedItem().getValue().toString());\n\t\t\t\tficha_epidemiologia_n6.setViscerotomia(rdbViscerotomia.getSelectedItem().getValue().toString());\n\t\t\t\tficha_epidemiologia_n6.setTejido_fresco(rdbTejido_fresco.getSelectedItem().getValue().toString());\n\t\t\t\tficha_epidemiologia_n6.setTejido_normal(rdbTejido_normal.getSelectedItem().getValue().toString());\n\t\t\t\tficha_epidemiologia_n6.setDesplazamiento(rdbDesplazamiento.getSelectedItem().getValue().toString());\n\t\t\t\t\n\t\t\t\tif (dtbxFecha_desplazamiento.getValue() != null) {\n\t\t\t\t\tficha_epidemiologia_n6.setFecha_desplazamiento(new Timestamp(dtbxFecha_desplazamiento.getValue().getTime()));\n\t\t\t\t\t\t\n\t\t\t\t} else {\n\t\t\t\t\tficha_epidemiologia_n6.setFecha_desplazamiento(null);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tficha_epidemiologia_n6.setMunicipio_desplazamiento(tbxMunicipio_desplazamiento.getValue());\n\t\t\t\tficha_epidemiologia_n6.setCaso_fiebre(rdbCaso_fiebre.getSelectedItem().getValue().toString());\n\t\t\t\tficha_epidemiologia_n6.setOcurrencia(rdbOcurrencia.getSelectedItem().getValue().toString());\n\t\t\t\tficha_epidemiologia_n6.setDireccion(tbxDireccion.getValue());\n\t\t\t\tficha_epidemiologia_n6.setPresencia_aedes(rdbPresencia_aedes.getSelectedItem().getValue().toString());\n\t\t\t\tficha_epidemiologia_n6.setCodigo_medico(tbxCodigo_medico.getValue());\n\t\t\t\tficha_epidemiologia_n6.setCreacion_date(new Timestamp(new GregorianCalendar().getTimeInMillis()));\n\t\t\t\tficha_epidemiologia_n6.setUltimo_update(new Timestamp(new GregorianCalendar().getTimeInMillis()));\n\t\t\t\tficha_epidemiologia_n6.setCreacion_user(usuarios.getCodigo().toString());\n\t\t\t\tficha_epidemiologia_n6.setDelete_date(null);\n\t\t\t\tficha_epidemiologia_n6.setUltimo_user(usuarios.getCodigo().toString());\n\t\t\t\tficha_epidemiologia_n6.setDelete_user(null);\n\t\t\t\t\n\t\t\t\treturn ficha_epidemiologia_n6;\n\t\t\t\t \n\t\t\n\t}", "title": "" }, { "docid": "4b083ada0e6945b150d68afe12bd5777", "score": "0.47054282", "text": "public Collection<String> getAvailableFeatures() {\n \t\treturn featureToExtractorsMap.keySet();\n \t}", "title": "" }, { "docid": "503f3e73e15475c71725712cf4e2e3c4", "score": "0.47001505", "text": "public static List<Feat> getFullListOfFeats() {\n\t\tList<Feat> feats = new ArrayList<Feat>();\n\t\t\n\t\t// Book 1 Heroic\n\t\tfeats.add(new ActionSurge());\n\t\tfeats.add(new AgileHunter());\n\t\tfeats.add(new Alertness());\n\t\tfeats.add(new ArmorOfBahamut());\n\t\tfeats.add(new ArmorProficiencyChainmail());\n\t\tfeats.add(new ArmorProficiencyHide());\n\t\tfeats.add(new ArmorProficiencyLeather());\n\t\tfeats.add(new ArmorProficiencyPlate());\n\t\tfeats.add(new ArmorProficiencyScale());\n\t\tfeats.add(new AstralFire());\n\t\tfeats.add(new AvandrasRescue());\n\t\tfeats.add(new Backstabber());\n\t\tfeats.add(new BladeOpportunist());\n\t\tfeats.add(new BurningBlizzard());\n\t\tfeats.add(new CombatReflexes());\n\t\tfeats.add(new CorellonsGrace());\n\t\tfeats.add(new DarkFury());\n\t\tfeats.add(new DefensiveMobility());\n\t\tfeats.add(new DistractingShield());\n\t\tfeats.add(new DodgeGiants());\n\t\tfeats.add(new DragonbornFrenzy());\n\t\tfeats.add(new DragonbornSenses());\n\t\tfeats.add(new Durable());\n\t\tfeats.add(new DwarvenWeaponTraining());\n\t\tfeats.add(new EladrinSoldier());\n\t\tfeats.add(new ElvenPrecision());\n\t\tfeats.add(new EnlargedDragonBreath());\n\t\tfeats.add(new EscapeArtist());\n\t\tfeats.add(new ExpandedSpellbook());\n\t\tfeats.add(new FarShot());\n\t\tfeats.add(new FarThrow());\n\t\tfeats.add(new FastRunner());\n\t\tfeats.add(new FerociousRebuke());\n\t\tfeats.add(new GroupInsight());\n\t\tfeats.add(new HalflingAgility());\n\t\tfeats.add(new HarmonyOfErathis());\n\t\tfeats.add(new HealingHands());\n\t\tfeats.add(new HellfireBlood());\n\t\tfeats.add(new HumanPerseverance());\n\t\tfeats.add(new ImprovedDarkOnesBlessing());\n\t\tfeats.add(new ImprovedFateOfTheVoid());\n\t\tfeats.add(new ImprovedInitiative());\n\t\tfeats.add(new ImprovedMistyStep());\n\t\tfeats.add(new InspiredRecovery());\n\t\tfeats.add(new IounsPoise());\n\t\tfeats.add(new JackOfAllTrades());\n\t\tfeats.add(new KordsFavor());\n\t\tfeats.add(new LethalHunter());\n\t\tfeats.add(new LightStep());\n\t\tfeats.add(new Linguist());\n\t\tfeats.add(new LongJumper());\n\t\tfeats.add(new LostInTheCrowd());\n\t\tfeats.add(new MelorasTide());\n\t\tfeats.add(new MoradinsResolve());\n\t\tfeats.add(new MountedCombat());\n\t\tfeats.add(new NimbleBlade());\n\t\tfeats.add(new PelorsRadiance());\n\t\tfeats.add(new PotentChallenge());\n\t\tfeats.add(new PowerAttack());\n\t\tfeats.add(new PowerfulCharge());\n\t\tfeats.add(new PreciseHunter());\n\t\tfeats.add(new PressTheAdvantage());\n\t\tfeats.add(new QuickDraw());\n\t\tfeats.add(new RagingStorm());\n\t\tfeats.add(new RavenQueensBlessing());\n\t\tfeats.add(new RitualCaster());\n\t\tfeats.add(new SehaninesReversal());\n\t\tfeats.add(new ShieldProficiencyHeavy());\n\t\tfeats.add(new ShieldProficiencyLight());\n\t\tfeats.add(new ShieldPush());\n\t\tfeats.add(new SkillFocus());\n\t\tfeats.add(new SkillTraining());\n\t\tfeats.add(new SureClimber());\n\t\tfeats.add(new SurpriseKnockdown());\n\t\tfeats.add(new TacticalAssault());\n\t\tfeats.add(new Toughness());\n\t\tfeats.add(new TwoWeaponDefense());\n\t\tfeats.add(new TwoWeaponFighting());\n\t\tfeats.add(new WeaponFocus());\n\t\tfeats.add(new WeaponProficiency());\n\t\tfeats.add(new Wintertouched());\n\t\t\n\t\t// Book 1 Paragon Tier Feats\n\t\t\n\t\t// Book 1 Epic Tier Feats\n\t\t\n\t\t\n\t\t// Book 2 Heroic Tier Feats\n\t\tfeats.add(new AngerUnleashed());\n\t\tfeats.add(new AuspiciousLineage());\n\t\tfeats.add(new BlurringClaws());\n\t\tfeats.add(new CombatMedic());\n\t\tfeats.add(new CoordinatedExplosion());\n\t\tfeats.add(new DistantAdvantage());\n\t\tfeats.add(new EchoesOfThunder());\n\t\tfeats.add(new ExpertRitualist());\n\t\tfeats.add(new FeyTrickster());\n\t\tfeats.add(new GoliathGreatweaponProwess());\n\t\tfeats.add(new GorebruteCharge());\n\t\tfeats.add(new GroupStealth());\n\t\tfeats.add(new ImplementExpertise());\n\t\tfeats.add(new ImprovedBullRush());\n\t\tfeats.add(new ImprovedGrab());\n\t\tfeats.add(new MarkingsOfTheBlessed());\n\t\tfeats.add(new MarkingsOfTheVictor());\n\t\tfeats.add(new MeleeTraining());\n\t\tfeats.add(new OncomingStorm());\n\t\tfeats.add(new PotentRebirth());\n\t\tfeats.add(new RadiantPower());\n\t\tfeats.add(new RestfulHealing());\n\t\tfeats.add(new SavageAssault());\n\t\tfeats.add(new ShadowSkulk());\n\t\tfeats.add(new SpeedLoader());\n\t\tfeats.add(new SurgingFlame());\n\t\tfeats.add(new ThirstForBattle());\n\t\tfeats.add(new TimelyRespite());\n\t\tfeats.add(new TwoWeaponThreat());\n\t\tfeats.add(new WeaponExpertise());\n\t\tfeats.add(new WildSenses());\n\t\tfeats.add(new GuaranteedRetribution());\n\t\tfeats.add(new ImprovedArmorOfFaith());\n\t\tfeats.add(new InvigoratingPursuit());\n\t\tfeats.add(new DeadlyRage());\n\t\tfeats.add(new ImprovedRagebloodVigor());\n\t\tfeats.add(new ImprovedRoarOfTriumph());\n\t\tfeats.add(new RisingFury());\n\t\tfeats.add(new AdvantageOfCunning());\n\t\tfeats.add(new BardicKnowledge());\n\t\tfeats.add(new ImprovedMajesticWord());\n\t\tfeats.add(new StrengthOfValor());\n\t\tfeats.add(new EnragedBoarForm());\n\t\tfeats.add(new FerociousTigerForm());\n\t\tfeats.add(new PrimalFury());\n\t\tfeats.add(new PrimalInstinct());\n\t\tfeats.add(new InsightfulPreservation());\n\t\tfeats.add(new InvokerDefense());\n\t\tfeats.add(new ResonatingCovenant());\n\t\tfeats.add(new ScouringWrath());\n\t\tfeats.add(new ProtectorSpiritAdept());\n\t\tfeats.add(new SharedHealingSpirit());\n\t\tfeats.add(new SpiritSpeaker());\n\t\tfeats.add(new StalkerSpiritAdept());\n\t\tfeats.add(new ArcaneSpellfury());\n\t\tfeats.add(new DisciplinedWildSoul());\n\t\tfeats.add(new ImprovedDragonSoul());\n\t\tfeats.add(new SorcerousBladeChanneling());\n\t\tfeats.add(new CrushingEarthstrength());\n\t\tfeats.add(new RevitalizingFontOfLife());\n\t\tfeats.add(new SuddenRoots());\n\t\tfeats.add(new WildbloodCunning());\n\t\t// missing some from page 188\n\t\t\n\t\t// Book 2 Paragon Tier Feats\n\t\t\n\t\t// Book 2 Epic Tier Feats\n\t\t\n\t\t\n\t\t// Book 3 Heroic Tier Feats\n\t\tfeats.add(new AlhahnsMindfulRelocation());\n\t\tfeats.add(new BattleHardened());\n\t\tfeats.add(new BattleCasterDefense());\n\t\tfeats.add(new BatteringShield());\n\t\tfeats.add(new BeguilingEnchantment());\n\t\tfeats.add(new BloodiedFerocity());\n\t\tfeats.add(new BrutalFerocity());\n\t\tfeats.add(new BurdenOfGuardianship());\n\t\tfeats.add(new BurdenOfRejuvenation());\n\t\tfeats.add(new CascadingRush());\n\t\tfeats.add(new CleanseTheMadness());\n\t\tfeats.add(new CombatIntuition());\n\t\tfeats.add(new DakshaisBodyMindUnion());\n\t\tfeats.add(new DeadlyDraw());\n\t\tfeats.add(new DirectedBullRush());\n\t\tfeats.add(new FocusedMind());\n\t\tfeats.add(new GoringShove());\n\t\tfeats.add(new GroundingShot());\n\t\tfeats.add(new HaftedDefense());\n\t\tfeats.add(new HammeringIron());\n\t\tfeats.add(new HeadsmansChop());\n\t\tfeats.add(new HybridTalent());\n\t\tfeats.add(new ImpendingVictory());\n\t\tfeats.add(new ImprovedAspectOfNature());\n\t\tfeats.add(new IronResolveOfZerthadlun());\n\t\tfeats.add(new LiberatingShardSwarm());\n\t\tfeats.add(new LowCrawl());\n\t\tfeats.add(new LuckyStart());\n\t\tfeats.add(new MiryathsFirstStrike());\n\t\tfeats.add(new NimbleRunner());\n\t\tfeats.add(new OpportunisticShove());\n\t\tfeats.add(new PolearmFlanker());\n\t\tfeats.add(new PowerThrow());\n\t\tfeats.add(new PrimeBurst());\n\t\tfeats.add(new PsychicFocus());\n\t\tfeats.add(new RapidAssault());\n\t\tfeats.add(new SecretOfReawakening());\n\t\tfeats.add(new ShiftingDefense());\n\t\tfeats.add(new SkillPower());\n\t\tfeats.add(new SpringStep());\n\t\tfeats.add(new SpringingCharge());\n\t\tfeats.add(new SteadyFeet());\n\t\tfeats.add(new StrikeAndShove());\n\t\tfeats.add(new SuperiorImplementTraining());\n\t\tfeats.add(new TeamworkDefense());\n\t\tfeats.add(new UnarmoredAgility());\n\t\tfeats.add(new UnfailingVigor());\n\t\tfeats.add(new VersatileExpertise());\n\t\tfeats.add(new ViciousAdvantage());\n\t\tfeats.add(new WardingDefense());\n\t\tfeats.add(new WardingShardSwarm());\n\t\tfeats.add(new WatchfulRedoubt());\n\t\tfeats.add(new ZuwothsEnlightenedStep());\n\t\tfeats.add(new BolsteringMantle());\n\t\tfeats.add(new ClarifiedInstincts());\n\t\tfeats.add(new ElatedEmotions());\n\t\tfeats.add(new HearteningSurge());\n\t\tfeats.add(new MantleOfReadiness());\n\t\tfeats.add(new DeceptiveMind());\n\t\tfeats.add(new ImprovedSpeedOfThought());\n\t\tfeats.add(new LureOfIron());\n\t\tfeats.add(new PunishingSpike());\n\t\tfeats.add(new PursuingStep());\n\t\tfeats.add(new CrashingTempestStyle());\n\t\tfeats.add(new ImprovedMonkUnarmedStrike());\n\t\tfeats.add(new PointedStepStyle());\n\t\tfeats.add(new ControllingAdvantage());\n\t\tfeats.add(new DisciplineAdept());\n\t\tfeats.add(new ExchangePower());\n\t\tfeats.add(new OrbitingObject());\n\t\tfeats.add(new PreciseMind());\n\t\tfeats.add(new RuneOfEloquence());\n\t\tfeats.add(new RuneOfHope());\n\t\tfeats.add(new RuneOfVengeance());\n\t\tfeats.add(new RuneOfZeal());\n\t\tfeats.add(new BloodiedElusion());\n\t\tfeats.add(new ImprovedInevitableShot());\n\t\tfeats.add(new InescapableShot());\n\t\tfeats.add(new SpiritbondDefense());\n\t\tfeats.add(new StrengthenedBond());\n\t\t\n\t\t// Arcane Powers book\n\t\tfeats.add(new RisingSpellfury());\n\t\t\n\t\t// Primal Powers book\n\t\tfeats.add(new LifespiritHealing());\n\t\t\n\t\t// Divine Powers book\n\t\tfeats.add(new DevotedPaladin());\n\t\t\n\t\treturn feats;\n\t}", "title": "" }, { "docid": "a08a37ba7238895896800e64836441d0", "score": "0.46936628", "text": "public static List<FakeRegistrant> getFakeRegistrations(int count) {\n ArrayList<FakeRegistrant> ret = new ArrayList<>();\n\n BufferedReader br = new BufferedReader(new InputStreamReader(PSFakeDataGenerator.class.getResourceAsStream(\"/FakeData.csv\")));\n StringTokenizer st = null;\n int lineNumber = 0, tokenNumber = 0;\n String line;\n\n try {\n while ((line = br.readLine()) != null) {\n\n //Bust out of hear if we have enough lines, if the passed in 0 we just get them all\n if (count > 0)\n if (lineNumber > count)\n break;\n\n lineNumber++;\n\n //Skip line 1 - it has fieldnames.\n if (lineNumber > 1) {\n\n st = new StringTokenizer(line, \",\");\n FakeRegistrant data = new FakeRegistrant();\n String token;\n\n //Note this is pretty brute force - can be made more elegant\n while (st.hasMoreTokens()) {\n\n token = st.nextToken();\n\n switch (tokenNumber) {\n case Number:\n data.setNumber(Integer.parseInt(token));\n break;\n case Gender:\n data.setGender(token);\n break;\n case GivenName:\n data.setGivenName(token);\n break;\n case MiddleInitial:\n data.setMiddleInitial(token);\n break;\n case Surname:\n data.setSurname(token);\n break;\n case StreetAddress:\n data.setStreetAddress(token);\n break;\n case City:\n data.setCity(token);\n break;\n case State:\n data.setState(token);\n break;\n case ZipCode:\n data.setZipCode(token);\n break;\n case Country:\n data.setCountry(token);\n break;\n case EmailAddress:\n data.setEmailAddress(token);\n break;\n case Username:\n data.setUsername(token);\n break;\n case Password:\n data.setPassword(token);\n break;\n case TelephoneNumber:\n data.setTelephoneNumber(token);\n break;\n case MothersMaiden:\n data.setMothersMaiden(token);\n break;\n case Birthday:\n data.setBirthday(token);\n break;\n case CCType:\n data.setCCType(token);\n break;\n case CCNumber:\n data.setCCNumber(token);\n break;\n case CVV2:\n data.setCVV2(token);\n break;\n case CCExpires:\n data.setCCExpires(token);\n break;\n case NationalID:\n data.setNationalID(token);\n break;\n case UPS:\n data.setUPS(token);\n break;\n case Occupation:\n data.setOccupation(token);\n break;\n case Company:\n data.setCompany(token);\n break;\n case Vehicle:\n data.setVehicle(token);\n break;\n case Domain:\n data.setDomain(token);\n break;\n case BloodType:\n data.setBloodType(token);\n break;\n case Pounds:\n data.setPounds(token);\n break;\n case Kilograms:\n data.setKilograms(token);\n break;\n case FeetInches:\n data.setFeetInches(token);\n break;\n case Centimeters:\n data.setCentimeters(token);\n break;\n case GUID:\n data.setGUID(token);\n break;\n case Latitude:\n data.setLatitude(token);\n break;\n case Longitude:\n data.setLongitude(token);\n break;\n default:\n break;\n }\n tokenNumber++;\n }\n ret.add(data);\n\n //reset token number\n tokenNumber = 0;\n\n }\n }\n\n } catch (IOException e) {\n log.error(PSExceptionUtils.getMessageForLog(e));\n log.debug(PSExceptionUtils.getDebugMessageForLog(e));\n }\n\n return ret;\n }", "title": "" }, { "docid": "ae71669b1e08e49f945e6fad1d43178e", "score": "0.46910352", "text": "public String[] getRecognizedFeatures();", "title": "" }, { "docid": "53d663cdfe5e080dd67e87c28f4748b9", "score": "0.46859056", "text": "public getFeatures_result(getFeatures_result other) {\n if (other.isSetSuccess()) {\n java.util.List<Feature> __this__success = new java.util.ArrayList<Feature>(other.success.size());\n for (Feature other_element : other.success) {\n __this__success.add(new Feature(other_element));\n }\n this.success = __this__success;\n }\n }", "title": "" }, { "docid": "ddd31f1af8999f8709f6b918cf4d2336", "score": "0.46644256", "text": "public boolean storeFeatures(String image_hash, OpenCVFeatures opencv_features);", "title": "" }, { "docid": "f595b283408a75b447ac0f6caf8a4343", "score": "0.466192", "text": "public Byte getFeature() {\n return feature;\n }", "title": "" }, { "docid": "fcf430eebe889a6ec1b4f9eb626c20ff", "score": "0.465447", "text": "boolean getComputeFeatures();", "title": "" }, { "docid": "7b479dbe4cc962c2771c6ec37d108798", "score": "0.46424565", "text": "public void buildFeatureSets() {\n List<String> keys = new ArrayList<String>();\n for (String key : treeMap.keySet()) {\n keys.add(key);\n }\n for (String key : keys) {\n put(key, treeMap.get(key).listFSets());\n treeMap.remove(key);\n }\n }", "title": "" }, { "docid": "59369d1728bf7e1672603ad66322d3e1", "score": "0.46406856", "text": "public ReadDBF() {\r\n loadHashtables();\r\n }", "title": "" }, { "docid": "f7ae6ed6ba593105c1b1f82e41e8e553", "score": "0.46344832", "text": "@Override\r\n\tprotected Boolean deriveIsFeature() {\r\n\t return true;\r\n\t}", "title": "" }, { "docid": "8612da793070fd3f380c264df4c64f17", "score": "0.4630027", "text": "public ArrayList<Characteristics> getlistofCharacteristics() throws IOException{\n ArrayList<Characteristics> characteristiclist = new ArrayList<>() ;\n this.br = new BufferedReader(new FileReader(this.filepath));\n String line = br.readLine();\n String[] header = line.split(this.separator);\n for (int i=0;i<=header.length-1;i++){\n Characteristics ch = new Characteristics(i+1,header[i]);\n characteristiclist.add(ch); \n }\n \n int count = 1;\n // The last column of reader doesnt identify the null values. So a array of size equi to Header name is created to avoid it\n while ((line = br.readLine()) != null) {\n int length = characteristiclist.size();\n String[] var = line.split(this.separator);\n ArrayList<String> nullArray = new ArrayList<>();\n for (int i=0; i<=length-1;i++){\n nullArray.add(\"x\");\n }\n for (int i=0; i<=var.length-1;i++){\n if (!\"\".equals(var[i]) || !var[i].isEmpty()){\n nullArray.set(i, var[i]);\n }\n \n String value = nullArray.get(i);\n Characteristics chars = characteristiclist.get(i); \n if (!\"\".equals(value) && !value.isEmpty() && !\"x\".equals(value) && !\"x\".equals(value)){\n try{\n int counter = chars.isNumerical;\n Float val = Float.parseFloat(value);\n chars.isNumerical = counter+ 1;\n }\n catch(NumberFormatException e) {\n int counter = chars.isCategorical;\n String val = value;\n chars.isCategorical = counter + 1;\n } \n } \n else{ \n chars.setNullId(count);\n }\n } \n count = count + 1;\n } \n \n // Identification of datatype\n characteristiclist.forEach((ch) -> {\n if ((ch.isNumerical != 0 && ch.isCategorical != 0) || ch.isCategorical !=0){\n ch.datatype = \"Categorical\";\n }\n else{\n ch.datatype = \"Numerical\";\n }\n });\n \n br.close();\n return characteristiclist; \n }", "title": "" }, { "docid": "713d19a6b1b89596b7ab6a20dc2547fd", "score": "0.4624878", "text": "public StrColumn getFeature() {\n return delegate.getColumn(\"feature\", DelegatingStrColumn::new);\n }", "title": "" }, { "docid": "9f092ca62c7577239ad979a2bd1205a4", "score": "0.46217662", "text": "private void initializeFeaturesList() {\n // This can be removed once all clients are updated reading this from the presence conference property\n ServiceDiscoveryManager serviceDiscoveryManager = ServiceDiscoveryManager.getInstanceFor(connection);\n serviceDiscoveryManager.addFeature(\"https://jitsi.org/meet/jicofo/terminate-restart\");\n }", "title": "" }, { "docid": "22a0ac2127c9634e5be4f1d76aeeaeaf", "score": "0.4616341", "text": "public void setFeatureNames()\n {\n // Add RMS feature header\n for(int i = 0; i< Constants.NUM_OF_CHANNELS; i++)\n {\n mFeatureNames.add(new Attribute(Constants.GESTURE_CHANNEL_LABELS[i] + \"_RMS\"));\n }\n\n // Add stdev feature header\n for(int i=0; i<Constants.NUM_OF_CHANNELS; i++)\n {\n mFeatureNames.add(new Attribute(Constants.GESTURE_CHANNEL_LABELS[i] + \"_StDev\"));\n }\n\n // Add mean feature header\n for(int i=0; i<Constants.NUM_OF_CHANNELS; i++)\n {\n mFeatureNames.add(new Attribute(Constants.GESTURE_CHANNEL_LABELS[i] + \"_Mean\"));\n }\n\n // Add energy feature header\n for(int i=0; i<Constants.NUM_OF_CHANNELS; i++)\n {\n mFeatureNames.add(new Attribute(Constants.GESTURE_CHANNEL_LABELS[i] + \"_AvgEnergy\"));\n }\n\n // Add zero crossing headers for gyroscopes\n for(int i=Constants.NUM_OF_ACCEL_CHANNELS; i<Constants.NUM_OF_CHANNELS; i++)\n {\n mFeatureNames.add(new Attribute(Constants.GESTURE_CHANNEL_LABELS[i] + \"_ZeroCross\"));\n }\n\n // Add ECDF headers, goes over acceleration channels only\n for(int i=0; i<Constants.NUM_OF_ACCEL_CHANNELS; i++)\n {\n String channelLabel = Constants.GESTURE_CHANNEL_LABELS[i];\n for (int j = 0; j < Constants.ECDF_LENGTH; j++)\n {\n mFeatureNames.add(new Attribute(channelLabel + \"_ECDF\" + j));\n }\n }\n\n// for(String s : classLabels) mClassLabels.add(s);\n mFeatureNames.add(new Attribute(\"@@class@@\", mClassLabels));\n }", "title": "" }, { "docid": "4256e9b8cdebc51dfa3af7e1b43aaebf", "score": "0.46100622", "text": "private static void prepareData(RunOptions option) throws IOException, Exception {\n String inputArff = option.inputArff;\n String inputFasta = option.inputFasta;\n String weights = option.weights;\n int features = option.features;\n \n //load dataset\n System.err.println(\"Loading data set ...\");\n DatasetGenerator dg = new DatasetGenerator(\n new File(inputArff), new File(inputFasta));\n \n //introduce class labels but do not remove string attributes\n Instances dataset = dg.generateDataset(false);\n \n ArffSaver saver1 = new ArffSaver();\n saver1.setFile(new File(ProgramSettings.DATASET_DIR, \"generated_raw_dataset.arff\"));\n saver1.setInstances(dataset);\n saver1.writeBatch();\n \n //remove string attributes before feature selection\n dataset.deleteStringAttributes();\n \n //feature selection over full balanced data set\n System.err.println(\"Selecting features ...\");\n Instances fullBalanced = DatasetPreprocessor.getBalancedDataset(\n dataset, true, dataset.numAttributes() - 1);\n String selected = DatasetPreprocessor.featureIndicesStringSelection(\n fullBalanced, fullBalanced.numAttributes() - 1, features);\n //include class attribute\n selected = selected.replaceAll(\",[^,]+$\", \",last\");\n \n //filter original dataset\n dataset = DatasetPreprocessor.selectFeatures(dataset, selected);\n \n //split data set into subsets\n System.err.println(\"Splitting data set ...\");\n Instances[] subsets = DatasetPreprocessor.splitDataset(\n dataset, DatasetPreprocessor.getWeights(weights));\n \n //balance data sets\n System.err.println(\"Writing output files ...\");\n ArffSaver saver = new ArffSaver();\n for (int i = 0; i < subsets.length; i++) {\n subsets[i] = DatasetPreprocessor.getBalancedDataset(\n subsets[i], true, subsets[i].numAttributes() - 1);\n \n //output arff file\n File output = new File(\n ProgramSettings.DATASET_DIR, \"subset_\" + (i + 1) + \".arff\");\n saver.resetOptions();\n saver.setFile(output);\n saver.setInstances(subsets[i]);\n saver.writeBatch();\n }\n System.err.println(\"All done! Please check out files in directory: \"\n + ProgramSettings.DATASET_DIR.getPath());\n }", "title": "" }, { "docid": "f4297ba9bf14c9007547bb200e3ae859", "score": "0.46033543", "text": "public List<OpenCVFeatures> getFeaturesForObject(String object_id);", "title": "" }, { "docid": "d1ef9989b014c75bd43f6d98f8bbc717", "score": "0.45945704", "text": "private void featuresOutput_xff(HttpServletRequest req,\n\t\t\tDazzleResponse resp,\n\t\t\tBiojavaFeatureSource dds,\n\t\t\tMap segmentResults,\n\t\t\tFeatureFilter generalFilter,\n\t\t\tboolean categorize)\n\tthrows IOException, ServletException, DazzleException\n\t{\n\n\t\tXMLWriter xw = resp.startDasXML();\n\n\t\tXFFWriter xffw = new XFFWriter(new DataSourceXFFHelper(dds));\n\t\ttry {\n\t\t\txw.openTag(\"DASFEATURES\");\n\n\t\t\tfor (Iterator i = segmentResults.entrySet().iterator(); i.hasNext(); ) {\n\t\t\t\tMap.Entry me = (Map.Entry) i.next();\n\t\t\t\tSegment seg = (Segment) me.getKey();\n\t\t\t\tObject segv = me.getValue();\n\t\t\t\tif (segv instanceof FeatureHolder) {\n\t\t\t\t\tFeatureHolder features = (FeatureHolder) segv;\n\n\t\t\t\t\txw.openTag(\"SEGMENT\");\n\t\t\t\t\txw.attribute(\"id\", seg.getReference());\n\t\t\t\t\txw.attribute(\"version\", dds.getLandmarkVersion(seg.getReference()));\n\t\t\t\t\tif (seg.isBounded()) {\n\t\t\t\t\t\txw.attribute(\"start\", \"\" + seg.getStart());\n\t\t\t\t\t\txw.attribute(\"stop\", \"\" + seg.getStop());\n\t\t\t\t\t} else {\n\t\t\t\t\t\txw.attribute(\"start\", \"1\");\n\t\t\t\t\t\txw.attribute(\"stop\", \"\" + dds.getLandmarkLength(seg.getReference()));\n\t\t\t\t\t}\n\t\t\t\t\t// TODO: Labels here?\n\n\t\t\t\t\tFeatureFilter ff = featuresOutput_buildSegmentFilter(generalFilter, seg);\n\t\t\t\t\tfeatures = features.filter(ff, false); // FIXME!\n\n\t\t\t\t\txffw.writeFeatureSet(features, xw);\n\n\t\t\t\t\txw.closeTag(\"SEGMENT\");\n\t\t\t\t} else if (segv instanceof String) {\n\t\t\t\t\txw.openTag(\"ERRORSEGMENT\");\n\t\t\t\t\txw.attribute(\"id\", seg.getReference());\n\t\t\t\t\tif (seg.isBounded()) {\n\t\t\t\t\t\txw.attribute(\"start\", \"\" + seg.getStart());\n\t\t\t\t\t\txw.attribute(\"stop\", \"\" + seg.getStop());\n\t\t\t\t\t} \n\t\t\t\t\txw.closeTag(\"ERRORSEGMENT\");\n\t\t\t\t} else if (segv == null) {\n\t\t\t\t\txw.openTag(\"UNKNOWNSEGMENT\");\n\t\t\t\t\txw.attribute(\"id\", seg.getReference());\n\t\t\t\t\txw.closeTag(\"UNKNOWNSEGMENT\");\n\t\t\t\t}\n\t\t\t}\n\n\t\t\txw.closeTag(\"DASFEATURES\");\n\t\t\txw.close();\n\t\t} catch (Exception ex) {\n\t\t\tthrow new DazzleException(ex, \"Error writing XFF FEATURES document\");\n\t\t}\n\t}", "title": "" }, { "docid": "9afca3b14a3a3869bdf8323e7c81b633", "score": "0.45898923", "text": "public org.landxml.schema.landXML11.FeatureDocument.Feature addNewFeature()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().add_element_user(FEATURE$2);\r\n return target;\r\n }\r\n }", "title": "" }, { "docid": "1e673b202ca00fe9fe62ac6cd2b7734e", "score": "0.45869762", "text": "public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createFeature(\n com.google.cloud.gkehub.v1beta.CreateFeatureRequest request) {\n return io.grpc.stub.ClientCalls.futureUnaryCall(\n getChannel().newCall(getCreateFeatureMethod(), getCallOptions()), request);\n }", "title": "" }, { "docid": "9b9f1c454b6b1dd0d33217e9f26cdb5f", "score": "0.45861757", "text": "@Override\n public String[] addFeaturesToSectionFilter() {\n return new String[] {};\n }", "title": "" }, { "docid": "68931fc08e4ed8ebe50bc805ac27ede4", "score": "0.45829532", "text": "int getFeaturesCount();", "title": "" }, { "docid": "3b8ab89bf0523f1a9566513a6431c2a7", "score": "0.45797905", "text": "private static String getFeaturesText(List<Feature> features) {\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tfor (Feature feature : features) {\n\t\t\tsb.append(feature.getName()).append('\\t')\n\t\t\t\t.append(feature.getPriority().getLevel()).append('\\t')\n\t\t\t\t.append(feature.getDuration()).append('\\t')\n\t\t\t\t.append(feature.getRequiredSkills().get(0).getName()).append('\\t');\n\t\t\t\n\t\t\tfor (Feature previousFeature : feature.getPreviousFeatures()) {\n\t\t\t\tsb.append(previousFeature.getName()).append(',');\n\t\t\t}\n\t\t\tif (feature.getPreviousFeatures().size() > 0) {\n\t\t\t\tsb.deleteCharAt(sb.length() - 1);\n\t\t\t}\n\t\t\t\n\t\t\tsb.append('\\n');\n\t\t}\n\t\tsb.deleteCharAt(sb.length() - 1); // Deletes the last '\\n'\n\t\t\n\t\treturn sb.toString();\n\t}", "title": "" }, { "docid": "06f8f46027b020001844b1fb5267b55b", "score": "0.45776525", "text": "void addFeature(Feature feature);", "title": "" }, { "docid": "d2b8d6dc1e46152bf97a7ab75c8186c2", "score": "0.4566272", "text": "public Object getFeature(String aFeatureName);", "title": "" }, { "docid": "a5ec826ad8c92bf32455b499027257c4", "score": "0.4563225", "text": "public String getItem_features() {\n return item_features;\n }", "title": "" }, { "docid": "c0a78bc86a928704581a80c360121f75", "score": "0.456124", "text": "java.util.List<loader.elbrus.proto.ElbrusProto.TimetableMarkFeatureMessage> \n getFeaturesList();", "title": "" }, { "docid": "38708c7b26a4484f41001610973b83d2", "score": "0.45610836", "text": "public void escreverHabitacoesParaFicheiroBin() throws FileNotFoundException , IOException{\n String filename = \"Habitacoes.bin\";\n \n File f = new File(filename);\n \n FileOutputStream fos = new FileOutputStream(f);\n ObjectOutputStream oos = new ObjectOutputStream (fos);\n \n \n for(Integer k : this.distribuicoes.keys()){\n for(Integer p : this.distribuicoes.get(k).getZona_habit().keys()){\n for(Integer l : this.distribuicoes.get(k).getZona_habit().get(p).getHabitacoes().keys()){\n oos.writeObject(this.distribuicoes.get(k).getZona_habit().get(p).getHabitacoes().get(l));\n }\n }\n }\n }", "title": "" }, { "docid": "5fcc7029fc903c0ff9f7d4099c2b9dce", "score": "0.4560398", "text": "public int getFeatures1Number();", "title": "" }, { "docid": "4e6e5d77b31b2e5b1a618bf6444f87de", "score": "0.45579693", "text": "private static void writeFiles(ProblemData data) {\n\t\tFile featuresFile = new File(\"generated.features\");\n\t\tFile employeesFile = new File(\"generated.employees\");\n\t\tFileWriter fileW;\n\n\t\ttry {\n\t\t\tfileW = new FileWriter(featuresFile);\n\t\t\tBufferedWriter bufferW = new BufferedWriter(fileW);\n\t\t\tbufferW.write(getFeaturesText(data.getFeatures()));\n\t\t\tbufferW.close();\n\t\t\t\n\t\t\tfileW = new FileWriter(employeesFile);\n\t\t\tbufferW = new BufferedWriter(fileW);\n\t\t\tbufferW.write(getEmployeesText(data.getEmployees()));\n\t\t\tbufferW.close();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "693e15c2c135c56380cb5e5a2c5d64a9", "score": "0.45557234", "text": "public ArrayList<Feature> loadFeaturesForReview(int reviewId) {\n ArrayList<Feature> features = new ArrayList<Feature>();\n logger.log(Level.INFO, \"Getting feature data for review from the table...\");\n try {\n stmt = conn.createStatement();\n String sql = \"SELECT feature,value,score FROM review_feature\";\n ResultSet result = stmt.executeQuery(sql);\n while (result.next()) {\n Feature feature = new Feature();\n feature.setFeatureName(result.getString(\"feature\"));\n feature.setScore(result.getInt(\"score\"));\n feature.setValue(result.getString(\"value\"));\n\n features.add(feature);\n }\n } catch (Exception e) {\n logger.log(Level.SEVERE, e.getMessage());\n } finally {\n closeConnections();\n }\n return features;\n }", "title": "" }, { "docid": "23e2eacb17b5da9800e7c595dd109b4d", "score": "0.4554083", "text": "private FeatureInitializerFactory() {}", "title": "" }, { "docid": "235d58ce826c0d373ad2eff8127ae620", "score": "0.4549024", "text": "public void ExtractFeatures(JSONObject report,String Type_Train_Detect) {\n\t\tSystem.out.println(\"resetting CurrentFeatures...\"+CurrentFeatures.size());\n\t\tCurrentFeatures.clear();\n\t\tCurrentId = 0;\n\t\tSystem.out.println(\"resetted CurrentFeatures...\"+CurrentFeatures.size());\n\t\tString filename=\"\";\n\t\t//Training filename use for known info type\n\t\t if(report.has(\"target\") && report.getJSONObject(\"target\").has(\"file\") && report.getJSONObject(\"target\").getJSONObject(\"file\").has(\"name\")){\n\t\t\t filename=report.getJSONObject(\"target\").getJSONObject(\"file\").getString(\"name\").replaceAll(\"\\\\s+\", \"\");\n\t\t\t \n\t\t\t \n\t\t }\n\t\t //TODO\n\t\t\n\t\t if(report.has(\"signatures\")){\n\t\t\t JSONArray signatures = report.getJSONArray(\"signatures\");\n\t\t\t for(int i=0;i<signatures.length();i++){\n\t\t\t\t JSONObject signature = signatures.getJSONObject(i);\n\t\t\t\t if(signature.has(\"marks\")){\n\t\t\t\t\t int severity=1;//how dangerous \n\t\t\t\t\t if(signature.has(\"severity\")){\n\t\t\t\t\t\t severity=signature.getInt(\"severity\");\n\t\t\t\t\t }\n\t\t\t\t\t JSONArray marks = signature.getJSONArray(\"marks\");\n\t\t\t\t\t for(int j=0;j<marks.length();j++){\n\t\t\t\t\t\t JSONObject mark = marks.getJSONObject(j);\n\t\t\t\t\t\t if(mark.has(\"type\") && mark.getString(\"type\").compareTo(\"call\")==0){//type is call\n\t\t\t\t\t\t\t JSONObject call = mark.getJSONObject(\"call\");\n\t\t\t\t\t\t\t String feature=\"call\";\n\t\t\t\t\t\t\t if(call.has(\"category\")){\n\t\t\t\t\t\t\t\t feature=feature+\"|\"+call.getString(\"category\");\n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t if(call.has(\"api\")){\n\t\t\t\t\t\t\t\t feature=feature+\"|\"+call.getString(\"api\");\n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t//TODO for more conditions\n\t\t\t\t\t\t\t AddInCurrentFeature(feature,\"\");\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t }\n\t\t\t\t\t\t else if(mark.has(\"type\")){\n\t\t\t\t\t\t\t//TODO \n\t\t\t\t\t\t\t String feature = mark.getString(\"type\");\n\t\t\t\t\t\t\t if(mark.has(\"category\")){\n\t\t\t\t\t\t\t\t feature = feature+\"|\"+mark.getString(\"category\");\n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t AddInCurrentFeature(feature,\"\");\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t }\n\t\t\t\t\t\t else{\n\t\t\t\t\t\t\t //TODO \n\t\t\t\t\t\t }\n\t\t\t\t\t }\n\t\t\t\t }\n\t\t\t\t \n\t\t\t }\n\t\t }\n\t\t \n\t\t if(report.has(\"network\")){\n\t\t\t System.out.println(\"network\");\n\t\t\t \n\t\t }\n\t\t if(report.has(\"static\")){\n\t\t\t System.out.println(\"static\");\n\t\t }\n\t\t if(report.has(\"dropped\")){\n\t\t\t System.out.println(\"dropped\");\n\t\t }\n\t\t if(report.has(\"behavior\")){\n\t\t\t System.out.println(\"behavior\");\n\t\t\t //generic,apistats, processes, processestree, summary\n\t\t\t if(report.getJSONObject(\"behavior\").has(\"generic\")){\n\t\t\t\t \n\t\t\t }\n\t\t\t if(report.getJSONObject(\"behavior\").has(\"apistats\")){\n\t\t\t\t \n\t\t\t }\n\t\t\t if(report.getJSONObject(\"behavior\").has(\"processes\")){\n\t\t\t\t JSONArray processes = report.getJSONObject(\"behavior\").getJSONArray(\"processes\");\n\t\t\t\t for(int p=0;p<processes.length();p++){\n\t\t\t\t\t JSONObject process = processes.getJSONObject(p);\n\t\t\t\t\t if(process.has(\"calls\")){\n\t\t\t\t\t\t JSONArray calls = process.getJSONArray(\"calls\");\n\t\t\t\t\t\t for(int c=0;c<calls.length();c++){\n\t\t\t\t\t\t\t JSONObject call= calls.getJSONObject(c);\n\t\t\t\t\t\t\t String feature=\"call\";\n\t\t\t\t\t\t\t if(call.has(\"category\")){\n\t\t\t\t\t\t\t\t feature=feature+\"|\"+call.getString(\"category\").replaceAll(\"\\\\s+\", \"\");\n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t if(call.has(\"api\")){\n\t\t\t\t\t\t\t\t feature=feature+\"|\"+call.getString(\"api\").replaceAll(\"\\\\s+\", \"\");\n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t//TODO for more conditions\n\t\t\t\t\t\t\t AddInCurrentFeature(feature,\"\");\n\t\t\t\t\t\t }\n\t\t\t\t\t }\n\t\t\t\t\t if(process.has(\"modules\")){\n\t\t\t\t\t\t JSONArray modules = process.getJSONArray(\"modules\");\n\t\t\t\t\t\t for(int m=0;m<modules.length();m++){\n\t\t\t\t\t\t\t String feature =\"modules\";\n\t\t\t\t\t\t\t if(modules.getJSONObject(m).has(\"basename\")){\n\t\t\t\t\t\t\t\t if(filename.compareTo(modules.getJSONObject(m).getString(\"basename\").replaceAll(\"\\\\s+\", \"\"))!=0){\n\t\t\t\t\t\t\t\t\t feature=feature+\"|\"+modules.getJSONObject(m).getString(\"basename\").replaceAll(\"\\\\s+\", \"\");\n\t\t\t\t\t\t\t\t\t AddInCurrentFeature(feature,\"\");\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 }\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 }\n\t\t\t\t }\n\t\t\t }\n\t\t\t if(report.getJSONObject(\"behavior\").has(\"summary\")){\n\t\t\t\t //connects_ip, file_created,file_recreated,regkey_written, dll_loaded, file_opened, \n\t\t\t\t //regkey_opened, command_line, file_written, regkey_deleted, file_deleted, file_exists,file_failed\n\t\t\t\t //mutex,resolves_host, file_read, regkey_read\n\t\t\t\t \n\t\t\t }\n\t\t }\n\t\t if(report.has(\"info\") && report.getJSONObject(\"info\").has(\"score\")){\n\t\t\t System.out.println(\"score\");\n\t\t\t double score =report.getJSONObject(\"info\").getDouble(\"score\");\n\t\t\t //System.out.println(\"score1\");\n\t\t\t AddInCurrentFeature(\"CuckooScore\", score+\"\");\n\t\t\t if(score>1.0){\n\t\t\t\t AddInCurrentFeature(\"CuckooIsMalware\", \"yes\");\n\t\t\t\t //System.out.println(\"score2\");\n\t\t\t }\n\t\t\t else{\n\t\t\t\t AddInCurrentFeature(\"CuckooIsMalware\", \"no\");\n\t\t\t\t //System.out.println(\"score3\");\n\t\t\t }\n\t\t\t// System.out.println(\"score4\");\n\t\t }\n\t\t\n\t\t if(report.has(\"virustotal\")){\n\t\t\t System.out.println(\"Virustotal\");\n\t\t\t //categorisation\n\t\t\t HashMap<String,Integer> ResultType = new HashMap<>();\n\t\t\t JSONObject virustotal = report.getJSONObject(\"virustotal\");\n\t\t\t if(virustotal.has(\"scans\")){\n\t\t\t\t JSONObject scans = virustotal.getJSONObject(\"scans\");\n\t\t\t\t for(String key:scans.keySet()){\n\t\t\t\t\t \n\t\t\t\t\t JSONObject scan = scans.getJSONObject(key);\n\t\t\t\t\t if(scan.has(\"detected\") && scan.getBoolean(\"detected\")==true && scan.has(\"result\")){\n\t\t\t\t\t\t //System.out.println(\"true-\"+key);\n\t\t\t\t\t\t if(ResultType.get(scan.getString(\"result\"))==null){\n\t\t\t\t\t\t\t ResultType.put(scan.getString(\"result\"), 1);\n\t\t\t\t\t\t }\n\t\t\t\t\t\t else{\n\t\t\t\t\t\t\t ResultType.put(scan.getString(\"result\"), ResultType.get(scan.getString(\"result\"))+1);\n\t\t\t\t\t\t }\n\t\t\t\t\t }\n\t\t\t\t\t else{\n\t\t\t\t\t\t //System.out.println(\"false-\"+key);\n\t\t\t\t\t }\n\t\t\t\t }\n\t\t\t\t \n\t\t\t\t \n\t\t\t }\n\t\t\t String ExistingType = ExistingMalwareType(ResultType);\n\t\t\t System.out.println(\"Existing type:-\"+ ExistingType);\n\t\t\t AddInCurrentFeature(\"CuckooMalwareType\",ExistingType);//Extracting Malware Type from Virustotal\n\t\t\t \n\t\t }\n\t\t //if(Type_Train_Detect.compareToIgnoreCase(\"train\")==0)\n\t\t {\n\t\t\t if(CurrentFeatures.get(\"CuckooIsMalware\")!=null){\n\t\t\t\t AddInCurrentFeature(\"ResultIsMalware\", CurrentFeatures.get(\"CuckooIsMalware\").type);\n\t\t\t }\n\t\t\t else{\n\t\t\t\t AddInCurrentFeature(\"ResultIsMalware\", \"no\");\n\t\t\t\t AddInCurrentFeature(\"CuckooIsMalware\", \"no\");\n\t\t\t }\n\t\t\t if(CurrentFeatures.get(\"CuckooMalwareType\")!=null){\n\t\t\t\t AddInCurrentFeature(\"ResultMalwareType\", CurrentFeatures.get(\"CuckooMalwareType\").type);\n\t\t\t }\n\t\t\t else{\n\t\t\t\t AddInCurrentFeature(\"ResultMalwareType\", \"unknown\");\n\t\t\t\t AddInCurrentFeature(\"CuckooMalwareType\", \"unknown\");\n\t\t\t }\n\t\t }\n\t\t if(Type_Train_Detect.compareToIgnoreCase(\"train\")==0){\n\t\t\tfor(String f:MalwareTypes){\n\t\t\t\tif(filename.toLowerCase().contains(f.toLowerCase()) ){\n\t\t\t\t\tAddInCurrentFeature(\"ResultIsMalware\", \"yes\");\n\t\t\t\t\tAddInCurrentFeature(\"ResultMalwareType\", f);\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tAddInCurrentFeature(\"ResultIsMalware\", \"yes\");\n\t\t\t\t\tAddInCurrentFeature(\"ResultMalwareType\", \"unknown\");\n\t\t\t\t}\n\t\t\t}\n\t\t }\n\t\t else{\n\t\t\t if(filename.toLowerCase().contains(\"clean\")){\n\t\t\t\t AddInCurrentFeature(\"ResultIsMalware\", \"no\");\n\t\t\t\t AddInCurrentFeature(\"ResultMalwareType\", \"unknown\");\n\t\t\t }\n\t\t\t else if(filename.toLowerCase().contains(\"malware\")){\n\t\t\t\t AddInCurrentFeature(\"ResultIsMalware\", \"yes\");\n\t\t\t }\n\t\t }\n\t\t \n\t\t \n\t\t \n\t\t\n\t}", "title": "" }, { "docid": "1c2a5c607279422cff5b8c7857c8685e", "score": "0.45468673", "text": "public String getFeature() {\n return this.feature;\n }", "title": "" }, { "docid": "76cabecc439eb76df6661f5a818b6268", "score": "0.45450988", "text": "private void cargarDatosDeFichero() {\n\t\t\n\t\tthis.gdf.cargarDatos();\n\t}", "title": "" }, { "docid": "61802412f322c31e805850964a810cc3", "score": "0.45412597", "text": "public void AddInstanceToData(String filename){\n\t\ttry {\n\t\t\tBufferedWriter bw = new BufferedWriter(new FileWriter(filename,true));\n\t\t\tString line=\"\";\n\t\t\tfor(Map.Entry<Integer, String> entry:SortedAllFeaturesDB.entrySet()){\n\t\t\t\t//System.out.println(entry.getKey()+\", \"+entry.getValue());\n\t\t\t\tif(CurrentFeatures.get(entry.getValue())==null){\n\t\t\t\t\tline=line+\"0.0\"+\"\\t\";\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tif(CurrentFeatures.get(entry.getValue()).type.compareToIgnoreCase(\"countable\")==0){\n\t\t\t\t\t\tline=line+CurrentFeatures.get(entry.getValue()).count+\"\\t\";\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tline=line+CurrentFeatures.get(entry.getValue()).type+\"\\t\";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tbw.write(line);\n\t\t\tbw.newLine();\n\t\t\tbw.close();\n\t\t\t\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "5c37fa634a3cd635b1ec33b79a30dc91", "score": "0.45376307", "text": "public java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList()\r\n {\r\n final class FeatureList extends java.util.AbstractList<org.landxml.schema.landXML11.FeatureDocument.Feature>\r\n {\r\n public org.landxml.schema.landXML11.FeatureDocument.Feature get(int i)\r\n { return DesignCrossSectSurfImpl.this.getFeatureArray(i); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature set(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = DesignCrossSectSurfImpl.this.getFeatureArray(i);\r\n DesignCrossSectSurfImpl.this.setFeatureArray(i, o);\r\n return old;\r\n }\r\n \r\n public void add(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n { DesignCrossSectSurfImpl.this.insertNewFeature(i).set(o); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature remove(int i)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = DesignCrossSectSurfImpl.this.getFeatureArray(i);\r\n DesignCrossSectSurfImpl.this.removeFeature(i);\r\n return old;\r\n }\r\n \r\n public int size()\r\n { return DesignCrossSectSurfImpl.this.sizeOfFeatureArray(); }\r\n \r\n }\r\n \r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return new FeatureList();\r\n }\r\n }", "title": "" }, { "docid": "706b18123f700a6a733b2459dfa20633", "score": "0.4533509", "text": "private void load() throws Exception {\n CSVParser parser = new CSVParserBuilder().withSeparator(sep).build();\n //CSVReader reader = new CSVReaderBuilder(Files.newBufferedReader(Paths.get(path))).withCSVParser(parser).build();\n CSVReader reader = new CSVReaderBuilder(Files.newBufferedReader(Paths.get(new File(path).toURI()))).withCSVParser(parser).build();\n List<String> columns = readColumnsName(reader);\n readValues(reader, columns);\n features.values().forEach(Feature::fixType);\n }", "title": "" }, { "docid": "e6b169d548b632a34ccbd39b671d7c22", "score": "0.45278192", "text": "java.lang.String getFeatureColumn();", "title": "" }, { "docid": "dce528ceb2dc9d51c4785910ee5672f1", "score": "0.45240825", "text": "abstract protected double[] getFeatures(BufferedImage img);", "title": "" }, { "docid": "5f85a230298385738116abb7e9e3a041", "score": "0.45230636", "text": "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tpcmEClass = createEClass(PCM);\n\t\tcreateEReference(pcmEClass, PCM__PRODUCTS);\n\t\tcreateEReference(pcmEClass, PCM__FEATURES);\n\t\tcreateEAttribute(pcmEClass, PCM__NAME);\n\n\t\tabstractFeatureEClass = createEClass(ABSTRACT_FEATURE);\n\n\t\tproductEClass = createEClass(PRODUCT);\n\t\tcreateEReference(productEClass, PRODUCT__VALUES);\n\t\tcreateEAttribute(productEClass, PRODUCT__NAME);\n\n\t\tfeatureEClass = createEClass(FEATURE);\n\t\tcreateEAttribute(featureEClass, FEATURE__NAME);\n\n\t\tfeatureGroupEClass = createEClass(FEATURE_GROUP);\n\t\tcreateEReference(featureGroupEClass, FEATURE_GROUP__SUBFEATURES);\n\n\t\tcellEClass = createEClass(CELL);\n\t\tcreateEReference(cellEClass, CELL__FEATURE);\n\t\tcreateEReference(cellEClass, CELL__INTERPRETATION);\n\t\tcreateEAttribute(cellEClass, CELL__CONTENT);\n\n\t\tvalueEClass = createEClass(VALUE);\n\n\t\tintegerValueEClass = createEClass(INTEGER_VALUE);\n\t\tcreateEAttribute(integerValueEClass, INTEGER_VALUE__VALUE);\n\n\t\tstringValueEClass = createEClass(STRING_VALUE);\n\t\tcreateEAttribute(stringValueEClass, STRING_VALUE__VALUE);\n\n\t\trealValueEClass = createEClass(REAL_VALUE);\n\t\tcreateEAttribute(realValueEClass, REAL_VALUE__VALUE);\n\n\t\tbooleanValueEClass = createEClass(BOOLEAN_VALUE);\n\t\tcreateEAttribute(booleanValueEClass, BOOLEAN_VALUE__VALUE);\n\n\t\tmultipleEClass = createEClass(MULTIPLE);\n\t\tcreateEReference(multipleEClass, MULTIPLE__SUBVALUES);\n\n\t\tnotAvailableEClass = createEClass(NOT_AVAILABLE);\n\n\t\tconditionEClass = createEClass(CONDITION);\n\t\tcreateEReference(conditionEClass, CONDITION__VALUE);\n\t\tcreateEReference(conditionEClass, CONDITION__CONDITION);\n\n\t\tpartialEClass = createEClass(PARTIAL);\n\t\tcreateEReference(partialEClass, PARTIAL__VALUE);\n\n\t\tdateValueEClass = createEClass(DATE_VALUE);\n\t\tcreateEAttribute(dateValueEClass, DATE_VALUE__VALUE);\n\t}", "title": "" }, { "docid": "01c13bea699a02c9bb5738aceb8e80e6", "score": "0.45215988", "text": "public org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().find_element_user(FEATURE$2, i);\r\n if (target == null)\r\n {\r\n throw new IndexOutOfBoundsException();\r\n }\r\n return target;\r\n }\r\n }", "title": "" }, { "docid": "f9f7b28e5947ed47306fc41c0a02aa66", "score": "0.45141003", "text": "public void teste6ClassificacaoInterna() throws FileNotFoundException, Exception {\n entrada.add(new Cliente(5, \"Maria\"));\n entrada.add(new Cliente(1, \"João\"));\n entrada.add(new Cliente(10, \"Mirtes\"));\n entrada.add(new Cliente(20, \"Mariana\"));\n entrada.add(new Cliente(3, \"Matheus\"));\n entrada.add(new Cliente(87, \"Jonas\"));\n \n entrada.add(new Cliente(8, \"Vanessa\"));\n entrada.add(new Cliente(7, \"Bruna\"));\n entrada.add(new Cliente(2, \"Marcos\"));\n entrada.add(new Cliente(0, \"Julia\"));\n entrada.add(new Cliente(9, \"Ana Maria\"));\n entrada.add(new Cliente(81, \"Bianca\"));\n \n entrada.add(new Cliente(60, \"Hugo\"));\n entrada.add(new Cliente(47, \"Martim\"));\n entrada.add(new Cliente(23, \"Clarissa\"));\n entrada.add(new Cliente(22, \"Lucila\"));\n entrada.add(new Cliente(35, \"Marceu\"));\n entrada.add(new Cliente(48, \"Tatiana\"));\n \n entrada.add(new Cliente(90, \"Catarina\"));\n entrada.add(new Cliente(85, \"Leonardo\"));\n \n\n Arquivos.salva(NOME_ARQUIVO_ENTRADA, entrada);\n\n nomeArquivosSaida.add(\"p1.dat\");\n nomeArquivosSaida.add(\"p2.dat\");\n nomeArquivosSaida.add(\"p3.dat\");\n nomeArquivosSaida.add(\"p4.dat\");\n\n instance.executaClassificacaoInterna(NOME_ARQUIVO_ENTRADA, nomeArquivosSaida, 6);\n \n oraculoSaida.add(new Cliente(1, \"João\")); \n oraculoSaida.add(new Cliente(3, \"Matheus\"));\n oraculoSaida.add(new Cliente(5, \"Maria\")); \n oraculoSaida.add(new Cliente(10, \"Mirtes\"));\n oraculoSaida.add(new Cliente(20, \"Mariana\"));\n oraculoSaida.add(new Cliente(87, \"Jonas\")); \n\n saida = Arquivos.leCliente(nomeArquivosSaida.get(0));\n assertArrayEquals(oraculoSaida.toArray(), saida.toArray());\n \n oraculoSaida.clear();\n oraculoSaida.add(new Cliente(0, \"Julia\"));\n oraculoSaida.add(new Cliente(2, \"Marcos\"));\n oraculoSaida.add(new Cliente(7, \"Bruna\"));\n oraculoSaida.add(new Cliente(8, \"Vanessa\"));\n oraculoSaida.add(new Cliente(9, \"Ana Maria\"));\n oraculoSaida.add(new Cliente(81, \"Bianca\"));\n \n saida.clear();\n saida = Arquivos.leCliente(nomeArquivosSaida.get(1));\n assertArrayEquals(oraculoSaida.toArray(), saida.toArray());\n \n oraculoSaida.clear();\n oraculoSaida.add(new Cliente(22, \"Lucila\"));\n oraculoSaida.add(new Cliente(23, \"Clarissa\"));\n oraculoSaida.add(new Cliente(35, \"Marceu\"));\n oraculoSaida.add(new Cliente(47, \"Martim\"));\n oraculoSaida.add(new Cliente(48, \"Tatiana\"));\n oraculoSaida.add(new Cliente(60, \"Hugo\")); \n \n saida.clear();\n saida = Arquivos.leCliente(nomeArquivosSaida.get(2));\n assertArrayEquals(oraculoSaida.toArray(), saida.toArray());\n \n oraculoSaida.clear();\n oraculoSaida.add(new Cliente(85, \"Leonardo\")); \n oraculoSaida.add(new Cliente(90, \"Catarina\")); \n \n saida.clear();\n saida = Arquivos.leCliente(nomeArquivosSaida.get(3));\n assertArrayEquals(oraculoSaida.toArray(), saida.toArray()); \n }", "title": "" }, { "docid": "0adac88cb85a182b09b80346ddbfa1ea", "score": "0.45101476", "text": "public void generateExtensionalDB(String path) throws Exception {\n\t\tint i = 1;\n\t\tStringBuilder buf = new StringBuilder();\n\t\tfor (File file : files) {\n\t\t\tbuf.append(factsFromFiles(file, i++));\n\t\t}\n\t\tPrintWriter prologWriter = new PrintWriter(new File(path + \"edb.pl\"));\n\t\tprologWriter.println(buf);\n\t\tprologWriter.close();\n\t}", "title": "" }, { "docid": "5a7f00f814546a7261e5da5d23e23d63", "score": "0.4505044", "text": "public void populateFeatureNames() {\n\t}", "title": "" }, { "docid": "41d2d1a70ecef71e7c442a19c394eb27", "score": "0.45005992", "text": "public byte[] getFciExtensionEf() {\n\treturn fciExtensionEf;\n }", "title": "" }, { "docid": "8f8584effd54a8ee006b02f5bb3ee023", "score": "0.4500228", "text": "public void check_Features_Tab() throws InterruptedException, IOException {\n\n\t\ttry {\n\t\t\tminWait();\n\t\t\tif(sf_app_Check_Activation_Off_On().equals(\"OFF\")) {\n\t\t\t\tturn_Off_On_SG();\n\t\t\t\tminWait();\n\t\t\t\tclickBtn(Locators_ScoutSanity.SG_Features_String);\n\t\t\t\tminWait();\n\t\t\t\tenter_Pin();\n\t\t\t\tcustomWait(2000);\n\t\t\t\taDriver.pressKeyCode(AndroidKeyCode.MENU);\n\t\t\t\tcustomWait(2000);\n\t\t\t\tclickBtn(Locators_ScoutSanity.SG_Select_All_Btn);\n\t\t\t\tminWait();\n\t\t\t\tcustomWait(2000);\n\t\t\t\taDriver.pressKeyCode(AndroidKeyCode.MENU);\n\t\t\t\tcustomWait(2000);\n\t\t\t\tclickBtn(Locators_ScoutSanity.SG_Save_Btn);\n\t\t\t\tminWait();\n\t\t\t\tAPP_LOGS.info(\"Launching All features one by one\");\n\t\t\t\tlaunchFeatures();\n\t\t\t\tcustomWait(2000);\n\t\t\t\taDriver.pressKeyCode(AndroidKeyCode.HOME);\n\t\t\t}\n\n\t\t\telse {\n\t\t\t\tAPP_LOGS.info(\"Checking the features When Activastion is ON \");\n\t\t\t\tminWait();\n\t\t\t\tclickBtn(Locators_ScoutSanity.SG_Features_String);\n\t\t\t\tminWait();\n\t\t\t\tenter_Pin();\n\t\t\t\tcustomWait(2000);\n\t\t\t\taDriver.pressKeyCode(AndroidKeyCode.MENU);\n\t\t\t\tcustomWait(2000);\n\t\t\t\tclickBtn(Locators_ScoutSanity.SG_Select_All_Btn);\n\t\t\t\tcustomWait(2000);\n\t\t\t\taDriver.pressKeyCode(AndroidKeyCode.MENU);\n\t\t\t\tcustomWait(2000);\n\t\t\t\tclickBtn(Locators_ScoutSanity.SG_Save_Btn);\n\t\t\t\tminWait();\n\t\t\t\tAPP_LOGS.info(\"Launching All the Features\");\n\t\t\t\tlaunchFeatures();\n\t\t\t\tcustomWait(2000);\n\t\t\t}\n\t\t} catch (NoSuchElementException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t\tAssert.fail();\n\t\t}\n\t}", "title": "" }, { "docid": "c3510e7700be42e8f7aadc1a921d5660", "score": "0.44985476", "text": "String showFeaturesFrom(String tableName);", "title": "" }, { "docid": "a401cfa8b048c6476146e74a7346b957", "score": "0.44936568", "text": "public void populateTrainData()\n\t{\n\t\ttry\n\t\t{\n\t\t\tFileReader fileReader = new FileReader(fileNameTrain); // file reader object\n\t\t\tBufferedReader bufferedReader = new BufferedReader(fileReader); // buffered Reader\n\t\t\tString line; // line by line reading\n\t\t\t// read the first line\n\t\t\tline = bufferedReader.readLine();\n\t\t\tString nameArr[] = line.split(SEPARATOR);\n\t\t\tfor(int i=0;i<nameArr.length;i++)\n\t\t\t{\n\t\t\t\tif(i==0)\n\t\t\t\t{\n\t\t\t\t\tclassName = nameArr[i];\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tlistOfFeatureName.add(nameArr[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t\twhile((line = bufferedReader.readLine()) != null)\n\t\t\t{\n\t\t\t\tString featureArr[] = line.split(SEPARATOR);\n\t\t\t\tTrainInstance newInstance = new TrainInstance();\n\t\t\t\tfor(int i=0;i<featureArr.length;i++)\n\t\t\t\t{\n\t\t\t\t\tif(i==0)\n\t\t\t\t\t{\n\t\t\t\t\t\tint bClass = Integer.valueOf(featureArr[i]);\n\t\t\t\t\t\tnewInstance.setBinaryClass(bClass);\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tdouble featureValue = Double.valueOf(featureArr[i]);\n\t\t\t\t\t\tnewInstance.addFeature(featureValue);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlistOfTrainInstances.add(newInstance);\n\t\t\t}\n\t\t\tbufferedReader.close();\n\t\t\t\n\t\t}\n\t\tcatch(FileNotFoundException e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t\tcatch(IOException e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "9c35a04ae4b4b0b4bee0a89abec3c431", "score": "0.44931144", "text": "protected void addFECHAPropertyDescriptor(Object object) {\n\t\titemPropertyDescriptors.add\n\t\t\t(createItemPropertyDescriptor\n\t\t\t\t(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),\n\t\t\t\t getResourceLocator(),\n\t\t\t\t getString(\"_UI_Planilla_FECHA_feature\"),\n\t\t\t\t getString(\"_UI_PropertyDescriptor_description\", \"_UI_Planilla_FECHA_feature\", \"_UI_Planilla_type\"),\n\t\t\t\t ResultcotracirPackage.Literals.PLANILLA__FECHA,\n\t\t\t\t true,\n\t\t\t\t false,\n\t\t\t\t false,\n\t\t\t\t ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,\n\t\t\t\t null,\n\t\t\t\t null));\n\t}", "title": "" }, { "docid": "c8a4cf8f00abb27bf1bcc29e6fa5c352", "score": "0.44917443", "text": "private String getGTestFilters(String binaryOnDevice) throws DeviceNotAvailableException {\n StringBuilder filter = new StringBuilder();\n if (mTestNamePositiveFilter != null) {\n mIncludeFilters.add(mTestNamePositiveFilter);\n }\n if (mTestNameNegativeFilter != null) {\n mExcludeFilters.add(mTestNameNegativeFilter);\n }\n if (mTestFilterKey != null) {\n if (!mIncludeFilters.isEmpty() || !mExcludeFilters.isEmpty()) {\n CLog.w(\"Using json file filter, --include/exclude-filter will be ignored.\");\n }\n String fileFilters = loadFilter(binaryOnDevice);\n if (fileFilters != null && !fileFilters.isEmpty()) {\n filter.append(GTEST_FLAG_FILTER);\n filter.append(\"=\");\n filter.append(fileFilters);\n }\n } else {\n if (!mIncludeFilters.isEmpty() || !mExcludeFilters.isEmpty()) {\n filter.append(GTEST_FLAG_FILTER);\n filter.append(\"=\");\n if (!mIncludeFilters.isEmpty()) {\n filter.append(ArrayUtil.join(\":\", mIncludeFilters));\n }\n if (!mExcludeFilters.isEmpty()) {\n filter.append(\"-\");\n filter.append(ArrayUtil.join(\":\", mExcludeFilters));\n }\n }\n }\n return filter.toString();\n }", "title": "" }, { "docid": "17072854e76872296d66e893278934ed", "score": "0.44898567", "text": "@Test\n public void testExcel97MultipleFeatureTypes() throws Exception {\n MockHttpServletResponse resp = getAsServletResponse(\"wfs?request=GetFeature&typeName=sf:PrimitiveGeoFeature,sf:GenericEntity&outputFormat=excel\");\n InputStream in = getBinaryInputStream(resp);\n Workbook wb = new HSSFWorkbook(in);\n testMultipleFeatureTypes(wb);\n }", "title": "" }, { "docid": "3437fa7233467148029d07a61b0c7072", "score": "0.4485251", "text": "public void forkliftVetSpecialties() {\n\t\tString filename =\"new-datastore/vet-specialties.csv\";\n\t\ttry {\n\t\t\tFileWriter fw = new FileWriter(filename);\n\t\t\tClass.forName(\"com.mysql.jdbc.Driver\").newInstance();\n\t\t\tConnection conn = DriverManager.getConnection(\"jdbc:mysql://localhost:3306/petclinic\", \"root\", \"root\");\n\t\t\tString query = \"select * from vet_specialties\";\n\t\t\tStatement stmt = conn.createStatement();\n\t\t\tResultSet rs = stmt.executeQuery(query);\n\t\t\twhile (rs.next()) {\n\t\t\t\tfw.append(rs.getString(1));\n\t\t\t\tfw.append(',');\n\t\t\t\tfw.append(rs.getString(2));\n\t\t\t\tfw.append('\\n');\n\t\t\t}\n\t\t\tfw.flush();\n\t\t\tfw.close();\n\t\t\tconn.close();\n\t\t\tSystem.out.println(\"CSV file for the vet_specialties table has been created successfully.\");\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "58ebd73fb7f1b7422fb08bdffabaaddd", "score": "0.44771063", "text": "com.google.protobuf.ByteString\n getFeatureColumnBytes();", "title": "" }, { "docid": "a0836f0193d38b731293f22510eea4ba", "score": "0.44708315", "text": "public String getExteriorFeatures() {\n String list = \"\";\n\n for (int i = 0; i < this.feature.length; i++) {\n if (this.feature[i] instanceof ExteriorFeature) {\n if (list.length() == 0) {\n list += this.feature[i];\n } else {\n list += \"\\n : \" + this.feature[i];\n }\n }\n }\n return list;\n }", "title": "" }, { "docid": "411064e5e777c0779708e6a88a3bc070", "score": "0.4465481", "text": "java.lang.String getFeature(int index);", "title": "" }, { "docid": "7d088d79ed9ee17f60f78c2cb693e803", "score": "0.4463341", "text": "public static Map<String, List<Feature>> loadAsMap(String packagePath) {\r\n\t\tMap<String, List<Feature>> features = new HashMap<String, List<Feature>>();\r\n\t\tReflections ref = new Reflections(packagePath);\r\n\r\n\t\tSet<Class<? extends FeatureBuilder>> featureClasses = ref.getSubTypesOf(FeatureBuilder.class);\r\n\t\tint featureCount = 0;\r\n\r\n\t\tfor (Class<? extends FeatureBuilder> clazz : featureClasses) {\r\n\t\t\ttry {\r\n\t\t\t\t// instance class\r\n\t\t\t\tFeatureBuilder builder = clazz.getConstructor().newInstance(new Object[] {});\r\n\t\t\t\t// get package path\r\n\t\t\t\tPackage p = clazz.getPackage();\r\n\t\t\t\t// subtract given package path\r\n\t\t\t\tString subPath = p.getName().replace(packagePath + \".\", \"\");\r\n\r\n\t\t\t\t// in case its in the same dir the above replace wont work, so\r\n\t\t\t\t// set it manually\r\n\t\t\t\tif (subPath.equals(packagePath)) {\r\n\t\t\t\t\tsubPath = \"\";\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (features.get(subPath) == null) {\r\n\t\t\t\t\tfeatures.put(subPath, new ArrayList<Feature>());\r\n\t\t\t\t}\r\n\r\n\t\t\t\tfeatures.get(subPath).add(builder.build());\r\n\t\t\t\tfeatureCount++;\r\n\t\t\t} catch (InstantiationException | IllegalAccessException | IllegalArgumentException\r\n\t\t\t\t\t| InvocationTargetException | NoSuchMethodException | SecurityException e) {\r\n\t\t\t\t// well, it failed so nothing i can do except print a notice,\r\n\t\t\t\t// should'nt happen anyways or the generator has serious issues\r\n\t\t\t\tSystem.err.println(\"Failed to instantiate '\" + clazz.getName() + \"'.\");\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tSystem.out.println(\"Found \" + featureCount + \" features split over \" + features.size()\r\n\t\t\t\t+ \" repositories inside '\" + packagePath + \"'.\");\r\n\r\n\t\treturn features;\r\n\t}", "title": "" }, { "docid": "f728ba93f2a3cce6db76f6efb8286579", "score": "0.44630396", "text": "@Override\n public String makeFeatureVector(LTRScoringQuery.FeatureInfo[] featuresInfo) {\n StringBuilder sb = new StringBuilder(featuresInfo.length * 3);\n boolean isDense = featureFormat.equals(FeatureFormat.DENSE);\n for (LTRScoringQuery.FeatureInfo featInfo : featuresInfo) {\n if (featInfo != null && (isDense || featInfo.isUsed())) {\n sb.append(featInfo.getName())\n .append(keyValueSep)\n .append(featInfo.getValue())\n .append(featureSep);\n }\n }\n\n final String features = (sb.length() > 0 ? sb.substring(0, sb.length() - 1) : \"\");\n\n return features;\n }", "title": "" }, { "docid": "d57cefff40a2a27ef483eb3d6ab8cbfb", "score": "0.446148", "text": "private Map<String,Favourite> loadFavouriteFromFile() {\n Map<String,Favourite> result= new HashMap<String, Favourite>();\n try {\n FileInputStream fis = openFileInput(FILE_PATH);\n ObjectInputStream objectInput= new ObjectInputStream(fis);\n result = new HashMap<>((HashMap<String, Favourite>) objectInput.readObject());\n objectInput.close();\n\n } catch (EOFException eof) {\n System.out.println(\"Reached end of file\");\n } catch (IOException | ClassNotFoundException ex) {\n ex.printStackTrace();\n }\n\n return result;\n }", "title": "" } ]
59dd0a6c5cf26d61c52f9eb1f558d4f4
Util method to write an attribute without the ns prefix
[ { "docid": "26199ca60668186043ee21e4b2d4a8a7", "score": "0.0", "text": "private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName,\r\n javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException {\r\n\r\n java.lang.String attributeNamespace = qname.getNamespaceURI();\r\n java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace);\r\n if (attributePrefix == null) {\r\n attributePrefix = registerPrefix(xmlWriter, attributeNamespace);\r\n }\r\n java.lang.String attributeValue;\r\n if (attributePrefix.trim().length() > 0) {\r\n attributeValue = attributePrefix + \":\" + qname.getLocalPart();\r\n } else {\r\n attributeValue = qname.getLocalPart();\r\n }\r\n\r\n if (namespace.equals(\"\")) {\r\n xmlWriter.writeAttribute(attName, attributeValue);\r\n } else {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace, attName, attributeValue);\r\n }\r\n }", "title": "" } ]
[ { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7244922", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7244922", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7244922", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7244922", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7244922", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7244922", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7244922", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7244922", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7244922", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7244922", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7244922", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7244922", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7244922", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7244922", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7244922", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7244922", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7244922", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7244922", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7244922", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7244922", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7244922", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7244922", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7244922", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7244922", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7244922", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7244922", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7236545", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" } ]